Moving attachment .2 blocks down?

okay so i want to make an attachment on my rightHand .2 blocks down the y axis (so im pretty sure -.2 right?) How would i achieve that? im not much familiar with CFrames so yeah…
Thanks!!

local players = game:GetService("Players")

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local rightHand = character:WaitForChild("RightHand")
		local attach = Instance.new("Attachment", rightHand)
		attach.Name = "Attachment"
		attach.Orientation = rightHand.Orientation
		attach.Position = rightHand.Position - Vector3.new(0, 2, 0)
	end)
end)
1 Like

i put a print to the end of your script and it prints but the attachment is not there?
It should work but its not…?

Instance.new(“Attachment”) probably doesn’t work (since it has to be parented to a part), do you have an attachment that I can move from one part to another?

1 Like
local players = game:GetService("Players")

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local rightHand = character:WaitForChild("RightArm")
		local attach = Instance.new("Attachment", rightHand)
		attach.Name = "Attachment"
		attach.Orientation = rightHand.Orientation
		attach.Position = rightHand.Position - Vector3.new(0, 2, 0)
	end)
end)

Try this with R6.

1 Like

Ignore this post, snipping it.

1 Like


its in the air?
(also its “Right Arm” idk why it has a space)

local players = game:GetService("Players")

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local rightArm = character:WaitForChild("Right Arm")
		local attach = Instance.new("Attachment", rightArm)
		attach.Name = "Attachment"
		attach.Orientation = rightArm.Orientation
		attach.Position = rightArm.Position - Vector3.new(0, 2, 0)
	end)
end)

its in the air still?
image
It also follows the character (which im pretty sure what attachments do just saying just in case its supposed to not)

Edit; I did some testing and i changed this

attach.Position = rightArm.Position

and its still in the air.
image

Oh, you changed the part name, I was just posting with the part name change.
You might need to add 2 in the Y-axis since the arms points downwards.

attach.Position = rightArm.Position + Vector3.new(0, 2, 0)

1 Like

Same result as this sadly ::frowning:

Edit: How about just duplicating “RightGripAttachment” which is already in the hand and just moving it, since i want the attachments to be like this:
image

Edit 2: i tried it and apperently when you try to move an attachment it just goes in the air.

Try playing around with the Vector3 value offset, see if you get any better results with different values.

1 Like

Is there any more ways to make the attachments like that without moving it?
Since while testing i figured that when i move the attachment it goes in the air, but if i remove orientation it does not.

I did a a bit of research and found this post:

I can just make an invisible part and do that.
Thanks for helping me though, i did learn some stuff about positions and vector3 from just testing your code so i want to thank you!!!