Welp, here's the code:
local door = script.Parent
door.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
if hit.Parent.Name == "CaptaiinNoob" or "Mixer90" then
door.StatDoor.Transparency = 1
door.StatDoor.CanCollide = false
wait(.5)
door.StatDoor.Transparency = 0
door.StatDoor.CanCollide = true
else
hit.Parent.Head.CFrame = CFrame.new(132.9, 3.199, -164.2)
end
end
end)
Put into a script and is a child of the door. ^
The door is called StatDoor, look at lines 6-10...

2 comments
Any errors?
Do you have FilteringEnabled on or something?