tool = script.Parent.Parent
tool.Activated:connect(function()
print(2)
paw = game.Lighting.MiniPaw:Clone()
paw.Parent = game.Workspace
paw.CFrame = tool.Parent["Right Arm"].CFrame
end)
CFrame is not a valid member of part?
2 answers
If paw is a model this will not work. You can however set the primaryPart of the model to a brick inside and using the
:SetPrimaryPartCFrame()
method, set the model's CFrame to whatever you would like it to be
workspace.MiniPaw:SetPrimaryPartCFrame(CFrame.new(tool.Parent["Right Arm"].CFrame.P))
In this case "Middle" is the part that is the same shape and size of the arm so you can position the rest of the parts based off of that. If you have any questions or this didn't answer your question feel free to message me and ask me more, or ask me what I meant. Hope this helps!
2 comments
You call :SetPrimaryPartCFrame() on the model, not the part like you did.
Sorry, I'm very tired. xD
Use a weld instead, CFraming it once will only temporarily make it look like its on the right arm but as soon as you move or turn it will not move in sync with your character.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Include the actual error in your question.