How to get only one position value from a part or another object?
Example code:
local part = game.Workspace.part local x = part.Position
In this case, I will get all of the position, but what if I need the x position specifically?
You add your axis at the end of a position.
Example:
local part = game.Workspace.part local x = part.Position.X
This will give us the axis X value of the position.