I could use a local script to open and close guis, in which the gui would only open for the specific player of whom clicked it.. correct?
Here's the script. 1. Make a GUI and insert a Textbutton 2. Change the text of Textbutton to "Open" 3. Inside a Frame in the GUI together with the Textbutton. 4. Make a script or localscript >IN< the Textbutton (it's better to make it script so that it would take small loading time)
01 | local button = script.Parent --Remove local if it's in a localscript |
02 | Open = false |
03 |
04 | button.MouseButton 1 Down:connect( function () |
05 | if Open = = false then |
06 | Frame.Visible = true |
07 | Open = false |
08 | button.Text = 'Close' |
09 | elseif Open = = true then |
10 | Frame.Visible = false |
11 | Open = true |
12 | button.Text = 'Open' |
13 | end |
14 | end ) |