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

All Questions

-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 ...
Ponda's user avatar
  • 1
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
0 votes
0 answers
56 views

How do I destroy a part when it touches another part?

I'm trying to script a Roblox game. The aim for now is when I click the "AttractButton" the Object should attract towards player's location and stop 4 studs away. On the other hand, clicking ...
vinny9592's user avatar
0 votes
0 answers
22 views

Why does my Roblox Ui text label sometimes randomly say "100.00M" instead for the correct variable?

I generaly new to Roblox scripting and scripting and general. I am trying to make a clicker game so I made a auto clicker option for players to buy. One is a fast version and one is a regular verison. ...
Rayan Soufiani's user avatar
0 votes
0 answers
29 views

Having an issue with server-sided overhead healthbar gui in Roblox

So when I run the game, the code does nothing. I want it to be above every player's head and I want all the players to have the ability to see one another's health Here is the code: game.Players....
Ministry Ray21's user avatar
0 votes
1 answer
59 views

Making a multiple stage selector in Roblox Studio

I'm making a stage selector that you can go forward and back a stage in my Roblox Game, but it didn't work, here's the code: local trasferHandler = {} local TOTAL_STAGES_IN_GAME = 10 for _, stage in ...
G4LC's user avatar
  • 1
0 votes
2 answers
52 views

Having an issue with a teleporting function on Roblox

The code is: local function Teleport(TeleportPos) for i, Players in pairs(game.Players:GetPlayers)) do Players.Character:FindFirstChild(“HumanoidRootPart”).CFrame = TeleportPosition end end ...
Ministry Ray21's user avatar