qspitzer

kick on death

Aug 4th, 2021
696
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game:GetService("Players").LocalPlayer.Character.Humanoid
  2.  
  3. while true do
  4.     if player.Health == 0 then
  5.         local deadPlayer = game:GetService("Players").LocalPlayer
  6.         deadPlayer:Kick("You died")
  7.     end
  8.     wait(0.1)
  9. end
RAW Paste Data