Universal Script πŸ“Œ
624 Views
22 Executions

LOAD GUI

Universal Script πŸ“Œ
ZSII
ZSIIFirst script
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This is not something I did Anyway, this GUI is cool XD

View Raw
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")

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

local function CreateBlurEffect(parent)
    local blur = Instance.new("BlurEffect")
    blur.Name = "LoadingUIBlur"
    blur.Size = 12
    blur.Parent = Lighting
    
    local frame = Instance.new("Frame")
    frame.Size = UDim2.new(1, 0, 1, 0)
    frame.BackgroundTransparency = 1
    frame.Parent = parent
    
    local function updateBlur()
        if not blur or not blur.Parent then return end
        local viewportSize = workspace.CurrentCamera.ViewportSize
        local center = frame.AbsolutePosition + frame.AbsoluteSize / 2
        local distance = (center - Vector2.new(viewportSize.X/2, viewportSize.Y/2)).Magnitude
        blur.Size = math.clamp(12 - distance / 50, 3, 12)
    end
    
    local connection
    connection = RunService.RenderStepped:Connect(function()
        if not blur or not blur.Parent then
            connection:Disconnect()
            return
        end
        updateBlur()
    end)
    
    return blur
end

local function CreateLoadingScreen(config)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script πŸ“Œ
10.2k
263
Bumped 29 minutes ago
High QualityΒ Offering
Universal Script πŸ“Œ
8.4k
32.8k
Bumped 40 minutes ago
Key System
Universal Script πŸ“Œ
1.1k
2.7k
Bumped 55 minutes ago
Universal Script πŸ“Œ
1.3k
5.9k
Bumped 57 minutes ago
Script hub
22.0k
4.3k
Bumped 2 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
1.1k
2.2k
Bumped 2 hours ago
Universal Script πŸ“Œ
1.6k
5.9k
Bumped 2 hours ago
Script hub
164.7k
564.9k
Bumped 6 hours ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub OP SCRIPT