game.Players.PlayerAdded:Connect(function()
game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
wait(.1)
game.Players.LocalPlayer.Character.Torso.CFrame =
game.Workspace[game.Players.LocalPlayer.leaderstats.Stage.Value].CC.CFrame
end)
When i tested it in my obby, when i spawned in i didn't teleport to for example stage 0 when i just join, instead i just spawn high up in the middle of the baseplate. But when resetting i spawn on the checkpoint (stage).
This is a localscript inside workspace, im really confused how this isn't working. Already have everything else setup like stages, teleport to them when they die/respawn.

2 comments
You cant write, game.Players.LocalPlayer, In a normal script.
bro read, i said localscript at the bottom.