So, i m doing a loading screen but my script doesn t show any errors, is a localscript and when it finishes i want it to make my MainGUi Enabled after the loading screen goes, but it doesn`t.
game.StarterGui:SetCore('TopbarEnabled', false) script.Parent.MouseButton1Click:Connect(function() if script.Parent.Parent.Visible == true then script.Parent.Parent.ImageButton.Visible = false script.Parent.Parent.MainMenuButton.Visible = false script.Parent.Parent.ImageLabel.Visible = false script.Parent.Parent.GameTitle1.Visible = false script.Parent.Parent.GameTitle2.Visible = false script.Parent.Parent.SongTitle.Visible = false script.Parent.Parent.MadeBy.Visible = false script.Parent.Parent.ComDiscordServer.Visible = false script.Parent.Parent.DiscordLink.Visible = false game.ReplicatedStorage.Teleport:FireServer() game.StarterGui:SetCore('TopbarEnabled', true) game:GetService('StarterGui').MainGUi.Enabled = true while true do wait(0.07) script.Parent.Parent.BackgroundTransparency = script.Parent.Parent.BackgroundTransparency + 0.01 if script.Parent.Parent.BackgroundTransparency == 1 then break end end if game.SoundService.Folder["Walker Alan - Darkside Remix"].Playing == true then wait(10) game.SoundService.Folder["Walker Alan - Darkside Remix"].Playing = false game.Lighting.Blur.Enabled = true game.Lightning.Blur.Size.Value = 1.5 end end end)
I solved the problem, i realized that i didn t exactly needed to set the Enabled to false because my other screen gui that contained the loading screen frame and stuff was stopping others to see the main gui until i made a for loop and set the background transparency and made it fade, i still don`t know how to do that with Enabled = false but i ll take it.