Advertisement
vtrvsted

boxing anywhere

Jul 27th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. -- SYNAPSE ONLY BECAUSE IT USES FIRETOUCHINTREST FUNCTION
  2.  
  3. local Player = game.Players.LocalPlayer
  4. while wait() do
  5. local function Boxing()
  6. local BoxingValue = Player.DataFolder.Information.BoxingValue
  7. Player.PlayerGui.MainScreenGui.Bar.Energy.TextLabel.Text = tostring(BoxingValue.Value)
  8. if Player.Character.BodyEffects.Attacking.Value == true then
  9. for _,BoxingChild in pairs(game:GetService("Workspace").MAP.Map.ArenaBOX:GetChildren()) do
  10. if BoxingChild.Name == 'PunchingBagInGame' then
  11. for _,PunchPart in pairs(BoxingChild:GetChildren()) do
  12. if PunchPart:IsA('Part') or PunchPart:IsA('MeshPart') then
  13. if Player.Character:FindFirstChildOfClass('Tool') then
  14. if Player.Character:FindFirstChildOfClass('Tool') then
  15. firetouchinterest(Player.Character['RightHand'], PunchPart, 0)
  16. firetouchinterest(Player.Character['LeftHand'], PunchPart, 0)
  17. firetouchinterest(Player.Character['RightLowerLeg'], PunchPart, 0)
  18. firetouchinterest(Player.Character['LeftLowerLeg'], PunchPart, 0)
  19. end
  20. end
  21. end
  22. end
  23. end
  24. end
  25. end
  26. end
  27. local s,e = pcall(Boxing)
  28. end
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement