Advertisement
stopmebonkers

Equip tools / Drop tools / Unequip tools made by w44rm

Aug 5th, 2021 (edited)
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. -------Equip Tools-------
  2. for i,v in pairs(game:GetService('Players').LocalPlayer.Backpack:GetChildren()) do
  3. if v:IsA("Tool") then
  4. v.Parent = game:GetService('Players').LocalPlayer.Character
  5. end
  6. end
  7. --------------------------
  8.  
  9. -------Unequip Tools-------
  10. for i,v in pairs(game:GetService('Players').LocalPlayer.Character:GetChildren()) do
  11. if v:IsA("Tool") then
  12. v.Parent = game:GetService('Players').LocalPlayer.Backpack
  13. end
  14. end
  15. --------------------------
  16.  
  17. -------Drop Tools-------
  18. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  19. if v:IsA("Tool") then
  20. v.Parent = game.Workspace
  21. end
  22. end
  23. --------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement