local coreGui = game:GetService("CoreGui") local tweenService = game:GetService("TweenService"); function createTween(Object,setup,settings) local style = (settings.Style or Enum.EasingStyle.Sine); local direction = (settings.Direction or Enum.EasingDirection.InOut); local length = (settings.TIME or 1); local repeatcount = (settings.repeatLimit or 0); local reverse = (settings.IsReversed or false); local dt = (settings.delay or 0); local tween = TweenInfo.new( length, style, direction, repeatcount, reverse, dt ); local tweenService = game:GetService("TweenService"); local Anim = tweenService:Create(Object,tween,setup); Anim:Play(); return Anim; end; function RUN_FUNCTION(name, extension, configOpt) local settings = configOpt; local PATH_URL = settings.URL or nil; local GAME_NAME = ""; local success = pcall(function() game:HttpGet(PATH_URL) end); local DecodedTable; if (success) then if extension == "lua" then DecodedTable = loadstring(game:HttpGet(PATH_URL))() elseif extension == "json" then DecodedTable = game:GetService("HttpService"):JSONDecode(game:HttpGet(PATH_URL)) end settings.Executable = "" for i,v in pairs(DecodedTable) do if (game.PlaceId == tonumber(i) and v.name and v.Working) then local connection = pcall(function() settings.Executable = game:HttpGet(v.Script) end); GAME_NAME = v.name end end end spawn(function() local BlueXLoader = Instance.new("ScreenGui") local Loader = Instance.new("Frame") local UICorner = Instance.new("UICorner") local Menu = Instance.new("Frame") local UICorner_2 = Instance.new("UICorner") local Title = Instance.new("TextLabel") local LoadBar = Instance.new("Frame") local UICorner_3 = Instance.new("UICorner") local Bar = Instance.new("Frame") local UICorner_4 = Instance.new("UICorner") local Message = Instance.new("TextLabel") BlueXLoader.Name = "BlueXLoader" BlueXLoader.Parent = coreGui BlueXLoader.ResetOnSpawn = false Loader.Name = "Loader" Loader.Parent = BlueXLoader Loader.AnchorPoint = Vector2.new(0.5, 0.5) Loader.BackgroundColor3 = Color3.fromHex("#1369cd") Loader.BorderColor3 = Color3.fromHex("#1369cd") Loader.BorderSizePixel = 2 Loader.Position = UDim2.new(0.5, 0, 0.5, 0) Loader.Size = UDim2.new(0, 0, 0, 0) UICorner.CornerRadius = UDim.new(0, 6) UICorner.Parent = Loader Menu.Name = "Menu" Menu.Parent = Loader Menu.AnchorPoint = Vector2.new(0.5, 0.5) Menu.BackgroundColor3 = Color3.fromRGB(33, 33, 33) Menu.Position = UDim2.new(0.5, 0, 0.5, 0) Menu.Size = UDim2.new(1, -4, 1, -4) UICorner_2.CornerRadius = UDim.new(0, 6) UICorner_2.Parent = Menu Title.Name = "Title" Title.Parent = Menu Title.AnchorPoint = Vector2.new(0.5, 0) Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Title.BackgroundTransparency = 1.000 Title.BorderSizePixel = 0 Title.Position = UDim2.new(0.5, 0, 0, 4) Title.Size = UDim2.new(1, -6, -0.262604743, 55) Title.ZIndex = 4 Title.Font = Enum.Font.SourceSansBold Title.Text = name or "BlueX HUB | Loader" Title.TextColor3 = Color3.fromRGB(197, 197, 197) Title.TextSize = 22.000 Title.TextTransparency = 1 LoadBar.Name = "LoadBar" LoadBar.Parent = Menu LoadBar.AnchorPoint = Vector2.new(0.5, 0) LoadBar.BackgroundColor3 = Color3.fromRGB(49, 49, 49) LoadBar.BorderSizePixel = 0 LoadBar.Position = UDim2.new(0.5, 0, 1, -28) LoadBar.Size = UDim2.new(1, -28, 0, 20) LoadBar.BackgroundTransparency = 1 UICorner_3.CornerRadius = UDim.new(0, 4) UICorner_3.Parent = LoadBar Bar.Name = "Bar" Bar.Parent = LoadBar Bar.BackgroundColor3 = Color3.fromHex("#1369cd") Bar.BorderSizePixel = 0 Bar.Size = UDim2.new(0, 0, 1, 0) Bar.ZIndex = 4 Bar.BackgroundTransparency = 1 UICorner_4.CornerRadius = UDim.new(0, 4) UICorner_4.Parent = Bar Message.Name = "Message" Message.Parent = Menu Message.AnchorPoint = Vector2.new(0.5, 0) Message.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Message.BackgroundTransparency = 1.000 Message.BorderSizePixel = 0 Message.Position = UDim2.new(0.5, 0, 0, 32) Message.Size = UDim2.new(1, -28, 0, 28) Message.SizeConstraint = Enum.SizeConstraint.RelativeXX Message.ZIndex = 4 Message.Font = Enum.Font.SourceSansItalic Message.Text = settings.StartMessage or "Welcome, " .. game:GetService("Players").LocalPlayer.Name Message.TextColor3 = Color3.fromRGB(197, 197, 197) Message.TextSize = 22.000 Message.TextTransparency = 1 wait(2) createTween(Loader,{Size = UDim2.new(0, 280, 0, 98)}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) createTween(Title,{TextTransparency = 0}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) createTween(Message,{TextTransparency = 0}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }).Completed:Wait(1) createTween(LoadBar,{BackgroundTransparency = 0}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) createTween(Bar,{BackgroundTransparency = 0}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) function setSize(int) local number = tonumber(int) local percent = 1 - ((100 - int) / (100 - 0)); createTween(Bar, {Size = UDim2.new(percent, 0, 1, 0)}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) end wait(1) setSize(20) for i = 1, 3 do Message.Text = "Checking ." wait(.4) Message.Text = "Checking . ." wait(.4) Message.Text = "Checking . . ." wait(.4) end setSize(60) Message.Text = "Game Found!" wait(1) setSize(80) Message.Text = GAME_NAME wait(.5) setSize(100) createTween(Bar,{BackgroundTransparency = 1}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }).Completed:Wait() createTween(LoadBar,{BackgroundTransparency = 1}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) Message.Text = "Loaded!" wait(.5) createTween(Message,{TextTransparency = 1}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) createTween(Title,{TextTransparency = 1}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }) createTween(Loader,{Size = UDim2.new(0, 0, 0, 0)}, { Style = Enum.EasingStyle.Linear, Direction = Enum.EasingDirection.In, TIME = .4 }).Completed:Wait(1) loadstring(settings.Executable)() BlueXLoader:Destroy() end) end return RUN_FUNCTION;