I am trying to make a snowflake appear inside of a frame that covers the entire screen. So far I have this part which should make them spawn in. [They are image labels.] In the output I keep getting this error. Any ideas?
Error:
Code:
function makesnow()
local snow = script.Snow
local newsnow = snow:Clone()
newsnow.Parent = script.Parent
newsnow.ImageTransparency = 0
newsnow.Position.X.Offset = math.random(1,900)
newsnow.Position.Y.Offset = .1
end
while true do
wait(.1)
makesnow()
end
it is a pretty hard process to remember, I forget it alot to.
here is the fundamentals, well to tween most things, but there is one specifically made for GUI that @veraxGravity already stated.
alright so your issue is your not defining what you want to change. In the goal area, (I probably should have been more specific, sorry) You need to have a statement, e.g
game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(8, Enum.EasingStyle.Sine, Enum.EasingDirection.In, 0,false,0), {Position = EXAMPLE THING}):Play()
also your placing a number, in short your telling the computer here is the number now figure out what to do with it. You need to give it what you want to change with the number