HI can anyone tell me how can i take orientation from part and give it another? actual script

kq.Union.CFrame = CFrame.Angles(0,localPlayer.Character.HumanoidRootPart.CFrame.Angles.X, 135)

next question can i move object to his XYZ if i use


 local localplayer = game.Players.LocalPlayer
for i = 1, 16 do
	localplayer.Character.HumanoidRootPart.CFrame = CFrame.new(localplayer.Character.HumanoidRootPart.CFrame.X,localplayer.Character.HumanoidRootPart.CFrame.Y,localplayer.Character.HumanoidRootPart.CFrame.Z + 5 )
	wait(0.01)	
	end

object moving to world XYZ

2 comments

0

A) Use a code block, not inline code from code. The inline is used for holding terms or paths inside a sentence, not full code. B) Call it XYZ, not ZXY as its confusing and not good practice.

0

next question do you read the wiki or is this free models