This only works in studio...
It's a regular script.
game:GetService("StarterGui"):SetCoreGuiEnabled("PlayerList", false)
game:GetService("StarterGui"):SetCoreGuiEnabled("Health", false)
game:GetService("StarterGui"):SetCoreGuiEnabled("Backpack", false)

2 comments
Is this a LocalScript or a Script?
Regular Script.