How Make NPC Transparent

H3llo Im Asking how i make npc transparent let me explain more good like when i touch npc it trespass me like he was water btw is a npc with a code it moves to a part i just need help it trespass players.

thats what i don’t want i want it trespass players so it cant be moved cause is a little bit annoying.

Thx For Reading!

Note : Please admins do not hide my topic i don’t know if im using the correct category for this

Change the npcs all body parts transparency to 0.5

i hope this helpful!

put a code inside the npc’s model and make it detect touching once it do make it change the transparency
it would be something like that

local npc = script.Parent
local touchpart = npc.TouchPart

touchpart.Touched:Connect(function()
local npcparts = nps:GetDescendants()
for index , value in ipairs(npcparts) do
if value:IsA(“Part”) or value:IsA(“UnionOperation”) then
value.Transperancy = 1
end
end)

Do you mean you want the NPC to pass through (not trespass) other players without colliding with them? This may or may not help:
<Detecting Collisions | Roblox Creator Documentation