I know I sound stupid but I don’t know how to have the gun named Ak-47.
https://gyazo.com/955b364add52cffe924e3e61f9fd37c9
1 Like
Because you have the symbol -. It will cause error unless you take it in square brackets.
game.ServerStorage["AK-47"]:Clone().Parent = player.Backpack
Also, it is not clone. Capitalize the first letter. And also valid for connect.
1 Like
Since it has a hyphen you will need to do
game.ServerStorage["Ak-47"]
1 Like
Thank you everyone if you know how to fix this problem as well
Is there any way of making these work because my friend made them but doesn't know how to script pls help me
Hyphens are no good in names, I would either do game.ServerStorage[“AK-47”] or rename the gun to AK47.