Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

A Welding Problem?

Asked by
xp3000 0
10 years ago

I keep trying to get this brick to weld into my arm, and it moves me to the center of the map. If I don't move from the center, then I don't get stuck with the arm in the ground. If I do move from it, it moves me back to the center and I'm stuck for the duration of the move. Can anyone help?



--variables used Player = script.Parent.Parent local me = game:service'Players'.LocalPlayer repeat wait() until me.Character PlayerGui = me.PlayerGui local char = me.Character char:WaitForChild("Body Colors") run = game:GetService("RunService") RightArm = me.Character["Right Arm"] -- excerpt from script x1 = Instance.new("Part") x1.Parent = RightArm x1.BrickColor = Colour x1.Material = Magy x1.Size = Vector3.new(math.random(2,3.5),math.random(2,3.5),math.random(2,3.5)) x1.Shape = "Ball" x1.Anchored = false x1.CanCollide = false x1.FormFactor = "Custom" ownerobj = Instance.new("ObjectValue") ownerobj.Parent = x1 ownerobj.Name = "TagObj" ownerobj.Value = me a = Instance.new("StringValue") a.Name = "Owner" a.Value = Player.Name a.Parent = x1 w1 = Instance.new("Weld") w1.Parent = x1 w1.Part0 = x1 w1.Part1 = RightArm w1.C0 = CFrame.new(0,-0.8,0) dmg1 = script.dmg:Clone() dmg1.Parent = x1 dmg1.Disabled = false
0
The 2nd weld, in case more information was necessary. 1 w2 = Instance.new("Weld") 2 w2.Parent = x2 3 w2.Part0 = x2 4 w2.Part1 = RightArm 5 w2.C0 = CFrame.new(0,0.5,0 xp3000 0 — 10y
0
Help??? xp3000 0 — 10y

Answer this question