I have this script:
local image = Instance.new("ImageLabel",script.Parent)
image.Name = "Effect"
image.Size = UDim2.new(0.216,0,1.364,0)
image.Position = image.Position + UDim2.new(1,0,0,0)
for i = 1, 20 do
local clone = image:Clone()
clone.Parent = script.Parent
clone:TweenPosition(clone.Position + UDim2.new(math.random(-1,2),0,math.random(-2,1),0),"Out","Quad",1)
wait(.1)
end
It's supposed to clone 20 images and move them around the original "Image" that is created a little bit. But all it does is:
-Sometimes moves the major part to the same location in the horizontal
-Sometimes they go off screen..
-Sometimes they don't even move
I just want them to tween a little bit around the image, nothing else.
I have no idea how to fix this can anyone help?
