ControlC ControlC · Pastebin

script

Pasted: Nov 8, 2024, 5:30:18 am · Views: 15,876
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

-- Check if the player's username matches yours
if player.Name == "saurabnod5" then -- Replace with your username
-- Create a BillboardGui
local tagGui = Instance.new("BillboardGui")
tagGui.Size = UDim2.new(4, 0, 1, 0) -- Size of the tag
tagGui.StudsOffset = Vector3.new(0, 2, 0) -- Position above the head
tagGui.AlwaysOnTop = true -- Ensure it's always visible
tagGui.Parent = character:WaitForChild("Head") -- Attach to the player's head

-- Create a TextLabel inside the BillboardGui
local textLabel = Instance.new("TextLabel")
textLabel.Parent = tagGui
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1 -- Makes the label background transparent
textLabel.Text = "Owner⚔️" -- The tag text
textLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- Text color (red)
textLabel.TextScaled = true -- Scales text to fit
textLabel.Font = Enum.Font.SourceSansBold -- Sets font style
end