Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local UIS = game:GetService("UserInputService")
- local mouse = player:GetMouse()
- local debounce = false
- local tweenservice = game:GetService("TweenService")
- script.Parent.Activated:Connect(function()
- if not debounce then
- debounce = true
- script.RemoteEvent:FireServer(mouse.Hit)
- wait(3) -- cooldown
- debounce = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement