Sorry to revive a thread but, when I tried the script, the game worked as if I didn't paste the script in. It played normally, I didn't get any "errors". It's just something weird I noticed. I might try copying the below code in the pastebin, to see if it works better.
Edit: Cleared, I just needed to put it in Materials.
Edit: Cleared, I just needed to put it in Materials.