Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spawn(function()
- while task.wait(1) do
- pcall(function()
- if _G.Esp then
- for i, v in game:GetService("Players"):GetChildren() do
- if v.Name ~= game:GetService("Players").LocalPlayer.Name then
- if not v.Character:FindFirstChild("Highlight") then
- hight = Instance.new("Highlight", v.Character)
- hight.FillTransparency = 1
- hight.OutlineColor = v.TeamColor.Color
- end
- if not v.Character:FindFirstChild("BillboardGui") then
- local bill = Instance.new("BillboardGui", v.Character)
- bill.Adornee = v.Character
- bill.Size = UDim2.new(0, 200,0, 50)
- bill.StudsOffset = Vector3.new(0,4,0)
- bill.AlwaysOnTop = true
- local textlabel = Instance.new("TextLabel", bill)
- textlabel.Size = UDim2.new(1,0,1,0)
- textlabel.Position = UDim2.new(0,0,0,0)
- textlabel.Name = "TextLabelTitle"
- textlabel.Text = v.DisplayName
- textlabel.BackgroundTransparency = 1
- textlabel.TextSize = 17
- textlabel.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
- textlabel2 = Instance.new("TextLabel", bill)
- textlabel2.Size = UDim2.new(1,0,1,0)
- textlabel2.Text = "[0]"
- textlabel2.Position = UDim2.new(0, 0,-0.3, 0)
- textlabel2.BackgroundTransparency = 1
- textlabel2.TextColor3 = Color3.new(1, 1, 1)
- textlabel2.TextSize = 17
- textlabel2.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
- textlabel3 = Instance.new("TextLabel", bill)
- textlabel3.Size = UDim2.new(1,0,1,0)
- textlabel3.Text = ""
- textlabel3.Name = "Bounty"
- textlabel3.Position = UDim2.new(0, 0,-0.6, 0)
- textlabel3.BackgroundTransparency = 1
- textlabel3.TextColor3 = Color3.new(0, 1, 0.0313725)
- textlabel3.TextSize = 17
- textlabel3.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Bold, Enum.FontStyle.Normal)
- textlabel.TextColor3 = v.TeamColor.Color
- local stroke = Instance.new("UIStroke", textlabel)
- local stroke = Instance.new("UIStroke", textlabel2)
- local stroke = Instance.new("UIStroke", textlabel3)
- spawn(function()
- while task.wait(1) do
- pcall(function()
- v.Character.BillboardGui.TextLabel.Text = "["..math.floor((v.Character.HumanoidRootPart.Position - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position).magnitude).."]"
- textlabel.TextColor3 = v.TeamColor.Color
- v.Character.Highlight.OutlineColor = v.TeamColor.Color
- end)
- end
- end)
- end
- end
- end
- else
- for i, v in game:GetService("Players"):GetChildren() do
- if v.Character:FindFirstChild("Highlight") then
- v.Character:FindFirstChild("Highlight"):Destroy()
- end
- if v.Character:FindFirstChild("BillboardGui") then
- v.Character:FindFirstChild("BillboardGui"):Destroy()
- end
- end
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement