I am trying to grow a flag in a certain direction. I have a script here that gets the job done, but I am unable to figure out how to make it grow left instead of right. I figured that since it comes out negative if I just did *-1 to make it positive it would work but it just teleported the flag to god knows where. Here is the grow code I am using:
local properties = {
Size = Vector3.new(SizeX, flagpart.Size.Y, flagpart.Size.Z),
Position = Vector3.new((flagpart.Position.X + (-1*(SizeX)/2) + (flagpart.Size.X/2)), flagpart.Position.Y , flagpart.Position.Z)
}
tweenService:Create(flagpart, TweenInfo.new(0.25),properties):Play()