MP5 for Roblox Studio
MP5, 9mm. Light and quick, low kick, flutters on auto. The MP5 is one of 110 weapons that come free with XSF, a gun system and FPS framework for Roblox Studio.

Default values in XSF 3.0.0. Damage is out of 100 health.
How it plays
Against the default 100 health it takes 3 body shots and 1 head shot to drop a player. Bullets are real projectiles: they take time to arrive, drop over distance, lose speed and can go through thin walls and wood. The server re-simulates every shot.
How the MP5 compares
From the first body hit to the last it takes 150 ms to drop a player, 7 of 15 among the SMGs. A round takes about 250 ms to cross 100 meters, so at long range you lead moving targets a little. The SIG MPX is the closest alternative: it kills faster. The MP9 is also close: it kills faster, is lighter to swing and shoots faster bullets.
| MP5 | SMGs average | Rank | |
|---|---|---|---|
| Body shot time to kill | 150 ms | 168 ms | 7 of 15 |
| Body damage per second | 453 | 491 | 10 of 15 |
| Fire rate | 800 RPM | 848 RPM | 10 of 15 |
| Magazine | 30 | 36 | 7 of 15 |
| Bullet speed | 400 m/s | 430 m/s | 4 of 15 |
| Weight | 2.6 kg | 2.93 kg | 4 of 15 |
| Aim time | 0.24 s | 0.23 s | 9 of 15 |
Time to kill counts from the first hit at the default 100 health with every shot landing on the body, with no damage falloff. Ranks are among the 15 SMGs in XSF 3.0.0.
How to add the MP5 to your Roblox game
Install XSF first (about three minutes, see how to add guns to Roblox Studio). The MP5 is already in the download as ReplicatedStorage.XSF.Weapons.MP5. Then pick one of these:
Everyone spawns with it. Put it in Loadout in XSF.GameConfig:
Loadout = { "MP5", "G17", "M67" },
Give it from a script, for a shop, a class picker or a level reward:
local XSF = require(game.ServerScriptService.XSF.Server) XSF.Give(player, "MP5")
Drop it on the map as a pickup players grab with F:
XSF.SpawnPickup("MP5", workspace.LootSpot.CFrame)
Give it to an NPC: set an attribute named XSF_Weapon to "MP5" on any Humanoid model.
Want different numbers? Change damage, fire rate, ammo, bullet speed or recoil on the website dashboard without code, or in the gun's own Config in Studio.
Questions
Is the MP5 free to use in my Roblox game?
Yes. The MP5 comes with XSF, which is free, including in games that earn Robux. Download it from xsfshooter.com.
How do I add the MP5 to Roblox Studio?
Install XSF, then add "MP5" to Loadout in XSF.GameConfig, or call XSF.Give(player, "MP5") from a server script.
Does the MP5 work on mobile and console?
Yes. XSF supports PC, console (with aim assist and rumble) and phones with movable touch buttons, on R6 and R15.
Can I change the MP5 stats?
Yes. Every number on this page can be changed on the XSF website dashboard without code, or in the weapon Config in Studio.
XSF