Need help with loading screen design

Hello,

I am trying to figure out how to make the chat disabled while the loading screen is in affect. Also, I am trying to get the topbar to change a certain color, and after the loading screen is disabled, the topbar goes transparent.

This is what i'm trying to achieve

https://gyazo.com/03a98eea7539ade2fc4016a5bf604a1d

I have tried to do:

While true do
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat,false)
wait(10)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat,true)
end

I need someone to provide a sample script of how to get the topbar to change color during the loading screen. I have no clue how.

Yes, I have looked at Youtube, developer hub, and other recourse. I can’t find what I need solved.

Thanks for the help!

Skylexion,
Developer

1 Like

It looks like you have the :SetCoreGuiEnabled() correct, but the loop and wait() need to be changed.

You want to wait for the loading screen to finish? Is this loading screen manages in a different script or the same script? You can detect when the loading bar reaches the maximum size, then enable chat. As for changing the color of the topbar, I believe you’d have to manipulate this with a GUI behind the topbar because I don’t think there’s a built-in method to change its color, only its transparency.

1 Like