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

Sound, and True/False Statements, Why don't they work?

For example, if a line of a script says something along the lines of

if Music.IsPlaying = false then

And you put what happens when it's not playing, how come it doesn't work?

1 answer

✓ Accepted answer

It should be:

if MUSICLOCATION.IsPlaying == false then --There should be two equal signs to signify congruence
	--code
end

2 comments

0

Ah, so sorry, I'm a newb to scripting. Thanks!

0

No problem, be sure to up-vote me!

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