NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
|
| 28 Apr 2014 08:27 PM |
| explain what you want the script to do ZAM GIRL |
|
|
| Report Abuse |
|
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
| |
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
|
| 28 Apr 2014 08:37 PM |
local id = 153154621 local player = game.Players.LocalPlayer local sword = game.Lighting.Venomshank local marketService = game:GetService("MarketplaceService") -- Since I have very little knowledge with the BC scripting stuff I'll try to make it simple.
function giveSword(player) local newSword = sword:Clone() newSword.Parent = player.Backpack end
function playerOwns(player, id) if marketService:PlayerOwnsAsset(player, id) then return true end end
script.Parent.MouseButton1Down:connect(function() if playerOwns(player, id) then giveSword(player) end end)
I try to hard it probably doesnt even work also Idk about that prompt purhcase line maybe u can addthat |
|
|
| Report Abuse |
|
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|
|
| 28 Apr 2014 11:00 PM |
| Did you accidentally flip the arguments of PlayerOwnsAsset? I might be wrong. |
|
|
| Report Abuse |
|
|
NeonRiver
|
  |
| Joined: 12 Feb 2013 |
| Total Posts: 4936 |
|
| |
|