Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Frame = script.Parent.Frame
- local DropFrame = Frame.DropFrame
- local Button = Frame.TextButton
- db = 1
- Button.MouseButton1Click:connect(function()
- if db == 1 then
- DropFrame:TweenPosition(UDim2.new(0, 0,0, -50), "Out", "Bounce", 1)
- db=2
- else
- DropFrame:TweenPosition(UDim2.new(0, 0,0, -1000), "Out", "Bounce", 1)
- db=1
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement