How Do I Make A Throwable Knife?

NOTE NOT LOOKING FOR A SCRIPT WANT TO KNOW THE BASICS

hello, I am wanting to make a knife that throws like in murder mystery 2. I have been trying to make make one for more than a week now and nothing works. I also look up for tutorials on google and nothing shows up on how to do it. On devforums though I did find one by mobyboyy and how theres wasent working. So I decied to work on that script myself but for some reason it wanted a vector 3 and it never worked. So today my question is on how to make it throw and if you can help me start off. Thanks

1 Like

So you should know exactly when a player activates/uses the tool, commonly with the Tool.Activated event which you connect a function with.

Here’s my suggestion, turn the knife part invisible then clone it and that clone is the knife you will throw. When you’re done, you can turn it back visible.

Then, there are a few ways you can attempt this after getting the knife object that you will throw.

  • Touched event
  • Raycasting (can be tricky on your own, you can use FastCast to make it easier)
  • Magnitude calculation (distance)

Up to you on how to do it.

2 Likes

Thanks. Im going to try what you said. and thanks again for help