I have blocks that replicate the behavior of slabs, stairs, walls, ect. The scripts I have for them work with current minecraft, but in preview with scripting 2.0, the scripts no longer work. I'm currently trying to fix the slabs and I'm stumped on what to fix. All I want is the slab to turn into full block when interacted with
Here's the slab script, I'm pretty sure it's the directionToVector3 function, but I'm not sure.