while script.Parent.Playing == true do
	wait(5)
	print("increasing volume")
	script.Parent.Volume = script.Parent.Volume + .5
	if script.Parent.Volume > 6 then 
		script.Parent.Volume = 10
	end
end

The script itself gives no errors in the output, but it doesn't even want to print.

1 comment

1

I solved the problem myself, the problem was, that whenever it looked into the sound, and the value wasnt true, it never ran the loop, so to get around that i made a normal while true do loop and inside it i put in an if script.Parent.Playing == true then statement, and that fixed the problem