Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- GUI HELP FOR GUI TO LUA SCRIPTING
- --To make the button activate a script
- BUTTONNAMEHERE.MouseButton1Down:connect(function()
- Scripthere
- end)
- --To make Main draggable
- YOURMAINFRAMENAME.Draggable = true
- --Make it Open
- NameOFBUTTON.MouseButton1Down:connect(function()
- NameOFURMAINGUI.Visible = true
- NAMEOFOPENFrame.Visible = false
- end)
- --Make it Close
- CLOSEBUTTONNAME.MouseButton1Down:connect(function()
- NAMEOFOPENBUTTON.Visible = true
- MAINGUINAME.Visible = false
- end)
- --Then search for
- GUINAME.Parent = game.Workspace
- --Change Workspace to CoreGui
- GUINAME.Parent = game.CoreGui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement