BEFORE COMMENTING, READ THE ENTIRE THING Hello, hi, I'm me. So, I have a custom character. I am not very good at rigging characters, so the item positions go to places where they shouldn't be. Adding the item into the players backpack does NOTHING. So what I tried doing, is adding an attachment into the HumanoidRootPart, so that when they click on the item, it goes to the place where the attachment is. It doesn't work. The item just disappears. I need feedback and/or a way to solve this glitch. Here is the code:
script.Parent.PromptButtonHoldEnded:Connect(function(player)
local Character = player.Character or player.CharacterAdded:Wait()
script.Parent.Parent.Parent.Position = Character.HumanoidRootPart.Attachment.Position
script.Parent.Parent.Parent.Parent = Character.HumanoidRootPart.Attachment
end)
For those wondering, the script is under a ProximityPrompt, under an attachment, under the item. I also did not parent the item under a tool, as it would be useless for what I am doing. The script does work, and the hammer does get parented under the HumanoidRootParts attachment, but the hammer is very far away from the character. Why is the attachments position not in it's actual position?!?!?
