2 Likes
Please paste code here instead of sending a screenshot, this dissuades people from helping you
The reason why it’s broken is incorrect end
positions
InventoryOpener.MouseButton1Click:Connect(function(clicked)
Inventory:TweenPosition(UDim2.new(0.241, 0,0.153, 0),
Enum.EasingDirection.Out,
Enum.EasingStyle.Linear,
1,
false)
end)
CloseButton.MouseButton1Click:Connect(function(clicked)
Inventory:TweenPosition(
UDim2.new(-0.9,0,0.153,0),
Enum.EasingDirection.Out,
Enum.EasingStyle.Linear,
1, false)
end)
local BuyCoins = script.Parent.CoinGui.BuyCoins
local RobuxShopCoins = script.Parent.RobuxShopCoins
BuyCoins.MouseButton1Click:Connect(function(clicked)
RobuxShopCoins:TweenPosition(
UDim2.new(0.183, 0,0.045, 0),
Enum.EasingDirection.Out,
Enum.EasingStyle.Linear,
1,
false
)
end)
3 Likes
Thank you! Sorry about that! Many Thanks
3 Likes