So I'm working on this project where I apply cframed welds to accomplish things such as welding a player's arms so that they grip the weapon, the problem is, i make changes, have to press play solo, and then make more changes. It is taking a lot of time, I was wondering if there was an easier way to do it, or even record the CFrame I want. I have a piece of example code below.
--This code is from inside the function called when the tool is equipped
--RArm is the localplayer's right arm
--Character is the localplayer's character in workspace
--HumRootPart is the HumanoidRootPart of Character
--Should I use CFrame.fromEulerAnglesXYZ or CFrame.Angles? Difference?
local RArmWeld = Instance.new("Weld")
RArmWeld.Parent = Character
RArmWeld.Part0 = RArm
RArmWeld.Part1 = HumRootPart
RArmWeld.C0 = CFrame.new(-0.75, -0.4, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)

3 comments
CFrame.Agnles is the same as CFrame.fromEulerAnglesXYZ, just shorter to type out. What you can do is hit play solo and edit the welds in the command bar.. then when you get what you like copy and paste it into the code. If that's what you're asking.
Thanks!
I did edit the welds but they did not change once in play solo mode...