Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [roblox-studio]

Roblox Studio is an all-in-one IDE that lets you create experiences that run on Roblox in Lua. It's free to use and has scripting, building, playtesting, and publishing tools as well as support for plugins. Use this tag for questions about the Roblox Studio IDE itself.

roblox-studio
0 votes
0 answers
38 views

Basketball not bouncing properly in Lua in Roblox Studio (I am making a game in Roblox Studio)

As the title clearly suggests, I am making a basketball game in roblox so I have recently been trying to make my basketball part, named "B-Ball" bounce in a continuous motion. This can be ...
Bro Ski's user avatar
0 votes
1 answer
49 views

Stamina bar going from 100 to 0 for no reason, Stamina value not getting any interactions

For some reason whenever I launch my experience, like a second or a half passes and the bar goes from full to empty. I also can't make any interactions with the value. (example: whenever I try to make ...
Relaxing Gaming's user avatar
1 vote
2 answers
50 views

All ModuleScript variables == nil

For some reason, my local variables in the module script all seem to be nil, with no exact explanation for it, or solution. Local Script (Stamina bar Script): local ms = require(game.ReplicatedStorage....
Relaxing Gaming's user avatar
0 votes
0 answers
28 views

How do I make a hitbox part move with the character

Is it possible to make a part that is welded to the Humanoid Root Part move with it? It serves as a hitbox, but I encounter the problem that if I move forward while attacking it hurts the player. For ...
Relaxing Gaming's user avatar
-1 votes
0 answers
63 views

Animating groups of objects in Roblox Studio using TweenService

I wanted to ask how to move groups of parts using TweenService in Roblox Studio? I just have a detailed model of the table, and I just want to move it, but I need to create a variable for each part ...
Froxerys's user avatar
0 votes
0 answers
32 views

Can't Stop Punching

My punching Animation Won't stop as once I press M1(LeftClick) it just keeps on punching and won't stop so I'm trying to get the animation to only play when I punch once and than once I press it once ...
Shadow shadow.v's user avatar
0 votes
0 answers
61 views

Variable is not updating when I change it in Roblox Studio Lua

This is the code: game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" money = Instance.new(&...
user25691031's user avatar
1 vote
1 answer
50 views

Why doesn't my Roblox Studio print script execute correctly

For some reason, my pretty short script just refuses to print out or do anything after declaring variables, does anyone have an answer? I think it may actually be the wait for child and wait() but I ...
Relaxing Gaming's user avatar
-1 votes
1 answer
54 views

UserInputService isn't detecting inputs

For some reason, my code doesn't work in any way. Does someone has an answer why UserInputService doesn't work for me? local player = game.Players.LocalPlayer local character = player.CharacterAdded:...
Relaxing Gaming's user avatar
0 votes
0 answers
16 views

ProximityPrompt seems to only work in certain locations

I am working on a ProximityPrompt based teleportation system, and everything seems to work save for one. It does not work in it's usual spot, but works in other rooms. I have tried everything, but it ...
Jamie Singh's user avatar
0 votes
2 answers
34 views

Why does roblox studio walk wrong through the table

I am making a game right now in roblox, and need to make gamepass store, however when my loop goes through it (its a table in table), it goes out of order Example code with the tables in table a = { ...
Noway's user avatar
  • 21
0 votes
0 answers
36 views

How to apply "AsemblyLinearVelocity" from scripts onto "hit.Parent"

Here is the code: script.Parent.Activation.OnServerEvent:Connect(function() local part = Instance.new("Part") part.Size = Vector3.new(1,1,1) part.Transparency = 0 part....
skisp's user avatar
  • 11
0 votes
1 answer
33 views

How to wait for the model to load in Roblox? (lua)

How to wait for the model to load? I have a very simple code but 2 out of 3 times when I lunch the game I get an error Players.Alex.PlayerGui.AllSeeingEye:120: attempt to index nil with 'Position'. 1 ...
Alexey Tseitlin's user avatar
0 votes
2 answers
37 views

Add a docstring to a lua function in Roblox Studio

I want to create a docstring for a Lua function in Roblox Studios so that when i look at that function that i instantly know what this function does. And currently the Popup looks like this: But the ...
Dennis Geisler's user avatar
1 vote
1 answer
58 views

attempt to concatenate string with nil | Roblox Code, How to fix?

I've been working on a GUI system where I have a health, stamina and EXP bar. Once I finally got towards the end, I was given an error message on this part of code, saying: attempt to concatenate ...
Bloop Icon's user avatar

15 30 50 per page
1
2
3 4 5
9