Advertisement
TeoMessiKing

Pet Sim

Mar 30th, 2019
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.43 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local petsim = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local amountofeggs = Instance.new("TextBox")
  7. local buy = Instance.new("TextButton")
  8. local calculate = Instance.new("TextButton")
  9. local calculatedanswer = Instance.new("TextLabel")
  10. local x3clone = Instance.new("TextButton")
  11. local x3eggs = Instance.new("TextButton")
  12. local eggtype = Instance.new("TextBox")
  13. local printeggtypes = Instance.new("TextButton")
  14. local goldpets = Instance.new("TextButton")
  15. local rainbowpets = Instance.new("TextButton")
  16. local darkmatterpets = Instance.new("TextButton")
  17. local close = Instance.new("TextButton")
  18. local credits = Instance.new("TextButton")
  19. --Properties:
  20. petsim.Name = "petsim"
  21. petsim.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. petsim.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. Frame.Parent = petsim
  25. Frame.Active = true
  26. Frame.BackgroundColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  27. Frame.BorderSizePixel = 0
  28. Frame.Position = UDim2.new(0, 379, 0, 274)
  29. Frame.Size = UDim2.new(0, 827, 0, 177)
  30.  
  31. amountofeggs.Name = "amountofeggs"
  32. amountofeggs.Parent = Frame
  33. amountofeggs.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  34. amountofeggs.BorderSizePixel = 0
  35. amountofeggs.Position = UDim2.new(0, 31, 0, 21)
  36. amountofeggs.Size = UDim2.new(0, 190, 0, 50)
  37. amountofeggs.Font = Enum.Font.Cartoon
  38. amountofeggs.Text = "Amount Of Eggs To Buy"
  39. amountofeggs.TextColor3 = Color3.new(1, 1, 1)
  40. amountofeggs.TextSize = 22
  41. amountofeggs.TextWrapped = true
  42. amountofeggs.TextXAlignment = Enum.TextXAlignment.Left
  43. amountofeggs.TextYAlignment = Enum.TextYAlignment.Top
  44.  
  45. buy.Name = "buy"
  46. buy.Parent = Frame
  47. buy.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  48. buy.BorderSizePixel = 0
  49. buy.Position = UDim2.new(0.0377908349, 0, 0.461038947, 0)
  50. buy.Size = UDim2.new(0, 190, 0, 31)
  51. buy.Font = Enum.Font.Cartoon
  52. buy.Text = "Buy"
  53. buy.TextColor3 = Color3.new(1, 1, 1)
  54. buy.TextScaled = true
  55. buy.TextSize = 14
  56. buy.TextWrapped = true
  57.  
  58. calculate.Name = "calculate"
  59. calculate.Parent = Frame
  60. calculate.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  61. calculate.BorderSizePixel = 0
  62. calculate.Position = UDim2.new(0.0377908349, 0, 0.707792163, 0)
  63. calculate.Size = UDim2.new(0, 190, 0, 31)
  64. calculate.Font = Enum.Font.Cartoon
  65. calculate.Text = "Calculate"
  66. calculate.TextColor3 = Color3.new(1, 1, 1)
  67. calculate.TextScaled = true
  68. calculate.TextSize = 14
  69. calculate.TextWrapped = true
  70.  
  71. calculatedanswer.Name = "calculatedanswer"
  72. calculatedanswer.Parent = Frame
  73. calculatedanswer.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  74. calculatedanswer.BorderSizePixel = 0
  75. calculatedanswer.Position = UDim2.new(0, 228, 0, 20)
  76. calculatedanswer.Size = UDim2.new(0, 186, 0, 50)
  77. calculatedanswer.Font = Enum.Font.Cartoon
  78. calculatedanswer.Text = "Calculated_Answer"
  79. calculatedanswer.TextColor3 = Color3.new(1, 1, 1)
  80. calculatedanswer.TextScaled = true
  81. calculatedanswer.TextSize = 14
  82. calculatedanswer.TextWrapped = true
  83.  
  84. x3clone.Name = "x3clone"
  85. x3clone.Parent = Frame
  86. x3clone.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  87. x3clone.BorderSizePixel = 0
  88. x3clone.Position = UDim2.new(0.275023103, 0, 0.461038947, 0)
  89. x3clone.Size = UDim2.new(0, 190, 0, 31)
  90. x3clone.Font = Enum.Font.Cartoon
  91. x3clone.Text = "X3_Clone: OFF"
  92. x3clone.TextColor3 = Color3.new(1, 1, 1)
  93. x3clone.TextScaled = true
  94. x3clone.TextSize = 14
  95. x3clone.TextWrapped = true
  96.  
  97. x3eggs.Name = "x3eggs"
  98. x3eggs.Parent = Frame
  99. x3eggs.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  100. x3eggs.BorderSizePixel = 0
  101. x3eggs.Position = UDim2.new(0.275023103, 0, 0.707792163, 0)
  102. x3eggs.Size = UDim2.new(0, 190, 0, 31)
  103. x3eggs.Font = Enum.Font.Cartoon
  104. x3eggs.Text = "X3_Eggs: OFF"
  105. x3eggs.TextColor3 = Color3.new(1, 1, 1)
  106. x3eggs.TextScaled = true
  107. x3eggs.TextSize = 14
  108. x3eggs.TextWrapped = true
  109.  
  110. eggtype.Name = "eggtype"
  111. eggtype.Parent = Frame
  112. eggtype.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  113. eggtype.BorderSizePixel = 0
  114. eggtype.Position = UDim2.new(0, 428, 0, 20)
  115. eggtype.Size = UDim2.new(0, 113, 0, 61)
  116. eggtype.Font = Enum.Font.Cartoon
  117. eggtype.Text = "Egg Type"
  118. eggtype.TextColor3 = Color3.new(1, 1, 1)
  119. eggtype.TextSize = 22
  120. eggtype.TextWrapped = true
  121. eggtype.TextXAlignment = Enum.TextXAlignment.Left
  122. eggtype.TextYAlignment = Enum.TextYAlignment.Top
  123.  
  124. printeggtypes.Name = "printeggtypes"
  125. printeggtypes.Parent = Frame
  126. printeggtypes.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  127. printeggtypes.BorderSizePixel = 0
  128. printeggtypes.Position = UDim2.new(0.517016828, 0, 0.506493509, 0)
  129. printeggtypes.Size = UDim2.new(0, 113, 0, 62)
  130. printeggtypes.Font = Enum.Font.Cartoon
  131. printeggtypes.Text = "Print Egg Types"
  132. printeggtypes.TextColor3 = Color3.new(1, 1, 1)
  133. printeggtypes.TextScaled = true
  134. printeggtypes.TextSize = 14
  135. printeggtypes.TextWrapped = true
  136.  
  137. goldpets.Name = "goldpets"
  138. goldpets.Parent = Frame
  139. goldpets.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  140. goldpets.BorderSizePixel = 0
  141. goldpets.Position = UDim2.new(0.679078877, 0, 0.506493509, 0)
  142. goldpets.Size = UDim2.new(0, 113, 0, 62)
  143. goldpets.Font = Enum.Font.Cartoon
  144. goldpets.Text = "Gold All Pets"
  145. goldpets.TextColor3 = Color3.new(1, 1, 1)
  146. goldpets.TextScaled = true
  147. goldpets.TextSize = 14
  148. goldpets.TextWrapped = true
  149.  
  150. rainbowpets.Name = "rainbowpets"
  151. rainbowpets.Parent = Frame
  152. rainbowpets.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  153. rainbowpets.BorderSizePixel = 0
  154. rainbowpets.Position = UDim2.new(0, 562, 0, 19)
  155. rainbowpets.Size = UDim2.new(0, 113, 0, 62)
  156. rainbowpets.Font = Enum.Font.Cartoon
  157. rainbowpets.Text = "Rainbow All Pets"
  158. rainbowpets.TextColor3 = Color3.new(1, 1, 1)
  159. rainbowpets.TextScaled = true
  160. rainbowpets.TextSize = 14
  161. rainbowpets.TextWrapped = true
  162.  
  163. darkmatterpets.Name = "darkmatterpets"
  164. darkmatterpets.Parent = Frame
  165. darkmatterpets.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  166. darkmatterpets.BorderSizePixel = 0
  167. darkmatterpets.Position = UDim2.new(0.835064352, 0, 0.506493509, 0)
  168. darkmatterpets.Size = UDim2.new(0, 113, 0, 62)
  169. darkmatterpets.Font = Enum.Font.Cartoon
  170. darkmatterpets.Text = "Dark Matter All Pets"
  171. darkmatterpets.TextColor3 = Color3.new(1, 1, 1)
  172. darkmatterpets.TextScaled = true
  173. darkmatterpets.TextSize = 14
  174. darkmatterpets.TextWrapped = true
  175.  
  176. close.Name = "close"
  177. close.Parent = Frame
  178. close.BackgroundColor3 = Color3.new(1, 1, 1)
  179. close.BackgroundTransparency = 1
  180. close.Position = UDim2.new(0.933494568, 0, 0, 0)
  181. close.Size = UDim2.new(0, 55, 0, 20)
  182. close.Font = Enum.Font.Cartoon
  183. close.Text = "X"
  184. close.TextColor3 = Color3.new(1, 1, 1)
  185. close.TextScaled = true
  186. close.TextSize = 14
  187. close.TextWrapped = true
  188.  
  189. credits.Name = "credits"
  190. credits.Parent = Frame
  191. credits.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  192. credits.BorderSizePixel = 0
  193. credits.Position = UDim2.new(0, 690, 0, 19)
  194. credits.Size = UDim2.new(0, 113, 0, 62)
  195. credits.Font = Enum.Font.Cartoon
  196. credits.Text = "Credits: potato757575#3252"
  197. credits.TextColor3 = Color3.new(1, 1, 1)
  198. credits.TextScaled = true
  199. credits.TextSize = 14
  200. credits.TextWrapped = true
  201. -- Scripts:
  202.  
  203.  
  204.  
  205.  
  206.  
  207. Frame.Draggable = true
  208.  
  209. petsim.ResetOnSpawn = false
  210.  
  211.  
  212. local x3clones = false
  213. local x3egg = false
  214.  
  215.  
  216.  
  217.  
  218. local uis = game:GetService("UserInputService")
  219.  
  220.  
  221.  
  222.  
  223. buy.MouseButton1Click:Connect(function()
  224. if x3clones == false and x3egg == false then
  225. for i=1,tonumber(amountofeggs.Text) do
  226. wait(0.1)
  227. local A_1 = "Buy"
  228. local A_2 = "Eggs"
  229. local A_3 = eggtype.Text
  230. local A_4 = false
  231. local Event = game:GetService("Workspace")["__REMOTES"].Game.Shop
  232. Event:InvokeServer(A_1, A_2, A_3, A_4)
  233.  
  234. end
  235. elseif x3clones == false and x3egg == true then
  236. for i=1,tonumber(amountofeggs.Text) do
  237. wait(0.1)
  238. local A_1 = "Buy"
  239. local A_2 = "Eggs"
  240. local A_3 = eggtype.Text
  241. local A_4 = false
  242. local Event = game:GetService("Workspace")["__REMOTES"].Game.Shop
  243. Event:InvokeServer(A_1, A_2, A_3, A_4)
  244.  
  245. end
  246.  
  247. elseif x3clones == true and x3egg == false then
  248. for i=1,tonumber(amountofeggs.Text) do
  249. wait(0.1)
  250. local A_1 = "Buy"
  251. local A_2 = "Eggs"
  252. local A_3 = eggtype.Text
  253. local A_4 = false
  254. local Event = game:GetService("Workspace")["__REMOTES"].Game.Shop
  255. Event:InvokeServer(A_1, A_2, A_3, A_4)
  256.  
  257. end
  258. elseif x3clones == true and x3egg == true then
  259. for i=1,tonumber(amountofeggs.Text) do
  260. wait(0.1)
  261. local A_1 = "Buy"
  262. local A_2 = "Eggs"
  263. local A_3 = eggtype.Text
  264. local A_4 = true
  265. local Event = game:GetService("Workspace")["__REMOTES"].Game.Shop
  266. Event:InvokeServer(A_1, A_2, A_3, A_4)
  267.  
  268. end
  269. end
  270. end)
  271.  
  272.  
  273.  
  274. calculate.MouseButton1Click:Connect(function()
  275. if x3clones == true and x3egg == true then
  276. calculatedanswer.Text = tostring(tonumber(amountofeggs.Text*9))
  277. elseif x3clones == true and x3egg == false then
  278. calculatedanswer.Text = tostring(tonumber(amountofeggs.Text*3))
  279. elseif x3clones == false and x3egg == true then
  280. calculatedanswer.Text = tostring(tonumber(amountofeggs.Text*3))
  281. elseif x3clones == false and x3egg == false then
  282. calculatedanswer.Text = tostring(tonumber(amountofeggs.Text*1))
  283. end
  284. end)
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291. local lon = false
  292. local gon = false
  293.  
  294.  
  295. x3eggs.MouseButton1Click:Connect(function()
  296. if x3egg == false then
  297. x3egg = true
  298. x3eggs.Text = "X3_Eggs: ON"
  299. elseif x3egg == true then
  300. x3egg = false
  301. x3eggs.Text = "X3_Eggs: OFF"
  302. end
  303. end)
  304.  
  305.  
  306.  
  307. x3clone.MouseButton1Click:Connect(function()
  308. if x3clones == false then
  309. x3clones = true
  310. x3clone.Text = "X3_Clone: ON"
  311. elseif x3clones == true then
  312. x3clones = false
  313. x3clone.Text = "X3_Clone: OFF"
  314. end
  315. end)
  316.  
  317.  
  318.  
  319. printeggtypes.MouseButton1Click:Connect(function()
  320.  
  321.  
  322.  
  323.  
  324. warn("-// Over_World \\-")
  325. warn("[Tier 1] = Tier 1 ")
  326. warn("[Tier 2] = Tier 2 ")
  327. warn("[Tier 3] = Tier 3 ")
  328. warn("[Tier 4] = Tier 4 ")
  329. warn("[Tier 5] = Tier 5 ")
  330. warn("[Tier 6] = Tier 6 ")
  331. warn("[Tier 7] = Tier 7 ")
  332. warn("[Tier 8] = Tier 8 ")
  333. warn("[Tier 9] = Tier 9 ")
  334. warn("[Tier 10] = Tier 10 ")
  335. warn("[Tier 11] = Tier 11 ")
  336. warn("[Tier 12] = Tier 12 ")
  337. warn("-// Moon_World \\--")
  338. warn("[Tier 13] = Tier 13 ")
  339. warn("[Tier 14] = Tier 14 ")
  340. warn("[Tier 15] = Tier 15 ")
  341. warn("[Tier 16] = Tier 16 ")
  342. warn("[Tier 17] = Tier 17 ")
  343. warn("[Tier 18] = Tier 18 ")
  344. warn("-// Snow_World")
  345. warn("[Xmas 1] = Christmas Tier 1")
  346. warn("[Xmas 2] = Christmas Tier 2")
  347. warn("[Xmas 3] = Christmas Tier 3")
  348. warn("[Xmas 4] = Christmas Tier 4")
  349.  
  350. end)
  351.  
  352.  
  353.  
  354.  
  355. rainbowpets.MouseButton1Click:Connect(function()
  356. local pets = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Pets:GetChildren()
  357.  
  358.  
  359. for i=1,#pets do
  360.  
  361. local A_1 = tonumber(pets[i].Name)
  362. local Event = game:GetService("Workspace")["__REMOTES"].Game["Rainbow Pets"]
  363. Event:InvokeServer(A_1)
  364. print(tonumber(pets[i].Name))
  365. end
  366.  
  367. end)
  368.  
  369.  
  370.  
  371. goldpets.MouseButton1Click:Connect(function()
  372. local pets = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Pets:GetChildren()
  373.  
  374.  
  375. for i=1,#pets do
  376.  
  377. local A_1 = tonumber(pets[i].Name)
  378. local Event = game:GetService("Workspace")["__REMOTES"].Game["Golden Pets"]
  379. Event:InvokeServer(A_1)
  380. print(tonumber(pets[i].Name))
  381. end
  382. end)
  383.  
  384.  
  385. close.MouseButton1Click:Connect(function()
  386. petsim:Destroy()
  387. end)
  388.  
  389.  
  390. darkmatterpets.MouseButton1Click:Connect(function()
  391. local pets = game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Pets:GetChildren()
  392.  
  393.  
  394. for i=1,#pets do
  395.  
  396. local A_1 = tonumber(pets[i].Name)
  397. local Event = game:GetService("Workspace")["__REMOTES"].Game["Dark Matter Pets"]
  398. Event:InvokeServer(A_1)
  399. print(tonumber(pets[i].Name))
  400. end
  401. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement