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)
Closed as Non-Descriptive by IcyEvil, iamnoamesa, PyccknnXakep, and GoldenPhysics
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?