Advertisement
L0st_Illusi0n

Roblox Descent Item ESP Script

Jun 8th, 2024
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.26 KB | Source Code | 0 0
  1. local function ItemESPCreate()
  2.     local folder = game.Workspace:FindFirstChild("ItemDrops")
  3.     if folder then
  4.         if not workspace:FindFirstChild("AllItems") then
  5.             local AllItems = Instance.new("Model")
  6.             AllItems.Name = "AllItems"
  7.             AllItems.Parent = game.workspace
  8.             print("Added AllItems Model To Workspace")
  9.             local ItemHighlight = Instance.new("Folder")
  10.             ItemHighlight.Name = "ItemHighlight"
  11.             ItemHighlight.Parent = game.workspace
  12.             print("Added ItemHighlight Folder To Workspace")
  13.             local highlight = Instance.new("Highlight")
  14.             highlight.FillColor = Color3.fromRGB(0, 255, 0)
  15.             highlight.Parent = AllItems
  16.             print("Added Highlight To Group")
  17.         end
  18.     end
  19. end
  20.  
  21. local function ItemHighlightToFolder()
  22.     local AllItems = game.workspace:FindFirstChild("AllItems")
  23.     local ItemHighlight = game.workspace:FindFirstChild("ItemHighlight")
  24.     local highlight = AllItems:FindFirstChild("Highlight")
  25.  
  26.     if AllItems:FindFirstChild("Highlight") then
  27.         highlight.Parent = ItemHighlight
  28.         print("Moved Item Highlight To Folder")
  29.     end
  30. end
  31.  
  32. local function ItemESPMove()
  33.     local folder = game.workspace:FindFirstChild("ItemDrops")
  34.     local allItems = game.workspace:FindFirstChild("AllItems")
  35.     if folder then
  36.         for _, object in ipairs(folder:GetChildren()) do
  37.             if object:IsA("Model") then
  38.                 for _, object in ipairs(folder:GetChildren()) do
  39.                     object.Parent = allItems
  40.                     print("Moved Item To AllItems")
  41.                 end
  42.             end
  43.         end
  44.     end
  45. end
  46.  
  47. local function ItemHighlightToGroup()
  48.     local AllItems = game.workspace:FindFirstChild("AllItems")
  49.     local ItemHighlight = game.workspace:FindFirstChild("ItemHighlight")
  50.     local highlight = ItemHighlight:FindFirstChild("Highlight")
  51.  
  52.     if ItemHighlight:FindFirstChild("Highlight") then
  53.         highlight.Parent = AllItems
  54.         print("Moved Item Highlight To AllItems")
  55.     end
  56. end
  57.  
  58. while true do
  59.     wait(5)
  60.     print("Item Highlight/Move Request Sent")
  61.     ItemESPCreate()    
  62.     ItemHighlightToFolder()
  63.     ItemESPMove()
  64.     ItemHighlightToGroup()
  65. end
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement