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

Advanced CFraming

Asked by 10 years ago

Hello again, I am making a script that makes u go fast, but it also has a touched and i have the tables and everything. The thing is i want a really cool effect... i have one in mind, it would use something like position = Workspace.guig37.Torso.CFrame but how do i get only 1 value, like the z plane... i need to sort of drag the other characters.

0
Can you clear your question up a bit? It's hard to understand. If you only want the Z-Axis you would do Workspace.name.Torso.CFrame.Z User#3 0 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

If you want to use only the Z axis then you would write:

position = game.Workspace.guig37.Torso.CFrame.Z

Ad

Answer this question