fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:24 PM |
And here's the VIP script:
print("VIP Door Script loaded")
-- list of account names allowed to go through the door. permission = _G.Permission.Tier1
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 print("Human touched door") if (checkOkToLetIn(human.Parent.Name)) then print("Human passed test") Door.Transparency = 1 Door.CanCollide = false wait(1) -- this is how long the door is open Door.CanCollide = true Door.Transparency = 1 end end end
script.Parent.Touched:connect(onTouched)
And the global value script:
_G.Permission = { Tier1 = {"minicl55", "SCARFACIAL", "breadandmilk","combativewolffe","malasiscookieguy","Chiba20","fart101"}, Tier2 = {"minicl55", "SCARFACIAL", "Chiba20", "fart101"}, Tier3 = {"minicl55", "SCARFACIAL", "fart101"} }
The global values is in game.Workspace, the VIP door script is in the VIP door (so game.Workspace.VIP door.VIP door script)
Any idea why this might not work?
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:42 PM |
bump
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:46 PM |
I would really appreciate it if you helped me, PLEASE!
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2011 05:47 PM |
| Clicking a button to insert it from free models does not mean it's yours. |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:48 PM |
Actually, an online friend of mine (SCARFACIAL) made it.
In the free models, there are 2. one that is mine (check it here:
http://www.roblox.com/Global-VIP-door-item?id=61263503
)
and another which scripts are nothing like it.
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
KingBoo
|
  |
| Joined: 16 Jul 2007 |
| Total Posts: 8495 |
|
|
| 06 Sep 2011 05:49 PM |
"So I made"
You just.. your name isn't even first in any of the tiers, you'd figure if you actually made it that your name would be first. |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:50 PM |
minicl55 is my main, who is banned.
If you search him, he doesn't come up. Thats why my siggy uses his name, too.
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
KingBoo
|
  |
| Joined: 16 Jul 2007 |
| Total Posts: 8495 |
|
|
| 06 Sep 2011 05:51 PM |
print("VIP Door Script loaded")
-- list of account names allowed to go through the door. permission = _G.Permission.Tier1
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 print("Human touched door") if (checkOkToLetIn(human.Parent.Name)) then print("Human passed test") Door.Transparency = 1 Door.CanCollide = false wait(1) -- this is how long the door is open Door.CanCollide = true Door.Transparency = 1 end end end
script.Parent.Touched:connect(onTouched)
Is the wiki.roblox vip door.
You did not make any of it. |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:53 PM |
I know. I made the permission script. (Well, SCARFACIAL made it for me, but he gave it to me)
But it doesn't work.
Why would I design another script if there is a working one available on the wiki?
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
KingBoo
|
  |
| Joined: 16 Jul 2007 |
| Total Posts: 8495 |
|
|
| 06 Sep 2011 05:55 PM |
| Well then you have no right to say "So I made" |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:56 PM |
fine. I fixed the title. Will you help me how?
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 05:59 PM |
So I take it you aren't going to help me >_>
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 06:01 PM |
*sighs*
So I guess all that auguring was for nothing...
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
Parthax
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 6941 |
|
| |
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 06:19 PM |
lol ik :P
I did it in play mode.
And you can do it in build mode, I think, I haven't tried it, but the guys name is player.
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 06:30 PM |
So can I get some help over here?
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 08:08 PM |
Pwease? :D
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|
fart101
|
  |
| Joined: 16 Dec 2011 |
| Total Posts: 350 |
|
|
| 06 Sep 2011 08:18 PM |
Why won't you help me?
--minicl55, the magical unicorn-- |
|
|
| Report Abuse |
|
|