Is SunPos a model or brick inside the workspace?
The way you're formatting your script is in the function of time, Ex;
if TimeOfDay >= 18:25:00 then
print("Hi")
end
What you want is to give SunPos a parent if you're not using time;
SunPos.Parent = script.Parent
or
SunPos.Parent = game.Workspace.WOWOWOWO
here's an example
You finish this part;
if SunPos >= script.Parent.Position then
Print("Hi") --insert
SunPos.Parent = game.Workspace.HelloImEXbrick
end
Or just use time
if TimeOfDay >= 18 then
print("Hello")
|