NextPath: Next gen script for Nextbots

Thats because Enum.RaycastFilterType.Blacklist is deprecated, and Enum.RaycastFilterType.Exclude should be used instead.

1 Like

@KingBlueDash it is still stuck at place.

And i also found this (underline in red) :


So i changed it to “table.get”. But it’s still stuck at place.

Table.get() is not a function. Table.getn() is a deprecated function that gets the length of a table. Instead of using table.getn(), simply put # in front of the table you’re trying to get the length of.

Just replace line 106 with this:
if aiScanner.ScanTable ~= nil and #aiScanner.ScanTable > 0 then

Also, if you hover over the red underline, it will give you a reason why that code is underlined, and you can use that to fix stuff like this.

1 Like

Still stuck at place. Could u pls provide me a file?

Unfortunately, I don’t have one for this as I haven’t ever used this script. However, if you send me a rbxl file, I can try to debug it.

1 Like

Ai-NextPath.rbxm (17.7 KB)

Why are you using light mode??? :rage:

BRUH💀, Everyone has their own preferences…

1 Like

I can’t believe you liked this post after being against people that uses light mode, LOL!

It is not working for me. Is this model broken?