I'm trying to make a lamp that turns off during the day. I'm also trying to make it compatible with FE. I can't test it when I cannot run the function.
function fireServ()
script.Parent:WaitForChild("ChangeLight"):FireServer()
print("Fired!")
end
if 1 + 1 == 2 then
fireServ()
end
The output logs say nothing about there being error nor printing, "Fired!". I don't know what I'm doing wrong?
edit ; It's in a LocalScript if that helps.

4 comments
This is in a Local Script?
Yes.
Line 6 isn't necessary...
That was just me tryna figure out how to make it work.