All Questions
Tagged with roblox-studio roblox
94
questions
0
votes
0
answers
12
views
ClickDetector not detecting input
For some reason my Click Detector that I had put inside of my Local Script / Script (tried both) doesn't detect when it's clicked on. Does anyone know what causes this?
Code:
local ts = game:...
1
vote
1
answer
29
views
Exp bar Gui not updating roblox studio
I have set up a basic exp system with exp, levels, and a Gui. I have the gui set to update when joining, and when gaining exp or a level, but it will only update when joining even though I'm using the ...
-1
votes
0
answers
28
views
Playing sounds for a local player after they leave the game
I've been trying to make a script that plays a sound after a player has left the game in a way that they can still hear the sound themselves. As far as I'm concerned, the issue I've run into is that ...
0
votes
1
answer
26
views
My Script inside my model's part doesn't run when I clone it
This is my code for spawning in the model itself which is located in ReplicatedStorage, which this is the hierarchy:
SpawnDoor (Model)
Door (Sound)
Light (Folder)
Door1 (Part)
Door2 (Part)
Part (Part)
...
-4
votes
1
answer
61
views
What does index nil mean? [closed]
I attempted to mess around with the children because I think that's the problem but I was unsuccessful
local tycoon = script.Parent.Parent
local mainItems = tycoon:FindFirstChild("MainItems"...
1
vote
1
answer
32
views
How to Apply the Same Skin to All Players in Roblox?
I am experimenting in Roblox Studio, and I want to create a logic that would give all players the same skin. (All players must look the same during gameplay.)
I found two options:
First option: Drag ...
-4
votes
0
answers
79
views
I am currently trying to develop a Roblox game;, would somebody be able to help me with locate a module?
This is a module script, it is in ServerScriptService:
local PlayerDataHandler = {}
local dataTemplate = {
Race = "",
Cash = 0,
Inventory = {},
Level = 0,
}
local ...
0
votes
0
answers
21
views
My animation within Roblox Studio plays, HOWEVER in an actual game it doesn't play, but the projectile works
My Problem is that the animation I labelled as "FireballThrow" and the fireball projectile does play in the Roblox Studio environment, HOWEVER in a real game it doesn't execute properly, ...
0
votes
2
answers
36
views
My animation doesnt load while collaborating
local module = {}
local RPunchAnim = Instance.new("Animation")
local LPunchAnim = Instance.new("Animation")
local KickAnim = Instance.new("Animation")
local UppercutAnim =...
0
votes
0
answers
40
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(...
0
votes
0
answers
25
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 ...
0
votes
0
answers
28
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 ...
2
votes
1
answer
63
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 ...
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 ...
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 ...