Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Important = {Players = game:GetService("Players"), Workspace = game:GetService("Workspace"), CoreGui = game:GetService("CoreGui")}
- local enabledesp = false
- function CreateESP(plr)
- if plr ~= nil then
- local GetChar = plr.Character
- if not GetChar then return end
- local GetHead do
- repeat wait() until GetChar:FindFirstChild("Head")
- end
- GetHead = GetChar.Head
- local bb = Instance.new("BillboardGui", Important.CoreGui)
- bb.Adornee = GetHead
- bb.ExtentsOffset = Vector3.new(0, 1, 0)
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0, 5, 0, 5)
- bb.StudsOffset = Vector3.new(0, 3, 0)
- bb.Name = "ESP_PLAYER_" .. plr.Name
- local displayframe = Instance.new("Frame", bb)
- displayframe.ZIndex = 10
- displayframe.BackgroundTransparency = 1
- displayframe.Size = UDim2.new(1,0,1,0)
- local name = Instance.new("TextLabel", displayframe)
- name.Name = "Name"
- name.ZIndex = 10
- name.Text = plr.Name
- name.Visible = true
- name.TextColor3 = Color3.new(212,244,188)
- name.BackgroundTransparency = 1
- name.Size = UDim2.new(1,0,10,0)
- name.Font = Enum.Font.SourceSansLight
- name.TextSize = 20
- name.TextStrokeTransparency = .5
- end
- end
- for i,v in pairs(Important.Players:GetChildren()) do
- if game.GameId == 1320186298 then return end
- CreateESP(v)
- end
Add Comment
Please, Sign In to add comment