This is my first video (on this channel) and it is about roblox scripting. this is just a quick video about making a door only you and your friends can walk through, or else it kills your character. If you are looking for the script, here it is.
Admins= {['Player1'] = true, ['Your Roblox Username'] = true}
Part = script.Parent
Part.Touched:connect(function(hit)
if Admins[hit.Parent.Name] then
Part.CanCollide = false
Part.Transparency = .5
wait(1)
Part.CanCollide = true
Part.Transparency = 0
--more
else
hit.Parent:BreakJoints()
--more
end
end)