I wanted to ask how i can have weapon pick up when i go over the weapon, whenever i try he does go over the weapon but when i press the equip button nothing happens
Normally you’d want to destroy the weapon instance when your PC (or cursor, or whatever you’re using) collides with the weapon, then stick a variable representing the weapon data… well, wherever you need it. It depends on so many things (one possible weapon, or many? FPS? RPG? something else?) that without giving more information (or trying it yourself and posting a code snippet), that’s about as specific of an answer as you’re going to get.