How do I get a bricks X and Y coordinates separately? I'm using..
1 | local xPosition = math.random(- 2 , 2 ) |
2 | local yPosition = math.random(- 1 , 3 ) |
3 |
4 | p.CFrame = CFrame.new(handleX + xPosition,handleY + yPosition, 1 ) |
"Handle" is basically the players torso.
(Let handleX represent x coordinate for torso) (Let handleY represent y coordinate for torso)
I'm adding a random number to said torso to get a coordinate.
I'm not sure how but can you get a bricks independent x/y coordinate?