I’m trying to write a verse code that will activate the prop and barrier device when the player teleports, but I get the following
Error Code:move_floor.verse(34,46, 34,55) : Script error 3509: This function parameter expects a value of type agent->void, but this argument is an incompatible value of type type{_():void}.
Error code:move_floor.verse(30,46, 30,55) : Script error 3509: This function parameter expects a value of type agent->void, but this argument is an incompatible value of type type{_(:agent):void}.
Here you go, the issue was that your function was <suspends> which is not supported by the subscribe function, The change I did was convert Gamestert to a normal non suspends function that will then Call your <suspends> function which I renamed to GamestertSuspends
In my end this code does not have any verse errors and compiles let me know if this is not the case for you. <3