Hello, I'm trying to get your program to work for my blood magic altar. At the moment I keep getting an error of "attempt to index a nil value (global 'sides'). I have already checked that the sides were set correctly and I made sure to have 1 of each slate in the chest. Can you help me. Thank you in advance for your time.
Never mind, I ended up only having to move the global variables up to the top to fix it.