|
| 25 Feb 2012 03:25 PM |
| Can someone script one for me? (T-SHIRT) http://www.roblox.com/Whos-next-VIP-item?id=73329215 , please. |
|
|
| Report Abuse |
|
|
| |
|
TINISH0TZ
|
  |
| Joined: 20 Nov 2009 |
| Total Posts: 2549 |
|
|
| 25 Feb 2012 03:44 PM |
| There's a simple tutorial on the Wiki. |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 03:44 PM |
| http://wiki.roblox.com/index.php/How_do_I_make_VIP_doors%3F |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 03:47 PM |
| I tried that!!! IT DOESNT WORK FOR ME >:( I DON'T UNDERSTAND HOW TO PUT IT ALL TOGETHER AND THE SHIRT AND THE THING, CAN SOMEONE JJUST GET THE SCRIPT WITH THIS SHIRT SO IT LETS PEOPLE THROUGH> http://www.roblox.com/Whos-next-VIP-item?id=73329215 |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 03:49 PM |
local user = "Player" -- The player's username. local assetId = 1032571 -- The ID of the asset that must be owned by the player. Generally the ID of the t-shirt that lets the player through. local door = script.Parent -- The door. Assumes this script is in the door. door.Touched:connect(function(otherPart) if not otherPart.Parent then return end local player = game:GetService('Players'):GetPlayerFromCharacter(otherPart.Parent) or game:GetService('Players'):GetPlayerFromCharacter(otherPart.Parent.Parent) if player and player.Character and (player.Name:lower() == user:lower() or game:GetService('BadgeService'):UserHasBadge(player.userId, assetId)) then local anchoredState = door.Anchored -- Remember whether the door was anchored. local transparencyState = door.Transparency -- Remember the door's tranparency. door.Anchored = true door.CanCollide = false door.Transparency = .5 wait(4) -- You can change this if you want to edit for how long the door stays open. door.CanCollide = true door.Anchored = anchoredState -- Gives back to the door it previous anchored state. door.Transparency = transparencyState -- Give back its transparency to the door. else player.Character:BreakJoints() -- Kill the player if he's not allowed to go through. Remove this if you don't want the player to die. end end) |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 03:52 PM |
| Can you put this shirt Id in there, I dont know how. http://www.roblox.com/Whos-next-VIP-item?id=73329215 |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 03:56 PM |
local user = "Player" -- The player's username. local assetId = 73329215 -- The ID of the asset that must be owned by the player. Generally the ID of the t-shirt that lets the player through. local door = script.Parent -- The door. Assumes this script is in the door. door.Touched:connect(function(otherPart) if not otherPart.Parent then return end local player = game:GetService('Players'):GetPlayerFromCharacter(otherPart.Parent) or game:GetService('Players'):GetPlayerFromCharacter(otherPart.Parent.Parent) if player and player.Character and (player.Name:lower() == user:lower() or game:GetService('BadgeService'):UserHasBadge(player.userId, assetId)) then local anchoredState = door.Anchored -- Remember whether the door was anchored. local transparencyState = door.Transparency -- Remember the door's tranparency. door.Anchored = true door.CanCollide = false door.Transparency = .5 wait(4) -- You can change this if you want to edit for how long the door stays open. door.CanCollide = true door.Anchored = anchoredState -- Gives back to the door it previous anchored state. door.Transparency = transparencyState -- Give back its transparency to the door. else player.Character:BreakJoints() -- Kill the player if he's not allowed to go through. Remove this if you don't want the player to die. end end) |
|
|
| Report Abuse |
|
|
TINISH0TZ
|
  |
| Joined: 20 Nov 2009 |
| Total Posts: 2549 |
|
|
| 25 Feb 2012 03:57 PM |
| Unhol's script seems correct. |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 04:01 PM |
| I put the script in the door, IT KILLED ME..... |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 04:02 PM |
I just looked at the VIP doors article... eww...
I'm completely rewriting that page. |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 04:05 PM |
| The door is staying open forever... |
|
|
| Report Abuse |
|
|