Hey guys, I am making a GUI, and the if statement is doing like it's not there.. It is normal script - including explorer photo and code
--Variables
local Variables = game.Workspace.Variables
Hours = Variables.TV_1SessionTime.Hours
Minutes = Variables.TV_1SessionTime.Minutes
--Setup
local function SetTime()
script.Parent.Time.Text = Hours.Value .. ":" .. Minutes.Value .. " ET"
if script.Parent.Time.Text == '00:00 ET' or '0:00 ET' or '00:0 ET' then --<<IT IS FOR SOME REASON TRUE, EVEN WHEN IT IS NOT 00:00, 0:00 OR 00:0!
script.Parent.Time.Text = "Error boi! No time."
end
end
--Main code
script.Parent.Visible = true
SetTime()
Hours.Changed:connect(SetTime)
Minutes.Changed:connect(SetTime)
Thanks in advance.

1 comment
Try "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"