# When bought pass set variable = 1 when buying item if variable = 1 then allow payment the script depends on your game since you didnt provide any additional details