G
G
Gosha9042019-11-12 23:07:41
JavaScript
Gosha904, 2019-11-12 23:07:41

How to make life in vk bot, on js?

Hello, I want to make a life in the bot and VK. I'm new and don't know how to do this! I am writing a js bot. I want it to turn out like this:
If a player does not feed the bot for 5 hours, then one life is taken away, there will be 20 lives in total, when his life ends his balance will be $ 1.000
Ps food can be bought in the store
(Game)
Thank you in advance for your help! I will be grateful if they answer me!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mors Clamor, 2019-11-13
@66demon666

The idea is cool, but how to earn money? I know how to do it, but not in js.

F
Febel, 2019-12-05
@Febel

You create a database, you throw the xp variable into the pet table.
Then you set a timer. You start the timer after feeding. If the 5h timer has passed, you
shoot from the database -1hp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question