Advertisement
Savaloy92

Untitled

Oct 6th, 2024 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. function changePetAttributes()
  2. local from = "Psychic Seal"
  3. local to = "Titanic Jolly Cat"
  4.  
  5. if Directory.Pets[from] and Directory.Pets[to] then
  6. for i, v in pairs(Directory.Pets[from]) do
  7. Directory.Pets[from][i] = nil
  8. end
  9.  
  10. for i, v in pairs(Directory.Pets[to]) do
  11. Directory.Pets[from][i] = v
  12. end
  13. end
  14. end
  15.  
  16. changePetAttributes()
  17.  
  18. function changePetAttributes()
  19. local from = "Cat"
  20. local to = "Titanic soul owl"
  21.  
  22. if Directory.Pets[from] and Directory.Pets[to] then
  23. for i, v in pairs(Directory.Pets[from]) do
  24. Directory.Pets[from][i] = nil
  25. end
  26.  
  27. for i, v in pairs(Directory.Pets[to]) do
  28. Directory.Pets[from][i] = v
  29. end
  30. end
  31. end
  32.  
  33. changePetAttributes()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement