Material stuff with weapons

Ok so ik about

SWEP.ViewModel
SWEP.WorldModel

is there a way so i can change the texture to like a tool gun material ?

You could change the texture in a Pre/PostDrawViewModel hook by using ENT:SetMaterial.

i was going to do that but wasnt sure lol thanks mate!

I believe that the material of the entity must be set every frame; i.e. in the SWEP:Think hook.
The server has to run self:SetMaterial( mat ) then the client has to run LocalPlayer():GetViewModel():SetMaterial( mat ), the same SetMaterial function as before.

If you want a good example take a look at how darkrp does it. https://github.com/FPtje/DarkRP/blob/master/entities/weapons/unarrest_stick/shared.lua

oh wow im dumb forgot about that thanks TheEmp!