I am trying to move a hat a bit lower down a players body but it does not work.
This is the script:
wait()
buff = game.ReplicatedStorage.buff:Clone() -- Wherever your hat is stored.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
buff.Parent = character
buff.Handle.CFrame = buff.Handle.CFrame + Vector3.new(0,5,0)
print(5)
end)
end)
It doesn't work and the hat stays in its original position. Please help! This is the hat I am using: https://www.roblox.com/catalog/62745127/Thug-Bandana

10 comments
damn i got none of that
so C0?
Yep they're combined to create the resulting C0 CFrame, altho that's maintained internally with WeldConstraints and cannot be assigned to.
This doesn't work: buff.AttachmentUp = Vector3.new(0,55,0) also, your picture does not work
This doesn't work: buff.AttachmentUp = Vector3.new(0,55,0) also, your picture does not work
Fixed the image URL. 'AttachmentUp' describes the Up unit vector component of the cframe, which describes rotation not position. As it's a unit vector, {0,55,0} is not valid and will be normalized to {0,1,0}.
how should it be? sorry im stupid
What you're looking for is the positional component of the CFrame, AttatchmentPos in this case.
oof
this does not work also: buff.AttachmentPos = Vector3.new(0,55,0)