Help with GUI overlay

So today I decided to make a ragdoll gui for a game I am making and for some reason my loading screen dosn’t overlap the ragdoll gui

what it looks like when I’m not play testing

What it looks like when I’m play testing

I have 2 other GUI’s that work and don’t show up, I copied each setting yet it still overlaps.

The other GUI’s

Text button settings



Button Script

local UserInputService = game:GetService("UserInputService");

local Toggle = false;

script.Parent.MouseButton1Click:Connect(function()
	if not Toggle then
		Toggle = true;
		
		game.ReplicatedStorage.Events.Ragdoll:FireServer(true)
	else
		Toggle = false;
		
		game.ReplicatedStorage.Events.Ragdoll:FireServer(false)
	end
end)

UserInputService.InputBegan:Connect(function(input, typing)
	if input.KeyCode == Enum.KeyCode.R and not typing then
		if not Toggle then
			Toggle = true;

			game.ReplicatedStorage.Events.Ragdoll:FireServer(true)
		else
			Toggle = false;

			game.ReplicatedStorage.Events.Ragdoll:FireServer(false)
		end
	end
end)

If anyone knows whats wrong please let me know

1 Like

Make them invisible and when the loading screen finishes make them visible again? You could also change the zindex of the loading screen to 2 if that helps while also setting the gui zindex type I think it is called to Global

1 Like

Sorry for the late responce, I tried this and I sadly still got the same issue.

1 Like

What do the ragdoll events do? And you’re good I’m about to go to sleep in a little

1 Like

it just ragdolls your R6 character (it does the same function as if I pressed “R” on my keybord, I only made it to help people on phone and xbox.)

Can I see your attenot at making the UIs invisible and then visible?

1 Like

all I have rn is

function added(player)	

local GUI = script.IntroGui:clone()
GUI.Parent = player:WaitForChild("PlayerGui")

end
game.Players.PlayerAdded:connect(added)`

thats all I can do rn becuase I don’t know how to load it in before everything else

the thing I don’t understand Is that the first gui I made (the summon pet one) dosn’t have any script making it go invisible and then visible. It just did it on its own :confused:

1 Like

To load in a loading screen you can put a local script in ReplicatedFirst and put in the script

repeat 
—your fancy gui loading screen
until game.Loaded
—Then make the other buttons appear

This will wait for the game on the client side to load the primary stuff first and then to continue and do your gui script. While the game is loading, the loading screen would be the only one loaded and then the other would be enabled or Visible again.

Can I see all the screenGuis you have on StarterPlayer?

It just has the basic stuff
tfyu

1 Like

Make sure the Zindex on one of the GUIs is a higher value than the other.

Oh whoops typo, I meant StarterGui!
Very sorry

1 Like

the two that have the defult name are for the summon pet and the ragdoll tyui

I did that but I still had the same issue

1 Like

Set the loadingFade’s DisplayOrder Property higher than the other two that have the default.

For example loadingFade gas a DisplayOrder of 1 while the others have a display order of 0

1 Like