Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- debounce = false
- local item = game.ServerStorage.WeaponsLocker:FindFirstChild("RocketLauncher"):clone()
- amnt = 5
- local function onMouseClick(Player)
- if Player and Player:FindFirstChild("Backpack") then
- debounce = true
- item:clone().Parent = Player.Backpack
- script.Parent.BrickColor = BrickColor.new("Dusty Rose")
- wait(amnt)
- debounce = false
- script.Parent.BrickColor = BrickColor.new("Medium stone grey")
- end
- end
- script.parent.ClickDetector.MouseClick:connect(onMouseClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement