Advertisement
Sungmingamerpro13

ToolScript + Stacks (Break In Style)

Jan 22nd, 2025
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.27 KB | None | 0 0
  1. local Tool = script.Parent
  2.  
  3. local player = game.Players.LocalPlayer
  4.  
  5. Tool.Activated:Connect(function()
  6.     if Tool:WaitForChild("stacks") and Tool.stacks.Value > 1 then
  7.         Tool.stacks.Value -= 1
  8.         player.Character.Humanoid.Health += 50
  9.     else
  10.         Tool:Destroy()
  11.     end
  12. end)
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement