wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:12 PM |
this script has worked before, but i dont know what is wrong now its just doesnt work. there is no output
player = script.Parent.Parent.Parent.Parent.Parent gold = player.leaderstats.KOs upgradeStuff = game.Lighting.Rifle function buy() if gold.Value >= 0 then script.Parent.Parent.Visible = false gold.Value = gold.Value - 0 local a = upgradeStuff:clone() a.Parent = player.Backpack end end script.Parent.MouseButton1Down:connect(buy) |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:15 PM |
| What the heck is a hierarchy. I know alot of terms but i have no idea what that is |
|
|
| Report Abuse |
|
|
Spectrumz
|
  |
| Joined: 22 Mar 2011 |
| Total Posts: 4338 |
|
|
| 15 Jul 2011 03:16 PM |
| Hierarchy is the order of things. He means you might have gotten one of your variables messed up, added one parent too many. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 03:17 PM |
The order of your stuff like:
>Model >>Part >>>Script >>>Value |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:38 PM |
@hacker it saubtacts zero cause i dont want to take the players KOs away. @ everyone else. i get it now |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:40 PM |
@hacker i could also use that script for a currency like money. i dont wanna erase cause i might mess it up |
|
|
| Report Abuse |
|
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:44 PM |
| they get points or KOs by killing players |
|
|
| Report Abuse |
|
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:47 PM |
| and i really dont see what your saying. zero is what i dont have? you start with zero, then as you KO more you got more points, and some options allow you to actually subract more that zero. |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:48 PM |
late post. @ hacker i dont need to put it in. like i said before ive used this script and it worked. now im altering to use it a different way |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 03:57 PM |
| the only thing i could see to change order is line 6. |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
| |
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 04:23 PM |
| ITS IN THE LEADERBOARD ARE yOU HAPPY? |
|
|
| Report Abuse |
|
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 04:57 PM |
THE SCRIPT IS IN A GUI HUUUURRRRRRRRRRRRR |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 04:59 PM |
| OMG I FORGOT THE ONCLICK FUNCTION |
|
|
| Report Abuse |
|
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
| |
|
| |
|
wormykill
|
  |
| Joined: 15 May 2011 |
| Total Posts: 36 |
|
|
| 15 Jul 2011 05:03 PM |
| erhem. ppl here need somore skills |
|
|
| Report Abuse |
|
|
| |
|