Advertisement
Brainmaxei

Project Pokemon Spawner Script

Dec 10th, 2017
10,369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. -- [[ Variables ]] --
  2. -- If your pokemon has stages of evolution
  3. -- Put the highest stage of evolution in Local poke if that is the one you want
  4. -- I wanted Mew so I put mew in local and the rest below mew as well because thats its lowest stage of evolution
  5. -- if I wanted mewtwo I would change local to mewtwo and the rest of the code below is mew
  6.  
  7. -- local pc = game.Players.LocalPlayer.PC
  8. -- for i=1, 30 do
  9. -- game.ReplicatedStorage.REvents.Pokemon.iwillknowXd:InvokeServer(pokemon, pc, hiroto, true)
  10. -- end
  11.  
  12. local Pokemon = "Mew"
  13.  
  14. local PlayersService = game:GetService('Players');
  15. local Player = PlayersService.LocalPlayer;
  16. local isParty = Player:FindFirstChild('PokemonParty')
  17. local ReplicatedStorage = game:GetService('ReplicatedStorage');
  18. local Remotes = ReplicatedStorage:FindFirstChild('REvents');
  19. local Internal = Remotes:FindFirstChild('Internal');
  20. local findPC =Remotes:FindFirstChild('PC');
  21. local findPokemon = Remotes:FindFirstChild('Pokemon');
  22. local ReportGoogleAnalyticsEvent = ReplicatedStorage:FindFirstChild('ReportGoogleAnalyticsEvent');
  23. local Know =findPokemon:FindFirstChild('iwillknowXd');
  24. local RemoteForHackers = findPC:FindFirstChild('RemoteForHackers');
  25. local Save = Internal:FindFirstChild("Save");
  26.  
  27. -- [[ Main Functions ]] --
  28. -- put the lowest stage of evolution here change "mew" to lowest evolution
  29. local isBypass = function()
  30. if ReportGoogleAnalyticsEvent then
  31. ReportGoogleAnalyticsEvent.Name = "Fuck me!!!"
  32. wait(0);
  33. ReportGoogleAnalyticsEvent:Destroy()
  34. Know:InvokeServer("Mew", Player:FindFirstChild('OppPokemon'), 5, true)
  35. elseif ReportGoogleAnalyticsEvent == nil then
  36. warn('The ReportGoogleAnalyticsEvent has already been destroyed, spawning new POKeMON now!')
  37. Know:InvokeServer("Mew", Player.OppPokemon, 5, true)
  38. end
  39. if Player.OppPokemon.Mew then
  40. Player.OppPokemon.Mew:Remove()
  41. Know:InvokeServer("Mew", Player.OppPokemon, 5, true)
  42. elseif Player.OppPokemon.Mew == nil then
  43. Know:InvokeServer("Mew", Player.OppPokemon, 5, true)
  44. end
  45. end
  46.  
  47. isBypass();
  48.  
  49. local Spawning = function(isSpawn)
  50. local OppPokemon = Player:FindFirstChild('OppPokemon');
  51. Know:InvokeServer(isSpawn, OppPokemon.Mew, 80, true, true);
  52. RemoteForHackers:InvokeServer(OppPokemon:FindFirstChild('Mew')[isSpawn].CantCatch, OppPokemon:FindFirstChild('Mew'));
  53. RemoteForHackers:InvokeServer(OppPokemon:FindFirstChild('Mew')[isSpawn].TL, OppPokemon:FindFirstChild('Mew'));
  54. RemoteForHackers:InvokeServer(OppPokemon:FindFirstChild('Mew')[isSpawn], isParty);
  55.  
  56. warn('The pokemon you have requested has now been spawned!');
  57.  
  58. wait(0);
  59.  
  60. Save:InvokeServer();
  61.  
  62. warn('The game has now been saved.');
  63. end
  64.  
  65. Spawning(Pokemon)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement