
2.8k Views
425 Executions
Part badge script
Universal Script 📌
TrollismemangomamgoPublished 5
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Part/block script badge!1!1!1!
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local espEnabled = false
local badgeParts = {}
-- Cleanup old GUI if exists
if PlayerGui:FindFirstChild("BadgeESPGUI") then
PlayerGui.BadgeESPGUI:Destroy()
end
-- Create GUI
local gui = Instance.new("ScreenGui", PlayerGui)
gui.Name = "BadgeESPGUI"
gui.ResetOnSpawn = false
local toggle = Instance.new("TextButton", gui)
toggle.Size = UDim2.new(0, 130, 0, 40)
toggle.Position = UDim2.new(0, 10, 0, 10)
toggle.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
toggle.TextColor3 = Color3.new(1, 1, 1)
toggle.TextScaled = true
toggle.Font = Enum.Font.SourceSansBold
toggle.Text = "⚪ ESP: OFF"
-- Utility: case-insensitive search
local function stringContainsInsensitive(str, sub)
return string.find(string.lower(str), string.lower(sub)) ~= nil
end
-- Check if part is badge-related (name or parent name contains "badge")
local function isBadgePart(part)
if not part:IsA("BasePart") then return false end
if stringContainsInsensitive(part.Name, "badge") then
return true
end








We lookalike
Only works for parts.