RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Make a loading screen that disappears after 7 seconds. It should cover the whole screen."
-- local script (StarterGUI) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local loadingScreen = Instance.new("Frame", screenGui) loadingScreen.Size = UDim2.new(1, 0, 1, 0) loadingScreen.BackgroundColor3 = Color3.fromRGB(0, 0, 0) local loadingText = Instance.new("TextLabel", loadingScreen) loadingText.Size = UDim2.new(1, 0, 1, 0) loadingText.Text = "Loading..." loadingText.TextColor3 = Color3.fromRGB(255, 255, 255) loadingText.BackgroundTransparency = 1 loadingText.Font = Enum.Font.SourceSans loadingText.TextScaled = true local function removeLoadingScreen() loadingScreen:Destroy() end wait(7) removeLoadingScreen()