help with lua model stuff

i downloaded the harmless companion cube and a custom companion cube cuz i dont have portal D: but how do you edit lua files to change entities models

hope you understand me

If you don’t own Portal, you wouldn’t really understand the dry humor with the SWEP.

Change the model path on line 124 of addons/harmless_companion_cube/lua/entities/harmless_companion_cube/init.lua

[lua]
– <3 companion cube
self:SetModel( “models/props/metal_box.mdl” )
self:SetSkin( 1 )
[/lua]

Be warned that if you use a model with a different collision box, some functions may not work correctly.

could you please download the cube http://www.garrysmod.org/downloads/?a=view&id=23673 and edit it for me please because i dont know how

he just told you.