Advertisement
IHATEMICROWAVEOVEN

mystea

Apr 21st, 2022
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. CHANGES TO ServerScriptService.Stats.StarterData
  2. Paste at the end of the latest stat value:
  3. -- start
  4. ,
  5. ["LastFoe"] = {
  6. ["Permanent"] = false;
  7. ["DefaultValue"] = "Skit_y";
  8. ["Special"] = nil
  9. }
  10. -- end
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. CHANGES TO DamageService
  19. Paste where the original change was (replacing the original essentially)
  20. -- start
  21. STATS.SetStat(Target, "LastFoe", Handler)
  22. -- end
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. CHANGES TO LocalScript
  32. Do Ctrl F and search for "Humanoid.Died". At the top of that, paste the following.
  33. -- start
  34. local last = game.Players:FindFirstChild(Stats.GetStat(game.Players.LocalPlayer, "LastFoe"))
  35. if last then Stats.SetStat(last, "Rep", Stats.GetStat(last, "Rep") + 50)
  36. -- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement