Continuation of an earlier post, I am wondering on the specifics of constructing a tween properly, this is what I made based off wiki info (btw its incorrect)
local ShopTween=TweenService:Create(plr.PlayerGui.Shop.Weapons, TweenInfo.new(nil, Enum.EasingStyle.Elastic,1.15), TweenSizeAndPosition(UDim2.new(0.515, 0,0.61, 0), UDim2.new(0.25, 0,0.2, 0))
In the exit button area Ill have it to where it detects until completed and proceed. but wiki isnt too helpful on how to construct it in its entirety
How I am trying to do it:
object, tweeninfo(parameters for style and time), tween pos and size for the designated object
Original Tween (done without local tween)
plr.PlayerGui.Shop.Weapons:TweenSizeAndPosition(UDim2.new(0.515, 0,0.61, 0), UDim2.new(0.25, 0,0.2, 0),nil,Enum.EasingStyle.Elastic,1.15)