of     1   

HailMontgomery
#182941927Wednesday, February 03, 2016 7:53 PM GMT

I am trying to make it so that when you touch a brick, you go to that brick's X position, but keep your Y and Z. It should be pretty simple, but I think I just don't understand adding CFrames and Vector3s together. Again, I want to keep my Y and Z Position, I just want to move to the Part's X position.
AviatorEU
#182942028Wednesday, February 03, 2016 7:55 PM GMT

local part = Instance.new("Part",game.Workspace) part.Touched:connect(function(x) x.Character.Torso.CFrame = CFrame.new(part.Position.X, x.Character.Torso.Position.Y, x.Character.Torso.Position.Z) end)
HailMontgomery
#182942348Wednesday, February 03, 2016 8:03 PM GMT

It's pretty simple when you write it like that. Thank you!
Happywalker
#182942443Wednesday, February 03, 2016 8:05 PM GMT

Until it breaks because toucher is not a player

    of     1