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