|
| 16 Oct 2011 03:12 AM |
Here's the script:
player = game.GetService("Players").LocalPlayer money = player.leaderstats.Wins price = 2
function buy() if money.Value >= price then money.Value = money.Value - price x = Game.GetService("Lighting").Shop.BlueFlame x:Clone().Parent = player.Character.Head wait(0.5) end end end script.Parent.MouseButton1Down:connect(buy)
-Also when I click it all the text boxes in the gui disappear ?
~The Almighty stuart6854~ |
|
|
| Report Abuse |
|
|
myrco919
|
  |
| Joined: 12 Jun 2009 |
| Total Posts: 13241 |
|
| |
|
|
| 16 Oct 2011 03:36 AM |
It did not work? Its in a local script, if that helps?
~The Almighty stuart6854~ |
|
|
| Report Abuse |
|
|
deadwiper
|
  |
| Joined: 23 Jul 2011 |
| Total Posts: 48 |
|
|
| 16 Oct 2011 03:50 AM |
Put it in a Non Local script then.... THINK OUTSIDE THE BOX |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2011 04:38 AM |
I found out what was mainly wrong it was the .GetService and it should of been :GetService
~The Almighty stuart6854~ |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2011 10:09 AM |
The Script doesn't work on online mode(Play Mode).
~The Almighty stuart6854~ |
|
|
| Report Abuse |
|
|