Meliodas0_0

auto hp arsenal

Sep 1st, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2.  
  3. game.StarterGui:SetCore("SendNotification", {
  4. Title = "Script";
  5. Text = "Script is on";
  6. Icon = "";
  7. Duration = 5;
  8. })
  9.  
  10. function Health()
  11. for _,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  12. if v.Name == "DeadHP" then
  13. v.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  14. end
  15. end
  16. end
  17.  
  18. while wait() do
  19. if player.Character.Health.Value <= 99 then
  20. Health()
  21. print("Player has been given health!")
  22. end
  23. print("CHECKED")
  24. end
Add Comment
Please, Sign In to add comment