Boss keeps dashing without cooldown

he still does the same thing in the video

also sorry for any spelling mistake my native language is not english

is that the whole code can you give me the context what’s before that code

maybe i need to change task.spawn

Here is the full code, its basically a pathfinding monster.

move

local cooldown = false

outside and before the attack function

1 Like

I did that and after his first dash, roblox studio freezed

try doing

while task.wait() do 

instead of

while true do

Thanks you it finally works !!!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.