[HELP] Weapon Store

I took this script from essential mode and modified it so it does not require a database and the weapons for the person are free. My only problem is that I have the blip spawn for the ammunation, I have the circle appear, and the menu open. I can even go through the different categories. My only problem is that when I go to click and spawn the weapon. It does not spawn. What am I missing so I can spawn the weapon? Could someone please help me? Attached are both files I use for in server.

__resource.lua (55 Bytes)
weashop.lua (19.0 KB)

I found this in your weashop.lua file:
TriggerServerEvent('CheckMoneyForWea',button.model,button.costs)
as well as
TriggerServerEvent("weaponshop:playerSpawned", spawn)
You have no server file.

moved to: #development:scripts