You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to make it so that the npc’s (default Roblox rigs) are able to take knockback using linear velocity not using a server script as the server doing this somehow makes linear velocity jitter whereas using a client script would fix this
What is the issue? Include screenshots / videos if possible!
The problem is that rigs can’t use local scripts so they can’t use the .OnClientEvent I was planning to use so I am kind of stumped on what to do.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried looking at other posts in the developer hub but can’t find anything related to the problem I am having. I have found a way for it to work by using body velocity through a server script but I want to refrain from using deprecated methods.
You would either have to make the NPCs local, which to do so I will link a video, otherwise you can set the network ownership of the NPCs to nil which would make them controlled by the server, then you can apply the knockback on the server.
Just want to clarify what the video does on the local NPCs part of the video because it is kind of confusing to me.
You can use local scripts to control NPCs if the local script in ReplicatedFirst and the things that you change in this script changes for everyone and not just one person. Please correct me if I am wrong. Also how would I use :FireClient to this script since it isn’t a player.