Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Equip All Tools
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local backpack = player:WaitForChild("Backpack")
- -- Function to equip all tools
- local function equipAllTools()
- -- Loop through all tools in the Backpack
- for _, tool in ipairs(backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = character -- Move tool to character to equip
- end
- end
- end
- -- Call the function
- equipAllTools()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement