#Loading screen
2 messages · Page 1 of 1 (latest)
so I know you didn't ask for it but if you want a loading bar then use something like what I did a good year ago
game:GetService("ReplicatedFirst"):RemoveDefaultLoadingScreen()
-- Function
local function ResizeBar(percent)
inside:TweenSize(UDim2.new(percent/100, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 1, true)
wait(1)
end
-- Start loading.
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
frame.Visible = true
-- Resize to 10%.
ResizeBar(10)
-- Wait for the character to load.
if not player.Character then player.CharacterAdded:Wait() end
ResizeBar(40)
-- Load in assets.
game:GetService("ContentProvider"):PreloadAsync({workspace, player.PlayerGui})
ResizeBar(100)
game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
added some notes to make it a tad more clear.
There are quite a lot of ways to make a decent loading screen but I would still use this one nowadays