How do i rotate my knife

how to rotate it this is my video, i want to make my knife rotate 90 i think

https://gyazo.com/e5da1842d7a5dba7b296ae1b46de2736

What script are you working with?

Possibly rotate the handle, as it looks the same when the player held it for a second

this is my script

local enemy = hitpart.Parent
				local ignorelist = {}
				if (table.find(ignorelist,enemy) == nil) then
					enemy.Humanoid:TakeDamage(0.5)
			--		enemy.Humanoid:LoadAnimation(hitanim):Play()
					enemy:WaitForChild("UsingMove").Value = true
					enemy.Humanoid.WalkSpeed = 3
					
					knife.CFrame = enemy.UpperTorso.CFrame * CFrame.new(0,0,-1)
					
					local weld = Instance.new("WeldConstraint")
					weld.Parent = enemy.UpperTorso
					weld.Part0 = knife
					weld.Part1 = enemy.UpperTorso
1 Like

you’re probably going to want to use the lookvector of the torso in a matrix

...
knife.CFrame = CFrame.fromMatrix(upperTorso.Position, -upperTorso.CFrame.UpVector, -upperTorso.CFrame.LookVector, upperTorso.CFrame.UpVector:Cross(-upperTorso.CFrame.LookVector).Unit) -- basically just rotates the knife to stick to the torso