XSF / Weapons / Glock 17

Glock 17 for Roblox Studio

Glock 17, 9x19. Light polymer frame, low bore axis, flat shooting and fast to recover. The Glock 17 is one of 59 weapons that come free with XSF, a gun system and FPS framework for Roblox Studio.

Glock 17 in XSF, a free Roblox FPS framework
Fire modesSemi
Fire rate480 RPM
Magazine17 + 68
Head damage80
Body damage28
Limb damage19
Bullet speed375 m/s
Weight0.75 kg
Aim time0.16 s

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 pistols in XSF (the average is about 381 RPM). At 0.75 kg it is light for a pistol, 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 Glock 17 to your Roblox game

Install XSF first (about three minutes, see how to add guns to Roblox Studio). The Glock 17 is already in the download as ReplicatedStorage.XSF.Weapons.G17. Then pick one of these:

Everyone spawns with it. Put it in Loadout in XSF.GameConfig:

Loadout = { "G17", "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, "G17")

Drop it on the map as a pickup players grab with F:

XSF.SpawnPickup("G17", workspace.LootSpot.CFrame)

Give it to an NPC: set an attribute named XSF_Weapon to "G17" 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 Glock 17 free to use in my Roblox game?

Yes. The Glock 17 comes with XSF, which is free, including in games that earn Robux. Download it from xsfshooter.com.

How do I add the Glock 17 to Roblox Studio?

Install XSF, then add "G17" to Loadout in XSF.GameConfig, or call XSF.Give(player, "G17") from a server script.

Does the Glock 17 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 Glock 17 stats?

Yes. Every number on this page can be changed on the XSF website dashboard without code, or in the weapon Config in Studio.

Other pistols in XSF

See all 59 weapons