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

'if music.Played==false then' isn't working, can anyone here help? (RBLX LUA)

brick=script.Parent

music=brick.Parent.music

function onClicked()
	if music.Played==false then
		music:Play()
	end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

if anyone is able to help that'd be amazing! thanks. Any reply is helpful.

1 answer

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