Instead of teleporting me when I die, it teleports me as soon as I spawn n the game
ServerScript:
local GameId = 4950975351
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
local humanoid = chr:WaitForChild("Humanoid")
if humanoid.Died then
game:GetService('TeleportService'):Teleport(GameId, plr)
end
end)
end)

1 comment
Something with when the player loads the health goes from 0 to 100 SUPER quickly. I messed around with something like this before so I just put a delay in it