Hey,
Imma start by explaing what i’m trying to do.
I have 2 parts. One is the “Guide” part that has the position the second part has to go to.
When a player clicks a button the second part cframe should become the Guide cframe without changing only one value, the position,Y value.
Pratically after the button click i should change the second part cframe to the first part one, but the position.y value should be the second part one, this value shouldn’t change.
I have a script i’m trying to use for this, but it doesn’t work
local Posizione = Tycoon.Posizione.CFrame
Posizione = CFrame.new(Vector3.new(Posizione.X,Punto.Touch.CFrame.Y,Posizione.Z),Posizione.Rotation)
Punto:SetPrimaryPartCFrame(Posizione)
Thank you all!