How to make z axis only go back?
So, I need help with this. I am making a wave, and I need the block to ONLY go backwards. With this code, the blocks expands frontwards and backwards. I need the block to only go backwards.
2 | lws = { x = LowWater.Size.x, y = LowWater.Size.y, z = LowWater.Size.z } |
3 | LowWater.Size = Vector 3. new(lws.x, lws.y, lws.z+ 5 ) |
Thanks, and also the brick isn't that relevant, I just want to know how to limit the z axis to just backwards. If you paste that code, nothing will happen, but to make something happen, put this, just if you were curious.
1 | LowWater = Instance.new( "Part" , workspace) |
4 | lws = { x = LowWater.Size.x, y = LowWater.Size.y, z = LowWater.Size.z } |
5 | LowWater.Size = Vector 3. new(lws.x, lws.y, lws.z+ 5 ) |