Loading Menu (shows only after a delay of time) [RESOLVED]

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to make it show the UI quickly after player joined.

  2. What is the issue? The loading frame shows only after a delay of time, like after the character is loaded or something like that.

  3. What solutions have you tried so far? I have tried to put the localscript on ReplicatedFirst

Here is a video:

local player = game.Players.LocalPlayer

local function showLoadingFrame()
	local loadingFrame = player.PlayerGui:WaitForChild("MenuGui").LoadingFrame
	loadingFrame.Visible = true


Why can’t you just put it in the StarterGui folder? why do you need the delay?

Well, I want it to be visible only after the player joins.

Why can’t you put it in StarterGui then?

Oh, the ScreenGui is inside the StarterGui

well you don’t need to set it to visible, you should get RID of the visibility when things are loaded.

It’s a loading frame and menu frame inside the same ScreenGui. (and yeah, I understand what you meant, but I just want to visible that loading frame because I’ve made it invisible)

All you need to do is make the loading frame visible (not in the script) and when things are loading turn off visibility and turn on visibility for menu frame.

Because I don’t wanna remove the visibility and the visible it again because of other stuff (Builds, and etc)

I’m saying is make the frame visible from the start and then when its loaded make it invisible. Also when it loads make the menu visible.

1 Like

If you want the loading frame to show up quickly after the player joins, you can try placing the LocalScript that runs the code in the ReplicatedFirst service.

1 Like

Yes, I did. It’s working now after restarting Roblox Studio.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.