Hi,
I'm trying to insert an if statement to play a sound with an elseif statement to not play the sound if ... happens. How do I insert a line to do nothing? I've tried:
if ... then
script.Parent.Music:Play()
else if ... then
end
and
if ... then
script.Parent.Music:Play()
else if ... then
script.Parent.Music:Stop()
end
end
however none of these worked. I'd greatly appreciate if someone could tell me how to do this. Thanks :)

4 comments
else return end
^^
You are clearly confused with the difference between else if and elseif. You are basically telling the script "if no other condition has been met, then do this condition", which literally makes no sense.
Thanks for your replies. I may not have worded my question correctly, but I realized that I had to do 'if ... and ... then' as there were 2 conditions.