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 help me?

Previous Thread :: Next Thread 
cosmonova1 is not online. cosmonova1
Joined: 17 Apr 2009
Total Posts: 14624
18 Jul 2011 08:29 AM
i need help making a vip script because this wont seem to work and also the vip is for my pokeblox game if you need to fix the texture

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

permission = { "cosmonova1", "grimnova1", "Player" }
texture = "http://www.roblox.com/asset/?id=56340771","http://www.roblox.com/VIP-For-PokeBlox-Comming-Soon-item?id=56340771" -- Go to the wiki below this script to find out how to change the shirt. And paste the link in between the "" marks.

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)
Report Abuse
UttermostExedra is not online. UttermostExedra
Joined: 28 Dec 2009
Total Posts: 2483
18 Jul 2011 08:37 AM
Reported for spam, because you posted 2 threads asking the same question, differrent titled. And I'm not going to help someone who copied a game and didn't give credit anyways...
Report Abuse
cosmonova1 is not online. cosmonova1
Joined: 17 Apr 2009
Total Posts: 14624
18 Jul 2011 08:51 AM
i gave credit
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
18 Jul 2011 09:29 AM
Make sure that you are wearing the vip shirt in solo mode and get the ID from that. Thats what took me so long. Just make sure you have done that and from what I see, it should work.
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