Advertisement
MayWeEnjoy

Unequip All Tools script

May 28th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. -- Unequip All Tools
  2.  
  3. local player = game.Players.LocalPlayer
  4. local character = player.Character or player.CharacterAdded:Wait()
  5. local backpack = player:WaitForChild("Backpack")
  6.  
  7. -- Function to unequip all tools
  8. local function unequipAllTools()
  9. for _, tool in ipairs(character:GetChildren()) do
  10. if tool:IsA("Tool") then
  11. tool.Parent = backpack -- Move tool back to Backpack
  12. end
  13. end
  14. end
  15.  
  16. -- Call the function
  17. unequipAllTools()
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement