Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Arms and guns not following the mouse?

Hello everyone, I've been using this tutorial and it was very helpful [Not advertising: https://devforum.roblox.com/t/how-to-animate-tool-parts-guns-knifes-etc/359484 ] , but, I couldn't find a solution where I make my arms and the gun/axe follow where my mouse is located.. Any suggestions will be useful! Thanks ! [Check out starting from 3 seconds, trying to make it like that]

https://cdn.discordapp.com/attachments/663118489531318338/665879628530974735/e.mp4

I can't paste a script here since I have none, if possible, tips will be useful. I tried welding but the axe/gun are using Motor6D.

1 answer

✓ Accepted answer

That's probably as good and clear-a-tutorial on this topic as you'll find. Maybe if you located exactly which part of it you're stuck on we can help you more, but as it is we can't really answer t his.

9 comments

0

Alright, I'll be more precise.

0

Okay so, the tutorial was very helpful. Everything was working as it is. But, I tried to make a script where, the arms face where the mouse hit in the 3D world. The arms are doing what told, but I don't know how to make the axe/gun face with the arms the mouse hit position, (Using cframe). Should I try welding? If yes will that beak the Motor6D ?

0

Yes, you'll need to weld the tool to the player. If you're going to be using animations (which you probably will), use a Motor6D. The tutorial goes through step-by-step how to set that up

0

Where exactly in the tutorial ? I can't see in the tutorial where it says I can make the arms and the gun face the mouse.. Sorry

0

And I'm not so good at the Motor6D, how to use it correct to make the arms and the gun face wherever cframe I want to?

0

See Part 7 of the tutorial

0

Oh no no, you didn't get it. I did that and it is working. but , when you go first person the arms keep looking forward and not look down when you look down for example, I can't make a script where it face down with a gun using motor6D.. if you can't understand add me on discord Mike.#2018 because I can't explain a lot of here..

0

Worked, ty.

0

This should be a comment

This discussion is preserved as it was. New answers, comments, and votes are closed.