Hello,
I want to set a part’s size using Vector3 but it turns into .05
Code:
local x = (math.min(e1.Position.X,e2.Position.X,e3.Position.X,e4.Position.X,e5.Position.X,e6.Position.X,e7.Position.X,e8.Position.X)-math.max(e1.Position.X,e2.Position.X,e3.Position.X,e4.Position.X,e5.Position.X,e6.Position.X,e7.Position.X,e8.Position.X))
local y = (math.min(e1.Position.Y,e2.Position.Y,e3.Position.Y,e4.Position.Y,e5.Position.Y,e6.Position.Y,e7.Position.Y,e8.Position.Y)-math.max(e1.Position.Y,e2.Position.Y,e3.Position.Y,e4.Position.Y,e5.Position.Y,e6.Position.Y,e7.Position.Y,e8.Position.Y))
local z = (math.min(e1.Position.Z,e2.Position.Z,e3.Position.Z,e4.Position.Z,e5.Position.Z,e6.Position.Z,e7.Position.Z,e8.Position.Z)-math.max(e1.Position.Z,e2.Position.Z,e3.Position.Z,e4.Position.Z,e5.Position.Z,e6.Position.Z,e7.Position.Z,e8.Position.Z))
print(x..","..y..","..z)
workspace.ars.Position=tag.Position
workspace.ars.Size=Vector3.new(tonumber(x),tonumber(y),tonumber(z))
print(workspace.ars.Size)
What it prints out:
- Br, iSyriux