Universal Script ๐Ÿ“Œ
897 Views
666 Executions

Fix Delta Sidebar

Universal Script ๐Ÿ“Œ
Ohmagic
OhmagicFirst 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

Iโ€™m not totally sure if this works on every device, but it works on mine B). Some phones show this little sidebar line on the right side when you minimize delta, and itโ€™s kinda annoying, so I wrote this simple script to fix it

View Raw
local cloneref=cloneref or clonereference or function(i)return i end
local cg=cloneref(game:GetService("CoreGui"))

local function w(f)
    local l,s,n=f.Position,0,.05
    repeat
        local c=f.Position
        s=c~=l and 0 or s+.05
        l=c
        task.wait(.05)
    until s>=n
end

local function g()
    for _,o in cg:GetDescendants()do
        if o.Name=="Sidebar"and o:IsA("Frame")then
            local p=o.Parent
            if p and p:FindFirstChild("Console")and p:FindFirstChild("Executor")and p:FindFirstChild("Home")and p:FindFirstChild("Scripthub")and p:FindFirstChild("Settings")then
                return o
            end
        end
    end
end

local b=g()
if b then
    b:GetPropertyChangedSignal("Position"):Connect(function()
        local p=b.Position
        if p.X.Scale>1 then
            task.spawn(function()
                w(b)
                if b.Parent and b.Position.X.Scale>1 then
                    b.Position=UDim2.new(1.1,0,p.Y.Scale,p.Y.Offset)
                end
            end)
        end
    end)
end


Comments

1
Log in to join the conversation. Login
viperr's profile picture
viperr1 year ago

works for iphone 14

1

More universal scripts

See all
Script hub
33.0k
298.1k
Bumped 27 minutes ago
Script hub
23.6k
5.2k
Bumped 27 minutes ago
Key System
Paid
High Qualityย Offering
Universal Script ๐Ÿ“Œ
174
527
Bumped 57 minutes ago
Universal Script ๐Ÿ“Œ
1.6k
30.2k
Bumped 58 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 3 hours ago