---
title: "Custom Loading UI V2 | Universal Roblox Script - ScriptBlox"
description: "Custom Loading UI V2 for any Roblox game: This is for something if they want to have a loading ui for their script. Bye. This is the Version 2, it's now..."
canonical_url: "https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546"
meta:
  "og:description": "Custom Loading UI V2 for any Roblox game: This is for something if they want to have a loading ui for their script. Bye. This is the Version 2, it's now..."
  "og:image": "https://scriptblox.com/images/script/0-1760761566215.jpg"
  "og:title": "Custom Loading UI V2 | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Custom Loading UI V2 for any Roblox game: This is for something if they want to have a loading ui for their script. Bye. This is the Version 2, it's now..."
  "twitter:image": "https://scriptblox.com/images/script/0-1760761566215.jpg"
  "twitter:title": "Custom Loading UI V2 | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1760761566215.jpg)

# **Custom Loading UI V2**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![SpectravaxISBACK](https://scriptblox.com/images/photo/66226f79b630f5f9659c491b-1769790023790.png) [SpectravaxISBACK](https://scriptblox.com/u/SpectravaxISBACK)Published 25**

1 year ago

[**Get an executor**](https://scriptblox.com/executors?kind=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 for something if they want to have a loading ui for their script. Bye. This is the Version 2, it's now updated and now better.

## **Updates **

1. Oct 18, 2025

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Custom-Loading-UI-58546)

```
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "LoadingGui"
screenGui.Parent = playerGui
screenGui.Enabled = true
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true

local background = Instance.new("ImageLabel")
background.Name = "Background"
background.Size = UDim2.new(1, 0, 1, 0)
background.Position = UDim2.new(0, 0, 0, 0)
background.BackgroundColor3 = Color3.new(0, 0, 0)
background.Image = "rbxassetid://18878365966"
background.BackgroundTransparency = 0
background.ImageTransparency = 0
background.ZIndex = 1
background.Parent = screenGui

local uiScale = Instance.new("UIScale")
uiScale.Name = "UIScale"
uiScale.Parent = background

local function setDeviceScale()
    if UserInputService.TouchEnabled and not UserInputService.KeyboardEnabled then
        uiScale.Scale = 1.0
    elseif UserInputService.TouchEnabled and UserInputService.KeyboardEnabled then
        uiScale.Scale = 1.2
    elseif UserInputService.GamepadEnabled then
        if UserInputService:GetPlatform() == Enum.Platform.XBoxOne then
            uiScale.Scale = 1.2
        elseif UserInputService:GetPlatform() == Enum.Platform.PS4 then
            uiScale.Scale = 0.9
        else
            uiScale.Scale = 1.1


```

## **Comments **

**1**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Custom-Loading-UI-58546)

![voltrix's profile picture](https://scriptblox.com/images/user-default.webp)

[**voltrix**](https://scriptblox.com/u/voltrix)1 year ago

Fire w

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546#script","url":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546","name":"Custom Loading UI V2","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"SpectravaxISBACK","url":"https://scriptblox.com/u/SpectravaxISBACK"},"datePublished":"2025-10-15T08:34:49.384Z","image":"https://scriptblox.com/images/script/0-1760761566215.jpg","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546#webpage","@type":"WebPage","description":"Custom Loading UI V2 for any Roblox game: This is for something if they want to have a loading ui for their script. Bye. This is the Version 2, it's now...","name":"Custom Loading UI V2 | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Custom-Loading-UI-58546#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Custom Loading UI V2","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
