-
What do you want I achieve?
To fix the issue with aligning paper in a players hand -
What is the issue?
robloxapp-20230918-2107131.wmv (2.1 MB) -
What solutions have i tried so far?
I have searched all over the DevForum but no luck, if im able to find a solution to this issue, anyone who stumbles across this post will have the solution they need.
-- Calculate the center position between both hands
local leftHandPos = plr.Character:WaitForChild("LeftHand").Position
local rightHandPos = plr.Character:WaitForChild("RightHand").Position
local centerPos = (leftHandPos + rightHandPos) / 2
-- Set the CFrame to the center position
Paper.CFrame = CFrame.new(centerPos)
-- Create a new WeldConstraint
local Weld = Instance.new("WeldConstraint", Paper)
Weld.Part0 = Paper
Weld.Part1 = plr.Character:WaitForChild("HumanoidRootPart")