local MarketplaceService = game:GetService("MarketplaceService") local function getGameName(gameId) local success, result = pcall(function() local info = MarketplaceService:GetProductInfo(gameId) return info.Name end) if success then return result else return nil end end function customKick(message, callback, code, button) game.Players.LocalPlayer:Kick() task.wait() local text = table.concat({ message, "", code and "Error Code: " .. code or [[discord.gg/wishubx]] }, "\n") local kickPrompt = game.CoreGui.RobloxPromptGui.promptOverlay.ErrorPrompt kickPrompt.TitleFrame.ErrorTitle.Text = "WisHub System" kickPrompt.MessageArea.ErrorFrame.ErrorMessage.RichText = true kickPrompt.MessageArea.ErrorFrame.ErrorMessage.Text = text kickPrompt.MessageArea.ErrorFrame.ButtonArea.LeaveButton.ButtonText.Text = button or "OK" local call = callback or function()end call() end local gameList = { [7436755782] = "4c4184fbd445363d2f93154c5d291359", [9186719164] = "b3227dfea3088c1846e74be615524317", [5750914919] = "67349e01f0ab2f4f2138036612c626ae", [6701277882] = "b79b6aa4165a674444e2ce8938acbdc7", [9363735110] = "54f96e9dfc53e8c526d415255617fe61", [10004244222] = "9932789ab1e2db386c24c05becc67c28" } if gameList[game.GameId] then game.StarterGui:SetCore( "SendNotification", { Title = "Wishub Loaded!", Text = getGameName(game.PlaceId), Icon = "rbxassetid://73739494324230", Duration = 5 } ) local script_id = gameList[game.GameId] if script_id == "4c4184fbd445363d2f93154c5d291359" then local IsInTradeWorld = require(game:GetService("ReplicatedStorage").Modules.IsInTradeWorld) if IsInTradeWorld or is_market then script_id = "a7839a300cc470d27c258b5ac89780fa" end end if not script_key then local auth = loadstring(game:HttpGet("https://raw.githubusercontent.com/dy1zn4t/WisHubX/refs/heads/main/auth"))() local auth_status = auth(script_id) repeat task.wait() until auth_status.validated end loadstring(game:HttpGet("https://api.luarmor.net/files/v4/loaders/"..script_id..".lua"))() else game.StarterGui:SetCore( "SendNotification", { Title = "Wishub Error", Text = "Unsupported Map Detected", Icon = "rbxassetid://99764942615873", Duration = 5 } ) customKick("Unsupported Place") end