How can i reload without a button?

I use this technic.
first, select your “remain bullet” variable, and in “Details” set “Replication” to “RepNotify”.

now a function created go to it.

335137-r2.jpg

now check if your bullet equals 0 so reload the gun automatically.