local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local function getFileName()
return "xdk_last_use.txt"
end
local function getLastUseTime()
if isfile and isfile(getFileName()) and readfile then
local contents = readfile(getFileName())
local timestamp = tonumber(contents)
return timestamp
end
return nil
end
local function updateUseTime()
if writefile then
writefile(getFileName(), tostring(os.time()))
end
end
local function shouldKick()
local lastUse = getLastUseTime()
if not lastUse then
updateUseTime()
return false
end
return (os.time() - lastUse) >= 86400
end
if shouldKick() then
LocalPlayer:Kick("Key is linked to a different HWID! Use the reset HWID button to reset your HWID on bot panel")
end
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(255, 255, 255),
TabBackgroundSelected = Color3.fromRGB(0, 0, 0),
TabTextColor = Color3.fromRGB(255, 255, 255),
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 V2 | Tha Bronx | "..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", 4483362458)
local MainSection1 = MainTab:CreateSection("Welcome!")
local Paragraph1 = MainTab:CreateParagraph({Title = "Welcome!", Content = "Thank you for using X-Dk."})
local MainSection2 = MainTab:CreateSection("User Information")
local player = game.Players.LocalPlayer
local username = player.Name
MainTab:CreateLabel("Player: " .. username)
local userId = player.UserId
MainTab:CreateLabel("User Id: " .. userId)
local MainSection3 = MainTab:CreateSection("Game and Executor")
local gameName = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
MainTab:CreateLabel("Game: " .. gameName)
local executor = identifyexecutor and identifyexecutor() or "Unknown Executor"
MainTab:CreateLabel("Executor: " .. executor)
MainTab:CreateSection("Hardware")
local function getHWID()
if syn and syn.request then
return syn.crypt and syn.crypt.hash or "Synapse HWID Unavailable"
elseif identifyexecutor and identifyexecutor():lower():find("scriptware") then
return "ScriptWare HWID is not publicly accessible"
elseif gethwid then
return gethwid()
elseif fluxus and fluxus.gethwid then
return fluxus.gethwid()
elseif isexecutorenv and isexecutorenv() then
return getgenv().KRNL_ID or "KRNL HWID Unavailable"
end
return "HWID Not Supported"
end
local hwid = getHWID()
MainTab:CreateLabel("HWID: " .. hwid)
MainTab:CreateSection("Date + Time")
local currentDate = os.date("%Y-%m-%d")
MainTab:CreateLabel("Date: " .. currentDate)
local currentTime = os.date("%H:%M:%S")
MainTab:CreateLabel("Time: " .. currentTime)
MainTab:CreateSection("Credits")
local Button = MainTab:CreateButton({
Name = "Credit: XDKdev | Read Bio before @",
Callback = function()
end,
})
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 setclipboard.")
end
Rayfield:Notify({
Title = "Link Copied!",
Content = "The Discord link has been copied to your clipboard.",
Duration = 10
})
end,
})
local PlayersTab = Window:CreateTab("Players", 4483362458) -- Title, Image
local PlayersSection = PlayersTab:CreateSection("Player")
To embed this project on your website, copy the following code and paste it into your website's HTML: