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: vip door script

Previous Thread :: Next Thread 
21facebook12 is not online. 21facebook12
Joined: 14 Apr 2014
Total Posts: 18
20 Apr 2014 08:03 AM
hello I would like to make games with a VIP room that you can enter with a t-shirt I've been looking for vip doors and the script to fit but still not working it as if someone knows a script would have become easier for me if you also have an instruction upon it is also good without given full instructions
Report Abuse
TxOreo1 is not online. TxOreo1
Joined: 13 Apr 2014
Total Posts: 34
20 Apr 2014 08:15 AM
Use a gamepass and btw it comes in the toolbox under game stuff.
Report Abuse
Havemeat is not online. Havemeat
Joined: 08 Jan 2008
Total Posts: 18081
20 Apr 2014 08:16 AM
VIP = { "" }
texture = "" -- Put the texture of the tshirt that you would like your robloxian to wear in order to enter the door.

function check(name)
for i = 1,#VIP do

if (string.upper(name) == string.upper(VIP[i])) then return true end
end
return false
end

local Door = script.Parent

function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if (human ~= nil ) then
if human.Parent.Torso.roblox.Texture == texture then
Door.CanCollide = false
wait(4)
Door.CanCollide = true

elseif (check(human.Parent.Name)) then
Door.CanCollide = false
wait(4)
Door.CanCollide = true


end
end
end

script.Parent.Touched:connect(onTouched)
Report Abuse
21facebook12 is not online. 21facebook12
Joined: 14 Apr 2014
Total Posts: 18
20 Apr 2014 04:04 PM
thank you
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