MP7 for Roblox Studio
HK MP7A2, 4.6x30. Tiny, fast and flat, the round punches through soft armor. The MP7 is one of 59 weapons that come free with XSF, a gun system and FPS framework for Roblox Studio.
Default values in XSF 2.3.0. Damage is out of 100 health.
How it plays
Against the default 100 health it takes 4 body shots and 2 head shots to drop a player. It fires faster than most SMGs in XSF (the average is about 797 RPM). At 1.9 kg it is light for a SMG, so it is quick to swing and settle. 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 to add the MP7 to your Roblox game
Install XSF first (about three minutes, see how to add guns to Roblox Studio). The MP7 is already in the download as ReplicatedStorage.XSF.Weapons.MP7. Then pick one of these:
Everyone spawns with it. Put it in Loadout in XSF.GameConfig:
Loadout = { "MP7", "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, "MP7")
Drop it on the map as a pickup players grab with F:
XSF.SpawnPickup("MP7", workspace.LootSpot.CFrame)
Give it to an NPC: set an attribute named XSF_Weapon to "MP7" 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 MP7 free to use in my Roblox game?
Yes. The MP7 comes with XSF, which is free, including in games that earn Robux. Download it from xsfshooter.com.
How do I add the MP7 to Roblox Studio?
Install XSF, then add "MP7" to Loadout in XSF.GameConfig, or call XSF.Give(player, "MP7") from a server script.
Does the MP7 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 MP7 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