|
| 18 Dec 2016 05:00 PM |
script.Parent.TextButton.MouseButton1Click:connect(function(player) game:GetService("MarketplaceService"):PromptPurchase(player, 547682937) end)
This is not a local script. Only a Normal script. How does it not work? Help me.
- DANIELSBERG, Chief Executive Officer of Norwegian_Airlines & KLM Dutch Airlines |
|
|
| Report Abuse |
|
JoshRBX
|
  |
| Joined: 19 May 2012 |
| Total Posts: 8778 |
|
|
| 18 Dec 2016 05:06 PM |
| Use a LocalScript instead? |
|
|
| Report Abuse |
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 18 Dec 2016 05:09 PM |
| "player" is nil. You have to manually define player. |
|
|
| Report Abuse |
|