Hello,
I was wondering if it is possible to pause a NPC movement, then restart a script again.
I have tried to change the walkspeed to 0 and later to the walkspeed again, but nothing happened. (The NPC was standing and nothing happened.)
Is there any way to pause a current script and make the NPC idle for a moment? -Thanks
You could have that script get cloned into the NPC, then when you want it to be idle you can delete it, once you dont want it to be idle you can clone it back.
There are multiple ways of going about this. You’ll have to share some of your applicable code before we can give specific solutions.
just disable the movement script when you want it to stop!
example:
local noob = workspace.Noob
local function doStuff(toStop)
if toStop then
noob.movement.Disabled = true
else
noob.movement.Disabled = false
end
end
doStuff(true)
task.wait(1)
doStuff(false)
1 Like
You can undisable the script in the same disabled script?
1 Like
no, you need to make a new script