Guest User

Untitled

a guest
Feb 24th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. if SERVER then
  2.     hook.Add("PlayerDeath", "ReviveANewTraitor", function(victim, inflictor, attacker)
  3.         if nomorerev then
  4.             if attacker:GetRole() == ROLE_TRAITOR and victim:GetTeam() ~= TEAM_TRAITOR then
  5.                 victim:Revive(5 , function(p)
  6.                     p:SetRole(ROLE_TRAITOR)
  7.                 end)
  8.             end
  9.         end
  10.     end)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment