Advertisement
PRO_GAMER_ROBLOX

UnConventional ESP [OPEN SOURCE]

Jun 28th, 2021
2,196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.03 KB | None | 0 0
  1. --// Services \\--
  2. local Players = game:GetService("Players")
  3. local HttpService = game:GetService("HttpService")
  4.  
  5. --// ESP Library by Kiriot22 \\--
  6. local ESP = loadstring(game:HttpGetAsync("https://kiriot22.com/releases/ESP.lua"))()
  7. ESP:Toggle(false)
  8.  
  9. --// ESP Override \\--
  10. ESP.Overrides.GetColor = function(Character)
  11.     if ESP.AuraColors == false then
  12.         return Color3.new(1,1,1)
  13.     end
  14.  
  15.     local Stats = GetPlayerStats(Character)
  16.     if Stats == nil then
  17.         return
  18.     end
  19.  
  20.     return Color3.new(unpack(Stats.AuraColor))
  21. end
  22.  
  23. --// ESP Settings \\--
  24. ESP.PlayerNames = false
  25. ESP.PlayerHealth = false
  26. ESP.Boxes = false
  27. ESP.Tracers = false
  28. ESP.AuraColors = false
  29. ESP.AuraStamina = false
  30. ESP.BarrierHealth = false
  31.  
  32. --// Tables \\--
  33. local OldStats = {}
  34. local OldInfo = {}
  35. local White = {1, 1, 1}
  36.  
  37. --// Get Player Stats \\--
  38. function GetPlayerStats(Character)
  39.     local Player = Players:GetPlayerFromCharacter(Character)
  40.     if Player == nil then
  41.         return nil
  42.     end
  43.  
  44.     local Stats = Player:FindFirstChild("Stats")
  45.     if Stats == nil then
  46.         return nil
  47.     end
  48.  
  49.     local RemainingAura = Player:FindFirstChild("RemainingAura")
  50.     local Stats = HttpService:JSONDecode(Stats.Value)
  51.     return {
  52.         Ability = Stats.Ability,
  53.         Potential = Stats.MasteryLevel,
  54.         AuraColor = Stats.Ability == "Aura Manipulation" and White or Stats.AuraColor,
  55.         Amped = Player:FindFirstChild("Amplifier") and 1.5 or Player:FindFirstChild("Weakened") and 0.5 or 1,
  56.         CurrentStamina = ESP.AuraStamina and RemainingAura and RemainingAura.Value or 0,
  57.         MaxStamina = ESP.AuraStamina and RemainingAura and RemainingAura:WaitForChild("Max").Value or 0,
  58.         BarrierHealth = Character:FindFirstChild("BarrierHealth") and math.floor(Character.BarrierHealth.Value*10)/10 or nil,
  59.         Health = ESP.PlayerHealth and Character:FindFirstChild("Humanoid") and math.floor(Character.Humanoid.Health*10)/10 or 0
  60.     }
  61. end
  62.  
  63. --// UI Library \\--
  64. local Library = loadstring(game:HttpGetAsync('https://pastebin.com/raw/edJT9EGX'))()
  65. local Window_1 = Library:CreateWindow("ESP by Ezpi")
  66. Window_1:AddToggle({
  67.     text = 'Enabled',
  68.     callback = function(A_1)
  69.         ESP:Toggle(A_1)
  70.     end
  71. })
  72. Window_1:AddToggle({
  73.     text = 'Names',
  74.     callback = function(A_1)
  75.         ESP.PlayerNames = A_1
  76.     end
  77. })
  78. Window_1:AddToggle({
  79.     text = 'Health',
  80.     callback = function(A_1)
  81.         ESP.PlayerHealth = A_1
  82.     end
  83. })
  84. Window_1:AddToggle({
  85.     text = 'Boxes',
  86.     callback = function(A_1)
  87.         ESP.Boxes = A_1
  88.     end
  89. })
  90. Window_1:AddToggle({
  91.     text = 'Tracers',
  92.     callback = function(A_1)
  93.         ESP.Tracers = A_1
  94.     end
  95. })
  96. Window_1:AddToggle({
  97.     text = 'Aura Colors',
  98.     callback = function(A_1)
  99.         ESP.AuraColors = A_1
  100.     end
  101. })
  102. local Folder_1 = Window_1:AddFolder("Ability Specific")
  103. Folder_1:AddToggle({
  104.     text = 'Aura Stamina',
  105.     callback = function(A_1)
  106.         ESP.AuraStamina = A_1
  107.     end
  108. })
  109. Folder_1:AddToggle({
  110.     text = 'Barrier Health',
  111.     callback = function(A_1)
  112.         ESP.BarrierHealth = A_1
  113.     end
  114. })
  115. Library:Init()
  116.  
  117. --// Player ESP \\--
  118. function CharacterESP(Player)
  119.     local Character = Player.Character
  120.  
  121.     local Stats = GetPlayerStats(Character)
  122.     if Stats == nil then
  123.         return
  124.     end
  125.  
  126.     local Stats_String = HttpService:JSONEncode(Stats)
  127.     if Stats_String ~= OldStats[Player] then
  128.         local Level = math.floor(Stats.Potential * 10) / 10
  129.         OldInfo[Player] = (ESP.PlayerHealth and Stats.Health .. "/100" .. "\n" or "") .. Stats.Ability .. " (" .. Level * Stats.Amped .. ")" .. (Stats.Amped == 1.5 and " (Amped)" or Stats.Amped == 0.5 and " (Weakened)" or "") .. "\n" ..(ESP.AuraStamina == true and Stats.Ability == "Aura Manipulation" and Stats.CurrentStamina .. "/" .. Stats.MaxStamina or ESP.BarrierHealth and Stats.BarrierHealth and "Barrier Health: " .. Stats.BarrierHealth or "")
  130.     end
  131.  
  132.     local Box = ESP:GetBox(Character)
  133.     if Box ~= nil and OldInfo[Player] ~= nil then
  134.         Box.Name = (ESP.PlayerNames == true and Player.Name .. "\n" or "") .. OldInfo[Player]
  135.         Box.Components.Distance.Transparency = 0
  136.         OldStats[Player] = Stats_String
  137.     end
  138. end
  139.  
  140. --// Apply ESP \\--
  141. while wait(0.1) do
  142.     if ESP.Enabled then
  143.         local Players_Table = Players:GetPlayers()
  144.         for Index = 2, #Players_Table do local Player = Players_Table[Index]
  145.             if Player.Character then
  146.                 CharacterESP(Player)
  147.             end
  148.         end
  149.     end
  150. end--// Services \\--
  151. local Players = game:GetService("Players")
  152. local HttpService = game:GetService("HttpService")
  153.  
  154. --// ESP Library by Kiriot22 \\--
  155. local ESP = loadstring(game:HttpGetAsync("https://kiriot22.com/releases/ESP.lua"))()
  156. ESP:Toggle(false)
  157.  
  158. --// ESP Override \\--
  159. ESP.Overrides.GetColor = function(Character)
  160.     if ESP.AuraColors == false then
  161.         return Color3.new(1,1,1)
  162.     end
  163.  
  164.     local Stats = GetPlayerStats(Character)
  165.     if Stats == nil then
  166.         return
  167.     end
  168.  
  169.     return Color3.new(unpack(Stats.AuraColor))
  170. end
  171.  
  172. --// ESP Settings \\--
  173. ESP.PlayerNames = false
  174. ESP.PlayerHealth = false
  175. ESP.Boxes = false
  176. ESP.Tracers = false
  177. ESP.AuraColors = false
  178. ESP.AuraStamina = false
  179. ESP.BarrierHealth = false
  180.  
  181. --// Tables \\--
  182. local OldStats = {}
  183. local OldInfo = {}
  184. local White = {1, 1, 1}
  185.  
  186. --// Get Player Stats \\--
  187. function GetPlayerStats(Character)
  188.     local Player = Players:GetPlayerFromCharacter(Character)
  189.     if Player == nil then
  190.         return nil
  191.     end
  192.  
  193.     local Stats = Player:FindFirstChild("Stats")
  194.     if Stats == nil then
  195.         return nil
  196.     end
  197.  
  198.     local RemainingAura = Player:FindFirstChild("RemainingAura")
  199.     local Stats = HttpService:JSONDecode(Stats.Value)
  200.     return {
  201.         Ability = Stats.Ability,
  202.         Potential = Stats.MasteryLevel,
  203.         AuraColor = Stats.Ability == "Aura Manipulation" and White or Stats.AuraColor,
  204.         Amped = Player:FindFirstChild("Amplifier") and 1.5 or Player:FindFirstChild("Weakened") and 0.5 or 1,
  205.         CurrentStamina = ESP.AuraStamina and RemainingAura and RemainingAura.Value or 0,
  206.         MaxStamina = ESP.AuraStamina and RemainingAura and RemainingAura:WaitForChild("Max").Value or 0,
  207.         BarrierHealth = Character:FindFirstChild("BarrierHealth") and math.floor(Character.BarrierHealth.Value*10)/10 or nil,
  208.         Health = ESP.PlayerHealth and Character:FindFirstChild("Humanoid") and math.floor(Character.Humanoid.Health*10)/10 or 0
  209.     }
  210. end
  211.  
  212. --// UI Library \\--
  213. local Library = loadstring(game:HttpGetAsync('https://pastebin.com/raw/edJT9EGX'))()
  214. local Window_1 = Library:CreateWindow("ESP by Ezpi")
  215. Window_1:AddToggle({
  216.     text = 'Enabled',
  217.     callback = function(A_1)
  218.         ESP:Toggle(A_1)
  219.     end
  220. })
  221. Window_1:AddToggle({
  222.     text = 'Names',
  223.     callback = function(A_1)
  224.         ESP.PlayerNames = A_1
  225.     end
  226. })
  227. Window_1:AddToggle({
  228.     text = 'Health',
  229.     callback = function(A_1)
  230.         ESP.PlayerHealth = A_1
  231.     end
  232. })
  233. Window_1:AddToggle({
  234.     text = 'Boxes',
  235.     callback = function(A_1)
  236.         ESP.Boxes = A_1
  237.     end
  238. })
  239. Window_1:AddToggle({
  240.     text = 'Tracers',
  241.     callback = function(A_1)
  242.         ESP.Tracers = A_1
  243.     end
  244. })
  245. Window_1:AddToggle({
  246.     text = 'Aura Colors',
  247.     callback = function(A_1)
  248.         ESP.AuraColors = A_1
  249.     end
  250. })
  251. local Folder_1 = Window_1:AddFolder("Ability Specific")
  252. Folder_1:AddToggle({
  253.     text = 'Aura Stamina',
  254.     callback = function(A_1)
  255.         ESP.AuraStamina = A_1
  256.     end
  257. })
  258. Folder_1:AddToggle({
  259.     text = 'Barrier Health',
  260.     callback = function(A_1)
  261.         ESP.BarrierHealth = A_1
  262.     end
  263. })
  264. Library:Init()
  265.  
  266. --// Player ESP \\--
  267. function CharacterESP(Player)
  268.     local Character = Player.Character
  269.  
  270.     local Stats = GetPlayerStats(Character)
  271.     if Stats == nil then
  272.         return
  273.     end
  274.  
  275.     local Stats_String = HttpService:JSONEncode(Stats)
  276.     if Stats_String ~= OldStats[Player] then
  277.         local Level = math.floor(Stats.Potential * 10) / 10
  278.         OldInfo[Player] = (ESP.PlayerHealth and Stats.Health .. "/100" .. "\n" or "") .. Stats.Ability .. " (" .. Level * Stats.Amped .. ")" .. (Stats.Amped == 1.5 and " (Amped)" or Stats.Amped == 0.5 and " (Weakened)" or "") .. "\n" ..(ESP.AuraStamina == true and Stats.Ability == "Aura Manipulation" and Stats.CurrentStamina .. "/" .. Stats.MaxStamina or ESP.BarrierHealth and Stats.BarrierHealth and "Barrier Health: " .. Stats.BarrierHealth or "")
  279.     end
  280.  
  281.     local Box = ESP:GetBox(Character)
  282.     if Box ~= nil and OldInfo[Player] ~= nil then
  283.         Box.Name = (ESP.PlayerNames == true and Player.Name .. "\n" or "") .. OldInfo[Player]
  284.         Box.Components.Distance.Transparency = 0
  285.         OldStats[Player] = Stats_String
  286.     end
  287. end
  288.  
  289. --// Apply ESP \\--
  290. while wait(0.1) do
  291.     if ESP.Enabled then
  292.         local Players_Table = Players:GetPlayers()
  293.         for Index = 2, #Players_Table do local Player = Players_Table[Index]
  294.             if Player.Character then
  295.                 CharacterESP(Player)
  296.             end
  297.         end
  298.     end
  299. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement