Advertisement
ExluZive

Roblox Esp Team + Nick

Nov 2nd, 2023
63,625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.00 KB | Gaming | 0 0
  1. --[[
  2.     WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. --//Toggle\\--
  5. getgenv().Toggle = true -- This toggles the esp, turning it to false will turn it off
  6. getgenv().TC = false -- This toggles team check, turning it on will turn on team check
  7. local PlayerName = "Name" -- You can decide if you want the Player's name to be a display name which is "DisplayName", or username which is "Name"
  8.  
  9. --//Variables\\--
  10. local P = game:GetService("Players")
  11. local LP = P.LocalPlayer
  12.  
  13. --//Debounce\\--
  14. local DB = false
  15.  
  16. --//Notification\\--
  17. game.StarterGui:SetCore("SendNotification", {
  18.     Title = "Notification",
  19.     Text = "Best ESP by.ExluZive" ,
  20.     Button1 = "Shut Up",
  21.     Duration = math.huge
  22. })
  23.  
  24. --//Loop\\--
  25. while task.wait() do
  26.     if not getgenv().Toggle then
  27.         break
  28.     end
  29.     if DB then
  30.         return
  31.     end
  32.     DB = true
  33.  
  34.     pcall(function()
  35.         for i,v in pairs(P:GetChildren()) do
  36.             if v:IsA("Player") then
  37.                 if v ~= LP then
  38.                     if v.Character then
  39.  
  40.                         local pos = math.floor(((LP.Character:FindFirstChild("HumanoidRootPart")).Position - (v.Character:FindFirstChild("HumanoidRootPart")).Position).magnitude)
  41.                         -- Credits to Infinite Yield for this part (pos) ^^^^^^
  42.  
  43.                         if v.Character:FindFirstChild("Totally NOT Esp") == nil and v.Character:FindFirstChild("Icon") == nil and getgenv().TC == false then
  44.                             --//ESP-Highlight\\--
  45.                             local ESP = Instance.new("Highlight", v.Character)
  46.  
  47.                             ESP.Name = "Totally NOT Esp"
  48.                             ESP.Adornee = v.Character
  49.                             ESP.Archivable = true
  50.                             ESP.Enabled = true
  51.                             ESP.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  52.                             ESP.FillColor = v.TeamColor.Color
  53.                             ESP.FillTransparency = 0.5
  54.                             ESP.OutlineColor = Color3.fromRGB(255, 255, 255)
  55.                             ESP.OutlineTransparency = 0
  56.  
  57.                             --//ESP-Text\\--
  58.                             local Icon = Instance.new("BillboardGui", v.Character)
  59.                             local ESPText = Instance.new("TextLabel")
  60.  
  61.                             Icon.Name = "Icon"
  62.                             Icon.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  63.                             Icon.Active = true
  64.                             Icon.AlwaysOnTop = true
  65.                             Icon.ExtentsOffset = Vector3.new(0, 1, 0)
  66.                             Icon.LightInfluence = 1.000
  67.                             Icon.Size = UDim2.new(0, 800, 0, 50)
  68.  
  69.                             ESPText.Name = "ESP Text"
  70.                             ESPText.Parent = Icon
  71.                             ESPText.BackgroundColor3 = v.TeamColor.Color
  72.                             ESPText.BackgroundTransparency = 1.000
  73.                             ESPText.Size = UDim2.new(0, 800, 0, 50)
  74.                             ESPText.Font = Enum.Font.SciFi
  75.                             ESPText.Text = v[PlayerName].." | Distance: "..pos
  76.                             ESPText.TextColor3 = v.TeamColor.Color
  77.                             ESPText.TextSize = 10.800
  78.                             ESPText.TextWrapped = true
  79.                         else
  80.                             if v.TeamColor ~= LP.TeamColor and v.Character:FindFirstChild("Totally NOT Esp") == nil and v.Character:FindFirstChild("Icon") == nil and getgenv().TC == true then
  81.                                 --//ESP-Highlight\\--
  82.                                 local ESP = Instance.new("Highlight", v.Character)
  83.  
  84.                                 ESP.Name = "Totally NOT Esp"
  85.                                 ESP.Adornee = v.Character
  86.                                 ESP.Archivable = true
  87.                                 ESP.Enabled = true
  88.                                 ESP.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  89.                                 ESP.FillColor = v.TeamColor.Color
  90.                                 ESP.FillTransparency = 0.5
  91.                                 ESP.OutlineColor = Color3.fromRGB(255, 255, 255)
  92.                                 ESP.OutlineTransparency = 0
  93.  
  94.                                 --//ESP-Text\\--
  95.                                 local Icon = Instance.new("BillboardGui", v.Character)
  96.                                 local ESPText = Instance.new("TextLabel")
  97.  
  98.                                 Icon.Name = "Icon"
  99.                                 Icon.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  100.                                 Icon.Active = true
  101.                                 Icon.AlwaysOnTop = true
  102.                                 Icon.ExtentsOffset = Vector3.new(0, 1, 0)
  103.                                 Icon.LightInfluence = 1.000
  104.                                 Icon.Size = UDim2.new(0, 800, 0, 50)
  105.  
  106.                                 ESPText.Name = "ESP Text"
  107.                                 ESPText.Parent = Icon
  108.                                 ESPText.BackgroundColor3 = v.TeamColor.Color
  109.                                 ESPText.BackgroundTransparency = 1.000
  110.                                 ESPText.Size = UDim2.new(0, 800, 0, 50)
  111.                                 ESPText.Font = Enum.Font.SciFi
  112.                                 ESPText.Text = v[PlayerName].." | Distance: "..pos
  113.                                 ESPText.TextColor3 = v.TeamColor.Color
  114.                                 ESPText.TextSize = 10.800
  115.                                 ESPText.TextWrapped = true
  116.                             else
  117.                                 if not v.Character:FindFirstChild("Totally NOT Esp").FillColor == v.TeamColor.Color and not v.Character:FindFirstChild("Icon").TextColor3 == v.TeamColor.Color then
  118.                                     v.Character:FindFirstChild("Totally NOT Esp").FillColor = v.TeamColor.Color
  119.                                     v.Character:FindFirstChild("Icon").TextColor3 = v.TeamColor.Color
  120.                                 else
  121.                                     if v.Character:FindFirstChild("Totally NOT Esp").Enabled == false and v.Character:FindFirstChild("Icon").Enabled == false then
  122.                                         v.Character:FindFirstChild("Totally NOT Esp").Enabled = true
  123.                                         v.Character:FindFirstChild("Icon").Enabled = true
  124.                                     else
  125.                                         if v.Character:FindFirstChild("Icon") then
  126.                                             v.Character:FindFirstChild("Icon")["ESP Text"].Text = v[PlayerName].." | Distance: "..pos
  127.                                         end
  128.                                     end
  129.                                 end
  130.                             end
  131.                         end
  132.                     end
  133.                 end
  134.             end
  135.         end
  136.     end)
  137.  
  138.     wait()
  139.  
  140.     DB = false
  141. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement