Then it creating on clone of an imagelabel there suppost to be an animation that i make.
The point it to go from 1 to 0 in 2 seconds.
But for some reason whatever i do the clone pop up instantly without the animation.
I try to make it spawn without animation direct set of number
imageLabel.BackgroundTransparency = 0.5
And that also didnt work.
Any reason why the animation dont start ?
local randomFrame = itemFrames[math.random(1, #itemFrames)]
local imageLabel = imageLabelTemplate:Clone()
imageLabel.Parent = randomFrame
imageLabel.Size = UDim2.new(0, 100, 0, 100)
local frameWidth, frameHeight = randomFrame.AbsoluteSize.X, randomFrame.AbsoluteSize.Y
local randomX = math.random(0, math.max(frameWidth - 100, 0))
local randomY = math.random(0, math.max(frameHeight - 100, 0))
imageLabel.Position = UDim2.new(0, randomX, 0, randomY)
imageLabel.BackgroundTransparency = 1
tweenService:Create(imageLabel, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundTransparency = 0}):Play()