--[[ peak zone | Murder Mystery 2 https://peakzone.lol · ключ берётся в кабинете: https://peakzone.lol/cabinet getgenv().PZ_KEY = "PZ-XXXX-XXXX-XXXX-XXXX" loadstring(game:HttpGet("https://peakzone.lol/loader.lua"))() ]] local API = "https://peakzone-accounts.peakzone.workers.dev/script?key=" local env = (getgenv and getgenv()) or _G local key = tostring(env.PZ_KEY or _G.PZ_KEY or script_key or "") key = key:gsub("%s", ""):upper() local function notify(text) warn("[peak zone] " .. text) pcall(function() game:GetService("StarterGui"):SetCore("SendNotification", { Title = "peak zone", Text = text, Duration = 10, }) end) end if key == "" then notify("Нужен ключ. Купи подписку и возьми ключ на peakzone.lol/cabinet") return end local ok, code = pcall(function() return game:HttpGet(API .. key) end) if not ok or type(code) ~= "string" or code == "" then notify("Сервер не отвечает, попробуй ещё раз через минуту") return end local err = code:match("^%-%-PZERR:(.*)") if err then notify(err) return end local fn, cerr = loadstring(code) if not fn then notify("Не удалось загрузить скрипт: " .. tostring(cerr)) return end return fn()