1local TweenService = game:GetService("TweenService")2local RunService = game:GetService("RunService")3local CoreGui = game:GetService("CoreGui")4local Players = game:GetService("Players")56local function getGuiParent()7 if gethui and type(gethui) == "function" then 8 local ok, res = pcall(gethui)9 if ok and res then return res end10 end11 local ok, result = pcall(function() return game:GetService("CoreGui") end)12 if ok and result then return result end13 return Players.LocalPlayer:WaitForChild("PlayerGui")14end1516local gui = Instance.new("ScreenGui")17gui.Name = "CEOLoader"18gui.ResetOnSpawn = false19gui.IgnoreGuiInset = true20gui.Parent = getGuiParent()2122local bg = Instance.new("Frame")23bg.Size = UDim2.new(1, 0, 1, 0)24bg.BackgroundColor3 = Color3.fromRGB(15, 15, 20)25bg.Parent = gui2627local container = Instance.new("Frame")28container.Size = UDim2.new(0, 300, 0, 150)29container.Position = UDim2.new(0.5, -150, 0.5, -75)30container.BackgroundTransparency = 131container.Parent = bg3233local spinner = Instance.new("ImageLabel")34spinner.Size = UDim2.new(0, 50, 0, 50)35spinner.Position = UDim2.new(0.5, -25, 0, 0)36spinner.BackgroundTransparency = 137spinner.Image = "rbxassetid://3272492232"38spinner.ImageColor3 = Color3.fromRGB(255, 170, 0)39spinner.Parent = container4041local statusText = Instance.new("TextLabel")42statusText.Size = UDim2.new(1, 0, 0, 30)43statusText.Position = UDim2.new(0, 0, 0, 60)44statusText.BackgroundTransparency = 145statusText.Text = "Fetching Script..."46statusText.TextColor3 = Color3.fromRGB(255, 255, 255)47statusText.Font = Enum.Font.GothamBold48statusText.TextSize = 1449statusText.Parent = container5051local barBg = Instance.new("Frame")52barBg.Size = UDim2.new(1, 0, 0, 6)53barBg.Position = UDim2.new(0, 0, 0, 100)54barBg.BackgroundColor3 = Color3.fromRGB(40, 40, 50)55barBg.BorderSizePixel = 056barBg.Parent = container57Instance.new("UICorner", barBg).CornerRadius = UDim.new(1, 0)5859local barFill = Instance.new("Frame")60barFill.Size = UDim2.new(0, 0, 1, 0)61barFill.BackgroundColor3 = Color3.fromRGB(255, 170, 0)62barFill.BorderSizePixel = 063barFill.Parent = barBg64Instance.new("UICorner", barFill).CornerRadius = UDim.new(1, 0)6566local spinConn67spinConn = RunService.RenderStepped:Connect(function()68 if gui.Parent then69 spinner.Rotation = (spinner.Rotation + 5) % 36070 else71 spinConn:Disconnect()72 end73end)7475local function Update(text, progress)76 statusText.Text = text77 TweenService:Create(barFill, TweenInfo.new(0.3, Enum.EasingStyle.Quad), {Size = UDim2.new(progress, 0, 1, 0)}):Play()78end7980Update("Fetching Script...", 0.2)81task.wait(0.5)8283Update("Executing Hub...", 0.6)8485local success, err = pcall(function()86 loadstring(game:HttpGet("https://pastebin.com/raw/XhRjR0SD"))()87end)8889if success then90 Update("Loaded successfully!", 1.0)91 task.wait(1)92 gui:Destroy()93else94 statusText.Text = "Load Failed: " .. tostring(err)95 statusText.TextColor3 = Color3.fromRGB(255, 50, 50)96 task.wait(5)97 gui:Destroy()98end
Comments · …
Loading comments…