How do you make it so that you have random chance of paying something

‎So in my game I want to make it so that the price differs by chance so plz tell me a solution.

You can use block code in a trigger to set a property to a random number. You can choose when it activates and the minimum/maximum amount that should be charged. If you need help taking the money away, I can help with that too.

can you plz show me a picture of the code?

image
Here you go!

Thank you‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

No problem. Be sure to mark a solution!

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.