ViewModel CanCollide Bug

Hi I’m making a viewmodel for my game. But I have a slight issue when I turn cancollide off on the viewmodels arms then test in studio, the arms automatically change their cancollide to true.

image

This is how it is inserted. I tried making a script but it did nothing.

Script:

run.RenderStepped:Connect(function()
for i, v in pairs(m4view:GetChildren()) do
if v:IsA(“Part”) or v:IsA(“MeshPart”) then
v.CanCollide = false
end
end
end)

humanoids apparently have forced collisions and re-enables CanCollide every frame, you can counteract this by changing the viewmodel’s CollisionGroup to ignore the player (you’d have to make the CollisionGroup on the server and set it locally) or change the viewmodel’s humanoid state to RunningNoPhysics every frame/changing the CanCollide property every frame