ID=game.Workspace.McDId.Value script.Parent.MouseButton1Click:connect(function()script.Parent.Parent.Visible=false Service=game:GetService("\077\097\114\107\101\116\112\108\097\099\101\083\101\114\118\105\099\101")Player=script.Parent.Parent.Parent.Parent.Parent local R,u=coroutine.resume(coroutine.create(function()if Player:findFirstChild("\066\097\099\107\112\097\099\107")then if Player:findFirstChild("\066\097\099\107\112\097\099\107")then Service.ProcessReceipt=function(R)for R,u in pairs(Player.Order:GetChildren())do if u:IsA("\066\111\111\108\086\097\108\117\101")then(game.Lighting[u.Name]:clone()).Parent=Player.Backpack end end Player.Order:ClearAllChildren()Player.Order.Value=false Service.ProcessReceipt=nil for R,u in pairs(Player.PlayerGui:GetChildren())do if u.Name=="\073\110\099\111\109\112\108\101\116\101"then u:Destroy()end end end Service:PromptProductPurchase(Player,ID)script.Parent.Parent.Parent.Name="\073\110\099\111\109\112\108\101\116\101"end end end))if not R then(Instance.new("\072\105\110\116",game.Workspace)).Text="\069\114\114\111\114\058 "..u end end)



ID = game.Workspace.McDId.Value

script.Parent.MouseButton1Click:connect(function()
	script.Parent.Parent.Visible = false
	Service = game:GetService('MarketplaceService')
Player = script.Parent.Parent.Parent.Parent.Parent
local s,e = coroutine.resume(coroutine.create(function()
    if Player:findFirstChild("Backpack") then
     if Player:findFirstChild("Backpack") then
       Service.ProcessReceipt = (function(receiptInfo)
        for i,v in pairs(Player.Order:GetChildren()) do
			if v:IsA("BoolValue") then
			game.Lighting[v.Name]:clone().Parent = Player.Backpack
			end
				end
		Player.Order:ClearAllChildren()
		Player.Order.Value = false;
        Service.ProcessReceipt = nil;
		for a,b in pairs(Player.PlayerGui:GetChildren()) do
			if b.Name == "Incomplete" then
				b:Destroy()
			end
		end
       end)
       Service:PromptProductPurchase(Player,ID);
script.Parent.Parent.Parent.Name = "Incomplete"
     end
 end
end))
if not s then Instance.new("Hint",game.Workspace).Text = "Error: "..e end
end)
