Shikigami
|
  |
| Joined: 24 Jan 2012 |
| Total Posts: 17 |
|
|
| 30 Jul 2012 07:00 PM |
Okay, so here's the scenario.
The script I posted here is in a Dialog with three dialog choices. Two choices are wrong, one choice is correct. There's a certain value in the player I need to change if the choice is correct.
Thank you.
function check(Player, Choice) Player = script.Parent.Parent.Parent.Parent.Parent Player:WaitForDataReady if Choice.Name == "Win" then Player.Rank.Value = "Genin" Player:SaveString("Rank", Player.Rank.Value) end end
script.Parent.DialogChoiceSelected:connect(check) |
|
|
| Report Abuse |
|
Shikigami
|
  |
| Joined: 24 Jan 2012 |
| Total Posts: 17 |
|
| |
Shikigami
|
  |
| Joined: 24 Jan 2012 |
| Total Posts: 17 |
|
| |
ALGO160
|
  |
| Joined: 26 Mar 2012 |
| Total Posts: 397 |
|
|
| 31 Jul 2012 12:33 PM |
| I think you aren't using DP correctly. And what help do you need? |
|
|
| Report Abuse |
|