AddCSLuaFile("shared.lua") include("shared.lua") ENT.MODEL = "models/ipha/mushroom_small.mdl" ENT.MASS = 55; ENT.LASTINGEFFECT = 60; --how long the high lasts in seconds --called when you use it (after it sets the high visual values and removes itself already) function ENT:High(activator,caller) self:Say(activator, "what") end function ENT:SpawnFunction( ply, tr ) if ( !tr.Hit ) then return end local SpawnPos = tr.HitPos + tr.HitNormal * 16 local ent = ents.Create( self.Classname ) ent:SetPos( SpawnPos ) ent:Spawn() ent:Activate() return ent end