Hello, I have a nextbot npc, and I want to attach the “Community Sparkle” effect from TF2 onto it.
I have this code, but it doesn’t seem to work.
function ENT:Precache() util.PrecacheParticleSystem("community_sparkle") end function ENT:Initialize() self:SetHealth(self.health) self:SetModel( "My model Here" ); --PrecacheParticleSystem("community_sparkle") ParticleEffectAttach("community_sparkle",PATTACH_ABSORIGIN_FOLLOW,ENT,0) end
No lua errors, so there is nothing to refer to.
Would apprecaite any help :dance: