Scriptorz5

petsim

Nov 22nd, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.70 KB | None | 0 0
  1. -- Credits To all the owners of some scripts i used
  2. -- Made By Chocobit
  3. -- Give Credits if you want....
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local PetSim = Instance.new("Frame")
  6. local Config = Instance.new("Frame")
  7. local X = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local Teleports = Instance.new("Frame")
  14. local MoonBase = Instance.new("TextButton")
  15. local Tecland = Instance.new("TextButton")
  16. local Dominusshrine = Instance.new("TextButton")
  17. local CandyLand = Instance.new("TextButton")
  18. local PinkLand = Instance.new("TextButton")
  19. local MoonBase_2 = Instance.new("TextButton")
  20. local Rocket = Instance.new("TextButton")
  21. local AutoFarm = Instance.new("Frame")
  22. local AutoFarm_2 = Instance.new("TextButton")
  23. local Stats = Instance.new("Frame")
  24. local TextButton_4 = Instance.new("TextButton")
  25. local TextButton_5 = Instance.new("TextButton")
  26. local TextButton_6 = Instance.new("TextButton")
  27. --Properties:
  28. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  29.  
  30. PetSim.Name = "PetSim"
  31. PetSim.Parent = ScreenGui
  32. PetSim.BackgroundColor3 = Color3.new(1, 1, 1)
  33. PetSim.BackgroundTransparency = 0.5
  34. PetSim.Position = UDim2.new(0.279891312, 0, 0.201729104, 0)
  35. PetSim.Size = UDim2.new(0, 523, 0, 327)
  36. PetSim.Active = true
  37. PetSim.Selectable = true
  38. PetSim.Draggable = true
  39.  
  40. Config.Name = "Config"
  41. Config.Parent = PetSim
  42. Config.BackgroundColor3 = Color3.new(1, 1, 1)
  43. Config.BackgroundTransparency = 0.30000001192093
  44. Config.Position = UDim2.new(-0.00151072105, 0, -0.000105723739, 0)
  45. Config.Size = UDim2.new(0, 523, 0, 40)
  46.  
  47. X.Name = "X"
  48. X.Parent = Config
  49. X.BackgroundColor3 = Color3.new(1, 1, 1)
  50. X.BackgroundTransparency = 12
  51. X.Position = UDim2.new(0.906775951, 0, 0.0267291367, 0)
  52. X.Size = UDim2.new(0, 64, 0, 39)
  53. X.Font = Enum.Font.SourceSans
  54. X.Text = "X"
  55. X.TextColor3 = Color3.new(0, 0, 0)
  56. X.TextSize = 14
  57. X.MouseButton1Click:connect(function()
  58. PetSim.Visible = false
  59. end)
  60.  
  61. TextLabel.Parent = Config
  62. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  63. TextLabel.BackgroundTransparency = 5
  64. TextLabel.Position = UDim2.new(0.316232443, 0, -0.0876801163, 0)
  65. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  66. TextLabel.Font = Enum.Font.Code
  67. TextLabel.Text = "Choco Pet Sim Gui"
  68. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  69. TextLabel.TextSize = 25
  70.  
  71. TextButton.Parent = Config
  72. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  73. TextButton.Position = UDim2.new(0.544933081, 0, 2.2750001, 0)
  74. TextButton.Size = UDim2.new(0, 200, 0, 50)
  75. TextButton.Font = Enum.Font.Code
  76. TextButton.Text = "Stats"
  77. TextButton.TextColor3 = Color3.new(0, 0, 0)
  78. TextButton.TextSize = 14
  79.  
  80. TextButton_2.Parent = Config
  81. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  82. TextButton_2.Position = UDim2.new(0.078393884, 0, 2.2750001, 0)
  83. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  84. TextButton_2.Font = Enum.Font.Code
  85. TextButton_2.Text = "Teleports"
  86. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  87. TextButton_2.TextSize = 14
  88.  
  89. TextButton_3.Parent = Config
  90. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  91. TextButton_3.Position = UDim2.new(0.307839394, 0, 5.5250001, 0)
  92. TextButton_3.Size = UDim2.new(0, 200, 0, 50)
  93. TextButton_3.Font = Enum.Font.Code
  94. TextButton_3.Text = "Auto Farm"
  95. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  96. TextButton_3.TextSize = 14
  97.  
  98. TextLabel_2.Parent = Config
  99. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  100. TextLabel_2.BackgroundTransparency = 5
  101. TextLabel_2.Position = UDim2.new(-0.100593552, 0, 7.31231928, 0)
  102. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  103. TextLabel_2.Font = Enum.Font.Code
  104. TextLabel_2.Text = "Made by chocobit"
  105. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  106. TextLabel_2.TextSize = 10
  107.  
  108. Teleports.Name = "Teleports"
  109. Teleports.Parent = Config
  110. Teleports.BackgroundColor3 = Color3.new(1, 1, 1)
  111. Teleports.BackgroundTransparency = 0.5
  112. Teleports.Position = UDim2.new(-0.538639665, 0, 0.00295486301, 0)
  113. Teleports.Size = UDim2.new(0, 261, 0, 326)
  114. Teleports.Visible = false
  115.  
  116. MoonBase.Name = "Moon Base"
  117. MoonBase.Parent = Teleports
  118. MoonBase.BackgroundColor3 = Color3.new(1, 1, 1)
  119. MoonBase.Position = UDim2.new(0.0865851492, 0, 0.741732061, 0)
  120. MoonBase.Size = UDim2.new(0, 89, 0, 50)
  121. MoonBase.Font = Enum.Font.SourceSans
  122. MoonBase.Text = "Moon Shop"
  123. MoonBase.TextColor3 = Color3.new(0, 0, 0)
  124. MoonBase.TextSize = 14
  125. MoonBase.MouseButton1Click:connect(function()
  126. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(616, 146, -1720)
  127. notify'Teleported to the Moon Shop'
  128. end)
  129.  
  130. Tecland.Name = "Tec land"
  131. Tecland.Parent = Teleports
  132. Tecland.BackgroundColor3 = Color3.new(1, 1, 1)
  133. Tecland.Position = UDim2.new(0.546355247, 0, 0.742433786, 0)
  134. Tecland.Size = UDim2.new(0, 89, 0, 50)
  135. Tecland.Font = Enum.Font.SourceSans
  136. Tecland.Text = "Tec Land"
  137. Tecland.TextColor3 = Color3.new(0, 0, 0)
  138. Tecland.TextSize = 14
  139. Tecland.MouseButton1Click:connect(function()
  140. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-283.5, 145, -1704.4)
  141. notify'Teleported to the Cyborg Area'
  142. end)
  143.  
  144. Dominusshrine.Name = "Dominus shrine"
  145. Dominusshrine.Parent = Teleports
  146. Dominusshrine.BackgroundColor3 = Color3.new(1, 1, 1)
  147. Dominusshrine.Position = UDim2.new(0.0865851641, 0, 0.455609769, 0)
  148. Dominusshrine.Size = UDim2.new(0, 89, 0, 50)
  149. Dominusshrine.Font = Enum.Font.SourceSans
  150. Dominusshrine.Text = "Dominus shrine"
  151. Dominusshrine.TextColor3 = Color3.new(0, 0, 0)
  152. Dominusshrine.TextSize = 14
  153. Dominusshrine.MouseButton1Click:connect(function()
  154. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(9.4, 145, -1902.9)
  155. notify'Teleported to the Gold Land'
  156. end)
  157.  
  158. CandyLand.Name = "Candy Land"
  159. CandyLand.Parent = Teleports
  160. CandyLand.BackgroundColor3 = Color3.new(1, 1, 1)
  161. CandyLand.Position = UDim2.new(0.0865851641, 0, 0.187712863, 0)
  162. CandyLand.Size = UDim2.new(0, 89, 0, 50)
  163. CandyLand.Font = Enum.Font.SourceSans
  164. CandyLand.Text = "Candy Land"
  165. CandyLand.TextColor3 = Color3.new(0, 0, 0)
  166. CandyLand.TextSize = 14
  167. CandyLand.MouseButton1Click:connect(function()
  168. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(13.7, 145, -1449.8)
  169. notify'Teleported to Candy Land'
  170. end)
  171.  
  172. PinkLand.Name = "Pink Land"
  173. PinkLand.Parent = Teleports
  174. PinkLand.BackgroundColor3 = Color3.new(1, 1, 1)
  175. PinkLand.Position = UDim2.new(0.546355247, 0, 0.453064531, 0)
  176. PinkLand.Size = UDim2.new(0, 89, 0, 50)
  177. PinkLand.Font = Enum.Font.SourceSans
  178. PinkLand.Text = "Pink Land"
  179. PinkLand.TextColor3 = Color3.new(0, 0, 0)
  180. PinkLand.TextSize = 14
  181. PinkLand.MouseButton1Click:connect(function()
  182. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(124.8, 145, -1718)
  183. notify'Teleported to the Moon Area 2'
  184. end)
  185.  
  186. MoonBase_2.Name = "Moon Base"
  187. MoonBase_2.Parent = Teleports
  188. MoonBase_2.BackgroundColor3 = Color3.new(1, 1, 1)
  189. MoonBase_2.Position = UDim2.new(0.546355247, 0, 0.189526856, 0)
  190. MoonBase_2.Size = UDim2.new(0, 89, 0, 50)
  191. MoonBase_2.Font = Enum.Font.SourceSans
  192. MoonBase_2.Text = "Moon Base"
  193. MoonBase_2.TextColor3 = Color3.new(0, 0, 0)
  194. MoonBase_2.TextSize = 14
  195. MoonBase_2.MouseButton1Click:connect(function()
  196. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(527, 145, -1762)
  197. notify'Teleported to the Moon Area 1'
  198. end)
  199.  
  200.  
  201. Rocket.Name = "Rocket"
  202. Rocket.Parent = Teleports
  203. Rocket.BackgroundColor3 = Color3.new(1, 1, 1)
  204. Rocket.Position = UDim2.new(0.0865851492, 0, 0.0300176423, 0)
  205. Rocket.Size = UDim2.new(0, 209, 0, 19)
  206. Rocket.Font = Enum.Font.SourceSans
  207. Rocket.Text = "Rocket"
  208. Rocket.TextColor3 = Color3.new(0, 0, 0)
  209. Rocket.TextSize = 14
  210. Rocket.MouseButton1Click:connect(function()
  211. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1828, -37, 897)
  212. notify'Teleported to the Rocket Area'
  213. end)
  214.  
  215. AutoFarm.Name = "Auto Farm"
  216. AutoFarm.Parent = Config
  217. AutoFarm.BackgroundColor3 = Color3.new(1, 1, 1)
  218. AutoFarm.BackgroundTransparency = 0.5
  219. AutoFarm.Position = UDim2.new(0.0024693564, 0, 8.82795525, 0)
  220. AutoFarm.Size = UDim2.new(0, 523, 0, 92)
  221. AutoFarm.Visible = false
  222.  
  223. AutoFarm_2.Name = "Auto Farm"
  224. AutoFarm_2.Parent = AutoFarm
  225. AutoFarm_2.BackgroundColor3 = Color3.new(1, 1, 1)
  226. AutoFarm_2.Position = UDim2.new(0.0759245828, 0, 0.228260875, 0)
  227. AutoFarm_2.Size = UDim2.new(0, 443, 0, 50)
  228. AutoFarm_2.Font = Enum.Font.Code
  229. AutoFarm_2.Text = "Auto Farm (Press K, To Turn Off/On"
  230. AutoFarm_2.TextColor3 = Color3.new(0, 0, 0)
  231. AutoFarm_2.TextSize = 14
  232. AutoFarm_2.MouseButton1Click:connect(function()
  233. --> piterleopards <--
  234. local onoffkey = "k"
  235. local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
  236. local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
  237. local plr = game:GetService("Players").LocalPlayer
  238. local petids = {}
  239. local petba = {}
  240. local petstotal = #save[plr.Name]["Save"]["Pets"]
  241. local CoinList = {"7 Coin","7 Coin Stack","7 Small Coin","7 Chest","7 Small Chest","8 Small Chest","8 Chest","8 Good Chest","9 Chest","9 Coin","9 Coin Stack","9 Small Chest","9 Small Coin","10 Chest","10 Coin","10 Coin Stack","10 Small Chest","10 Small Coin"}
  242.  
  243. local VirtualUser=game:service'VirtualUser' --Anti AFK credit to : cxx
  244. game:service'Players'.LocalPlayer.Idled:connect(function()
  245. VirtualUser:CaptureController()
  246. VirtualUser:ClickButton2(Vector2.new())
  247. end)
  248.  
  249. local onoff = false
  250. local plr = game:GetService("Players").LocalPlayer
  251. local mouse = plr:GetMouse()
  252. mouse.KeyDown:connect(function(key)
  253. if key:lower() == onoffkey then
  254. onoff = not onoff
  255. print(tostring(onoff))
  256. end
  257. end)
  258.  
  259. local function has_value (tab, val)
  260. for index, value in ipairs(tab) do
  261. if value == val then
  262. return true
  263. end
  264. end
  265. return false
  266. end
  267.  
  268. for i=1,petstotal do
  269. if(save[plr.Name]["Save"]["Pets"][petstotal].e == true) then
  270. table.insert(petids, save[plr.Name]["Save"]["Pets"][petstotal].id)
  271. table.insert(petba, save[plr.Name]["Save"]["Pets"][petstotal].ba)
  272. end
  273. petstotal = petstotal - 1
  274. end
  275.  
  276. while wait() do
  277. if onoff then
  278. for __,iCoins in next, workspace.__THINGS.Coins:GetChildren() do
  279. if iCoins:FindFirstChild("CoinName") ~= nil and has_value(CoinList,iCoins:FindFirstChild("CoinName").Value) and onoff then
  280. if (iCoins:FindFirstChild("Health") ~= nil and iCoins:FindFirstChild("Health").Value > 0) and onoff then
  281. repeat wait(0.1)
  282. for i=1,#petids do
  283. coins:FireServer("Mine",iCoins.Name, petba[i]*4-1, petids[i])
  284. end
  285. until iCoins:FindFirstChild("Health") == nil or iCoins:FindFirstChild("Health").Value <= 0 or not onoff
  286. end
  287. end
  288. end
  289. end
  290. end
  291.  
  292. end)
  293.  
  294. Stats.Name = "Stats"
  295. Stats.Parent = Config
  296. Stats.BackgroundColor3 = Color3.new(1, 1, 1)
  297. Stats.BackgroundTransparency = 0.5
  298. Stats.Position = UDim2.new(1.04835844, 0, 1.5475986, 0)
  299. Stats.Size = UDim2.new(0, 157, 0, 263)
  300. Stats.Visible = false
  301.  
  302. TextButton_4.Parent = Stats
  303. TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
  304. TextButton_4.Position = UDim2.new(0.159235671, 0, 0.10962268, 0)
  305. TextButton_4.Size = UDim2.new(0, 107, 0, 50)
  306. TextButton_4.Font = Enum.Font.SourceSans
  307. TextButton_4.Text = "Walk Speed"
  308. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  309. TextButton_4.TextSize = 14
  310. TextButton_4.MouseButton1Click:connect(function()
  311. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass"Humanoid".WalkSpeed = 100
  312. end)
  313.  
  314. TextButton_5.Parent = Stats
  315. TextButton_5.BackgroundColor3 = Color3.new(1, 1, 1)
  316. TextButton_5.Position = UDim2.new(0.159235671, 0, 0.413805217, 0)
  317. TextButton_5.Size = UDim2.new(0, 107, 0, 50)
  318. TextButton_5.Font = Enum.Font.SourceSans
  319. TextButton_5.Text = "Jump Power"
  320. TextButton_5.TextColor3 = Color3.new(0, 0, 0)
  321. TextButton_5.TextSize = 14
  322. TextButton_5.MouseButton1Click:connect(function()
  323. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass"Humanoid".JumpPower = 100
  324. end)
  325.  
  326. TextButton_6.Parent = Stats
  327. TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
  328. TextButton_6.Position = UDim2.new(0.159235671, 0, 0.710383177, 0)
  329. TextButton_6.Size = UDim2.new(0, 107, 0, 50)
  330. TextButton_6.Font = Enum.Font.SourceSans
  331. TextButton_6.Text = "Click TP Tool"
  332. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  333. TextButton_6.TextSize = 14
  334. TextButton_6.MouseButton1Click:connect(function()
  335. mouse = game:service'Players'.LocalPlayer:GetMouse()
  336. tool = Instance.new("Tool")
  337. tool.RequiresHandle = false
  338. tool.Name = "Click Teleport"
  339. tool.Activated:connect(function()
  340. local pos = mouse.Hit+Vector3.new(0,2.5,0)
  341. pos = CFrame.new(pos.X,pos.Y,pos.Z)
  342. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  343. end)
  344. tool.Parent = game:service'Players'.LocalPlayer.Backpack
  345. end)
  346. -- Scripts:
  347. function SCRIPT_KHZU70_FAKESCRIPT() -- TextButton.Script
  348. getfenv().script = Instance.new('Script', TextButton)
  349.  
  350. local frame = script.Parent.Parent.Stats
  351.  
  352. script.Parent.MouseButton1Click:Connect(function()
  353. if frame.Visible == false then
  354. frame.Visible = true
  355. else
  356. frame.Visible = false
  357. end
  358. end)
  359.  
  360. end
  361. coroutine.resume(coroutine.create(SCRIPT_KHZU70_FAKESCRIPT))
  362. function SCRIPT_XJXB65_FAKESCRIPT() -- TextButton_2.Script
  363. getfenv().script = Instance.new('Script', TextButton_2)
  364.  
  365. local frame = script.Parent.Parent.Teleports
  366.  
  367. script.Parent.MouseButton1Click:Connect(function()
  368. if frame.Visible == false then
  369. frame.Visible = true
  370. else
  371. frame.Visible = false
  372. end
  373. end)
  374.  
  375. end
  376. coroutine.resume(coroutine.create(SCRIPT_XJXB65_FAKESCRIPT))
  377. function SCRIPT_FQZM73_FAKESCRIPT() -- TextButton_3.Script
  378. getfenv().script = Instance.new('Script', TextButton_3)
  379.  
  380. local frame = script.Parent.Parent["Auto Farm"]
  381.  
  382. script.Parent.MouseButton1Click:Connect(function()
  383. if frame.Visible == false then
  384. frame.Visible = true
  385. else
  386. frame.Visible = false
  387. end
  388. end)
  389.  
  390. end
  391. coroutine.resume(coroutine.create(SCRIPT_FQZM73_FAKESCRIPT))
Add Comment
Please, Sign In to add comment