Advertisement
luchitasin9

Play Sound on Click Script

Feb 28th, 2025
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.12 KB | Source Code | 0 0
  1. local button = script.Parent
  2. local Sound = script.Click
  3.  
  4. button.MouseButton1Click:Connect(function()
  5.     Sound:Play()
  6. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement