-- LocalScript dentro de StarterPlayer > StarterPlayerScripts local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer -- Configurações visuais local NAME_COLOR = Color3.fromRGB(255, 0, 0) local STROKE_COLOR = Color3.fromRGB(255, 255, 255) local BACKGROUND_COLOR = Color3.fromRGB(0, 0, 0) local FONT = Enum.Font.Arcade -- Estado do ESP local ESP_ENABLED = false -- Função para criar ESP local function createESP(targetPlayer) if not targetPlayer.Character then return end local head = targetPlayer.Character:FindFirstChild("Head") if not head then return end if head:FindFirstChild("CoolkiddESP") then return end local billboard = Instance.new("BillboardGui") billboard.Name = "CoolkiddESP" billboard.Adornee = head billboard.Size = UDim2.new(0, 120, 0, 30) billboard.StudsOffset = Vector3.new(0, 3, 0) billboard.AlwaysOnTop = true billboard.Parent = head local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 1, 0) label.BackgroundTransparency = 0.3 label.BackgroundColor3 = BACKGROUND_COLOR label.TextScaled = true label.Font = FONT label.Text = "[COOL] " .. targetPlayer.Name label.TextColor3 = NAME_COLOR label.TextStrokeTransparency = 0 label.TextStrokeColor3 = STROKE_COLOR label.Parent = billboard end -- Função para remover ESP local function removeESP(targetPlayer) if targetPlayer.Character then local head = targetPlayer.Character:FindFirstChild("Head") if head and head:FindFirstChild("CoolkiddESP") then head:FindFirstChild("CoolkiddESP"):Destroy() end end end -- Liga ou desliga o ESP local function toggleESP(state) ESP_ENABLED = state for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then if ESP_ENABLED then createESP(player) else removeESP(player) end end end end -- Atualiza ESP quando novos jogadores entram ou respawnam Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function() wait(1) if ESP_ENABLED then createESP(player) end end) end) for _, player in ipairs(Players:GetPlayers()) do player.CharacterAdded:Connect(function() wait(1) if ESP_ENABLED then createESP(player) end end) end -- GUI COOLKIDD STYLE local screenGui = Instance.new("ScreenGui") screenGui.Name = "CoolkiddUI" screenGui.ResetOnSpawn = false screenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 160, 0, 40) button.Position = UDim2.new(0, 20, 0, 100) button.BackgroundColor3 = Color3.fromRGB(0, 0, 0) button.BorderColor3 = Color3.fromRGB(255, 0, 0) button.BorderSizePixel = 3 button.Text = "ESP: OFF" button.TextColor3 = NAME_COLOR button.TextStrokeColor3 = STROKE_COLOR button.TextStrokeTransparency = 0 button.Font = FONT button.TextScaled = true button.Parent = screenGui -- Botão de ativar/desativar ESP button.MouseButton1Click:Connect(function() ESP_ENABLED = not ESP_ENABLED button.Text = ESP_ENABLED and "ESP: ON" or "ESP: OFF" toggleESP(ESP_ENABLED) end)