What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I looked for solutions but none of them fits.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
The script above is placed in a server script. Triggered when someone shoots.
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
Bro. You can’t. If the part is anchored it will not move. Also, when I checked, it’s not the body velocity. It’s the mouse. And I’m trying to get the mouse using UserInputService (if possible) because I don’t think mouse.Hit should be used anymore.
Hmm are you using a custom equip system on the client? If so only that person will see the gun and others can only see the bullets because it is on the server.
Sorry for the previous replies, I have tested this script myself and couldn’t really find an issue with your original script, is this the entire script? However I suggest you set the network to the server instead of the player as the bullet will stop when the player deloads the bullet, it can also be abused by exploiters.
I did not find the mouse position I instead set the CFrame to a location which wouldn’t affect the script itself. However yes, that is what you use for the mouse position.
Can you explain with a little bit more detail? player:GetMouse().Hit.Position returns a Vectror3 value of where the mouse is pointing at the 3D Space. You can just do CFrame.new(MousePos) to get a CFrame, I see you were going for CFrame.new(MuzzlePos, MousePos) but that is probably causing the issue.