Advertisement
Sungmingamerpro13

ToolScript (Break In Style)

Jan 5th, 2025
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.83 KB | None | 0 0
  1. local Tool = script.Parent;
  2.  
  3. enabled = true
  4.  
  5.  
  6.  
  7.  
  8. function onActivated()
  9.     if not enabled  then
  10.         return
  11.     end
  12.  
  13.     enabled = false
  14.     Tool.GripForward = Vector3.new(-.981, .196, 0)
  15.     Tool.GripPos = Vector3.new(-.5, -0.6, -1.5)
  16.     Tool.GripRight = Vector3.new(0, -0, -1)
  17.     Tool.GripUp = Vector3.new(0.196, .981, 0)
  18.  
  19.     wait(.8)
  20.  
  21.     local h = Tool.Parent:FindFirstChild("Humanoid")
  22.     if (h ~= nil) then
  23.         if (h.MaxHealth > h.Health + 1.6) then
  24.             h.Health = h.Health + 1.6
  25.         else   
  26.             h.Health = h.MaxHealth
  27.             Tool.stacks.Value -= 1
  28.         end
  29.     end
  30.  
  31.     Tool.GripForward = Vector3.new(-1, 0, 0)
  32.     Tool.GripPos = Vector3.new(-.5, -.1, 0)
  33.     Tool.GripRight = Vector3.new(0, 0, 1)
  34.     Tool.GripUp = Vector3.new(0,1,0)
  35.  
  36.  
  37.     enabled = true
  38.  
  39.     if Tool.stacks.Value == 0 then
  40.         Tool:Destroy()
  41.     end
  42. end
  43.  
  44. script.Parent.Activated:connect(onActivated)
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement