Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Frame = script.Parent.Parent.Frame
- local Open = false
- script.Parent.MouseButton1Click:Connect(function()
- if Open == false then
- Frame:TweenPosition(UDim2.new(0.5, -175, 0.5, -80), "Out", "Bounce", 1, true)
- Open = true
- else
- Frame:TweenPosition(UDim2.new(0.5, -175, 1.5, -80), "Out", "Bounce", 1, true)
- Open = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement