SHOW:
|
|
- or go back to the newest paste.
| 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) |