Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to make vip doors (2013)
Channel4djohnnytvDescription from the creator
link:http:--wiki.roblox.com-index.php-Talk:How_do_I_make_VIP_doors%3F scripts down here
print (-VIP Shirt Door Script Loaded-)
-- list of account names allowed to go through the door.
permission = { -YourNameHere- } -- This is how many people can still get through, so u don't have to change shirts. You can also have another friend here.
-- TextureId of the VIP shirt.
texture = -http:--www.roblox.com-asset-?version=1&id=1194117- -- Go to the wiki below this script to find out how to change the shirt. And paste the link in between the -- marks.
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 --the shirt
Door.Transparency = 0.7
Door.CanCollide = false
wait(4) -- this is how long the door is open
Door.CanCollide = true
Door.Transparency = 0
-- a human has touched this door!
print(-Human touched door-)
-- test the human's name against the permission list
elseif (checkOkToLetIn(human.Parent.Name)) then
print(-Human passed test-)
Door.Transparency = 0.7
Door.CanCollide = false
wait(4) -- this is 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
end
end
end
script.Parent.Touched:connect(onTouched)
print (-VIP Shirt Door Script Loaded-)
-- list of account names allowed to go through the door.
permission = { -YourNameHere- } -- This is how many people can still get through, so u don't have to change shirts. You can also have another friend here.
-- TextureId of the VIP shirt.
texture = -http:--www.roblox.com-asset-?version=1&id=1194117- -- Go to the wiki below this script to find out how to change the shirt. And paste the link in between the -- marks.
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 --the shirt
Door.Transparency = 0.7
Door.CanCollide = false
wait(4) -- this is how long the door is open
Door.CanCollide = true
Door.Transparency = 0
-- a human has touched this door!
print(-Human touched door-)
-- test the human's name against the permission list
elseif (checkOkToLetIn(human.Parent.Name)) then
print(-Human passed test-)
Door.Transparency = 0.7
Door.CanCollide = false
wait(4) -- this is 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
end
end
end
script.Parent.Touched:connect(onTouched)
About this tutorial
4djohnnytv published this 7:44 video tutorial on November 14, 2013. It has been watched 12,066 times on YouTube.
- Channel
- 4djohnnytv
- Category
- Howto & Style
- Duration
- 7:44
- Published
- November 14, 2013
- Views
- 12,066
- Likes
- 34
Tags
Share
This tutorial in other languages
- FRComment faire des portes vip (2013)
- ESCómo hacer puertas vip (2013)
- PTComo fazer portas vip (2013)
- ITCome rendere le porte VIP (2013)
- DEWie man VIP-Türen (2013) machen
- NLHoe maak je vip deuren te maken (2013)
- RUКак сделать VIP-двери (2013)
- PLJak zrobić drzwi vip (2013)
- JAVIPのドア(2013)を作成する方法
- ARكيفية جعل الأبواب لكبار الشخصيات (2013)
- HIकैसे वीआईपी दरवाजे बनाने के लिए (2013)
- IDBagaimana membuat pintu vip (2013)