If statement stopping the script

Couldn’t find anything helpful about that, so here I am

print(isGreen) --prints false, and its boolean
newlabel.TextColor = Color3.new(0, 1, 0)

if isGreen == false then
	newlabel.TextColor = Color3.new(1, 0, 0)
    print("aaa") --doesnt print anything
end
		
print("working") -- doesn't print anything

I’ve tried removing the if statement, and it worked perfectly, and even if isGreen = true, doesn’t work
Any idea why ?

check for errors i guess?
thats the only thing i can think of
or show us the whole script (variables)

the property responsible for the text color is named TextColor3, just add a 3 at the end of TextColor

thank you ! For some reason the script wasn’t auto completing