Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to check if song is still playing? -(ANSWERED) - I guess

Ok, Some i'm making this music script but i'm running into a little problem. The problem is that I don't know the time of when the song stops so it might stop to early or to late. Is there a way to script it so it checks to see if its still playing and if not stops?

tj = game.Workspace.Radio.Raido_Main_Part

while true do
	print("Now playing Noscope")

wait(10)
tj.NoScope:Play()
wait(60)
tj.NoScope:Stop()

print("Now playing SongOne")

tj.SongOne:Play()
wait(60)
tj.SongOne:Stop()

print("Now playing SongTwo")

tj.SongTwo:Play()
wait(60)
tj.SongTwo:Stop()

print("Script now ending")

end

1 comment

0

Roblox IsPlaying and IsPaused is broken right now.

1 answer

✓ Accepted answer

Excuse me If Im wrong but...

if tj.SongTwo.Playing==true then
print("SongTwo currently Playing")
end

2 comments

0

@DevFrank :Play() and :Pause() is correctly working.

0

thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.