Players.PlayerAdded:Connect(function(player)
player:LoadCharacter()
CFrames:spawn(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
humanoid.Died:Connect(function()
task.wait()
player:LoadCharacter()
print("1")
player.CharacterAdded:Wait()
print("2")
CFrames:reset(player)
end)
end)
end)
Wehn i reset for the first time it does'nt print anything at all.
Wehn I reset for the second time it prints "1".
Wehn I reset for the third time it print "1,2".
Why does it work only after reseting 2 times?