I've had the same issues -- it's because Roblox is VERY picky.
You need to declare "if script.Parent.Time.Text == " behind every STRING.
Like this:
1 | if script.Parent.Time.Text = = '00:00 ET' or script.Parent.Time.Text = = '0:00 ET' or script.Parent.Time.Text = = '00:0 ET' then |
I know the feels, I've encountered the same issue. I do not know exactly why the "if" statement can have certain variables as a "true" e.g. the strings presented in your "if" statement.
But yeah, if you don't want to type "script.Parent.Time.Text" 24/7, I'd define it before the if statement, like this:
1 | local text = script.Parent.Time.Text |
2 | if text = = '00:00 ET' or text = = '0:00 ET' or text = = '00:0 ET' then |
Also, sometimes Roblox has trouble with defining properties of an instance, so I usually just like to define the instance instead of the property like this:
1 | local text = script.Parent.Time |
2 | if text.Text = = '00:00 ET' or text.Text = = '0:00 ET' or text.Text = = '00:0 ET' then |
All 3 above should fix the problem.