Universal Script 📌
2.5k Views
91 Executions

CHRCK MY PROFILE FOR MY NEWER ESP ITS BETTER

Universal Script 📌
VEX666
VEX666Published 25
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

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

View Raw
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


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
93
10
Approved 1 hour ago

Script hub

Shadow Hub

Script hub
329
13
Approved 3 hours ago
Universal Script 📌
6.1k
16.6k
Bumped 3 hours ago
Universal Script 📌
340
16
Approved 4 hours ago
Universal Script 📌
428
12
Approved 4 hours ago