Quote from: Crimson Wizard on Mon 11/08/2025 21:42:44Quote from: Grundislav on Mon 11/08/2025 21:40:03With regards to the above code, the line that causes the crash is Phonograph2 = aPalesteena.Play.
I am frankly confused, because earlier you said that the crash was caused by a blocking function called in rep_ex_always.
Right. As I mentioned I have rep_ex_always in my room script that checks if UpstairsRecord == true. If it is, the game Displays a message and since it's a blocking function, it crashes the game. This is just my stupid way of testing whether something is executing in the script: if it crashes, I know it does.
The .Play line I mentioned causes the crash because when it gets to that point in the script, UpstairsRecord gets set to true.
UPDATE: It seems the solution was to set the AudioChannels back to null once they finished playing in my room's rep_ex_always scripts.