-- ======================================================= -- MALAIKAT HUB - SMOOTH AUTOMATIC SCRIPT LOADER -- ======================================================= local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local MarketplaceService = game:GetService("MarketplaceService") local PlaceId = game.PlaceId -- 1. PREVENT DOUBLE LOADING (Hapus UI lama jika di-load ulang) if _G.MalaikatHubLoaded then if CoreGui:FindFirstChild("MalaikatLoaderUI") then CoreGui.MalaikatLoaderUI:Destroy() end end _G.MalaikatHubLoaded = true -- 2. DAFTAR SCRIPT & GAME YANG DIDUKUNG local AutoAimScript = "https://raw.githubusercontent.com/MalaikatHubOFFICIAL/MalaikatHUB/refs/heads/main/MalaikatHUBautoaim.lua" local PowerYouCityScript = "https://raw.githubusercontent.com/MalaikatHubOFFICIAL/MalaikatHUB/refs/heads/main/MalaikatHUBPanel" local BuildTeamScript = "https://raw.githubusercontent.com/MalaikatHubOFFICIAL/MalaikatHUB/refs/heads/main/BuildYouTeamOWn" local SupportedGames = { [286090429] = AutoAimScript, -- Arsenal [136801880565837] = AutoAimScript, -- Flick [112731528776884] = AutoAimScript, -- Knife Duels [81549698024226] = PowerYouCityScript, -- Power You City [94164742020505] = BuildTeamScript, -- Build-a-Soccer-Team } -- 3. BUAT TAMPILAN UI local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "MalaikatLoaderUI" ScreenGui.ResetOnSpawn = false if syn and syn.protect_gui then syn.protect_gui(ScreenGui) ScreenGui.Parent = CoreGui elseif gethui then ScreenGui.Parent = gethui() else ScreenGui.Parent = CoreGui end -- Main Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 260, 0, 80) MainFrame.Position = UDim2.new(0.5, -130, 0.5, -40) MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 22) MainFrame.BackgroundTransparency = 1 MainFrame.BorderSizePixel = 0 MainFrame.ClipsDescendants = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame local UIStroke = Instance.new("UIStroke") UIStroke.Color = Color3.fromRGB(70, 70, 80) UIStroke.Thickness = 1.5 UIStroke.Transparency = 1 UIStroke.Parent = MainFrame local TitleLabel = Instance.new("TextLabel") TitleLabel.Size = UDim2.new(1, 0, 0, 30) TitleLabel.Position = UDim2.new(0, 0, 0, 8) TitleLabel.BackgroundTransparency = 1 TitleLabel.Text = "Malaikat Hub" TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.TextTransparency = 1 TitleLabel.TextSize = 17 TitleLabel.Font = Enum.Font.GothamBold TitleLabel.Parent = MainFrame local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, -20, 0, 35) StatusLabel.Position = UDim2.new(0, 10, 0, 38) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "Loading..." StatusLabel.TextColor3 = Color3.fromRGB(180, 180, 190) StatusLabel.TextTransparency = 1 StatusLabel.TextSize = 13 StatusLabel.Font = Enum.Font.GothamMedium StatusLabel.Parent = MainFrame -- ======================================================= -- FUNGSI ANIMASI SMOOTH (TWEENING) -- ======================================================= local function SetStatus(text, color, waitTime) local fadeOut = TweenService:Create(StatusLabel, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 1}) fadeOut:Play() fadeOut.Completed:Wait() StatusLabel.Text = text if color then TweenService:Create(StatusLabel, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = color}):Play() end local fadeIn = TweenService:Create(StatusLabel, TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {TextTransparency = 0}) fadeIn:Play() if waitTime then task.wait(waitTime) end end local function ShowUI() MainFrame.Size = UDim2.new(0, 260, 0, 80) MainFrame.Position = UDim2.new(0.5, -130, 0.5, -30) local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out) TweenService:Create(MainFrame, tweenInfo, { Position = UDim2.new(0.5, -160, 0.5, -50), Size = UDim2.new(0, 320, 0, 100), BackgroundTransparency = 0.05 }):Play() TweenService:Create(UIStroke, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Transparency = 0}):Play() TweenService:Create(TitleLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 0}):Play() TweenService:Create(StatusLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextTransparency = 0}):Play() task.wait(0.5) end local function UnloadUI() local tweenInfo = TweenInfo.new(0.4, Enum.EasingStyle.Quart, Enum.EasingDirection.In) TweenService:Create(MainFrame, tweenInfo, { Position = UDim2.new(0.5, -160, 0.5, -30), BackgroundTransparency = 1, Size = UDim2.new(0, 280, 0, 80) }):Play() TweenService:Create(UIStroke, tweenInfo, {Transparency = 1}):Play() TweenService:Create(TitleLabel, tweenInfo, {TextTransparency = 1}):Play() TweenService:Create(StatusLabel, tweenInfo, {TextTransparency = 1}):Play() task.wait(0.4) ScreenGui:Destroy() _G.MalaikatHubLoaded = false end -- ======================================================= -- EKSEKUSI ALUR LOADER -- ======================================================= task.spawn(function() ShowUI() -- Step 1: Initial Loading SetStatus("Loading...", nil, 0.8) -- Step 2: Mengambil Nama Game via MarketplaceService secara Aman SetStatus("Detecting game...", nil, 0.5) local gameName = "Unknown Game" pcall(function() local info = MarketplaceService:GetProductInfo(PlaceId) if info and info.Name then gameName = info.Name end end) -- Tampilkan nama game yang terdeteksi ke UI SetStatus("Detected: " .. gameName, Color3.fromRGB(0, 230, 255), 1.5) -- Step 3: Check Place ID Support local targetScriptURL = SupportedGames[PlaceId] if targetScriptURL then -- Game Didukung SetStatus("Game supported [✓]", Color3.fromRGB(100, 230, 130), 1.2) -- Step 4: Loading Script Utama SetStatus("Loading script...", Color3.fromRGB(180, 180, 190), 0.8) local success, err = pcall(function() loadstring(game:HttpGet(targetScriptURL))() end) if not success then SetStatus("Failed to load script!", Color3.fromRGB(255, 100, 100), 2) end -- Step 5: Unload UI UnloadUI() else -- Game Tidak Didukung SetStatus("Game not supported [✗]", Color3.fromRGB(255, 100, 100), 2) -- Self Unload UI UnloadUI() end end)