How to get a variable out of a Remote Event?

It can’t be used out of function #30jfsjglmggsgasv, you’ll have to fire the event each time u want to use the plr parameter