eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
|
| 07 Sep 2011 06:48 AM |
MY CURRENT SCRIPT: if (choice == script.Parent.Choice2) then if (player.leaderstats.KOs.Value >= 0) then gun = game.Lighting["Sniper"]:clone() gun.Parent = player.Backpack player.leaderstats.KOs.Value = player.leaderstats.KOs.Value - 0 script.Parent.Choice2.ResponseDialog = "Have a nice day!" else script.Parent.Choice2.ResponseDialog = "You don't have enough gold" end return end |
|
|
| Report Abuse |
|
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
|
| 07 Sep 2011 07:08 AM |
First take of the shaggy
try this
if (choice == script.Parent.Choice2) then if (player.leaderboard.KOs.Value >= 0) then gun = game.Lighting["Sniper"]:clone() gun.Parent = player.Backpack player.leaderboard.KOs.Value = player.leaderstats.KOs.Value - 0 script.Parent.Choice2.ResponseDialog = "Have a nice day!" else script.Parent.Choice2.ResponseDialog = "You don't have enough gold" end return end |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
|
| 07 Sep 2011 07:11 AM |
OH SHI I meant this if (choice == script.Parent.Choice3) then if player.leaderstats.KOs.Value >= 0 then model = game.Lighting["Humvee"]:clone() model.Parent = Workspace.Brick1 model:MakeJoints() player.leaderstats.KOs.Value = player.leaderstats.KOs.Value - 0 script.Parent.Choice3.ResponseDialog = "Have a nice day!" else script.Parent.Choice3.ResponseDialog = "You don't have enough gold" end return end |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
|
| 07 Sep 2011 07:13 AM |
| I meant that script above me :) |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
|
| 07 Sep 2011 09:49 AM |
| Forum> Scripting helpers> More help. |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
|
| 07 Sep 2011 10:16 AM |
| Plzzz no one answerz at scwipting helpas |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
|
| 07 Sep 2011 10:30 AM |
Scripting helpers, not here.
- The RT moose
|
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
|
| 07 Sep 2011 10:35 AM |
Don't post here, post in SH.
If you read the rules, you would know that it goes there, and no where else.
- The RT moose
|
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|
| |
|
Indylego
|
  |
| Joined: 13 Aug 2008 |
| Total Posts: 4998 |
|
|
| 07 Sep 2011 09:04 PM |
| Just incase you didn't notice man most people on RT can't read. Sorry man I can't help I have no idea how to script =( |
|
|
| Report Abuse |
|
|
Cartmanez
|
  |
| Joined: 16 Jul 2011 |
| Total Posts: 2185 |
|
|
| 07 Sep 2011 09:05 PM |
Stop bumping. Go to SH. They will tell you. |
|
|
| Report Abuse |
|
|
eddz99
|
  |
| Joined: 30 Dec 2009 |
| Total Posts: 1707 |
|
| |
|