Vzurxy

yba esp

Feb 3rd, 2021 (edited)
1,538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.66 KB | None | 0 0
  1. -- join the discord https://discord.gg/2WDpPuD
  2. -- ceg#0550 credits for script
  3. -- ic3w0lf  hot drawing api
  4.  
  5. local Settings = {
  6.     Tracers = false, -- true/false for tracers
  7.     Circles = true, -- true/false for circles
  8.     Distance = true, -- true/false for distance
  9.     Notify = true, -- true/false for notify
  10.    
  11.     Info = {
  12.         [4496695972] = {
  13.             Name = "Mysterious Arrow",
  14.             Color = Color3.fromRGB(255, 120, 0)
  15.         },
  16.         [511706016] = {
  17.             Name = "Diamond",
  18.             Color = Color3.fromRGB(81, 117, 255)
  19.         },
  20.         [3497428510] = {
  21.             Name = "Rokakaka",
  22.             Color = Color3.fromRGB(220, 50, 50)
  23.         },
  24.         [3583727108] = {
  25.             Name = "Gold Coin",
  26.             Color = Color3.fromRGB(255, 240, 0)
  27.         },
  28.         [4551120971] = {
  29.             Name = "Stone Mask",
  30.             Color = Color3.fromRGB(98, 37, 209)
  31.         },
  32.         [5249254947] = {
  33.             Name = "Rib Cage of The Saint's Corpse",
  34.             Color = Color3.fromRGB(50, 220, 50)
  35.         },
  36.         [5675321032] = {
  37.             Name = "DEO's Diary",
  38.             Color = Color3.fromRGB(255, 0, 255)
  39.         },
  40.         [11124978] = {
  41.             Name = "Zeppelin's Headband",
  42.             Color = Color3.fromRGB(255, 182, 193)
  43.         },
  44.         [60791940] = {
  45.             Name = "Ancient Scroll",
  46.             Color = Color3.fromRGB(160, 82, 45)
  47.         },
  48.         [180620778] = {
  49.             Name = "Quinton's Glove",
  50.             Color = Color3.fromRGB(128, 0, 0)
  51.         }
  52.     }
  53. }
  54.  
  55. loadstring(game:HttpGet("https://pastebin.com/raw/9YKGCEmS"))() -- Load Drawing Library
  56.  
  57. local Wrapper = shared.RLDrawings
  58. local HttpService = game:GetService("HttpService")
  59. local Map = workspace:FindFirstChild("Item_Spawns")
  60. local StarterGui = game:GetService("StarterGui")
  61. local Icons = HttpService:JSONDecode(game:HttpGet("https://pastebin.com/4YtYTgG6")).icons -- or you can have your own icon lol
  62. Map = Map and Map:FindFirstChild("Items")
  63.  
  64. if not Map then
  65.     return -- check if they changed
  66. end
  67.  
  68. local function IsItem(name)
  69.     if name then
  70.         for i, v in pairs(Settings.Info) do
  71.             if name == i then
  72.                 return true
  73.             end
  74.         end
  75.     end
  76.    
  77.     return false
  78. end
  79.  
  80. local function GetAsset(Id)
  81.     return tonumber(({Id:gsub("%D", "")})[1])
  82. end
  83.  
  84. local function Esp(Item, Id)
  85.     local CachedInfo = Settings.Info[Id] or "Unknown Item [???]"
  86.     local ItemName = CachedInfo.Name
  87.    
  88.     if Item.Material == Enum.Material.ForceField then
  89.         ItemName = "Pure Rokakaka"
  90.     end
  91.    
  92.     if Settings.Notify then
  93.         StarterGui:SetCore("SendNotification", {
  94.             Title = ItemName,
  95.             Text = "😳 Item Spawned!",
  96.             Icon = "rbxassetid://" .. Icons[math.random(1, #Icons)], -- oh hey there, this is for a cool icon lol!
  97.             Duration = 5
  98.         })
  99.     end
  100.    
  101.     Wrapper:AddObject(
  102.         Item,
  103.         ItemName,
  104.         CachedInfo.Color,
  105.         Settings.Distance,
  106.         Settings.Tracers,
  107.         Settings.Circles
  108.     )
  109. end
  110.  
  111. local function DoEsp(obj)
  112.     if _G.EspOff then return end
  113.     if obj:FindFirstChild("MeshPart") and (obj.MeshPart:IsA("MeshPart") or obj:IsA("BasePart")) then
  114.         local Mesh = obj:FindFirstChildWhichIsA("Mesh")
  115.         if Mesh and IsItem(GetAsset(Mesh.MeshId)) then
  116.             Esp(obj, GetAsset(Mesh.MeshId))
  117.         end
  118.         if IsItem(GetAsset(obj.MeshPart.MeshId)) then
  119.             Esp(obj.MeshPart, GetAsset(obj.MeshPart.MeshId))
  120.         end
  121.     end
  122. end
  123.  
  124. for Index, Object in pairs(Map:GetDescendants()) do
  125.     DoEsp(Object)
  126. end
  127.  
  128. Map.DescendantAdded:Connect(DoEsp)
Add Comment
Please, Sign In to add comment