Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Expected identifier, got '1' error?

Asked by 9 years ago
1: game.service("Lighting")
while true do
    wait(0.1)
    1:SetMinutesAfterMidnight(1:GetMinutesAfterMidnight() +1) 
end

I keep getting the error, Expected identifier, got '1' The error seems to be on line 1.

1 answer

Log in to vote
1
Answered by 9 years ago

You cannot have numbers as variables. Try using one, not 1.

Ad

Answer this question