Hi! Like the last post, I'm making a Five Nights At Freddy's game and I'm making if-then statements like this:
if game.Workspace.TaskClick3.BrickColor== BrickColor.new("Really red") + game.Workspace.TaskClick2.BrickColor== BrickColor.new("Really red") + game.Workspace.TaskClick.BrickColor== BrickColor.new("Really red") then game.Workspace.Door1.Transparency = 0 end
Is this possible?
The first thing you're doing wrong is right here, if game.Workspace.TaskClick3.BrickColor== BrickColor.new("Really red") + game.Workspace.TaskClick2.BrickColor== BrickColor.new("Really red") + game.Workspace.TaskClick.BrickColor== BrickColor.new("Really red") then
you would use and not + so here would be the updated script if game.Workspace.TaskClick3.BrickColor== BrickColor.new("Really red") and game.Workspace.TaskClick2.BrickColor== BrickColor.new("Really red") and game.Workspace.TaskClick.BrickColor== BrickColor.new("Really red") then