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.
Set your GUI ResetOnSpawn property false. No script are needed.