SkeletalScripts

Close Button

Jun 12th, 2020
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. -- put this inside close with a localscript
  2. script.Parent.MouseButton1Click:Connect(function()
  3.     script.Parent.Parent.Parent.ClipsDescendants = true
  4.     script.Parent.Parent.Parent:TweenSize(UDim2.new(0,0,0,0),"In","Linear",0.3,false,nil)
  5. end)
Advertisement
Add Comment
Please, Sign In to add comment