--[[ ZHub for Roblox using Rayfield UI Creator: ZHEKA22K Version: 1.1.0 ]] -- Устанавливаем ключ для Rayfield Rayfield:SetKeybind(Enum.KeyCode.RightShift) -- Загружаем Rayfield local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() -- Функция для получения приветствия на основе времени local function GetTimeBasedGreeting() local playerName = game.Players.LocalPlayer.Name local currentTime = os.date("*t") local hour = currentTime.hour if hour >= 5 and hour < 12 then return "Good morning, " .. playerName .. "!" elseif hour >= 12 and hour < 17 then return "Good day, " .. playerName .. "!" elseif hour >= 17 and hour < 21 then return "Good afternoon, " .. playerName .. "!" elseif hour >= 21 and hour < 24 then return "Good evening, " .. playerName .. "!" else return "Good night, " .. playerName .. "!" end end -- Функция для форматирования времени local function FormatTime() return os.date("%H:%M:%S") end -- Создаем главное окно local Window = Rayfield:CreateWindow({ Name = "ZHub | by ZHEKA22K", LoadingTitle = "ZHub Loading...", LoadingSubtitle = "Created by ZHEKA22K", ConfigurationSaving = { Enabled = true, FolderName = "ZHub", FileName = "Configuration" }, Discord = { Enabled = false, Invite = "invite", RememberJoins = true }, KeySystem = false }) -- Создаем вкладки local MainTab = Window:CreateTab("Main", 113965323757386) local PlayerTab = Window:CreateTab("Player", 4483362458) local VisualsTab = Window:CreateTab("Visuals", 4483362458) local DeadRailsTab = Window:CreateTab("Dead Rails", 122874126897828) local MoreTab = Window:CreateTab("More", 4483362458) -- Секция "Приветствие" на главной вкладке local GreetingSection = MainTab:CreateSection("Welcome") -- Создаем приветствие на основе времени local greetingText = GetTimeBasedGreeting() local GreetingLabel = MainTab:CreateLabel(greetingText) -- Добавляем информацию о текущем времени local TimeLabel = MainTab:CreateLabel("Current time: " .. FormatTime()) -- Обновление времени в реальном времени local function UpdateTime() while wait(1) do TimeLabel:Set("Current time: " .. FormatTime()) end end spawn(UpdateTime) -- Секция "Информация" на главной вкладке local InfoSection = MainTab:CreateSection("Information") local WelcomeLabel = MainTab:CreateLabel("Welcome to ZHub!") local CreatorLabel = MainTab:CreateLabel("Creator: ZHEKA22K") local VersionLabel = MainTab:CreateLabel("Version: 1.1.0") local GameLabel = MainTab:CreateLabel("Game: " .. game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name) -- Секция "Скрипты" на главной вкладке local ScriptsSection = MainTab:CreateSection("Scripts") local InfiniteYieldButton = MainTab:CreateButton({ Name = "Infinite Yield", Callback = function() local success, errorMessage = pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))() end) if success then Rayfield:Notify({ Title = "✅ Infinite Yield", Content = "Loaded successfully!", Duration = 3, Image = 123436113232947, }) else Rayfield:Notify({ Title = "❌ Error", Content = "Failed to load Infinite Yield: " .. errorMessage, Duration = 5, Image = 123436113232947, }) end end, }) local OwlHubButton = MainTab:CreateButton({ Name = "Owl Hub", Callback = function() local success, errorMessage = pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))() end) if success then Rayfield:Notify({ Title = "✅ Owl Hub", Content = "Loaded successfully!", Duration = 3, Image = 123436113232947, }) else Rayfield:Notify({ Title = "❌ Error", Content = "Failed to load Owl Hub: " .. errorMessage, Duration = 5, Image = 123436113232947, }) end end, }) -- Кнопка для загрузки нескольких популярных скриптов local PopularScriptsButton = MainTab:CreateButton({ Name = "Load Popular Scripts", Callback = function() Rayfield:Notify({ Title = "⚠️ Loading", Content = "Loading popular scripts...", Duration = 3, Image = 123436113232947, }) local scripts = { "Infinite Yield", "Owl Hub", "CMD-X", "Simple Spy" } for i, scriptName in ipairs(scripts) do if scriptName == "Infinite Yield" then loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))() elseif scriptName == "Owl Hub" then loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))() elseif scriptName == "CMD-X" then loadstring(game:HttpGet("https://raw.githubusercontent.com/CMD-X/CMD-X/master/Source"))() elseif scriptName == "Simple Spy" then loadstring(game:HttpGet("https://github.com/exxtremestuffs/SimpleSpySource/raw/master/SimpleSpy.lua"))() end end Rayfield:Notify({ Title = "✅ Success", Content = "All popular scripts loaded!", Duration = 5, Image = 123436113232947, }) end, }) -- Секция "Авто-исполнение" local AutoExecuteSection = MainTab:CreateSection("Auto Execute") local AutoExecuteButton = MainTab:CreateButton({ Name = "Auto Execute Scripts", Callback = function() Rayfield:Notify({ Title = "⚙️ Auto Execute", Content = "Executing all scripts...", Duration = 3, Image = 123436113232947, }) local successCount = 0 local totalScripts = 2 -- Загружаем Infinite Yield local success1, error1 = pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))() end) if success1 then successCount = successCount + 1 end -- Загружаем Owl Hub local success2, error2 = pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/CriShoux/OwlHub/master/OwlHub.txt"))() end) if success2 then successCount = successCount + 1 end Rayfield:Notify({ Title = "📊 Auto Execute", Content = string.format("Executed %d/%d scripts successfully!", successCount, totalScripts), Duration = 5, Image = 123436113232947, }) end, }) -- Секция "Информация о пользователе" local UserInfoSection = MainTab:CreateSection("User Information") local player = game.Players.LocalPlayer local joinDate = os.date("%Y-%m-%d %H:%M:%S") local PlayerInfoLabel = MainTab:CreateLabel("Player: " .. player.Name) local AccountAgeLabel = MainTab:CreateLabel("Account Age: " .. player.AccountAge .. " days") local UserIdLabel = MainTab:CreateLabel("User ID: " .. player.UserId) -- Секция "Настройки игрока" local PlayerSection = PlayerTab:CreateSection("Player Settings") -- Слайдер скорости ходьбы local WalkSpeedSlider = PlayerTab:CreateSlider({ Name = "WalkSpeed", Range = {16, 300}, Increment = 1, Suffix = "studs/s", CurrentValue = 16, Flag = "WalkSpeed", Callback = function(Value) local character = player.Character if character and character:FindFirstChild("Humanoid") then character.Humanoid.WalkSpeed = Value end end, }) -- Кнопка сброса скорости ходьбы local ResetWalkSpeedButton = PlayerTab:CreateButton({ Name = "Reset WalkSpeed", Callback = function() WalkSpeedSlider:Set(16) Rayfield:Notify({ Title = "🔄 Reset", Content = "WalkSpeed reset to default (16)", Duration = 3, Image = 123436113232947, }) end, }) -- Слайдер силы прыжка local JumpPowerSlider = PlayerTab:CreateSlider({ Name = "JumpPower", Range = {50, 500}, Increment = 1, Suffix = "studs", CurrentValue = 50, Flag = "JumpPower", Callback = function(Value) local character = player.Character if character and character:FindFirstChild("Humanoid") then character.Humanoid.JumpPower = Value end end, }) -- Кнопка сброса силы прыжка local ResetJumpPowerButton = PlayerTab:CreateButton({ Name = "Reset JumpPower", Callback = function() JumpPowerSlider:Set(50) Rayfield:Notify({ Title = "🔄 Reset", Content = "JumpPower reset to default (50)", Duration = 3, Image = 123436113232947, }) end, }) -- Переключатель Noclip local NoclipToggle = PlayerTab:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "Noclip", Callback = function(Value) if Value then Rayfield:Notify({ Title = "✨ Noclip", Content = "Noclip enabled!", Duration = 3, Image = 123436113232947, }) else Rayfield:Notify({ Title = "✨ Noclip", Content = "Noclip disabled!", Duration = 3, Image = 123436113232947, }) end end, }) -- Кнопка Fly (полет) local FlyToggle = PlayerTab:CreateToggle({ Name = "Fly", CurrentValue = false, Flag = "Fly", Callback = function(Value) if Value then -- Простая реализация полета local character = player.Character if character and character:FindFirstChild("Humanoid") then local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Name = "ZHubFly" bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.MaxForce = Vector3.new(0, 9e9, 0) bodyVelocity.Parent = character.HumanoidRootPart Rayfield:Notify({ Title = "🕊️ Fly", Content = "Fly enabled! Use E to go up, Q to go down", Duration = 5, Image = 123436113232947, }) end else local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") then local flyPart = character.HumanoidRootPart:FindFirstChild("ZHubFly") if flyPart then flyPart:Destroy() end end Rayfield:Notify({ Title = "🕊️ Fly", Content = "Fly disabled!", Duration = 3, Image = 123436113232947, }) end end, }) -- Секция "Визуалы" local VisualsSection = VisualsTab:CreateSection("Visuals") -- Переключатель ESP игроков local EspToggle = VisualsTab:CreateToggle({ Name = "Player ESP", CurrentValue = false, Flag = "ESP", Callback = function(Value) if Value then -- Создаем ESP для всех игроков for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer ~= player and otherPlayer.Character then local highlight = Instance.new("Highlight") highlight.Name = "ZHubESP" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.OutlineTransparency = 0 highlight.Parent = otherPlayer.Character -- Обновляем ESP при изменении персонажа otherPlayer.CharacterAdded:Connect(function(newChar) wait(1) local newHighlight = Instance.new("Highlight") newHighlight.Name = "ZHubESP" newHighlight.FillColor = Color3.fromRGB(255, 0, 0) newHighlight.OutlineColor = Color3.fromRGB(255, 255, 255) newHighlight.FillTransparency = 0.5 newHighlight.OutlineTransparency = 0 newHighlight.Parent = newChar end) end end Rayfield:Notify({ Title = "👁️ ESP", Content = "Player ESP enabled!", Duration = 3, Image = 123436113232947, }) else -- Удаляем ESP со всех игроков for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer.Character then local highlight = otherPlayer.Character:FindFirstChild("ZHubESP") if highlight then highlight:Destroy() end end end Rayfield:Notify({ Title = "👁️ ESP", Content = "Player ESP disabled!", Duration = 3, Image = 123436113232947, }) end end, }) -- Переключатель Fullbright local FullbrightToggle = VisualsTab:CreateToggle({ Name = "Fullbright", CurrentValue = false, Flag = "Fullbright", Callback = function(Value) if Value then game.Lighting.Ambient = Color3.new(1, 1, 1) game.Lighting.Brightness = 1 game.Lighting.GlobalShadows = false Rayfield:Notify({ Title = "☀️ Fullbright", Content = "Fullbright enabled!", Duration = 3, Image = 123436113232947, }) else game.Lighting.Ambient = Color3.new(0, 0, 0) game.Lighting.Brightness = 1 game.Lighting.GlobalShadows = true Rayfield:Notify({ Title = "☀️ Fullbright", Content = "Fullbright disabled!", Duration = 3, Image = 123436113232947, }) end end, }) -- Переключатель Wireframe local WireframeToggle = VisualsTab:CreateToggle({ Name = "Wireframe View", CurrentValue = false, Flag = "Wireframe", Callback = function(Value) if Value then for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") then local wireframe = Instance.new("WireframeHandleAdornment") wireframe.Name = "ZHubWireframe" wireframe.Color3 = Color3.new(0, 1, 0) wireframe.Transparency = 0.5 wireframe.Adornee = part wireframe.Parent = part end end Rayfield:Notify({ Title = "📐 Wireframe", Content = "Wireframe view enabled!", Duration = 3, Image = 123436113232947, }) else for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") then local wireframe = part:FindFirstChild("ZHubWireframe") if wireframe then wireframe:Destroy() end end end Rayfield:Notify({ Title = "📐 Wireframe", Content = "Wireframe view disabled!", Duration = 3, Image = 123436113232947, }) end end, }) -- Секция "Dead Rails" local DeadRailsSection = DeadRailsTab:CreateSection("Dead Rails Features") local AutoBondFarmButton = DeadRailsTab:CreateButton({ Name = "Auto Bond Farm", Callback = function() Rayfield:Notify({ Title = "⚙️ Dead Rails", Content = "Loading Auto Bond Farm script...", Duration = 3, Image = 123436113232947, }) local success, errorMessage = pcall(function() loadstring(game:HttpGet("https://raw.githubusercontent.com/yoursvexyyy/deadrails/refs/heads/main/autobonds"))() end) if success then Rayfield:Notify({ Title = "✅ Dead Rails", Content = "Auto Bond Farm script loaded successfully!", Duration = 5, Image = 123436113232947, }) else Rayfield:Notify({ Title = "❌ Error", Content = "Failed to load Auto Bond Farm: " .. errorMessage, Duration = 5, Image = 123436113232947, }) end end, }) -- Дополнительные функции для Dead Rails local DeadRailsESPButton = DeadRailsTab:CreateButton({ Name = "Dead Rails ESP", Callback = function() Rayfield:Notify({ Title = "👁️ Dead Rails ESP", Content = "Coming soon!", Duration = 3, Image = 123436113232947, }) end, }) local DeadRailsAimbotButton = DeadRailsTab:CreateButton({ Name = "Aimbot", Callback = function() Rayfield:Notify({ Title = "🎯 Aimbot", Content = "Coming soon!", Duration = 3, Image = 123436113232947, }) end, }) -- Секция "Дополнительно" local MoreSection = MoreTab:CreateSection("Social") local OfficialSiteButton = MoreTab:CreateButton({ Name = "Official Site", Callback = function() local websiteUrl = "https://getkeyzhuboriginal.tilda.ws/" pcall(function() setclipboard(websiteUrl) end) Rayfield:Notify({ Title = "🌐 Official Site", Content = "Website link copied to clipboard!", Duration = 5, Image = 123436113232947, }) end, }) local RobloxProfileButton = MoreTab:CreateButton({ Name = "Roblox Profile", Callback = function() local profileUrl = "https://www.roblox.com/users/7778377548/profile" pcall(function() setclipboard(profileUrl) end) Rayfield:Notify({ Title = "👤 Roblox Profile", Content = "Profile link copied to clipboard!", Duration = 5, Image = 123436113232947, }) end, }) local FollowMeButton = MoreTab:CreateButton({ Name = "Follow me on Roblox!", Callback = function() Rayfield:Notify({ Title = "❤️ Thank You!", Content = "Thanks for your support!", Duration = 5, Image = 123436113232947, }) end, }) -- Кнопка поддержки local SupportButton = MoreTab:CreateButton({ Name = "Support / Donate", Callback = function() Rayfield:Notify({ Title = "💰 Support", Content = "Support options coming soon!", Duration = 5, Image = 123436113232947, }) end, }) -- Кнопка обратной связи local FeedbackButton = MoreTab:CreateButton({ Name = "Send Feedback", Callback = function() Rayfield:Notify({ Title = "📝 Feedback", Content = "Thank you for your feedback! We appreciate it!", Duration = 5, Image = 123436113232947, }) end, }) -- Секция "Настройки" local SettingsSection = MoreTab:CreateSection("Settings") local UnloadButton = MoreTab:CreateButton({ Name = "Unload ZHub", Callback = function() Rayfield:Notify({ Title = "⚠️ Unloading", Content = "Unloading ZHub in 3 seconds...", Duration = 3, Image = 123436113232947, }) wait(3) -- Закрываем Rayfield Rayfield:Destroy() -- Очищаем ESP и другие эффекты for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer.Character then local highlight = otherPlayer.Character:FindFirstChild("ZHubESP") if highlight then highlight:Destroy() end end end -- Восстанавливаем стандартные настройки графики game.Lighting.Ambient = Color3.new(0, 0, 0) game.Lighting.Brightness = 1 game.Lighting.GlobalShadows = true end, }) -- Функциональность Noclip game:GetService("RunService").Stepped:Connect(function() if Rayfield.Flags.Noclip and Rayfield.Flags.Noclip.CurrentValue then if player.Character then for _, part in pairs(player.Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end end) -- Функциональность Fly local flySpeed = 50 local flyUp = false local flyDown = false game:GetService("UserInputService").InputBegan:Connect(function(input) if Rayfield.Flags.Fly and Rayfield.Flags.Fly.CurrentValue then if input.KeyCode == Enum.KeyCode.E then flyUp = true elseif input.KeyCode == Enum.KeyCode.Q then flyDown = true end end end) game:GetService("UserInputService").InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.E then flyUp = false elseif input.KeyCode == Enum.KeyCode.Q then flyDown = false end end) game:GetService("RunService").Heartbeat:Connect(function() if Rayfield.Flags.Fly and Rayfield.Flags.Fly.CurrentValue then local character = player.Character if character and character:FindFirstChild("HumanoidRootPart") then local flyPart = character.HumanoidRootPart:FindFirstChild("ZHubFly") if flyPart then local velocity = Vector3.new(0, 0, 0) if flyUp then velocity = velocity + Vector3.new(0, flySpeed, 0) end if flyDown then velocity = velocity + Vector3.new(0, -flySpeed, 0) end flyPart.Velocity = velocity end end end end) -- Уведомление о загрузке Rayfield:Notify({ Title = "✅ ZHub Loaded", Content = "Welcome to ZHub by ZHEKA22K! Use RightShift to toggle UI.", Duration = 6.5, Image = 123436113232947, }) print("ZHub loaded successfully!") print("Creator: ZHEKA22K") print("Version: 1.1.0")