-- KRNL-only check: show "ur baned" and stop on any other executor local function detect_executor() if type(identifyexecutor) == "function" then local ok, name = pcall(identifyexecutor) if ok and type(name) == "string" and #name > 0 then return name end end if rawget(_G, "KRNL_LOADED") ~= nil then return "Krnl" end if rawget(_G, "KRNL") ~= nil then return "Krnl" end if type(iskrnl) == "function" then return "Krnl" end return "Unknown" end local exploit = detect_executor() local function is_krnl(name) if not name then return false end return tostring(name):lower():find("krnl") ~= nil end if not is_krnl(exploit) then local msg = "ur baned" -- message shown to non-KRNL users -- 1) Try Roblox notification (SetCore) if available pcall(function() local StarterGui = game:GetService("StarterGui") StarterGui:SetCore("SendNotification", { Title = "Access Denied", Text = msg, Duration = 5 }) end) -- 2) Fallback: try to create a full-screen message (best effort, wrapped in pcall) pcall(function() local CoreGui = game:GetService("CoreGui") local gui = Instance.new("ScreenGui") gui.Name = "AccessDeniedGui" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(1, 0, 1, 0) frame.Position = UDim2.new(0, 0, 0, 0) frame.BackgroundColor3 = Color3.fromRGB(20,20,20) frame.BackgroundTransparency = 0.35 local label = Instance.new("TextLabel", frame) label.AnchorPoint = Vector2.new(0.5, 0.5) label.Position = UDim2.new(0.5, 0, 0.5, 0) label.Size = UDim2.new(0.8, 0, 0, 100) label.BackgroundTransparency = 1 label.Font = Enum.Font.SourceSansBold label.TextSize = 36 label.TextColor3 = Color3.fromRGB(255, 0, 0) label.TextScaled = false label.Text = msg gui.Parent = CoreGui -- remove after 5 seconds delay(5, function() pcall(function() gui:Destroy() end) end) end) -- 3) final fallback: warn in output warn("This script only works on KRNL. Detected: " .. tostring(exploit) .. " — " .. msg) return end -- If KRNL, continue and load GUI print("✅ Running on KRNL — loading GUI...") -- === your existing GUI script starts here === local Version = "1.6.41" local WindUI = loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/download/" .. Version .. "/main.lua"))() WindUI:SetTheme("dark") local Window = WindUI:CreateWindow({ Title = "spooky grande hub", Icon = "door-open", -- lucide icon Author = "by Mohammad", Folder = "spooky grande hub ", -- ↓ This all is Optional. You can remove it. Size = UDim2.fromOffset(580, 460), MinSize = Vector2.new(560, 350), MaxSize = Vector2.new(850, 560), Transparent = true, Theme = "Dark", Resizable = true, SideBarWidth = 200, BackgroundImageTransparency = 0.42, HideSearchBar = true, ScrollBarEnabled = false, -- ↓ Optional. You can remove it. --[[ You can set 'rbxassetid://' or video to Background. 'rbxassetid://': Background = "rbxassetid://", -- rbxassetid Video: Background = "video:YOUR-RAW-LINK-TO-VIDEO.webm", -- video --]] -- ↓ Optional. You can remove it. User = { Enabled = true, Essa12838 = true, Callback = function() print("clicked") end, }, -- remove this all, -- ! ↓ if you DON'T need the key system KeySystem = { -- ↓ Optional. You can remove it. Key = { "1234", "5678" }, Note = "KRY IS 1234 OR 5678.", -- ↓ Optional. You can remove it. Thumbnail = { Image = "rbxassetid://", Title = "KRY IS 1234", }, -- ↓ Optional. You can remove it. URL = "YOUR LINK TO GET KEY (Discord, Linkvertise, Pastebin, etc.)", -- ↓ Optional. You can remove it. SaveKey = false, -- automatically save and load the key. -- ↓ Optional. You can remove it. -- API = {} ← Services. Read about it below ↓ }, }) local Tab = Window:Tab({ Title = "TOOLS", Icon = "cat", -- optional Locked = false, }) local Button = Tab:Button({ Title = "novlip", Desc = "noclips u", Locked = false, Callback = function() -- ... end }) local Button = Tab:Button({ Title = "speed boost", Desc = "speeds u to 100", Locked = false, Callback = function() -- ... end }) local Tab = Window:Tab({ Title = "JUST A THING", Icon = "bird", -- optional Locked = false, }) local Button = Tab:Button({ Title = "DESTROY GUI", Desc = "JUST DESTROYES UR GUI", Locked = false, Callback = function() -- ... end }) local Tab = Window:Tab({ Title = "TOOLS 2", Icon = "cat", -- optional Locked = false, }) local Button = Tab:Button({ Title = "esp", Desc = "esp people", Locked = false, Callback = function() -- ... end }) local Button = Tab:Button({ Title = "trlport", Desc = "Thid will telport u where u choose to telports", Locked = false, Callback = function() -- ... end }) local Button = Tab:Button({ Title = "position telport", Desc = "This will choose ur position to telport", Locked = false, Callback = function() -- ... end }) local Tab = Window:Tab({ Title = "blox fruits", Icon = "bird", -- optional Locked = false, }) local Button = Tab:Button({ Title = "next update", Desc = "wait till the next week the we are updating", Locked = false, Callback = function() -- ... end })