|
| 05 Feb 2012 05:51 PM |
| can anyone give an example of a script I would put in a sword shop gui for kos into the text button? |
|
|
| Report Abuse |
|
CrasyTrex
|
  |
| Joined: 13 Mar 2011 |
| Total Posts: 761 |
|
|
| 05 Feb 2012 05:56 PM |
function OnButtonClicked() plr = script.Parent.Parent.Parent.Parent -- might not be right with the number or Parent's if plr.leaderboard.KO's >= 50 then a = game.Lighting.Sword:clone() a.Parent = plr.BackPack end end
script.Parent.Mouse1ButtonClick:connect(OnButtonClicked)---might have messed up here also -_- |
|
|
| Report Abuse |
|