You should make it run on server by using a custom event. So create a custom event and then in the top right click Run On Server, you don’t need to make it reliable as its not gameplay essential.
There is more detailed info on Remote Procedure Calls here -