This was my try. I honestly don't know what I'm doing here.
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
addhook("kill","noBotScoreFarm") function noBotScoreFarm(killer,victim,weapon,x,y,killoid,assistant) 	local scoreSet = player(id,"score") - 1 	if player(id,"bot") == true then 	parse("setscore "..id.." "..scoreSet.." ") 	msg("works") 	end end
I feel like I need to call the 'victim' parameter but don't know how to detect if its a bot or not.