Hello,
So I have a script that is working well (asked for help):
local workspaceassets = game.Workspace:GetChildren()
local replcatedastorageassets = game.ReplicatedStorage:GetChildren()
local startguiassets = game.StarterGui:GetChildren()
local numberofassets = #workspaceassets + #replcatedastorageassets + #startguiassets
while wait() do
for x = numberofassets,0,-1 do
wait(0.5)
script.Parent.Text = "Loading assets...: "..x.."/"..numberofassets
end
script.Parent.Text = "Game loaded!"
wait(2)
script.Parent.Text = "Enjoy the game!"
wait(2)
script.Parent.Visible = false
script.Parent.Parent.Parent:Destroy()
end
The only thing is: It actually loads stuff that has been loaded too, so it's doing everything one by one. Is there also one that doesn't load stuff that has already been loaded? And if there is a solution, how do I script that (I'm just a beginner :/)?
Thanks in advance :)

1 comment
Wow just 9 lines of codes!! Thanks alot, it has worked :D