✓ Accepted answer
So basically, you're not defining the positions before the script is started.
Also, you're not telling the script where the position of the part is.
There's a huge conflict within this, I believe you can fix it this way;
SaberM2PositionY = SaberM2.Position.Y
SaberM2PositionX = SaberM2.Position.X
SaberM2PositionZ = SaberM2.Position.Z
SaberM2PositionY = SaberM2.Position.Y
SaberM2PositionX = SaberM2.Position.X
SaberM2PositionZ = SaberM2.Position.Z
for i = 1, 9 do
Saber.SABERSNAME.Position.X = SaberM2PositionX
Saber.SABERSNAME.Position.Y = SaberM2PositionY
Saber.SABERSNAME.Position.Z = SaberM2PositionZ
Saber.SECONDSABERNAME.Position.X = SaberMPositionX
Saber.SECONDSABERNAME.Position.Y = SaberMPositionY
Saber.SECONDSABERNAME.Position.Z = SaberMPositionZ
wait()
end
end
end)
2 comments
P.S - I haven't added anything for the second brick/mesh yet.
You should just paste your code here instead of giving a screenshot of it... There's Lua code formatting so that it looks nice here, too.