JellyYn
|
  |
| Joined: 02 Sep 2015 |
| Total Posts: 732 |
|
|
| 23 Jul 2017 06:17 PM |
| I have a script which allows you to redeems a code, but how do you make it so you can only redeem it once? script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Code.Text == "gimmemoney" then game.Players.LocalPlayer.leaderstats.Money.Value = game.Players.LocalPlayer.leaderstats.Money.Value + 50000 script.Parent.Text = "Success!" ####### ################## = "Submit" else script.Parent.Parent.Code.Text = "Invalid Code" ####### ################## = "Submit" script.Parent.Parent.Code.Text = " " end end) It works, but just wondering how to make it redeemable 1 time only. Grammar jokes stink.|R$1 |
|
|
| Report Abuse |
|
|
JellyYn
|
  |
| Joined: 02 Sep 2015 |
| Total Posts: 732 |
|
|
| 23 Jul 2017 06:19 PM |
script.Parent.MouseButton1Click:connect(function() if script.Parent.Parent.Code.Text == "gimmemoney" then game.Players.LocalPlayer.leaderstats.Money.Value = game.Players.LocalPlayer.leaderstats.Money.Value + 50000 script.Parent.Parent.Code.Text = "" else script.Parent.Text = "Invalid Code" end end)
Grammar jokes stink.|R$1 |
|
|
| Report Abuse |
|
|
JellyYn
|
  |
| Joined: 02 Sep 2015 |
| Total Posts: 732 |
|
|
| 23 Jul 2017 06:32 PM |
bump
Grammar jokes stink.|R$1 |
|
|
| Report Abuse |
|
|