Advertisement
jamkles

jamkles esp

Mar 31st, 2024 (edited)
1,005
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.36 KB | None | 0 0
  1. local Outlines = true
  2. local OutlineColoring = Color3.fromRGB(255, 255, 255)
  3. local OutlineFill = false
  4. local FillOpacity = 1
  5. local FillColoring = Color3.fromRGB(255, 255, 255)
  6.  
  7. local NameTags = true
  8. local TextFont = Enum.Font.RobotoMono
  9. local NameColor = Color3.fromRGB(255, 255, 255)
  10. local NamePositioning = false
  11.  
  12. --[[
  13.    By jamkes
  14. --]]
  15.  
  16. --// Don't Touch!
  17. local Folder = Instance.new("Folder", game:GetService("CoreGui"))
  18. Folder.Name = ""
  19.  
  20. AddOutline = function(Character)
  21.    local Highlight = Instance.new("Highlight", Folder)
  22.    
  23.    Highlight.OutlineColor = OutlineColoring
  24.    Highlight.Adornee = Character
  25.    
  26.    if OutlineFill == true then
  27.        Highlight.FillColor = FillColoring
  28.        Highlight.FillTransparency = FillOpacity
  29.    else
  30.        Highlight.FillTransparency = 1
  31.    end
  32. end
  33.  
  34. AddNameTag = function(Character)
  35.    local BGui = Instance.new("BillboardGui", Folder)
  36.    local Frame = Instance.new("Frame", BGui)
  37.    local TextLabel = Instance.new("TextLabel", Frame)
  38.    
  39.    BGui.Adornee = Character:WaitForChild("Head")
  40.    BGui.StudsOffset = Vector3.new(0, 3, 0)
  41.    BGui.AlwaysOnTop = true
  42.    
  43.    BGui.Size = UDim2.new(4, 0, 0.5, 0)
  44.    Frame.Size = UDim2.new(1, 0, 1, 0)
  45.    TextLabel.Size = UDim2.new(1, 0, 1, 0)
  46.    
  47.    Frame.BackgroundTransparency = 1
  48.    TextLabel.BackgroundTransparency = 1
  49.    
  50.    TextLabel.Text = Character.Name
  51.    TextLabel.Font = TextFont
  52.    TextLabel.TextColor3 = NameColor
  53.    TextLabel.TextScaled = NamePositioning
  54. end
  55.  
  56. for i, v in ipairs(game:GetService("Players"):GetPlayers()) do
  57.    if v ~= game:GetService("Players").LocalPlayer then
  58.        v.CharacterAdded:Connect(function(Character)
  59.            if Outlines == true then
  60.                AddOutline(Character)
  61.            end
  62.            if NameTags == true then
  63.                AddNameTag(Character)
  64.            end
  65.        end)
  66.        
  67.        if v.Character then
  68.            if Outlines == true then
  69.                AddOutline(v.Character)
  70.            end
  71.            if NameTags == true then
  72.                AddNameTag(v.Character)
  73.            end
  74.        end
  75.    end
  76. end
  77.  
  78. game:GetService("Players").PlayerAdded:Connect(function(Player)
  79.    Player.CharacterAdded:Connect(function(Character)
  80.        if Outlines == true then
  81.            AddOutline(Character)
  82.        end
  83.        if NameTags == true then
  84.            AddNameTag(Character)
  85.        end
  86.    end)
  87. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement