Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Esp(player, username)
- if player ~= game:service("Players").LocalPlayer then
- if player.Character then
- local torso = player.Character:FindFirstChild("Torso")
- if torso then
- local base = Instance.new("BillboardGui")
- local esP = Instance.new("Frame", base)
- base.AlwaysOnTop = true
- base.Enabled = true
- base.Size = UDim2.new(4.5,0,6,0)
- base.StudsOffset = Vector3.new(0, -0.6, 0)
- esP.BackgroundColor3 = Color3.new(170,0,0)
- esP.BackgroundTransparency = 0.4
- esP.BorderSizePixel = 0.5
- esP.Size = UDim2.new(1,0,1,0)
- if base and workspace.CurrentCamera then
- base.Name = username
- base.Parent = workspace.CurrentCamera
- base.Adornee = torso
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement