I want these cinema bars to come in at the same time, but they're not... What am I doing wrong?
local topBar = script.Parent.TopBar
local bottomBar = script.Parent.BottomBar
local triggered = false
local barsIn = coroutine.create(function()
topBar:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1)
bottomBar:TweenPosition(UDim2.new(0, 0, 0.9, 0), "Out", "Quad", 1)
end)
local bottomBars = coroutine.create(function()
bottomBar:TweenPosition(UDim2.new(0, 0, -1, 0), "Out", "Quad", 1)
end)
if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
triggered = true
wait()
coroutine.resume(barsIn)
end
