Advertisement
Guest User

Auto

a guest
Jun 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. local RunService = game:GetService('RunService')
  2. touch=game.Players.LocalPlayer.Backpack.ServerTraits.Touch
  3. stamina = game.Players.LocalPlayer.Backpack.ServerTraits.Stam.Value
  4. righthand = game.Players.LocalPlayer.Character.RightHand
  5. rightfoot = game.Players.LocalPlayer.Character.RightFoot
  6. lefthand = game.Players.LocalPlayer.Character.LeftHand
  7. pipe = game.Players.LocalPlayer.Character.Pipe
  8. backpack = game.Players.LocalPlayer.Backpack
  9. character = game.Players.LocalPlayer.Character
  10.  
  11. RunService.Heartbeat:connect(function(step)
  12. if not backpack:FindFirstChild("Pipe") and character:FindFirstChild("Pipe") then
  13. touch:FireServer(righthand, pipe, false)
  14. stamina= stamina + 500
  15. touch:FireServer(lefthand, pipe, false)
  16. stamina= stamina + 500
  17. touch:FireServer(rightfoot, pipe, false)
  18. stamina= stamina + 500
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement