Hello I am making a rare occurance for a jumpscare to happen. The code I have right now makes it a 50/50 chance but I want to make it like a 10% for this special jumpscare to happen this is my code rn.
local jumpscare = math.random(1, 2)
if jumpscare == 1 then
game.SoundService.Ambience.Lose.shriek:Play()
wait(.515)
game.SoundService.Ambience.Lose.Explode:Play()
else
game.SoundService.Ambience.Lose.jumpscare:Play()
end