Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RS = game:GetService("ReplicatedStorage")
- local spawnEv = RS.Events.GUI.CoinSpawnEvent
- local spawningButton = script.Parent
- local db = false
- spawningButton.MouseButton1Click:Connect(function(_)
- if not db then
- spawnEv:FireServer()
- else
- return
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement