Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 10:59 AM |
How do i script a vip door, where you only have to own the shirt, and not wear it? I tried the wiki tutorial, but i couldnt copy-paste it properly. Wrote it, but still didn't work. I also tried some youtube-videos, but the sripts needed the player to wear the shirts. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
| |
|
|
| 19 Jun 2012 11:16 AM |
| Well, no one should just give it to you, that would deny you the challenge of learning it. Try to learn to script. then make the script, obviously. And if it errors bring it here. Anyone will try to help, if it is yours. I hope I have helped. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 11:19 AM |
| Why do you think i need help on scripting a vip door? Because i know NOTHING of scripting, and because i can't learn it. Just saying 'learn to script' doesn't help at all. Even if i could learn to script, it would take very long time untill i could be able to script a vip door, and i have other things to do than learning to script. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:23 AM |
| You, obviously do not want a VIP door that badly then. ._. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 11:24 AM |
| CAN YOU READ OR NOT?! I said i CANT learn to script because i CANT understand it and i DONT have the time! |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:29 AM |
| Your making yourself look like a idiot by capitalizing full words, and well were not your slaves. Sorry good luck with finding some though. |
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 19 Jun 2012 11:30 AM |
game:GetService('BadgeService'):UserHasBadge(player.userId, shirt'sIDhere)
|
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 11:32 AM |
@joshrocks If you are not trying to help, dont post at all! @solotaire I know about that, but i can't make it fit into a script, it just breaks it totally. |
|
|
| Report Abuse |
|
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
|
| 19 Jun 2012 11:32 AM |
| The wiki has a VIP door script if you want one so bad. |
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 19 Jun 2012 11:35 AM |
asset = (your shirt's id)
script.Parent.Touched:connect(function(hit) player = game.Players:getPlayerFromCharacter(hit.Parent) if game:GetService('BadgeService'):UserHasBadge(player.userId, asset) then script.Parent.CanCollide = false script.Parent.Transparency = .6 wait(5) script.Parent.CanCollide = true script.Parent.Transparency = 0 else hit.Parent:BreakJoints() end end) |
|
|
| Report Abuse |
|
|
robotmega
|
  |
| Joined: 16 May 2009 |
| Total Posts: 14084 |
|
|
| 19 Jun 2012 11:41 AM |
asset = (your shirt's id)
script.Parent.Touched:connect(function(hit) player = game.Players:getPlayerFromCharacter(hit.Parent) if game:GetService("BadgeService"):UserHasBadge(player.userId, asset) then script.Parent.CanCollide = false script.Parent.Transparency = .6 wait(5) script.Parent.CanCollide = true script.Parent.Transparency = 0 a=Instance.new("Message") a.Parent = game.Workspace a.Text = "HIIIIII" else hit.Parent:BreakJoints() end end) |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:44 AM |
Actually giving you the script, is not helping you at all.
@Solotaire How will giving it to her/him help her/him?
@OP How will this help you learn anything. Are you just gonna beg Scripting Helpers your whole life? |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:44 AM |
asset = (your shirt's id)
script.Parent.Touched:connect(function(hit) player = game.Players:getPlayerFromCharacter(hit.Parent) if game:GetService('BadgeService'):UserHasBadge(player.userId, asset) then script.Parent.CanCollide = false script.Parent.Transparency = .6 wait(5) script.Parent.CanCollide = true script.Parent.Transparency = 0 a=Instance.new("Message") a.Parent = game.Workspace a.Text = "hello world" else hit.Parent:BreakJoints() end end) |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:45 AM |
"Are you just gonna beg Scripting Helpers your whole life?"
Maybe just until OP quits roblox. |
|
|
| Report Abuse |
|
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 19 Jun 2012 11:47 AM |
@joshrocks,
She gets a working script, I get to practice scripting. If she isn't trying to become a scripter, making her learn how to do this is pointless. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 11:47 AM |
| Any of those scripts just keep either killing me or ignore me when i walk into them... I don't know if it's because i put in an invalid ID, but i tried 4 different numbers, neither of them worked :/ |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 11:51 AM |
| Nevermind, it works now. Thanks a lot :) |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 12:05 PM |
| I have run into another problem. I found out the door only works once. I tried to put in the 'while true do' sentence, because i remember it repeating things, but it didn't work. How can i make the door work more than once? .-. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
| |
|
Solotaire
|
  |
| Joined: 30 Jul 2009 |
| Total Posts: 30356 |
|
|
| 19 Jun 2012 12:46 PM |
| You don't need a while loop, as it only needs to fire when you touch it. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
|
| 19 Jun 2012 12:59 PM |
| The problem is, it only works once on each server. I have to reenter the game to enter the vip room again |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 01:47 PM |
| I have a vip script, I copied from the wiki right before the scripts got changed. |
|
|
| Report Abuse |
|
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
| |
|
Quna
|
  |
| Joined: 15 Jan 2011 |
| Total Posts: 538 |
|
| |
|