To get your Roblox character a weapon, you'll first need enough Robux—the game's virtual currency. Once you've got the funds, head over to the catalog and browse the gear available for purchase.
Pick out a weapon you like, buy it with your Robux, and it'll be added to your inventory, ready to equip. From there, your character is all set to use it in-game.