i really need with my script that will allow players to hide and show the player list on a click of a gui button.
Current script
local StarterGui = game:GetService("StarterGui") p = script.Parent.Parent.PL function go() if script.Parent.Parent.PL.Value == true then StarterGui:SetCoreGuiEnabled(0,false) p.Value = false else StarterGui:SetCoreGuiEnabled(0,true) p.Value = true end end script.Parent.MouseButton1Click:connect (go)
please help
If you mean hiding the leaderboard, there is already a button at the bottom of the leaderboard that allows you to hide it.