BobMe

the best sound modifier

Oct 6th, 2021 (edited)
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. local function weirdify(sound)
  2. coroutine.resume(coroutine.create(function()
  3. while wait() do
  4. for i=1,math.floor(15/3) do
  5. sound.Pitch = sound.Pitch + 0.3
  6. wait()
  7. end
  8. wait()
  9. for i=1,math.floor(15/3) do
  10. sound.Pitch = sound.Pitch - 0.3
  11. wait()
  12. end
  13. end
  14. end))
  15. end
  16.  
  17. for i,v in pairs(workspace:GetDescendants()) do
  18. if v:IsA("Sound") then
  19. weirdify(v)
  20. end
  21. end
Add Comment
Please, Sign In to add comment