local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local executor = identifyexecutor and identifyexecutor() or "Unknown Executor"

local customTheme = {
   TextColor = Color3.fromRGB(255, 255, 255),
   Background = Color3.fromRGB(0, 0, 0),
   Topbar = Color3.fromRGB(0, 0, 0),
   TopbarLine = Color3.fromRGB(255, 255, 255),
   Shadow = Color3.fromRGB(0, 0, 0),
   Accent = Color3.fromRGB(255, 255, 255),
   NotificationBackground = Color3.fromRGB(0, 0, 0),
   NotificationActionsBackground = Color3.fromRGB(0, 0, 0),
   TabBackground = Color3.fromRGB(0, 0, 0),
   TabStroke = Color3.fromRGB(0, 0, 0),
   TabBackgroundSelected = Color3.fromRGB(0, 0, 0),
   TabTextColor = Color3.fromRGB(149, 149, 149),
   SelectedTabTextColor = Color3.fromRGB(255, 255, 255),
   ElementBackground = Color3.fromRGB(0, 0, 0),
   ElementBackgroundHover = Color3.fromRGB(20, 20, 20),
   SecondaryElementBackground = Color3.fromRGB(0, 0, 0),
   ElementStroke = Color3.fromRGB(255, 255, 255),
   SecondaryElementStroke = Color3.fromRGB(255, 255, 255),
   SliderBackground = Color3.fromRGB(0, 0, 0),
   SliderProgress = Color3.fromRGB(255, 255, 255),
   SliderStroke = Color3.fromRGB(255, 255, 255),
   ToggleBackground = Color3.fromRGB(0, 0, 0),
   ToggleEnabled = Color3.fromRGB(255, 255, 255),
   ToggleDisabled = Color3.fromRGB(100, 100, 100),
   ToggleEnabledStroke = Color3.fromRGB(255, 255, 255),
   ToggleDisabledStroke = Color3.fromRGB(100, 100, 100),
   ToggleEnabledOuterStroke = Color3.fromRGB(255, 255, 255),
   ToggleDisabledOuterStroke = Color3.fromRGB(100, 100, 100),
   DropdownSelected = Color3.fromRGB(255, 255, 255),
   DropdownUnselected = Color3.fromRGB(0, 0, 0),
   InputBackground = Color3.fromRGB(0, 0, 0),
   InputStroke = Color3.fromRGB(255, 255, 255),
   PlaceholderColor = Color3.fromRGB(150, 150, 150),
   KeyInputBackground = Color3.fromRGB(0, 0, 0),
   KeyInputTextColor = Color3.fromRGB(255, 255, 255)
}

local Window = Rayfield:CreateWindow({
   Name = "X-DK V3 | Streetz War 2 | "..executor,
   Icon = nil,
   LoadingTitle = "",
   LoadingSubtitle = "",
   Theme = customTheme,
   DisableRayfieldPrompts = false,
   DisableBuildWarnings = false,
   ConfigurationSaving = {
      Enabled = false,
      FolderName = "BlackThemeHub",
      FileName = "BigHub"
   },
   Discord = {
      Enabled = true,
      Invite = "Fy7PanRV",
      RememberJoins = true
   },
   KeySystem = false,
   KeySettings = {
      Title = "X-DK | V1",
      Subtitle = "Enter Key Below",
      Note = "Buy A Key At Discord.gg/dkshub",
      FileName = "Key",
      SaveKey = true,
      GrabKeyFromSite = false,
      Key = {""},
      Theme = customTheme
   }
})

local MainTab = Window:CreateTab("Main", "box")

local welcomeSection = MainTab:CreateSection("Welcome!")
MainTab:CreateParagraph({Title = "Welcome!", Content = "Thank you for using X-Dk."})

local userInfoSection = MainTab:CreateSection("User Information")
local player = game.Players.LocalPlayer
MainTab:CreateLabel("Player: " .. player.Name)
MainTab:CreateLabel("User Id: " .. player.UserId)

local gameSection = MainTab:CreateSection("Game and Executor")
local gameName = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
MainTab:CreateLabel("Game: " .. gameName)

local executorName = "Unknown Executor"
if syn and syn.version then
    executorName = "Synapse X"
elseif isfolder and isfile then
    executorName = "ScriptWare"
elseif isexecutorenv and isexecutorenv() then
    executorName = "KRNL"
elseif getexecutorname and getexecutorname() == "Fluxus" then
    executorName = "Fluxus"
elseif gethui then
    executorName = "WeAreDevs (JJSploit)"
elseif ishydrogenexecutor then
    executorName = "Hydrogen"
elseif pcall(function() return is_sentinel() end) then
    executorName = "Sentinel"
elseif is_protosmasher then
    executorName = "Protosmasher"
elseif getexecutorname and getexecutorname() == "VegaX" then
    executorName = "VegaX"
elseif _G.DeltaExecutor then
    executorName = "Delta"
end
MainTab:CreateLabel("Executor: " .. executorName)

local hardwareSection = MainTab:CreateSection("Hardware")
local function getHWID()
    if syn and syn.get_hwid then
        return syn.get_hwid()
    elseif gethwid then
        return gethwid()
    elseif get_hwid then
        return get_hwid()
    elseif fluxus and fluxus.get_hwid then
        return fluxus.get_hwid()
    else
        return "Unknown HWID"
    end
end
MainTab:CreateLabel("HWID: " .. getHWID())

local dateTimeSection = MainTab:CreateSection("Date + Time")
MainTab:CreateLabel("Date: " .. os.date("%Y-%m-%d"))
MainTab:CreateLabel("Time: " .. os.date("%H:%M:%S"))

local creditsSection = MainTab:CreateSection("Credits")
MainTab:CreateLabel("By Dk")
MainTab:CreateButton({
    Name = "Join Discord!", 
    Callback = function()
        if setclipboard then
            setclipboard("https://[Log in to view URL]")
            print("Copied to clipboard!")
        else
            print("Your executor does not support clipboard.")
        end

        Rayfield:Notify({
            Title = "Link Copied!",
            Content = "The Discord link has been copied to your clipboard.",
            Duration = 8.5
        })
    end
})

local AutofarmTab = Window:CreateTab("Autofarm", "clock-4")
local AutofarmSection = AutofarmTab:CreateSection("Box Autofarm")

local players = game:GetService("Players")
local workspace = game:GetService("Workspace")
local user_input_service = game:GetService("UserInputService")
local run_service = game:GetService("RunService")

local camera = workspace.CurrentCamera
local local_player = players.LocalPlayer

local script_data = {
    functions = {},
    locals = {
        silent_aim_target = nil,
        silent_aim_is_targetting = false,
        silent_aim_enabled = false
    }
}

script_data.functions.new_connection = function(signal, func)
    return signal:Connect(func)
end

script_data.functions.get_direction = function(origin, destination)
    return ((destination - origin).Unit * 1000)
end

script_data.functions.world_to_screen = function(position)
    local viewport_position, on_screen = camera:WorldToViewportPoint(position)
    return {
        position = Vector2.new(viewport_position.X, viewport_position.Y),
        on_screen = on_screen
    }
end

script_data.functions.has_character = function(player)
    return player
        and player.Character
        and player.Character:FindFirstChildWhichIsA("Humanoid", false) ~= nil
end

script_data.functions.get_closest_player = function()
    local mouse_position = user_input_service:GetMouseLocation()
    local radius = math.huge
    local closest_player

    for _, player in players:GetPlayers() do
        if player ~= local_player and script_data.functions.has_character(player) then
            local screen_position = script_data.functions.world_to_screen(player.Character.HumanoidRootPart.Position)
            if screen_position.on_screen then
                local distance = (mouse_position - screen_position.position).Magnitude
                if distance <= radius then
                    radius = distance
                    closest_player = player
                end
            end
        end
    end

    return closest_player
end

local SilentAimToggle = AutofarmTab:CreateToggle({
    Name = "Silent Aim",
    CurrentValue = false,
    Flag = "SilentAimToggle",
    Callback = function(Value)
        script_data.locals.silent_aim_enabled = Value
    end
})

script_data.functions.new_connection(run_service.RenderStepped, function()
    if script_data.locals.silent_aim_enabled then
        local new_target = script_data.functions.get_closest_player()
        script_data.locals.silent_aim_is_targetting = new_target ~= nil
        script_data.locals.silent_aim_target = new_target
    else
        script_data.locals.silent_aim_is_targetting = false
        script_data.locals.silent_aim_target = nil
    end
end)

local __namecall
__namecall = hookmetamethod(game, "__namecall", function(self, ...)
    local args, method = {...}, tostring(getnamecallmethod())
    if not checkcaller()
        and script_data.locals.silent_aim_enabled
        and script_data.locals.silent_aim_is_targetting
        and script_data.locals.silent_aim_target
        and self == workspace
        and method == "Raycast" then
        local origin = args[1]
        args[2] = script_data.functions.get_direction(origin, script_data.locals.silent_aim_target.Character.HumanoidRootPart.Position)
        return __namecall(self, unpack(args))
    end
    return __namecall(self, ...)
end)


local ToggleEnabled = false
local player = game.Players.LocalPlayer

AutofarmTab:CreateToggle({
    Name = "Box Autofarm",
    CurrentValue = false,
    Flag = "BoxToggle",
    Callback = function(value)
        ToggleEnabled = value
        if ToggleEnabled then
            spawn(function()
                while ToggleEnabled do
                    local character = player.Character or player.CharacterAdded:Wait()
                    local rootPart = character:WaitForChild("HumanoidRootPart")

                    rootPart.CFrame = CFrame.new(-121, 4, 301)
                    task.wait(0.2)

                    local box = workspace:WaitForChild("Job"):WaitForChild("Box"):WaitForChild("BOX1")
                    local clickDetector = box:WaitForChild("ClickDetector")

                    fireclickdetector(clickDetector)
                    task.wait(0.2)

                    local backpack = player:WaitForChild("Backpack")
                    local boxTool = backpack:FindFirstChild("Box")
                    if boxTool then
                        player.Character.Humanoid:EquipTool(boxTool)
                    else
                        print("No Box tool found in backpack.")
                    end

                    rootPart.CFrame = CFrame.new(-111, 4, 146)
                    task.wait(0.5)
                end
            end)
        end
    end,
})

local AutofarmSection = AutofarmTab:CreateSection("Mop Autofarm")

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local backpack = player:WaitForChild("Backpack")
local giveMop = game:GetService("ReplicatedStorage"):FindFirstChild("GiveMop")

local function equipMop()
    local mop = backpack:FindFirstChild("Mop")
    if mop then
        mop.Parent = character
    end
end

local cleaningEnabled = false

AutofarmTab:CreateToggle({
    Name = "Mop Autofarm",
    CurrentValue = false,
    Flag = "CleanToggle",
    Callback = function(value)
        cleaningEnabled = value
        if cleaningEnabled then
            spawn(function()
                while cleaningEnabled do
                    for _, part in pairs(workspace.CleanPart:GetChildren()) do
                        if not cleaningEnabled then break end
                        if giveMop then
                            if giveMop:IsA("RemoteEvent") then
                                giveMop:FireServer()
                            elseif giveMop:IsA("RemoteFunction") then
                                giveMop:InvokeServer()
                            end
                            task.wait(1)
                            equipMop()
                        end
                        local targetPos
                        if part:IsA("BasePart") then
                            targetPos = part.Position
                        elseif part:IsA("Model") and part.PrimaryPart then
                            targetPos = part.PrimaryPart.Position
                        end
                        if targetPos then
                            character:MoveTo(targetPos)
                            task.wait(3)
                        end
                        for _, prompt in pairs(part:GetDescendants()) do
                            if prompt:IsA("ProximityPrompt") then
                                fireproximityprompt(prompt)
                                task.wait(0.5)
                            end
                        end
                    end
                    task.wait(1)
                end
            end)
        end
    end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: