Skip to main content

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
25 views

Script not detecting when a player with a set ID joins. Luau

For some reason a simple script that I wrote, that should call a function whenever a player joins, which after that checks if the players ID is one of the either. game.Players.PlayerAdded:Connect(...
Relaxing Gaming's user avatar
0 votes
0 answers
18 views

Is there a way to detect if local players character is touching the hitbox instead of the victim? Luau

Main question for me is can I make it so that it can access the local players character from a variable given in a module script? I can't seem to access the character of it, even though it still IS ...
Relaxing Gaming's user avatar
0 votes
0 answers
17 views

model does not move in Roblox

I'm trying to have a model move around and jump using this code but the object does not move. (everything prints until it gets to the movement part.) The model just stays stationary and can be ...
Bobjoerules's user avatar
1 vote
1 answer
53 views

Passing arguments through a RemoteEvent in Roblox

I'm currently trying to make a message system in Roblox. The server should be able to send a message via a RemoteEvent, and the client should be able to accept it by displaying the message on a GUI ...
Robin Bubeník's user avatar
0 votes
0 answers
30 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
41 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
46 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
22 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
60 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
28 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
58 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
43 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
51 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
14 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
25 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

15 30 50 per page
1
2 3 4 5
8