Swap Shot Script | DICEHUB | Player ESP, Weapon Check
Want to spend less time grinding Swap Shot!? The DICEHUB ESP script handles player chams, weapon holder check, name tags for you. It has no menu and starts as soon as you run it. Made by DICEHUB0. No key.
Features
• Player chams: red for players with a gun or knife, blue for others
• Name tags over players
How to Use
Step 1: Start Swap Shot!.
Step 2: Run the DICEHUB ESP script in your executor.
Step 3: The ESP turns on right away.
Script Details
Type: ESP
Hub: DICEHUB ESP
Creator: DICEHUB0
Key: No Key
Last Checked: November 2026
-- ESP Chams & NameTag System (Red = Has Gun or Knife, Blue = No Weapon)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
-- รายการคีย์เวิร์ดสำหรับตรวจสอบอาวุธ (ทั้งปืนและมีด/อาวุธประชิด)
local weaponKeywords = {
-- ปืน
"Gun", "Rifle", "Pistol", "Shotgun", "Sniper", "SMG", "Blaster", "Weapon", "Firearm", "AK47", "M4A1", "Glock",
-- มีด / อาวุธประชิด
"Knife", "Blade", "Dagger", "Sword", "Melee", "Karambit", "Bayonet", "Cutter"
}
local function isThreatWeapon(tool)
if not tool or not tool:IsA("Tool") then return false end
-- ตรวจสอบองค์ประกอบมาตรฐานของปืน (ถ้ามี)
if tool:FindFirstChild("Ammo") or tool:FindFirstChild("Clip") or tool:FindFirstChild("GunScript") or tool:FindFirstChild("Muzzle") then
return true
end
-- ตรวจสอบชื่อ Tool กับคีย์เวิร์ดของปืนและมีด
local toolName = tool.Name:lower()
for _, keyword in ipairs(weaponKeywords) do
if string.find(toolName, keyword:lower()) then
return true
end
end
return false
end
local function setupESP(player)
if player == LocalPlayer then return end
local function hasWeapon(char)
if not char then return false end
for _, child in ipairs(char:GetChildren()) do
if child:IsA("Tool") and isThreatWeapon(child) then
return true
end
end
return false
end
local function updateESP()
local char = player.Character
if not char or not char:FindFirstChild("HumanoidRootPart") or not char:FindFirstChild("Head") then
if char then
local hl = char:FindFirstChild("ChamsHighlight")
if hl then hl:Destroy() end
local tag = char.Head:FindFirstChild("ESPNameTag")
if tag then tag:Destroy() end
end
return
end
local holdingWeapon = hasWeapon(char)
local chamColor = holdingWeapon and Color3.fromRGB(255, 0, 0) or Color3.fromRGB(0, 0, 255)
local highlight = char:FindFirstChild("ChamsHighlight")
if not highlight then
highlight = Instance.new("Highlight")
highlight.Name = "ChamsHighlight"
highlight.Adornee = char
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.Parent = char
end
highlight.FillColor = chamColor
highlight.OutlineColor = chamColor
highlight.FillTransparency = 0.45
highlight.OutlineTransparency = 0.1
local head = char.Head
local nameTag = head:FindFirstChild("ESPNameTag")
if not nameTag then
nameTag = Instance.new("BillboardGui")
nameTag.Name = "ESPNameTag"
nameTag.Size = UDim2.new(0, 120, 0, 50)
nameTag.StudsOffset = Vector3.new(0, 2.5, 0)
nameTag.AlwaysOnTop = true
local textLabel = Instance.new("TextLabel")
textLabel.Name = "NameText"
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.TextScaled = true
textLabel.Font = Enum.Font.FredokaOne
textLabel.TextStrokeTransparency = 0
textLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
textLabel.Parent = nameTag
nameTag.Parent = head
end
local textLabel = nameTag:FindFirstChild("NameText")
if textLabel then
textLabel.Text = player.Name
textLabel.TextColor3 = chamColor
end
end
RunService.RenderStepped:Connect(updateESP)
end
for _, player in ipairs(Players:GetPlayers()) do
setupESP(player)
end
Players.PlayerAdded:Connect(function(player)
setupESP(player)
end)
print("ESP Chams System (Gun & Knife) Loaded Successfully!")
No reports yet. Tried it? Let other players know.
Script copied! Rate it to help other players.
💡 Pro Tip: Press Ctrl+D to bookmark this page for updated scripts
Comments (0)
Log in to add a comment.