The title explains it all. I can't figure out why the loading screen doesn't load into the player's gui when loading into the game. Can someone help?
function onPlayerEnter()
local gui = script.Parent.Gui.LoadingGui
local playergui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
gui:Clone().Parent = playergui
end
game.Players.PlayerAdded:Connect(onPlayerEnter)

5 comments
Server script or LocalScript?
playeradded maybe?
That's what they are using.
So basically the script gives the new player the loading gui? You can just place the gui inside StarterGui and set ResetOnSpawn to false
^^ Didn't even think of that for some reason.