So i have this script but its server side, the script makes it so when you touch the part with the script in it the other part named wall getts its cancollide turned off. But i need it to work client side. So I put it in a local script but it does not work. Can someone help me?
Heres the script:
local part = script.Parent
local wall = script.Parent.Parent:WaitForChild("Wall")
local function Disappear()
wall.CanCollide = false
wait(3)
wall.CanCollide = true
end
part.Touched:Connect(Disappear)
I need it so the wall has its can collide turned off for just the client. not the server.

3 comments
thank you!!
no problem :)
no problem :)