I am trying to make a map loader but there is 1 problem, that the loading screen doesnt go away I tried this script but it didnt work, it also gave no errors.
localscript:
local Map = game.ReplicatedStorage.Map local P = game.Players.LocalPlayer while true do print(Map:IsAncestorOf(nil)) if Map:IsAncestorOf(nil) then print("Meow2") P.PlayerGui.Loading:Destroy() game.ReplicatedStorage:WaitForChild(P.Name,1000).Parent = game.Workspace end wait(1) end
It's a really easy question with an easy and simple answer
local fol = --Get your folder if #fol:GetChildren==0 then --Whatever else --Whatever end