MaxproGlitcher

items fuit le tueur scritp.lua

Aug 12th, 2022
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. --BROUGHT TO YOU BY RSCRIPTS.NET--
  2.  
  3. _G.white = {"green_bottle", "gas_can", "rope", "shattered_bottle", "shattered_shades", "rusty_lantern", "broken_bulb", "lighter", "broken_bottle"}
  4. _G.blue = {"pickaxe", "old_slycer", "busted_boombox", "tire", "car_engine", "rusty_pipe", "rusty_cleaver", "gen_1"}
  5. _G.red = {"laptop", "welding_goggles", "smartphone", "binoculars", "trophy", "smartwatch"}
  6. _G.violet = {"apocalypse_helmet", "golden_compass", "golden_pocket_watch"}
  7. _G.yellow = {"gold_bars", "pendant", "soul", "treasure_chest"}
  8.  
  9. function createESPItem(parent, r, g, b, fontSize)
  10. local bgui = Instance.new("BillboardGui", parent)
  11. bgui.Name = ("EGUI")
  12. bgui.AlwaysOnTop = true
  13. bgui.ExtentsOffset = Vector3.new(0, 0, 0)
  14. bgui.Size = UDim2.new(1, 0, 1, 0)
  15. local nam = Instance.new("TextLabel", bgui)
  16. nam.Text = parent.Parent.Name
  17. nam.BackgroundTransparency = 1
  18. nam.TextSize = fontSize
  19. nam.Font = ("Arial")
  20. nam.TextColor3 = Color3.fromRGB(r, g, b)
  21. nam.Size = UDim2.new(1, 0, 1, 0)
  22. end
  23.  
  24. function eventESPItem(parent)
  25. for i = 1, #_G.white do
  26. if parent.Parent.Name == _G.white[i] then
  27. createESPItem(parent, 242, 243, 243, 10)
  28. end
  29. end
  30. for i = 1, #_G.blue do
  31. if parent.Parent.Name == _G.blue[i] then
  32. createESPItem(parent, 13, 105, 172, 10)
  33. end
  34. end
  35. for i = 1, #_G.red do
  36. if parent.Parent.Name == _G.red[i] then
  37. createESPItem(parent, 196, 40, 28, 10)
  38. end
  39. end
  40. for i = 1, #_G.violet do
  41. if parent.Parent.Name == _G.violet[i] then
  42. createESPItem(parent, 146, 57, 120, 10)
  43. end
  44. end
  45. for i = 1, #_G.yellow do
  46. if parent.Parent.Name == _G.yellow[i] then
  47. createESPItem(parent, 245, 205, 48, 10)
  48. end
  49. end
  50. end
  51.  
  52. function enableESPItems()
  53. if game:GetService("Workspace"):FindFirstChild("CurrentMap") then
  54. if game:GetService("Workspace").CurrentMap:FindFirstChild("Loot") then
  55. for _, v in pairs(game:GetService("Workspace").CurrentMap.Loot:GetChildren()) do
  56. eventESPItem(v.Border)
  57. end
  58. end
  59. end
  60. game:GetService("Workspace").ChildAdded:connect(function(m)
  61. if m.Name == "CurrentMap" then
  62. if m:WaitForChild("Loot") then
  63. wait(1)
  64. for _, v in pairs(m.Loot:GetChildren()) do
  65. eventESPItem(v.Border)
  66. end
  67. end
  68. end
  69. end)
  70. end
  71. enableESPItems()
Add Comment
Please, Sign In to add comment