Advertisement
Sorosys

Untitled

Apr 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local from = "Porygon"
  2. local to = "Graveler"
  3.  
  4. local plr = game.Players.LocalPlayer
  5. local ptyto = game.Players.LocalPlayer.PokemonParty[to]
  6. local ptyfr = game.Players.LocalPlayer.PokemonParty[from]
  7. if ptyfr:FindFirstChild("Aura") then
  8. if ptyto:FindFirstChild("Aura") then
  9. game.ReplicatedStorage.REvents.PC.RemoteForHackers:InvokeServer(ptyfr.Aura.ColorChange, ptyto.Aura)
  10. else
  11. game.ReplicatedStorage.REvents.PC.RemoteForHackers:InvokeServer(ptyfr.Aura, ptyto)
  12. end
  13. end
  14. if ptyfr:FindFirstChild("Form") then
  15. game.ReplicatedStorage.REvents.PC.RemoteForHackers:InvokeServer(ptyfr.Form, ptyto)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement