I'm quite new 2 scripting and I want to make it so when a player buys a gamepass a brick spawns. Does anyone know how I chould do that? If you know any tutorials about it that whould be a help ore just write down an answer please.
Its very simple, here is a code block;
local Marketplace = game:GetService("MarketplaceService") if Marketplace:PlayerOwnsAsset(--your value--) then local Part = Instance.new("Part") Part.Parent = workspace end
You can make it anchored two if u want. how to do that is to do this code snippet;
Part.Anchored = true
You can copy the code if u want
Closed as Not Constructive by Leamir
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?