So technically I am trying to close a gui with a local script. But where the I have a problem is that, yes you can "Close it" after you reset, but I need it when they click the "X" button. So thats when accessing the player who clicked the gui comes in handy.
local frame = game.Players..PlayerGui.Starter.ScrollingFrame--Not sure how to find the player who clicked @ Players..PlayerGui?
function closed()
frame.Visible = false
print("Whats New/ Closed")
end
script.Parent.MouseButton1Down:connect(closed)

3 comments
omg.. Why didn't I think of that.. duhh.. thats man! :D
Yep no problem, sometimes the simplest solution is the one that works!
Ok someone who gave me the rep down PLEASE tell me why! I am so confused! I helped this person and my rep went DOWN 2 BECAUSE OF IT?