Sorry, for not clarifying.
In the tutorial it says to put the motor6D inside in HumanoidRootPart, but for your purposes, put it into the arm that is holding the tool. Adjust your code and animations accordingly
So you mean I need to set the motor6d part1 to the arms?
thanks you so much dude, one question how you make this camera shaking?
the same happens to me
Did you manage to solve it?
Why doesn’t my tool move into my hand, The animation does work and I’ve already set the priorities
Could you show a video displaying this issue?
It is now fixed, I’ve reuploaded the animation and now it works flawlessly
Alrighty then! Just incase you ever see any issues with the animation (certain parts of the weapon not moving, reduced movement, etc.), try setting the priority to Action2.
How would I play the animations?
Very good tutorial, well explained.
EDIT:
i managed to get the animation to play, but the arms have rotated down for some reason
EDIT (2):
Fixed it!
needed to put animation priority as idle
I tried using the Moon Animator with this, same thing.
I’m not sure, but I think it only works with the ROBLOX animation editor
I’m a bit confused on the scripting part. Could someone help me out?
(mostly where to put the scripts and what variables to make and where)
This doesn’t work for me on R15 rigs. Did all the steps but when I rotate the gun, it rotates the body attach part.
anyone know how to fix parts not moving? Ive got my idle anim set to idle and my reload set to action. ive tried action 1 2 3 4 but no luck. arms move but no parts will.
Did you check to make sure your animated parts are not welded?
It all works fine for until:
I got my equip animation done right then once it’s done running I wanna switch to an idle animation.
The issue is that the tool is moving to the origin position aka the position it was put in when I created the motor6d in the test dummy. It’s supposed to be somewhere else. I debugged it to see if it is not looping but it is… I’m lost
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character
if not character or not character.Parent then
character = player.CharacterAdded:Wait()
end
local humanoid = character:WaitForChild("Humanoid")
local Animator = humanoid:WaitForChild("Animator")
local Anim = Instance.new("Animation", humanoid)
Anim.AnimationId = "rbxassetid://10827727049"
local Anim2 = Instance.new("Animation", humanoid)
Anim2.AnimationId = "rbxassetid://10830372214"
local EquipAnim = Animator:LoadAnimation(Anim)
local ShoulderArmsAnim = Animator:LoadAnimation(Anim2)
script.Parent.Equipped:Connect(function()
game.ReplicatedStorage.ConnectM6D:FireServer(script.Parent.Musket.BodyAttach)
character.Torso.ToolGrip.Part0 = character.Torso
character.Torso.ToolGrip.Part1 = script.Parent.Musket.BodyAttach
EquipAnim:Play()
EquipAnim.Stopped:Wait()
ShoulderArmsAnim:Play()
ShoulderArmsAnim.Stopped:Wait()
print("Done")
end)
script.Parent.Unequipped:Connect(function()
game.ReplicatedStorage.DisconnectM6D:FireServer()
end)
ShoulderArmsAnim is the Idle animation, it’s looped and the priority is Action
Does this work on FPS (FirstPerson) Version?
yea i checked they werent welded
When i try to use this every thing works but my toll is deleted few seconds after i equip it
Kind of disappointing to me due to two reasons, 1. exploitable 2. useless. Like c’mon remote servers are not reliable to send data from server to client and yup you will need to do it once just for mouse tracking but welding part can be done on server and/with usage of modules.
This code is also like 3 years old…