How do I mimick the movement from R6 to R15 for this tool?

I’m currently trying to mimick the animation style from R6 to R15. This runs off the basic sword script Roblox created many years ago.

I want to mimick this | link to youtube as gifs don’t want to load.

Script

local function performNormalAttack()
	
	if owner.Character:FindFirstChild("Humanoid",true) and owner.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
		warn(1)
		local anim = Instance.new("Animation"); local animator = owner.Character:FindFirstChild("Animator",true)
		anim.AnimationId = "rbxassetid://".."73977001082323"
		print(2)
		local animTrack = animator:LoadAnimation(anim)
		print(3)
		animTrack:Play()
		print("Completed Normal Attack")
		return

	end
	
	local anim = Instance.new("StringValue")
	attackDamage.base = attackDamage.normal
	anim.Name = "toolanim"
	anim.Value = "Slash"
	anim.Parent = tool
end

local function performStrongAttack()
	
	if owner.Character:FindFirstChild("Humanoid",true) and owner.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then

		local anim = Instance.new("Animation"); local animator = owner.Character:FindFirstChild("Animator",true)
		anim.AnimationId = "rbxassetid://".."80965507029818"
		
		local animTrack = animator:LoadAnimation(anim)

		animTrack:Play()
		print("Completed Strong Attack")
		
		task.wait(0.25)
		swordOut()
		task.wait(0.75)
		swordUp()
		attackDamage.base = 0
		
		return
		
	end
	
	
	local anim = Instance.new("StringValue")
	attackDamage.base = attackDamage.strong
	anim.Name = "toolanim"
	anim.Value = "Lunge"
	anim.Parent = tool
	
	task.wait(0.25)
	swordOut()
	task.wait(0.75)
	swordUp()
	attackDamage.base = 0
end
2 Likes

I don’t understand.
If you want to keep object relative to RootPart instead of hand that would require you to animate it in blender with some setup to essentially cancel torso movement.

1 Like

Yes, I’ve gone through and done this. I’m currently trying to mimick the base animations R6 has for movement to R15.. essentially making a, near, flawless recreation.

1 Like

Why not use that one Body Type by Synween? Converts the R15 body to R6 while keeping all the ligs.

1 Like

huh..? i have yet to see anything about this. Plus, I also want to make sure the tool doesn’t look weird when walking/running with the tool.

On marketplace just look up R6 Converter. It looks almost 1:1 of the Roblox R6, looks fine with tools too.

yeah, i can not find it sadly.. if you could link me it that would be fantastic.

I’ve created a solution, recreate the R6 Animations with the R15 Avatar.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.