Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Expected identifier, got '1' error?

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.