script:
local rt2 = false
script.Parent.MouseButton1Click:Connect(function()
if rt2 == false then
rt2 = true
script.Parent.Parent.Frame:TweenSize(UDim2.new(0, 200,0, 200)
,Enum.EasingDirection.Out
,Enum.EasingStyle.Back
,1
,true)
else
rt2 = false
script.Parent.Parent.Frame:TweenSize(UDim2.new(0, 100,0, 100)
,Enum.EasingDirection.Out
,Enum.EasingStyle.Back
,1
,true)
end
end)
14 окт 2024