You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I want to make a follow script for my NPC
-
What is the issue? I don’t know, I worked but after some test it no longer work.
-The code is something like
target = nil
while wait() do
if target then
--code
end
end
i placed 2 breakpoints at while and if target then. But it just stopped to break at while, if target, and while again over time. It doesn’t run the code inside if. The strangest thing is there was no error in the output
-
What solutions have you tried so far? I look up, research a lot on internet, I checked the script
this is all the script
and this is the explorer

please helppppp! I am stuck here about 4 days
