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?
✓ ANSWER ACCEPTED
Local Script Help?
1 answer
✓ Accepted answer
Here's the script.
- Make a GUI and insert a Textbutton
- Change the text of Textbutton to "Open"
- Inside a Frame in the GUI together with the Textbutton.
- Make a script or localscript >IN< the Textbutton (it's better to make it script so that it would take small loading time)
local button = script.Parent --Remove local if it's in a localscript
Open = false
button.MouseButton1Down:connect(function()
if Open == false then
Frame.Visible = true
Open = false
button.Text = 'Close'
elseif Open == true then
Frame.Visible = false
Open = true
button.Text = 'Open'
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Yup
yep..... local scripts are localized to one player