I'm a bit new to studio, and I am making a brick with a pointlight, and if the brightness is equal to 5, then it prints "hi".
What I don't know, is what is going on when I put "=" in there. This is the script...
if game.Workspace.wing.PointLight.Brightness = 5
then
print 'hi'
end
If I put > or < 5, then it works perfectly fine, but if I put =, it says "Workspace.Script:1: 'then' expected near '='".
What am I doing wrong?

2 comments
Thanks for the help, and for the addition info too.
No problem, good luck in the future!