So I have a script that makes so if its past 6AM it turns the lights on, but it doesn't seem to work and the > is underlined in red and it says "Expected Identifier"
local Children = game.Workspace.WinLight:GetChildren()
if game.Lighting.ClockTime == >6 then
for Index = 1, #Children do
local Child = Children[Index]
if Child:IsA("BasePart") then
Child.BrickColor = BrickColor.new("Br. yellowish green")
Child.Material = "Neon"
Child.Transparency = 0.7
Child.Reflectance = 0.1
end
end
end

3 comments
">" is just as much of an identifier as "=" or "=="
thanks! I knew this was a rookie mistake
it' fine, we all make rookie mistakes sometimes :)