I make a npc that solves math problems
sqrt +,-,x,/ he is pro with anything
I make a npc that solves math problems
Do you like this smart math npc?
Yes, but will it get to a point where it can solve advanced math problems?
cool for first graders to solve huge numbers multiplied by a huge number : )
did you just do player.chatted and check the message and make the robot chat? Or does it actually do the math problem without having set answers?
yes! he can solve every number in the world
No ! he havent I will send you the script pls wait
So if I say, square root 4, will it squareroot 4?
no but I will try to make this
ty for the idea I will make him
It would require some effort but it’s fairly easy as the ‘math’ library exists, for example he says this:
squareroot 2
So,
math.sqrt(2)
It would also be cool if he can use squareroot at the same time while adding the number
Squareroot 6 + 2
math.sqrt(6) + 2
Would be 8.
yes I know math functions like math.huge() = infinity and math.floor()
I didnt know about string.split this time but its working
really nice! One tip I have is that instead of doing doing player.chatted do it using the roblox chat system
what do you mean? please tell me
Nice code! Is there ^?
I will make him solve squares √
oh yeah this will be a bit difficult but pi is also cool
ik it will be as easy as just typing in “math.pi” but he maybe wants to say what’s it’s approximated to, so good luck on making that
Nvm, it’s actually easy to round the number
function round(num)
return math.floor(num+0.5)
end
now the bot is real smort
This isn’t an AI. AI means you don’t have any hardcoded responses and the model learns on training input.
ok ! Thank you for telling me that