CHRCK MY PROFILE FOR MY NEWER ESP ITS BETTER
Key RequiredUniversal

CHRCK MY PROFILE FOR MY NEWER ESP ITS BETTER

Universal ScriptVEX666VEX666 2.5K views 75 executesUpdated Mar 1, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•50 lines (1987 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

-- Function to create a name tag and outline box for a player
local function createNameTagAndBox(player)
    local character = player.Character or player.CharacterAdded:Wait()
    local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

    -- Create a BillboardGui for the name tag
    local billboardGui = Instance.new("BillboardGui")
    billboardGui.Adornee = humanoidRootPart
    billboardGui.Size = UDim2.new(0, 200, 0, 50)
    billboardGui.StudsOffset = Vector3.new(0, 2.5, 0) -- Position above the player's head
    billboardGui.AlwaysOnTop = true
    billboardGui.MaxDistance = 100 -- Only show the name tag within a certain distance

    -- Create a TextLabel for the player's name
    local textLabel = Instance.new("TextLabel")
    textLabel.Text = player.Name
    textLabel.Size = UDim2.new(1, 0, 1, 0)
    textLabel.TextColor3 = Color3.new(1, 1, 1) -- White text
    textLabel.BackgroundTransparency = 1 -- Transparent background
    textLabel.TextStrokeTransparency = 0 -- Outline for better visibility
    textLabel.Font = Enum.Font.SourceSansBold
    textLabel.TextSize = 18

    -- Add the TextLabel to the BillboardGui
    textLabel.Parent = billboardGui

    -- Add the BillboardGui to the player's character
    billboardGui.Parent = character

    -- Create an outline box around the player
    local box = Instance.new("BoxHandleAdornment")
    box.Size = Vector3.new(4, 6, 4) -- Adjust size to fit the player
    box.Adornee = humanoidRootPart
    box.AlwaysOnTop = true
    box.ZIndex = 10
    box.Transparency = 0.5
    box.Color3 = Color3.new(1, 0, 0) -- Red outline
    box.Parent = character
end

-- Connect the function to new players
Players.PlayerAdded:Connect(createNameTagAndBox)

-- Handle existing players (in case the script is added after players have joined)
for _, player in ipairs(Players:GetPlayers()) do
    createNameTagAndBox(player)
end

Features & Information

NO KEY change the 1 1 1 to change color 0.0 - 1.0 changes the %of box transparency

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts