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 110 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 3.0.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 357 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 the Glock 17 compares

From the first body hit to the last it takes 375 ms to drop a player, 9 of 16 among the pistols. A round takes about 267 ms to cross 100 meters, so at long range you lead moving targets a little. The SIG P320 is the closest alternative: it kills slower and shoots faster bullets. The TEC-9 is also close: it kills faster, holds more rounds (32) and shoots slower bullets.

Glock 17Pistols averageRank
Body shot time to kill375 ms354 ms9 of 16
Body damage per second22422811 of 16
Fire rate480 RPM357 RPM2 of 16
Magazine17123 of 16
Bullet speed375 m/s386 m/s10 of 16
Weight0.75 kg1.1 kg1 of 16
Aim time0.16 s0.2 s1 of 16

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 16 pistols in XSF 3.0.0.

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 110 weapons