Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ■ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ■
- Button Script :
- script.Parent.MouseButton1Click:Connect(function()
- if script.Parent.Parent.Open.Value == false then
- script.Parent.Parent.Open.Value = true
- script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, 0.5, -150),"Out","Quint",1,true)
- else
- script.Parent.Parent.Open.Value = false
- script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
- end
- end)
- Close Button :
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent.Open.Value = false
- script.Parent.Parent:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
- end)
- ■ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ■
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement