Pointshop Weapon skin Item for TTT

Hey all,

I’ve been trying to make an item on the pointshop that will allow my players to pick up an AK47 and have it change to a different model on their screen and on other players screens (V and W models change) So, I did some research and tried to create the item using this code:

ITEM.Name = 'Tmp skinned Ak47'
ITEM.Price = 0
ITEM.Model = 'models/weapons/w_smg_tmp.mdl'
ITEM.WeaponClass = 'weapon_ttt_ak47'

function ITEM:OnEquip(ply, modifications)
	if ply:GetActiveWeapon():GetClass() == 'weapon_ttt_ak47' then

function ITEM:OnHolster(ply)
if ply:GetActiveWeapon():GetClass() == 'weapon_ttt_ak47' then

However, it’s not changing the world model and it’s making people on TTT stay in the alive team even after they die.

I would like some advice and tips to help make this script happen

Have the item set an NWVar when the player buys it, and change the NWVar when they’re dead. If the NWVar is 1 and the player is holding the weapon, set the weapon model/skin.

Also, not sure how to fix the dead/alive player issue you’re having, sorry man.

Mind if you type it out? I’m kinda new to scripting