Currently, I am making a tool that includes a tome (magic book) and when you equip, the tome is floating near you beside your right arm. However, I tried using the Equipped function for the tool and CFrame to change the position of where the tome is but it doesn’t work. When I try to use it, the tome is near your right arm but then teleports to the place where it originally was in Studio.
script:
local tome = script.Parent:WaitForChild("TomeModel")
tool.Equipped:Connect(function(mouse)
local character = tool.Parent
local player = game.Players:GetPlayerFromCharacter(character)
local CF = player.Character["Right Arm"].CFrame * CFrame.new(-0.576,0.351,-2) * CFrame.new(math.rad(-1.07), math.rad(-131.59), math.rad(-46.91))
tome:SetPrimaryPartCFrame(CF)
end)
picture of the tome model: https://gyazo.com/372b088864fac1d40268d65ab79f3009