Roblox Tut VIP Door

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
43 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 22, 2010

"Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use."

Script:
print ("VIP T-Shirt Door Script Loaded")


permission = { "Player"," "," "," "," "," "," "," " }

texture = " "

function checkOkToLetIn(name)
for i = 1,#permission do
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)
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)
Door.CanCollide = true
Door.Transparency = 0
else human.Health = 0
end
end
end

script.Parent.Touched:connect(onTouched)

Category:

Gaming

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Sorry about the music guys, stupid wmg won't let me put monster on here...

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more