Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function onChanged()
- print('Health changed!')
- if game.Players.LocalPlayer.Status.Health.Value <= 0 then --You can make this number above 0 if you want to be teleported before death
- print('Teleporting to away!')
- 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
- end
- end
- game.Players.LocalPlayer.Status.Health.Changed:Connect(onChanged)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement