local W=0 local S=tick()while true do local v=tick()-S if game:IsLoaded()and(v>MIN_TIME and game.Workspace.Finish.Value==1)then break end textLabel.Text="\076\111\097\100\105\110\103 "..string.rep("\046",W)W=(W+1)%4 wait(.3)end game.Workspace.Finish.Value=2 if not game:IsLoaded()then game.Loaded:Wait()end
-- loop
local count = 0
local startTick = tick()
while true do
	local timeElapsed = tick() - startTick
	-- if the game has loaded and the minimum time has elapsed then break the loop
	if game:IsLoaded() and timeElapsed > MIN_TIME and game.Workspace.Finish.Value == 1 then
		break
	end

	-- animate the text
	textLabel.Text = "Loading " .. string.rep(".", count)
	count = (count + 1) % 4

	wait(0.3)
end

game.Workspace.Finish.Value = 2

if not game:IsLoaded() then
	game.Loaded:Wait()
end
