Advertisement
chromeJ

-local

Jun 21st, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.LocalPlayer
  2. local UIS = game:GetService("UserInputService")
  3. local mouse = player:GetMouse()
  4. local debounce = false
  5. local tweenservice = game:GetService("TweenService")
  6.  
  7. script.Parent.Activated:Connect(function()
  8. if not debounce then
  9. debounce = true
  10. script.RemoteEvent:FireServer(mouse.Hit)
  11. wait(3) -- cooldown
  12. debounce = false
  13. end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement