#need help optimizing an ai script

1 messages · Page 1 of 1 (latest)

inland imp
#

im not sure if this is the cause, but this ai script (or similar iterations of it) belongs to about 21 ish npcs in my game (all npcs get cloned from the replicatedstorage into workspace cause they have their own spawnpads), and i believe it could be the cause of ping increases
is there some script out there that can fix this?

#

the ai script im using

hot veldt
#

bruh this is to help people. we don't "help" ai write better code, that's your job.

#

also for _, npc in ipairs(workspace:GetChildren()) do heehehuua

ionic plankBOT
#

studio** You are now Level 2! **studio

inland imp
#

i meant the npcs ACTUAL ai itself, the pathfinding etc.

#

not ai bots as in chatgpt or other bs like that

hot veldt
#

oh haha

hot veldt