Advertisement
Familycade

Punch

Nov 1st, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Made by Jerfereid
  2. local player = game.Players.LocalPlayer
  3. local mouse = player:GetMouse()
  4. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  5. local punchEvent = ReplicatedStorage:WaitForChild("PunchEvent")
  6.  
  7. local ready = true
  8.  
  9. local function punch()
  10. if ready then
  11. punchEvent:FireServer()
  12. ready = false
  13. wait(0.5)
  14. ready = true
  15. end
  16. end
  17.  
  18. mouse.Button1Down:Connect(punch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement