local skin = 1
function onps()
if getElementModel == 0 then
skin = 0
else
skin = 1
end
end
addEventHandler("onPlayerWasted", root, onps)
function onspn(source)
if skin == 0 then
setElementModel(source, 0)
else
end
end
addEventHandler("onPlayerWasted", root, onspn)
This is a Script that is suppose to keep the skin same as CJ if Cj skin was applied when the player died ( obviously u guys will know from the code) But its or some reason not functioning , and i am not a pro either so please help me with this