Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (SERVER) then
- SWEP.Weight = 5
- SWEP.AutoSwitchTo = false
- SWEP.AutoSwitchFrom = false
- end
- if ( CLIENT ) then
- SWEP.WeaponSelectIconLetter = "B"
- SWEP.DrawAmmo = false
- SWEP.DrawCrosshair = false
- SWEP.DrawWeaponInfoBox = true
- SWEP.BounceWeaponIcon = false
- SWEP.SwayScale = 1.0
- SWEP.BobScale = 1.0
- SWEP.WepSelectIcon = surface.GetTextureID( "weapons/swep" )
- SWEP.ViewModelFOV = 75
- SWEP.ViewModelFlip = false
- SWEP.CSMuzzleFlashes = false
- end
- SWEP.Category = "Moxew"
- SWEP.Author = "Your dad lesbian"
- SWEP.Contact = "meme@sweden.gov"
- SWEP.Purpose = ""
- SWEP.Instructions = "Keep clicking"
- SWEP.Spawnable = true
- SWEP.AdminSpawnable = false
- SWEP.ShakeWeaponSelectIcon = false
- SWEP.InfiniteAmmo = true
- SWEP.UseScope = false
- SWEP.WeaponDeploySpeed = 1
- SWEP.Primary.WeaponDrawSound = ""
- SWEP.Primary.CustomReloadSound = ""
- SWEP.Primary.Sound = "Weapon_AK47.Single"
- SWEP.Primary.NumShots = 1
- SWEP.Primary.ClipSize = -1
- SWEP.Primary.DefaultClip = -1
- SWEP.Primary.Automatic = false
- SWEP.Primary.Ammo = "none"
- SWEP.Secondary.ClipSize = -1
- SWEP.Secondary.DefaultClip = -1
- SWEP.Secondary.Automatic = false
- SWEP.Secondary.Ammo = "none"
- local shittable = {}
- shittable[1] = {"SERVER",function() self.Owner:Kill() end}
- shittable[2] = {"SERVER",function() self.Owner:SetGravity(0.1) end}
- shittable[3] = {"CLIENT",function() self.Owner:ChatPrint("penis") end}
- shittable[4] = {"SERVER",function() self.Owner:SetPos(self.Owner:GetEyeTraceNoCursor().HitPos)end}
- shittable[5] = {"SERVER",function() self.Owner:Spawn()end}
- shittable[6] = {"SERVER",function() self.Owner:Give("weapon_rpg")end}
- shittable[7] = {"SERVER",function() self.Owner:StripWeapons()end}
- shittable[8] = {"CLIENT",function() self.Owner:EmitSound("npc/zombie/zombie_pain4.wav")end}
- function PickAFuncAnyFunc()
- local thatnumber = math.random(1,9)
- return shittable[thatnumber]
- end
- function SWEP:Deploy()
- self.Weapon:EmitSound( Sound( self.Primary.WeaponDrawSound ) )
- return true
- end
- function SWEP:Initialize()
- if ( SERVER ) then
- --self:SetWeaponHoldType( self.HoldType )
- self:SetNPCMinBurst( 30 )
- self:SetNPCMaxBurst( 30 )
- self:SetNPCFireRate( 0.01 )
- end
- self.Weapon:SetDeploySpeed( self.WeaponDeploySpeed )
- end
- function SWEP:Think()
- end
- function SWEP:PrimaryAttack()
- self.Weapon:SetNextSecondaryFire( CurTime() + self.Primary.Delay )
- self.Weapon:SetNextPrimaryFire( CurTime() + self.Primary.Delay )
- if ( !self:CanPrimaryAttack() ) then return end
- self.Weapon:EmitSound( Sound( self.Primary.Sound ) )
- if ( (SinglePlayer() && SERVER) || CLIENT ) then
- self.Weapon:SetNetworkedFloat( "LastShootTime", CurTime() )
- end
- self.Owner:ChatPrint("DOING A RANDOM FUNCTION 1-8")
- local funcchoice = PickAFuncAnyFunc()
- if(funcchoice[1] == "CLIENT") then
- if ( CLIENT ) then
- funcchoice[2]
- end
- else
- if ( SERVER ) then
- funcchoice[2]
- end
- end
- end
- function SWEP:SecondaryAttack()
- self.Player:ChatPrint("This does not do anything")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement