of     1   

Spookypls
#138944797Wednesday, July 02, 2014 4:05 AM GMT

This doesn't seem to work. I've changed so many things, and it still doesn't work. I've spent hours on this. Can anyone help me find out what's wrong? ID = 162597573 GPS = game:GetService("MarketplaceService") player = script.Parent.Parent.Parent.Parent.Parent function Buy() game:GetService("MarketplaceService"):PromptPurchase(player,ID) GPS.PromptPurchaseFinished:connect(function(player, ID, isPurchased) if isPurchased then clone1 = game.ServerStorage["Dual Darkhearts"]:clone() clone1.Parent = player.Backpack end end) end script.Parent.MouseButton1Click:connect(Buy)
Spookypls
#138945280Wednesday, July 02, 2014 4:11 AM GMT

Bump1.
Spookypls
#138945580Wednesday, July 02, 2014 4:14 AM GMT

Bump2.
Spookypls
#138946597Wednesday, July 02, 2014 4:28 AM GMT

Bump3.
Spookypls
#138960411Wednesday, July 02, 2014 7:18 AM GMT

Bump4.
Fluent_Lua
#138963257Wednesday, July 02, 2014 8:14 AM GMT

Looks fine, any output? Maybe your pathways are wrong?
TwistyTies
#138963441Wednesday, July 02, 2014 8:19 AM GMT

How about, if they already owned it when they come into the game? If the gamepass is already created then it should not work because you already own it and cannot buy it again. Yolo I'm going to be a penguin now. :3
brinkokevin
#138963907Wednesday, July 02, 2014 8:31 AM GMT

i am not sure but i think you need to use player.userId not player
Fluent_Lua
#138964171Wednesday, July 02, 2014 8:38 AM GMT

Possibly because you already own the gamepass?
Spookypls
#138964607Wednesday, July 02, 2014 8:49 AM GMT

That's the thing, I can't see the output because I already own it.
Spookypls
#138964675Wednesday, July 02, 2014 8:51 AM GMT

Basically, I'm trying to make it so when they buy the gamepass from the Gui in-game, it gives them the sword and continues to after they die. That way they don't need to wait for a new server.
masterblokz
#138964820Wednesday, July 02, 2014 8:55 AM GMT

player = game.Players.LocalPlayer.Character
Spookypls
#138964964Wednesday, July 02, 2014 8:59 AM GMT

Really, that's why..?
masterblokz
#138965200Wednesday, July 02, 2014 9:07 AM GMT

hold on, dont use .character, just do local player = game.Players.LocalPlayer try it..
Spookypls
#138965281Wednesday, July 02, 2014 9:10 AM GMT

Okay.
Spookypls
#138965628Wednesday, July 02, 2014 9:22 AM GMT

Well.. I found out what the problem is.. I had a friend buy one of the swords, output reads "ServerStorage is not a valid member of DataModel." Is there anyway you can change that without using the Lighting?
RainbowStarImpact
#138965670Wednesday, July 02, 2014 9:23 AM GMT

remove some of the parents on until it works :). player = script.Parent.Parent.Parent.Parent.Parent
RainbowStarImpact
#138965696Wednesday, July 02, 2014 9:24 AM GMT

Ooops wait I don't think that will do anything.
Spookypls
#138966011Wednesday, July 02, 2014 9:35 AM GMT

Yeah, I don't know..

    of     1