#What's wrong with my script?

1 messages · Page 1 of 1 (latest)

outer knoll
#

Trying to change my CFrame to the player's CFrame, position works well but the orientation is never lined up with the character.

#

-- Welding to chest
local CHROT = Character.Torso.Position
ArmorChest:pivotTo(Character.Torso.CFrame)
ArmorChest.CFrame = CFrame.new(Character.Torso.Position) * CFrame.Angles(math.rad(Character.Torso.Orientation.X), math.rad(Character.Torso.Orientation.Y), math.rad(Character.Torso.Orientation.Z))
local ChestWeld = Instance.new("WeldConstraint")
ChestWeld.Parent = Character.Torso
ChestWeld.Part0 = Character.Torso
ChestWeld.Part1 = ArmorChest
ChestWeld.Name = "ChestWeld"
-- Welding to Chest

outer knoll
#

anyone?

azure isle
#

why are you setting cframe twice