wait(0)local U=game.Players.LocalPlayer local o=game.Players local N="\121\111\117 \108\111\115\116"o.RespawnTime=0 U.CharacterRemoving:Connect(function(o)U:Kick(N)end)


wait(0) --dont delete, the script can crash if you delete this line
local plr = game.Players.LocalPlayer --local player
local players = game.Players --players

local message = "you lost" --message when die (kick message), change if you want

players.RespawnTime = 0

plr.CharacterRemoving:Connect(function(e) --detects if the player died.
	plr:Kick(message) --kick the player with the message
end) 
