I want to make a script that can detect errape song, How could i make?
Note: If you show me a source code it will help me alot
You can use the PlaybackLoudness property of a sound while it’s playing to see how loud it is
1 Like
This can be hard because some of songs are loud but they are not earrape but I would recommend you use value 150+ because that is the most of earrape songs so script will look like:
local Sound = workspace.Sound
if Sound.PlaybackLoudness >= 150 then
print("Earrape song detected!")
end
1 Like
You can use PlaybackLoudness and checking the value of it to see if it’s loud for a certain amount of time.
1 Like