Tried to look for examples but never knew the actual name of what this type of thing is called and was wondering if said thing was possible to make in roblox? Just thought it’d be fun to try out.
I think you could do it with a for loop, chanching the wait time for playing a sound based on the i variable
I think is better to show it than explain
local Timer = 1
local TimeDifference = 0.1
local SoundQuantiry = 10
local function MakeSound(Time, Pitch)
while true do
Sound.Pitch = Pitch
Sound:Play() -- Never worked with sounds, don't know if thats the way to play
task.wait(Timer + Time)
end
end
For i = 0, SoundQuantity, 1
task.spawn(TimeDifference * i, i)
end
Edit: Added a loop to make the sound and changed the “Add 10 different sound samples to” just change the pitch lol