Guest User

Untitled

a guest
Jun 3rd, 2021
3,210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  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