Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Open Button Script:
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = true
- end)
- Close Button Script:
- script.Parent.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false
- end)
- if more then 1 gui ill give you an example if there is more then 1 then change the 2nd one to "ScreenGui2" and in the script change "ScreenGui" to "ScreenGui2"
Advertisement
Add Comment
Please, Sign In to add comment