break
else
local Speed = Bar:TweenSize(UDim2.new(0.948, 0, 0.735, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, Time, true)
if Bar.Size.X.Scale > 0.9 then
RemoteEvent:FireServer(BoxSelection.Adornee)
Bar:TweenSize(UDim2.new(0.104, 0, 0.735, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.01, true)
end
end
your second tween is firing it looks like
It cant fire when it can only fire if the bar is tweening.
Use Sine for the EasingStyle EasingStyle | Documentation - Roblox Creator Hub
Here is an article on easing styles and you’re welcome!
Also you could use game:GetService(“TweenService”):Create(Bar, TweenInfo.new(–time,Enum.EasingStyle.Sine, 0), {Size = UDim2.new(0.104, 0, 0.735, 0)}):Play()
Thank you so much it worked!
I’m Glad to help, hope your game turns out well!