Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function give_esp(object, name)
- local bill = Instance.new("BillboardGui", object)
- bill.Size = UDim2.new(0, 200, 0, 100)
- bill.Adornee = object
- bill.Name = "ESP"
- bill.AlwaysOnTop = true
- bill.StudsOffset = Vector3.new(0, 2, 0)
- local text = Instance.new("TextLabel", bill)
- text.Size = UDim2.new(1, 0, 1, 0)
- text.BackgroundTransparency = 1
- text.Name = "Message"
- text.Text = tostring(name)
- text.TextColor3 = Color3.fromRGB(255, 17, 0)
- textScaled = false
- textWrapped = true
- end
- while wait(0.1) do
- for _, v in pairs(game.Players:GetPlayers()) do
- if v ~= game.Players.LocalPlayer and v.Character then
- local vroot = v.Character:FindFirstChild("HumanoidRootPart")
- if vroot and not vroot:FindFirstChild("ESP") then
- give_esp(vroot, v.Name)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement