So, i made the Playerlist GUI invisible
game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", false)
How would i make it so when a player hits a certain key it opens to that player?
--Local Script
function KeyDownFunctions(key) if key == "Q" then game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", true) end if key == "E" then game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", false) end end
Or try this
open = false function KeyDownFunctions(key) if key == "Q" then game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", true) open = true end if key == "E" then game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", false) open = false end end