I'm wanting to get the specific X/Y co-ordinate of the position of a part to use in an arithmetic operation, and when I attempt to use 'Position.X' or 'Position.Y', it simply says that either of those values cannot be used in arithmetic operations.
Alright.
Specific position values (.X, .Y, .Z) are read only. HOWEVER, you can use (.X/400). Don't try to write to read-only values. Bad things happen.
I don't see why not? If you're trying to set part.Position.X = 5
then that won't work.
local part = workspace.Part local function NewPos() local newPos = Vector3.new(part.Position.X + 5,part.Position.Y + 5,part.Position.Z + 5) part.Position = newPos end game.Players.PlayerAdded:Connect(function(Player) Player.Chatted:Connect(function(msg) NewPos() end) end)