SHARE
TWEET

Script For Roblox

a guest Jun 15th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ■ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ■
  2.  
  3. Button Script :
  4.  
  5. script.Parent.MouseButton1Click:Connect(function()
  6.  if script.Parent.Parent.Open.Value == false then
  7.   script.Parent.Parent.Open.Value = true
  8.   script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, 0.5, -150),"Out","Quint",1,true)
  9.  else
  10.   script.Parent.Parent.Open.Value = false
  11.   script.Parent.Parent.Frame:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
  12.  end
  13. end)
  14.  
  15. Close Button :
  16.  
  17. script.Parent.MouseButton1Click:Connect(function()
  18.  script.Parent.Parent.Parent.Open.Value = false
  19.  script.Parent.Parent:TweenPosition(UDim2.new(0.5, -200, -0.5, -150),"Out","Quint",1,true)
  20. end)
  21.  
  22. ■ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ▬ ■
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top