Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Erasing a leader board+ hp bar?

Asked by 8 years ago

So with the game I am trying to make the leaderboard invisible, and the hp bar at the top rigth go away. I forgot the exact code, could some one remind me please.

0
Oh Hi, I was in your game a few moments ago when you told everyone to save while shutting down for an update. alphawolvess 1784 — 8y

1 answer

Log in to vote
4
Answered by 8 years ago

What you're looking for is the SetCoreGuiEnabled method of StarterGui.

In a LocalScript,

Game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)

To get this to run, though, you have to put the LocalScript where it will run, such as in the StarterGui

0
Thanks I was looking for this! GeezuzFusion 200 — 8y
0
ah, thanks QuantumToast 261 — 8y
0
Yea no problem. ^ Tredicle 30 — 8y
Ad

Answer this question