Hello! I made a script to make me go through parts in the workspace, to do so I used a RemoteEvent that makes each part of my character CanCollide = false and it actually works, but it still won't let me go through parts. Here is my script. :) Any help?
local db = false
local Character = script.Parent.Parent.Parent
game.ReplicatedStorage.RemoteEvents.PermeationSkill.Permeate.OnServerEvent:Connect(function(plr)
plr.Character.Humanoid.MaxHealth = 15
plr.Character.Humanoid.Health = 15
for i,v in pairs(Character:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = false
v.Transparency = 0.65
Character.Humanoid.WalkSpeed = 7
end
end
end)

4 comments
try setting Platfrom stand to true in the humanoid..?
wait-
do you want to go through objects?
Yes.