How to close leaderstats when game loads?

Is there a way to close leaderstats when the game loads. Right now it is open and I would like to to default to be closed?

Thanks in advance!

1 Like

Use SetCoreEnabled I think. Like this:

game.StarterGui:SetCoreEnabled("PlayerList", false)
1 Like

I think that disables it, I want it to be enabled, but just to be closed/collapsed when the game starts. Any ideas?

I don’t believe there’s a way to make it collapsed other than making your own and making it collapsed from the start.

Wow. Ok, thanks :slight_smile:

You only can do it manually but thats not a way.

here is the video how it works:

if you try with script it should show this!
image

Somone posted a post! to let normal script access CoreGui
I hope it will be happen in future

Code
  local core = game.CoreGui
 core.RobloxGui.PlayerListMaster.OffsetFrame.Position = UDim2.new(1.1, 0,0, 0)

But the code is useless now…
Thats why its not work.

The link you posted is not related to you posted…

The link you posted is a feature request post that gives the read permission from script on the core GUI.
You are trying to write a value to the core GUI

Can you read it again? i explained him how it works…

I’ve reread it, but the link you posted is irrelevant to your post.

But it helps him how it works tho…

You are trying to write a value, the posted feature request is not a request that grants write permission, but a feature request that grants read permission.

core.RobloxGui.PlayerListMaster.OffsetFrame.Position = UDim2.new(1.1, 0,0, 0) --Writing

Also, once have access to the Core GUI, security will be reduced, so you will never be able to access it.