#Is there a better way to say that the game got loaded?

1 messages · Page 1 of 1 (latest)

pine pelican
#

I have a loading menu, and when the game is loaded then it sets Loaded BoolValue in the player to true.
Is there a better place to put this value tho?

#

Right now, when I want to wait for the game to load in a script i just do game.Players.LocalPlayer:WaitForChild("Loaded") but it seems wrong (it works but I think it can be done better) and I set the value by this code:

local loaded = Instance.new("BoolValue")
loaded.Name = "Loaded"
loaded.Value = true
loaded.Parent = plr