local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local executor = identifyexecutor and identifyexecutor() or "Unknown Executor"
local Window = Rayfield:CreateWindow({
Name = "X-Dk V2 | Tha Bronx | ".. executor,
Icon = nil,
LoadingTitle = "",
LoadingSubtitle = "",
Theme = "DkHub",
ToggleUIKeybind = "K",
DisableRayfieldPrompts = false,
DisableBuildWarnings = false,
ConfigurationSaving = {
Enabled = false,
FolderName = "PurpleBlackUI",
FileName = "XDK_Config"
},
Discord = {
Enabled = false,
Invite = "",
RememberJoins = true
},
KeySystem = false
})
uis = game:GetService("UserInputService")
TweenService = game:GetService("TweenService")
existingGui = game.CoreGui:FindFirstChild("CustomScreenGui")
if existingGui then
existingGui:Destroy()
end
ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "CustomScreenGui"
Frame = Instance.new("Frame")
TextButton = Instance.new("TextButton")
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(1, -120, 0, 30)
Frame.Size = UDim2.new(0, 60, 0, 60)
imageLabel = Instance.new("ImageLabel")
imageLabel.Parent = Frame
imageLabel.Size = UDim2.new(1, 0, 1, 0)
imageLabel.Position = UDim2.new(0, 0, 0, 0)
imageLabel.Image = "rbxassetid://112029241653427"
imageLabel.BackgroundTransparency = 1
TextButton.Parent = imageLabel
TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton.BackgroundTransparency = 1.000
TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton.BorderSizePixel = 0
TextButton.Size = UDim2.new(1, 0, 1, 0)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = ""
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextSize = 27
function createTextShadow(button)
shadowOffset = 2
shadowLabel = Instance.new("TextLabel", Frame)
shadowLabel.Size = button.Size
shadowLabel.Position = button.Position + UDim2.new(0, shadowOffset, 0, shadowOffset)
shadowLabel.Text = button.Text
shadowLabel.TextScaled = button.TextScaled
shadowLabel.Font = button.Font
shadowLabel.BackgroundTransparency = 1
shadowLabel.TextSize = button.TextSize
shadowLabel.TextTransparency = 0.5
end
createTextShadow(TextButton)
glowStroke = Instance.new("UIStroke", Frame)
glowStroke.Thickness = 3
glowStroke.Transparency = 0.8
glowStroke.Color = Color3.fromRGB(77,251,16,255)
gradient = Instance.new("UIGradient", glowStroke)
gradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(77,251,16,255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 20, 147))
}
gradient.Rotation = 45
tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
tweenShowFrame = TweenService:Create(Frame, tweenInfo, {Position = UDim2.new(0.5, 0, 0.3, 0)})
function createGlowEffect(stroke)
glowTweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true)
tween = TweenService:Create(stroke, glowTweenInfo, {Transparency = 0.1, Thickness = 5})
tween:Play()
end
createGlowEffect(glowStroke)
TextButton.MouseButton1Click:Connect(function()
Rayfield:SetVisibility(not Rayfield:IsVisible())
end)
function makeDraggable(frame)
dragging = nil
dragStart = nil
startPos = nil
lastInputChangedConnection = nil
function beginDrag(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
end
lastInputChangedConnection = uis.InputChanged:Connect(function(newInput)
if newInput.UserInputType == Enum.UserInputType.MouseMovement or newInput.UserInputType == Enum.UserInputType.Touch then
delta = newInput.Position - dragStart
frame.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
end
end)
end
end
function endDrag(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
lastInputChangedConnection = nil
end
end
end
frame.InputBegan:Connect(beginDrag)
frame.InputEnded:Connect(endDrag)
for _, child in ipairs(frame:GetDescendants()) do
if child:IsA("GuiObject") then
child.InputBegan:Connect(beginDrag)
child.InputEnded:Connect(endDrag)
end
end
uis.InputEnded:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
dragging = false
if lastInputChangedConnection then
lastInputChangedConnection:Disconnect()
lastInputChangedConnection = nil
end
end
end)
end
makeDraggable(Frame)
To embed this project on your website, copy the following code and paste it into your website's HTML: