Advertisement
good_scripter

Untitled

Jul 17th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. local cliky = script.Parent:WaitForChild("ClickDetector")
  2. local sound = script.Parent:WaitForChild("Loop")
  3. sound.Volume = 6
  4. sound.Looped = true
  5. local sounds = {"1117396305","901513885","1713855118","2629727951","2988953773","732029008","1803268638","2154340356","318062766","407749940","2111796441","1525123663","2372056506","1247089632","163561189","160361270"}
  6. cliky.MouseClick:Connect(function()
  7. sound.SoundId = "rbxassetid://".. sounds[math.random(1,#sounds)]
  8.  
  9. sound:Play()
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement