Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RunService = game:GetService('RunService')
- touch=game.Players.LocalPlayer.Backpack.ServerTraits.Touch
- stamina = game.Players.LocalPlayer.Backpack.ServerTraits.Stam.Value
- righthand = game.Players.LocalPlayer.Character.RightHand
- rightfoot = game.Players.LocalPlayer.Character.RightFoot
- lefthand = game.Players.LocalPlayer.Character.LeftHand
- pipe = game.Players.LocalPlayer.Character.Pipe
- backpack = game.Players.LocalPlayer.Backpack
- character = game.Players.LocalPlayer.Character
- RunService.Heartbeat:connect(function(step)
- if not backpack:FindFirstChild("Pipe") and character:FindFirstChild("Pipe") then
- touch:FireServer(righthand, pipe, false)
- stamina= stamina + 500
- touch:FireServer(lefthand, pipe, false)
- stamina= stamina + 500
- touch:FireServer(rightfoot, pipe, false)
- stamina= stamina + 500
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement