Hello there! I'm having massive struggles with my remote event client script. My idea for the remote event was to make a door only collidable for the client. That was because then my pathfinding ai would just pass through it while the client still collides with it.

Here's what I've tried.

game.ReplicatedStorage.collideDoors.OnClientEvent:Connect(function()
	workspace.Door.DoorFrame.CanCollide = true
end)

i'm also not going for collision groups because the ai will still find it as an obstacle.

Any ideas?