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

All Questions

Tagged with
0 votes
0 answers
13 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:...
Relaxing Gaming's user avatar
0 votes
1 answer
20 views

How can I use a parameter to alter which data my profile.Data is accessing?

local expType = tostring(type1) local expTypeStat = expType:gsub("Exp", "") local profileDataExpType = "profile.Data."..expType Here I want to change ...
Lukas Raby's user avatar
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 ...
Lukas Raby's user avatar
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) ...
Sergei Ivlev's user avatar
-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"...
RandomCoder's user avatar
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 ...
Stalker's user avatar
  • 13
-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 ...
Sergei Ivlev's user avatar
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, ...
Nafis's user avatar
  • 1
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(...
Relaxing Gaming's user avatar
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 ...
Relaxing Gaming's user avatar
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 ...
Robin Bubeník's user avatar
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

15 30 50 per page
1
2 3 4 5
114