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

How can i take orientation from humanoidrootpart and give it object? Can i move obejct to his XYZ?

Asked by
Kitoeen -9
6 years ago
Edited 6 years ago

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

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. lukeb50 631 — 6y
0
next question do you read the wiki or is this free models hiimgoodpack 2009 — 6y

Answer this question