SHARE
TWEET

YESYESYESYES

SirMeme Mar 5th, 2019 10,196 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Check if theres a GUI open already
  2. do
  3.     local old = game:GetService("CoreGui"):FindFirstChild("PetRanchSimulator")
  4.     if old then
  5.         old:Destroy()
  6.     end
  7. end
  8. --Anti-Afk 4 u w33bs
  9. local VirtualUser=game:service'VirtualUser'
  10. game:service'Players'.LocalPlayer.Idled:connect(function()
  11. VirtualUser:CaptureController()
  12. VirtualUser:ClickButton2(Vector2.new())
  13. end)
  14. --X2 Coins and X2 Luck Gamepasses by NAME4YOU#1192
  15. local plr = game.Players.LocalPlayer.Name
  16. local statdisplay = game.ReplicatedStorage[plr.."StatDisplay"]
  17.  
  18. if statdisplay["Gamepass_2xCoins"].Value == false then
  19.  statdisplay["Gamepass_2xCoins"].Value = true
  20. else if statdisplay["Gamepass_2xCoins"].Value == true then
  21.  statdisplay["Gamepass_2xCoins"].Value = false
  22. end
  23. end
  24. -- Farewell Infortality.
  25. -- Version: 2.82
  26. -- Instances:
  27. local PetRanchSimulator = Instance.new("ScreenGui")
  28. local MainFrame = Instance.new("Frame")
  29. local YeetusDeletus = Instance.new("Frame")
  30. local Legendary = Instance.new("TextButton")
  31. local Epic = Instance.new("TextButton")
  32. local Common = Instance.new("TextButton")
  33. local Uncommon = Instance.new("TextButton")
  34. local Rare = Instance.new("TextButton")
  35. local UIListLayout = Instance.new("UIListLayout")
  36. local Premium = Instance.new("TextButton")
  37. local Equip = Instance.new("TextButton")
  38. local YeetusFetus = Instance.new("Frame")
  39. local UIListLayout_2 = Instance.new("UIListLayout")
  40. local Teir5Egg = Instance.new("TextButton")
  41. local Teir4Egg = Instance.new("TextButton")
  42. local Teir1Egg = Instance.new("TextButton")
  43. local Teir2Egg = Instance.new("TextButton")
  44. local Teir3Egg = Instance.new("TextButton")
  45. local RebirthEgg = Instance.new("TextButton")
  46. local Title = Instance.new("TextLabel")
  47. local Title_2 = Instance.new("TextLabel")
  48. local Title_3 = Instance.new("TextLabel")
  49. local Rainbow = Instance.new("TextButton")
  50. local Exit = Instance.new("TextButton")
  51. local Minimis = Instance.new("TextButton")
  52. local TextButton = Instance.new("TextButton")
  53.  
  54. local DeleteCommon = false
  55. local DeleteUncommon = false
  56. local DeleteRare = false
  57. local DeleteEpic = false
  58. local DeleteLegendary = false
  59. local DeleteLegendaryPremium = false
  60.  
  61. local Open1 = false
  62. local Open2 = false
  63. local Open3 = false
  64. local Open4 = false
  65. local Open5 = false
  66. local OpenRebirth = false
  67.  
  68.  
  69. local CommonIds = {
  70.     "rbxassetid://2904700052", --Dog // rarity = "Common"
  71.     "rbxassetid://2904700052", --Dog // rarity = "Common"
  72.     "rbxassetid://2867901095", --["White Cat"] // rarity = "Common"
  73.     "rbxassetid://2867901591", --Fox // rarity = "Common"
  74.     "rbxassetid://2867901783", --["Ice Cat"] // rarity = "Common"
  75.     "rbxassetid://2867899360", --Bat // rarity = "Common"
  76.     "rbxassetid://2882397782", --Wolf // rarity = "Common"
  77.     "rbxassetid://2867900855", --["Brown Fox"] // rarity = "Common"
  78.     "rbxassetid://2867899497", --["Blue Butterfly"] // rarity = "Common"
  79.     "rbxassetid://2867902934", --["Snow Fox"] // rarity = "Common"
  80.     "rbxassetid://2867902657", --["Red Butterfly"] // rarity = "Common"
  81.     "rbxassetid://2867902581", --["Polar Bear"] // rarity = "Common"
  82. }
  83. local UncommonIds = {
  84.     "rbxassetid://2867901021", --Bunny // rarity = "Uncommon"
  85.     "rbxassetid://2867902746", --["Ruby Bunny"] // rarity = "Uncommon"
  86.     "rbxassetid://2867903021", --["Stone Dog"] // rarity = "Uncommon"
  87.     "rbxassetid://2867902269", --["Midnight Cat"] // rarity = "Uncommon"
  88.     "rbxassetid://2867900945", --["Brown Wolf"] // rarity = "Uncommon"
  89.     "rbxassetid://2911638561", --["Youtube Cat"] // rarity = "Uncommon"
  90. }
  91. local RareIds = {
  92.     "rbxassetid://2867899292", --["Awesome Dog"] // rarity = "Rare"
  93.     "rbxassetid://2867902837", --["Sapphire Bunny"] // rarity = "Rare"
  94.     "rbxassetid://2867903214", --["Vampire Bat"] // rarity = "Rare"
  95.     "rbxassetid://2867901508", --["Flame Butterfly"] // rarity = "Rare"
  96.     "rbxassetid://2867901681", --["Frozen Wolf"] // rarity = "Rare"
  97.     "rbxassetid://2867903399", --Pegasus // rarity = "Rare"
  98.     "rbxassetid://2882848789", --Phoenix // rarity = "Rare"
  99.     "rbxassetid://2882868581", --["Demon Dragon"] // rarity = "Rare"
  100.     "rbxassetid://2911047813", --["Golden Cat"] // rarity = "Rare"
  101.     "rbxassetid://2911047925", --["Golden Dog"] // rarity = "Rare"
  102. }
  103. local EpicIds = {
  104.     "rbxassetid://2867899225", --["Angel Dog"] // rarity = "Epic"
  105.     "rbxassetid://2890673990", --Panda // rarity = "Epic"
  106.     "rbxassetid://2867902195", --["Midnight Bat" // rarity = "Epic"
  107.     "rbxassetid://2867899412", --["Black Bear"] // rarity = "Epic"
  108.     "rbxassetid://2867901341", --["Dark Unicorn"] // rarity = "Epic"
  109.     "rbxassetid://2867902048", --["Nova Fox"] // rarity = "Epic"
  110.     "rbxassetid://2911049629", --["Galaxy Dragon"] // rarity = "Epic"
  111. }
  112. local LegendaryIds = {
  113.     "rbxassetid://2867903124", --Unicorn // rarity = "Legendary"
  114.     "rbxassetid://2867899126", --["Android Dragon"] // rarity = "Legendary"
  115.     "rbxassetid://2867901873", --["Flame Fox"] // rarity = "Legendary"
  116.     "rbxassetid://2867903314", --["Vampire Dragon"] // rarity = "Legendary"
  117.     "rbxassetid://2867901180", --Cerberus // rarity = "Legendary"
  118.     "rbxassetid://2867902389", --["Monster Fox"] // rarity = "Legendary"
  119.     "rbxassetid://2868554099", --["Dark Serpent"] // rarity = "Legendary"
  120.     "rbxassetid://2912788391", --["Dark Phoenix"] // rarity = "Legendary"
  121.     "rbxassetid://2911048050", --["Luminous Fox"] // rarity = "Legendary"
  122.     "rbxassetid://1249021641", --Phowoenix // rarity = "Legendary"
  123. }
  124. local PremiumIds = {
  125.     "rbxassetid://2890673718", --["Candy Unicorn"] // rarity = "Premium"
  126.     "rbxassetid://2867901957", --["Flame Wolf"] // rarity = "Premium"
  127.     "rbxassetid://2867902128", --["Light Serpent"] // rarity = "Premium"
  128.     "rbxassetid://2890741059", --["Inferno Fox"] // rarity = "Premium"
  129. }
  130. --Properties:
  131. PetRanchSimulator.Name = "PetRanchSimulator"
  132. PetRanchSimulator.Parent = game.CoreGui
  133.  
  134. MainFrame.Name = "MainFrame"
  135. MainFrame.Parent = PetRanchSimulator
  136. MainFrame.BackgroundColor3 = Color3.new(0.490196, 0.490196, 0.490196)
  137. MainFrame.BorderColor3 = Color3.new(1, 1, 1)
  138. MainFrame.BorderSizePixel = 2
  139. MainFrame.Position = UDim2.new(0.00625485647, 0, 0.517282486, 0)
  140. MainFrame.Size = UDim2.new(0, 450, 0, 325)
  141. MainFrame.Active = true
  142. MainFrame.Draggable = true
  143.  
  144. YeetusDeletus.Name = "YeetusDeletus"
  145. YeetusDeletus.Parent = MainFrame
  146. YeetusDeletus.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  147. YeetusDeletus.BorderColor3 = Color3.new(1, 1, 1)
  148. YeetusDeletus.BorderSizePixel = 2
  149. YeetusDeletus.Position = UDim2.new(0.0337416567, 0, 0.27754283, 0)
  150. YeetusDeletus.Size = UDim2.new(0, 200, 0, 230)
  151.  
  152. Legendary.Name = "Legendary"
  153. Legendary.Parent = YeetusDeletus
  154. Legendary.BackgroundColor3 = Color3.new(1, 0, 0)
  155. Legendary.BorderColor3 = Color3.new(1, 1, 1)
  156. Legendary.BorderSizePixel = 2
  157. Legendary.LayoutOrder = 5
  158. Legendary.Position = UDim2.new(0.0549999997, 0, -0.123931631, 0)
  159. Legendary.Size = UDim2.new(0, 175, 0, 25)
  160. Legendary.Font = Enum.Font.SourceSans
  161. Legendary.Text = "Legendary"
  162. Legendary.TextColor3 = Color3.new(1, 1, 1)
  163. Legendary.TextSize = 14
  164.  
  165. Epic.Name = "Epic"
  166. Epic.Parent = YeetusDeletus
  167. Epic.BackgroundColor3 = Color3.new(1, 0, 0)
  168. Epic.BorderColor3 = Color3.new(1, 1, 1)
  169. Epic.BorderSizePixel = 2
  170. Epic.LayoutOrder = 4
  171. Epic.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  172. Epic.Size = UDim2.new(0, 175, 0, 25)
  173. Epic.Font = Enum.Font.SourceSans
  174. Epic.Text = "Epic"
  175. Epic.TextColor3 = Color3.new(1, 1, 1)
  176. Epic.TextSize = 14
  177.  
  178. Common.Name = "Common"
  179. Common.Parent = YeetusDeletus
  180. Common.BackgroundColor3 = Color3.new(1, 0, 0)
  181. Common.BorderColor3 = Color3.new(1, 1, 1)
  182. Common.BorderSizePixel = 2
  183. Common.LayoutOrder = 1
  184. Common.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  185. Common.Size = UDim2.new(0, 175, 0, 25)
  186. Common.Font = Enum.Font.SourceSans
  187. Common.Text = "Common"
  188. Common.TextColor3 = Color3.new(1, 1, 1)
  189. Common.TextSize = 14
  190.  
  191. Uncommon.Name = "Uncommon"
  192. Uncommon.Parent = YeetusDeletus
  193. Uncommon.BackgroundColor3 = Color3.new(1, 0, 0)
  194. Uncommon.BorderColor3 = Color3.new(1, 1, 1)
  195. Uncommon.BorderSizePixel = 2
  196. Uncommon.LayoutOrder = 2
  197. Uncommon.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  198. Uncommon.Size = UDim2.new(0, 175, 0, 25)
  199. Uncommon.Font = Enum.Font.SourceSans
  200. Uncommon.Text = "Uncommon"
  201. Uncommon.TextColor3 = Color3.new(1, 1, 1)
  202. Uncommon.TextSize = 14
  203.  
  204. Rare.Name = "Rare"
  205. Rare.Parent = YeetusDeletus
  206. Rare.BackgroundColor3 = Color3.new(1, 0, 0)
  207. Rare.BorderColor3 = Color3.new(1, 1, 1)
  208. Rare.BorderSizePixel = 2
  209. Rare.LayoutOrder = 3
  210. Rare.Position = UDim2.new(0.114999995, 0, -0.141025648, 0)
  211. Rare.Size = UDim2.new(0, 175, 0, 25)
  212. Rare.Font = Enum.Font.SourceSans
  213. Rare.Text = "Rare"
  214. Rare.TextColor3 = Color3.new(1, 1, 1)
  215. Rare.TextSize = 14
  216.  
  217. UIListLayout.Parent = YeetusDeletus
  218. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  219. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  220. UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Center
  221. UIListLayout.Padding = UDim.new(0.0500000007, 0)
  222.  
  223. Premium.Name = "Premium"
  224. Premium.Parent = YeetusDeletus
  225. Premium.BackgroundColor3 = Color3.new(1, 0, 0)
  226. Premium.BorderColor3 = Color3.new(1, 1, 1)
  227. Premium.BorderSizePixel = 2
  228. Premium.LayoutOrder = 6
  229. Premium.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  230. Premium.Size = UDim2.new(0, 175, 0, 25)
  231. Premium.Font = Enum.Font.SourceSans
  232. Premium.Text = "Premium"
  233. Premium.TextColor3 = Color3.new(1, 1, 1)
  234. Premium.TextSize = 14
  235.  
  236. Equip.Name = "Equip"
  237. Equip.Parent = MainFrame
  238. Equip.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  239. Equip.BorderColor3 = Color3.new(1, 1, 1)
  240. Equip.BorderSizePixel = 2
  241. Equip.Position = UDim2.new(0.574756384, 0, 0.112683572, 0)
  242. Equip.Size = UDim2.new(0, 150, 0, 30)
  243. Equip.Font = Enum.Font.SourceSans
  244. Equip.Text = "Equip Max Pets"
  245. Equip.TextColor3 = Color3.new(1, 1, 1)
  246. Equip.TextSize = 14
  247.  
  248. YeetusFetus.Name = "YeetusFetus"
  249. YeetusFetus.Parent = MainFrame
  250. YeetusFetus.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  251. YeetusFetus.BorderColor3 = Color3.new(1, 1, 1)
  252. YeetusFetus.BorderSizePixel = 2
  253. YeetusFetus.Position = UDim2.new(0.520408392, 0, 0.27754283, 0)
  254. YeetusFetus.Size = UDim2.new(0, 200, 0, 230)
  255.  
  256. UIListLayout_2.Parent = YeetusFetus
  257. UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
  258. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  259. UIListLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center
  260. UIListLayout_2.Padding = UDim.new(0.0500000007, 0)
  261.  
  262. Teir5Egg.Name = "Teir 5 Egg"
  263. Teir5Egg.Parent = YeetusFetus
  264. Teir5Egg.BackgroundColor3 = Color3.new(1, 0, 0)
  265. Teir5Egg.BorderColor3 = Color3.new(1, 1, 1)
  266. Teir5Egg.BorderSizePixel = 2
  267. Teir5Egg.LayoutOrder = 5
  268. Teir5Egg.Position = UDim2.new(0.0549999997, 0, -0.123931631, 0)
  269. Teir5Egg.Size = UDim2.new(0, 175, 0, 25)
  270. Teir5Egg.Font = Enum.Font.SourceSans
  271. Teir5Egg.Text = "Tier 5 Egg"
  272. Teir5Egg.TextColor3 = Color3.new(1, 1, 1)
  273. Teir5Egg.TextSize = 14
  274.  
  275. Teir4Egg.Name = "Teir 4 Egg"
  276. Teir4Egg.Parent = YeetusFetus
  277. Teir4Egg.BackgroundColor3 = Color3.new(1, 0, 0)
  278. Teir4Egg.BorderColor3 = Color3.new(1, 1, 1)
  279. Teir4Egg.BorderSizePixel = 2
  280. Teir4Egg.LayoutOrder = 4
  281. Teir4Egg.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  282. Teir4Egg.Size = UDim2.new(0, 175, 0, 25)
  283. Teir4Egg.Font = Enum.Font.SourceSans
  284. Teir4Egg.Text = "Tier 4 Egg"
  285. Teir4Egg.TextColor3 = Color3.new(1, 1, 1)
  286. Teir4Egg.TextSize = 14
  287.  
  288. Teir1Egg.Name = "Teir 1 Egg"
  289. Teir1Egg.Parent = YeetusFetus
  290. Teir1Egg.BackgroundColor3 = Color3.new(1, 0, 0)
  291. Teir1Egg.BorderColor3 = Color3.new(1, 1, 1)
  292. Teir1Egg.BorderSizePixel = 2
  293. Teir1Egg.LayoutOrder = 1
  294. Teir1Egg.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  295. Teir1Egg.Size = UDim2.new(0, 175, 0, 25)
  296. Teir1Egg.Font = Enum.Font.SourceSans
  297. Teir1Egg.Text = "Tier 1 Egg"
  298. Teir1Egg.TextColor3 = Color3.new(1, 1, 1)
  299. Teir1Egg.TextSize = 14
  300.  
  301. Teir2Egg.Name = "Teir 2 Egg"
  302. Teir2Egg.Parent = YeetusFetus
  303. Teir2Egg.BackgroundColor3 = Color3.new(1, 0, 0)
  304. Teir2Egg.BorderColor3 = Color3.new(1, 1, 1)
  305. Teir2Egg.BorderSizePixel = 2
  306. Teir2Egg.LayoutOrder = 2
  307. Teir2Egg.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  308. Teir2Egg.Size = UDim2.new(0, 175, 0, 25)
  309. Teir2Egg.Font = Enum.Font.SourceSans
  310. Teir2Egg.Text = "Tier 2 Egg"
  311. Teir2Egg.TextColor3 = Color3.new(1, 1, 1)
  312. Teir2Egg.TextSize = 14
  313.  
  314. Teir3Egg.Name = "Teir 3 Egg"
  315. Teir3Egg.Parent = YeetusFetus
  316. Teir3Egg.BackgroundColor3 = Color3.new(1, 0, 0)
  317. Teir3Egg.BorderColor3 = Color3.new(1, 1, 1)
  318. Teir3Egg.BorderSizePixel = 2
  319. Teir3Egg.LayoutOrder = 3
  320. Teir3Egg.Position = UDim2.new(0.114999995, 0, -0.141025648, 0)
  321. Teir3Egg.Size = UDim2.new(0, 175, 0, 25)
  322. Teir3Egg.Font = Enum.Font.SourceSans
  323. Teir3Egg.Text = "Tier 3 Egg"
  324. Teir3Egg.TextColor3 = Color3.new(1, 1, 1)
  325. Teir3Egg.TextSize = 14
  326.  
  327. RebirthEgg.Name = "Rebirth Egg"
  328. RebirthEgg.Parent = YeetusFetus
  329. RebirthEgg.BackgroundColor3 = Color3.new(1, 0, 0)
  330. RebirthEgg.BorderColor3 = Color3.new(1, 1, 1)
  331. RebirthEgg.BorderSizePixel = 2
  332. RebirthEgg.LayoutOrder = 6
  333. RebirthEgg.Position = UDim2.new(0.0599999987, 0, 0.0341880359, 0)
  334. RebirthEgg.Size = UDim2.new(0, 175, 0, 25)
  335. RebirthEgg.Font = Enum.Font.SourceSans
  336. RebirthEgg.Text = "Rebirth Egg"
  337. RebirthEgg.TextColor3 = Color3.new(1, 1, 1)
  338. RebirthEgg.TextSize = 14
  339.  
  340. Title.Name = "Title"
  341. Title.Parent = MainFrame
  342. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  343. Title.BackgroundTransparency = 1
  344. Title.Position = UDim2.new(0.332534194, 0, -0.000711294299, 0)
  345. Title.Size = UDim2.new(0, 150, 0, 30)
  346. Title.Font = Enum.Font.SourceSans
  347. Title.Text = "🐾Pet Ranch Simulator GUI"
  348. Title.TextColor3 = Color3.new(1, 1, 1)
  349. Title.TextSize = 14
  350.  
  351. Title_2.Name = "Title"
  352. Title_2.Parent = MainFrame
  353. Title_2.BackgroundColor3 = Color3.new(0, 0, 0)
  354. Title_2.BackgroundTransparency = 1
  355. Title_2.Position = UDim2.new(0.0331437178, 0, 0.204991266, 0)
  356. Title_2.Size = UDim2.new(0, 200, 0, 23)
  357. Title_2.Font = Enum.Font.SourceSans
  358. Title_2.Text = "Delete Tier"
  359. Title_2.TextColor3 = Color3.new(1, 1, 1)
  360. Title_2.TextSize = 14
  361.  
  362. Title_3.Name = "Title"
  363. Title_3.Parent = MainFrame
  364. Title_3.BackgroundColor3 = Color3.new(0, 0, 0)
  365. Title_3.BackgroundTransparency = 1
  366. Title_3.Position = UDim2.new(0.519810379, 0, 0.204991266, 0)
  367. Title_3.Size = UDim2.new(0, 200, 0, 23)
  368. Title_3.Font = Enum.Font.SourceSans
  369. Title_3.Text = "Open Egg"
  370. Title_3.TextColor3 = Color3.new(1, 1, 1)
  371. Title_3.TextSize = 14
  372.  
  373. Rainbow.Name = "Rainbow"
  374. Rainbow.Parent = MainFrame
  375. Rainbow.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  376. Rainbow.BorderColor3 = Color3.new(1, 1, 1)
  377. Rainbow.BorderSizePixel = 2
  378. Rainbow.Position = UDim2.new(0.0892971456, 0, 0.112683572, 0)
  379. Rainbow.Size = UDim2.new(0, 150, 0, 30)
  380. Rainbow.Font = Enum.Font.SourceSans
  381. Rainbow.Text = "Rainbow: Off"
  382. Rainbow.TextColor3 = Color3.new(1, 1, 1)
  383. Rainbow.TextSize = 14
  384.  
  385. Exit.Name = "Exit"
  386. Exit.Parent = MainFrame
  387. Exit.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  388. Exit.BorderColor3 = Color3.new(1, 1, 1)
  389. Exit.BorderSizePixel = 2
  390. Exit.Position = UDim2.new(0.942630529, 0, -0.00116257893, 0)
  391. Exit.Size = UDim2.new(0, 25, 0, 25)
  392. Exit.Font = Enum.Font.SourceSans
  393. Exit.Text = "X"
  394. Exit.TextColor3 = Color3.new(1, 1, 1)
  395. Exit.TextSize = 25
  396.  
  397. Minimis.Name = "Minimis"
  398. Minimis.Parent = MainFrame
  399. Minimis.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  400. Minimis.BorderColor3 = Color3.new(1, 1, 1)
  401. Minimis.BorderSizePixel = 2
  402. Minimis.Position = UDim2.new(0.873741627, 0, -0.00116257893, 0)
  403. Minimis.Size = UDim2.new(0, 25, 0, 25)
  404. Minimis.Font = Enum.Font.SourceSans
  405. Minimis.Text = "-"
  406. Minimis.TextColor3 = Color3.new(1, 1, 1)
  407. Minimis.TextSize = 50
  408.  
  409. TextButton.Parent = PetRanchSimulator
  410. TextButton.BackgroundColor3 = Color3.new(0.490196, 0.490196, 0.490196)
  411. TextButton.BorderColor3 = Color3.new(1, 1, 1)
  412. TextButton.BorderSizePixel = 2
  413. TextButton.Position = UDim2.new(0, 0, 0.911799788, 0)
  414. TextButton.Size = UDim2.new(0, 175, 0, 50)
  415. TextButton.Font = Enum.Font.SourceSans
  416. TextButton.Text = "Open"
  417. TextButton.TextColor3 = Color3.new(1, 1, 1)
  418. TextButton.TextSize = 14
  419. TextButton.Visible = false
  420.  
  421. -- Scripts:
  422. Exit.MouseButton1Click:connect(function()
  423.     PetRanchSimulator:Destroy()
  424. end)
  425.  
  426. Minimis.MouseButton1Click:connect(function()
  427.     MainFrame.Visible = false
  428.     TextButton.Visible = true
  429. end)
  430.  
  431. TextButton.MouseButton1Click:connect(function()
  432.     TextButton.Visible = false
  433.     MainFrame.Visible = true
  434. end)
  435.  
  436. local mre = game:GetService("ReplicatedStorage").RemoteEvents.MainRemoteEvent
  437.  
  438. function CommonDeletus()
  439.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  440.         if v:IsA("ImageButton") then
  441.             for i = 1,#CommonIds do
  442.                 if v.PetImage.Image == CommonIds[i] then
  443.                     mre:FireServer("DeletePetInInventory", v.Name)
  444.                 end
  445.             end
  446.         end
  447.     end
  448. end
  449.  
  450. function UncommonDeletus()
  451.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  452.         if v:IsA("ImageButton") then
  453.             for i = 1,#UncommonIds do
  454.                 if v.PetImage.Image == UncommonIds[i] then
  455.                     mre:FireServer("DeletePetInInventory", v.Name)
  456.                 end
  457.             end
  458.         end
  459.     end
  460. end
  461.  
  462. function RareDeletus()
  463.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  464.         if v:IsA("ImageButton") then
  465.             for i = 1,#RareIds do
  466.                 if v.PetImage.Image == RareIds[i] then
  467.                     mre:FireServer("DeletePetInInventory", v.Name)
  468.                 end
  469.             end
  470.         end
  471.     end
  472. end
  473.  
  474. function EpicDeletus()
  475.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  476.         if v:IsA("ImageButton") then
  477.             for i = 1,#EpicIds do
  478.                 if v.PetImage.Image == EpicIds[i] then
  479.                     mre:FireServer("DeletePetInInventory", v.Name)
  480.                 end
  481.             end
  482.         end
  483.     end
  484. end
  485.  
  486. function LegendaryDeletus()
  487.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  488.         if v:IsA("ImageButton") then
  489.             for i = 1,#LegendaryIds do
  490.                 if v.PetImage.Image == LegendaryIds[i] then
  491.                     mre:FireServer("DeletePetInInventory", v.Name)
  492.                 end
  493.             end
  494.         end
  495.     end
  496. end
  497.  
  498. function PremiumDeletus()
  499.     for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  500.         if v:IsA("ImageButton") then
  501.             for i = 1,#PremiumIds do
  502.                 if v.PetImage.Image == PremiumIds[i] then
  503.                     mre:FireServer("DeletePetInInventory", v.Name)
  504.                 end
  505.             end
  506.         end
  507.     end
  508. end
  509.  
  510. local mrf = game:GetService("ReplicatedStorage").RemoteFunctions.MainRemoteFunction
  511. function Open1Function()
  512.     mrf:InvokeServer("BuyEgg", "Tier1Egg")
  513. end
  514.  
  515. function Open2Function()
  516.     mrf:InvokeServer("BuyEgg", "Tier2Egg")
  517. end
  518.  
  519. function Open3Function()
  520.     mrf:InvokeServer("BuyEgg", "Tier3Egg")
  521. end
  522.  
  523. function Open4Function()
  524.     mrf:InvokeServer("BuyEgg", "Tier4Egg")
  525. end
  526.  
  527. function Open5Function()
  528.     mrf:InvokeServer("BuyEgg", "Tier5Egg")
  529. end
  530.  
  531. function OpenRebirthFunction()
  532.     mrf:InvokeServer("BuyEgg", "RebirthEgg")
  533. end
  534.  
  535. Common.MouseButton1Click:connect(function()
  536.     DeleteCommon = not DeleteCommon
  537.     if DeleteCommon then
  538.         Common.BackgroundColor3 = Color3.new(0,1,0)
  539.     else
  540.         Common.BackgroundColor3 = Color3.new(1,0,0)
  541.     end
  542. end)
  543.  
  544. Uncommon.MouseButton1Click:connect(function()
  545.     DeleteUncommon = not DeleteUncommon
  546.     if DeleteUncommon then
  547.         Uncommon.BackgroundColor3 = Color3.new(0,1,0)
  548.     else
  549.         Uncommon.BackgroundColor3 = Color3.new(1,0,0)
  550.     end
  551. end)
  552.  
  553. Rare.MouseButton1Click:connect(function()
  554.     DeleteRare = not DeleteRare
  555.     if DeleteRare then
  556.         Rare.BackgroundColor3 = Color3.new(0,1,0)
  557.     else
  558.         Rare.BackgroundColor3 = Color3.new(1,0,0)
  559.     end
  560. end)
  561.  
  562. Epic.MouseButton1Click:connect(function()
  563.     DeleteEpic = not DeleteEpic
  564.     if DeleteEpic then
  565.         Epic.BackgroundColor3 = Color3.new(0,1,0)
  566.     else
  567.         Epic.BackgroundColor3 = Color3.new(1,0,0)
  568.     end
  569. end)
  570.  
  571. Legendary.MouseButton1Click:connect(function()
  572.     DeleteLegendary = not DeleteLegendary
  573.     if DeleteLegendary then
  574.         Legendary.BackgroundColor3 = Color3.new(0,1,0)
  575.     else
  576.         Legendary.BackgroundColor3 = Color3.new(1,0,0)
  577.     end
  578. end)
  579.  
  580. Premium.MouseButton1Click:connect(function()
  581.     DeletePremium = not DeletePremium
  582.     if DeletePremium then
  583.         Premium.BackgroundColor3 = Color3.new(0,1,0)
  584.     else
  585.         Premium.BackgroundColor3 = Color3.new(1,0,0)
  586.     end
  587. end)
  588.  
  589. Teir1Egg.MouseButton1Click:connect(function()
  590.     Open1 = not Open1
  591.     if Open1 then
  592.         Teir1Egg.BackgroundColor3 = Color3.new(0,1,0)
  593.     else
  594.         Teir1Egg.BackgroundColor3 = Color3.new(1,0,0)
  595.     end
  596. end)
  597.  
  598. Teir2Egg.MouseButton1Click:connect(function()
  599.     Open2 = not Open2
  600.     if Open2 then
  601.         Teir2Egg.BackgroundColor3 = Color3.new(0,1,0)
  602.     else
  603.         Teir2Egg.BackgroundColor3 = Color3.new(1,0,0)
  604.     end
  605. end)
  606.  
  607. Teir3Egg.MouseButton1Click:connect(function()
  608.     Open3 = not Open3
  609.     if Open3 then
  610.         Teir3Egg.BackgroundColor3 = Color3.new(0,1,0)
  611.     else
  612.         Teir3Egg.BackgroundColor3 = Color3.new(1,0,0)
  613.     end
  614. end)
  615.  
  616. Teir4Egg.MouseButton1Click:connect(function()
  617.     Open4 = not Open4
  618.     if Open4 then
  619.         Teir4Egg.BackgroundColor3 = Color3.new(0,1,0)
  620.     else
  621.         Teir4Egg.BackgroundColor3 = Color3.new(1,0,0)
  622.     end
  623. end)
  624.  
  625. Teir5Egg.MouseButton1Click:connect(function()
  626.     Open5 = not Open5
  627.     if Open5 then
  628.         Teir5Egg.BackgroundColor3 = Color3.new(0,1,0)
  629.     else
  630.         Teir5Egg.BackgroundColor3 = Color3.new(1,0,0)
  631.     end
  632. end)
  633.  
  634. RebirthEgg.MouseButton1Click:connect(function()
  635.     OpenRebirth = not OpenRebirth
  636.     if OpenRebirth then
  637.         RebirthEgg.BackgroundColor3 = Color3.new(0,1,0)
  638.     else
  639.         RebirthEgg.BackgroundColor3 = Color3.new(1,0,0)
  640.     end
  641. end)
  642.  
  643. Equip.MouseButton1Click:connect(function()
  644. for _,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.CenterUIFrame.PetInventory.PetInventoryInnerFrame.PetInventoryScrollingFrame:GetChildren()) do
  645.     game:GetService("ReplicatedStorage").RemoteFunctions.MainRemoteFunction:InvokeServer("CreatePet", v.Name)
  646. end
  647. end)
  648.  
  649. local RainbowEnabled = false
  650. local rs = game:GetService("RunService")
  651. local RRAAIINNBBOOWWSS = {}
  652. local function rainbowify(obj, prop)
  653.     if type(obj) == "table" then
  654.         for i, v in pairs(obj) do
  655.             rainbowify(v, prop)
  656.         end
  657.     elseif type(prop) == "table" then
  658.         for i, v in pairs(prop) do
  659.             rainbowify(obj, v)
  660.         end
  661.     else
  662.         local ok, o = pcall(function()
  663.             return obj[prop]
  664.         end)
  665.         if ok then
  666.             table.insert(RRAAIINNBBOOWWSS, function(c)
  667.                 if c then
  668.                     obj[prop] = c
  669.                 else
  670.                     obj[prop] = o
  671.                 end
  672.             end)
  673.         end
  674.     end
  675. end
  676. do
  677.     local reset = true
  678.     rs.RenderStepped:connect(function()
  679.         if RainbowEnabled then
  680.             local c = Color3.fromHSV((tick() / 16) % 1, 1, 1)
  681.             for i = 1, #RRAAIINNBBOOWWSS do
  682.                 pcall(RRAAIINNBBOOWWSS[i], c)
  683.             end
  684.             reset = true
  685.         elseif reset then
  686.             for i = 1, #RRAAIINNBBOOWWSS do
  687.                 pcall(RRAAIINNBBOOWWSS[i], false)
  688.             end
  689.             reset = false
  690.         end
  691.     end)
  692. end
  693. rainbowify({
  694. PetRanchSimulator,
  695. MainFrame,
  696. YeetusDeletus,
  697. Legendary,
  698. Epic,
  699. Common,
  700. Uncommon,
  701. Rare,
  702. UIListLayout,
  703. Premium,
  704. Equip,
  705. YeetusFetus,
  706. UIListLayout_2,
  707. Teir5Egg,
  708. Teir4Egg,
  709. Teir1Egg,
  710. Teir2Egg,
  711. Teir3Egg,
  712. RebirthEgg,
  713. Title,
  714. Title_2,
  715. Title_3,
  716. Rainbow,
  717. Exit,
  718. Minimis,
  719. TextButton,
  720. }
  721. , {"BorderColor3", "TextColor3",})
  722.  
  723. Rainbow.MouseButton1Click:connect(function()
  724.     RainbowEnabled = not RainbowEnabled
  725.     if RainbowEnabled then
  726.         Rainbow.Text = "Rainbow: On"
  727.     else
  728.         Rainbow.Text = "Rainbow: Off"
  729.     end
  730. end)
  731. print("byte-chan™#5250 <3 ")
  732. loadstring(game:HttpGet("https://pastebin.com/raw/twKzauPW", true))() --REDEEM CODES
  733. coroutine.resume(coroutine.create(function()
  734.     local hb = game:GetService("RunService").Heartbeat
  735.     while true do
  736.         if Open1 then
  737.             Open1Function()
  738.         end
  739.         if Open2 then
  740.             Open2Function()
  741.         end
  742.         if Open3 then
  743.             Open3Function()
  744.         end
  745.         if Open4 then
  746.             Open4Function()
  747.         end
  748.         if Open5 then
  749.             Open5Function()
  750.         end
  751.         if OpenRebirth then
  752.             OpenRebirthFunction()
  753.         end
  754.         hb:wait()
  755.     end
  756. end))
  757.  
  758. while true do
  759.     wait(1)
  760. game:GetService("ReplicatedStorage").RemoteFunctions.MainRemoteFunction:InvokeServer("CollectTreasure", "TreasureChest")
  761.     if DeleteCommon then
  762.         CommonDeletus()
  763.     end
  764.     if DeleteUncommon then
  765.         UncommonDeletus()
  766.     end
  767.     if DeleteRare then
  768.         RareDeletus()
  769.     end
  770.     if DeleteEpic then
  771.         EpicDeletus()
  772.     end
  773.     if DeleteLegendary then
  774.         LegendaryDeletus()
  775.     end
  776.     if DeletePremium then
  777.         PremiumDeletus()
  778.     end
  779. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top