#I NEED HELP NOW!

1 messages · Page 1 of 1 (latest)

buoyant elm
#

How do I make it so that I can only buy it once? I mean, after buying it, if I want to change characters and play with the same character, I have to pay to buy it again. How do I do that? How do I write a script so that I don't have to buy it again after buying it?

crimson vector
#

create a variable which changes after you buy it
an example is
if bought == false:

#

then change the variable in this to true once it is bought

#

so it cant be bought again

#

im not fully sure how julian editors coding fully works but this is how i'd do it in actual code

#

another example i can think of is having a list that stores the items

#

like a list that saves the item inside it