so when you click my gear wall you get a weapon. fast and quick can you tell me how to do it so they get the weapon but they need a gamepass to do it. just in case you dont under stand i have made a gear wall it works fine but i want some of the buttons to work only if you have a gamepass so you must have the gamepass to get the item when clicked. If you can thanks this is what the script looks like please help! i removed format from people that are noobs tryna steal.
script.Parent.ClickDetector.MouseClick:Connect(function(player)
game:GetService("InsertService"):LoadAsset(IDCODE):GetChildren()[1].Parent = player.Backpack
end)
