generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Can someone tell me why it won't work:

Previous Thread :: Next Thread 
LegoBoy1104 is not online. LegoBoy1104
Joined: 13 Apr 2011
Total Posts: 2778
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 is not online. 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 is not online. 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
LegoBoy1104 is not online. LegoBoy1104
Joined: 13 Apr 2011
Total Posts: 2778
10 Sep 2012 05:22 PM
I just realized that. Thank You.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
10 Sep 2012 05:49 PM
"Go to script helpers please? This is not a script helper section."

>Scripting Helpers

legit
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
10 Sep 2012 07:01 PM
Lol'd ^
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
10 Sep 2012 07:21 PM
I think a mod moved it. :L
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image