I am struggling to activate all my tools by mouse clicking it but only 1 tool worked while I'm equipping many tools at once. This is my script to activate all tools but it need to be executed in the executor:
for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren())do
if v.ClassName == "Tool" then
v.Parent = game:GetService("Players").LocalPlayer.Character
end
end
for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren())do
if v.ClassName == "Tool" then
v:Activate()
end
end

1 comment
That's because the tool must be equipped for the Activate() function to work.