fufunny1

project pokemon spawn in pokemons

Feb 10th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local open = Instance.new("TextButton")
  3. local Frame = Instance.new("Frame")
  4. local name = Instance.new("TextBox")
  5. local close = Instance.new("TextButton")
  6. local txt1 = Instance.new("TextLabel")
  7. local txt2 = Instance.new("TextLabel")
  8. local lvl = Instance.new("TextBox")
  9. local txt4 = Instance.new("TextLabel")
  10. local txt3 = Instance.new("TextLabel")
  11. local txt5 = Instance.new("TextLabel")
  12. local pokemon = Instance.new("TextButton")
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15.  
  16. open.Name = "open"
  17. open.Parent = ScreenGui
  18. open.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  19. open.BorderSizePixel = 3
  20. open.Position = UDim2.new(0.00717360107, 0, 0.846245527, 0)
  21. open.Size = UDim2.new(0, 148, 0, 34)
  22. open.Font = Enum.Font.SourceSans
  23. open.Text = "Open"
  24. open.TextColor3 = Color3.new(0, 0, 0)
  25. open.TextScaled = true
  26. open.TextSize = 14
  27. open.TextWrapped = true
  28. open.MouseButton1Down:connect(function()
  29. Frame.Visible = true
  30. open.Visible = false
  31. end)
  32.  
  33. Frame.Parent = ScreenGui
  34. Frame.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  35. Frame.BorderSizePixel = 3
  36. Frame.Position = UDim2.new(0.512912452, 0, 0.250297964, 0)
  37. Frame.Size = UDim2.new(0, 454, 0, 250)
  38. Frame.Active = true
  39. Frame.Draggable = true
  40. Frame.Visible = false
  41. Frame.Resizable = true
  42.  
  43. name.Name = "name"
  44. name.Parent = Frame
  45. name.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  46. name.BorderSizePixel = 3
  47. name.Position = UDim2.new(0.481102884, 0, 0.423999995, 0)
  48. name.Size = UDim2.new(0, 215, 0, 38)
  49. name.Font = Enum.Font.SourceSans
  50. name.Text = ""
  51. name.TextColor3 = Color3.new(0, 0, 0)
  52. name.TextScaled = true
  53. name.TextSize = 14
  54. name.TextWrapped = true
  55.  
  56. close.Name = "close"
  57. close.Parent = Frame
  58. close.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  59. close.BorderSizePixel = 3
  60. close.Position = UDim2.new(0.936123371, 0, 0, 0)
  61. close.Size = UDim2.new(0, 29, 0, 38)
  62. close.Font = Enum.Font.SourceSans
  63. close.Text = "X"
  64. close.TextColor3 = Color3.new(0, 0, 0)
  65. close.TextScaled = true
  66. close.TextSize = 14
  67. close.TextWrapped = true
  68. close.MouseButton1Down:connect(function()
  69. Frame.Visible = false
  70. open.Visible = true
  71. end)
  72.  
  73. txt1.Name = "txt1"
  74. txt1.Parent = Frame
  75. txt1.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  76. txt1.BorderSizePixel = 3
  77. txt1.Size = UDim2.new(0, 425, 0, 38)
  78. txt1.Font = Enum.Font.SourceSans
  79. txt1.Text = "Pokemon Spawner V0.03"
  80. txt1.TextColor3 = Color3.new(0, 0, 0)
  81. txt1.TextScaled = true
  82. txt1.TextSize = 14
  83. txt1.TextWrapped = true
  84.  
  85. txt2.Name = "txt2"
  86. txt2.Parent = Frame
  87. txt2.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  88. txt2.BorderSizePixel = 3
  89. txt2.Position = UDim2.new(0.773127735, 0, 0.931999981, 0)
  90. txt2.Size = UDim2.new(0, 103, 0, 17)
  91. txt2.Font = Enum.Font.SourceSans
  92. txt2.Text = "Verson 0.03"
  93. txt2.TextColor3 = Color3.new(0, 0, 0)
  94. txt2.TextScaled = true
  95. txt2.TextSize = 14
  96. txt2.TextWrapped = true
  97.  
  98. lvl.Name = "lvl"
  99. lvl.Parent = Frame
  100. lvl.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  101. lvl.BorderSizePixel = 3
  102. lvl.Position = UDim2.new(0.481102884, 0, 0.660946548, 0)
  103. lvl.Size = UDim2.new(0, 215, 0, 38)
  104. lvl.Font = Enum.Font.SourceSans
  105. lvl.Text = ""
  106. lvl.TextColor3 = Color3.new(0, 0, 0)
  107. lvl.TextScaled = true
  108. lvl.TextSize = 14
  109. lvl.TextWrapped = true
  110.  
  111. txt4.Name = "txt4"
  112. txt4.Parent = Frame
  113. txt4.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  114. txt4.BorderSizePixel = 3
  115. txt4.Position = UDim2.new(0.0418502204, 0, 0.423999995, 0)
  116. txt4.Size = UDim2.new(0, 174, 0, 37)
  117. txt4.Font = Enum.Font.SourceSans
  118. txt4.Text = "Name"
  119. txt4.TextColor3 = Color3.new(0, 0, 0)
  120. txt4.TextScaled = true
  121. txt4.TextSize = 14
  122. txt4.TextWrapped = true
  123.  
  124. txt3.Name = "txt3"
  125. txt3.Parent = Frame
  126. txt3.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  127. txt3.BorderSizePixel = 3
  128. txt3.Position = UDim2.new(0.0418502204, 0, 0.660946548, 0)
  129. txt3.Size = UDim2.new(0, 174, 0, 37)
  130. txt3.Font = Enum.Font.SourceSans
  131. txt3.Text = "Level"
  132. txt3.TextColor3 = Color3.new(0, 0, 0)
  133. txt3.TextScaled = true
  134. txt3.TextSize = 14
  135. txt3.TextWrapped = true
  136.  
  137. txt5.Name = "txt5"
  138. txt5.Parent = Frame
  139. txt5.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  140. txt5.BorderSizePixel = 0
  141. txt5.Position = UDim2.new(0.275330395, 0, 0.180946544, 0)
  142. txt5.Size = UDim2.new(0, 174, 0, 37)
  143. txt5.Font = Enum.Font.SourceSans
  144. txt5.Text = "By: TheExploiter"
  145. txt5.TextColor3 = Color3.new(0, 0, 0)
  146. txt5.TextScaled = true
  147. txt5.TextSize = 14
  148. txt5.TextWrapped = true
  149.  
  150. pokemon.Name = "pokemon"
  151. pokemon.Parent = Frame
  152. pokemon.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  153. pokemon.BorderSizePixel = 3
  154. pokemon.Position = UDim2.new(0.24669604, 0, 0.864000022, 0)
  155. pokemon.Size = UDim2.new(0, 200, 0, 27)
  156. pokemon.Font = Enum.Font.SourceSans
  157. pokemon.Text = "Get Pokemon"
  158. pokemon.TextColor3 = Color3.new(0, 0, 0)
  159. pokemon.TextScaled = true
  160. pokemon.TextSize = 14
  161. pokemon.TextWrapped = true
  162. pokemon.MouseButton1Down:connect(function()
  163. lvl.Text = lvl.Text
  164. name.Text = name.Text
  165. local pokemon = name.Text
  166. local lvl = lvl.Text
  167. local Encrypt = function(CodeSource)
  168. local StringCode = '';
  169. for i = 1, #CodeSource do
  170. StringCode = StringCode ..string.char(48)..string.byte(string.sub(CodeSource,i,i));
  171. end
  172. return StringCode;
  173. end
  174. local pass = Encrypt(game.Players.LocalPlayer.Name..lvl..pokemon)
  175. game.ReplicatedStorage.REvents.Pokemon.iwillknowXD:InvokeServer(pokemon, game.Players.LocalPlayer.PokemonParty, lvl, true, true, pass)
  176. end)
Add Comment
Please, Sign In to add comment