Making a reload button in guns for mobile player

Hello. I’m making a shooting game using guns. However that when I making reload buttons for mobile players. It didnt work.

So here is my gun:
https://www.roblox.com/library/5500173370/Assualt-Rifle-for-devforum

Basically it works(can shoot but cant reload) but after adding things on Line 76, 108-116 it still work but the mobile button doesnt work. Can anybody teach me how to fix it?

Also this is my Gun Server which put in the ServerScriptService:
https://www.roblox.com/library/5460768054/GunServer

Thank you very much!

1 Like

use ContextActionService my friend. bit complicated

Oh hello I have used ContextActionService. I added but the button didnt work

Sorry if i didnt had that much time too but. but here.

Thank you very much,if i have problem i will PM you in roblox home page
Thanks my friend

1 Like