epicllllllllllllllll

ewewewew

Jan 7th, 2025
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. -- Get the player
  2. local player = game.Players.LocalPlayer
  3.  
  4. -- Function to equip all tools
  5. local function equipAllTools()
  6. local backpack = player:FindFirstChild("Backpack")
  7. if backpack then
  8. for _, tool in pairs(backpack:GetChildren()) do
  9. if tool:IsA("Tool") then
  10. tool.Parent = player.Character
  11. print("Equipped:", tool.Name)
  12. end
  13. end
  14. end
  15. end
  16.  
  17. -- Function to drop all tools
  18. local function dropAllTools()
  19. local character = player.Character
  20. if character then
  21. for _, tool in pairs(character:GetChildren()) do
  22. if tool:IsA("Tool") then
  23. tool.Parent = workspace
  24. print("Dropped:", tool.Name)
  25. end
  26. end
  27. end
  28. end
  29.  
  30. -- Equip all tools
  31. equipAllTools()
  32.  
  33. -- Wait for a bit before dropping the tools
  34. wait(0.0)
  35.  
  36. -- Drop all tools
  37. dropAllTools()
  38.  
Advertisement
Add Comment
Please, Sign In to add comment