Sensei's Gun Kit

Fantastic gun kit!
https://gyazo.com/cab1400735aa14e608cf0788f860520e

3 Likes

Genuinely good gun kit i’m not gonna lie

I’ve seldom seen a gun kit that is actually made to be more simple and understandable, and same kinda applies with the code

5 Likes

Is it able to do scope kinda thing?

1 Like

Well… not really…
It can only ‘Zoom’ in and out. Not any scope stuff yet

1 Like

Update

  • (Hopefully) fixed the bug where the crosshair would become offsetted by a bit
  • Patched up some unnecessary code
  • Added 4 new config options; RicochetTags, DamageMultipliers, VerticalRecoil and HorizontalRecoil
    ^ RicochetTags determines what parts (and/or their parents) with a certain tags should be designated to deflect gunshots
    ^ DamageMultipliers is well… self explanatory. You can decide the whitelisted part names should multiply damage, and by how much
    ^ The recoil stuffs are self explanatory.
2 Likes

Update

  • Added FirstPersonArms configuration
  • Added a model link inside the “READ ME” if you want some cool gun meshes
1 Like

I don’t know how does ricochet work, I just don’t understand what are you saying.

1 Like

This may or may not need a plugin to help. I recommend you download a tag editor plugin.
Inside the config table, type in a name of the tag that you’ll attach onto stuff. For example, I want a part with the “Reflect” tag, so I’d type in:

["RicochetTags"] = {
 "Reflect"
},

Then, use the plugin to assign a part with that tag.
Also, make sure you're using the updated version because the older ones I forgot to patch a bug where richochets didn't happen
1 Like

Thanks, It would be nice if ricochet system is simple, but it’s fine, also add hitfx for different materials and multiple sounds for one hitfx. like ricochet. really cool system for new players into roblox studio to use.

2 Likes

So there’s a problem with the gun, if it has no rigging it simply falls through the floor out of your hands, but if you enable this it wont fall off
image
I’m suggesting that if the gun has no rigging then this should enable itself

Woops

Alright I’ll look into that. thanks for letting me know

Great gun kit!
Works fantastic imo.
One problem I have though is that the Ammo seems to be client sided…
Like exploiters could just give themseves infinite ammunition without reloading
Also it seems like they could give themselves super fire rate as well

Wrong wrong wrong

If the creator is moving the bullet in both server and client, he should be fine

He’s only doing the good way to replicate bullets so it can be smoooth

I’m not too sure what you mean, but I’m guessing as long as the bullet is replicated between server and client for smooth gameplay its fine?

No, when the server tells the client to tween this object and server will do it at the same time, it will be still safe because even if the exploiter removes localscript to stop the bullet from moving, it will still be moved by the server and all what the exploiter will get is not smooth bullets.

1 Like

Really good for beginners but there’s something missing and some flaw about this kit

Compared to FE Gun kit Viewmodel (which I’m using)

  • it has no Muzzle Effect from my perspective, in FE Gun kit they emit as the gun fires
  • Instead of storing sound in the Handle, you put it in Config script but there’s Sound object called “Fire” which got me confused at first (I thought of changing fire sound but realized they’re in setting)
  • Sniper zooming isn’t here
  • Not sure if there’s a hit effect but no results were found

also i kinda want this feature while shooting, Crosshair expands as long as you’re holding LMB1 Mouse with 2 types

Default Crosshair

Basically as Arsenal (game) it contains 4 line with 1 dot

Single Crosshair

Dynamic Single Crosshair as it expands while holding left mouse, This is how it works if you don’t know.
Grand Theft Auto IV & EFLC | All Weapons - YouTube

(at 1:41)

Overall I’d give it 8/10 as i might use it in the future as i consider this kit to be compatible with Low end PC but only if there’s enough features.

3 Likes

It wasn’t meant to have those features because he said that

FE Gun kit is very cool yes but I believe this has way more opportunity, for an example:

  • Muzzle Flash (Honestly super easy to implement into the local script and yeah this is local but its better for said thing to be local in large scale games like mine where I expect to have around 50 people shooting at a given time)
local function fire()
	if performChecksForFiring() == nil then return end
	
	cameraRecoil:shove(Vector3.new(config.VerticalRecoil, config.HorizontalRecoil, 0))
	
	local MuzzleAttach = Instance.new("Attachment", script.Parent.Handle)
	MuzzleAttach.Position = config.MuzzlePoint.Position
	
	local Flash = config.MuzzleFlash:Clone()
	Flash.Parent = MuzzleAttach
	Flash.Enabled = false
	Flash:Emit(config.FlashAmount)

	game.Debris:AddItem(MuzzleAttach, config.FlashLength)
	
	local origin = firingPoint.WorldPosition
	local direction = (mouse.Hit.p - origin)

A lot of things are extremely easy to implement with some form of basic luau knowledge.

1 Like

I just looked into the script and it looks like exploiters can in fact modify the fire rate and ammo capacity. I think you may have misinterpreted what he said.

1 Like

Hey! Nice gun kit, but i’ve noticed a problem (i’d doubt it is for everyone).
My FPS is dropping from standard 60 to 10 when i go into first person.
Is there a way to fix that?