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: A Personal Admin/VIP Door

Previous Thread :: Next Thread 
TannerGates11 is not online. TannerGates11
Joined: 29 Dec 2009
Total Posts: 582
24 Mar 2012 12:50 PM
you = "PersonB" -- Change this to your name.

function onTouched(hit)

if hit.Parent.Name == you then --If "you" touched the door, the next code will activate.
script.Parent.Transparency = 0.5
script.Parent.CanCollide = false
print("User Approved!")
wait(2)
script.Parent.Transparency = 0
script.Parent.CanCollide = true
else
print("No.") --If whatever touched wasn't "you", the output will display "No."
end --ends the "if" statement.
end --ends the function.

script.Parent.Touched:connect(onTouched) --Calls "onTouched" when touched.
Report Abuse
YaYaBinks3 is not online. YaYaBinks3
Joined: 05 Jun 2009
Total Posts: 2631
24 Mar 2012 01:06 PM
Don't posts your scripts just because you want to give them to other people.
Use this forum:

http://www.roblox.com/Forum/ShowForum.aspx?ForumID=17
=

if you want to show off.

This is a forum for HELPING Only
=
Report Abuse
TannerGates11 is not online. TannerGates11
Joined: 29 Dec 2009
Total Posts: 582
24 Mar 2012 01:15 PM
I'm only posting scripts for the people who need them not to show off just for helping.
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