#help please
12 messages · Page 1 of 1 (latest)
Then when it's in combat just give it some simple brain. either use a random input (like math.random(1,10), 6 and above is a heavy attack, 4 or less is light attack). Then make it block or whatever else your combat script has
It just comes down to having your combat script take the npc instructions, instead of a player input
so your combat is hopefully handled on server side. where it will take an input, spawn a hitbox and if it's a hit then deal damage. But instead of calling this function via an RE (activated via an user input), fire it for the npc
Or put them combat stuff for the npc in a while loop and then you can put a like task.wait(.6) between m1s
`while task.wait(.6)
end`
How do you not know what a while loop is ☠
How have you been scripting
Oh
Yeah I cant rlly help, my brain is fried from too much scripting
** You are now Level 7! **
Ok gl