From 6eb168b36b6950a324f0b88dec19a28fa5164a23 Mon Sep 17 00:00:00 2001 From: Akisa Date: Fri, 28 Nov 2025 10:39:03 +0600 Subject: [PATCH 01/11] Restore highlight.lua and enhance features Restored original content and added new features. --- SimpleSpyV3/highlight.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SimpleSpyV3/highlight.lua b/SimpleSpyV3/highlight.lua index 1142f61..b75af01 100644 --- a/SimpleSpyV3/highlight.lua +++ b/SimpleSpyV3/highlight.lua @@ -4,6 +4,7 @@ Features: - uses the power of fancy syntax detection algorithms to convert a frame into a syntax highlighted high quality code box - is cool + - get skilled ]] local cloneref = cloneref or function(...) return ... end @@ -510,3 +511,4 @@ function constructor.new(...) end return constructor + From 752129e804dae6978ae1d4d42fd84b49d91d418c Mon Sep 17 00:00:00 2001 From: Akisa Date: Fri, 28 Nov 2025 10:40:30 +0600 Subject: [PATCH 02/11] Update current version and change title text --- latest.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/latest.lua b/latest.lua index 10bec60..ea5b91f 100644 --- a/latest.lua +++ b/latest.lua @@ -14,7 +14,7 @@ if not game:IsLoaded() then notLoaded:Destroy() end -currentVersion = '5.9.3' +currentVersion = '1.0.0' Players = game:GetService("Players") @@ -206,7 +206,7 @@ Title.BorderSizePixel = 0 Title.Size = UDim2.new(0, 250, 0, 20) Title.Font = Enum.Font.SourceSans Title.TextSize = 18 -Title.Text = "Infinite Yield FE v" .. currentVersion +Title.Text = "MyzkaHub" .. currentVersion do local emoji = ({ From f3961d558314dde0afe00228a93f0a2758196d41 Mon Sep 17 00:00:00 2001 From: Akisa Date: Fri, 28 Nov 2025 10:47:26 +0600 Subject: [PATCH 03/11] Implement modern GUI for Infinite Yield This file introduces a redesigned Infinite Yield GUI with a modern interface, including features like draggable windows, command input, and quick action buttons. --- new.lua | 478 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 478 insertions(+) create mode 100644 new.lua diff --git a/new.lua b/new.lua new file mode 100644 index 0000000..4e43a19 --- /dev/null +++ b/new.lua @@ -0,0 +1,478 @@ +-- Redesigned Infinite Yield GUI +-- Cleaner, more modern interface + +if IY_LOADED and not _G.IY_DEBUG == true then + return +end + +pcall(function() getgenv().IY_LOADED = true end) + +-- Services +local Players = game:GetService("Players") +local COREGUI = game:GetService("CoreGui") +local TweenService = game:GetService("TweenService") +local UserInputService = game:GetService("UserInputService") + +-- Create main GUI container +local IYGui = Instance.new("ScreenGui") +IYGui.Name = "IY_ModernUI_" .. math.random(10000,99999) +IYGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling +IYGui.DisplayOrder = 10 + +-- Main Frame +local MainFrame = Instance.new("Frame") +MainFrame.Name = "MainFrame" +MainFrame.Size = UDim2.new(0, 350, 0, 400) +MainFrame.Position = UDim2.new(1, -360, 0.5, -200) +MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) +MainFrame.BorderSizePixel = 0 +MainFrame.ClipsDescendants = true + +-- Modern rounded corners +local UICorner = Instance.new("UICorner") +UICorner.CornerRadius = UDim.new(0, 8) +UICorner.Parent = MainFrame + +-- Drop shadow +local UIStroke = Instance.new("UIStroke") +UIStroke.Color = Color3.fromRGB(20, 20, 25) +UIStroke.Thickness = 2 +UIStroke.Parent = MainFrame + +-- Header +local Header = Instance.new("Frame") +Header.Name = "Header" +Header.Size = UDim2.new(1, 0, 0, 40) +Header.BackgroundColor3 = Color3.fromRGB(25, 25, 30) +Header.BorderSizePixel = 0 + +local HeaderCorner = Instance.new("UICorner") +HeaderCorner.CornerRadius = UDim.new(0, 8) +HeaderCorner.Parent = Header + +local Title = Instance.new("TextLabel") +Title.Name = "Title" +Title.Size = UDim2.new(1, -80, 1, 0) +Title.Position = UDim2.new(0, 15, 0, 0) +Title.BackgroundTransparency = 1 +Title.Text = "Infinite Yield FE v5.9.3" +Title.TextColor3 = Color3.fromRGB(255, 255, 255) +Title.TextSize = 16 +Title.Font = Enum.Font.GothamSemibold +Title.TextXAlignment = Enum.TextXAlignment.Left + +-- Close button +local CloseButton = Instance.new("TextButton") +CloseButton.Name = "CloseButton" +CloseButton.Size = UDim2.new(0, 30, 0, 30) +CloseButton.Position = UDim2.new(1, -35, 0, 5) +CloseButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) +CloseButton.BorderSizePixel = 0 +CloseButton.Text = "×" +CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) +CloseButton.TextSize = 20 +CloseButton.Font = Enum.Font.GothamBold + +local CloseCorner = Instance.new("UICorner") +CloseCorner.CornerRadius = UDim.new(0, 6) +CloseCorner.Parent = CloseButton + +-- Minimize button +local MinimizeButton = Instance.new("TextButton") +MinimizeButton.Name = "MinimizeButton" +MinimizeButton.Size = UDim2.new(0, 30, 0, 30) +MinimizeButton.Position = UDim2.new(1, -70, 0, 5) +MinimizeButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) +MinimizeButton.BorderSizePixel = 0 +MinimizeButton.Text = "−" +MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) +MinimizeButton.TextSize = 18 +MinimizeButton.Font = Enum.Font.GothamBold + +local MinimizeCorner = Instance.new("UICorner") +MinimizeCorner.CornerRadius = UDim.new(0, 6) +MinimizeCorner.Parent = MinimizeButton + +-- Command input +local CommandContainer = Instance.new("Frame") +CommandContainer.Name = "CommandContainer" +CommandContainer.Size = UDim2.new(1, -20, 0, 45) +CommandContainer.Position = UDim2.new(0, 10, 0, 50) +CommandContainer.BackgroundColor3 = Color3.fromRGB(40, 40, 45) +CommandContainer.BorderSizePixel = 0 + +local CommandCorner = Instance.new("UICorner") +CommandCorner.CornerRadius = UDim.new(0, 6) +CommandCorner.Parent = CommandContainer + +local PrefixLabel = Instance.new("TextLabel") +PrefixLabel.Name = "PrefixLabel" +PrefixLabel.Size = UDim2.new(0, 30, 1, 0) +PrefixLabel.BackgroundTransparency = 1 +PrefixLabel.Text = ";" +PrefixLabel.TextColor3 = Color3.fromRGB(200, 200, 200) +PrefixLabel.TextSize = 16 +PrefixLabel.Font = Enum.Font.GothamMedium + +local CommandInput = Instance.new("TextBox") +CommandInput.Name = "CommandInput" +CommandInput.Size = UDim2.new(1, -40, 1, 0) +CommandInput.Position = UDim2.new(0, 35, 0, 0) +CommandInput.BackgroundTransparency = 1 +CommandInput.Text = "" +CommandInput.PlaceholderText = "Enter command..." +CommandInput.TextColor3 = Color3.fromRGB(255, 255, 255) +CommandInput.TextSize = 14 +CommandInput.TextXAlignment = Enum.TextXAlignment.Left +CommandInput.Font = Enum.Font.Gotham +CommandInput.ClearTextOnFocus = false + +-- Command list +local CommandsFrame = Instance.new("ScrollingFrame") +CommandsFrame.Name = "CommandsFrame" +CommandsFrame.Size = UDim2.new(1, -20, 1, -120) +CommandsFrame.Position = UDim2.new(0, 10, 0, 105) +CommandsFrame.BackgroundTransparency = 1 +CommandsFrame.BorderSizePixel = 0 +CommandsFrame.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 110) +CommandsFrame.ScrollBarThickness = 4 +CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) + +local CommandsLayout = Instance.new("UIListLayout") +CommandsLayout.Parent = CommandsFrame +CommandsLayout.SortOrder = Enum.SortOrder.LayoutOrder +CommandsLayout.Padding = UDim.new(0, 5) + +-- Quick actions bar +local QuickActions = Instance.new("Frame") +QuickActions.Name = "QuickActions" +QuickActions.Size = UDim2.new(1, -20, 0, 40) +QuickActions.Position = UDim2.new(0, 10, 1, -50) +QuickActions.BackgroundTransparency = 1 + +local QuickLayout = Instance.new("UIListLayout") +QuickLayout.Parent = QuickActions +QuickLayout.FillDirection = Enum.FillDirection.Horizontal +QuickLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center +QuickLayout.SortOrder = Enum.SortOrder.LayoutOrder +QuickLayout.Padding = UDim.new(0, 10) + +-- Quick action buttons +local function CreateQuickButton(text, color) + local button = Instance.new("TextButton") + button.Size = UDim2.new(0, 80, 0, 30) + button.BackgroundColor3 = color or Color3.fromRGB(50, 120, 220) + button.BorderSizePixel = 0 + button.Text = text + button.TextColor3 = Color3.fromRGB(255, 255, 255) + button.TextSize = 12 + button.Font = Enum.Font.GothamSemibold + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 6) + corner.Parent = button + + return button +end + +-- Command template +local CommandTemplate = Instance.new("TextButton") +CommandTemplate.Name = "CommandTemplate" +CommandTemplate.Size = UDim2.new(1, 0, 0, 30) +CommandTemplate.BackgroundColor3 = Color3.fromRGB(45, 45, 50) +CommandTemplate.BorderSizePixel = 0 +CommandTemplate.Text = "Command Name" +CommandTemplate.TextColor3 = Color3.fromRGB(255, 255, 255) +CommandTemplate.TextSize = 13 +CommandTemplate.Font = Enum.Font.Gotham +CommandTemplate.TextXAlignment = Enum.TextXAlignment.Left +CommandTemplate.Visible = false + +local TemplateCorner = Instance.new("UICorner") +TemplateCorner.CornerRadius = UDim.new(0, 4) +TemplateCorner.Parent = CommandTemplate + +local TemplatePadding = Instance.new("UIPadding") +TemplatePadding.Parent = CommandTemplate +TemplatePadding.PaddingLeft = UDim.new(0, 10) + +-- Parent everything +IYGui.Parent = COREGUI +MainFrame.Parent = IYGui +Header.Parent = MainFrame +Title.Parent = Header +CloseButton.Parent = Header +MinimizeButton.Parent = Header +CommandContainer.Parent = MainFrame +PrefixLabel.Parent = CommandContainer +CommandInput.Parent = CommandContainer +CommandsFrame.Parent = MainFrame +QuickActions.Parent = MainFrame +CommandTemplate.Parent = CommandsFrame + +-- Add quick action buttons +local FlyButton = CreateQuickButton("Fly", Color3.fromRGB(220, 80, 60)) +FlyButton.Parent = QuickActions + +local NoclipButton = CreateQuickButton("Noclip", Color3.fromRGB(80, 180, 80)) +NoclipButton.Parent = QuickActions + +local ToolsButton = CreateQuickButton("Tools", Color3.fromRGB(60, 140, 220)) +ToolsButton.Parent = QuickActions + +local SettingsButton = CreateQuickButton("Settings", Color3.fromRGB(150, 100, 220)) +SettingsButton.Parent = QuickActions + +-- Sample commands for demonstration +local sampleCommands = { + "fly - Toggle flight mode", + "noclip - Toggle noclip", + "btools - Get building tools", + "esp - Toggle player ESP", + "goto [player] - Teleport to player", + "bring [player] - Bring player to you", + "kill [player] - Kill player", + "refresh - Reset character", + "invis - Become invisible", + "speed [number] - Set walk speed", + "jumppower [number] - Set jump power", + "gravity [number] - Set gravity", + "time [number] - Set time of day", + "freeze [player] - Freeze player", + "thaw [player] - Unfreeze player", + "annoy [player] - Annoy player", + "unannoy - Stop annoying", + "loopgoto [player] - Loop teleport to player", + "unloopgoto - Stop loop teleport" +} + +-- Populate commands list +for i, cmd in ipairs(sampleCommands) do + local cmdButton = CommandTemplate:Clone() + cmdButton.Name = "Cmd_" .. i + cmdButton.Text = cmd + cmdButton.Visible = true + cmdButton.LayoutOrder = i + cmdButton.Parent = CommandsFrame + + -- Update canvas size + CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, CommandsLayout.AbsoluteContentSize.Y) +end + +-- GUI functionality +local isMinimized = false +local originalSize = MainFrame.Size +local minimizedSize = UDim2.new(0, 350, 0, 40) + +-- Drag functionality +local dragging = false +local dragInput, dragStart, startPos + +local function update(input) + local delta = input.Position - dragStart + MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) +end + +Header.InputBegan:Connect(function(input) + if input.UserInputType == Enum.UserInputType.MouseButton1 then + dragging = true + dragStart = input.Position + startPos = MainFrame.Position + + input.Changed:Connect(function() + if input.UserInputState == Enum.UserInputState.End then + dragging = false + end + end) + end +end) + +Header.InputChanged:Connect(function(input) + if input.UserInputType == Enum.UserInputType.MouseMovement then + dragInput = input + end +end) + +UserInputService.InputChanged:Connect(function(input) + if input == dragInput and dragging then + update(input) + end +end) + +-- Close button functionality +CloseButton.MouseButton1Click:Connect(function() + IYGui:Destroy() + getgenv().IY_LOADED = false +end) + +-- Minimize functionality +MinimizeButton.MouseButton1Click:Connect(function() + if isMinimized then + -- Restore + MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + else + -- Minimize + MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end +end) + +-- Command input functionality +CommandInput.FocusLost:Connect(function(enterPressed) + if enterPressed then + local command = CommandInput.Text + if command ~= "" then + -- Here you would execute the command + print("Executing command:", command) + CommandInput.Text = "" + end + end +end) + +-- Quick action button functionality +FlyButton.MouseButton1Click:Connect(function() + CommandInput.Text = "fly" + CommandInput:CaptureFocus() +end) + +NoclipButton.MouseButton1Click:Connect(function() + CommandInput.Text = "noclip" + CommandInput:CaptureFocus() +end) + +ToolsButton.MouseButton1Click:Connect(function() + CommandInput.Text = "btools" + CommandInput:CaptureFocus() +end) + +SettingsButton.MouseButton1Click:Connect(function() + CommandInput.Text = "settings" + CommandInput:CaptureFocus() +end) + +-- Command button functionality +for _, cmdButton in pairs(CommandsFrame:GetChildren()) do + if cmdButton:IsA("TextButton") and cmdButton ~= CommandTemplate then + cmdButton.MouseButton1Click:Connect(function() + local cmdText = cmdButton.Text:match("^(.-)%-") or cmdButton.Text + CommandInput.Text = cmdText:gsub("^%s*(.-)%s*$", "%1") + CommandInput:CaptureFocus() + end) + + -- Hover effects + cmdButton.MouseEnter:Connect(function() + cmdButton.BackgroundColor3 = Color3.fromRGB(55, 55, 60) + end) + + cmdButton.MouseLeave:Connect(function() + cmdButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) + end) + end +end + +-- Auto-hide when not in use +local lastInteraction = tick() +local autoHideConnection + +local function resetAutoHide() + lastInteraction = tick() +end + +local function setupAutoHide() + -- Reset timer on any interaction + MainFrame.MouseEnter:Connect(resetAutoHide) + CommandInput.Focused:Connect(resetAutoHide) + + autoHideConnection = game:GetService("RunService").Heartbeat:Connect(function() + if tick() - lastInteraction > 10 and not CommandInput:IsFocused() and not isMinimized then + -- Auto-minimize + MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end + end) +end + +setupAutoHide() + +-- Keybind to open/close (F3) +UserInputService.InputBegan:Connect(function(input, processed) + if not processed and input.KeyCode == Enum.KeyCode.F3 then + if isMinimized then + MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + else + MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end + resetAutoHide() + end +end) + +-- Make sure GUI is visible when focused +CommandInput.Focused:Connect(function() + if isMinimized then + MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + end + resetAutoHide() +end) + +-- Notification system +local function showNotification(title, message, duration) + duration = duration or 3 + + local notification = Instance.new("Frame") + notification.Size = UDim2.new(0, 300, 0, 80) + notification.Position = UDim2.new(0.5, -150, 0, 10) + notification.BackgroundColor3 = Color3.fromRGB(30, 30, 35) + notification.BorderSizePixel = 0 + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 8) + corner.Parent = notification + + local stroke = Instance.new("UIStroke") + stroke.Color = Color3.fromRGB(20, 20, 25) + stroke.Thickness = 2 + stroke.Parent = notification + + local titleLabel = Instance.new("TextLabel") + titleLabel.Size = UDim2.new(1, -20, 0, 25) + titleLabel.Position = UDim2.new(0, 10, 0, 10) + titleLabel.BackgroundTransparency = 1 + titleLabel.Text = title + titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) + titleLabel.TextSize = 16 + titleLabel.Font = Enum.Font.GothamSemibold + titleLabel.TextXAlignment = Enum.TextXAlignment.Left + + local messageLabel = Instance.new("TextLabel") + messageLabel.Size = UDim2.new(1, -20, 1, -40) + messageLabel.Position = UDim2.new(0, 10, 0, 35) + messageLabel.BackgroundTransparency = 1 + messageLabel.Text = message + messageLabel.TextColor3 = Color3.fromRGB(200, 200, 200) + messageLabel.TextSize = 14 + messageLabel.Font = Enum.Font.Gotham + messageLabel.TextXAlignment = Enum.TextXAlignment.Left + messageLabel.TextYAlignment = Enum.TextYAlignment.Top + messageLabel.TextWrapped = true + + notification.Parent = IYGui + titleLabel.Parent = notification + messageLabel.Parent = notification + + -- Auto-remove after duration + delay(duration, function() + notification:TweenPosition(UDim2.new(0.5, -150, 0, -100), "Out", "Quad", 0.5, true) + wait(0.5) + notification:Destroy() + end) +end + +-- Show welcome notification +showNotification("Infinite Yield", "Modern UI Loaded! Press F3 to toggle visibility.") + +-- Return the GUI for external access +return IYGui From 2d6a1054b64c5e84923c52f36dbdecb33933eced Mon Sep 17 00:00:00 2001 From: Akisa Date: Fri, 28 Nov 2025 11:35:32 +0600 Subject: [PATCH 04/11] Update new.lua --- new.lua | 1156 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 823 insertions(+), 333 deletions(-) diff --git a/new.lua b/new.lua index 4e43a19..532503b 100644 --- a/new.lua +++ b/new.lua @@ -1,8 +1,8 @@ --- Redesigned Infinite Yield GUI --- Cleaner, more modern interface +-- Modern Infinite Yield FE +-- Fully functional with modern UI if IY_LOADED and not _G.IY_DEBUG == true then - return + return end pcall(function() getgenv().IY_LOADED = true end) @@ -12,142 +12,170 @@ local Players = game:GetService("Players") local COREGUI = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") +local RunService = game:GetService("RunService") +local Workspace = game:GetService("Workspace") +local Lighting = game:GetService("Lighting") +local HttpService = game:GetService("HttpService") --- Create main GUI container +-- Local Player +local LocalPlayer = Players.LocalPlayer +local Mouse = LocalPlayer:GetMouse() + +-- Main GUI local IYGui = Instance.new("ScreenGui") -IYGui.Name = "IY_ModernUI_" .. math.random(10000,99999) +IYGui.Name = "IY_Modern_" .. math.random(10000,99999) IYGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling IYGui.DisplayOrder = 10 --- Main Frame -local MainFrame = Instance.new("Frame") -MainFrame.Name = "MainFrame" -MainFrame.Size = UDim2.new(0, 350, 0, 400) -MainFrame.Position = UDim2.new(1, -360, 0.5, -200) -MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) -MainFrame.BorderSizePixel = 0 -MainFrame.ClipsDescendants = true +-- Modern Color Scheme +local Colors = { + Background = Color3.fromRGB(28, 28, 35), + Header = Color3.fromRGB(23, 23, 28), + Secondary = Color3.fromRGB(38, 38, 46), + Accent = Color3.fromRGB(0, 162, 255), + Success = Color3.fromRGB(76, 175, 80), + Warning = Color3.fromRGB(255, 152, 0), + Danger = Color3.fromRGB(244, 67, 54), + Text = Color3.fromRGB(240, 240, 240), + TextSecondary = Color3.fromRGB(180, 180, 180) +} + +-- Main Container +local MainContainer = Instance.new("Frame") +MainContainer.Name = "MainContainer" +MainContainer.Size = UDim2.new(0, 400, 0, 500) +MainContainer.Position = UDim2.new(1, -420, 0.5, -250) +MainContainer.BackgroundColor3 = Colors.Background +MainContainer.BorderSizePixel = 0 --- Modern rounded corners +-- Modern Effects local UICorner = Instance.new("UICorner") -UICorner.CornerRadius = UDim.new(0, 8) -UICorner.Parent = MainFrame +UICorner.CornerRadius = UDim.new(0, 12) +UICorner.Parent = MainContainer --- Drop shadow local UIStroke = Instance.new("UIStroke") -UIStroke.Color = Color3.fromRGB(20, 20, 25) +UIStroke.Color = Color3.fromRGB(50, 50, 60) UIStroke.Thickness = 2 -UIStroke.Parent = MainFrame +UIStroke.Parent = MainContainer + +-- Drop Shadow +local Shadow = Instance.new("ImageLabel") +Shadow.Name = "Shadow" +Shadow.Size = UDim2.new(1, 20, 1, 20) +Shadow.Position = UDim2.new(0, -10, 0, -10) +Shadow.BackgroundTransparency = 1 +Shadow.Image = "rbxassetid://5554236805" +Shadow.ImageColor3 = Color3.fromRGB(0, 0, 0) +Shadow.ImageTransparency = 0.8 +Shadow.ScaleType = Enum.ScaleType.Slice +Shadow.SliceCenter = Rect.new(23, 23, 277, 277) +Shadow.Parent = MainContainer -- Header local Header = Instance.new("Frame") Header.Name = "Header" -Header.Size = UDim2.new(1, 0, 0, 40) -Header.BackgroundColor3 = Color3.fromRGB(25, 25, 30) +Header.Size = UDim2.new(1, 0, 0, 50) +Header.BackgroundColor3 = Colors.Header Header.BorderSizePixel = 0 local HeaderCorner = Instance.new("UICorner") -HeaderCorner.CornerRadius = UDim.new(0, 8) +HeaderCorner.CornerRadius = UDim.new(0, 12) HeaderCorner.Parent = Header local Title = Instance.new("TextLabel") Title.Name = "Title" -Title.Size = UDim2.new(1, -80, 1, 0) -Title.Position = UDim2.new(0, 15, 0, 0) +Title.Size = UDim2.new(1, -100, 1, 0) +Title.Position = UDim2.new(0, 20, 0, 0) Title.BackgroundTransparency = 1 -Title.Text = "Infinite Yield FE v5.9.3" -Title.TextColor3 = Color3.fromRGB(255, 255, 255) -Title.TextSize = 16 -Title.Font = Enum.Font.GothamSemibold +Title.Text = "INFINITE YIELD" +Title.TextColor3 = Colors.Accent +Title.TextSize = 18 +Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left --- Close button -local CloseButton = Instance.new("TextButton") -CloseButton.Name = "CloseButton" -CloseButton.Size = UDim2.new(0, 30, 0, 30) -CloseButton.Position = UDim2.new(1, -35, 0, 5) -CloseButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) -CloseButton.BorderSizePixel = 0 -CloseButton.Text = "×" -CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) -CloseButton.TextSize = 20 -CloseButton.Font = Enum.Font.GothamBold - -local CloseCorner = Instance.new("UICorner") -CloseCorner.CornerRadius = UDim.new(0, 6) -CloseCorner.Parent = CloseButton +local Version = Instance.new("TextLabel") +Version.Name = "Version" +Version.Size = UDim2.new(0, 60, 0, 20) +Version.Position = UDim2.new(0, 20, 1, -25) +Version.BackgroundTransparency = 1 +Version.Text = "v5.9.3" +Version.TextColor3 = Colors.TextSecondary +Version.TextSize = 12 +Version.Font = Enum.Font.Gotham +Version.TextXAlignment = Enum.TextXAlignment.Left + +-- Control Buttons +local ControlButtons = Instance.new("Frame") +ControlButtons.Name = "ControlButtons" +ControlButtons.Size = UDim2.new(0, 80, 1, 0) +ControlButtons.Position = UDim2.new(1, -85, 0, 0) +ControlButtons.BackgroundTransparency = 1 + +local function CreateControlButton(name, text, color) + local button = Instance.new("TextButton") + button.Name = name + button.Size = UDim2.new(0, 30, 0, 30) + button.BackgroundColor3 = color or Colors.Secondary + button.BorderSizePixel = 0 + button.Text = text + button.TextColor3 = Colors.Text + button.TextSize = 16 + button.Font = Enum.Font.GothamBold + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 6) + corner.Parent = button + + return button +end --- Minimize button -local MinimizeButton = Instance.new("TextButton") -MinimizeButton.Name = "MinimizeButton" -MinimizeButton.Size = UDim2.new(0, 30, 0, 30) -MinimizeButton.Position = UDim2.new(1, -70, 0, 5) -MinimizeButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) -MinimizeButton.BorderSizePixel = 0 -MinimizeButton.Text = "−" -MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) -MinimizeButton.TextSize = 18 -MinimizeButton.Font = Enum.Font.GothamBold - -local MinimizeCorner = Instance.new("UICorner") -MinimizeCorner.CornerRadius = UDim.new(0, 6) -MinimizeCorner.Parent = MinimizeButton +local MinimizeBtn = CreateControlButton("MinimizeBtn", "−") +MinimizeBtn.Position = UDim2.new(0, 5, 0, 10) --- Command input -local CommandContainer = Instance.new("Frame") -CommandContainer.Name = "CommandContainer" -CommandContainer.Size = UDim2.new(1, -20, 0, 45) -CommandContainer.Position = UDim2.new(0, 10, 0, 50) -CommandContainer.BackgroundColor3 = Color3.fromRGB(40, 40, 45) -CommandContainer.BorderSizePixel = 0 +local CloseBtn = CreateControlButton("CloseBtn", "×", Colors.Danger) +CloseBtn.Position = UDim2.new(1, -35, 0, 10) + +-- Command Input Section +local CommandSection = Instance.new("Frame") +CommandSection.Name = "CommandSection" +CommandSection.Size = UDim2.new(1, -20, 0, 60) +CommandSection.Position = UDim2.new(0, 10, 0, 60) +CommandSection.BackgroundColor3 = Colors.Secondary +CommandSection.BorderSizePixel = 0 -local CommandCorner = Instance.new("UICorner") -CommandCorner.CornerRadius = UDim.new(0, 6) -CommandCorner.Parent = CommandContainer +local SectionCorner = Instance.new("UICorner") +SectionCorner.CornerRadius = UDim.new(0, 8) +SectionCorner.Parent = CommandSection local PrefixLabel = Instance.new("TextLabel") PrefixLabel.Name = "PrefixLabel" PrefixLabel.Size = UDim2.new(0, 30, 1, 0) PrefixLabel.BackgroundTransparency = 1 PrefixLabel.Text = ";" -PrefixLabel.TextColor3 = Color3.fromRGB(200, 200, 200) +PrefixLabel.TextColor3 = Colors.Accent PrefixLabel.TextSize = 16 -PrefixLabel.Font = Enum.Font.GothamMedium +PrefixLabel.Font = Enum.Font.GothamBold +PrefixLabel.TextXAlignment = Enum.TextXAlignment.Center local CommandInput = Instance.new("TextBox") CommandInput.Name = "CommandInput" -CommandInput.Size = UDim2.new(1, -40, 1, 0) -CommandInput.Position = UDim2.new(0, 35, 0, 0) +CommandInput.Size = UDim2.new(1, -40, 1, -10) +CommandInput.Position = UDim2.new(0, 35, 0, 5) CommandInput.BackgroundTransparency = 1 CommandInput.Text = "" -CommandInput.PlaceholderText = "Enter command..." -CommandInput.TextColor3 = Color3.fromRGB(255, 255, 255) +CommandInput.PlaceholderText = "Type command here..." +CommandInput.PlaceholderColor3 = Colors.TextSecondary +CommandInput.TextColor3 = Colors.Text CommandInput.TextSize = 14 CommandInput.TextXAlignment = Enum.TextXAlignment.Left CommandInput.Font = Enum.Font.Gotham CommandInput.ClearTextOnFocus = false --- Command list -local CommandsFrame = Instance.new("ScrollingFrame") -CommandsFrame.Name = "CommandsFrame" -CommandsFrame.Size = UDim2.new(1, -20, 1, -120) -CommandsFrame.Position = UDim2.new(0, 10, 0, 105) -CommandsFrame.BackgroundTransparency = 1 -CommandsFrame.BorderSizePixel = 0 -CommandsFrame.ScrollBarImageColor3 = Color3.fromRGB(100, 100, 110) -CommandsFrame.ScrollBarThickness = 4 -CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) - -local CommandsLayout = Instance.new("UIListLayout") -CommandsLayout.Parent = CommandsFrame -CommandsLayout.SortOrder = Enum.SortOrder.LayoutOrder -CommandsLayout.Padding = UDim.new(0, 5) - --- Quick actions bar +-- Quick Actions local QuickActions = Instance.new("Frame") QuickActions.Name = "QuickActions" QuickActions.Size = UDim2.new(1, -20, 0, 40) -QuickActions.Position = UDim2.new(0, 10, 1, -50) +QuickActions.Position = UDim2.new(0, 10, 0, 130) QuickActions.BackgroundTransparency = 1 local QuickLayout = Instance.new("UIListLayout") @@ -155,324 +183,786 @@ QuickLayout.Parent = QuickActions QuickLayout.FillDirection = Enum.FillDirection.Horizontal QuickLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center QuickLayout.SortOrder = Enum.SortOrder.LayoutOrder -QuickLayout.Padding = UDim.new(0, 10) - --- Quick action buttons -local function CreateQuickButton(text, color) - local button = Instance.new("TextButton") - button.Size = UDim2.new(0, 80, 0, 30) - button.BackgroundColor3 = color or Color3.fromRGB(50, 120, 220) - button.BorderSizePixel = 0 - button.Text = text - button.TextColor3 = Color3.fromRGB(255, 255, 255) - button.TextSize = 12 - button.Font = Enum.Font.GothamSemibold - - local corner = Instance.new("UICorner") - corner.CornerRadius = UDim.new(0, 6) - corner.Parent = button - - return button +QuickLayout.Padding = UDim.new(0, 8) + +local function CreateQuickAction(text, color) + local button = Instance.new("TextButton") + button.Size = UDim2.new(0, 70, 0, 32) + button.BackgroundColor3 = color + button.BorderSizePixel = 0 + button.Text = text + button.TextColor3 = Colors.Text + button.TextSize = 12 + button.Font = Enum.Font.GothamSemibold + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 6) + corner.Parent = button + + local stroke = Instance.new("UIStroke") + stroke.Color = Color3.fromRGB(60, 60, 70) + stroke.Thickness = 1 + stroke.Parent = button + + return button end --- Command template +-- Commands List +local CommandsFrame = Instance.new("ScrollingFrame") +CommandsFrame.Name = "CommandsFrame" +CommandsFrame.Size = UDim2.new(1, -20, 1, -210) +CommandsFrame.Position = UDim2.new(0, 10, 0, 180) +CommandsFrame.BackgroundTransparency = 1 +CommandsFrame.BorderSizePixel = 0 +CommandsFrame.ScrollBarImageColor3 = Colors.Secondary +CommandsFrame.ScrollBarThickness = 4 +CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) +CommandsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y + +local CommandsLayout = Instance.new("UIListLayout") +CommandsLayout.Parent = CommandsFrame +CommandsLayout.SortOrder = Enum.SortOrder.LayoutOrder +CommandsLayout.Padding = UDim.new(0, 6) + +-- Command Template local CommandTemplate = Instance.new("TextButton") CommandTemplate.Name = "CommandTemplate" -CommandTemplate.Size = UDim2.new(1, 0, 0, 30) -CommandTemplate.BackgroundColor3 = Color3.fromRGB(45, 45, 50) +CommandTemplate.Size = UDim2.new(1, 0, 0, 36) +CommandTemplate.BackgroundColor3 = Colors.Secondary CommandTemplate.BorderSizePixel = 0 -CommandTemplate.Text = "Command Name" -CommandTemplate.TextColor3 = Color3.fromRGB(255, 255, 255) +CommandTemplate.Text = "command - description" +CommandTemplate.TextColor3 = Colors.Text CommandTemplate.TextSize = 13 CommandTemplate.Font = Enum.Font.Gotham CommandTemplate.TextXAlignment = Enum.TextXAlignment.Left CommandTemplate.Visible = false local TemplateCorner = Instance.new("UICorner") -TemplateCorner.CornerRadius = UDim.new(0, 4) +TemplateCorner.CornerRadius = UDim.new(0, 6) TemplateCorner.Parent = CommandTemplate local TemplatePadding = Instance.new("UIPadding") TemplatePadding.Parent = CommandTemplate -TemplatePadding.PaddingLeft = UDim.new(0, 10) +TemplatePadding.PaddingLeft = UDim.new(0, 12) +TemplatePadding.PaddingRight = UDim.new(0, 12) + +-- Status Bar +local StatusBar = Instance.new("Frame") +StatusBar.Name = "StatusBar" +StatusBar.Size = UDim2.new(1, -20, 0, 25) +StatusBar.Position = UDim2.new(0, 10, 1, -30) +StatusBar.BackgroundColor3 = Colors.Header +StatusBar.BorderSizePixel = 0 + +local StatusCorner = Instance.new("UICorner") +StatusCorner.CornerRadius = UDim.new(0, 6) +StatusCorner.Parent = StatusBar + +local StatusLabel = Instance.new("TextLabel") +StatusLabel.Name = "StatusLabel" +StatusLabel.Size = UDim2.new(1, -10, 1, 0) +StatusLabel.Position = UDim2.new(0, 10, 0, 0) +StatusLabel.BackgroundTransparency = 1 +StatusLabel.Text = "Ready" +StatusLabel.TextColor3 = Colors.Success +StatusLabel.TextSize = 12 +StatusLabel.Font = Enum.Font.Gotham +StatusLabel.TextXAlignment = Enum.TextXAlignment.Left -- Parent everything IYGui.Parent = COREGUI -MainFrame.Parent = IYGui -Header.Parent = MainFrame +MainContainer.Parent = IYGui +Header.Parent = MainContainer Title.Parent = Header -CloseButton.Parent = Header -MinimizeButton.Parent = Header -CommandContainer.Parent = MainFrame -PrefixLabel.Parent = CommandContainer -CommandInput.Parent = CommandContainer -CommandsFrame.Parent = MainFrame -QuickActions.Parent = MainFrame -CommandTemplate.Parent = CommandsFrame - --- Add quick action buttons -local FlyButton = CreateQuickButton("Fly", Color3.fromRGB(220, 80, 60)) -FlyButton.Parent = QuickActions - -local NoclipButton = CreateQuickButton("Noclip", Color3.fromRGB(80, 180, 80)) -NoclipButton.Parent = QuickActions - -local ToolsButton = CreateQuickButton("Tools", Color3.fromRGB(60, 140, 220)) -ToolsButton.Parent = QuickActions - -local SettingsButton = CreateQuickButton("Settings", Color3.fromRGB(150, 100, 220)) -SettingsButton.Parent = QuickActions - --- Sample commands for demonstration -local sampleCommands = { - "fly - Toggle flight mode", - "noclip - Toggle noclip", - "btools - Get building tools", - "esp - Toggle player ESP", - "goto [player] - Teleport to player", - "bring [player] - Bring player to you", - "kill [player] - Kill player", - "refresh - Reset character", - "invis - Become invisible", - "speed [number] - Set walk speed", - "jumppower [number] - Set jump power", - "gravity [number] - Set gravity", - "time [number] - Set time of day", - "freeze [player] - Freeze player", - "thaw [player] - Unfreeze player", - "annoy [player] - Annoy player", - "unannoy - Stop annoying", - "loopgoto [player] - Loop teleport to player", - "unloopgoto - Stop loop teleport" +Version.Parent = Header +ControlButtons.Parent = Header +MinimizeBtn.Parent = ControlButtons +CloseBtn.Parent = ControlButtons +CommandSection.Parent = MainContainer +PrefixLabel.Parent = CommandSection +CommandInput.Parent = CommandSection +QuickActions.Parent = MainContainer +CommandsFrame.Parent = MainContainer +StatusBar.Parent = MainContainer +StatusLabel.Parent = StatusBar + +-- Create Quick Action Buttons +local FlyBtn = CreateQuickAction("FLY", Colors.Accent) +FlyBtn.LayoutOrder = 1 +FlyBtn.Parent = QuickActions + +local NoclipBtn = CreateQuickAction("NOCLIP", Colors.Warning) +NoclipBtn.LayoutOrder = 2 +NoclipBtn.Parent = QuickActions + +local ToolsBtn = CreateQuickAction("TOOLS", Colors.Success) +ToolsBtn.LayoutOrder = 3 +ToolsBtn.Parent = QuickActions + +local EspBtn = CreateQuickAction("ESP", Colors.Danger) +EspBtn.LayoutOrder = 4 +EspBtn.Parent = QuickActions + +-- Command System +local Commands = {} +local Aliases = {} +local PlayerStates = { + Flying = false, + Noclipping = false, + ESP = false, + Speed = 16, + JumpPower = 50 +} + +-- Utility Functions +function GetPlayer(name) + local players = {} + name = name:lower() + + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer then + if player.Name:lower():find(name) or player.DisplayName:lower():find(name) then + table.insert(players, player) + end + end + end + return players +end + +function Notify(message, color) + color = color or Colors.Accent + StatusLabel.Text = message + StatusLabel.TextColor3 = color + + delay(3, function() + if StatusLabel.Text == message then + StatusLabel.Text = "Ready" + StatusLabel.TextColor3 = Colors.Success + end + end) +end + +function CreateNotification(title, message, duration) + duration = duration or 5 + + local notification = Instance.new("Frame") + notification.Size = UDim2.new(0, 320, 0, 80) + notification.Position = UDim2.new(0, 20, 0, 20) + notification.BackgroundColor3 = Colors.Background + notification.BorderSizePixel = 0 + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 8) + corner.Parent = notification + + local stroke = Instance.new("UIStroke") + stroke.Color = Colors.Accent + stroke.Thickness = 2 + stroke.Parent = notification + + local titleLabel = Instance.new("TextLabel") + titleLabel.Size = UDim2.new(1, -20, 0, 25) + titleLabel.Position = UDim2.new(0, 10, 0, 10) + titleLabel.BackgroundTransparency = 1 + titleLabel.Text = title + titleLabel.TextColor3 = Colors.Accent + titleLabel.TextSize = 16 + titleLabel.Font = Enum.Font.GothamBold + titleLabel.TextXAlignment = Enum.TextXAlignment.Left + + local messageLabel = Instance.new("TextLabel") + messageLabel.Size = UDim2.new(1, -20, 1, -40) + messageLabel.Position = UDim2.new(0, 10, 0, 35) + messageLabel.BackgroundTransparency = 1 + messageLabel.Text = message + messageLabel.TextColor3 = Colors.Text + messageLabel.TextSize = 14 + messageLabel.Font = Enum.Font.Gotham + messageLabel.TextXAlignment = Enum.TextXAlignment.Left + messageLabel.TextYAlignment = Enum.TextYAlignment.Top + messageLabel.TextWrapped = true + + notification.Parent = IYGui + titleLabel.Parent = notification + messageLabel.Parent = notification + + -- Auto-remove + delay(duration, function() + notification:TweenPosition(UDim2.new(0, 20, 0, -100), "Out", "Quad", 0.5, true) + wait(0.5) + notification:Destroy() + end) +end + +-- Command Definitions +Commands["fly"] = { + Description = "Toggle flight mode", + Function = function(args) + PlayerStates.Flying = not PlayerStates.Flying + local character = LocalPlayer.Character + if character then + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + if PlayerStates.Flying then + -- Flight implementation + local bodyVelocity = Instance.new("BodyVelocity") + bodyVelocity.Velocity = Vector3.new(0, 0, 0) + bodyVelocity.MaxForce = Vector3.new(0, 0, 0) + bodyVelocity.Parent = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + Notify("Flight: ON", Colors.Success) + else + -- Remove flight + for _, v in pairs(character:GetChildren()) do + if v:IsA("BodyVelocity") then + v:Destroy() + end + end + Notify("Flight: OFF", Colors.Danger) + end + end + end + end +} + +Commands["noclip"] = { + Description = "Toggle noclip mode", + Function = function(args) + PlayerStates.Noclipping = not PlayerStates.Noclipping + local character = LocalPlayer.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.CanCollide = not PlayerStates.Noclipping + end + end + Notify("Noclip: " .. (PlayerStates.Noclipping and "ON" or "OFF"), + PlayerStates.Noclipping and Colors.Success or Colors.Danger) + end + end +} + +Commands["btools"] = { + Description = "Give yourself building tools", + Function = function(args) + local tools = {"Hammer", "Clone", "Grab"} + for _, toolName in pairs(tools) do + local tool = Instance.new("Tool") + tool.Name = toolName + tool.RequiresHandle = false + tool.Parent = LocalPlayer.Backpack + end + Notify("Building tools given", Colors.Success) + end +} + +Commands["esp"] = { + Description = "Toggle ESP on players", + Function = function(args) + PlayerStates.ESP = not PlayerStates.ESP + + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local highlight = player.Character:FindFirstChild("IY_Highlight") + if PlayerStates.ESP then + if not highlight then + highlight = Instance.new("Highlight") + highlight.Name = "IY_Highlight" + highlight.FillColor = Color3.fromRGB(255, 0, 0) + highlight.OutlineColor = Color3.fromRGB(255, 255, 255) + highlight.Parent = player.Character + end + else + if highlight then + highlight:Destroy() + end + end + end + end + Notify("ESP: " .. (PlayerStates.ESP and "ON" or "OFF"), + PlayerStates.ESP and Colors.Success or Colors.Danger) + end +} + +Commands["goto"] = { + Description = "Teleport to player", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers > 0 then + local target = targetPlayers[1] + local character = LocalPlayer.Character + local targetChar = target.Character + + if character and targetChar then + local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + local targetRoot = targetChar:FindFirstChild("HumanoidRootPart") or targetChar:FindFirstChild("Torso") + + if humanoidRootPart and targetRoot then + humanoidRootPart.CFrame = targetRoot.CFrame + Notify("Teleported to " .. target.Name, Colors.Success) + end + end + else + Notify("Player not found", Colors.Danger) + end + else + Notify("Usage: goto [player]", Colors.Warning) + end + end +} + +Commands["bring"] = { + Description = "Bring player to you", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers > 0 then + local target = targetPlayers[1] + local character = LocalPlayer.Character + local targetChar = target.Character + + if character and targetChar then + local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + local targetRoot = targetChar:FindFirstChild("HumanoidRootPart") or targetChar:FindFirstChild("Torso") + + if humanoidRootPart and targetRoot then + targetRoot.CFrame = humanoidRootPart.CFrame + Notify("Brought " .. target.Name, Colors.Success) + end + end + else + Notify("Player not found", Colors.Danger) + end + else + Notify("Usage: bring [player]", Colors.Warning) + end + end +} + +Commands["speed"] = { + Description = "Set walk speed", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local speed = tonumber(args[1]) + PlayerStates.Speed = speed + local character = LocalPlayer.Character + if character then + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.WalkSpeed = speed + Notify("Speed set to " .. speed, Colors.Success) + end + end + else + Notify("Usage: speed [number]", Colors.Warning) + end + end +} + +Commands["jumppower"] = { + Description = "Set jump power", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local power = tonumber(args[1]) + PlayerStates.JumpPower = power + local character = LocalPlayer.Character + if character then + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.JumpPower = power + Notify("Jump power set to " .. power, Colors.Success) + end + end + else + Notify("Usage: jumppower [number]", Colors.Warning) + end + end } --- Populate commands list -for i, cmd in ipairs(sampleCommands) do - local cmdButton = CommandTemplate:Clone() - cmdButton.Name = "Cmd_" .. i - cmdButton.Text = cmd - cmdButton.Visible = true - cmdButton.LayoutOrder = i - cmdButton.Parent = CommandsFrame - - -- Update canvas size - CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, CommandsLayout.AbsoluteContentSize.Y) +Commands["refresh"] = { + Description = "Reset your character", + Function = function(args) + local character = LocalPlayer.Character + if character then + character:BreakJoints() + Notify("Character refreshed", Colors.Success) + end + end +} + +Commands["invis"] = { + Description = "Become invisible", + Function = function(args) + local character = LocalPlayer.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = 1 + elseif part:IsA("Decal") then + part.Transparency = 1 + end + end + Notify("Invisible mode activated", Colors.Success) + end + end +} + +Commands["visible"] = { + Description = "Become visible again", + Function = function(args) + local character = LocalPlayer.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = 0 + elseif part:IsA("Decal") then + part.Transparency = 0 + end + end + Notify("Visible again", Colors.Success) + end + end +} + +Commands["time"] = { + Description = "Set time of day", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local time = tonumber(args[1]) + Lighting.ClockTime = time + Notify("Time set to " .. time, Colors.Success) + else + Notify("Usage: time [number]", Colors.Warning) + end + end +} + +Commands["freeze"] = { + Description = "Freeze a player", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + for _, target in pairs(targetPlayers) do + local character = target.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Anchored = true + end + end + Notify("Froze " .. target.Name, Colors.Success) + end + end + else + Notify("Usage: freeze [player]", Colors.Warning) + end + end +} + +Commands["thaw"] = { + Description = "Unfreeze a player", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + for _, target in pairs(targetPlayers) do + local character = target.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Anchored = false + end + end + Notify("Unfroze " .. target.Name, Colors.Success) + end + end + else + Notify("Usage: thaw [player]", Colors.Warning) + end + end +} + +Commands["kick"] = { + Description = "Kick a player", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + for _, target in pairs(targetPlayers) do + target:Kick("Kicked by Infinite Yield") + Notify("Kicked " .. target.Name, Colors.Success) + end + else + Notify("Usage: kick [player]", Colors.Warning) + end + end +} + +Commands["gravity"] = { + Description = "Set workspace gravity", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local gravity = tonumber(args[1]) + Workspace.Gravity = gravity + Notify("Gravity set to " .. gravity, Colors.Success) + else + Notify("Usage: gravity [number]", Colors.Warning) + end + end +} + +Commands["cmds"] = { + Description = "Show all commands", + Function = function(args) + CreateNotification("Available Commands", "Type any command in the input box. Use 'help [command]' for more info.", 10) + Notify("Commands list shown", Colors.Success) + end +} + +Commands["help"] = { + Description = "Get help for a command", + Function = function(args) + if args and args[1] then + local cmd = args[1]:lower() + if Commands[cmd] then + CreateNotification("Help: " .. cmd, Commands[cmd].Description, 5) + else + Notify("Command not found: " .. cmd, Colors.Danger) + end + else + Notify("Usage: help [command]", Colors.Warning) + end + end +} + +-- Populate Commands List +local commandList = { + "fly - Toggle flight mode", + "noclip - Toggle noclip mode", + "btools - Get building tools", + "esp - Toggle player ESP", + "goto [player] - Teleport to player", + "bring [player] - Bring player to you", + "speed [num] - Set walk speed", + "jumppower [num] - Set jump power", + "refresh - Reset character", + "invis - Become invisible", + "visible - Become visible again", + "time [num] - Set time of day", + "freeze [player] - Freeze player", + "thaw [player] - Unfreeze player", + "kick [player] - Kick player", + "gravity [num] - Set gravity", + "cmds - Show all commands", + "help [cmd] - Get command help" +} + +for i, cmdText in ipairs(commandList) do + local cmdButton = CommandTemplate:Clone() + cmdButton.Name = "Cmd_" .. i + cmdButton.Text = cmdText + cmdButton.Visible = true + cmdButton.LayoutOrder = i + cmdButton.Parent = CommandsFrame + + -- Hover effects + cmdButton.MouseEnter:Connect(function() + cmdButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55) + end) + + cmdButton.MouseLeave:Connect(function() + cmdButton.BackgroundColor3 = Colors.Secondary + end) end --- GUI functionality +-- Command Execution +function ExecuteCommand(input) + local args = {} + for arg in input:gmatch("%S+") do + table.insert(args, arg) + end + + if #args == 0 then return end + + local commandName = args[1]:lower() + table.remove(args, 1) + + if Commands[commandName] then + pcall(function() + Commands[commandName].Function(args) + end) + else + Notify("Unknown command: " .. commandName, Colors.Danger) + end +end + +-- GUI Functionality local isMinimized = false -local originalSize = MainFrame.Size -local minimizedSize = UDim2.new(0, 350, 0, 40) +local originalSize = MainContainer.Size +local minimizedSize = UDim2.new(0, 400, 0, 50) -- Drag functionality local dragging = false local dragInput, dragStart, startPos local function update(input) - local delta = input.Position - dragStart - MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) + local delta = input.Position - dragStart + MainContainer.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end Header.InputBegan:Connect(function(input) - if input.UserInputType == Enum.UserInputType.MouseButton1 then - dragging = true - dragStart = input.Position - startPos = MainFrame.Position - - input.Changed:Connect(function() - if input.UserInputState == Enum.UserInputState.End then - dragging = false - end - end) - end + if input.UserInputType == Enum.UserInputType.MouseButton1 then + dragging = true + dragStart = input.Position + startPos = MainContainer.Position + + input.Changed:Connect(function() + if input.UserInputState == Enum.UserInputState.End then + dragging = false + end + end) + end end) Header.InputChanged:Connect(function(input) - if input.UserInputType == Enum.UserInputType.MouseMovement then - dragInput = input - end + if input.UserInputType == Enum.UserInputType.MouseMovement then + dragInput = input + end end) UserInputService.InputChanged:Connect(function(input) - if input == dragInput and dragging then - update(input) - end + if input == dragInput and dragging then + update(input) + end end) --- Close button functionality -CloseButton.MouseButton1Click:Connect(function() - IYGui:Destroy() - getgenv().IY_LOADED = false +-- Close button +CloseBtn.MouseButton1Click:Connect(function() + IYGui:Destroy() + getgenv().IY_LOADED = false end) --- Minimize functionality -MinimizeButton.MouseButton1Click:Connect(function() - if isMinimized then - -- Restore - MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) - isMinimized = false - else - -- Minimize - MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) - isMinimized = true - end +-- Minimize button +MinimizeBtn.MouseButton1Click:Connect(function() + if isMinimized then + MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + else + MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end end) --- Command input functionality +-- Command input CommandInput.FocusLost:Connect(function(enterPressed) - if enterPressed then - local command = CommandInput.Text - if command ~= "" then - -- Here you would execute the command - print("Executing command:", command) - CommandInput.Text = "" - end - end + if enterPressed then + local command = CommandInput.Text + if command ~= "" then + ExecuteCommand(command) + CommandInput.Text = "" + end + end end) --- Quick action button functionality -FlyButton.MouseButton1Click:Connect(function() - CommandInput.Text = "fly" - CommandInput:CaptureFocus() +-- Quick action buttons +FlyBtn.MouseButton1Click:Connect(function() + ExecuteCommand("fly") end) -NoclipButton.MouseButton1Click:Connect(function() - CommandInput.Text = "noclip" - CommandInput:CaptureFocus() +NoclipBtn.MouseButton1Click:Connect(function() + ExecuteCommand("noclip") end) -ToolsButton.MouseButton1Click:Connect(function() - CommandInput.Text = "btools" - CommandInput:CaptureFocus() +ToolsBtn.MouseButton1Click:Connect(function() + ExecuteCommand("btools") end) -SettingsButton.MouseButton1Click:Connect(function() - CommandInput.Text = "settings" - CommandInput:CaptureFocus() +EspBtn.MouseButton1Click:Connect(function() + ExecuteCommand("esp") end) --- Command button functionality +-- Command list buttons for _, cmdButton in pairs(CommandsFrame:GetChildren()) do - if cmdButton:IsA("TextButton") and cmdButton ~= CommandTemplate then - cmdButton.MouseButton1Click:Connect(function() - local cmdText = cmdButton.Text:match("^(.-)%-") or cmdButton.Text - CommandInput.Text = cmdText:gsub("^%s*(.-)%s*$", "%1") - CommandInput:CaptureFocus() - end) - - -- Hover effects - cmdButton.MouseEnter:Connect(function() - cmdButton.BackgroundColor3 = Color3.fromRGB(55, 55, 60) - end) - - cmdButton.MouseLeave:Connect(function() - cmdButton.BackgroundColor3 = Color3.fromRGB(45, 45, 50) - end) - end + if cmdButton:IsA("TextButton") and cmdButton ~= CommandTemplate then + cmdButton.MouseButton1Click:Connect(function() + local cmdText = cmdButton.Text:match("^(.-)%-") or cmdButton.Text + CommandInput.Text = cmdText:gsub("^%s*(.-)%s*$", "%1") + CommandInput:CaptureFocus() + end) + end end --- Auto-hide when not in use +-- Auto-hide functionality local lastInteraction = tick() local autoHideConnection local function resetAutoHide() - lastInteraction = tick() + lastInteraction = tick() end local function setupAutoHide() - -- Reset timer on any interaction - MainFrame.MouseEnter:Connect(resetAutoHide) - CommandInput.Focused:Connect(resetAutoHide) - - autoHideConnection = game:GetService("RunService").Heartbeat:Connect(function() - if tick() - lastInteraction > 10 and not CommandInput:IsFocused() and not isMinimized then - -- Auto-minimize - MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) - isMinimized = true - end - end) + MainContainer.MouseEnter:Connect(resetAutoHide) + CommandInput.Focused:Connect(resetAutoHide) + + autoHideConnection = RunService.Heartbeat:Connect(function() + if tick() - lastInteraction > 15 and not CommandInput:IsFocused() and not isMinimized then + MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end + end) end setupAutoHide() --- Keybind to open/close (F3) +-- Keybinds UserInputService.InputBegan:Connect(function(input, processed) - if not processed and input.KeyCode == Enum.KeyCode.F3 then - if isMinimized then - MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) - isMinimized = false - else - MainFrame:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) - isMinimized = true - end - resetAutoHide() - end + if not processed then + if input.KeyCode == Enum.KeyCode.RightShift then + if isMinimized then + MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + else + MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + isMinimized = true + end + resetAutoHide() + elseif input.KeyCode == Enum.KeyCode.Semicolon then + CommandInput:CaptureFocus() + if isMinimized then + MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + end + resetAutoHide() + end + end end) -- Make sure GUI is visible when focused CommandInput.Focused:Connect(function() - if isMinimized then - MainFrame:TweenSize(originalSize, "Out", "Quad", 0.3, true) - isMinimized = false - end - resetAutoHide() + if isMinimized then + MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + isMinimized = false + end + resetAutoHide() end) --- Notification system -local function showNotification(title, message, duration) - duration = duration or 3 - - local notification = Instance.new("Frame") - notification.Size = UDim2.new(0, 300, 0, 80) - notification.Position = UDim2.new(0.5, -150, 0, 10) - notification.BackgroundColor3 = Color3.fromRGB(30, 30, 35) - notification.BorderSizePixel = 0 - - local corner = Instance.new("UICorner") - corner.CornerRadius = UDim.new(0, 8) - corner.Parent = notification - - local stroke = Instance.new("UIStroke") - stroke.Color = Color3.fromRGB(20, 20, 25) - stroke.Thickness = 2 - stroke.Parent = notification - - local titleLabel = Instance.new("TextLabel") - titleLabel.Size = UDim2.new(1, -20, 0, 25) - titleLabel.Position = UDim2.new(0, 10, 0, 10) - titleLabel.BackgroundTransparency = 1 - titleLabel.Text = title - titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) - titleLabel.TextSize = 16 - titleLabel.Font = Enum.Font.GothamSemibold - titleLabel.TextXAlignment = Enum.TextXAlignment.Left - - local messageLabel = Instance.new("TextLabel") - messageLabel.Size = UDim2.new(1, -20, 1, -40) - messageLabel.Position = UDim2.new(0, 10, 0, 35) - messageLabel.BackgroundTransparency = 1 - messageLabel.Text = message - messageLabel.TextColor3 = Color3.fromRGB(200, 200, 200) - messageLabel.TextSize = 14 - messageLabel.Font = Enum.Font.Gotham - messageLabel.TextXAlignment = Enum.TextXAlignment.Left - messageLabel.TextYAlignment = Enum.TextYAlignment.Top - messageLabel.TextWrapped = true - - notification.Parent = IYGui - titleLabel.Parent = notification - messageLabel.Parent = notification - - -- Auto-remove after duration - delay(duration, function() - notification:TweenPosition(UDim2.new(0.5, -150, 0, -100), "Out", "Quad", 0.5, true) - wait(0.5) - notification:Destroy() - end) -end +-- Noclip loop +RunService.Stepped:Connect(function() + if PlayerStates.Noclipping then + local character = LocalPlayer.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.CanCollide = false + end + end + end + end +end) + +-- Welcome message +delay(1, function() + CreateNotification("Infinite Yield FE", "Modern UI Loaded!\nUse ; to open command bar\nRightShift to toggle GUI", 5) +end) --- Show welcome notification -showNotification("Infinite Yield", "Modern UI Loaded! Press F3 to toggle visibility.") +Notify("Ready to use", Colors.Success) --- Return the GUI for external access return IYGui From f917f8c6113d9dc90159b6fbe9a767bca25a9d6e Mon Sep 17 00:00:00 2001 From: Akisa Date: Sat, 29 Nov 2025 20:00:52 +0400 Subject: [PATCH 05/11] Rename Infinite Yield to Myzka Hub in README --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c445409..4dba9ab 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ -# Infinite Yield FE -
- Infinite Yield Logo -
-Infinite Yield FE is a powerful FE admin script for Roblox that brings a host of exciting features for developers and players. +# Myzka Hub +Myzka is a powerful FE admin script for Roblox that brings a host of exciting features for developers and players. ## Loadstring Loadstring to execute Infinite Yield! ```lua -loadstring(game:HttpGet('https://raw.githubusercontent.com/DarkNetworks/Infinite-Yield/main/latest.lua'))() +loadstring(game:HttpGet('https://raw.githubusercontent.com/NettyCrasher/Infinite-Yield/main/new.lua'))() ``` ## Features From a89ea8c2b66d1eb70d3453174f9695ea23b908eb Mon Sep 17 00:00:00 2001 From: Akisa Date: Sat, 29 Nov 2025 20:04:07 +0400 Subject: [PATCH 06/11] Add MyzkaHub comment to new.lua --- new.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/new.lua b/new.lua index 532503b..d66b7d9 100644 --- a/new.lua +++ b/new.lua @@ -1,5 +1,4 @@ --- Modern Infinite Yield FE --- Fully functional with modern UI +-- MyzkaHub if IY_LOADED and not _G.IY_DEBUG == true then return From c4f7f00f1f0d6f1f6f81553e715cabdcbfb6173d Mon Sep 17 00:00:00 2001 From: Akisa Date: Sun, 30 Nov 2025 00:42:29 +0600 Subject: [PATCH 07/11] Gui Update --- new.lua | 1112 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 846 insertions(+), 266 deletions(-) diff --git a/new.lua b/new.lua index d66b7d9..68af508 100644 --- a/new.lua +++ b/new.lua @@ -1,60 +1,61 @@ -- MyzkaHub -if IY_LOADED and not _G.IY_DEBUG == true then - return -end - -pcall(function() getgenv().IY_LOADED = true end) +if getgenv().IY_REVAMPED_LOADED and not _G.IY_DEBUG then return end +pcall(function() getgenv().IY_REVAMPED_LOADED = true end) -- Services local Players = game:GetService("Players") -local COREGUI = game:GetService("CoreGui") +local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local HttpService = game:GetService("HttpService") +local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Local Player local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() --- Main GUI -local IYGui = Instance.new("ScreenGui") -IYGui.Name = "IY_Modern_" .. math.random(10000,99999) -IYGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -IYGui.DisplayOrder = 10 - -- Modern Color Scheme local Colors = { - Background = Color3.fromRGB(28, 28, 35), - Header = Color3.fromRGB(23, 23, 28), - Secondary = Color3.fromRGB(38, 38, 46), - Accent = Color3.fromRGB(0, 162, 255), + Background = Color3.fromRGB(20, 20, 25), + Header = Color3.fromRGB(25, 25, 30), + Secondary = Color3.fromRGB(35, 35, 40), + Accent = Color3.fromRGB(0, 170, 255), Success = Color3.fromRGB(76, 175, 80), Warning = Color3.fromRGB(255, 152, 0), Danger = Color3.fromRGB(244, 67, 54), - Text = Color3.fromRGB(240, 240, 240), - TextSecondary = Color3.fromRGB(180, 180, 180) + Text = Color3.fromRGB(230, 230, 230), + TextSecondary = Color3.fromRGB(150, 150, 150), + Glass = Color3.fromRGB(10, 10, 15) } +-- Main GUI +local IYGui = Instance.new("ScreenGui") +IYGui.Name = "IY_Revamped_" .. math.random(10000, 99999) +IYGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling +IYGui.DisplayOrder = 100 + -- Main Container local MainContainer = Instance.new("Frame") MainContainer.Name = "MainContainer" -MainContainer.Size = UDim2.new(0, 400, 0, 500) -MainContainer.Position = UDim2.new(1, -420, 0.5, -250) +MainContainer.Size = UDim2.new(0, 500, 0, 600) +MainContainer.Position = UDim2.new(0.5, -250, 0.5, -300) MainContainer.BackgroundColor3 = Colors.Background +MainContainer.BackgroundTransparency = 0.1 MainContainer.BorderSizePixel = 0 --- Modern Effects +-- Glassmorphism Effect local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainContainer local UIStroke = Instance.new("UIStroke") -UIStroke.Color = Color3.fromRGB(50, 50, 60) -UIStroke.Thickness = 2 +UIStroke.Color = Colors.Accent +UIStroke.Thickness = 1.5 +UIStroke.Transparency = 0.5 UIStroke.Parent = MainContainer -- Drop Shadow @@ -75,6 +76,7 @@ local Header = Instance.new("Frame") Header.Name = "Header" Header.Size = UDim2.new(1, 0, 0, 50) Header.BackgroundColor3 = Colors.Header +Header.BackgroundTransparency = 0.2 Header.BorderSizePixel = 0 local HeaderCorner = Instance.new("UICorner") @@ -86,7 +88,7 @@ Title.Name = "Title" Title.Size = UDim2.new(1, -100, 1, 0) Title.Position = UDim2.new(0, 20, 0, 0) Title.BackgroundTransparency = 1 -Title.Text = "INFINITE YIELD" +Title.Text = "INFINITE YIELD REVAMPED" Title.TextColor3 = Colors.Accent Title.TextSize = 18 Title.Font = Enum.Font.GothamBold @@ -94,10 +96,10 @@ Title.TextXAlignment = Enum.TextXAlignment.Left local Version = Instance.new("TextLabel") Version.Name = "Version" -Version.Size = UDim2.new(0, 60, 0, 20) +Version.Size = UDim2.new(0, 80, 0, 20) Version.Position = UDim2.new(0, 20, 1, -25) Version.BackgroundTransparency = 1 -Version.Text = "v5.9.3" +Version.Text = "v6.0.0 (Revamped)" Version.TextColor3 = Colors.TextSecondary Version.TextSize = 12 Version.Font = Enum.Font.Gotham @@ -106,33 +108,41 @@ Version.TextXAlignment = Enum.TextXAlignment.Left -- Control Buttons local ControlButtons = Instance.new("Frame") ControlButtons.Name = "ControlButtons" -ControlButtons.Size = UDim2.new(0, 80, 1, 0) -ControlButtons.Position = UDim2.new(1, -85, 0, 0) +ControlButtons.Size = UDim2.new(0, 100, 1, 0) +ControlButtons.Position = UDim2.new(1, -105, 0, 0) ControlButtons.BackgroundTransparency = 1 local function CreateControlButton(name, text, color) local button = Instance.new("TextButton") button.Name = name - button.Size = UDim2.new(0, 30, 0, 30) + button.Size = UDim2.new(0, 35, 0, 35) button.BackgroundColor3 = color or Colors.Secondary + button.BackgroundTransparency = 0.3 button.BorderSizePixel = 0 button.Text = text button.TextColor3 = Colors.Text button.TextSize = 16 button.Font = Enum.Font.GothamBold - + local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = button - + + button.MouseEnter:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() + end) + button.MouseLeave:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() + end) + return button end local MinimizeBtn = CreateControlButton("MinimizeBtn", "−") -MinimizeBtn.Position = UDim2.new(0, 5, 0, 10) +MinimizeBtn.Position = UDim2.new(0, 5, 0, 7) local CloseBtn = CreateControlButton("CloseBtn", "×", Colors.Danger) -CloseBtn.Position = UDim2.new(1, -35, 0, 10) +CloseBtn.Position = UDim2.new(1, -40, 0, 7) -- Command Input Section local CommandSection = Instance.new("Frame") @@ -140,6 +150,7 @@ CommandSection.Name = "CommandSection" CommandSection.Size = UDim2.new(1, -20, 0, 60) CommandSection.Position = UDim2.new(0, 10, 0, 60) CommandSection.BackgroundColor3 = Colors.Secondary +CommandSection.BackgroundTransparency = 0.2 CommandSection.BorderSizePixel = 0 local SectionCorner = Instance.new("UICorner") @@ -173,7 +184,7 @@ CommandInput.ClearTextOnFocus = false -- Quick Actions local QuickActions = Instance.new("Frame") QuickActions.Name = "QuickActions" -QuickActions.Size = UDim2.new(1, -20, 0, 40) +QuickActions.Size = UDim2.new(1, -20, 0, 50) QuickActions.Position = UDim2.new(0, 10, 0, 130) QuickActions.BackgroundTransparency = 1 @@ -186,34 +197,43 @@ QuickLayout.Padding = UDim.new(0, 8) local function CreateQuickAction(text, color) local button = Instance.new("TextButton") - button.Size = UDim2.new(0, 70, 0, 32) + button.Size = UDim2.new(0, 80, 0, 35) button.BackgroundColor3 = color + button.BackgroundTransparency = 0.3 button.BorderSizePixel = 0 button.Text = text button.TextColor3 = Colors.Text button.TextSize = 12 button.Font = Enum.Font.GothamSemibold - + local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = button - + local stroke = Instance.new("UIStroke") - stroke.Color = Color3.fromRGB(60, 60, 70) + stroke.Color = color stroke.Thickness = 1 + stroke.Transparency = 0.5 stroke.Parent = button - + + button.MouseEnter:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() + end) + button.MouseLeave:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() + end) + return button end --- Commands List +-- Commands List (ScrollingFrame) local CommandsFrame = Instance.new("ScrollingFrame") CommandsFrame.Name = "CommandsFrame" -CommandsFrame.Size = UDim2.new(1, -20, 1, -210) -CommandsFrame.Position = UDim2.new(0, 10, 0, 180) +CommandsFrame.Size = UDim2.new(1, -20, 0, 300) +CommandsFrame.Position = UDim2.new(0, 10, 0, 190) CommandsFrame.BackgroundTransparency = 1 CommandsFrame.BorderSizePixel = 0 -CommandsFrame.ScrollBarImageColor3 = Colors.Secondary +CommandsFrame.ScrollBarImageColor3 = Colors.Accent CommandsFrame.ScrollBarThickness = 4 CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) CommandsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y @@ -228,6 +248,7 @@ local CommandTemplate = Instance.new("TextButton") CommandTemplate.Name = "CommandTemplate" CommandTemplate.Size = UDim2.new(1, 0, 0, 36) CommandTemplate.BackgroundColor3 = Colors.Secondary +CommandTemplate.BackgroundTransparency = 0.3 CommandTemplate.BorderSizePixel = 0 CommandTemplate.Text = "command - description" CommandTemplate.TextColor3 = Colors.Text @@ -251,6 +272,7 @@ StatusBar.Name = "StatusBar" StatusBar.Size = UDim2.new(1, -20, 0, 25) StatusBar.Position = UDim2.new(0, 10, 1, -30) StatusBar.BackgroundColor3 = Colors.Header +StatusBar.BackgroundTransparency = 0.2 StatusBar.BorderSizePixel = 0 local StatusCorner = Instance.new("UICorner") @@ -269,7 +291,7 @@ StatusLabel.Font = Enum.Font.Gotham StatusLabel.TextXAlignment = Enum.TextXAlignment.Left -- Parent everything -IYGui.Parent = COREGUI +IYGui.Parent = CoreGui MainContainer.Parent = IYGui Header.Parent = MainContainer Title.Parent = Header @@ -310,29 +332,34 @@ local PlayerStates = { Noclipping = false, ESP = false, Speed = 16, - JumpPower = 50 + JumpPower = 50, + GodMode = false, + Invisible = false, + AutoFarm = false, + InfiniteJump = false, + FullBright = false, + NightVision = false, + Chams = false, + Tracers = false, + Nametags = false, + Crosshair = false, + NoRecoil = false, + AntiAFK = false, + FOV = 70, + Gravity = 196.2, + FogEnd = 100000, + Ambient = Color3.fromRGB(0, 0, 0), + ClockTime = 12, + Atmosphere = {Density = 0, Offset = 0, Color = Color3.fromRGB(0, 0, 0)}, + Skybox = "rbxassetid://7013747443", + Shader = "Default" } -- Utility Functions -function GetPlayer(name) - local players = {} - name = name:lower() - - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer then - if player.Name:lower():find(name) or player.DisplayName:lower():find(name) then - table.insert(players, player) - end - end - end - return players -end - -function Notify(message, color) +local function Notify(message, color) color = color or Colors.Accent StatusLabel.Text = message StatusLabel.TextColor3 = color - delay(3, function() if StatusLabel.Text == message then StatusLabel.Text = "Ready" @@ -341,24 +368,25 @@ function Notify(message, color) end) end -function CreateNotification(title, message, duration) +local function CreateNotification(title, message, duration) duration = duration or 5 - local notification = Instance.new("Frame") notification.Size = UDim2.new(0, 320, 0, 80) notification.Position = UDim2.new(0, 20, 0, 20) notification.BackgroundColor3 = Colors.Background + notification.BackgroundTransparency = 0.2 notification.BorderSizePixel = 0 - + local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = notification - + local stroke = Instance.new("UIStroke") stroke.Color = Colors.Accent - stroke.Thickness = 2 + stroke.Thickness = 1.5 + stroke.Transparency = 0.5 stroke.Parent = notification - + local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -20, 0, 25) titleLabel.Position = UDim2.new(0, 10, 0, 10) @@ -368,7 +396,7 @@ function CreateNotification(title, message, duration) titleLabel.TextSize = 16 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left - + local messageLabel = Instance.new("TextLabel") messageLabel.Size = UDim2.new(1, -20, 1, -40) messageLabel.Position = UDim2.new(0, 10, 0, 35) @@ -380,19 +408,33 @@ function CreateNotification(title, message, duration) messageLabel.TextXAlignment = Enum.TextXAlignment.Left messageLabel.TextYAlignment = Enum.TextYAlignment.Top messageLabel.TextWrapped = true - + notification.Parent = IYGui titleLabel.Parent = notification messageLabel.Parent = notification - - -- Auto-remove + + TweenService:Create(notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, 20)}):Play() + delay(duration, function() - notification:TweenPosition(UDim2.new(0, 20, 0, -100), "Out", "Quad", 0.5, true) - wait(0.5) + TweenService:Create(notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, -100)}):Play() + wait(0.3) notification:Destroy() end) end +local function GetPlayer(name) + local players = {} + name = name:lower() + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer then + if player.Name:lower():find(name) or player.DisplayName:lower():find(name) then + table.insert(players, player) + end + end + end + return players +end + -- Command Definitions Commands["fly"] = { Description = "Toggle flight mode", @@ -403,14 +445,12 @@ Commands["fly"] = { local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then if PlayerStates.Flying then - -- Flight implementation local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(0, 0, 0) bodyVelocity.MaxForce = Vector3.new(0, 0, 0) bodyVelocity.Parent = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") Notify("Flight: ON", Colors.Success) else - -- Remove flight for _, v in pairs(character:GetChildren()) do if v:IsA("BodyVelocity") then v:Destroy() @@ -434,106 +474,41 @@ Commands["noclip"] = { part.CanCollide = not PlayerStates.Noclipping end end - Notify("Noclip: " .. (PlayerStates.Noclipping and "ON" or "OFF"), - PlayerStates.Noclipping and Colors.Success or Colors.Danger) - end - end -} - -Commands["btools"] = { - Description = "Give yourself building tools", - Function = function(args) - local tools = {"Hammer", "Clone", "Grab"} - for _, toolName in pairs(tools) do - local tool = Instance.new("Tool") - tool.Name = toolName - tool.RequiresHandle = false - tool.Parent = LocalPlayer.Backpack - end - Notify("Building tools given", Colors.Success) - end -} - -Commands["esp"] = { - Description = "Toggle ESP on players", - Function = function(args) - PlayerStates.ESP = not PlayerStates.ESP - - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - local highlight = player.Character:FindFirstChild("IY_Highlight") - if PlayerStates.ESP then - if not highlight then - highlight = Instance.new("Highlight") - highlight.Name = "IY_Highlight" - highlight.FillColor = Color3.fromRGB(255, 0, 0) - highlight.OutlineColor = Color3.fromRGB(255, 255, 255) - highlight.Parent = player.Character - end - else - if highlight then - highlight:Destroy() - end - end - end + Notify("Noclip: " .. (PlayerStates.Noclipping and "ON" or "OFF"), PlayerStates.Noclipping and Colors.Success or Colors.Danger) end - Notify("ESP: " .. (PlayerStates.ESP and "ON" or "OFF"), - PlayerStates.ESP and Colors.Success or Colors.Danger) end } -Commands["goto"] = { - Description = "Teleport to player", +Commands["god"] = { + Description = "Toggle god mode", Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - local character = LocalPlayer.Character - local targetChar = target.Character - - if character and targetChar then - local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - local targetRoot = targetChar:FindFirstChild("HumanoidRootPart") or targetChar:FindFirstChild("Torso") - - if humanoidRootPart and targetRoot then - humanoidRootPart.CFrame = targetRoot.CFrame - Notify("Teleported to " .. target.Name, Colors.Success) - end - end - else - Notify("Player not found", Colors.Danger) + PlayerStates.GodMode = not PlayerStates.GodMode + local character = LocalPlayer.Character + if character then + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.MaxHealth = PlayerStates.GodMode and math.huge or 100 + humanoid.Health = PlayerStates.GodMode and math.huge or 100 + Notify("God Mode: " .. (PlayerStates.GodMode and "ON" or "OFF"), PlayerStates.GodMode and Colors.Success or Colors.Danger) end - else - Notify("Usage: goto [player]", Colors.Warning) end end } -Commands["bring"] = { - Description = "Bring player to you", +Commands["invis"] = { + Description = "Toggle invisibility", Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - local character = LocalPlayer.Character - local targetChar = target.Character - - if character and targetChar then - local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - local targetRoot = targetChar:FindFirstChild("HumanoidRootPart") or targetChar:FindFirstChild("Torso") - - if humanoidRootPart and targetRoot then - targetRoot.CFrame = humanoidRootPart.CFrame - Notify("Brought " .. target.Name, Colors.Success) - end + PlayerStates.Invisible = not PlayerStates.Invisible + local character = LocalPlayer.Character + if character then + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = PlayerStates.Invisible and 1 or 0 + elseif part:IsA("Decal") then + part.Transparency = PlayerStates.Invisible and 1 or 0 end - else - Notify("Player not found", Colors.Danger) end - else - Notify("Usage: bring [player]", Colors.Warning) + Notify("Invisibility: " .. (PlayerStates.Invisible and "ON" or "OFF"), PlayerStates.Invisible and Colors.Success or Colors.Danger) end end } @@ -578,140 +553,685 @@ Commands["jumppower"] = { end } -Commands["refresh"] = { - Description = "Reset your character", +Commands["fov"] = { + Description = "Set field of view", Function = function(args) - local character = LocalPlayer.Character - if character then - character:BreakJoints() - Notify("Character refreshed", Colors.Success) + if args and args[1] and tonumber(args[1]) then + local fov = tonumber(args[1]) + PlayerStates.FOV = fov + Workspace.CurrentCamera.FieldOfView = fov + Notify("FOV set to " .. fov, Colors.Success) + else + Notify("Usage: fov [number]", Colors.Warning) end end } -Commands["invis"] = { - Description = "Become invisible", +Commands["gravity"] = { + Description = "Set workspace gravity", Function = function(args) - local character = LocalPlayer.Character - if character then - for _, part in pairs(character:GetDescendants()) do - if part:IsA("BasePart") then - part.Transparency = 1 - elseif part:IsA("Decal") then - part.Transparency = 1 + if args and args[1] and tonumber(args[1]) then + local gravity = tonumber(args[1]) + PlayerStates.Gravity = gravity + Workspace.Gravity = gravity + Notify("Gravity set to " .. gravity, Colors.Success) + else + Notify("Usage: gravity [number]", Colors.Warning) + end + end +} + +Commands["time"] = { + Description = "Set time of day", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local time = tonumber(args[1]) + PlayerStates.ClockTime = time + Lighting.ClockTime = time + Notify("Time set to " .. time, Colors.Success) + else + Notify("Usage: time [number]", Colors.Warning) + end + end +} + +Commands["fog"] = { + Description = "Set fog distance", + Function = function(args) + if args and args[1] and tonumber(args[1]) then + local fog = tonumber(args[1]) + PlayerStates.FogEnd = fog + Lighting.FogEnd = fog + Notify("Fog set to " .. fog, Colors.Success) + else + Notify("Usage: fog [number]", Colors.Warning) + end + end +} + +Commands["ambient"] = { + Description = "Set ambient color (R G B)", + Function = function(args) + if args and args[1] and args[2] and args[3] and tonumber(args[1]) and tonumber(args[2]) and tonumber(args[3]) then + local r, g, b = tonumber(args[1]), tonumber(args[2]), tonumber(args[3]) + PlayerStates.Ambient = Color3.fromRGB(r, g, b) + Lighting.Ambient = PlayerStates.Ambient + Notify("Ambient set to " .. r .. ", " .. g .. ", " .. b, Colors.Success) + else + Notify("Usage: ambient [R] [G] [B]", Colors.Warning) + end + end +} + +Commands["skybox"] = { + Description = "Set skybox (asset ID)", + Function = function(args) + if args and args[1] then + local skyboxId = args[1] + PlayerStates.Skybox = skyboxId + Lighting.Sky.SkyboxBk = skyboxId + Lighting.Sky.SkyboxDn = skyboxId + Lighting.Sky.SkyboxFt = skyboxId + Lighting.Sky.SkyboxLf = skyboxId + Lighting.Sky.SkyboxRt = skyboxId + Lighting.Sky.SkyboxUp = skyboxId + Notify("Skybox set to " .. skyboxId, Colors.Success) + else + Notify("Usage: skybox [assetid]", Colors.Warning) + end + end +} + +Commands["fullbright"] = { + Description = "Toggle fullbright", + Function = function(args) + PlayerStates.FullBright = not PlayerStates.FullBright + if PlayerStates.FullBright then + Lighting.Ambient = Color3.fromRGB(255, 255, 255) + Lighting.Brightness = 2 + Lighting.ClockTime = 12 + Lighting.FogEnd = 100000 + Lighting.GlobalShadows = false + Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) + else + Lighting.Ambient = PlayerStates.Ambient + Lighting.Brightness = 1 + Lighting.ClockTime = PlayerStates.ClockTime + Lighting.FogEnd = PlayerStates.FogEnd + Lighting.GlobalShadows = true + Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) + end + Notify("Fullbright: " .. (PlayerStates.FullBright and "ON" or "OFF"), PlayerStates.FullBright and Colors.Success or Colors.Danger) + end +} + +Commands["nightvision"] = { + Description = "Toggle night vision", + Function = function(args) + PlayerStates.NightVision = not PlayerStates.NightVision + if PlayerStates.NightVision then + Lighting.Ambient = Color3.fromRGB(0, 255, 0) + Lighting.ColorShift_Bottom = Color3.fromRGB(0, 255, 0) + Lighting.ColorShift_Top = Color3.fromRGB(0, 255, 0) + Lighting.Brightness = 1 + else + Lighting.Ambient = PlayerStates.Ambient + Lighting.ColorShift_Bottom = Color3.fromRGB(0, 0, 0) + Lighting.ColorShift_Top = Color3.fromRGB(0, 0, 0) + Lighting.Brightness = 1 + end + Notify("Night Vision: " .. (PlayerStates.NightVision and "ON" or "OFF"), PlayerStates.NightVision and Colors.Success or Colors.Danger) + end +} + +Commands["chams"] = { + Description = "Toggle chams on players", + Function = function(args) + PlayerStates.Chams = not PlayerStates.Chams + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local chams = player.Character:FindFirstChild("IY_Chams") + if PlayerStates.Chams then + if not chams then + chams = Instance.new("Highlight") + chams.Name = "IY_Chams" + chams.FillColor = Color3.fromRGB(255, 0, 0) + chams.OutlineColor = Color3.fromRGB(255, 255, 255) + chams.FillTransparency = 0.5 + chams.Parent = player.Character + end + else + if chams then + chams:Destroy() + end end end - Notify("Invisible mode activated", Colors.Success) end + Notify("Chams: " .. (PlayerStates.Chams and "ON" or "OFF"), PlayerStates.Chams and Colors.Success or Colors.Danger) end } -Commands["visible"] = { - Description = "Become visible again", +Commands["tracers"] = { + Description = "Toggle tracers on players", Function = function(args) - local character = LocalPlayer.Character - if character then - for _, part in pairs(character:GetDescendants()) do - if part:IsA("BasePart") then - part.Transparency = 0 - elseif part:IsA("Decal") then - part.Transparency = 0 + PlayerStates.Tracers = not PlayerStates.Tracers + if PlayerStates.Tracers then + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local tracer = Instance.new("Part") + tracer.Name = "IY_Tracer" + tracer.Anchored = true + tracer.CanCollide = false + tracer.Size = Vector3.new(0.1, 0.1, 1000) + tracer.Color = Color3.fromRGB(255, 0, 0) + tracer.Material = Enum.Material.Neon + tracer.Transparency = 0.5 + tracer.Parent = Workspace + local attach = Instance.new("Attachment", tracer) + attach.Position = Vector3.new(0, 0, -500) + local attach2 = Instance.new("Attachment", player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso")) + local beam = Instance.new("Beam") + beam.Attachment0 = attach + beam.Attachment1 = attach2 + beam.Color = Color3.fromSequence(ColorSequence.new(Color3.fromRGB(255, 0, 0))) + beam.Parent = tracer + end + end + else + for _, obj in pairs(Workspace:GetChildren()) do + if obj.Name == "IY_Tracer" then + obj:Destroy() end end - Notify("Visible again", Colors.Success) end + Notify("Tracers: " .. (PlayerStates.Tracers and "ON" or "OFF"), PlayerStates.Tracers and Colors.Success or Colors.Danger) end } -Commands["time"] = { - Description = "Set time of day", +Commands["nametags"] = { + Description = "Toggle nametags on players", + Function = function(args) + PlayerStates.Nametags = not PlayerStates.Nametags + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local head = player.Character:FindFirstChild("Head") + if head then + local tag = head:FindFirstChild("IY_Nametag") + if PlayerStates.Nametags then + if not tag then + tag = Instance.new("BillboardGui") + tag.Name = "IY_Nametag" + tag.Size = UDim2.new(0, 200, 0, 50) + tag.StudsOffset = Vector3.new(0, 2, 0) + tag.AlwaysOnTop = true + tag.Adornee = head + tag.Parent = head + local nameTag = Instance.new("TextLabel") + nameTag.Size = UDim2.new(1, 0, 1, 0) + nameTag.BackgroundTransparency = 1 + nameTag.Text = player.Name + nameTag.TextColor3 = Color3.fromRGB(255, 255, 255) + nameTag.TextSize = 14 + nameTag.Font = Enum.Font.GothamBold + nameTag.TextStrokeTransparency = 0 + nameTag.Parent = tag + end + else + if tag then + tag:Destroy() + end + end + end + end + end + Notify("Nametags: " .. (PlayerStates.Nametags and "ON" or "OFF"), PlayerStates.Nametags and Colors.Success or Colors.Danger) + end +} + +Commands["crosshair"] = { + Description = "Toggle custom crosshair", + Function = function(args) + PlayerStates.Crosshair = not PlayerStates.Crosshair + if PlayerStates.Crosshair then + local crosshair = Instance.new("Frame") + crosshair.Name = "IY_Crosshair" + crosshair.Size = UDim2.new(0, 20, 0, 20) + crosshair.Position = UDim2.new(0.5, -10, 0.5, -10) + crosshair.BackgroundTransparency = 1 + crosshair.Parent = IYGui + local line1 = Instance.new("Frame") + line1.Size = UDim2.new(0, 10, 0, 1) + line1.Position = UDim2.new(0.5, -5, 0.5, 0) + line1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) + line1.BorderSizePixel = 0 + line1.Parent = crosshair + local line2 = Instance.new("Frame") + line2.Size = UDim2.new(0, 1, 0, 10) + line2.Position = UDim2.new(0.5, 0, 0.5, -5) + line2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) + line2.BorderSizePixel = 0 + line2.Parent = crosshair + else + local crosshair = IYGui:FindFirstChild("IY_Crosshair") + if crosshair then + crosshair:Destroy() + end + end + Notify("Crosshair: " .. (PlayerStates.Crosshair and "ON" or "OFF"), PlayerStates.Crosshair and Colors.Success or Colors.Danger) + end +} + +Commands["infinitejump"] = { + Description = "Toggle infinite jump", + Function = function(args) + PlayerStates.InfiniteJump = not PlayerStates.InfiniteJump + if PlayerStates.InfiniteJump then + local connection + connection = UserInputService.JumpRequest:Connect(function() + if LocalPlayer.Character then + local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") + if humanoid and humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then + humanoid:ChangeState(Enum.HumanoidStateType.Jumping) + end + end + end) + table.insert(PlayerStates.Connections, connection) + else + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + end + Notify("Infinite Jump: " .. (PlayerStates.InfiniteJump and "ON" or "OFF"), PlayerStates.InfiniteJump and Colors.Success or Colors.Danger) + end +} + +Commands["norecoil"] = { + Description = "Toggle no recoil", + Function = function(args) + PlayerStates.NoRecoil = not PlayerStates.NoRecoil + if PlayerStates.NoRecoil then + local connection + connection = RunService.RenderStepped:Connect(function() + if LocalPlayer.Character then + local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool") + if tool and tool:FindFirstChild("Recoil") then + tool.Recoil.Value = 0 + end + end + end) + table.insert(PlayerStates.Connections, connection) + else + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + end + Notify("No Recoil: " .. (PlayerStates.NoRecoil and "ON" or "OFF"), PlayerStates.NoRecoil and Colors.Success or Colors.Danger) + end +} + +Commands["antiafk"] = { + Description = "Toggle anti-AFK", + Function = function(args) + PlayerStates.AntiAFK = not PlayerStates.AntiAFK + if PlayerStates.AntiAFK then + local connection + connection = RunService.Heartbeat:Connect(function() + if LocalPlayer and LocalPlayer.Character then + local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid:Move(Vector3.new(0, 1, 0), false) + end + end + end) + table.insert(PlayerStates.Connections, connection) + else + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + end + Notify("Anti-AFK: " .. (PlayerStates.AntiAFK and "ON" or "OFF"), PlayerStates.AntiAFK and Colors.Success or Colors.Danger) + end +} + +Commands["autofarm"] = { + Description = "Toggle auto-farm (experimental)", + Function = function(args) + PlayerStates.AutoFarm = not PlayerStates.AutoFarm + if PlayerStates.AutoFarm then + local connection + connection = RunService.Heartbeat:Connect(function() + if LocalPlayer.Character then + local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid:MoveTo(LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 0, 5)) + end + end + end) + table.insert(PlayerStates.Connections, connection) + else + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + end + Notify("Auto-Farm: " .. (PlayerStates.AutoFarm and "ON" or "OFF"), PlayerStates.AutoFarm and Colors.Success or Colors.Danger) + end +} + +Commands["reach"] = { + Description = "Set tool reach distance", Function = function(args) if args and args[1] and tonumber(args[1]) then - local time = tonumber(args[1]) - Lighting.ClockTime = time - Notify("Time set to " .. time, Colors.Success) + local reach = tonumber(args[1]) + for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do + if tool:IsA("Tool") then + tool.Handle.Size = Vector3.new(1, 1, reach) + end + end + for _, tool in pairs(LocalPlayer.Character:GetChildren()) do + if tool:IsA("Tool") then + tool.Handle.Size = Vector3.new(1, 1, reach) + end + end + Notify("Reach set to " .. reach, Colors.Success) else - Notify("Usage: time [number]", Colors.Warning) + Notify("Usage: reach [number]", Colors.Warning) + end + end +} + +Commands["clicktp"] = { + Description = "Teleport to mouse position on click", + Function = function(args) + PlayerStates.ClickTP = not PlayerStates.ClickTP + if PlayerStates.ClickTP then + local connection + connection = UserInputService.InputBegan:Connect(function(input, processed) + if not processed and input.UserInputType == Enum.UserInputType.MouseButton1 then + local character = LocalPlayer.Character + if character then + local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + if root then + root.CFrame = CFrame.new(Mouse.Hit.p) + end + end + end + end) + table.insert(PlayerStates.Connections, connection) + else + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + end + Notify("Click TP: " .. (PlayerStates.ClickTP and "ON" or "OFF"), PlayerStates.ClickTP and Colors.Success or Colors.Danger) + end +} + +Commands["bringall"] = { + Description = "Bring all players to you", + Function = function(args) + local character = LocalPlayer.Character + if character then + local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + if root then + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local targetRoot = player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso") + if targetRoot then + targetRoot.CFrame = root.CFrame * CFrame.new(0, 0, 5) + end + end + end + Notify("Brought all players", Colors.Success) + end + end + end +} + +Commands["gotoall"] = { + Description = "Teleport to all players", + Function = function(args) + local character = LocalPlayer.Character + if character then + local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + if root then + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + local targetRoot = player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso") + if targetRoot then + root.CFrame = targetRoot.CFrame + wait(0.5) + end + end + end + Notify("Teleported to all players", Colors.Success) + end end end } -Commands["freeze"] = { - Description = "Freeze a player", +Commands["copyoutfit"] = { + Description = "Copy a player's outfit", Function = function(args) if args and args[1] then local targetPlayers = GetPlayer(args[1]) - for _, target in pairs(targetPlayers) do + if #targetPlayers > 0 then + local target = targetPlayers[1] local character = target.Character if character then - for _, part in pairs(character:GetDescendants()) do - if part:IsA("BasePart") then - part.Anchored = true + for _, part in pairs(character:GetChildren()) do + if part:IsA("Accessory") then + local clone = part:Clone() + clone.Parent = LocalPlayer.Character end end - Notify("Froze " .. target.Name, Colors.Success) + Notify("Copied " .. target.Name .. "'s outfit", Colors.Success) end + else + Notify("Player not found", Colors.Danger) end else - Notify("Usage: freeze [player]", Colors.Warning) + Notify("Usage: copyoutfit [player]", Colors.Warning) end end } -Commands["thaw"] = { - Description = "Unfreeze a player", +Commands["stealoutfit"] = { + Description = "Steal a player's outfit (removes theirs)", Function = function(args) if args and args[1] then local targetPlayers = GetPlayer(args[1]) - for _, target in pairs(targetPlayers) do + if #targetPlayers > 0 then + local target = targetPlayers[1] local character = target.Character if character then - for _, part in pairs(character:GetDescendants()) do - if part:IsA("BasePart") then - part.Anchored = false + for _, part in pairs(character:GetChildren()) do + if part:IsA("Accessory") then + local clone = part:Clone() + clone.Parent = LocalPlayer.Character + part:Destroy() end end - Notify("Unfroze " .. target.Name, Colors.Success) + Notify("Stole " .. target.Name .. "'s outfit", Colors.Success) end + else + Notify("Player not found", Colors.Danger) end else - Notify("Usage: thaw [player]", Colors.Warning) + Notify("Usage: stealoutfit [player]", Colors.Warning) end end } -Commands["kick"] = { - Description = "Kick a player", +Commands["follow"] = { + Description = "Follow a player", Function = function(args) if args and args[1] then local targetPlayers = GetPlayer(args[1]) - for _, target in pairs(targetPlayers) do - target:Kick("Kicked by Infinite Yield") - Notify("Kicked " .. target.Name, Colors.Success) + if #targetPlayers > 0 then + local target = targetPlayers[1] + PlayerStates.Following = target + local connection + connection = RunService.Heartbeat:Connect(function() + if PlayerStates.Following and PlayerStates.Following.Character and LocalPlayer.Character then + local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character:FindFirstChild("Torso") + local targetRoot = PlayerStates.Following.Character:FindFirstChild("HumanoidRootPart") or PlayerStates.Following.Character:FindFirstChild("Torso") + if root and targetRoot then + root.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 5) + end + else + connection:Disconnect() + end + end) + table.insert(PlayerStates.Connections, connection) + Notify("Following " .. target.Name, Colors.Success) + else + Notify("Player not found", Colors.Danger) end else - Notify("Usage: kick [player]", Colors.Warning) + Notify("Usage: follow [player]", Colors.Warning) end end } -Commands["gravity"] = { - Description = "Set workspace gravity", +Commands["unfollow"] = { + Description = "Stop following a player", Function = function(args) - if args and args[1] and tonumber(args[1]) then - local gravity = tonumber(args[1]) - Workspace.Gravity = gravity - Notify("Gravity set to " .. gravity, Colors.Success) + PlayerStates.Following = nil + for i, v in pairs(PlayerStates.Connections) do + if v then + v:Disconnect() + table.remove(PlayerStates.Connections, i) + end + end + Notify("Stopped following", Colors.Success) + end +} + +Commands["loopkill"] = { + Description = "Loop kill a player", + Function = function(args) + if args and args[1] then + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers > 0 then + local target = targetPlayers[1] + local connection + connection = RunService.Heartbeat:Connect(function() + if target and target.Character then + local humanoid = target.Character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.Health = 0 + end + else + connection:Disconnect() + end + end) + table.insert(PlayerStates.Connections, connection) + Notify("Loop killing " .. target.Name, Colors.Success) + else + Notify("Player not found", Colors.Danger) + end else - Notify("Usage: gravity [number]", Colors.Warning) + Notify("Usage: loopkill [player]", Colors.Warning) + end + end +} + +Commands["serverhop"] = { + Description = "Rejoin the game (server hop)", + Function = function(args) + game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) + end +} + +Commands["rejoin"] = { + Description = "Rejoin the game", + Function = function(args) + game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) + end +} + +Commands["copyid"] = { + Description = "Copy your user ID to clipboard", + Function = function(args) + setclipboard(LocalPlayer.UserId) + Notify("Copied User ID: " .. LocalPlayer.UserId, Colors.Success) + end +} + +Commands["copypos"] = { + Description = "Copy your position to clipboard", + Function = function(args) + if LocalPlayer.Character then + local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character:FindFirstChild("Torso") + if root then + setclipboard(tostring(root.Position)) + Notify("Copied Position: " .. tostring(root.Position), Colors.Success) + end + end + end +} + +Commands["invisibleothers"] = { + Description = "Make all players invisible except you", + Function = function(args) + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + for _, part in pairs(player.Character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = 1 + elseif part:IsA("Decal") then + part.Transparency = 1 + end + end + end + end + Notify("Made others invisible", Colors.Success) + end +} + +Commands["visibleothers"] = { + Description = "Make all players visible again", + Function = function(args) + for _, player in pairs(Players:GetPlayers()) do + if player ~= LocalPlayer and player.Character then + for _, part in pairs(player.Character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = 0 + elseif part:IsA("Decal") then + part.Transparency = 0 + end + end + end end + Notify("Made others visible", Colors.Success) end } Commands["cmds"] = { Description = "Show all commands", Function = function(args) - CreateNotification("Available Commands", "Type any command in the input box. Use 'help [command]' for more info.", 10) + local cmdList = {} + for cmd, _ in pairs(Commands) do + table.insert(cmdList, cmd) + end + table.sort(cmdList) + local message = "Available Commands:\n" .. table.concat(cmdList, ", ") + CreateNotification("Commands", message, 20) Notify("Commands list shown", Colors.Success) end } @@ -735,21 +1255,42 @@ Commands["help"] = { -- Populate Commands List local commandList = { "fly - Toggle flight mode", - "noclip - Toggle noclip mode", - "btools - Get building tools", - "esp - Toggle player ESP", - "goto [player] - Teleport to player", - "bring [player] - Bring player to you", + "noclip - Toggle noclip mode", + "god - Toggle god mode", + "invis - Toggle invisibility", "speed [num] - Set walk speed", "jumppower [num] - Set jump power", - "refresh - Reset character", - "invis - Become invisible", - "visible - Become visible again", + "fov [num] - Set field of view", + "gravity [num] - Set workspace gravity", "time [num] - Set time of day", - "freeze [player] - Freeze player", - "thaw [player] - Unfreeze player", - "kick [player] - Kick player", - "gravity [num] - Set gravity", + "fog [num] - Set fog distance", + "ambient [R] [G] [B] - Set ambient color", + "skybox [assetid] - Set skybox", + "fullbright - Toggle fullbright", + "nightvision - Toggle night vision", + "chams - Toggle chams on players", + "tracers - Toggle tracers on players", + "nametags - Toggle nametags on players", + "crosshair - Toggle custom crosshair", + "infinitejump - Toggle infinite jump", + "norecoil - Toggle no recoil", + "antiafk - Toggle anti-AFK", + "autofarm - Toggle auto-farm", + "reach [num] - Set tool reach distance", + "clicktp - Teleport to mouse position on click", + "bringall - Bring all players to you", + "gotoall - Teleport to all players", + "copyoutfit [player] - Copy a player's outfit", + "stealoutfit [player] - Steal a player's outfit", + "follow [player] - Follow a player", + "unfollow - Stop following a player", + "loopkill [player] - Loop kill a player", + "serverhop - Rejoin the game", + "rejoin - Rejoin the game", + "copyid - Copy your user ID to clipboard", + "copypos - Copy your position to clipboard", + "invisibleothers - Make all players invisible except you", + "visibleothers - Make all players visible again", "cmds - Show all commands", "help [cmd] - Get command help" } @@ -761,29 +1302,34 @@ for i, cmdText in ipairs(commandList) do cmdButton.Visible = true cmdButton.LayoutOrder = i cmdButton.Parent = CommandsFrame - - -- Hover effects + cmdButton.MouseEnter:Connect(function() - cmdButton.BackgroundColor3 = Color3.fromRGB(45, 45, 55) + TweenService:Create(cmdButton, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() end) - + cmdButton.MouseLeave:Connect(function() - cmdButton.BackgroundColor3 = Colors.Secondary + TweenService:Create(cmdButton, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() end) end -- Command Execution +local commandHistory = {} +local historyIndex = 0 + function ExecuteCommand(input) + table.insert(commandHistory, input) + historyIndex = #commandHistory + 1 + local args = {} for arg in input:gmatch("%S+") do table.insert(args, arg) end - + if #args == 0 then return end - + local commandName = args[1]:lower() table.remove(args, 1) - + if Commands[commandName] then pcall(function() Commands[commandName].Function(args) @@ -796,7 +1342,7 @@ end -- GUI Functionality local isMinimized = false local originalSize = MainContainer.Size -local minimizedSize = UDim2.new(0, 400, 0, 50) +local minimizedSize = UDim2.new(0, 500, 0, 50) -- Drag functionality local dragging = false @@ -804,7 +1350,12 @@ local dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart - MainContainer.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) + MainContainer.Position = UDim2.new( + startPos.X.Scale, + startPos.X.Offset + delta.X, + startPos.Y.Scale, + startPos.Y.Offset + delta.Y + ) end Header.InputBegan:Connect(function(input) @@ -812,7 +1363,7 @@ Header.InputBegan:Connect(function(input) dragging = true dragStart = input.Position startPos = MainContainer.Position - + input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false @@ -836,16 +1387,16 @@ end) -- Close button CloseBtn.MouseButton1Click:Connect(function() IYGui:Destroy() - getgenv().IY_LOADED = false + getgenv().IY_REVAMPED_LOADED = false end) -- Minimize button MinimizeBtn.MouseButton1Click:Connect(function() if isMinimized then - MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() isMinimized = false else - MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() isMinimized = true end end) @@ -861,6 +1412,41 @@ CommandInput.FocusLost:Connect(function(enterPressed) end end) +-- Command history navigation +CommandInput:CaptureFocus() +CommandInput:GetPropertyChangedSignal("Text"):Connect(function() + if CommandInput:IsFocused() then + CommandInput:ReleaseFocus() + CommandInput:CaptureFocus() + end +end) + +CommandInput.Focused:Connect(function() + CommandInput:GetPropertyChangedSignal("Text"):Connect(function() + if CommandInput.Text:sub(1, 1) == ";" then + CommandInput.Text = CommandInput.Text:sub(2) + end + end) +end) + +UserInputService.InputBegan:Connect(function(input, processed) + if not processed and CommandInput:IsFocused() then + if input.KeyCode == Enum.KeyCode.Up then + if historyIndex > 1 then + historyIndex = historyIndex - 1 + CommandInput.Text = commandHistory[historyIndex] + CommandInput.CursorPosition = #CommandInput.Text + 1 + end + elseif input.KeyCode == Enum.KeyCode.Down then + if historyIndex < #commandHistory then + historyIndex = historyIndex + 1 + CommandInput.Text = commandHistory[historyIndex] or "" + CommandInput.CursorPosition = #CommandInput.Text + 1 + end + end + end +end) + -- Quick action buttons FlyBtn.MouseButton1Click:Connect(function() ExecuteCommand("fly") @@ -900,10 +1486,10 @@ end local function setupAutoHide() MainContainer.MouseEnter:Connect(resetAutoHide) CommandInput.Focused:Connect(resetAutoHide) - + autoHideConnection = RunService.Heartbeat:Connect(function() if tick() - lastInteraction > 15 and not CommandInput:IsFocused() and not isMinimized then - MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() isMinimized = true end end) @@ -916,17 +1502,17 @@ UserInputService.InputBegan:Connect(function(input, processed) if not processed then if input.KeyCode == Enum.KeyCode.RightShift then if isMinimized then - MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() isMinimized = false else - MainContainer:TweenSize(minimizedSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() isMinimized = true end resetAutoHide() elseif input.KeyCode == Enum.KeyCode.Semicolon then CommandInput:CaptureFocus() if isMinimized then - MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) + TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() isMinimized = false end resetAutoHide() @@ -934,15 +1520,6 @@ UserInputService.InputBegan:Connect(function(input, processed) end end) --- Make sure GUI is visible when focused -CommandInput.Focused:Connect(function() - if isMinimized then - MainContainer:TweenSize(originalSize, "Out", "Quad", 0.3, true) - isMinimized = false - end - resetAutoHide() -end) - -- Noclip loop RunService.Stepped:Connect(function() if PlayerStates.Noclipping then @@ -959,9 +1536,12 @@ end) -- Welcome message delay(1, function() - CreateNotification("Infinite Yield FE", "Modern UI Loaded!\nUse ; to open command bar\nRightShift to toggle GUI", 5) + CreateNotification( + "Infinite Yield Revamped", + "Modern UI Loaded!\nUse ; to open command bar\nRightShift to toggle GUI\n30+ New Commands Added!", + 10 + ) end) Notify("Ready to use", Colors.Success) - return IYGui From cc658a12fb37388271a63b44c3ea8971db99ed01 Mon Sep 17 00:00:00 2001 From: Akisa Date: Sun, 30 Nov 2025 00:53:12 +0600 Subject: [PATCH 08/11] Fixed Gui --- new.lua | 1830 ++++++++++++++++++++----------------------------------- 1 file changed, 647 insertions(+), 1183 deletions(-) diff --git a/new.lua b/new.lua index 68af508..eb85a4b 100644 --- a/new.lua +++ b/new.lua @@ -1,9 +1,14 @@ --- MyzkaHub +--[[ + MyzkaHub Revamped Exploit GUI + Author: NettyCrasher + Features: Modern UI, 30+ Commands, Exploit Tools, Keybinds, Auto-Update + Compatible: Synapse X, Krnl, Fluxus, ScriptWare +--]] -if getgenv().IY_REVAMPED_LOADED and not _G.IY_DEBUG then return end -pcall(function() getgenv().IY_REVAMPED_LOADED = true end) +if getgenv().MyzkaHub_Loaded then return end +getgenv().MyzkaHub_Loaded = true --- Services +--// Services local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local TweenService = game:GetService("TweenService") @@ -12,53 +17,67 @@ local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local HttpService = game:GetService("HttpService") -local ReplicatedStorage = game:GetService("ReplicatedStorage") +local TeleportService = game:GetService("TeleportService") +local VirtualInputManager = game:GetService("VirtualInputManager") --- Local Player +--// Local Player local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() --- Modern Color Scheme -local Colors = { - Background = Color3.fromRGB(20, 20, 25), - Header = Color3.fromRGB(25, 25, 30), - Secondary = Color3.fromRGB(35, 35, 40), - Accent = Color3.fromRGB(0, 170, 255), - Success = Color3.fromRGB(76, 175, 80), - Warning = Color3.fromRGB(255, 152, 0), - Danger = Color3.fromRGB(244, 67, 54), - Text = Color3.fromRGB(230, 230, 230), - TextSecondary = Color3.fromRGB(150, 150, 150), - Glass = Color3.fromRGB(10, 10, 15) -} - --- Main GUI -local IYGui = Instance.new("ScreenGui") -IYGui.Name = "IY_Revamped_" .. math.random(10000, 99999) -IYGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling -IYGui.DisplayOrder = 100 +--// UI Settings +local UISettings = { + Enabled = true, + Theme = { + Background = Color3.fromRGB(20, 20, 25), + Header = Color3.fromRGB(25, 25, 30), + Secondary = Color3.fromRGB(35, 35, 40), + Accent = Color3.fromRGB(0, 170, 255), + Success = Color3.fromRGB(76, 175, 80), + Warning = Color3.fromRGB(255, 152, 0), + Danger = Color3.fromRGB(244, 67, 54), + Text = Color3.fromRGB(230, 230, 230), + Glass = Color3.fromRGB(10, 10, 15), + }, + Transparency = 0.1, + Blur = true, +} + +--// Main GUI +local MyzkaHub = Instance.new("ScreenGui") +MyzkaHub.Name = "MyzkaHub_" .. HttpService:GenerateGUID(false) +MyzkaHub.ZIndexBehavior = Enum.ZIndexBehavior.Sibling +MyzkaHub.IgnoreGuiInset = true + +--// Blur Effect (Modern UI) +if UISettings.Blur then + local Blur = Instance.new("BlurEffect") + Blur.Name = "MyzkaHub_Blur" + Blur.Size = 8 + Blur.Parent = Lighting +end --- Main Container +--// Main Container (Glassmorphism) local MainContainer = Instance.new("Frame") MainContainer.Name = "MainContainer" -MainContainer.Size = UDim2.new(0, 500, 0, 600) -MainContainer.Position = UDim2.new(0.5, -250, 0.5, -300) -MainContainer.BackgroundColor3 = Colors.Background -MainContainer.BackgroundTransparency = 0.1 +MainContainer.Size = UDim2.new(0, 550, 0, 600) +MainContainer.Position = UDim2.new(0.5, -275, 0.5, -300) +MainContainer.BackgroundColor3 = UISettings.Theme.Background +MainContainer.BackgroundTransparency = UISettings.Transparency MainContainer.BorderSizePixel = 0 +MainContainer.Parent = MyzkaHub --- Glassmorphism Effect +--// UI Corner & Stroke local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainContainer local UIStroke = Instance.new("UIStroke") -UIStroke.Color = Colors.Accent +UIStroke.Color = UISettings.Theme.Accent UIStroke.Thickness = 1.5 UIStroke.Transparency = 0.5 UIStroke.Parent = MainContainer --- Drop Shadow +--// Drop Shadow local Shadow = Instance.new("ImageLabel") Shadow.Name = "Shadow" Shadow.Size = UDim2.new(1, 20, 1, 20) @@ -71,13 +90,14 @@ Shadow.ScaleType = Enum.ScaleType.Slice Shadow.SliceCenter = Rect.new(23, 23, 277, 277) Shadow.Parent = MainContainer --- Header +--// Header local Header = Instance.new("Frame") Header.Name = "Header" Header.Size = UDim2.new(1, 0, 0, 50) -Header.BackgroundColor3 = Colors.Header -Header.BackgroundTransparency = 0.2 +Header.BackgroundColor3 = UISettings.Theme.Header +Header.BackgroundTransparency = UISettings.Transparency + 0.1 Header.BorderSizePixel = 0 +Header.Parent = MainContainer local HeaderCorner = Instance.new("UICorner") HeaderCorner.CornerRadius = UDim.new(0, 12) @@ -88,41 +108,46 @@ Title.Name = "Title" Title.Size = UDim2.new(1, -100, 1, 0) Title.Position = UDim2.new(0, 20, 0, 0) Title.BackgroundTransparency = 1 -Title.Text = "INFINITE YIELD REVAMPED" -Title.TextColor3 = Colors.Accent +Title.Text = "MYZKA HUB" +Title.TextColor3 = UISettings.Theme.Accent Title.TextSize = 18 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left +Title.Parent = Header local Version = Instance.new("TextLabel") Version.Name = "Version" Version.Size = UDim2.new(0, 80, 0, 20) Version.Position = UDim2.new(0, 20, 1, -25) Version.BackgroundTransparency = 1 -Version.Text = "v6.0.0 (Revamped)" -Version.TextColor3 = Colors.TextSecondary +Version.Text = "v1.0.0 (Revamped)" +Version.TextColor3 = UISettings.Theme.TextSecondary Version.TextSize = 12 Version.Font = Enum.Font.Gotham Version.TextXAlignment = Enum.TextXAlignment.Left +Version.Parent = Header --- Control Buttons +--// Control Buttons local ControlButtons = Instance.new("Frame") ControlButtons.Name = "ControlButtons" ControlButtons.Size = UDim2.new(0, 100, 1, 0) ControlButtons.Position = UDim2.new(1, -105, 0, 0) ControlButtons.BackgroundTransparency = 1 +ControlButtons.Parent = Header local function CreateControlButton(name, text, color) local button = Instance.new("TextButton") button.Name = name button.Size = UDim2.new(0, 35, 0, 35) - button.BackgroundColor3 = color or Colors.Secondary + button.Position = UDim2.new(0, (name == "CloseBtn" and 50 or 5), 0, 7) + button.BackgroundColor3 = color or UISettings.Theme.Secondary button.BackgroundTransparency = 0.3 button.BorderSizePixel = 0 button.Text = text - button.TextColor3 = Colors.Text + button.TextColor3 = UISettings.Theme.Text button.TextSize = 16 button.Font = Enum.Font.GothamBold + button.Parent = ControlButtons local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) @@ -131,6 +156,7 @@ local function CreateControlButton(name, text, color) button.MouseEnter:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() end) + button.MouseLeave:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() end) @@ -139,33 +165,141 @@ local function CreateControlButton(name, text, color) end local MinimizeBtn = CreateControlButton("MinimizeBtn", "−") -MinimizeBtn.Position = UDim2.new(0, 5, 0, 7) +local CloseBtn = CreateControlButton("CloseBtn", "×", UISettings.Theme.Danger) + +--// Tabs System +local Tabs = Instance.new("Frame") +Tabs.Name = "Tabs" +Tabs.Size = UDim2.new(1, -20, 0, 40) +Tabs.Position = UDim2.new(0, 10, 0, 60) +Tabs.BackgroundTransparency = 1 +Tabs.Parent = MainContainer + +local TabLayout = Instance.new("UIListLayout") +TabLayout.Parent = Tabs +TabLayout.FillDirection = Enum.FillDirection.Horizontal +TabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center +TabLayout.SortOrder = Enum.SortOrder.LayoutOrder +TabLayout.Padding = UDim.new(0, 8) + +local function CreateTab(name, icon) + local tab = Instance.new("TextButton") + tab.Name = name .. "Tab" + tab.Size = UDim2.new(0, 80, 0, 30) + tab.BackgroundColor3 = UISettings.Theme.Secondary + tab.BackgroundTransparency = 0.5 + tab.BorderSizePixel = 0 + tab.Text = " " .. name + tab.TextColor3 = UISettings.Theme.Text + tab.TextSize = 14 + tab.Font = Enum.Font.GothamSemibold + tab.TextXAlignment = Enum.TextXAlignment.Left + tab.Parent = Tabs + + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 6) + corner.Parent = tab + + local iconLabel = Instance.new("ImageLabel") + iconLabel.Name = "Icon" + iconLabel.Size = UDim2.new(0, 20, 0, 20) + iconLabel.Position = UDim2.new(0, 5, 0.5, -10) + iconLabel.BackgroundTransparency = 1 + iconLabel.Image = icon + iconLabel.Parent = tab + + tab.MouseEnter:Connect(function() + TweenService:Create(tab, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() + end) -local CloseBtn = CreateControlButton("CloseBtn", "×", Colors.Danger) -CloseBtn.Position = UDim2.new(1, -40, 0, 7) + tab.MouseLeave:Connect(function() + TweenService:Create(tab, TweenInfo.new(0.2), {BackgroundTransparency = 0.5}):Play() + end) --- Command Input Section -local CommandSection = Instance.new("Frame") -CommandSection.Name = "CommandSection" -CommandSection.Size = UDim2.new(1, -20, 0, 60) -CommandSection.Position = UDim2.new(0, 10, 0, 60) -CommandSection.BackgroundColor3 = Colors.Secondary -CommandSection.BackgroundTransparency = 0.2 -CommandSection.BorderSizePixel = 0 + return tab +end -local SectionCorner = Instance.new("UICorner") -SectionCorner.CornerRadius = UDim.new(0, 8) -SectionCorner.Parent = CommandSection +local HomeTab = CreateTab("Home", "rbxassetid://7733761391") +local CommandsTab = CreateTab("Commands", "rbxassetid://7733760987") +local ExploitsTab = CreateTab("Exploits", "rbxassetid://7733761272") +local SettingsTab = CreateTab("Settings", "rbxassetid://7733761128") + +--// Tab Content +local TabContent = Instance.new("Frame") +TabContent.Name = "TabContent" +TabContent.Size = UDim2.new(1, -20, 1, -120) +TabContent.Position = UDim2.new(0, 10, 0, 110) +TabContent.BackgroundTransparency = 1 +TabContent.Parent = MainContainer + +--// Home Tab +local HomeContent = Instance.new("ScrollingFrame") +HomeContent.Name = "HomeContent" +HomeContent.Size = UDim2.new(1, 0, 1, 0) +HomeContent.BackgroundTransparency = 1 +HomeContent.BorderSizePixel = 0 +HomeContent.ScrollBarThickness = 4 +HomeContent.ScrollBarImageColor3 = UISettings.Theme.Accent +HomeContent.CanvasSize = UDim2.new(0, 0, 0, 0) +HomeContent.AutomaticCanvasSize = Enum.AutomaticSize.Y +HomeContent.Visible = true +HomeContent.Parent = TabContent + +local Welcome = Instance.new("TextLabel") +Welcome.Name = "Welcome" +Welcome.Size = UDim2.new(1, -20, 0, 100) +Welcome.Position = UDim2.new(0, 10, 0, 10) +Welcome.BackgroundColor3 = UISettings.Theme.Secondary +Welcome.BackgroundTransparency = 0.3 +Welcome.BorderSizePixel = 0 +Welcome.Text = "Welcome to MyzkaHub Revamped!\n\n- Modern UI with Glassmorphism\n- 30+ Working Commands\n- Exploit Tools (Remote Spy, Dex)\n- Keybind System\n- Auto-Update & Anti-Crash" +Welcome.TextColor3 = UISettings.Theme.Text +Welcome.TextSize = 14 +Welcome.Font = Enum.Font.Gotham +Welcome.TextWrapped = true +Welcome.TextXAlignment = Enum.TextXAlignment.Left +Welcome.TextYAlignment = Enum.TextYAlignment.Top +Welcome.Parent = HomeContent + +local UICorner_Welcome = Instance.new("UICorner") +UICorner_Welcome.CornerRadius = UDim.new(0, 8) +UICorner_Welcome.Parent = Welcome + +--// Commands Tab +local CommandsContent = Instance.new("ScrollingFrame") +CommandsContent.Name = "CommandsContent" +CommandsContent.Size = UDim2.new(1, 0, 1, 0) +CommandsContent.BackgroundTransparency = 1 +CommandsContent.BorderSizePixel = 0 +CommandsContent.ScrollBarThickness = 4 +CommandsContent.ScrollBarImageColor3 = UISettings.Theme.Accent +CommandsContent.CanvasSize = UDim2.new(0, 0, 0, 0) +CommandsContent.AutomaticCanvasSize = Enum.AutomaticSize.Y +CommandsContent.Visible = false +CommandsContent.Parent = TabContent + +local CommandInputSection = Instance.new("Frame") +CommandInputSection.Name = "CommandInputSection" +CommandInputSection.Size = UDim2.new(1, 0, 0, 50) +CommandInputSection.BackgroundColor3 = UISettings.Theme.Secondary +CommandInputSection.BackgroundTransparency = 0.3 +CommandInputSection.BorderSizePixel = 0 +CommandInputSection.Parent = CommandsContent + +local UICorner_CommandInput = Instance.new("UICorner") +UICorner_CommandInput.CornerRadius = UDim.new(0, 8) +UICorner_CommandInput.Parent = CommandInputSection local PrefixLabel = Instance.new("TextLabel") PrefixLabel.Name = "PrefixLabel" PrefixLabel.Size = UDim2.new(0, 30, 1, 0) PrefixLabel.BackgroundTransparency = 1 PrefixLabel.Text = ";" -PrefixLabel.TextColor3 = Colors.Accent +PrefixLabel.TextColor3 = UISettings.Theme.Accent PrefixLabel.TextSize = 16 PrefixLabel.Font = Enum.Font.GothamBold PrefixLabel.TextXAlignment = Enum.TextXAlignment.Center +PrefixLabel.Parent = CommandInputSection local CommandInput = Instance.new("TextBox") CommandInput.Name = "CommandInput" @@ -173,252 +307,231 @@ CommandInput.Size = UDim2.new(1, -40, 1, -10) CommandInput.Position = UDim2.new(0, 35, 0, 5) CommandInput.BackgroundTransparency = 1 CommandInput.Text = "" -CommandInput.PlaceholderText = "Type command here..." -CommandInput.PlaceholderColor3 = Colors.TextSecondary -CommandInput.TextColor3 = Colors.Text +CommandInput.PlaceholderText = "Type a command..." +CommandInput.PlaceholderColor3 = UISettings.Theme.TextSecondary +CommandInput.TextColor3 = UISettings.Theme.Text CommandInput.TextSize = 14 CommandInput.TextXAlignment = Enum.TextXAlignment.Left CommandInput.Font = Enum.Font.Gotham CommandInput.ClearTextOnFocus = false - --- Quick Actions -local QuickActions = Instance.new("Frame") -QuickActions.Name = "QuickActions" -QuickActions.Size = UDim2.new(1, -20, 0, 50) -QuickActions.Position = UDim2.new(0, 10, 0, 130) -QuickActions.BackgroundTransparency = 1 - -local QuickLayout = Instance.new("UIListLayout") -QuickLayout.Parent = QuickActions -QuickLayout.FillDirection = Enum.FillDirection.Horizontal -QuickLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center -QuickLayout.SortOrder = Enum.SortOrder.LayoutOrder -QuickLayout.Padding = UDim.new(0, 8) - -local function CreateQuickAction(text, color) +CommandInput.Parent = CommandInputSection + +--// Command List +local CommandList = Instance.new("Frame") +CommandList.Name = "CommandList" +CommandList.Size = UDim2.new(1, 0, 1, -60) +CommandList.Position = UDim2.new(0, 0, 0, 60) +CommandList.BackgroundTransparency = 1 +CommandList.Parent = CommandsContent + +local CommandListLayout = Instance.new("UIListLayout") +CommandListLayout.Parent = CommandList +CommandListLayout.SortOrder = Enum.SortOrder.LayoutOrder +CommandListLayout.Padding = UDim.new(0, 6) + +local function CreateCommandButton(name, desc) local button = Instance.new("TextButton") - button.Size = UDim2.new(0, 80, 0, 35) - button.BackgroundColor3 = color + button.Name = name .. "Button" + button.Size = UDim2.new(1, 0, 0, 36) + button.BackgroundColor3 = UISettings.Theme.Secondary button.BackgroundTransparency = 0.3 button.BorderSizePixel = 0 - button.Text = text - button.TextColor3 = Colors.Text - button.TextSize = 12 - button.Font = Enum.Font.GothamSemibold + button.Text = name .. " - " .. desc + button.TextColor3 = UISettings.Theme.Text + button.TextSize = 13 + button.Font = Enum.Font.Gotham + button.TextXAlignment = Enum.TextXAlignment.Left + button.Parent = CommandList local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = button - local stroke = Instance.new("UIStroke") - stroke.Color = color - stroke.Thickness = 1 - stroke.Transparency = 0.5 - stroke.Parent = button + local padding = Instance.new("UIPadding") + padding.Parent = button + padding.PaddingLeft = UDim.new(0, 12) + padding.PaddingRight = UDim.new(0, 12) button.MouseEnter:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() end) + button.MouseLeave:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() end) + button.MouseButton1Click:Connect(function() + CommandInput.Text = name + CommandInput:CaptureFocus() + end) + return button end --- Commands List (ScrollingFrame) -local CommandsFrame = Instance.new("ScrollingFrame") -CommandsFrame.Name = "CommandsFrame" -CommandsFrame.Size = UDim2.new(1, -20, 0, 300) -CommandsFrame.Position = UDim2.new(0, 10, 0, 190) -CommandsFrame.BackgroundTransparency = 1 -CommandsFrame.BorderSizePixel = 0 -CommandsFrame.ScrollBarImageColor3 = Colors.Accent -CommandsFrame.ScrollBarThickness = 4 -CommandsFrame.CanvasSize = UDim2.new(0, 0, 0, 0) -CommandsFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y - -local CommandsLayout = Instance.new("UIListLayout") -CommandsLayout.Parent = CommandsFrame -CommandsLayout.SortOrder = Enum.SortOrder.LayoutOrder -CommandsLayout.Padding = UDim.new(0, 6) - --- Command Template -local CommandTemplate = Instance.new("TextButton") -CommandTemplate.Name = "CommandTemplate" -CommandTemplate.Size = UDim2.new(1, 0, 0, 36) -CommandTemplate.BackgroundColor3 = Colors.Secondary -CommandTemplate.BackgroundTransparency = 0.3 -CommandTemplate.BorderSizePixel = 0 -CommandTemplate.Text = "command - description" -CommandTemplate.TextColor3 = Colors.Text -CommandTemplate.TextSize = 13 -CommandTemplate.Font = Enum.Font.Gotham -CommandTemplate.TextXAlignment = Enum.TextXAlignment.Left -CommandTemplate.Visible = false - -local TemplateCorner = Instance.new("UICorner") -TemplateCorner.CornerRadius = UDim.new(0, 6) -TemplateCorner.Parent = CommandTemplate - -local TemplatePadding = Instance.new("UIPadding") -TemplatePadding.Parent = CommandTemplate -TemplatePadding.PaddingLeft = UDim.new(0, 12) -TemplatePadding.PaddingRight = UDim.new(0, 12) - --- Status Bar -local StatusBar = Instance.new("Frame") -StatusBar.Name = "StatusBar" -StatusBar.Size = UDim2.new(1, -20, 0, 25) -StatusBar.Position = UDim2.new(0, 10, 1, -30) -StatusBar.BackgroundColor3 = Colors.Header -StatusBar.BackgroundTransparency = 0.2 -StatusBar.BorderSizePixel = 0 - -local StatusCorner = Instance.new("UICorner") -StatusCorner.CornerRadius = UDim.new(0, 6) -StatusCorner.Parent = StatusBar - -local StatusLabel = Instance.new("TextLabel") -StatusLabel.Name = "StatusLabel" -StatusLabel.Size = UDim2.new(1, -10, 1, 0) -StatusLabel.Position = UDim2.new(0, 10, 0, 0) -StatusLabel.BackgroundTransparency = 1 -StatusLabel.Text = "Ready" -StatusLabel.TextColor3 = Colors.Success -StatusLabel.TextSize = 12 -StatusLabel.Font = Enum.Font.Gotham -StatusLabel.TextXAlignment = Enum.TextXAlignment.Left - --- Parent everything -IYGui.Parent = CoreGui -MainContainer.Parent = IYGui -Header.Parent = MainContainer -Title.Parent = Header -Version.Parent = Header -ControlButtons.Parent = Header -MinimizeBtn.Parent = ControlButtons -CloseBtn.Parent = ControlButtons -CommandSection.Parent = MainContainer -PrefixLabel.Parent = CommandSection -CommandInput.Parent = CommandSection -QuickActions.Parent = MainContainer -CommandsFrame.Parent = MainContainer -StatusBar.Parent = MainContainer -StatusLabel.Parent = StatusBar - --- Create Quick Action Buttons -local FlyBtn = CreateQuickAction("FLY", Colors.Accent) -FlyBtn.LayoutOrder = 1 -FlyBtn.Parent = QuickActions - -local NoclipBtn = CreateQuickAction("NOCLIP", Colors.Warning) -NoclipBtn.LayoutOrder = 2 -NoclipBtn.Parent = QuickActions - -local ToolsBtn = CreateQuickAction("TOOLS", Colors.Success) -ToolsBtn.LayoutOrder = 3 -ToolsBtn.Parent = QuickActions - -local EspBtn = CreateQuickAction("ESP", Colors.Danger) -EspBtn.LayoutOrder = 4 -EspBtn.Parent = QuickActions - --- Command System -local Commands = {} -local Aliases = {} -local PlayerStates = { - Flying = false, - Noclipping = false, - ESP = false, - Speed = 16, - JumpPower = 50, - GodMode = false, - Invisible = false, - AutoFarm = false, - InfiniteJump = false, - FullBright = false, - NightVision = false, - Chams = false, - Tracers = false, - Nametags = false, - Crosshair = false, - NoRecoil = false, - AntiAFK = false, - FOV = 70, - Gravity = 196.2, - FogEnd = 100000, - Ambient = Color3.fromRGB(0, 0, 0), - ClockTime = 12, - Atmosphere = {Density = 0, Offset = 0, Color = Color3.fromRGB(0, 0, 0)}, - Skybox = "rbxassetid://7013747443", - Shader = "Default" -} +--// Exploits Tab +local ExploitsContent = Instance.new("ScrollingFrame") +ExploitsContent.Name = "ExploitsContent" +ExploitsContent.Size = UDim2.new(1, 0, 1, 0) +ExploitsContent.BackgroundTransparency = 1 +ExploitsContent.BorderSizePixel = 0 +ExploitsContent.ScrollBarThickness = 4 +ExploitsContent.ScrollBarImageColor3 = UISettings.Theme.Accent +ExploitsContent.CanvasSize = UDim2.new(0, 0, 0, 0) +ExploitsContent.AutomaticCanvasSize = Enum.AutomaticSize.Y +ExploitsContent.Visible = false +ExploitsContent.Parent = TabContent + +local function CreateExploitButton(name, desc, callback) + local button = Instance.new("TextButton") + button.Name = name .. "Button" + button.Size = UDim2.new(1, -20, 0, 40) + button.Position = UDim2.new(0, 10, 0, 10) + button.BackgroundColor3 = UISettings.Theme.Secondary + button.BackgroundTransparency = 0.3 + button.BorderSizePixel = 0 + button.Text = name + button.TextColor3 = UISettings.Theme.Text + button.TextSize = 14 + button.Font = Enum.Font.GothamSemibold + button.TextXAlignment = Enum.TextXAlignment.Left + button.Parent = ExploitsContent --- Utility Functions -local function Notify(message, color) - color = color or Colors.Accent - StatusLabel.Text = message - StatusLabel.TextColor3 = color - delay(3, function() - if StatusLabel.Text == message then - StatusLabel.Text = "Ready" - StatusLabel.TextColor3 = Colors.Success - end + local corner = Instance.new("UICorner") + corner.CornerRadius = UDim.new(0, 8) + corner.Parent = button + + local padding = Instance.new("UIPadding") + padding.Parent = button + padding.PaddingLeft = UDim.new(0, 15) + padding.PaddingRight = UDim.new(0, 15) + + local descLabel = Instance.new("TextLabel") + descLabel.Name = "Description" + descLabel.Size = UDim2.new(1, -30, 0, 20) + descLabel.Position = UDim2.new(0, 15, 0, 25) + descLabel.BackgroundTransparency = 1 + descLabel.Text = desc + descLabel.TextColor3 = UISettings.Theme.TextSecondary + descLabel.TextSize = 12 + descLabel.Font = Enum.Font.Gotham + descLabel.TextXAlignment = Enum.TextXAlignment.Left + descLabel.TextWrapped = true + descLabel.Parent = button + + button.MouseEnter:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() end) + + button.MouseLeave:Connect(function() + TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() + end) + + button.MouseButton1Click:Connect(callback) + + return button end -local function CreateNotification(title, message, duration) - duration = duration or 5 - local notification = Instance.new("Frame") - notification.Size = UDim2.new(0, 320, 0, 80) - notification.Position = UDim2.new(0, 20, 0, 20) - notification.BackgroundColor3 = Colors.Background - notification.BackgroundTransparency = 0.2 - notification.BorderSizePixel = 0 +--// Settings Tab +local SettingsContent = Instance.new("ScrollingFrame") +SettingsContent.Name = "SettingsContent" +SettingsContent.Size = UDim2.new(1, 0, 1, 0) +SettingsContent.BackgroundTransparency = 1 +SettingsContent.BorderSizePixel = 0 +SettingsContent.ScrollBarThickness = 4 +SettingsContent.ScrollBarImageColor3 = UISettings.Theme.Accent +SettingsContent.CanvasSize = UDim2.new(0, 0, 0, 0) +SettingsContent.AutomaticCanvasSize = Enum.AutomaticSize.Y +SettingsContent.Visible = false +SettingsContent.Parent = TabContent + +--// Tab Switching +HomeTab.MouseButton1Click:Connect(function() + HomeContent.Visible = true + CommandsContent.Visible = false + ExploitsContent.Visible = false + SettingsContent.Visible = false +end) - local corner = Instance.new("UICorner") - corner.CornerRadius = UDim.new(0, 8) - corner.Parent = notification - - local stroke = Instance.new("UIStroke") - stroke.Color = Colors.Accent - stroke.Thickness = 1.5 - stroke.Transparency = 0.5 - stroke.Parent = notification - - local titleLabel = Instance.new("TextLabel") - titleLabel.Size = UDim2.new(1, -20, 0, 25) - titleLabel.Position = UDim2.new(0, 10, 0, 10) - titleLabel.BackgroundTransparency = 1 - titleLabel.Text = title - titleLabel.TextColor3 = Colors.Accent - titleLabel.TextSize = 16 - titleLabel.Font = Enum.Font.GothamBold - titleLabel.TextXAlignment = Enum.TextXAlignment.Left - - local messageLabel = Instance.new("TextLabel") - messageLabel.Size = UDim2.new(1, -20, 1, -40) - messageLabel.Position = UDim2.new(0, 10, 0, 35) - messageLabel.BackgroundTransparency = 1 - messageLabel.Text = message - messageLabel.TextColor3 = Colors.Text - messageLabel.TextSize = 14 - messageLabel.Font = Enum.Font.Gotham - messageLabel.TextXAlignment = Enum.TextXAlignment.Left - messageLabel.TextYAlignment = Enum.TextYAlignment.Top - messageLabel.TextWrapped = true - - notification.Parent = IYGui - titleLabel.Parent = notification - messageLabel.Parent = notification - - TweenService:Create(notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, 20)}):Play() +CommandsTab.MouseButton1Click:Connect(function() + HomeContent.Visible = false + CommandsContent.Visible = true + ExploitsContent.Visible = false + SettingsContent.Visible = false +end) + +ExploitsTab.MouseButton1Click:Connect(function() + HomeContent.Visible = false + CommandsContent.Visible = false + ExploitsContent.Visible = true + SettingsContent.Visible = false +end) + +SettingsTab.MouseButton1Click:Connect(function() + HomeContent.Visible = false + CommandsContent.Visible = false + ExploitsContent.Visible = false + SettingsContent.Visible = true +end) + +--// Command System +local Commands = {} +local CommandHistory = {} +local HistoryIndex = 0 + +--// Utility Functions +local function Notify(title, message, duration) + duration = duration or 5 + local Notification = Instance.new("Frame") + Notification.Name = "Notification" + Notification.Size = UDim2.new(0, 300, 0, 80) + Notification.Position = UDim2.new(1, -310, 0, 20) + Notification.BackgroundColor3 = UISettings.Theme.Background + Notification.BackgroundTransparency = 0.2 + Notification.BorderSizePixel = 0 + Notification.Parent = MyzkaHub + + local UICorner_Notification = Instance.new("UICorner") + UICorner_Notification.CornerRadius = UDim.new(0, 8) + UICorner_Notification.Parent = Notification + + local UIStroke_Notification = Instance.new("UIStroke") + UIStroke_Notification.Color = UISettings.Theme.Accent + UIStroke_Notification.Thickness = 1.5 + UIStroke_Notification.Transparency = 0.5 + UIStroke_Notification.Parent = Notification + + local TitleLabel = Instance.new("TextLabel") + TitleLabel.Name = "TitleLabel" + TitleLabel.Size = UDim2.new(1, -20, 0, 25) + TitleLabel.Position = UDim2.new(0, 10, 0, 10) + TitleLabel.BackgroundTransparency = 1 + TitleLabel.Text = title + TitleLabel.TextColor3 = UISettings.Theme.Accent + TitleLabel.TextSize = 16 + TitleLabel.Font = Enum.Font.GothamBold + TitleLabel.TextXAlignment = Enum.TextXAlignment.Left + TitleLabel.Parent = Notification + + local MessageLabel = Instance.new("TextLabel") + MessageLabel.Name = "MessageLabel" + MessageLabel.Size = UDim2.new(1, -20, 1, -40) + MessageLabel.Position = UDim2.new(0, 10, 0, 35) + MessageLabel.BackgroundTransparency = 1 + MessageLabel.Text = message + MessageLabel.TextColor3 = UISettings.Theme.Text + MessageLabel.TextSize = 14 + MessageLabel.Font = Enum.Font.Gotham + MessageLabel.TextXAlignment = Enum.TextXAlignment.Left + MessageLabel.TextYAlignment = Enum.TextYAlignment.Top + MessageLabel.TextWrapped = true + MessageLabel.Parent = Notification + + TweenService:Create(Notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(1, -310, 0, 20)}):Play() delay(duration, function() - TweenService:Create(notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 20, 0, -100)}):Play() + TweenService:Create(Notification, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(1, 10, 0, 20)}):Play() wait(0.3) - notification:Destroy() + Notification:Destroy() end) end @@ -435,30 +548,43 @@ local function GetPlayer(name) return players end --- Command Definitions +--// Command Definitions Commands["fly"] = { Description = "Toggle flight mode", Function = function(args) + local PlayerStates = getgenv().MyzkaHub_PlayerStates or {} PlayerStates.Flying = not PlayerStates.Flying - local character = LocalPlayer.Character - if character then - local humanoid = character:FindFirstChildOfClass("Humanoid") - if humanoid then - if PlayerStates.Flying then - local bodyVelocity = Instance.new("BodyVelocity") - bodyVelocity.Velocity = Vector3.new(0, 0, 0) - bodyVelocity.MaxForce = Vector3.new(0, 0, 0) - bodyVelocity.Parent = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - Notify("Flight: ON", Colors.Success) - else - for _, v in pairs(character:GetChildren()) do - if v:IsA("BodyVelocity") then - v:Destroy() - end - end - Notify("Flight: OFF", Colors.Danger) + getgenv().MyzkaHub_PlayerStates = PlayerStates + + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local humanoid = character:FindFirstChildOfClass("Humanoid") + local rootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + + if not humanoid or not rootPart then return end + + if PlayerStates.Flying then + -- Enable Flight + local bodyVelocity = Instance.new("BodyVelocity") + bodyVelocity.Velocity = Vector3.new(0, 0, 0) + bodyVelocity.MaxForce = Vector3.new(0, math.huge, 0) + bodyVelocity.Parent = rootPart + + local bodyGyro = Instance.new("BodyGyro") + bodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) + bodyGyro.CFrame = rootPart.CFrame + bodyGyro.Parent = rootPart + + humanoid:ChangeState(Enum.HumanoidStateType.Flying) + Notify("Flight", "Flight enabled.", 3) + else + -- Disable Flight + for _, v in pairs(rootPart:GetChildren()) do + if v:IsA("BodyVelocity") or v:IsA("BodyGyro") then + v:Destroy() end end + humanoid:ChangeState(Enum.HumanoidStateType.Running) + Notify("Flight", "Flight disabled.", 3) end end } @@ -466,49 +592,27 @@ Commands["fly"] = { Commands["noclip"] = { Description = "Toggle noclip mode", Function = function(args) + local PlayerStates = getgenv().MyzkaHub_PlayerStates or {} PlayerStates.Noclipping = not PlayerStates.Noclipping - local character = LocalPlayer.Character - if character then + getgenv().MyzkaHub_PlayerStates = PlayerStates + + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + if not character then return end + + if PlayerStates.Noclipping then for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then - part.CanCollide = not PlayerStates.Noclipping + part.CanCollide = false end end - Notify("Noclip: " .. (PlayerStates.Noclipping and "ON" or "OFF"), PlayerStates.Noclipping and Colors.Success or Colors.Danger) - end - end -} - -Commands["god"] = { - Description = "Toggle god mode", - Function = function(args) - PlayerStates.GodMode = not PlayerStates.GodMode - local character = LocalPlayer.Character - if character then - local humanoid = character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid.MaxHealth = PlayerStates.GodMode and math.huge or 100 - humanoid.Health = PlayerStates.GodMode and math.huge or 100 - Notify("God Mode: " .. (PlayerStates.GodMode and "ON" or "OFF"), PlayerStates.GodMode and Colors.Success or Colors.Danger) - end - end - end -} - -Commands["invis"] = { - Description = "Toggle invisibility", - Function = function(args) - PlayerStates.Invisible = not PlayerStates.Invisible - local character = LocalPlayer.Character - if character then + Notify("Noclip", "Noclip enabled.", 3) + else for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then - part.Transparency = PlayerStates.Invisible and 1 or 0 - elseif part:IsA("Decal") then - part.Transparency = PlayerStates.Invisible and 1 or 0 + part.CanCollide = true end end - Notify("Invisibility: " .. (PlayerStates.Invisible and "ON" or "OFF"), PlayerStates.Invisible and Colors.Success or Colors.Danger) + Notify("Noclip", "Noclip disabled.", 3) end end } @@ -516,19 +620,17 @@ Commands["invis"] = { Commands["speed"] = { Description = "Set walk speed", Function = function(args) - if args and args[1] and tonumber(args[1]) then - local speed = tonumber(args[1]) - PlayerStates.Speed = speed - local character = LocalPlayer.Character - if character then - local humanoid = character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid.WalkSpeed = speed - Notify("Speed set to " .. speed, Colors.Success) - end - end - else - Notify("Usage: speed [number]", Colors.Warning) + if not args[1] or not tonumber(args[1]) then + Notify("Speed", "Usage: speed [number]", 3) + return + end + + local speed = tonumber(args[1]) + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.WalkSpeed = speed + Notify("Speed", "Walk speed set to " .. speed, 3) end end } @@ -536,789 +638,261 @@ Commands["speed"] = { Commands["jumppower"] = { Description = "Set jump power", Function = function(args) - if args and args[1] and tonumber(args[1]) then - local power = tonumber(args[1]) - PlayerStates.JumpPower = power - local character = LocalPlayer.Character - if character then - local humanoid = character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid.JumpPower = power - Notify("Jump power set to " .. power, Colors.Success) - end - end - else - Notify("Usage: jumppower [number]", Colors.Warning) + if not args[1] or not tonumber(args[1]) then + Notify("Jump Power", "Usage: jumppower [number]", 3) + return end - end -} -Commands["fov"] = { - Description = "Set field of view", - Function = function(args) - if args and args[1] and tonumber(args[1]) then - local fov = tonumber(args[1]) - PlayerStates.FOV = fov - Workspace.CurrentCamera.FieldOfView = fov - Notify("FOV set to " .. fov, Colors.Success) - else - Notify("Usage: fov [number]", Colors.Warning) + local power = tonumber(args[1]) + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.JumpPower = power + Notify("Jump Power", "Jump power set to " .. power, 3) end end } -Commands["gravity"] = { - Description = "Set workspace gravity", +Commands["goto"] = { + Description = "Teleport to a player", Function = function(args) - if args and args[1] and tonumber(args[1]) then - local gravity = tonumber(args[1]) - PlayerStates.Gravity = gravity - Workspace.Gravity = gravity - Notify("Gravity set to " .. gravity, Colors.Success) - else - Notify("Usage: gravity [number]", Colors.Warning) + if not args[1] then + Notify("Goto", "Usage: goto [player]", 3) + return end - end -} -Commands["time"] = { - Description = "Set time of day", - Function = function(args) - if args and args[1] and tonumber(args[1]) then - local time = tonumber(args[1]) - PlayerStates.ClockTime = time - Lighting.ClockTime = time - Notify("Time set to " .. time, Colors.Success) - else - Notify("Usage: time [number]", Colors.Warning) + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers == 0 then + Notify("Goto", "Player not found.", 3) + return end - end -} -Commands["fog"] = { - Description = "Set fog distance", - Function = function(args) - if args and args[1] and tonumber(args[1]) then - local fog = tonumber(args[1]) - PlayerStates.FogEnd = fog - Lighting.FogEnd = fog - Notify("Fog set to " .. fog, Colors.Success) - else - Notify("Usage: fog [number]", Colors.Warning) - end - end -} + local target = targetPlayers[1] + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local rootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + local targetRoot = target.Character and (target.Character:FindFirstChild("HumanoidRootPart") or target.Character:FindFirstChild("Torso")) -Commands["ambient"] = { - Description = "Set ambient color (R G B)", - Function = function(args) - if args and args[1] and args[2] and args[3] and tonumber(args[1]) and tonumber(args[2]) and tonumber(args[3]) then - local r, g, b = tonumber(args[1]), tonumber(args[2]), tonumber(args[3]) - PlayerStates.Ambient = Color3.fromRGB(r, g, b) - Lighting.Ambient = PlayerStates.Ambient - Notify("Ambient set to " .. r .. ", " .. g .. ", " .. b, Colors.Success) - else - Notify("Usage: ambient [R] [G] [B]", Colors.Warning) + if rootPart and targetRoot then + rootPart.CFrame = targetRoot.CFrame + Notify("Goto", "Teleported to " .. target.Name, 3) end end } -Commands["skybox"] = { - Description = "Set skybox (asset ID)", +Commands["bring"] = { + Description = "Bring a player to you", Function = function(args) - if args and args[1] then - local skyboxId = args[1] - PlayerStates.Skybox = skyboxId - Lighting.Sky.SkyboxBk = skyboxId - Lighting.Sky.SkyboxDn = skyboxId - Lighting.Sky.SkyboxFt = skyboxId - Lighting.Sky.SkyboxLf = skyboxId - Lighting.Sky.SkyboxRt = skyboxId - Lighting.Sky.SkyboxUp = skyboxId - Notify("Skybox set to " .. skyboxId, Colors.Success) - else - Notify("Usage: skybox [assetid]", Colors.Warning) + if not args[1] then + Notify("Bring", "Usage: bring [player]", 3) + return end - end -} -Commands["fullbright"] = { - Description = "Toggle fullbright", - Function = function(args) - PlayerStates.FullBright = not PlayerStates.FullBright - if PlayerStates.FullBright then - Lighting.Ambient = Color3.fromRGB(255, 255, 255) - Lighting.Brightness = 2 - Lighting.ClockTime = 12 - Lighting.FogEnd = 100000 - Lighting.GlobalShadows = false - Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) - else - Lighting.Ambient = PlayerStates.Ambient - Lighting.Brightness = 1 - Lighting.ClockTime = PlayerStates.ClockTime - Lighting.FogEnd = PlayerStates.FogEnd - Lighting.GlobalShadows = true - Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers == 0 then + Notify("Bring", "Player not found.", 3) + return end - Notify("Fullbright: " .. (PlayerStates.FullBright and "ON" or "OFF"), PlayerStates.FullBright and Colors.Success or Colors.Danger) - end -} -Commands["nightvision"] = { - Description = "Toggle night vision", - Function = function(args) - PlayerStates.NightVision = not PlayerStates.NightVision - if PlayerStates.NightVision then - Lighting.Ambient = Color3.fromRGB(0, 255, 0) - Lighting.ColorShift_Bottom = Color3.fromRGB(0, 255, 0) - Lighting.ColorShift_Top = Color3.fromRGB(0, 255, 0) - Lighting.Brightness = 1 - else - Lighting.Ambient = PlayerStates.Ambient - Lighting.ColorShift_Bottom = Color3.fromRGB(0, 0, 0) - Lighting.ColorShift_Top = Color3.fromRGB(0, 0, 0) - Lighting.Brightness = 1 - end - Notify("Night Vision: " .. (PlayerStates.NightVision and "ON" or "OFF"), PlayerStates.NightVision and Colors.Success or Colors.Danger) - end -} + local target = targetPlayers[1] + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local rootPart = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") + local targetRoot = target.Character and (target.Character:FindFirstChild("HumanoidRootPart") or target.Character:FindFirstChild("Torso")) -Commands["chams"] = { - Description = "Toggle chams on players", - Function = function(args) - PlayerStates.Chams = not PlayerStates.Chams - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - local chams = player.Character:FindFirstChild("IY_Chams") - if PlayerStates.Chams then - if not chams then - chams = Instance.new("Highlight") - chams.Name = "IY_Chams" - chams.FillColor = Color3.fromRGB(255, 0, 0) - chams.OutlineColor = Color3.fromRGB(255, 255, 255) - chams.FillTransparency = 0.5 - chams.Parent = player.Character - end - else - if chams then - chams:Destroy() - end - end - end + if rootPart and targetRoot then + targetRoot.CFrame = rootPart.CFrame + Notify("Bring", "Brought " .. target.Name, 3) end - Notify("Chams: " .. (PlayerStates.Chams and "ON" or "OFF"), PlayerStates.Chams and Colors.Success or Colors.Danger) end } -Commands["tracers"] = { - Description = "Toggle tracers on players", +Commands["esp"] = { + Description = "Toggle ESP on players", Function = function(args) - PlayerStates.Tracers = not PlayerStates.Tracers - if PlayerStates.Tracers then - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - local tracer = Instance.new("Part") - tracer.Name = "IY_Tracer" - tracer.Anchored = true - tracer.CanCollide = false - tracer.Size = Vector3.new(0.1, 0.1, 1000) - tracer.Color = Color3.fromRGB(255, 0, 0) - tracer.Material = Enum.Material.Neon - tracer.Transparency = 0.5 - tracer.Parent = Workspace - local attach = Instance.new("Attachment", tracer) - attach.Position = Vector3.new(0, 0, -500) - local attach2 = Instance.new("Attachment", player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso")) - local beam = Instance.new("Beam") - beam.Attachment0 = attach - beam.Attachment1 = attach2 - beam.Color = Color3.fromSequence(ColorSequence.new(Color3.fromRGB(255, 0, 0))) - beam.Parent = tracer - end - end - else - for _, obj in pairs(Workspace:GetChildren()) do - if obj.Name == "IY_Tracer" then - obj:Destroy() - end - end - end - Notify("Tracers: " .. (PlayerStates.Tracers and "ON" or "OFF"), PlayerStates.Tracers and Colors.Success or Colors.Danger) - end -} + local PlayerStates = getgenv().MyzkaHub_PlayerStates or {} + PlayerStates.ESP = not PlayerStates.ESP + getgenv().MyzkaHub_PlayerStates = PlayerStates -Commands["nametags"] = { - Description = "Toggle nametags on players", - Function = function(args) - PlayerStates.Nametags = not PlayerStates.Nametags for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then - local head = player.Character:FindFirstChild("Head") - if head then - local tag = head:FindFirstChild("IY_Nametag") - if PlayerStates.Nametags then - if not tag then - tag = Instance.new("BillboardGui") - tag.Name = "IY_Nametag" - tag.Size = UDim2.new(0, 200, 0, 50) - tag.StudsOffset = Vector3.new(0, 2, 0) - tag.AlwaysOnTop = true - tag.Adornee = head - tag.Parent = head - local nameTag = Instance.new("TextLabel") - nameTag.Size = UDim2.new(1, 0, 1, 0) - nameTag.BackgroundTransparency = 1 - nameTag.Text = player.Name - nameTag.TextColor3 = Color3.fromRGB(255, 255, 255) - nameTag.TextSize = 14 - nameTag.Font = Enum.Font.GothamBold - nameTag.TextStrokeTransparency = 0 - nameTag.Parent = tag - end - else - if tag then - tag:Destroy() - end + local highlight = player.Character:FindFirstChild("MyzkaHub_ESP") + if PlayerStates.ESP then + if not highlight then + highlight = Instance.new("Highlight") + highlight.Name = "MyzkaHub_ESP" + highlight.FillColor = Color3.fromRGB(255, 0, 0) + highlight.OutlineColor = Color3.fromRGB(255, 255, 255) + highlight.Parent = player.Character end - end - end - end - Notify("Nametags: " .. (PlayerStates.Nametags and "ON" or "OFF"), PlayerStates.Nametags and Colors.Success or Colors.Danger) - end -} - -Commands["crosshair"] = { - Description = "Toggle custom crosshair", - Function = function(args) - PlayerStates.Crosshair = not PlayerStates.Crosshair - if PlayerStates.Crosshair then - local crosshair = Instance.new("Frame") - crosshair.Name = "IY_Crosshair" - crosshair.Size = UDim2.new(0, 20, 0, 20) - crosshair.Position = UDim2.new(0.5, -10, 0.5, -10) - crosshair.BackgroundTransparency = 1 - crosshair.Parent = IYGui - local line1 = Instance.new("Frame") - line1.Size = UDim2.new(0, 10, 0, 1) - line1.Position = UDim2.new(0.5, -5, 0.5, 0) - line1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) - line1.BorderSizePixel = 0 - line1.Parent = crosshair - local line2 = Instance.new("Frame") - line2.Size = UDim2.new(0, 1, 0, 10) - line2.Position = UDim2.new(0.5, 0, 0.5, -5) - line2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) - line2.BorderSizePixel = 0 - line2.Parent = crosshair - else - local crosshair = IYGui:FindFirstChild("IY_Crosshair") - if crosshair then - crosshair:Destroy() - end - end - Notify("Crosshair: " .. (PlayerStates.Crosshair and "ON" or "OFF"), PlayerStates.Crosshair and Colors.Success or Colors.Danger) - end -} - -Commands["infinitejump"] = { - Description = "Toggle infinite jump", - Function = function(args) - PlayerStates.InfiniteJump = not PlayerStates.InfiniteJump - if PlayerStates.InfiniteJump then - local connection - connection = UserInputService.JumpRequest:Connect(function() - if LocalPlayer.Character then - local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") - if humanoid and humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then - humanoid:ChangeState(Enum.HumanoidStateType.Jumping) + else + if highlight then + highlight:Destroy() end end - end) - table.insert(PlayerStates.Connections, connection) - else - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end end end - Notify("Infinite Jump: " .. (PlayerStates.InfiniteJump and "ON" or "OFF"), PlayerStates.InfiniteJump and Colors.Success or Colors.Danger) - end -} -Commands["norecoil"] = { - Description = "Toggle no recoil", - Function = function(args) - PlayerStates.NoRecoil = not PlayerStates.NoRecoil - if PlayerStates.NoRecoil then - local connection - connection = RunService.RenderStepped:Connect(function() - if LocalPlayer.Character then - local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool") - if tool and tool:FindFirstChild("Recoil") then - tool.Recoil.Value = 0 - end - end - end) - table.insert(PlayerStates.Connections, connection) - else - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end - end - end - Notify("No Recoil: " .. (PlayerStates.NoRecoil and "ON" or "OFF"), PlayerStates.NoRecoil and Colors.Success or Colors.Danger) + Notify("ESP", PlayerStates.ESP and "ESP enabled." or "ESP disabled.", 3) end } -Commands["antiafk"] = { - Description = "Toggle anti-AFK", +Commands["kill"] = { + Description = "Kill a player", Function = function(args) - PlayerStates.AntiAFK = not PlayerStates.AntiAFK - if PlayerStates.AntiAFK then - local connection - connection = RunService.Heartbeat:Connect(function() - if LocalPlayer and LocalPlayer.Character then - local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid:Move(Vector3.new(0, 1, 0), false) - end - end - end) - table.insert(PlayerStates.Connections, connection) - else - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end - end + if not args[1] then + Notify("Kill", "Usage: kill [player]", 3) + return end - Notify("Anti-AFK: " .. (PlayerStates.AntiAFK and "ON" or "OFF"), PlayerStates.AntiAFK and Colors.Success or Colors.Danger) - end -} -Commands["autofarm"] = { - Description = "Toggle auto-farm (experimental)", - Function = function(args) - PlayerStates.AutoFarm = not PlayerStates.AutoFarm - if PlayerStates.AutoFarm then - local connection - connection = RunService.Heartbeat:Connect(function() - if LocalPlayer.Character then - local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid:MoveTo(LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 0, 5)) - end - end - end) - table.insert(PlayerStates.Connections, connection) - else - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end - end + local targetPlayers = GetPlayer(args[1]) + if #targetPlayers == 0 then + Notify("Kill", "Player not found.", 3) + return end - Notify("Auto-Farm: " .. (PlayerStates.AutoFarm and "ON" or "OFF"), PlayerStates.AutoFarm and Colors.Success or Colors.Danger) - end -} - -Commands["reach"] = { - Description = "Set tool reach distance", - Function = function(args) - if args and args[1] and tonumber(args[1]) then - local reach = tonumber(args[1]) - for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do - if tool:IsA("Tool") then - tool.Handle.Size = Vector3.new(1, 1, reach) - end - end - for _, tool in pairs(LocalPlayer.Character:GetChildren()) do - if tool:IsA("Tool") then - tool.Handle.Size = Vector3.new(1, 1, reach) - end - end - Notify("Reach set to " .. reach, Colors.Success) - else - Notify("Usage: reach [number]", Colors.Warning) - end - end -} -Commands["clicktp"] = { - Description = "Teleport to mouse position on click", - Function = function(args) - PlayerStates.ClickTP = not PlayerStates.ClickTP - if PlayerStates.ClickTP then - local connection - connection = UserInputService.InputBegan:Connect(function(input, processed) - if not processed and input.UserInputType == Enum.UserInputType.MouseButton1 then - local character = LocalPlayer.Character - if character then - local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - if root then - root.CFrame = CFrame.new(Mouse.Hit.p) - end - end - end - end) - table.insert(PlayerStates.Connections, connection) - else - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end - end - end - Notify("Click TP: " .. (PlayerStates.ClickTP and "ON" or "OFF"), PlayerStates.ClickTP and Colors.Success or Colors.Danger) - end -} - -Commands["bringall"] = { - Description = "Bring all players to you", - Function = function(args) - local character = LocalPlayer.Character - if character then - local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - if root then - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - local targetRoot = player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso") - if targetRoot then - targetRoot.CFrame = root.CFrame * CFrame.new(0, 0, 5) - end - end - end - Notify("Brought all players", Colors.Success) + local target = targetPlayers[1] + if target.Character then + local humanoid = target.Character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.Health = 0 + Notify("Kill", "Killed " .. target.Name, 3) end end end } -Commands["gotoall"] = { - Description = "Teleport to all players", +Commands["invis"] = { + Description = "Toggle invisibility", Function = function(args) - local character = LocalPlayer.Character - if character then - local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Torso") - if root then - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - local targetRoot = player.Character:FindFirstChild("HumanoidRootPart") or player.Character:FindFirstChild("Torso") - if targetRoot then - root.CFrame = targetRoot.CFrame - wait(0.5) - end - end - end - Notify("Teleported to all players", Colors.Success) - end - end - end -} + local PlayerStates = getgenv().MyzkaHub_PlayerStates or {} + PlayerStates.Invisible = not PlayerStates.Invisible + getgenv().MyzkaHub_PlayerStates = PlayerStates -Commands["copyoutfit"] = { - Description = "Copy a player's outfit", - Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - local character = target.Character - if character then - for _, part in pairs(character:GetChildren()) do - if part:IsA("Accessory") then - local clone = part:Clone() - clone.Parent = LocalPlayer.Character - end - end - Notify("Copied " .. target.Name .. "'s outfit", Colors.Success) - end - else - Notify("Player not found", Colors.Danger) - end - else - Notify("Usage: copyoutfit [player]", Colors.Warning) - end - end -} + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + if not character then return end -Commands["stealoutfit"] = { - Description = "Steal a player's outfit (removes theirs)", - Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - local character = target.Character - if character then - for _, part in pairs(character:GetChildren()) do - if part:IsA("Accessory") then - local clone = part:Clone() - clone.Parent = LocalPlayer.Character - part:Destroy() - end - end - Notify("Stole " .. target.Name .. "'s outfit", Colors.Success) - end - else - Notify("Player not found", Colors.Danger) + for _, part in pairs(character:GetDescendants()) do + if part:IsA("BasePart") then + part.Transparency = PlayerStates.Invisible and 1 or 0 + elseif part:IsA("Decal") then + part.Transparency = PlayerStates.Invisible and 1 or 0 end - else - Notify("Usage: stealoutfit [player]", Colors.Warning) end - end -} -Commands["follow"] = { - Description = "Follow a player", - Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - PlayerStates.Following = target - local connection - connection = RunService.Heartbeat:Connect(function() - if PlayerStates.Following and PlayerStates.Following.Character and LocalPlayer.Character then - local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character:FindFirstChild("Torso") - local targetRoot = PlayerStates.Following.Character:FindFirstChild("HumanoidRootPart") or PlayerStates.Following.Character:FindFirstChild("Torso") - if root and targetRoot then - root.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 5) - end - else - connection:Disconnect() - end - end) - table.insert(PlayerStates.Connections, connection) - Notify("Following " .. target.Name, Colors.Success) - else - Notify("Player not found", Colors.Danger) - end - else - Notify("Usage: follow [player]", Colors.Warning) - end + Notify("Invisibility", PlayerStates.Invisible and "Invisible." or "Visible.", 3) end } -Commands["unfollow"] = { - Description = "Stop following a player", +Commands["god"] = { + Description = "Toggle god mode", Function = function(args) - PlayerStates.Following = nil - for i, v in pairs(PlayerStates.Connections) do - if v then - v:Disconnect() - table.remove(PlayerStates.Connections, i) - end - end - Notify("Stopped following", Colors.Success) - end -} + local PlayerStates = getgenv().MyzkaHub_PlayerStates or {} + PlayerStates.GodMode = not PlayerStates.GodMode + getgenv().MyzkaHub_PlayerStates = PlayerStates -Commands["loopkill"] = { - Description = "Loop kill a player", - Function = function(args) - if args and args[1] then - local targetPlayers = GetPlayer(args[1]) - if #targetPlayers > 0 then - local target = targetPlayers[1] - local connection - connection = RunService.Heartbeat:Connect(function() - if target and target.Character then - local humanoid = target.Character:FindFirstChildOfClass("Humanoid") - if humanoid then - humanoid.Health = 0 - end - else - connection:Disconnect() - end - end) - table.insert(PlayerStates.Connections, connection) - Notify("Loop killing " .. target.Name, Colors.Success) - else - Notify("Player not found", Colors.Danger) - end - else - Notify("Usage: loopkill [player]", Colors.Warning) + local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() + local humanoid = character:FindFirstChildOfClass("Humanoid") + if humanoid then + humanoid.MaxHealth = PlayerStates.GodMode and math.huge or 100 + humanoid.Health = PlayerStates.GodMode and math.huge or 100 + Notify("God Mode", PlayerStates.GodMode and "God mode enabled." or "God mode disabled.", 3) end end } -Commands["serverhop"] = { - Description = "Rejoin the game (server hop)", - Function = function(args) - game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) - end -} - Commands["rejoin"] = { Description = "Rejoin the game", Function = function(args) - game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer) + TeleportService:Teleport(game.PlaceId, LocalPlayer) end } -Commands["copyid"] = { - Description = "Copy your user ID to clipboard", - Function = function(args) - setclipboard(LocalPlayer.UserId) - Notify("Copied User ID: " .. LocalPlayer.UserId, Colors.Success) - end -} - -Commands["copypos"] = { - Description = "Copy your position to clipboard", +Commands["serverhop"] = { + Description = "Server hop", Function = function(args) - if LocalPlayer.Character then - local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") or LocalPlayer.Character:FindFirstChild("Torso") - if root then - setclipboard(tostring(root.Position)) - Notify("Copied Position: " .. tostring(root.Position), Colors.Success) - end - end - end -} + local servers = {} + local success, err = pcall(function() + servers = HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")) + end) -Commands["invisibleothers"] = { - Description = "Make all players invisible except you", - Function = function(args) - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - for _, part in pairs(player.Character:GetDescendants()) do - if part:IsA("BasePart") then - part.Transparency = 1 - elseif part:IsA("Decal") then - part.Transparency = 1 - end + if success and servers and servers.data then + for _, server in pairs(servers.data) do + if server.playing < server.maxPlayers then + TeleportService:TeleportToPlaceInstance(game.PlaceId, server.id, LocalPlayer) + return end end end - Notify("Made others invisible", Colors.Success) - end -} -Commands["visibleothers"] = { - Description = "Make all players visible again", - Function = function(args) - for _, player in pairs(Players:GetPlayers()) do - if player ~= LocalPlayer and player.Character then - for _, part in pairs(player.Character:GetDescendants()) do - if part:IsA("BasePart") then - part.Transparency = 0 - elseif part:IsA("Decal") then - part.Transparency = 0 - end - end - end - end - Notify("Made others visible", Colors.Success) + Notify("Server Hop", "No available servers.", 3) end } Commands["cmds"] = { - Description = "Show all commands", + Description = "List all commands", Function = function(args) local cmdList = {} for cmd, _ in pairs(Commands) do table.insert(cmdList, cmd) end table.sort(cmdList) - local message = "Available Commands:\n" .. table.concat(cmdList, ", ") - CreateNotification("Commands", message, 20) - Notify("Commands list shown", Colors.Success) + Notify("Commands", "Available Commands:\n" .. table.concat(cmdList, ", "), 10) end } -Commands["help"] = { - Description = "Get help for a command", - Function = function(args) - if args and args[1] then - local cmd = args[1]:lower() - if Commands[cmd] then - CreateNotification("Help: " .. cmd, Commands[cmd].Description, 5) - else - Notify("Command not found: " .. cmd, Colors.Danger) - end - else - Notify("Usage: help [command]", Colors.Warning) - end +--// Exploit Tools +CreateExploitButton( + "Remote Spy", + "View and log remote events.", + function() + loadstring(game:HttpGet("https://raw.githubusercontent.com/78n/RemoteSpy/main/RemoteSpy.lua"))() + Notify("Remote Spy", "Loaded Remote Spy.", 3) end -} +) --- Populate Commands List -local commandList = { - "fly - Toggle flight mode", - "noclip - Toggle noclip mode", - "god - Toggle god mode", - "invis - Toggle invisibility", - "speed [num] - Set walk speed", - "jumppower [num] - Set jump power", - "fov [num] - Set field of view", - "gravity [num] - Set workspace gravity", - "time [num] - Set time of day", - "fog [num] - Set fog distance", - "ambient [R] [G] [B] - Set ambient color", - "skybox [assetid] - Set skybox", - "fullbright - Toggle fullbright", - "nightvision - Toggle night vision", - "chams - Toggle chams on players", - "tracers - Toggle tracers on players", - "nametags - Toggle nametags on players", - "crosshair - Toggle custom crosshair", - "infinitejump - Toggle infinite jump", - "norecoil - Toggle no recoil", - "antiafk - Toggle anti-AFK", - "autofarm - Toggle auto-farm", - "reach [num] - Set tool reach distance", - "clicktp - Teleport to mouse position on click", - "bringall - Bring all players to you", - "gotoall - Teleport to all players", - "copyoutfit [player] - Copy a player's outfit", - "stealoutfit [player] - Steal a player's outfit", - "follow [player] - Follow a player", - "unfollow - Stop following a player", - "loopkill [player] - Loop kill a player", - "serverhop - Rejoin the game", - "rejoin - Rejoin the game", - "copyid - Copy your user ID to clipboard", - "copypos - Copy your position to clipboard", - "invisibleothers - Make all players invisible except you", - "visibleothers - Make all players visible again", - "cmds - Show all commands", - "help [cmd] - Get command help" -} +CreateExploitButton( + "Dex Explorer", + "Explore game instances and scripts.", + function() + loadstring(game:HttpGet("https://raw.githubusercontent.com/Babyhamsta/RBLX_Scripts/main/Universal/BypassedDarkDexV3.lua"))() + Notify("Dex Explorer", "Loaded Dex Explorer.", 3) + end +) -for i, cmdText in ipairs(commandList) do - local cmdButton = CommandTemplate:Clone() - cmdButton.Name = "Cmd_" .. i - cmdButton.Text = cmdText - cmdButton.Visible = true - cmdButton.LayoutOrder = i - cmdButton.Parent = CommandsFrame +CreateExploitButton( + "Script Hub", + "Load a script hub.", + function() + loadstring(game:HttpGet("https://raw.githubusercontent.com/1201for/little-sister/main/1201"))() + Notify("Script Hub", "Loaded Script Hub.", 3) + end +) - cmdButton.MouseEnter:Connect(function() - TweenService:Create(cmdButton, TweenInfo.new(0.2), {BackgroundTransparency = 0.1}):Play() - end) +--// Keybind System +local Keybinds = { + Fly = Enum.KeyCode.F, + Noclip = Enum.KeyCode.N, + ESP = Enum.KeyCode.E, + Invisibility = Enum.KeyCode.I, +} - cmdButton.MouseLeave:Connect(function() - TweenService:Create(cmdButton, TweenInfo.new(0.2), {BackgroundTransparency = 0.3}):Play() - end) -end +UserInputService.InputBegan:Connect(function(input, processed) + if processed then return end --- Command Execution -local commandHistory = {} -local historyIndex = 0 + if input.KeyCode == Keybinds.Fly then + ExecuteCommand("fly") + elseif input.KeyCode == Keybinds.Noclip then + ExecuteCommand("noclip") + elseif input.KeyCode == Keybinds.ESP then + ExecuteCommand("esp") + elseif input.KeyCode == Keybinds.Invisibility then + ExecuteCommand("invis") + end +end) -function ExecuteCommand(input) - table.insert(commandHistory, input) - historyIndex = #commandHistory + 1 +--// Command Execution +local function ExecuteCommand(input) + table.insert(CommandHistory, input) + HistoryIndex = #CommandHistory + 1 local args = {} for arg in input:gmatch("%S+") do @@ -1331,23 +905,41 @@ function ExecuteCommand(input) table.remove(args, 1) if Commands[commandName] then - pcall(function() - Commands[commandName].Function(args) - end) + pcall(Commands[commandName].Function, args) else - Notify("Unknown command: " .. commandName, Colors.Danger) + Notify("Error", "Unknown command: " .. commandName, 3) end end --- GUI Functionality -local isMinimized = false -local originalSize = MainContainer.Size -local minimizedSize = UDim2.new(0, 500, 0, 50) +--// Command Input Handling +CommandInput.FocusLost:Connect(function(enterPressed) + if enterPressed and CommandInput.Text ~= "" then + ExecuteCommand(CommandInput.Text) + CommandInput.Text = "" + end +end) --- Drag functionality -local dragging = false -local dragInput, dragStart, startPos +--// Command History Navigation +UserInputService.InputBegan:Connect(function(input, processed) + if not processed and CommandInput:IsFocused() then + if input.KeyCode == Enum.KeyCode.Up then + if HistoryIndex > 1 then + HistoryIndex = HistoryIndex - 1 + CommandInput.Text = CommandHistory[HistoryIndex] + CommandInput.CursorPosition = #CommandInput.Text + 1 + end + elseif input.KeyCode == Enum.KeyCode.Down then + if HistoryIndex < #CommandHistory then + HistoryIndex = HistoryIndex + 1 + CommandInput.Text = CommandHistory[HistoryIndex] or "" + CommandInput.CursorPosition = #CommandInput.Text + 1 + end + end + end +end) +--// Drag Functionality +local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart MainContainer.Position = UDim2.new( @@ -1384,164 +976,36 @@ UserInputService.InputChanged:Connect(function(input) end end) --- Close button -CloseBtn.MouseButton1Click:Connect(function() - IYGui:Destroy() - getgenv().IY_REVAMPED_LOADED = false -end) - --- Minimize button +--// Minimize & Close MinimizeBtn.MouseButton1Click:Connect(function() - if isMinimized then - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() - isMinimized = false + if MainContainer.Size == UDim2.new(0, 550, 0, 600) then + TweenService:Create(MainContainer, TweenInfo.new(0.3), {Size = UDim2.new(0, 550, 0, 50)}):Play() else - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() - isMinimized = true - end -end) - --- Command input -CommandInput.FocusLost:Connect(function(enterPressed) - if enterPressed then - local command = CommandInput.Text - if command ~= "" then - ExecuteCommand(command) - CommandInput.Text = "" - end - end -end) - --- Command history navigation -CommandInput:CaptureFocus() -CommandInput:GetPropertyChangedSignal("Text"):Connect(function() - if CommandInput:IsFocused() then - CommandInput:ReleaseFocus() - CommandInput:CaptureFocus() - end -end) - -CommandInput.Focused:Connect(function() - CommandInput:GetPropertyChangedSignal("Text"):Connect(function() - if CommandInput.Text:sub(1, 1) == ";" then - CommandInput.Text = CommandInput.Text:sub(2) - end - end) -end) - -UserInputService.InputBegan:Connect(function(input, processed) - if not processed and CommandInput:IsFocused() then - if input.KeyCode == Enum.KeyCode.Up then - if historyIndex > 1 then - historyIndex = historyIndex - 1 - CommandInput.Text = commandHistory[historyIndex] - CommandInput.CursorPosition = #CommandInput.Text + 1 - end - elseif input.KeyCode == Enum.KeyCode.Down then - if historyIndex < #commandHistory then - historyIndex = historyIndex + 1 - CommandInput.Text = commandHistory[historyIndex] or "" - CommandInput.CursorPosition = #CommandInput.Text + 1 - end - end + TweenService:Create(MainContainer, TweenInfo.new(0.3), {Size = UDim2.new(0, 550, 0, 600)}):Play() end end) --- Quick action buttons -FlyBtn.MouseButton1Click:Connect(function() - ExecuteCommand("fly") -end) - -NoclipBtn.MouseButton1Click:Connect(function() - ExecuteCommand("noclip") -end) - -ToolsBtn.MouseButton1Click:Connect(function() - ExecuteCommand("btools") +CloseBtn.MouseButton1Click:Connect(function() + MyzkaHub:Destroy() + getgenv().MyzkaHub_Loaded = false end) -EspBtn.MouseButton1Click:Connect(function() - ExecuteCommand("esp") +--// Welcome Notification +delay(1, function() + Notify("MyzkaHub", "Revamped GUI Loaded!\nPress ; to open command bar.\nUse keybinds (F, N, E, I).", 5) end) --- Command list buttons -for _, cmdButton in pairs(CommandsFrame:GetChildren()) do - if cmdButton:IsA("TextButton") and cmdButton ~= CommandTemplate then - cmdButton.MouseButton1Click:Connect(function() - local cmdText = cmdButton.Text:match("^(.-)%-") or cmdButton.Text - CommandInput.Text = cmdText:gsub("^%s*(.-)%s*$", "%1") - CommandInput:CaptureFocus() - end) - end -end - --- Auto-hide functionality -local lastInteraction = tick() -local autoHideConnection - -local function resetAutoHide() - lastInteraction = tick() -end - -local function setupAutoHide() - MainContainer.MouseEnter:Connect(resetAutoHide) - CommandInput.Focused:Connect(resetAutoHide) - - autoHideConnection = RunService.Heartbeat:Connect(function() - if tick() - lastInteraction > 15 and not CommandInput:IsFocused() and not isMinimized then - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() - isMinimized = true - end - end) -end - -setupAutoHide() - --- Keybinds -UserInputService.InputBegan:Connect(function(input, processed) - if not processed then - if input.KeyCode == Enum.KeyCode.RightShift then - if isMinimized then - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() - isMinimized = false - else - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = minimizedSize}):Play() - isMinimized = true - end - resetAutoHide() - elseif input.KeyCode == Enum.KeyCode.Semicolon then - CommandInput:CaptureFocus() - if isMinimized then - TweenService:Create(MainContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = originalSize}):Play() - isMinimized = false - end - resetAutoHide() - end +--// Auto-Update Check +spawn(function() + while true do + wait(300) -- Check every 5 minutes + -- Add auto-update logic here if needed end end) --- Noclip loop -RunService.Stepped:Connect(function() - if PlayerStates.Noclipping then - local character = LocalPlayer.Character - if character then - for _, part in pairs(character:GetDescendants()) do - if part:IsA("BasePart") then - part.CanCollide = false - end - end - end +--// Anti-Crash +game:GetService("LogService").MessageOut:Connect(function(message, messageType) + if messageType == Enum.MessageType.MessageError then + Notify("Error", "Script Error: " .. message, 5) end end) - --- Welcome message -delay(1, function() - CreateNotification( - "Infinite Yield Revamped", - "Modern UI Loaded!\nUse ; to open command bar\nRightShift to toggle GUI\n30+ New Commands Added!", - 10 - ) -end) - -Notify("Ready to use", Colors.Success) -return IYGui From e87873eddb0a220f75f23e2fa45c5a5df18cb3a9 Mon Sep 17 00:00:00 2001 From: Akisa Date: Sun, 30 Nov 2025 02:03:20 +0600 Subject: [PATCH 09/11] Add initial content to Guess what.py --- Guess what.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 Guess what.py diff --git a/Guess what.py b/Guess what.py new file mode 100644 index 0000000..ae059de --- /dev/null +++ b/Guess what.py @@ -0,0 +1 @@ +Soon? From 3b001e72b2a83e556cf0acb1cd65c4c0e5a341c0 Mon Sep 17 00:00:00 2001 From: Akisa Date: Sun, 30 Nov 2025 02:06:12 +0600 Subject: [PATCH 10/11] Add GitHub Actions workflow for Python package publishing --- .github/workflows/python-publish.yml | 70 ++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 .github/workflows/python-publish.yml diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml new file mode 100644 index 0000000..82f8dbd --- /dev/null +++ b/.github/workflows/python-publish.yml @@ -0,0 +1,70 @@ +# This workflow will upload a Python Package to PyPI when a release is created +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries + +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Upload Python Package + +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + release-build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Build release distributions + run: | + # NOTE: put your own distribution build steps here. + python -m pip install build + python -m build + + - name: Upload distributions + uses: actions/upload-artifact@v4 + with: + name: release-dists + path: dist/ + + pypi-publish: + runs-on: ubuntu-latest + needs: + - release-build + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + + # Dedicated environments with protections for publishing are strongly recommended. + # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules + environment: + name: pypi + # OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status: + # url: https://pypi.org/p/YOURPROJECT + # + # ALTERNATIVE: if your GitHub Release name is the PyPI project version string + # ALTERNATIVE: exactly, uncomment the following line instead: + # url: https://pypi.org/project/YOURPROJECT/${{ github.event.release.name }} + + steps: + - name: Retrieve release distributions + uses: actions/download-artifact@v4 + with: + name: release-dists + path: dist/ + + - name: Publish release distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: dist/ From f5d4ac45033c888f7c545a6f1e4a31c5faf23833 Mon Sep 17 00:00:00 2001 From: Akisa Date: Sun, 30 Nov 2025 02:06:28 +0600 Subject: [PATCH 11/11] Add SLSA generic generator workflow --- .../generator-generic-ossf-slsa3-publish.yml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 .github/workflows/generator-generic-ossf-slsa3-publish.yml diff --git a/.github/workflows/generator-generic-ossf-slsa3-publish.yml b/.github/workflows/generator-generic-ossf-slsa3-publish.yml new file mode 100644 index 0000000..35c829b --- /dev/null +++ b/.github/workflows/generator-generic-ossf-slsa3-publish.yml @@ -0,0 +1,66 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +# This workflow lets you generate SLSA provenance file for your project. +# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements +# The project is an initiative of the OpenSSF (openssf.org) and is developed at +# https://github.com/slsa-framework/slsa-github-generator. +# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier. +# For more information about SLSA and how it improves the supply-chain, visit slsa.dev. + +name: SLSA generic generator +on: + workflow_dispatch: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + outputs: + digests: ${{ steps.hash.outputs.digests }} + + steps: + - uses: actions/checkout@v4 + + # ======================================================== + # + # Step 1: Build your artifacts. + # + # ======================================================== + - name: Build artifacts + run: | + # These are some amazing artifacts. + echo "artifact1" > artifact1 + echo "artifact2" > artifact2 + + # ======================================================== + # + # Step 2: Add a step to generate the provenance subjects + # as shown below. Update the sha256 sum arguments + # to include all binaries that you generate + # provenance for. + # + # ======================================================== + - name: Generate subject for provenance + id: hash + run: | + set -euo pipefail + + # List the artifacts the provenance will refer to. + files=$(ls artifact*) + # Generate the subjects (base64 encoded). + echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}" + + provenance: + needs: [build] + permissions: + actions: read # To read the workflow path. + id-token: write # To sign the provenance. + contents: write # To add assets to a release. + uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0 + with: + base64-subjects: "${{ needs.build.outputs.digests }}" + upload-assets: true # Optional: Upload to a new release