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

Why can't I assign the Bodyposition.position.X to a parts Position.X?

Asked by 9 years ago

Why can't I assign the Bodyposition.position.X to a parts Position.X?

1 answer

Log in to vote
0
Answered by 9 years ago

You can use X Y Z for BodyPositon, example below. VVVVVV

local Client = game.Players:GetMouse().Target.Position

local Pos = Instance.new("BodyPosition",Part)

Pos.position = Vector3.new(Client.X,Client.Y,Client.Z)  
Ad

Answer this question