Hello! I made a script to make me go through parts, to do so I used a RemoteEvent that makes each part of my character CanCollide = false, yet it keeps not working. Here is my script. :)
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)
