I need someone help me , anyway if you kill someone in Your team you get in scores -1 But I'm I not want it I want if You kill someone in your team You will get in scores 1 please guys help me. I need it so much
Scripts
Kill team scores
Kill team scores
1

kill hook to detect the kill.
player to get the score of the player.
setscore to set a new score.
player team to compare teams) you should add +2 to the score because score -1 +2 = score +1.
DC: But I do not know how to do it because I'm new in this area. I came here to help me. Can you collect that in one Lua ? I mean full Lua
addhook("kill","_killer")
function _killer(killer,victim)
if player(killer,"team")==1 and player(victim,"team")==1 or player(killer,"team")==2 and player(victim,"team")==2 then
parse("setscore " .. killer .. " " .. player(killer,"score")+2)
end
end
1
