Advertisement
Guest User

BOOGA BOOGA SCRIPT

a guest
Mar 12th, 2018
20,903
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. local RepStore = game:service'ReplicatedStorage'
  2. local ev = RepStore.Events.ForceInteract;
  3. local ev2 = RepStore.Events.Pickup;
  4. local plr = game:service'Players'.LocalPlayer
  5.  
  6. local grab = function(thing)
  7. if not thing:FindFirstChild('Draggable') then return end;
  8. repeat
  9. ev:FireServer(thing)
  10. thing.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(4,0,1);
  11. wait()
  12. ev2:FireServer(thing);
  13. until not thing or not thing.Parent
  14. ev:FireServer();
  15. end
  16.  
  17. if _G.event then _G.event:disconnect() end
  18. _G.event = workspace.DescendantAdded:connect(function(o)
  19. if o.Name:find('Adurite') or o.Name:find('Gold') or o.Name:find('Crystal') or o.Name:find('Coin') or o.Name:find('Essence') or o.Name:find('Iron') or o.Name:find('Armor') or o.Name:find('Bag') or o.Name:find('Magnetite') then
  20. wait();
  21. grab(o);
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement