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)
You could make your changes in a test server, and then keep your script changes.
Play solo Test Make Changes Double-Toggle the script's disabled property Test Repeat as needed Exit Play Solo Mode