When I change cancollide to true in the handle nothing happends. I've also made a script to set the cancollide to true but nothing happend. Can anyone help?
COMMUNITY QUESTION
How to make a tool have cancollide equal to true?
1 answer
for _, v in pairs(game:GetDescendants()) do
pcall(function()
if v:IsA("FrozenSword") then
for _, x in pairs(v:GetDescendants()) do
if x:IsA("BasePart") then
x.CanCollide = true
end
end
end
end)
end
I typed that in command bar
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
No code = No help (Unless the question doesn't require code [which it should {Yeah please add code}])
just set the handle for can collide to true
read before commenting
Why do you need to set cancollide to true? It's best you set it to false, because people can easily glitch through walls if the cancollide is true.
I don't want to spoil the game idea but its good if people can glitch with the tools.