So I'm making a tycoon and I've made it so that if all of the walls are bought, the if/then statement will execute and the pad will appear. For some reason, however, whenever all of the walls are bought, it does nothing. What is the problem?
if FrontWall.Parent == Tycoon and LeftWall.Parent == Tycoon and RightWall.Parent == Tycoon and LeftWall.Parent == Tycoon then FortificationPad.Parent = Tycoon end
Thanks for the help
if
statement is not wrapped inside an event.Event:Connect(function() -- Do code end)