Basically the title. You have to set humanoid states on the client. But, NPCs don’t have a client. Can you set states for NPC humanoids?
How would one do this?
I’m sure it has something to do with remote events. But I need explanations!
Basically the title. You have to set humanoid states on the client. But, NPCs don’t have a client. Can you set states for NPC humanoids?
How would one do this?
I’m sure it has something to do with remote events. But I need explanations!
You don’t need to set states on the client, you can do it on the server, only the example uses a localscript.
The client is per player. So what happens on my client other people wont see.
This is why you use the Server instead.
If you need the player to tell the server when to do it than a means of communication such as remote events or using values and detecting changes would come into play.
It says only certain states can. But I tried it and it worked with the state I used. So thanks!