Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1.  
  2. local function onChanged()
  3.    print('Health changed!')
  4.    if game.Players.LocalPlayer.Status.Health.Value <= 0 then --You can make this number above 0 if you want to be teleported before death
  5.        print('Teleporting to away!')
  6.        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1800,28,-813) --Change this to where you want to be teleported, I will do requests if you don't know how
  7.    end
  8. end
  9.  
  10. game.Players.LocalPlayer.Status.Health.Changed:Connect(onChanged)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement