Add an input to RPC_DeathScreenDelay of type Deathscreen and then when you are iterating the loop and calling it pass in the item from the loop.
The use the passed input as the target for the set visibility
You can’t just cross the variable between client and server like that.
Edit : forgot to pass it again in the lower left corner