#how to create a paywall (or something you pay for [with g coins])
1 messages · Page 1 of 1 (latest)
step 1: create a paywall in the tile database. to do so, press the blue + near the grass block. or if you want you can add a block from the database to the scene and save it as a new asset.
step 2: create a new component - interaction. in " When interaction button is tapped" insert Execute Pay G Coins. this will make it so if you will press the hand button, you will be prompted with the g coin payment screen.
step 3: edit the script. change the balance (money you spend). for "If payment successful" add any script. for a paywall you need a script to destroy the block, or if you are lazy like me, just generate grass in the spot where the paywall is.
here is what i tried yappin about without the images
step 1
step 2
step 3
Pay GCoins to touch grass!
@bronze pendant can I make an pay wall like this for my own game currency
Yes
yes youll just have to do a different script
You know the script?
If yes please teach fr
Yey
i forgot
yeah
uhh
gotta get my phone
just replace pay gcoins with script and copy this
no idea how to explain this
I wanted to make some corrections but this script has too many problems so I'll just remake it.
great
more like this