Advertisement
BoblokDevelopyyyr

LocalScript

Jan 4th, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local RS = game:GetService("ReplicatedStorage")
  2. local spawnEv = RS.Events.GUI.CoinSpawnEvent
  3.  
  4. local spawningButton = script.Parent
  5. local db = false
  6. spawningButton.MouseButton1Click:Connect(function(_)
  7.     if not db then
  8.         spawnEv:FireServer()
  9.     else
  10.         return
  11.     end
  12. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement