[Lua] Titulos Kills Mar 25, 2023 10:48:43 GMT -3 Quote Select PostDeselect PostLink to PostMemberGive GiftBack to Top Post by EricksOliveira on Mar 25, 2023 10:48:43 GMT -3 local T = {{1, 15, 10}, -- Private/Scout{2, 16, 20}, -- Corporal/Grunt{3, 17, 50}, -- Sergeant{4, 18, 100}, -- Master/Senior Sergeant{5, 19, 150}, -- Sergeant Major/First Sergeant{6, 20, 200}, -- Knight/Stone Guard{7, 21, 250}, -- Knight-Lieutenant/Blood Guard{8, 22, 300}, -- Knight-Captain/Legionnaire{9, 23, 350}, -- Knight-Champion/Centurion{10, 24, 400}, -- Lieutenant Commander/Champion{11, 25, 1000}, -- Commander/Lieutenant General{12, 26, 1200}, -- Marshal/General{13, 27, 1400}, -- Field Marshal/Warlord{14, 28, 1600}, -- Grand Marshal/High Warlord{62, 62, 3000}; -- Warbringer}; function OnKilledTarget(event, plr, victim) for i = #T, 1, -1 do if (plr:GetLifetimeKills() >= T[3]) then if not plr:HasTitle(T[plr:GetTeam()+1]) then plr:SetKnownTitle(T[plr:GetTeam()+1]) end break; end endend RegisterPlayerEvent(6, OnKilledTarget)