Hello everyone. This is my first post here and for a while I have been studying scripting in Roblox. This is a script that isn't working for no reason.
Player=(script.Parent.Parent.Parent.Parent.Parent)
script.Parent.MouseButton1Click:connect(function(Plr) Plr.PlayerGui.ScreenGui:remove() end)