Esp Generator
Key Required

Esp Generator

ForsakenZemon07Zemon07 12.3K views 279 executesUpdated Jun 10, 2025
0.0/ 5(1 votes)
010% Positive
Lua Script•45 lines (1380 chars)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")

local ESPEnabled = true 
local toggleKey = Enum.KeyCode.L 

UserInputService.InputBegan:Connect(function(input, processed)
	if not processed and input.KeyCode == toggleKey then
		ESPEnabled = not ESPEnabled
		print("🔁 ESP Status::", ESPEnabled and "ON" or "OFF")
	end
end)

while true do
	local map = workspace:FindFirstChild("Map")
	local ingame = map and map:FindFirstChild("Ingame")
	local gameMap = ingame and ingame:FindFirstChild("Map")

	if gameMap then
		for _, v in ipairs(gameMap:GetChildren()) do
			if v:IsA("Model") and v.Name == "Generator" then
				local progress = v:FindFirstChild("Progress")
				local existingESP = v:FindFirstChild("ESP_Generator")

				if existingESP and (not ESPEnabled or (progress and progress.Value >= 100)) then
					existingESP:Destroy()
				end

				if ESPEnabled and progress and progress.Value < 100 and not existingESP then
					local highlight = Instance.new("Highlight")
					highlight.Name = "ESP_Generator"
					highlight.Adornee = v
					highlight.FillColor = Color3.fromRGB(255, 0, 0)
					highlight.OutlineColor = Color3.fromRGB(0, 0, 0)
					highlight.FillTransparency = 0.5
					highlight.OutlineTransparency = 0
					highlight.Parent = v
				end
			end
		end
	end

	task.wait(1)
end

Features & Information

Esp Generator

Community Comments (1)

JaxToTheMax180JaxToTheMax180Nov 25, 2025

THIS ACTUALLY WORKS

More Scripts for Forsaken