Mine was based and was an improved version of CMDR's but it's very old and there are way better ways of doing it now.
If there are better ways, someone should definitely make a tutorial on them. Even so, I tried yours again and it worked, so thanks a lot.