In this video I'm showing you how to make a door that only certain players can enter.
Please consider subscribing and liking :)
Put This Script In your door
script.Parent.Touched:Connect(function(plr)
if plr.Parent.Name == ("Frepzter") then
script.Parent.Transparency = 0.5
script.Parent.CanCollide = false
print(plr.Parent.Name.." Opened The Door")
wait(3)
script.Parent.Transparency = 0
script.Parent.CanCollide = true
else
print(plr.Parent.Name.." Doesn't have access to this door")
end
end)