Roblox: How to make a vip/admin door

UPDATED VIP SCRIPT! This is very fast and easy, just Copy everything from below this line to the end. ________________________________________ print (“VIP T-Shirt Door Script Loaded”) permission = { “You”,”YourFriend”,”Someone else” } — This is how many people can still get through, so you don’t have to change shirts. You can also have another friend here. texture = “” –Go to the end of the script to find out what this does function checkOkToLetIn(name) for i = 1,#permission do — convert strings to all upper case, otherwise we will let in — “Username” but not “username” or “uSERNAME” if (string.upper(name) == string.upper(permission[i])) then return true end end return false end local Door = script.Parent function onTouched(hit) print(“Door Hit”) local human = hit.Parent:findFirstChild(“Humanoid”) if (human ~= nil ) then if human.Parent.Torso.roblox.Texture == texture then Door.Transparency = 0.7 Door.CanCollide = false wait(4) –how long the door is open Door.CanCollide = true Door.Transparency = 0 print(“Human touched door”) elseif (checkOkToLetIn(human.Parent.Name)) then print(“Human passed test”) Door.Transparency = 0.7 Door.CanCollide = false wait(4) –how long the door is open Door.CanCollide = true Door.Transparency = 0 else human.Health = 0 — delete this line of you want a non-killing VIP door. I reccomend you not. end end end script.Parent.Touched:connect(onTouched) –About the “texture” above, If you want to sell vip for tycoons, or something – you can add
Video Rating: 4 / 5

Get the book now