-
What do you want to achieve?
For the Hat to be attached correctly
-
What is the issue?
Whenever the hat is attached to a non-character humanoid it attaches correctly, but when my script attaches it to a player’s character it’s messed up


-
What solutions have you tried so far?
The developer hub says it should work but it doesn’t seem to.
for i3, value3 in ipairs(Accessories) do
local Clone = value3:Clone()
if Clone:GetAttribute("AttachmentPoint") then
Clone.AttachmentPoint = Clone:GetAttribute("AttachmentPoint")
task.wait(0.1)
end
character.Humanoid:AddAccessory(Clone)
end
Let’s start with simple solutions;
- Make sure that the
AttachmentPoint
object exists and is correctly placed within the hierarchy of your model. The AttachmentPoint
should be a child of the part that you want to attach another object to.
- Make sure that the
AttachmentPoint
object is correctly configured. The Name
property of the AttachmentPoint
should match the name of the corresponding attachment in the model that you want to attach to it.
- Make sure that you are correctly referencing the
AttachmentPoint
object in your code. Make sure that you are using the correct object path to access the AttachmentPoint
, and that the AttachmentPoint
object is correctly parented to the part that you want to attach to it.
- Check for any errors that may be thrown when attempting to use the
AttachmentPoint
object. This could help identify any issues with the object or its configuration.
I don’t know if you actually know what AttachmentPoint is. It’s not a value/object I made, it’s an actual property of an Accessory object that fixes orientation/position.
Ah okay, sorry, I have no clue.
Issue still unsolved, can anyone help?