Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

When a player dies my script breaks?

My script is local plr = script.Parent.Parent.Parent.Parent.Parent local char = plr.Character

script.Parent.MouseButton1Click:Connect(function() char.HumanoidRootPart.CFrame = workspace.Spawn1.CFrame end)

it works perfect when no one dies but when some one dies it breaks and I dont know how to fix this ive searched alot and nothing close to fix my problem, It teleports me fine when i dont die but when i do it breaks if anyone knows how to fix this please tell me how to fix this problem.

1 comment

0

may i ask what it the script do (for ex. is it a gui where is kill the player)

1 answer

Set your GUI ResetOnSpawn property false. No script are needed.

4 comments

0

Thats the thing that is breaking my script I want it to be off but when i turn it off and die it breaks but when I put ResetOnSpawn True It fixes it but I hate every single time it comes up my friends and players dont like it so I dont know how to fix this its just so annoying :(

0

Can we work together I saw your profile obbist fun fact Im making a practice game for wallhops ladder flicking clips like flat wall clip dance clips laugh clip truss clip and wraparound walkarounds and alot of obby stuff I love dcos not escape the something The only kind of obbys I like is difficulty charts lol

0

your game is amazing please teach me your ways Im trying to make a practice game too

0

okay

This discussion is preserved as it was. New answers, comments, and votes are closed.