Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:service("Players")
- local LocalPlayer = Players.LocalPlayer
- function Esp(player, username)
- if player ~= Players.LocalPlayer and player.Character then
- local torso = player.Character:FindFirstChild("Torso")
- if torso then
- local base = Instance.new("BillboardGui", workspace.CurrentCamera)
- local esP = Instance.new("Frame", base)
- base.AlwaysOnTop = true
- base.Enabled = true
- base.Size = UDim2.new(4.5,0,6,0)
- base.Name = username
- base.Adornee = torso
- base.StudsOffset = Vector3.new(0, -0.6, 0)
- esP.BackgroundColor3 = Color3.new(0,255,255)
- esP.BackgroundTransparency = 0.8
- esP.BorderColor3 = Color3.new(0,0,0)
- esP.BorderSizePixel = 1
- esP.Size = UDim2.new(1,0,1,0)
- end
- end
- end
- function CheckEsp()
- for x,player in pairs(Players:GetChildren()) do
- if player then
- if player.TeamColor ~= LocalPlayer.TeamColor then
- local char = player.Character
- if char then
- local torso = char:FindFirstChild("Torso")
- if torso then
- local currentcam = workspace.CurrentCamera
- local playerName = player.Name
- if currentcam:FindFirstChild(playerName) == nil then
- Esp(player, playerName)
- end
- end
- end
- end
- end
- end
- end
- while wait(1) do
- CheckEsp()
- end
- --1337IsBack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement