-- Создание GUI (Kotyara Script) local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local Title = Instance.new("TextLabel") local TabButtons = Instance.new("Frame") local ESPTabBtn = Instance.new("TextButton") local VisualTabBtn = Instance.new("TextButton") local ContentFrame = Instance.new("Frame") local ESPPage = Instance.new("ScrollingFrame") local VisualPage = Instance.new("ScrollingFrame") local UIListLayout1 = Instance.new("UIListLayout") local UIListLayout2 = Instance.new("UIListLayout") -- Настройка контейнеров GUI ScreenGui.Parent = game:GetService("CoreGui") ScreenGui.ResetOnSpawn = false MainFrame.Name = "KotyaraMain" MainFrame.Size = UDim2.new(0, 350, 0, 250) MainFrame.Position = UDim2.new(0.5, -175, 0.5, -125) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.BorderSizePixel = 2 MainFrame.BorderColor3 = Color3.fromRGB(255, 0, 128) MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Title.Text = "kotyara script:3 for you" Title.TextColor3 = Color3.fromRGB(255, 0, 255) Title.TextSize = 18 Title.Font = Enum.Font.SourceSansBold Title.Parent = MainFrame TabButtons.Size = UDim2.new(1, 0, 0, 30) TabButtons.Position = UDim2.new(0, 0, 0, 35) TabButtons.BackgroundColor3 = Color3.fromRGB(35, 35, 35) TabButtons.Parent = MainFrame ESPTabBtn.Size = UDim2.new(0.5, 0, 1, 0) ESPTabBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) ESPTabBtn.Text = "esp" ESPTabBtn.TextColor3 = Color3.fromRGB(255, 0, 255) ESPTabBtn.TextSize = 16 ESPTabBtn.Font = Enum.Font.SourceSansBold ESPTabBtn.Parent = TabButtons VisualTabBtn.Size = UDim2.new(0.5, 0, 1, 0) VisualTabBtn.Position = UDim2.new(0.5, 0, 0, 0) VisualTabBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) VisualTabBtn.Text = "visual" VisualTabBtn.TextColor3 = Color3.fromRGB(0, 255, 0) VisualTabBtn.TextSize = 16 VisualTabBtn.Font = Enum.Font.SourceSansBold VisualTabBtn.Parent = TabButtons ContentFrame.Size = UDim2.new(1, 0, 1, -65) ContentFrame.Position = UDim2.new(0, 0, 0, 65) ContentFrame.BackgroundTransparency = 1 ContentFrame.Parent = MainFrame ESPPage.Size = UDim2.new(1, 0, 1, 0) ESPPage.BackgroundTransparency = 1 ESPPage.CanvasSize = UDim2.new(0, 0, 1.5, 0) ESPPage.Visible = true ESPPage.Parent = ContentFrame VisualPage.Size = UDim2.new(1, 0, 1, 0) VisualPage.BackgroundTransparency = 1 VisualPage.CanvasSize = UDim2.new(0, 0, 1.5, 0) VisualPage.Visible = false VisualPage.Parent = ContentFrame UIListLayout1.Parent = ESPPage UIListLayout1.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout1.Padding = UDim.new(0, 5) UIListLayout2.Parent = VisualPage UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout2.Padding = UDim.new(0, 5) -- Переключение вкладок ESPTabBtn.MouseButton1Click:Connect(function() ESPPage.Visible = true VisualPage.Visible = false ESPTabBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) VisualTabBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) end) VisualTabBtn.MouseButton1Click:Connect(function() ESPPage.Visible = false VisualPage.Visible = true ESPTabBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) VisualTabBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 45) end) -- Состояния кнопок меню local ActiveStates = {Items = false, Capsules = false, Tapes = false, Twisteds = false, Generators = false} local Colors = { Items = Color3.fromRGB(0, 255, 255), Capsules = Color3.fromRGB(255, 255, 0), Tapes = Color3.fromRGB(255, 165, 0), Twisteds = Color3.fromRGB(255, 0, 0), Generators = Color3.fromRGB(0, 255, 0) } -- Фильтр мусора local Blacklist = {"puddle", "stain", "effect", "particle", "drop", "fluid", "gloop", "residue", "splat", "trail", "spawn"} -- Функция создания ESP local function CreateESP(object, color, cleanName) if object:FindFirstChild("KotyaraESP") then return end local highlight = Instance.new("Highlight") highlight.Name = "KotyaraESP" highlight.FillColor = color highlight.FillTransparency = 0.4 highlight.OutlineColor = Color3.fromRGB(255, 255, 255) highlight.OutlineTransparency = 0 highlight.Adornee = object highlight.Parent = object local bb = Instance.new("BillboardGui") bb.Name = "KotyaraTag" bb.Size = UDim2.new(0, 180, 0, 40) bb.AlwaysOnTop = true bb.StudsOffset = Vector3.new(0, 3, 0) bb.Adornee = object local tl = Instance.new("TextLabel") tl.Name = "KotyaraTL" tl.Size = UDim2.new(1, 0, 1, 0) tl.BackgroundTransparency = 1 tl.Text = cleanName tl.TextColor3 = color tl.TextSize = 14 tl.Font = Enum.Font.SourceSansBold tl.TextWrapped = true tl.Parent = bb bb.Parent = object end -- Удаление ESP local function RemoveAllESP() for _, v in pairs(workspace:GetDescendants()) do if v.Name == "KotyaraESP" or v.Name == "KotyaraTag" then v:Destroy() end end end -- Поиск и отрисовка local function UpdateESP() RemoveAllESP() local lplayer = game:GetService("Players").LocalPlayer local char = lplayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("Model") or obj:IsA("BasePart") then local objName = obj.Name local objNameLower = string.lower(objName) -- Фильтр мусора local isBlacklisted = false for _, word in pairs(Blacklist) do if string.find(objNameLower, word) then isBlacklisted = true break end end if not isBlacklisted then local finalColor = nil local finalName = objName -- 1. Сбор Твистедов (Ищем напрямую в папках Monsters игры Dandy's World) if ActiveStates.Twisteds then local isMonster = false -- Проверяем, лежит ли объект в папке Monsters if obj.Parent and obj.Parent.Name == "Monsters" and obj:IsA("Model") then isMonster = true -- Запасная проверка структуры комнат карты elseif obj.Parent and obj.Parent.Parent and obj.Parent.Parent.Name == "Monsters" and obj.Parent:IsA("Model") then obj = obj.Parent objName = obj.Name isMonster = true end if isMonster and not game.Players:GetPlayerFromCharacter(obj) then finalColor = Colors.Twisteds finalName = "Twisted " .. objName end end -- Если это не твистед, проверяем остальные предметы if not finalColor then -- 2. Генераторы (Машины) if ActiveStates.Generators and (string.find(objNameLower, "generator") or string.find(objNameLower, "machine")) then finalColor = Colors.Generators -- 3. Капсулы elseif ActiveStates.Capsules and (string.find(objNameLower, "capsule") or string.find(objNameLower, "research")) then finalColor = Colors.Capsules -- 4. Кассеты / Ленты elseif ActiveStates.Tapes and (string.find(objNameLower, "tape") or string.find(objNameLower, "cassette")) then finalColor = Colors.Tapes -- 5. Предметы elseif ActiveStates.Items and (string.find(objNameLower, "item") or string.find(objNameLower, "pickup") or obj:FindFirstChildOfClass("ProximityPrompt")) then local prompt = obj:FindFirstChildOfClass("ProximityPrompt") or obj:FindFirstChildOfClass("ProximityPrompt", true) if prompt and prompt.ObjectText and prompt.ObjectText ~= "" then finalName = prompt.ObjectText end finalColor = Colors.Items end end -- Если нашли цель, отрисовываем её if finalColor and obj then if root then local targetPart = obj:IsA("BasePart") and obj or obj:FindFirstChildOfClass("BasePart") if targetPart then local dist = math.floor((root.Position - targetPart.Position).Magnitude) finalName = finalName .. " [" .. dist .. "m]" end end CreateESP(obj, finalColor, finalName) end end end end end -- Оптимальный цикл (раз в 1.5 секунды) task.spawn(function() while true do local anyActive = false for _, state in pairs(ActiveStates) do if state then anyActive = true break end end if anyActive then UpdateESP() else RemoveAllESP() end task.wait(1.5) end end) -- Конструктор UI кнопок local function CreateToggleButton(text, parent, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.95, 0, 0, 35) btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) btn.Text = text .. " : OFF" btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 14 btn.Font = Enum.Font.SourceSans btn.Parent = parent local state = false btn.MouseButton1Click:Connect(function() state = not state if state then btn.Text = text .. " : ON" btn.BackgroundColor3 = Color3.fromRGB(0, 100, 0) else btn.Text = text .. " : OFF" btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) end callback(state) end) end -- Создание кнопок ESP CreateToggleButton("- esp items", ESPPage, function(v) ActiveStates.Items = v UpdateESP() end) CreateToggleButton("- esp capsules", ESPPage, function(v) ActiveStates.Capsules = v UpdateESP() end) CreateToggleButton("- esp tapes", ESPPage, function(v) ActiveStates.Tapes = v UpdateESP() end) CreateToggleButton("- esp twisteds", ESPPage, function(v) ActiveStates.Twisteds = v UpdateESP() end) CreateToggleButton("- esp generators", ESPPage, function(v) ActiveStates.Generators = v UpdateESP() end) -- Стабильный Full Bright local Lighting = game:GetService("Lighting") local OrigAmbient = Lighting.Ambient local OrigOutdoorAmbient = Lighting.OutdoorAmbient CreateToggleButton("- full bright", VisualPage, function(v) if v then Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) Lighting.Brightness = 3 Lighting.FogEnd = 999999 else Lighting.Ambient = OrigAmbient Lighting.OutdoorAmbient = OrigOutdoorAmbient Lighting.Brightness = 1 Lighting.FogEnd = 1000 end end)