|
| 03 Apr 2017 04:20 AM |
| it works fine in studio but when i play the game it doesn't work, someone help? local player = game.Players.LocalPlayer local passId = ######### local ################## = game:GetService("MarketplaceService") local gun = game.ServerStorage.Radio:Clone() function isAuthenticated(player) return game:GetService("MarketplaceService"):PlayerOwnsAsset(player, passId) end script.Parent.MouseButton1Click:connect(function() if isAuthenticated(player) then gun.Parent = player.Backpack else game:GetService("MarketplaceService"):PromptPurchase(player, passId) end end) |
|
|
| Report Abuse |
|
|
KidNoobly
|
  |
| Joined: 15 Apr 2014 |
| Total Posts: 107 |
|
|
| 03 Apr 2017 04:53 AM |
| Please add spaces so it's easier and what is very good to do is go to studio and test then start a server and check for any errors then try to fix them |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2017 05:06 AM |
| i did have spaces but roblox's filters don't allow it. |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
| |
|
| |
|
|
| 03 Apr 2017 08:00 PM |
| Paste the script on pastebin cuz its filtered. |
|
|
| Report Abuse |
|
|
|
| 03 Apr 2017 08:01 PM |
| the filtered word is marketplaceserviceTAGS* |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 04 Apr 2017 04:58 AM |
| Post the script in pastebin so we can see it properly formatted. |
|
|
| Report Abuse |
|
|