I’ve been trying to find a solution to this for about an hour, but none of the posts I’ve found about this are really useful. Basically I’m cloning accessories from a player to a larger NPC, but when it clones into it, the accessories stay the same size they were originally on the player (way too small). How would I be able to fix this?
You’ll need to apply a scale. Get how much bigger the NPC is compared to the player and apply it to the Handle. You can use the HumanoidRootPart or Head, as long as they are the same proportions.
Scale = NPC.HumanoidRootPart.Size / PlayerCharacter.HumanoidRootPart.Size --Gives a Vector3 scale.
AccessoryHandle.Size = AccessoryHandle.Size * Scale --Multiplies both Vector3s
2 Likes
https://developer.roblox.com/en-us/api-reference/function/Humanoid/AddAccessory
Have you looked into using this API method as opposed to cloning? It dynamically rescales the accessory according to the humanoid’s rig.