Super Duper Simple SWEP needed!


Just a quick SWEP needed.

It needs to have no model, and when somebody looks at you it looks like you are aiming an invisible pistol.

On left click, it needs to play a random sounds from a list of say, 7 different sounds.

The sound should only be heard from a certain distance.

That is all.

If anybody could help, it would be greatly appreciated <3

Thanks in advance :smile:

your welcome


SWEP.PrintName = “a swep with sounds (hooo no!!)”
SWEP.Slot = 3
SWEP.SlotPos = 7
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
SWEP.ViewModel = “”
SWEP.WorldModel = “”

SWEP.HoldType = “pistol”
SWEP.Weight = 1
SWEP.AutoSwitchTo = true
SWEP.AutoSwitchFrom = false
SWEP.Spawnable = true
SWEP.AdminSpawnable = true

SWEP.Author = “gravelhunter”
SWEP.Contact = “nope.avi”
SWEP.Purpose = “I have absolutely no clue but it makes noises :D”
SWEP.Instructions = “click to make some weired noises”

function SWEP:Initialize()

local AnnoyingAsHellSounds = {“vo/npc/female01/hi01.wav”,

function SWEP:PrimaryAttack()


function SWEP:SecondaryAttack()

if you want it in add-on format