How the freak this get auto delete?

The problem is with this troublesome loading script that is placed inside ReplicatedFirst. After all the loading is complete, it is supposed to show the “Play” button, or while loading, it should display the “SKIP” button. However, it does neither.

After logging every possible detail, I figured out that the loading process has indeed has some progress, but it didn’t show the “SKIP” button at all Then, after about 1 second of complete loading, the GUI mysteriously disappears like nani?! how?! for real did this gui learned some ninjutsu or what?, and the “MainGui” auto enables. How ? like how?! I’ve checked every script meticulously, and there weren’t any code that manipulate the gui enabled or loader Gui and and like after the 1 sec of complete load the FREAKING GUI IS GONE IT SELF AND THE MAIN GUI SHOWS ?? HOW??? I CHECKED EVERY FREAKING SCRIPT ?! AND WASTED MORE THAN 30 MINUTE WHICH I COULD USE TO DO SOME MORE PRODUCTIVE THING OR TOUCH GRASS ;-;

This actual code that should do that Job but never get clicked or print anything on the console or simply, never executed but how main gui auto enabled? and how loader gui auto disabled?

btn.MouseButton1Click:Connect(function()
print("BRO IT DIDN'T EVEN RUN NOR CLICK THEN HOW THE FREAK THAT GUI GET DELETED AND THAT MAINSCREENGUI ENABLED?!!!")
	local FrameTween = tween:Create(Frame,TweenInfo.new(0.4),{Position = UDim2.new(0.5,0,-0.5,0)})
	FrameTween:Play()
	FrameTween.Completed:Wait()
	BlurEffect:Destroy()
	for _,v in pairs(Gui:GetChildren()) do
		v.Enabled = true
	end
	if not game:GetService("UserInputService").TouchEnabled then 
		local MouseLockController = plr:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule"):WaitForChild("CameraModule"):WaitForChild("MouseLockController")
		local keys = MouseLockController:WaitForChild("BoundKeys")
		keys.Value = "LeftControl,RightControl"	
	end
	script:Destroy()
end)

image

image

image

is the loading gui already inside the player’s gui or do you clone it from inside the loading script

ofc using cloned from loading script

Can you show us all the scripts needed for loading? Like the one in replicatedfirst?

I apologize, but I can’t show you the full code. However, please trust me there is no other part of the code that either deletes or enables the GUI.

Is the GUI property ResetOnSpawn enabled?

If you clone from replicated first, which is before the character loads, the character spawning in for the first time could be what is deleting this GUI

1 Like

Oh, I just remembered there’s a function to load the character when the game state changes to “Intermission.” You sent that a little late; it’s already 2 am. Anyways, thanks for the help!
image

And, you know, I was thinking that the GUI learned some kind of ninjutsu to run away :sweat_smile:.

I’ve had this exact issue I know the feeling where the script literally has no mention of deleting the GUI

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