'<eof>' expected near 'end' SWEP Problem

So I’ve been trying to make a swep, but Garry’s Mod keeps throwing errors at me.
Here’s the code:

if (SERVER) then
	AddCSLuaFile("shared.lua")
	SWEP.HoldType = "pistol"

 end

if ( CLIENT ) then

    SWEP.PrintName      = "My Gun"
    SWEP.Author         = "Kyle"
	SWEP.Contact        = "Dun Call Me"
    SWEP.Slot           = 3
	SWEP.SlotPos        = 2
	SWEP.IconLetter	    = "b"
	SWEP.Instructions 	= "BOOM FACESHOT"
	SWEP.Purpose 		= "To Kill";

	killicon.AddFont( "weapon_ironsight_pistol", "HL2KillIcons", 	SWEP.IconLetter, Color( 255, 80, 0, 255 ) )
	end

SWEP.AdminSpawnable = true
SWEP.Spawnable = false

SWEP.ViewModel 			= "models/weapons/v_pist_deagle.mdl"
SWEP.WorldMode  		= "models/weapons/w_pist_deagle.mdl"
SWEP.ViewModelFlip           	= true
SWEP.DrawCrosshair		= true

SWEP.Weight 		= 3
SWEP.AutoSwitchTo 		= false
SWEP.AutoSwitchFrom 	= false

SWEP.FiresUnderwater = true
SWEP.Category = "My Stuff"
SWEP.DrawAmmo = true
SWEP.ReloadSound = Sound("Weapon_Deagle.Single")

SWEP.Primary.Sound = Sound( "Weapon_Deagle.Single" )
SWEP.Primary.Damage = 10000
SWEP.Primary.TakeAmmo = 1
SWEP.Primary.ClipSize = 1000
SWEP.Primary.Ammo = "357"
SWEP.Primary.DefaultClip = 1000
SWEP.Primary.Spread = 0
SWEP.Primary.NumbShots = 1
SWEP.Primary.Automatic = true
SWEP.Primary.Recoil		= 0.0
SWEP.Primary.RecoilXRand	= 0.0
SWEP.Primary.RecoilYRand	= 0.0
SWEP.Primary.Delay = 0.1
SWEP.Primary.Force = 100000

SWEP.ForceApply			= 10
SWEP.TracerFreq			= 1

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo		= "none"

SWEP.IronSightsPos 		= Vector( 5.15, -2, 2.6 )
SWEP.IronSightsAng 		= Vector( 0, 0, 0 )
end

I know it probably has something to do with the number or placement of the ends (There’s probably a million other things wrong with it too), but I can’t figure it out!
Thanks in advance.

Get rid of that random end at the very end of the code., on line 63.

That worked perfect! Thank you!

Hehe this was funny… i saw that and started counting ends… and was like … hmmm now either loads is missing or thats just a little bit silly :stuck_out_tongue: Glad you got it sorted.