How to change brick shape in script?

[BHSC] v0id1sm
Joined 07/10/2019
Posts 4,517
09:17 PM 27/06/2020
Working on a skatepark and because I'm too bored to figure out how to access the ramps via scripts and I need to make a ramp/slope brick for my skateboard model, can anyone tell me how to change the shape of a brick in a .js script?

I tried to do brick.Shape = "slope" because it is listed as a slope shape in brk files but that didn't work. Any help?