remotely pick up all items script
Key Required

remotely pick up all items script

Strandedhellohellohell0123hellohellohell0123 60.2K views 23 executesUpdated Aug 8, 2024
Unrated
00
Lua Script•25 lines (528 chars)
local lootFolder = workspace:WaitForChild("Loot_Drops")


 local function activateItem(item)
     local activatedEvent = item:FindFirstChild("Activated")
     if activatedEvent and activatedEvent:IsA("BindableEvent") then
         activatedEvent:Fire()
     end
 end
 
 local function activateAllLoot()
     for _, item in pairs(lootFolder:GetChildren()) do
         activateItem(item)
     end
 end
 
 activateAllLoot()
 

 lootFolder.ChildAdded:Connect(function(child)
     
     wait(0.1)
     
     activateItem(child)
 end)

Features & Information

picks up all item drops serverside
#stranded#op#fe

Community Comments (0)

No comments yet for this script.