--[[ Infinite Yield // Script Full admin command bar with hundreds of built-in commands Loadstring version for easy execution ]] local IY_LOADED = false if IY_LOADED then return end getgenv().IY_LOADED = true -- Core services local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local HttpService = game:GetService("HttpService") local TeleportService = game:GetService("TeleportService") local Lighting = game:GetService("Lighting") local ReplicatedStorage = game:GetService("ReplicatedStorage") local StarterGui = game:GetService("StarterGui") local CoreGui = game:GetService("CoreGui") local GuiService = game:GetService("GuiService") local VirtualUser = game:GetService("VirtualUser") local SoundService = game:GetService("SoundService") local MarketplaceService = game:GetService("MarketplaceService") local PathfindingService = game:GetService("PathfindingService") local GroupService = game:GetService("GroupService") local Stats = game:GetService("Stats") local Debris = game:GetService("Debris") local InsertService = game:GetService("InsertService") local ContentProvider = game:GetService("ContentProvider") local Chat = game:GetService("Chat") local Teams = game:GetService("Teams") local ContextActionService = game:GetService("ContextActionService") local TextService = game:GetService("TextService") local NetworkClient = game:GetService("NetworkClient") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local Camera = workspace.CurrentCamera -- Settings local settings = { prefix = ";", stayOpen = false, notificationScale = 1, themes = { Background = Color3.fromRGB(12, 12, 12), Secondary = Color3.fromRGB(25, 25, 25), Accent = Color3.fromRGB(0, 170, 255), Text = Color3.fromRGB(255, 255, 255), TextDim = Color3.fromRGB(180, 180, 180) } } -- Command system storage local commands = {} local aliases = {} local cmdHistory = {} local historyIndex = 0 local isCmdBarOpen = false local flyEnabled = false local noclipEnabled = false local godEnabled = false local speedEnabled = false local jumpEnabled = false local espEnabled = false local infiniteJump = false local clickTP = false local fullbright = false -- Utility functions local function notify(title, text, duration) duration = duration or 5 pcall(function() StarterGui:SetCore("SendNotification", { Title = title, Text = text, Duration = duration }) end) end local function isNumber(str) return tonumber(str) ~= nil end local function getPlayer(name) name = name:lower() if name == "me" or name == "localplayer" then return LocalPlayer elseif name == "all" or name == "everyone" then return Players:GetPlayers() elseif name == "others" then local others = {} for _, plr in pairs(Players:GetPlayers()) do if plr ~= LocalPlayer then table.insert(others, plr) end end return others elseif name == "random" then local plrs = Players:GetPlayers() return plrs[math.random(1, #plrs)] end for _, plr in pairs(Players:GetPlayers()) do if plr.Name:lower():sub(1, #name) == name or plr.DisplayName:lower():sub(1, #name) == name then return plr end end return nil end local function addcmd(name, aliasList, func, description) commands[name:lower()] = { Function = func, Description = description or "No description" } if aliasList then for _, alias in pairs(aliasList) do aliases[alias:lower()] = name:lower() end end end -- GUI Creation for Command Bar local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "InfiniteYield" ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling pcall(function() ScreenGui.Parent = CoreGui end) if not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end local MainFrame = Instance.new("Frame") MainFrame.Name = "Main" MainFrame.Size = UDim2.new(0, 400, 0, 40) MainFrame.Position = UDim2.new(0.5, -200, 0, 10) MainFrame.BackgroundColor3 = settings.themes.Background MainFrame.BorderSizePixel = 0 MainFrame.Visible = false MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 6) UICorner.Parent = MainFrame local CmdBox = Instance.new("TextBox") CmdBox.Name = "CmdBox" CmdBox.Size = UDim2.new(1, -20, 1, -10) CmdBox.Position = UDim2.new(0, 10, 0, 5) CmdBox.BackgroundTransparency = 1 CmdBox.TextColor3 = settings.themes.Text CmdBox.PlaceholderText = "Enter command..." CmdBox.PlaceholderColor3 = settings.themes.TextDim CmdBox.Text = "" CmdBox.TextSize = 16 CmdBox.Font = Enum.Font.Gotham CmdBox.TextXAlignment = Enum.TextXAlignment.Left CmdBox.ClearTextOnFocus = false CmdBox.Parent = MainFrame local SuggestionLabel = Instance.new("TextLabel") SuggestionLabel.Name = "Suggestion" SuggestionLabel.Size = UDim2.new(1, -20, 0, 20) SuggestionLabel.Position = UDim2.new(0, 10, 1, 5) SuggestionLabel.BackgroundTransparency = 1 SuggestionLabel.TextColor3 = settings.themes.Accent SuggestionLabel.TextSize = 14 SuggestionLabel.Font = Enum.Font.Gotham SuggestionLabel.TextXAlignment = Enum.TextXAlignment.Left SuggestionLabel.Text = "" SuggestionLabel.Visible = false SuggestionLabel.Parent = MainFrame -- Open/Close command bar local function toggleCmdBar() isCmdBarOpen = not isCmdBarOpen MainFrame.Visible = isCmdBarOpen if isCmdBarOpen then CmdBox:CaptureFocus() CmdBox.Text = "" SuggestionLabel.Text = "" historyIndex = #cmdHistory + 1 end end UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.Semicolon or input.KeyCode == Enum.KeyCode.F2 then toggleCmdBar() end if input.KeyCode == Enum.KeyCode.Return and isCmdBarOpen then local text = CmdBox.Text if text ~= "" then table.insert(cmdHistory, text) executeCommand(text) if not settings.stayOpen then toggleCmdBar() else CmdBox.Text = "" end end end if input.KeyCode == Enum.KeyCode.Up and isCmdBarOpen then if historyIndex > 1 then historyIndex = historyIndex - 1 CmdBox.Text = cmdHistory[historyIndex] or "" end end if input.KeyCode == Enum.KeyCode.Down and isCmdBarOpen then if historyIndex < #cmdHistory then historyIndex = historyIndex + 1 CmdBox.Text = cmdHistory[historyIndex] or "" else historyIndex = #cmdHistory + 1 CmdBox.Text = "" end end end) -- Command execution function executeCommand(raw) raw = raw:gsub("^%s*(.-)%s*$", "%1") if raw == "" then return end local args = {} for word in raw:gmatch("%S+") do table.insert(args, word) end local cmdName = args[1]:lower() table.remove(args, 1) if aliases[cmdName] then cmdName = aliases[cmdName] end if commands[cmdName] then local success, err = pcall(function() commands[cmdName].Function(args) end) if not success then notify("Error", tostring(err), 5) end else notify("Unknown Command", cmdName .. " is not a valid command", 3) end end -- Built-in Commands (Infinite Yield style) addcmd("fly", {"flight"}, function(args) flyEnabled = not flyEnabled local char = LocalPlayer.Character if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") local humanoid = char:FindFirstChildOfClass("Humanoid") if not hrp or not humanoid then return end if flyEnabled then notify("Fly", "Fly enabled (WASD + Space/Ctrl)", 3) local bv = Instance.new("BodyVelocity") bv.Name = "IYFly" bv.MaxForce = Vector3.new(9e9, 9e9, 9e9) bv.Velocity = Vector3.new(0, 0, 0) bv.Parent = hrp local bg = Instance.new("BodyGyro") bg.Name = "IYFlyGyro" bg.MaxTorque = Vector3.new(9e9, 9e9, 9e9) bg.P = 9e4 bg.Parent = hrp local speed = tonumber(args[1]) or 50 local conn conn = RunService.RenderStepped:Connect(function() if not flyEnabled or not hrp or not hrp.Parent then if conn then conn:Disconnect() end if bv then bv:Destroy() end if bg then bg:Destroy() end return end bg.CFrame = Camera.CFrame local dir = Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir = dir + Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir = dir - Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir = dir - Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir = dir + Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.new(0, 1, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then dir = dir - Vector3.new(0, 1, 0) end if dir.Magnitude > 0 then bv.Velocity = dir.Unit * speed else bv.Velocity = Vector3.new(0, 0, 0) end end) else notify("Fly", "Fly disabled", 3) if hrp:FindFirstChild("IYFly") then hrp.IYFly:Destroy() end if hrp:FindFirstChild("IYFlyGyro") then hrp.IYFlyGyro:Destroy() end end end, "Toggle fly mode. Usage: fly [speed]") addcmd("unfly", {}, function() flyEnabled = false local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then local hrp = char.HumanoidRootPart if hrp:FindFirstChild("IYFly") then hrp.IYFly:Destroy() end if hrp:FindFirstChild("IYFlyGyro") then hrp.IYFlyGyro:Destroy() end end notify("Fly", "Fly force disabled", 3) end, "Force disable fly") addcmd("noclip", {"nc"}, function() noclipEnabled = not noclipEnabled notify("Noclip", noclipEnabled and "Noclip enabled" or "Noclip disabled", 3) local conn conn = RunService.Stepped:Connect(function() if not noclipEnabled then if conn then conn:Disconnect() end return end local char = LocalPlayer.Character if char then for _, part in pairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) end, "Toggle noclip") addcmd("clip", {"unnoclip"}, function() noclipEnabled = false notify("Noclip", "Noclip disabled", 3) end, "Disable noclip") addcmd("god", {"godmode"}, function() godEnabled = not godEnabled local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then if godEnabled then humanoid.MaxHealth = math.huge humanoid.Health = math.huge notify("God", "God mode enabled", 3) humanoid.HealthChanged:Connect(function() if godEnabled then humanoid.Health = math.huge end end) else humanoid.MaxHealth = 100 humanoid.Health = 100 notify("God", "God mode disabled", 3) end end end end, "Toggle god mode") addcmd("ungod", {}, function() godEnabled = false local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.MaxHealth = 100 humanoid.Health = 100 end end notify("God", "God mode force disabled", 3) end, "Disable god mode") addcmd("speed", {"ws", "walkspeed"}, function(args) local speed = tonumber(args[1]) or 16 local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = speed notify("Speed", "WalkSpeed set to " .. speed, 3) end end end, "Set walkspeed. Usage: speed [number]") addcmd("jump", {"jp", "jumppower"}, function(args) local power = tonumber(args[1]) or 50 local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.JumpPower = power humanoid.UseJumpPower = true notify("Jump", "JumpPower set to " .. power, 3) end end end, "Set jumppower. Usage: jump [number]") addcmd("hipheight", {"hh"}, function(args) local height = tonumber(args[1]) or 0 local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.HipHeight = height notify("HipHeight", "HipHeight set to " .. height, 3) end end end, "Set hip height") addcmd("goto", {"to", "tp"}, function(args) if not args[1] then notify("Error", "Specify a player", 3) return end local target = getPlayer(args[1]) if typeof(target) == "Instance" and target:IsA("Player") then local char = LocalPlayer.Character local tchar = target.Character if char and tchar and char:FindFirstChild("HumanoidRootPart") and tchar:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = tchar.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) notify("Teleport", "Teleported to " .. target.Name, 3) end else notify("Error", "Player not found", 3) end end, "Teleport to player. Usage: goto [player]") addcmd("bring", {}, function(args) if not args[1] then notify("Error", "Specify a player", 3) return end local target = getPlayer(args[1]) if typeof(target) == "Instance" and target:IsA("Player") then local char = LocalPlayer.Character local tchar = target.Character if char and tchar and char:FindFirstChild("HumanoidRootPart") and tchar:FindFirstChild("HumanoidRootPart") then tchar.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -3) notify("Bring", "Brought " .. target.Name, 3) end end end, "Bring player to you (client sided visual)") addcmd("kill", {}, function(args) if not args[1] then return end local target = getPlayer(args[1]) if typeof(target) == "Instance" and target:IsA("Player") then local tchar = target.Character if tchar then local humanoid = tchar:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 notify("Kill", "Killed " .. target.Name .. " (client)", 3) end end end end, "Kill player (client sided)") addcmd("esp", {}, function() espEnabled = not espEnabled notify("ESP", espEnabled and "ESP enabled" or "ESP disabled", 3) if espEnabled then for _, plr in pairs(Players:GetPlayers()) do if plr ~= LocalPlayer and plr.Character then local highlight = Instance.new("Highlight") highlight.Name = "IYESP" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.FillTransparency = 0.5 highlight.Parent = plr.Character end end Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) if espEnabled then local highlight = Instance.new("Highlight") highlight.Name = "IYESP" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.Parent = char end end) end) else for _, plr in pairs(Players:GetPlayers()) do if plr.Character and plr.Character:FindFirstChild("IYESP") then plr.Character.IYESP:Destroy() end end end end, "Toggle player ESP highlights") addcmd("fullbright", {"fb", "bright"}, function() fullbright = not fullbright if fullbright then Lighting.Brightness = 2 Lighting.ClockTime = 14 Lighting.FogEnd = 100000 Lighting.GlobalShadows = false Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) notify("Fullbright", "Fullbright enabled", 3) else Lighting.Brightness = 1 Lighting.ClockTime = 14 Lighting.FogEnd = 1000 Lighting.GlobalShadows = true notify("Fullbright", "Fullbright disabled", 3) end end, "Toggle fullbright") addcmd("infjump", {"infinitejump"}, function() infiniteJump = not infiniteJump notify("InfJump", infiniteJump and "Infinite jump enabled" or "Disabled", 3) UserInputService.JumpRequest:Connect(function() if infiniteJump then local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end end) end, "Toggle infinite jump") addcmd("clicktp", {"ctp"}, function() clickTP = not clickTP notify("ClickTP", clickTP and "Click to teleport enabled (hold click)" or "Disabled", 3) Mouse.Button1Down:Connect(function() if clickTP then local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.Position + Vector3.new(0, 3, 0)) end end end) end, "Toggle click teleport") addcmd("serverhop", {"shop", "rejoin"}, function() notify("ServerHop", "Searching for new server...", 3) local placeId = game.PlaceId local servers = {} local success, result = pcall(function() return HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/" .. placeId .. "/servers/Public?sortOrder=Asc&limit=100")) end) if success and result and result.data then for _, server in pairs(result.data) do if server.playing < server.maxPlayers and server.id ~= game.JobId then table.insert(servers, server.id) end end if #servers > 0 then TeleportService:TeleportToPlaceInstance(placeId, servers[math.random(1, #servers)], LocalPlayer) else TeleportService:Teleport(placeId) end else TeleportService:Teleport(placeId) end end, "Hop to a different server") addcmd("rejoin", {"rj"}, function() TeleportService:Teleport(game.PlaceId, LocalPlayer) notify("Rejoin", "Rejoining...", 3) end, "Rejoin the same server") addcmd("fps", {"boost"}, function() local terrain = workspace:FindFirstChildOfClass("Terrain") if terrain then terrain.WaterWaveSize = 0 terrain.WaterWaveSpeed = 0 terrain.WaterReflectance = 0 terrain.WaterTransparency = 0 end Lighting.GlobalShadows = false Lighting.FogEnd = 9e9 settings().Rendering.QualityLevel = 1 for _, v in pairs(game:GetDescendants()) do if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then v.Material = Enum.Material.Plastic v.Reflectance = 0 elseif v:IsA("Decal") then v.Transparency = 1 elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then v.Lifetime = NumberRange.new(0) end end notify("FPS", "FPS boost applied", 3) end, "Apply FPS boost / low graphics") addcmd("cmds", {"commands", "help"}, function() local list = "Available Commands:\n" local count = 0 for name, data in pairs(commands) do list = list .. settings.prefix .. name .. " - " .. data.Description .. "\n" count = count + 1 if count % 10 == 0 then notify("Commands", list, 8) list = "" end end if list ~= "" then notify("Commands", list, 8) end print("=== INFINITE YIELD COMMANDS ===") for name, data in pairs(commands) do print(settings.prefix .. name .. " | " .. data.Description) end end, "List all commands") addcmd("prefix", {}, function(args) if args[1] then settings.prefix = args[1] notify("Prefix", "Prefix set to " .. args[1], 3) end end, "Change command prefix") addcmd("clear", {"clr"}, function() for _, gui in pairs(CoreGui:GetChildren()) do if gui.Name:find("IY") or gui.Name:find("Notification") then -- keep main end end notify("Clear", "Cleared some elements", 3) end, "Clear notifications etc") addcmd("view", {"spectate"}, function(args) if not args[1] then Camera.CameraSubject = LocalPlayer.Character notify("View", "Stopped viewing", 3) return end local target = getPlayer(args[1]) if typeof(target) == "Instance" and target.Character then Camera.CameraSubject = target.Character notify("View", "Now viewing " .. target.Name, 3) end end, "Spectate a player. Usage: view [player] or view to stop") addcmd("unview", {}, function() Camera.CameraSubject = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") notify("View", "Stopped viewing", 3) end, "Stop spectating") addcmd("tools", {"btools"}, function() local backpack = LocalPlayer:FindFirstChild("Backpack") if backpack then local hopperbin = Instance.new("HopperBin") hopperbin.BinType = Enum.BinType.Clone hopperbin.Parent = backpack local hopperbin2 = Instance.new("HopperBin") hopperbin2.BinType = Enum.BinType.GameTool hopperbin2.Parent = backpack local hopperbin3 = Instance.new("HopperBin") hopperbin3.BinType = Enum.BinType.Hammer hopperbin3.Parent = backpack notify("Tools", "Btools given", 3) end end, "Give yourself building tools") addcmd("gravity", {"grav"}, function(args) local g = tonumber(args[1]) or 196.2 workspace.Gravity = g notify("Gravity", "Gravity set to " .. g, 3) end, "Set workspace gravity") addcmd("time", {"clocktime"}, function(args) local t = tonumber(args[1]) or 14 Lighting.ClockTime = t notify("Time", "ClockTime set to " .. t, 3) end, "Set time of day") addcmd("fog", {}, function(args) local endDist = tonumber(args[1]) or 1000 Lighting.FogEnd = endDist notify("Fog", "FogEnd set to " .. endDist, 3) end, "Set fog distance") addcmd("sit", {}, function() local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Sit = true end end end, "Make your character sit") addcmd("unsit", {}, function() local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Sit = false end end end, "Stop sitting") addcmd("reset", {"respawn", "die"}, function() local char = LocalPlayer.Character if char then local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end end end, "Reset your character") addcmd("refresh", {"re"}, function() local char = LocalPlayer.Character if char and char:FindFirstChild("HumanoidRootPart") then local pos = char.HumanoidRootPart.CFrame local humanoid = char:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end LocalPlayer.CharacterAdded:Wait() local newChar = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local newHRP = newChar:WaitForChild("HumanoidRootPart") newHRP.CFrame = pos notify("Refresh", "Character refreshed at same position", 3) end end, "Respawn at current position") addcmd("invisible", {"invis"}, function() local char = LocalPlayer.Character if char then for _, part in pairs(char:GetDescendants()) do if part:IsA("BasePart") or part:IsA("Decal") then part.Transparency = 1 end end notify("Invisible", "You are now invisible (client)", 3) end end, "Make yourself invisible") addcmd("visible", {"vis"}, function() local char = LocalPlayer.Character if char then for _, part in pairs(char:GetDescendants()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.Transparency = 0 elseif part:IsA("Decal") then part.Transparency = 0 end end notify("Visible", "You are visible again", 3) end end, "Make yourself visible") addcmd("freeze", {}, function(args) local target = args[1] and getPlayer(args[1]) or LocalPlayer if typeof(target) == "Instance" then local char = target.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.Anchored = true notify("Freeze", "Frozen " .. target.Name, 3) end end end, "Freeze a player (or self)") addcmd("thaw", {"unfreeze"}, function(args) local target = args[1] and getPlayer(args[1]) or LocalPlayer if typeof(target) == "Instance" then local char = target.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.Anchored = false notify("Thaw", "Unfrozen " .. target.Name, 3) end end end, "Unfreeze a player") addcmd("xray", {}, function() for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") and not part.Parent:FindFirstChildOfClass("Humanoid") then part.LocalTransparencyModifier = 0.5 end end notify("Xray", "Xray enabled on map parts", 3) end, "Xray the map") addcmd("unxray", {}, function() for _, part in pairs(workspace:GetDescendants()) do if part:IsA("BasePart") then part.LocalTransparencyModifier = 0 end end notify("Xray", "Xray disabled", 3) end, "Disable xray") -- Anti AFK local antiAFK = true LocalPlayer.Idled:Connect(function() if antiAFK then VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) notify("AntiAFK", "Prevented idle kick", 2) end end) addcmd("antiafk", {}, function() antiAFK = not antiAFK notify("AntiAFK", antiAFK and "Anti AFK enabled" or "Disabled", 3) end, "Toggle anti AFK") -- Final load notification notify("Infinite Yield", "Loaded successfully! Press ; or F2 to open command bar. Type cmds for list.", 8) print("Infinite Yield has been loaded. Prefix: " .. settings.prefix) print("Press semicolon (;) or F2 to open the command bar.") -- Keep the script alive RunService.Heartbeat:Connect(function() -- heartbeat keep end)