Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:21 PM |
Blade = game.Lighting.Blade Blade = Blade:clone()
script.Parent.DialogChoiceSelected:connect(function(player, choice) if (choice == script.Parent.Choice1) then if (player.leaderstats.Drachma.Value >= 1) then model = Blade:clone() model.Parent = player.Backpack model:makeJoints() player.leaderstats.Drachma.Value = player.leaderstats.Drachma.Value - 1 end return end end)
I have the correct amount of money but I dont get the tool |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:25 PM |
time = 30
while true do wait(1) time = time - 1 if (time == 0) then time = 180 players = game.Players:GetChildren() for i=1, #players do if (players[i]:findFirstChild("leaderstats")) then if (players[i]:IsInGroup(1024005)==true) then players[i].leaderstats.Money.Value = players[i].leaderstats.Money.Value + 2 else players[i].leaderstats.Money.Value = players[i].leaderstats.Money.Value + 1 --70 end end end end end
The currency is Drachma do I change everything that has money to Drachma? |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 09:31 PM |
| Yes, change every Money to Drachma. |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:32 PM |
| What about my first question? |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
| |
|
Azureous
|
  |
| Joined: 29 Jan 2012 |
| Total Posts: 25287 |
|
|
| 19 Jan 2014 09:43 PM |
time = 30
while true do wait(1) time = time - 1 if (time == 0) then time = 180 players = game.Players:GetPlayers() for i=1, #players do coroutine.resume(coroutine.create(function() if (players[i]:findFirstChild("leaderstats")) and players[i]:IsInGroup(1024004) then players[i].leaderstats.Money.Value = players[i].leaderstats.Money.Value + 2 else players[i].leaderstats.Money.Value = players[i].leaderstats.Money.Value + 1 --70 end end)) end end end |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:45 PM |
Figure it out
"if (choice == script.Parent.Choice1) then"
.Choice1
Thats not the name of the dialog.. qq |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:54 PM |
Need urgent help ------------------------------------------------------------ Blade = game.Lighting.Blade Blade = Blade:clone()
script.Parent.DialogChoiceSelected:connect(function(player, choice) if (choice == script.Parent.DialogChoice1) then if (player.leaderstats.Drachma.Value >= 1) then model = Blade:clone() model.Parent = player.Backpack model:makeJoints() player.leaderstats.Drachma.Value = player.leaderstats.Drachma.Value - 1 end return end end)
I have the correct amount of money but I dont get the tool |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 09:56 PM |
| Turns out I didnt figure it out also. |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
| |
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 10:07 PM |
| New problem. Wont take the Drachmas away when I buy the tool. |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 10:10 PM |
| Come to my place. I really need help. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2014 10:10 PM |
| Try removing the :makejoints() line. |
|
|
| Report Abuse |
|
|
Avner
|
  |
| Joined: 30 Nov 2007 |
| Total Posts: 3390 |
|
|
| 19 Jan 2014 10:12 PM |
| Also, When I want to buy another it wont let me. |
|
|
| Report Abuse |
|
|