Why am I getting this Lua error?

http://pastebin.com/rTjwATNE

The error is below.

[ERROR] addons/the flash swep 1.6/lua/weapons/weapon_velocity9.lua:119: Tried to use a NULL entity!

  1. __index - [C]:-1
  2. unknown - addons/the flash swep 1.6/lua/weapons/weapon_velocity9.lua:119

Timer Failed! [Simple][@addons/the flash swep 1.6/lua/weapons/weapon_velocity9.lua (line 117)]

From what I see, self.Owner isn’t valid

At the top of the timer add an


if not IsValid( self.Owner ) then return end

that did not work

[editline]24th March 2016[/editline]

its giving me the same error

Are you sure you’re putting it in the timer?

fixed it with help from the author of gbomgs 5 :slight_smile: