local PlayersService = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local TeleportService = game:GetService("TeleportService") local Stats = game:GetService("Stats") local LocalPlayer = PlayersService.LocalPlayer local Character, Humanoid, HumanoidRootPart local Camera = Workspace.CurrentCamera local function UpdateCharacter() Character = LocalPlayer.Character if Character then Humanoid = Character:FindFirstChildOfClass("Humanoid") HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") end end UpdateCharacter() LocalPlayer.CharacterAdded:Connect(function(newChar) Character = newChar task.spawn(function() Humanoid = newChar:WaitForChild("Humanoid", 5) HumanoidRootPart = newChar:WaitForChild("HumanoidRootPart", 5) end) end) local Toggles = { Fly = false, Noclip = false, InfiniteJump = false, LoopWalkSpeed = false, LoopJumpPower = false, LoopGravity = false, LoopVehicleBoost = false, VehicleFly = false, ESP = false, NameAndHealth = false, Highlight = false, Fullbright = false, AntiAFK = false, ClickTeleport = false, GodMode = false, AntiVoid = false, Spectating = false } local Settings = { WalkSpeed = 16, JumpPower = 50, Gravity = 196.2, FlySpeed = 50, VehicleBoost = 1, VehicleFlySpeed = 50 } local SpectatingTarget, OriginalCameraSubject = nil, nil local ESPFolder = Instance.new("Folder") ESPFolder.Name = "ESPF" ESPFolder.Parent = game:GetService("CoreGui") local Library = loadstring(game:HttpGet("https://sirius.menu/rayfield"))() local Window = Library:CreateWindow({ Name = "Simple GUI v1.5", LoadingTitle = "Simple GUI v1.5", LoadingSubtitle = "Loading...", Theme = "Default", ConfigurationSaving = { Enabled = false }, KeySystem = false }) local function GetPlayerList() local list = {} for _, player in PlayersService:GetPlayers() do if player ~= LocalPlayer then list[#list + 1] = player.Name end end if #list == 0 then list[1] = "No Players" end return list end local function StopSpectating() Toggles.Spectating = false SpectatingTarget = nil if OriginalCameraSubject then pcall(function() Camera.CameraSubject = OriginalCameraSubject end) elseif Humanoid then pcall(function() Camera.CameraSubject = Humanoid end) end pcall(function() Camera.CameraType = Enum.CameraType.Custom end) end local function StartSpectating(playerName) if playerName == "No Players" then return false end local target = PlayersService:FindFirstChild(playerName) if target and target.Character then local targetHumanoid = target.Character:FindFirstChildOfClass("Humanoid") if targetHumanoid then if not Toggles.Spectating then OriginalCameraSubject = Camera.CameraSubject end Toggles.Spectating = true SpectatingTarget = target pcall(function() Camera.CameraSubject = targetHumanoid Camera.CameraType = Enum.CameraType.Custom end) return true end end return false end local SpectateTab = Window:CreateTab("Spectate") SpectateTab:CreateSection("Player Spectate") local SelectedSpectatePlayer = nil local SpectateDropdown = SpectateTab:CreateDropdown({ Name = "Select Player", Options = GetPlayerList(), CurrentOption = {}, MultipleOptions = false, Flag = "SPD", Callback = function(option) if option and option[1] then SelectedSpectatePlayer = option[1] end end }) SpectateTab:CreateButton({ Name = "Start Spectating", Callback = function() if SelectedSpectatePlayer and SelectedSpectatePlayer ~= "No Players" and StartSpectating(SelectedSpectatePlayer) then Library:Notify({ Title = "Spectate", Content = "Spectating: " .. SelectedSpectatePlayer, Duration = 2 }) end end }) SpectateTab:CreateButton({ Name = "Stop Spectating", Callback = function() StopSpectating() Library:Notify({ Title = "Spectate", Content = "Stopped", Duration = 2 }) end }) SpectateTab:CreateButton({ Name = "Refresh Player List", Callback = function() SpectateDropdown:Refresh(GetPlayerList()) end }) SpectateTab:CreateSection("Quick") SpectateTab:CreateButton({ Name = "Next Player", Callback = function() local players = PlayersService:GetPlayers() local currentIndex = 0 for i, player in players do if SpectatingTarget and player == SpectatingTarget then currentIndex = i break end end for offset = 1, #players do local index = ((currentIndex + offset - 1) % #players) + 1 local target = players[index] if target ~= LocalPlayer and target.Character then StartSpectating(target.Name) SelectedSpectatePlayer = target.Name break end end end }) SpectateTab:CreateButton({ Name = "Previous Player", Callback = function() local players = PlayersService:GetPlayers() local currentIndex = #players + 1 for i, player in players do if SpectatingTarget and player == SpectatingTarget then currentIndex = i break end end for offset = 1, #players do local index = ((currentIndex - offset - 2) % #players) + 1 local target = players[index] if target ~= LocalPlayer and target.Character then StartSpectating(target.Name) SelectedSpectatePlayer = target.Name break end end end }) local SpectateStatusLabel = SpectateTab:CreateLabel("Not spectating") local InfoTab = Window:CreateTab("Player Info") InfoTab:CreateSection("Select") local SelectedInfoPlayer = nil local InfoDropdown = InfoTab:CreateDropdown({ Name = "Select Player", Options = GetPlayerList(), CurrentOption = {}, MultipleOptions = false, Flag = "PID", Callback = function(option) if option and option[1] then SelectedInfoPlayer = option[1] end end }) InfoTab:CreateSection("Info") local InfoLabels = {} for i = 1, 19 do InfoLabels[i] = InfoTab:CreateLabel("---") end InfoTab:CreateButton({ Name = "Refresh Info", Callback = function() if not SelectedInfoPlayer or SelectedInfoPlayer == "No Players" then return end local target = PlayersService:FindFirstChild(SelectedInfoPlayer) if not target then return end pcall(function() InfoLabels[1]:Set("Name: " .. target.Name) InfoLabels[2]:Set("Display: " .. target.DisplayName) InfoLabels[3]:Set("UserID: " .. target.UserId) InfoLabels[4]:Set("Age: " .. target.AccountAge .. " days") InfoLabels[5]:Set("Team: " .. (target.Team and target.Team.Name or "None")) if target.Character then local targetHumanoid = target.Character:FindFirstChildOfClass("Humanoid") local targetRootPart = target.Character:FindFirstChild("HumanoidRootPart") if targetHumanoid then InfoLabels[6]:Set("Health: " .. math.floor(targetHumanoid.Health) .. "/" .. math.floor(targetHumanoid.MaxHealth)) InfoLabels[7]:Set("Speed: " .. targetHumanoid.WalkSpeed) InfoLabels[8]:Set("Jump: " .. targetHumanoid.JumpPower) end if targetRootPart then local pos = targetRootPart.Position InfoLabels[9]:Set("Pos: " .. math.floor(pos.X) .. "," .. math.floor(pos.Y) .. "," .. math.floor(pos.Z)) end local parts, accessories, tools = 0, 0, 0 for _, child in target.Character:GetChildren() do if child:IsA("BasePart") then parts = parts + 1 elseif child:IsA("Accessory") then accessories = accessories + 1 elseif child:IsA("Tool") then tools = tools + 1 end end InfoLabels[10]:Set("Parts: " .. parts) InfoLabels[11]:Set("Acc: " .. accessories) InfoLabels[12]:Set("Tools: " .. tools) end local backpack = target:FindFirstChild("Backpack") InfoLabels[13]:Set("Backpack: " .. (backpack and #backpack:GetChildren() or 0)) if target == LocalPlayer then local playerGui = LocalPlayer:FindFirstChild("PlayerGui") if playerGui then local guiCount, scriptCount = 0, 0 for _, descendant in playerGui:GetDescendants() do if descendant:IsA("GuiObject") then guiCount = guiCount + 1 elseif descendant:IsA("LocalScript") then scriptCount = scriptCount + 1 end end InfoLabels[14]:Set("GUI: " .. guiCount) InfoLabels[15]:Set("Scripts: " .. scriptCount) end InfoLabels[16]:Set("Ping: " .. math.floor(LocalPlayer:GetNetworkPing() * 1000) .. "ms") else InfoLabels[14]:Set("GUI: N/A") InfoLabels[15]:Set("Scripts: N/A") InfoLabels[16]:Set("Ping: N/A") end InfoLabels[17]:Set("Member: " .. (target.AccountAge > 365 and math.floor(target.AccountAge / 365) .. "y" or target.AccountAge .. "d")) InfoLabels[18]:Set("Follow: " .. (target.FollowUserId > 0 and target.FollowUserId or "No")) InfoLabels[19]:Set("Char: " .. (target.Character and "Yes" or "No")) end) end }) InfoTab:CreateButton({ Name = "Refresh Player List", Callback = function() InfoDropdown:Refresh(GetPlayerList()) end }) InfoTab:CreateButton({ Name = "Copy UserID", Callback = function() if SelectedInfoPlayer and SelectedInfoPlayer ~= "No Players" then local target = PlayersService:FindFirstChild(SelectedInfoPlayer) if target then setclipboard(tostring(target.UserId)) end end end }) local HumanoidTab = Window:CreateTab("Humanoid") HumanoidTab:CreateSection("Speed") HumanoidTab:CreateSlider({ Name = "WalkSpeed", Range = {0, 500}, Increment = 1, Suffix = "", CurrentValue = 16, Flag = "WS", Callback = function(value) Settings.WalkSpeed = value if Humanoid then pcall(function() Humanoid.WalkSpeed = value end) end end }) HumanoidTab:CreateToggle({ Name = "Loop WalkSpeed", CurrentValue = false, Flag = "LW", Callback = function(value) Toggles.LoopWalkSpeed = value end }) HumanoidTab:CreateSlider({ Name = "JumpPower", Range = {0, 500}, Increment = 1, Suffix = "", CurrentValue = 50, Flag = "JP", Callback = function(value) Settings.JumpPower = value if Humanoid then pcall(function() Humanoid.JumpPower = value Humanoid.UseJumpPower = true end) end end }) HumanoidTab:CreateToggle({ Name = "Loop JumpPower", CurrentValue = false, Flag = "LJ", Callback = function(value) Toggles.LoopJumpPower = value end }) HumanoidTab:CreateSection("Gravity") HumanoidTab:CreateSlider({ Name = "Gravity", Range = {0, 500}, Increment = 1, Suffix = "", CurrentValue = 196, Flag = "GR", Callback = function(value) Settings.Gravity = value Workspace.Gravity = value end }) HumanoidTab:CreateToggle({ Name = "Loop Gravity", CurrentValue = false, Flag = "LG", Callback = function(value) Toggles.LoopGravity = value end }) HumanoidTab:CreateButton({ Name = "Reset Gravity", Callback = function() Settings.Gravity = 196.2 Workspace.Gravity = 196.2 end }) HumanoidTab:CreateSection("Fly") HumanoidTab:CreateToggle({ Name = "Fly", CurrentValue = false, Flag = "FL", Callback = function(value) Toggles.Fly = value if not HumanoidRootPart then UpdateCharacter() end if not HumanoidRootPart then return end if value then local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Name = "FlyV" bodyVelocity.MaxForce = Vector3.one * 9e9 bodyVelocity.Velocity = Vector3.zero bodyVelocity.Parent = HumanoidRootPart local bodyGyro = Instance.new("BodyGyro") bodyGyro.Name = "FlyG" bodyGyro.MaxTorque = Vector3.one * 9e9 bodyGyro.P = 9e4 bodyGyro.Parent = HumanoidRootPart else local flyV = HumanoidRootPart:FindFirstChild("FlyV") local flyG = HumanoidRootPart:FindFirstChild("FlyG") if flyV then flyV:Destroy() end if flyG then flyG:Destroy() end end end }) HumanoidTab:CreateSlider({ Name = "Fly Speed", Range = {10, 500}, Increment = 5, Suffix = "", CurrentValue = 50, Flag = "FS", Callback = function(value) Settings.FlySpeed = value end }) HumanoidTab:CreateSection("Noclip") HumanoidTab:CreateToggle({ Name = "Noclip", CurrentValue = false, Flag = "NC", Callback = function(value) Toggles.Noclip = value end }) HumanoidTab:CreateToggle({ Name = "Infinite Jump", CurrentValue = false, Flag = "IJ", Callback = function(value) Toggles.InfiniteJump = value end }) HumanoidTab:CreateSection("Protection") HumanoidTab:CreateToggle({ Name = "God Mode", CurrentValue = false, Flag = "GM", Callback = function(value) Toggles.GodMode = value end }) HumanoidTab:CreateToggle({ Name = "Anti Void", CurrentValue = false, Flag = "AV", Callback = function(value) Toggles.AntiVoid = value end }) HumanoidTab:CreateSection("Quick") HumanoidTab:CreateButton({ Name = "Reset", Callback = function() if Humanoid then Humanoid.Health = 0 end end }) HumanoidTab:CreateButton({ Name = "Full Heal", Callback = function() if Humanoid then Humanoid.Health = Humanoid.MaxHealth end end }) local TeleportTab = Window:CreateTab("Teleport") TeleportTab:CreateSection("Player") local SelectedTeleportPlayer = nil local TeleportDropdown = TeleportTab:CreateDropdown({ Name = "Select Player", Options = GetPlayerList(), CurrentOption = {}, MultipleOptions = false, Flag = "TPD", Callback = function(option) if option and option[1] then SelectedTeleportPlayer = option[1] end end }) TeleportTab:CreateButton({ Name = "Teleport to Player", Callback = function() if not SelectedTeleportPlayer or SelectedTeleportPlayer == "No Players" or not HumanoidRootPart then return end local target = PlayersService:FindFirstChild(SelectedTeleportPlayer) if target and target.Character then local targetRoot = target.Character:FindFirstChild("HumanoidRootPart") if targetRoot then HumanoidRootPart.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 3) end end end }) TeleportTab:CreateButton({ Name = "Refresh Player List", Callback = function() TeleportDropdown:Refresh(GetPlayerList()) end }) TeleportTab:CreateSection("Position") local TeleportPosition = { X = 0, Y = 0, Z = 0 } TeleportTab:CreateInput({ Name = "X", PlaceholderText = "X", RemoveTextAfterFocusLost = false, Callback = function(value) TeleportPosition.X = tonumber(value) or 0 end }) TeleportTab:CreateInput({ Name = "Y", PlaceholderText = "Y", RemoveTextAfterFocusLost = false, Callback = function(value) TeleportPosition.Y = tonumber(value) or 0 end }) TeleportTab:CreateInput({ Name = "Z", PlaceholderText = "Z", RemoveTextAfterFocusLost = false, Callback = function(value) TeleportPosition.Z = tonumber(value) or 0 end }) TeleportTab:CreateButton({ Name = "Teleport to Position", Callback = function() if HumanoidRootPart then HumanoidRootPart.CFrame = CFrame.new(TeleportPosition.X, TeleportPosition.Y, TeleportPosition.Z) end end }) TeleportTab:CreateButton({ Name = "Copy Position", Callback = function() if HumanoidRootPart then local pos = HumanoidRootPart.Position setclipboard(string.format("%.1f,%.1f,%.1f", pos.X, pos.Y, pos.Z)) end end }) TeleportTab:CreateSection("Click") TeleportTab:CreateToggle({ Name = "Click Teleport", CurrentValue = false, Flag = "CT", Callback = function(value) Toggles.ClickTeleport = value end }) local WorldTab = Window:CreateTab("World") WorldTab:CreateSection("Lighting") WorldTab:CreateToggle({ Name = "Fullbright", CurrentValue = false, Flag = "FB", Callback = function(value) Toggles.Fullbright = value if value then Lighting.Brightness = 2 Lighting.ClockTime = 14 Lighting.FogEnd = 1e6 Lighting.GlobalShadows = false else Lighting.Brightness = 1 Lighting.GlobalShadows = true Lighting.FogEnd = 1e3 end end }) WorldTab:CreateSlider({ Name = "Time", Range = {0, 24}, Increment = 0.5, Suffix = "h", CurrentValue = 14, Flag = "TM", Callback = function(value) Lighting.ClockTime = value end }) local VehicleTab = Window:CreateTab("Vehicle") VehicleTab:CreateSection("Settings") local function GetCurrentVehicle() if not Character then return nil end local humanoid = Character:FindFirstChildOfClass("Humanoid") if humanoid and humanoid.SeatPart then local vehicle = humanoid.SeatPart.Parent while vehicle and vehicle.Parent ~= Workspace do if vehicle:FindFirstChildOfClass("VehicleSeat") then return vehicle end vehicle = vehicle.Parent end return humanoid.SeatPart.Parent end return nil end VehicleTab:CreateSlider({ Name = "Vehicle Boost", Range = {1, 10}, Increment = 0.5, Suffix = "x", CurrentValue = 1, Flag = "VB", Callback = function(value) Settings.VehicleBoost = value local vehicle = GetCurrentVehicle() if vehicle then for _, descendant in vehicle:GetDescendants() do if descendant:IsA("VehicleSeat") then descendant.MaxSpeed = 100 * value descendant.Torque = 50 * value end end end end }) VehicleTab:CreateToggle({ Name = "Loop Boost", CurrentValue = false, Flag = "LV", Callback = function(value) Toggles.LoopVehicleBoost = value end }) VehicleTab:CreateSection("Fly") VehicleTab:CreateToggle({ Name = "Vehicle Fly", CurrentValue = false, Flag = "VF", Callback = function(value) Toggles.VehicleFly = value local vehicle = GetCurrentVehicle() if not vehicle then Toggles.VehicleFly = false return end local primaryPart = vehicle.PrimaryPart or vehicle:FindFirstChildWhichIsA("BasePart") if not primaryPart then return end if value then local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Name = "VehFlyV" bodyVelocity.MaxForce = Vector3.one * 9e9 bodyVelocity.Velocity = Vector3.zero bodyVelocity.Parent = primaryPart local bodyGyro = Instance.new("BodyGyro") bodyGyro.Name = "VehFlyG" bodyGyro.MaxTorque = Vector3.one * 9e9 bodyGyro.P = 9e4 bodyGyro.Parent = primaryPart else local flyV = primaryPart:FindFirstChild("VehFlyV") local flyG = primaryPart:FindFirstChild("VehFlyG") if flyV then flyV:Destroy() end if flyG then flyG:Destroy() end end end }) VehicleTab:CreateSlider({ Name = "Vehicle Fly Speed", Range = {10, 500}, Increment = 10, Suffix = "", CurrentValue = 50, Flag = "VFS", Callback = function(value) Settings.VehicleFlySpeed = value end }) local ESPTab = Window:CreateTab("ESP") ESPTab:CreateSection("Player ESP") local function UpdateESP() ESPFolder:ClearAllChildren() if not Toggles.ESP then return end for _, player in PlayersService:GetPlayers() do if player ~= LocalPlayer and player.Character then local char = player.Character local head = char:FindFirstChild("Head") local rootPart = char:FindFirstChild("HumanoidRootPart") local humanoid = char:FindFirstChildOfClass("Humanoid") if head and rootPart and humanoid then if Toggles.NameAndHealth then local billboard = Instance.new("BillboardGui") billboard.Name = player.Name .. "_Name" billboard.Adornee = head billboard.Size = UDim2.new(0, 100, 0, 40) billboard.StudsOffset = Vector3.new(0, 2, 0) billboard.AlwaysOnTop = true billboard.Parent = ESPFolder local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, 0, 0.5, 0) nameLabel.BackgroundTransparency = 1 nameLabel.Text = player.Name nameLabel.TextColor3 = Color3.new(1, 1, 1) nameLabel.TextScaled = true nameLabel.Font = Enum.Font.SourceSansBold nameLabel.Parent = billboard local healthLabel = Instance.new("TextLabel") healthLabel.Size = UDim2.new(1, 0, 0.5, 0) healthLabel.Position = UDim2.new(0, 0, 0.5, 0) healthLabel.BackgroundTransparency = 1 healthLabel.Text = math.floor(humanoid.Health) .. " HP" healthLabel.TextColor3 = Color3.new(0, 1, 0) healthLabel.TextScaled = true healthLabel.Font = Enum.Font.SourceSansBold healthLabel.Parent = billboard end if Toggles.Highlight then local highlight = Instance.new("Highlight") highlight.Name = player.Name .. "_High" highlight.Adornee = char highlight.FillColor = Color3.new(1, 0, 0) highlight.OutlineColor = Color3.new(1, 1, 1) highlight.FillTransparency = 0.7 highlight.OutlineTransparency = 0 highlight.Parent = ESPFolder end end end end end ESPTab:CreateToggle({ Name = "Enable ESP", CurrentValue = false, Flag = "ES", Callback = function(value) Toggles.ESP = value UpdateESP() end }) ESPTab:CreateToggle({ Name = "Name and Health", CurrentValue = false, Flag = "NE", Callback = function(value) Toggles.NameAndHealth = value UpdateESP() end }) ESPTab:CreateToggle({ Name = "Highlight", CurrentValue = false, Flag = "BE", Callback = function(value) Toggles.Highlight = value UpdateESP() end }) ESPTab:CreateButton({ Name = "Refresh ESP", Callback = function() UpdateESP() end }) local MiscTab = Window:CreateTab("Misc") MiscTab:CreateSection("Utility") MiscTab:CreateToggle({ Name = "Anti AFK", CurrentValue = false, Flag = "AA", Callback = function(value) Toggles.AntiAFK = value end }) MiscTab:CreateButton({ Name = "Rejoin", Callback = function() TeleportService:Teleport(game.PlaceId, LocalPlayer) end }) MiscTab:CreateButton({ Name = "Copy Game ID", Callback = function() setclipboard(tostring(game.PlaceId)) end }) MiscTab:CreateSection("GUI") MiscTab:CreateButton({ Name = "Destroy GUI", Callback = function() StopSpectating() ESPFolder:Destroy() Library:Destroy() end }) RunService.Heartbeat:Connect(function() UpdateCharacter() if not Humanoid then return end if Toggles.LoopWalkSpeed then pcall(function() Humanoid.WalkSpeed = Settings.WalkSpeed end) end if Toggles.LoopJumpPower then pcall(function() Humanoid.JumpPower = Settings.JumpPower Humanoid.UseJumpPower = true end) end if Toggles.LoopGravity then Workspace.Gravity = Settings.Gravity end if Toggles.LoopVehicleBoost then local vehicle = GetCurrentVehicle() if vehicle then for _, descendant in vehicle:GetDescendants() do if descendant:IsA("VehicleSeat") then descendant.MaxSpeed = 200 * Settings.VehicleBoost descendant.Torque = 100 * Settings.VehicleBoost end end end end if Toggles.GodMode then pcall(function() Humanoid.Health = Humanoid.MaxHealth end) end if Toggles.AntiVoid and HumanoidRootPart then if HumanoidRootPart.Position.Y < -50 then HumanoidRootPart.CFrame = CFrame.new(0, 50, 0) end end if Toggles.Spectating and SpectatingTarget then if SpectatingTarget.Parent and SpectatingTarget.Character then local targetHumanoid = SpectatingTarget.Character:FindFirstChildOfClass("Humanoid") local targetRoot = SpectatingTarget.Character:FindFirstChild("HumanoidRootPart") local healthText = targetHumanoid and math.floor(targetHumanoid.Health) .. "/" .. math.floor(targetHumanoid.MaxHealth) or "N/A" local posText = targetRoot and string.format("%.0f,%.0f,%.0f", targetRoot.Position.X, targetRoot.Position.Y, targetRoot.Position.Z) or "N/A" pcall(function() SpectateStatusLabel:Set("Spectating: " .. SpectatingTarget.Name .. " | " .. healthText .. " | " .. posText) end) else StopSpectating() end else pcall(function() SpectateStatusLabel:Set("Not spectating") end) end end) RunService.RenderStepped:Connect(function() if Toggles.Fly and HumanoidRootPart then local flyV = HumanoidRootPart:FindFirstChild("FlyV") local flyG = HumanoidRootPart:FindFirstChild("FlyG") if flyV and flyG then flyG.CFrame = Camera.CFrame local moveDirection = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.yAxis end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then moveDirection = moveDirection - Vector3.yAxis end flyV.Velocity = moveDirection.Magnitude > 0 and moveDirection.Unit * Settings.FlySpeed or Vector3.zero end end if Toggles.VehicleFly then local vehicle = GetCurrentVehicle() if vehicle then local primaryPart = vehicle.PrimaryPart or vehicle:FindFirstChildWhichIsA("BasePart") if primaryPart then local flyV = primaryPart:FindFirstChild("VehFlyV") local flyG = primaryPart:FindFirstChild("VehFlyG") if flyV and flyG then flyG.CFrame = Camera.CFrame local moveDirection = Vector3.zero if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - Camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + Camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.yAxis end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then moveDirection = moveDirection - Vector3.yAxis end flyV.Velocity = moveDirection.Magnitude > 0 and moveDirection.Unit * Settings.VehicleFlySpeed or Vector3.zero end end end end end) RunService.Stepped:Connect(function() if Toggles.Noclip and Character then for _, part in Character:GetDescendants() do if part:IsA("BasePart") then part.CanCollide = false end end end end) UserInputService.JumpRequest:Connect(function() if Toggles.InfiniteJump and Humanoid then pcall(function() Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end) end end) UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if Toggles.ClickTeleport and input.UserInputType == Enum.UserInputType.MouseButton1 and HumanoidRootPart then local mouse = LocalPlayer:GetMouse() if mouse.Target then HumanoidRootPart.CFrame = CFrame.new(mouse.Hit.Position + Vector3.new(0, 3, 0)) end end end) task.spawn(function() while task.wait(60) do if Toggles.AntiAFK then pcall(function() local virtualUser = game:GetService("VirtualUser") virtualUser:CaptureController() virtualUser:ClickButton2(Vector2.zero) end) end end end) PlayersService.PlayerAdded:Connect(function() task.delay(1, function() local list = GetPlayerList() pcall(function() SpectateDropdown:Refresh(list) end) pcall(function() InfoDropdown:Refresh(list) end) pcall(function() TeleportDropdown:Refresh(list) end) UpdateESP() end) end) PlayersService.PlayerRemoving:Connect(function(player) task.delay(0.5, function() local list = GetPlayerList() pcall(function() SpectateDropdown:Refresh(list) end) pcall(function() InfoDropdown:Refresh(list) end) pcall(function() TeleportDropdown:Refresh(list) end) UpdateESP() if SpectatingTarget and SpectatingTarget == player then StopSpectating() end end) end) Library:Notify({ Title = "Simple GUI v1.5", Content = "Loaded successfully", Duration = 3 })