How to make a bot in roblox?

So I’ve seen games like

https://www.roblox.com/games/1093237560/Bot-aim-training

How do they make such impressive bots?

I personally use pathfinding, random jump intervals, I even went as far as to create animations to randomly have the bot crouch, sprint, so on and so forth. I had a couple functions for different sporadic movement types such as spinning, faking a left move, faking a right move, etc.

Read up on pathfinding here:

They used neural network. simple.

2 Likes

Yes, you are right. But sometimes this isn’t the case. Good bots will most of the time lock on to the player and attack but I suggest placing some points around the map (every meter or 2) and when the bot doesn’t see the player or hasn’t yet. It will just patrol the area. When it sees the player it will lock on and attack, and fake movements. After the player is out of sight for enough time the bot will forget the player was seen and keep on patrolling as normal.

1 Like

The bot he linked does not do that, hence why I didn’t bring any of that up.

2 Likes

I seriosly thought you meant making those anoying roblox bots

1 Like

me in utter confusion of a person calling a neural network simple

1 Like

Pretty easy once you understand how it works.

1 Like

Do you have any suggestions like a tutorial or something for me to understand them better? I understand the concept but I can’t make it work.

For some people that assume I want to use a bot (to bot likes etc.) NO! IT’S A INGAME BOT!

Here is a simple explanation of neural networks for beginners link. 3Blue1Brown is so good at explaining stuff like neural networks. link #2

2 Likes