Advertisement
SirMeme

script for arsenal

Jun 7th, 2019
18,935
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement