Bossbikram56

Booga Booga Auto Heal

Sep 9th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local Heal = "Bloodfruit"
  2. local bind = 'q'
  3. -- Settings ^
  4.  
  5.  
  6. local Humanoid = game.Players.LocalPlayer.Character.Humanoid
  7. local Toggle = false
  8. game:GetService('RunService').Heartbeat:connect(function()
  9. if Toggle then
  10. if Humanoid.Health ~= 100 then
  11. game:GetService("ReplicatedStorage").Events.UseBagItem:FireServer(Heal)
  12. end
  13. end
  14. end)
  15.  
  16. local mouse = game.Players.LocalPlayer:GetMouse()
  17. mouse.KeyDown:connect(function(key)
  18. if key == bind then
  19. Toggle = not Toggle
  20. print(Toggle)
  21. end
  22. end)
Add Comment
Please, Sign In to add comment