generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Scripting ERROR

Previous Thread :: Next Thread 
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 11:04 AM
Hello, I was scripting a buy button script and here is the script

local part = script.Parent
local bloxyColaId = 331809893 -- Put the "ID" of you're "Item" that you want to sell.
local player = game.Players.LocalPlayer

function turnTrans()
if player == nil then end
game:GetService("MarketplaceService"):PromptPurchase(player, bloxyColaId)

end

part.ClickDetector.MouseClick:connect(turnTrans)
------------------------------------------------------------------------------------------------------------------------------
And output kept saying: MarketplaceService:PromptPurchase() player should be of type Player, but is of type nil.

Can someone help me by telling me what this means?
Report Abuse
SomeTrollingGuy90 is not online. SomeTrollingGuy90
Joined: 12 Mar 2010
Total Posts: 6539
23 Dec 2015 11:05 AM
It means you should stop stealing scripts to make a free-modeled tycoon


We did it Santa Hat! We did it because we're best friends!
Report Abuse
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 11:07 AM
I did not steal this,
Report Abuse
SilverthornOutfits is online. SilverthornOutfits
Joined: 31 Jul 2012
Total Posts: 15870
23 Dec 2015 11:12 AM
It means you shouldn't ask atr as this is not the scripting sub-forum.



‎( ͡° ͜ʖ ͡°) ՖᎥᏞ℣ᎬᏒᏆhᎾᏒ₦ATR℉I₮Ֆ ( ͡° ͜ʖ ͡°) http://www.roblox.com/Siggy5-item?id=333934023zhttp://www.roblox.com/Siggy6-item?id=333934066
Report Abuse
Onzark is not online. Onzark
Joined: 27 Aug 2012
Total Posts: 1441
23 Dec 2015 11:13 AM
shoo



( ͡° ͜ʖ ͡°)
Report Abuse
PackerfanIXHacked is not online. PackerfanIXHacked
Joined: 25 Jan 2014
Total Posts: 3
23 Dec 2015 11:21 AM
bye kid
( ͡°╭╮ ͡°)


===========The Forum Ninja==========
Report Abuse
swordwilder is not online. swordwilder
Joined: 13 Jun 2013
Total Posts: 11505
23 Dec 2015 11:21 AM
if you don't even know what this simple script means then it obviously means you stole it.



http://www.roblox.com/Character-item?id=332277645
Report Abuse
Daredevilz is not online. Daredevilz
Joined: 15 Jun 2010
Total Posts: 1231
23 Dec 2015 11:23 AM
Wrong forum. No one on ATR is lifeless enough to know scripting. But sure are smart enough to know you stole the damn thing.
Report Abuse
xXxC0NN0RxXx is not online. xXxC0NN0RxXx
Joined: 21 Sep 2013
Total Posts: 296
23 Dec 2015 11:23 AM
bloxyColaId - lol "not stolen"

008Շ98hƐƐ=pı¿ɯəʇı-ʎɓɓıs/ɯoɔ·xoๅqoɹ·ʍʍʍ//:dʇʇɥ
Report Abuse
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 11:23 AM
I didn't steal this, I took it from a buy button GUI, and tried converting it into a part that u can click to buy the item.
So its pretty much MY script
Report Abuse
iiiSamurai is not online. iiiSamurai
Joined: 10 Dec 2012
Total Posts: 1174
23 Dec 2015 11:24 AM
function turnTrans(player)
if player ==nil then return end

game:GetService("MarketplaceService"):PromptPurchase(player, bloxyColaId)

end
Report Abuse
ultragumball is not online. ultragumball
Joined: 18 Mar 2011
Total Posts: 521
23 Dec 2015 11:24 AM
Is it a LocalScript?
Report Abuse
Daredevilz is not online. Daredevilz
Joined: 15 Jun 2010
Total Posts: 1231
23 Dec 2015 11:24 AM
So if I take an item from the store, and then spit on it, it's technically my item even though I didn't pay for it and it has MY spit on it so it's technically MY item?
Report Abuse
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 11:34 AM
Yes, because it has My spit on it :3
So no one wants it back l0l.
Report Abuse
Daredevilz is not online. Daredevilz
Joined: 15 Jun 2010
Total Posts: 1231
23 Dec 2015 11:34 AM
Wow you're a dumbass.
Report Abuse
Legoking561 is not online. Legoking561
Joined: 15 Apr 2014
Total Posts: 6705
23 Dec 2015 11:35 AM
http://forum.roblox.com/Forum/ShowForum.aspx?ForumID=33
Report Abuse
Daredevilz is not online. Daredevilz
Joined: 15 Jun 2010
Total Posts: 1231
23 Dec 2015 11:36 AM
Thanks Lego.
Report Abuse
beyblate is not online. beyblate
Joined: 23 Dec 2011
Total Posts: 714
23 Dec 2015 11:37 AM
(facepalm)
Report Abuse
Unitum is not online. Unitum
Joined: 06 Aug 2009
Total Posts: 2482
23 Dec 2015 11:49 AM
how to script
Report Abuse
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 12:08 PM
FORM CLOSED!!!
Report Abuse
TristenBlack is not online. TristenBlack
Joined: 09 May 2013
Total Posts: 1517
23 Dec 2015 12:10 PM
"I didn't steal this, I took it from a buy button GUI, and tried converting it into a part that u can click to buy the item.
So its pretty much MY script"

"I took it from a buy button GUI, and tried converting it into a part that u can click to buy the item."

"I took it from a buy button GUI"

quit stealing scripts and make you wannabe scripter


~ Tristen Black
Report Abuse
Thundermaker300 is online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
23 Dec 2015 12:15 PM
wow u r stupid, post in da right forum next time lawl
Report Abuse
iiSyncc is not online. iiSyncc
Joined: 17 Oct 2013
Total Posts: 74
23 Dec 2015 12:24 PM
I dont use forms much, i didn't know there was a form for scripting but thanks for telling me
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image