local player = game:GetService("Players").LocalPlayer local playerGui = player:WaitForChild("PlayerGui") if playerGui:FindFirstChild("ESP_GUI") then playerGui.ESP_GUI:Destroy() end for i, v in pairs(game:GetService("Players"):GetPlayers()) do if v.Character and v.Character:FindFirstChildOfClass("Highlight") then v.Character:FindFirstChildOfClass("Highlight"):Destroy() end if v.Character and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("ESP_NameTag") then v.Character.Head:FindFirstChild("ESP_NameTag"):Destroy() end end local ESP_GUI = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local UICorner = Instance.new("UICorner") local TitleLabel = Instance.new("TextLabel") local UICorner_2 = Instance.new("UICorner") local CloseButton = Instance.new("TextButton") local UICorner_3 = Instance.new("UICorner") local EnableESPButton = Instance.new("TextButton") local UICorner_4 = Instance.new("UICorner") local RainbowESPButton = Instance.new("TextButton") local UICorner_5 = Instance.new("UICorner") local DistanceButton = Instance.new("TextButton") local UICorner_6 = Instance.new("UICorner") local FOVLabel = Instance.new("TextLabel") local FOVSliderFrame = Instance.new("Frame") local UICorner_7 = Instance.new("UICorner") local FOVSliderBar = Instance.new("Frame") local FOVSliderProgress = Instance.new("Frame") local UICorner_8 = Instance.new("UICorner") local FOVSliderIndicator = Instance.new("Frame") local UICorner_9 = Instance.new("UICorner") local FOVSliderButton = Instance.new("TextButton") local UICorner_10 = Instance.new("UICorner") ESP_GUI.Name = "ESP_GUI" ESP_GUI.Parent = playerGui MainFrame.Size = UDim2.new(0, 350, 0, 300) MainFrame.Position = UDim2.new(0.5, -175, 0.5, -192) MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ESP_GUI UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame TitleLabel.Size = UDim2.new(1, 0, 0, 40) TitleLabel.BackgroundColor3 = Color3.fromRGB(40, 40, 40) TitleLabel.Text = "Shlerpy's ESP" TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.Font = Enum.Font.GothamBold TitleLabel.TextSize = 20 TitleLabel.Parent = MainFrame UICorner_2.CornerRadius = UDim.new(0, 12) UICorner_2.Parent = TitleLabel CloseButton.Size = UDim2.new(0, 35, 0, 35) CloseButton.Position = UDim2.new(1, -40, 0, 3) CloseButton.Text = "X" CloseButton.BackgroundColor3 = Color3.fromRGB(70, 0, 0) CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.Font = Enum.Font.GothamBold CloseButton.TextSize = 18 CloseButton.Parent = MainFrame UICorner_3.CornerRadius = UDim.new(0, 8) UICorner_3.Parent = CloseButton EnableESPButton.Size = UDim2.new(1, -20, 0, 45) EnableESPButton.Position = UDim2.new(0, 10, 0, 50) EnableESPButton.Text = "Enable ESP" EnableESPButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) EnableESPButton.TextColor3 = Color3.fromRGB(255, 255, 255) EnableESPButton.Font = Enum.Font.Gotham EnableESPButton.TextSize = 16 EnableESPButton.Parent = MainFrame UICorner_4.CornerRadius = UDim.new(0, 8) UICorner_4.Parent = EnableESPButton RainbowESPButton.Size = UDim2.new(1, -20, 0, 45) RainbowESPButton.Position = UDim2.new(0, 10, 0, 105) RainbowESPButton.Text = "Rainbow ESP: ON" RainbowESPButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) RainbowESPButton.TextColor3 = Color3.fromRGB(255, 255, 255) RainbowESPButton.Font = Enum.Font.Gotham RainbowESPButton.TextSize = 16 RainbowESPButton.Parent = MainFrame UICorner_5.CornerRadius = UDim.new(0, 8) UICorner_5.Parent = RainbowESPButton DistanceButton.Size = UDim2.new(1, -20, 0, 45) DistanceButton.Position = UDim2.new(0, 10, 0, 160) DistanceButton.Text = "Distance: OFF" DistanceButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) DistanceButton.TextColor3 = Color3.fromRGB(255, 255, 255) DistanceButton.Font = Enum.Font.Gotham DistanceButton.TextSize = 16 DistanceButton.Parent = MainFrame UICorner_6.CornerRadius = UDim.new(0, 8) UICorner_6.Parent = DistanceButton FOVLabel.Size = UDim2.new(1, -20, 0, 20) FOVLabel.Position = UDim2.new(0, 10, 0, 215) FOVLabel.BackgroundTransparency = 1 FOVLabel.Text = "FOV: 70" FOVLabel.TextColor3 = Color3.fromRGB(255, 255, 255) FOVLabel.Font = Enum.Font.GothamBold FOVLabel.TextSize = 14 FOVLabel.Parent = MainFrame FOVSliderFrame.Size = UDim2.new(1, -20, 0, 50) FOVSliderFrame.Position = UDim2.new(0, 10, 0, 240) FOVSliderFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) FOVSliderFrame.BorderSizePixel = 0 FOVSliderFrame.Parent = MainFrame UICorner_7.CornerRadius = UDim.new(0, 8) UICorner_7.Parent = FOVSliderFrame FOVSliderBar.Size = UDim2.new(1, -16, 0, 28) FOVSliderBar.Position = UDim2.new(0, 8, 0, 12) FOVSliderBar.BackgroundTransparency = 1 FOVSliderBar.Parent = FOVSliderFrame FOVSliderProgress.Size = UDim2.new(1, 0, 0, 6) FOVSliderProgress.BackgroundColor3 = Color3.fromRGB(50, 50, 50) FOVSliderProgress.Parent = FOVSliderBar UICorner_8.CornerRadius = UDim.new(0, 3) UICorner_8.Parent = FOVSliderProgress FOVSliderIndicator.Size = UDim2.new(0.33, 0, 1, 0) FOVSliderIndicator.BackgroundColor3 = Color3.fromRGB(255, 255, 255) FOVSliderIndicator.Parent = FOVSliderProgress UICorner_9.CornerRadius = UDim.new(0, 3) UICorner_9.Parent = FOVSliderIndicator FOVSliderButton.Size = UDim2.new(0, 14, 0, 14) FOVSliderButton.Position = UDim2.new(0.33, -7, 0, 7) FOVSliderButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) FOVSliderButton.BorderSizePixel = 0 FOVSliderButton.Text = "" FOVSliderButton.Parent = FOVSliderBar UICorner_10.CornerRadius = UDim.new(0, 7) UICorner_10.Parent = FOVSliderButton local fov = 70 local dragging = false local uis = game:GetService("UserInputService") local mouse = player:GetMouse() FOVSliderButton.MouseButton1Down:Connect(function() dragging = true end) uis.InputEnded:Connect(function() dragging = false end) game:GetService("RunService").RenderStepped:Connect(function() if dragging then local mouseX = mouse.X local barX = FOVSliderBar.AbsolutePosition.X local barWidth = FOVSliderBar.AbsoluteSize.X local relativeX = mouseX - barX local percentage = math.clamp(relativeX / barWidth, 0, 1) fov = 30 + (percentage * 90) FOVLabel.Text = "FOV: " .. tostring(math.floor(fov)) FOVSliderIndicator.Size = UDim2.new(percentage, 0, 1, 0) FOVSliderButton.Position = UDim2.new(percentage, -7, 0, 7) end end) local espEnabled = false local rainbowEnabled = true local distanceEnabled = false local hue = 0 local function updateESP(targetPlayer) local character = targetPlayer.Character if not character or targetPlayer == player then return end local head = character:FindFirstChild("Head") if not head then return end local highlight = character:FindFirstChildOfClass("Highlight") if not highlight then highlight = Instance.new("Highlight") highlight.Parent = character end local billboardGui = head:FindFirstChild("ESP_NameTag") if not billboardGui then billboardGui = Instance.new("BillboardGui") billboardGui.Name = "ESP_NameTag" billboardGui.Size = UDim2.new(0, 260, 0, 60) billboardGui.StudsOffset = Vector3.new(0, 2, 0) billboardGui.AlwaysOnTop = true billboardGui.Parent = head local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(1, 0, 0, 35) nameLabel.BackgroundTransparency = 1 nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255) nameLabel.Font = Enum.Font.GothamBold nameLabel.TextSize = 14 nameLabel.TextScaled = true nameLabel.Parent = billboardGui local healthBarBackground = Instance.new("Frame") healthBarBackground.Size = UDim2.new(1, -10, 0, 3) healthBarBackground.Position = UDim2.new(0, 5, 1, -8) healthBarBackground.BackgroundColor3 = Color3.fromRGB(80, 80, 80) healthBarBackground.Parent = billboardGui local healthBarCorner = Instance.new("UICorner") healthBarCorner.CornerRadius = UDim.new(0, 2) healthBarCorner.Parent = healthBarBackground local healthBar = Instance.new("Frame") healthBar.Size = UDim2.new(1, 0, 1, 0) healthBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255) healthBar.Parent = healthBarBackground local healthBarCorner2 = Instance.new("UICorner") healthBarCorner2.CornerRadius = UDim.new(0, 2) healthBarCorner2.Parent = healthBar end local nameLabel = billboardGui:FindFirstChildOfClass("TextLabel") local healthBar = billboardGui:FindFirstChild("Frame"):FindFirstChild("Frame") if espEnabled then highlight.Enabled = true billboardGui.Enabled = true local distance = (player.Character.Head.Position - head.Position).Magnitude local text = targetPlayer.Name if distanceEnabled then text = text .. " [" .. tostring(math.floor(distance)) .. "m]" end nameLabel.Text = text local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then local healthPercentage = humanoid.Health / humanoid.MaxHealth healthBar.Size = UDim2.new(healthPercentage, 0, 1, 0) healthBar.BackgroundColor3 = Color3.fromHSV(healthPercentage * 0.33, 1, 1) end if rainbowEnabled then local color = Color3.fromHSV(hue, 1, 1) highlight.FillColor = color highlight.OutlineColor = color nameLabel.TextColor3 = color else local color = Color3.fromRGB(255, 255, 255) highlight.FillColor = color highlight.OutlineColor = color nameLabel.TextColor3 = color end else highlight.Enabled = false billboardGui.Enabled = false end end local function onPlayerAdded(newPlayer) newPlayer.CharacterAdded:Connect(function(character) wait(1) updateESP(newPlayer) end) end game:GetService("RunService").RenderStepped:Connect(function() if rainbowEnabled then hue = (hue + 0.005) % 1 end if espEnabled then for i, v in pairs(game:GetService("Players"):GetPlayers()) do updateESP(v) end end end) uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.RightControl then MainFrame.Visible = not MainFrame.Visible end end) CloseButton.MouseButton1Click:Connect(function() MainFrame.Visible = false end) EnableESPButton.MouseButton1Click:Connect(function() espEnabled = not espEnabled if espEnabled then EnableESPButton.Text = "Disable ESP" for i, v in pairs(game:GetService("Players"):GetPlayers()) do updateESP(v) end else EnableESPButton.Text = "Enable ESP" for i, v in pairs(game:GetService("Players"):GetPlayers()) do if v.Character and v.Character:FindFirstChildOfClass("Highlight") then v.Character:FindFirstChildOfClass("Highlight"):Destroy() end if v.Character and v.Character:FindFirstChild("Head") and v.Character.Head:FindFirstChild("ESP_NameTag") then v.Character.Head:FindFirstChild("ESP_NameTag"):Destroy() end end end end) RainbowESPButton.MouseButton1Click:Connect(function() rainbowEnabled = not rainbowEnabled if rainbowEnabled then RainbowESPButton.Text = "Rainbow ESP: ON" else RainbowESPButton.Text = "Rainbow ESP: OFF" end end) DistanceButton.MouseButton1Click:Connect(function() distanceEnabled = not distanceEnabled if distanceEnabled then DistanceButton.Text = "Distance: ON" else DistanceButton.Text = "Distance: OFF" end end) game:GetService("Players").PlayerAdded:Connect(onPlayerAdded) for i, v in pairs(game:GetService("Players"):GetPlayers()) do onPlayerAdded(v) if v.Character then wait(1) updateESP(v) end end