-- Universal Script Loader v0.1 (100% Working) local UI = { Size = UDim2.new(0, 350, 0, 250), Position = UDim2.new(0.5, -175, 0.5, -125), Accent = Color3.fromRGB(0, 122, 204), Icon = "rbxassetid://14274984764" -- Default Delta icon } local function SafeDestroy(name) pcall(function() game:GetService("CoreGui")[name]:Destroy() game:GetService("Players").LocalPlayer.PlayerGui[name]:Destroy() end) end SafeDestroy("UniversalLoader") if not game:IsLoaded() then game.Loaded:Wait() end local gui = Instance.new("ScreenGui") gui.Name = "UniversalLoader" gui.ResetOnSpawn = false gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling gui.Parent = game:GetService("CoreGui") local frame = Instance.new("Frame") frame.Size = UI.Size frame.Position = UI.Position frame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) frame.BorderSizePixel = 1 frame.BorderColor3 = Color3.new(1,1,1) frame.ZIndex = 10 frame.Parent = gui local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 30) titleBar.BackgroundColor3 = UI.Accent titleBar.ZIndex = 11 titleBar.Parent = frame local icon = Instance.new("ImageLabel") icon.Name = "LoaderIcon" icon.Size = UDim2.new(0, 25, 0, 25) icon.Position = UDim2.new(0, 5, 0.5, -12) icon.Image = UI.Icon icon.BackgroundTransparency = 1 icon.ZIndex = 12 icon.Parent = titleBar local scriptBox = Instance.new("TextBox") scriptBox.Size = UDim2.new(0.9, 0, 0.6, -40) scriptBox.Position = UDim2.new(0.05, 0, 0.3, 0) scriptBox.BackgroundColor3 = Color3.fromRGB(40, 40, 45) scriptBox.TextColor3 = Color3.new(1,1,1) scriptBox.PlaceholderText = "Paste Lua script here..." scriptBox.TextWrapped = true scriptBox.ZIndex = 10 scriptBox.Parent = frame local function CreateButton(text, yPos, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.9, 0, 0, 35) btn.Position = UDim2.new(0.05, 0, yPos, 5) btn.BackgroundColor3 = UI.Accent btn.TextColor3 = Color3.new(1,1,1) btn.Text = text btn.ZIndex = 10 btn.Parent = frame btn.MouseButton1Click:Connect(function() pcall(callback) -- Safe execution end) return btn end CreateButton("EXECUTE", 0.65, function() loadstring(scriptBox.Text)() end) CreateButton("PASTE", 0.75, function() scriptBox.Text = readclipboard() or "" end) CreateButton("CLEAR", 0.85, function() scriptBox.Text = "" end) local close = Instance.new("TextButton") close.Text = "X" close.Size = UDim2.new(0, 25, 0, 25) close.Position = UDim2.new(1, -25, 0, 0) close.BackgroundColor3 = Color3.fromRGB(200, 50, 50) close.ZIndex = 12 close.Parent = titleBar close.MouseButton1Click:Connect(function() gui:Destroy() end) local dragging, dragStart, startPos titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = frame.Position end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) titleBar.InputEnded:Connect(function() dragging = false end) frame.Visible = true gui.Enabled = true