|
| 10 Sep 2012 05:19 PM |
print ("VIP Door Loaded")
texture = "http://www.roblox.com/asset/?id=84402688" texture2 = "http://www.roblox.com/asset/?id=84402625" texture3 = "http://www.roblox.com/asset/?id=84402455"
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 or human.Parent.Torso.roblox.Texture == texture2 or human.Parent.Torso.roblox.Texture == texture3 then Door.Transparency = .7 Door.CanCollide = false wait(5) Door.CanCollide = false Door.Transparency = 0 print("Human touched door") end end end
script.Parent.Touched:connect(onTouched)
|
|
|
| Report Abuse |
|
|
lucas668
|
  |
| Joined: 18 Jun 2008 |
| Total Posts: 6183 |
|
|
| 10 Sep 2012 05:19 PM |
Wrong forum category!!!
Please repost this here instead: http://www.roblox.com/Forum/ShowForum.aspx?ForumID=20 |
|
|
| Report Abuse |
|
|
Priminal
|
  |
| Joined: 02 Sep 2012 |
| Total Posts: 18 |
|
|
| 10 Sep 2012 05:20 PM |
| Go to script helpers please? This is not a script helper section. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2012 05:22 PM |
| I just realized that. Thank You. |
|
|
| Report Abuse |
|
|
|
| 10 Sep 2012 05:49 PM |
"Go to script helpers please? This is not a script helper section."
>Scripting Helpers
legit |
|
|
| Report Abuse |
|
|
| |
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 10 Sep 2012 07:21 PM |
| I think a mod moved it. :L |
|
|
| Report Abuse |
|
|