Hey guys so my code for constant rain on the screen doesn’t work and it’s because my tween is playing but they are playing at the same time, how do I make them play after each other??
local TweenService = game:GetService("TweenService")
local CurrentPosition = script.Parent.Position
local tweenInfo1 = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
local TweenOpen = TweenService:Create(script.Parent, tweenInfo1, {Position = UDim2.new(0.5, 0, 2, 0 )})
local TweenOpen2 = TweenService:Create(script.Parent.Parent.Imagelabel2, tweenInfo1, {Position = UDim2.new(0.5, 0, 2, 0 )})
while true do
TweenOpen:Play()
wait(0.19)
script.Parent.Parent.Imagelabel2.Position = UDim2.new(0.5, 0, -1, 0)
TweenOpen2:Play()
script.Parent.Position = UDim2.new(0.5, 0, -1, 0)
end