local plr = game.Players.LocalPlayer
local char = plr.CharacterAdded;wait()
local humanoid = char:FindFirstChild("Humanoid")
humanoid.Health = 0
humanoid.Died:connect(function()
    wait(4)
    if plr.leaderstats.Stage.Value == 1 then
        char.Torso.CFrame = CFrame.new(workspace.Spawns.Stage1Spawn.Position) + Vector3.new(0,2,0)
    end
end)

00:18:53.756 - ServerScriptService.StageSpawning:2: attempt to index local 'plr' (a nil value)

1 comment

0

Please make your title about your script's problem.