Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TS = game:GetService("TweenService")
- local open = script.Parent
- local Frame = open.Parent.Frame
- -- Tween info
- local newsize = UDim2.new(0, 611,0, 370)
- --Tween
- local TweenI = TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
- local tween = TS:Create(Frame, TweenI, {Size=newsize})
- open.MouseButton1Click:Connect(function()
- Frame.Visible = true
- tween:Play()
- end)
Advertisement
Add Comment
Please, Sign In to add comment