Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- to put the script in the button
- script.Parent.MouseButton1Click:Connect(function()
- --scripthere--
- end)
- to make it close
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false
- end)
- to make it open
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement