Back to Scripts
Default Loading Menu   CoverGUI

Default Loading Menu CoverGUI

ScriptBlox
Universal Free

Game: Universal Script 📌

137 Views
1 Likes
0 Dislikes
squhz

squhz

offline

Features

Just a default script, like if you used this script! Open-source

Tags

free easy setup gui loading

Script Code

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")




-- main toggle 
local enabled = true
local YourText = "Default Loading Menu - Edit this"



-- gui setup n stuff
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FullscreenOverlay"
screenGui.IgnoreGuiInset = true
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local background = Instance.new("Frame")
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.BorderSizePixel = 0
background.Parent = screenGui

local thign = Instance.new("TextLabel")
thign.Size = UDim2.new(1, 0, 0.4, 0)
thign.Position = UDim2.new(0, 0, 0, 0)
thign.BackgroundTransparency = 1
thign.Text = "Loading"
thign.TextColor3 = Color3.new(1, 1, 1)
thign.Font = Enum.Font.SourceSansBold
thign.TextScaled = true
thign.Parent = screenGui

local thign1 = Instance.new("TextLabel")
thign1.Size = UDim2.new(1, 0, 0.6, 0)
thign1.Position = UDim2.new(0, 0, 0.4, 0)
thign1.BackgroundTransparency = 1
thign1.Text = YourText
thign1.TextColor3 = Color3.new(1, 1, 1)
thign1.Font = Enum.Font.SourceSansBold
thign1.TextScaled = true
thign1.Parent = screenGui


-- loading anim
local dots = 0
local maxDots = 3
local timer = 0
local interval = 0.3 -- seconds between adding a dot


RunService.RenderStepped:Connect(function(deltaTime)
    if not enabled then return end
    timer = timer + deltaTime
    if timer >= interval then
        timer = timer - interval
        dots = dots + 1
        if dots > maxDots then
            dots = 0
        end
        thign.Text = "Loading" .. string.rep(".", dots)
    end
end)

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...