KrystekYY

Untitled

Sep 18th, 2021
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. -- init
  3. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/KrystekYT/VenyxUI-Colored/main/petsimxVenyx"))()
  4. local venyx = library.new("PSX | KrystekYT", 5013109572)
  5.  
  6. -- themes
  7. local themes = {
  8. Background = Color3.fromRGB(24, 24, 24),
  9. Glow = Color3.fromRGB(0, 0, 0),
  10. Accent = Color3.fromRGB(10, 10, 10),
  11. LightContrast = Color3.fromRGB(20, 20, 20),
  12. DarkContrast = Color3.fromRGB(14, 14, 14),
  13. TextColor = Color3.fromRGB(0, 255, 255)
  14. }
  15.  
  16. -------------------------------------------------------------------------------------------------
  17. -- credits page
  18. local page = venyx:addPage("Credits", 5012544693)
  19. local Credits = page:addSection("Authors:")
  20. local Credits2 = page:addSection("!KrystekYT#8687")
  21.  
  22. -------------------------------------------------------------------------------------------------
  23. -- page1
  24.  
  25.  
  26. local page = venyx:addPage("Main", 5012544693)
  27. local section1 = page:addSection("Farming")
  28.  
  29. -------------------------------------------------------------------------------------------------
  30. -- Misc page
  31. local page = venyx:addPage("Misc", 5012544693)
  32. local misc1 = page:addSection("Misc")
  33.  
  34. -------------------------------------------------------------------------------------------------
  35.  
  36. -- Egg page
  37. local page = venyx:addPage("Eggs", 5012544693)
  38. local misc2 = page:addSection("Eggs")
  39. -------------------------------------------------------------------------------------------------
  40.  
  41. local WorldList = {"Spawn", "Fantasy"}
  42.  
  43. section1:addDropdown("Select World", WorldList, function(worldfunc)
  44. if worldfunc then
  45. _G.worldfunc = worldfunc
  46. end
  47. print("World: ", worldfunc)
  48. end)
  49. --------------------------------
  50.  
  51.  
  52. local Coins = {}
  53. for i,v in pairs(game.ReplicatedStorage.Game.Coins:GetChildren()) do
  54. for i2,v2 in pairs(v:GetChildren()) do
  55. table.insert(Coins, v2.Name)
  56. end
  57. end
  58. table.foreach(Coins, print)
  59.  
  60.  
  61. section1:addDropdown("Select Location", Coins, function(mapafunc)
  62. if mapafunc then
  63. _G.mapafunc = mapafunc
  64. end
  65. print("Area: ", mapafunc)
  66. end)
  67.  
  68. -------------------------------------------------------------------------------------------------
  69.  
  70. section1:addToggle("Auto Farm Gems", false, function(checkfantasy)
  71.  
  72. if checkfantasy == true then
  73. _G.StopFantasy = false
  74. elseif checkfantasy == false then
  75. _G.StopFantasy = true
  76. end
  77.  
  78.  
  79. function FarmCoin(CoinID, PetID)
  80. game.workspace['__THINGS']['__REMOTES']["join coin"]:InvokeServer({[1] = CoinID, [2] = {[1] = PetID}})
  81. game.workspace['__THINGS']['__REMOTES']["farm coin"]:FireServer({[1] = CoinID, [2] = PetID})
  82. end
  83.  
  84. function GetMyPets()
  85. local returntable = {}
  86. for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets:GetChildren()) do
  87. if v.ClassName == 'TextButton' and v.Equipped.Visible then
  88. table.insert(returntable, v.Name)
  89. end
  90. end
  91. return returntable
  92. end
  93.  
  94. function GetCoins(world, area)
  95. local returntable = {}
  96. local ListCoins = game.workspace['__THINGS']['__REMOTES']["get coins"]:InvokeServer({})[1]
  97. for i,v in pairs(ListCoins) do
  98. if string.lower(v.w) == string.lower(world) and string.lower(v.a) == string.lower(area) then
  99. table.insert(returntable, i)
  100. end
  101. end
  102. return returntable
  103. end
  104.  
  105. function CollectOrbs()
  106. local ohTable1 = {[1] = {}}
  107. for i,v in pairs(game.workspace['__THINGS'].Orbs:GetChildren()) do
  108. ohTable1[1][i] = v.Name
  109. end
  110. game.workspace['__THINGS']['__REMOTES']["claim orbs"]:FireServer(ohTable1)
  111. end
  112.  
  113.  
  114. while wait() and not _G.StopFantasy do
  115. --print("World Farm: ", _G.worldfunc)
  116. --print("Area Farm: ", _G.mapafunc)
  117. local cointhiny = GetCoins(_G.worldfunc, _G.mapafunc)
  118. local pethingy = GetMyPets()
  119. for i = 1, #cointhiny do
  120. pcall(function() FarmCoin(cointhiny[i], pethingy[i%#pethingy+1]) end)
  121. pcall(function() CollectOrbs() end)
  122. end
  123. end
  124. end)
  125.  
  126. -------------------------------------------------------------------------------------------------
  127.  
  128. section1:addToggle("Auto Collect Orbs", false, function(autocollecting)
  129.  
  130. if autocollecting == true then
  131. _G.CollectOrbs = false
  132. elseif autocollecting == false then
  133. _G.CollectOrbs = true
  134. end
  135.  
  136. function CollectOrbs()
  137. local ohTable1 = {[1] = {}}
  138. for i,v in pairs(game.workspace['__THINGS'].Orbs:GetChildren()) do
  139. ohTable1[1][i] = v.Name
  140. end
  141. game.workspace['__THINGS']['__REMOTES']["claim orbs"]:FireServer(ohTable1)
  142. end
  143.  
  144. while wait() and not _G.CollectOrbs do
  145. pcall(function() CollectOrbs() end)
  146. end
  147. end)
  148.  
  149.  
  150. -------------------------------------------------------------------------------------------------
  151.  
  152. misc1:addButton("Anti AFK Script", function()
  153. wait(0.5)local ba=Instance.new("ScreenGui")
  154. local ca=Instance.new("TextLabel")local da=Instance.new("Frame")
  155. local _b=Instance.new("TextLabel")local ab=Instance.new("TextLabel")ba.Parent=game.CoreGui
  156. ba.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;ca.Parent=ba;ca.Active=true
  157. ca.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ca.Draggable=true
  158. ca.Position=UDim2.new(0.698610067,0,0.098096624,0)ca.Size=UDim2.new(0,370,0,52)
  159. ca.Font=Enum.Font.SourceSansSemibold;ca.Text="Anti AFK Script"ca.TextColor3=Color3.new(0,1,1)
  160. ca.TextSize=22;da.Parent=ca
  161. da.BackgroundColor3=Color3.new(0.196078,0.196078,0.196078)da.Position=UDim2.new(0,0,1.0192306,0)
  162. da.Size=UDim2.new(0,370,0,107)_b.Parent=da
  163. _b.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)_b.Position=UDim2.new(0,0,0.800455689,0)
  164. _b.Size=UDim2.new(0,370,0,21)_b.Font=Enum.Font.Arial;_b.Text="Made by Krystek"
  165. _b.TextColor3=Color3.new(0,1,1)_b.TextSize=20;ab.Parent=da
  166. ab.BackgroundColor3=Color3.new(0.176471,0.176471,0.176471)ab.Position=UDim2.new(0,0,0.158377,0)
  167. ab.Size=UDim2.new(0,370,0,44)ab.Font=Enum.Font.ArialBold;ab.Text="Status: Aktywny"
  168. ab.TextColor3=Color3.new(0,1,1)ab.TextSize=20;local bb=game:service'VirtualUser'
  169. game:service'Players'.LocalPlayer.Idled:connect(function()
  170. bb:CaptureController()bb:ClickButton2(Vector2.new())
  171. ab.Text="Roblox"wait(2)ab.Text="Status : Aktywny"end)
  172. end)
  173.  
  174. -------------------------------------------------------------------------------------------------
  175.  
  176. misc1:addButton("Execute Farm Gui", function()
  177. loadstring(game:HttpGet("https://raw.githubusercontent.com/KrystekYT/PetSimulatorX/main/floppa.lua"))()
  178. end)
  179.  
  180. -------------------------------------------------------------------------------------------------
  181.  
  182. misc1:addButton("Merchant Logger", function()
  183. print("Merchant Logger Enabled")
  184. loadstring(game:HttpGet("https://raw.githubusercontent.com/KrystekYT/PetSimulatorX/main/merchantnotify.lua"))()
  185. end)
  186.  
  187.  
  188. ----------
  189. section1:addButton("Nothing", function(idiota)
  190. if idiota then
  191. venyx:Notify("Nothing", "You are idiot")
  192. end
  193. --nic nie ma
  194. end)
  195.  
  196.  
  197. -------------------------------------------------------------------------------------------------
  198. --page2
  199.  
  200. misc2:addButton("Delete Egg Animation", function()
  201. for i,v in pairs(getgc(true)) do
  202. if (typeof(v) == 'table' and rawget(v, 'OpenEgg')) then
  203. v.OpenEgg = function()
  204. return
  205. end
  206. end
  207. end
  208. end)
  209.  
  210. -------------------------------------------------------------------------------------------------
  211.  
  212. misc2:addToggle("Triple Egg Gamepass", false, function(triplegamepass)
  213.  
  214. if triplegamepass == true then
  215. _G.TripleEgg = true
  216. elseif triplegamepass == false then
  217. _G.TripleEgg = false
  218. end
  219. end)
  220.  
  221. _G.TripleEgg = false
  222.  
  223. -------------------------------------------------------------------------------------------------
  224.  
  225. local Eggs = {}
  226. for i,v in pairs(game.ReplicatedStorage.Game.Eggs:GetChildren()) do
  227. for i2,v2 in pairs(v:GetChildren()) do
  228. table.insert(Eggs, v2.Name)
  229. end
  230. end
  231. table.foreach(Eggs, print)
  232.  
  233. misc2:addDropdown("Select Egg", Eggs, function(eggor)
  234. if eggor then
  235. _G.Egg = eggor
  236. end
  237. --print("Text: ", eggor)
  238. --print("_G.Egg: ", _G.Egg)
  239. end)
  240. ----------------------------
  241.  
  242. misc2:addToggle("Auto Open Egg", nil, function(dropegg)
  243. shared.toggle3drop = dropegg
  244. end)
  245. local openeegg = eggor
  246. game:GetService("RunService").RenderStepped:connect(function()
  247. if shared.toggle3drop then
  248. --print("Egg: ", _G.Egg)
  249. --print("Triple Egg GamePasse: ", _G.TripleEgg)
  250. local ohTable1 = {
  251. [1] = _G.Egg,
  252. [2] = _G.TripleEgg
  253. }
  254. workspace.__THINGS.__REMOTES["buy egg"]:InvokeServer(ohTable1)
  255. wait(0.5)
  256. end
  257. end)
  258.  
  259.  
  260. -------------------------------------------------------------------------------------------------
  261. --page3
  262.  
  263.  
  264. misc1:addToggle("Auto Collect Rewards", false, function(rewards)
  265. shared.toggle3rewards = rewards
  266. game:GetService("RunService").RenderStepped:connect(function()
  267. if shared.toggle3rewards then
  268. workspace.__THINGS.__REMOTES["redeem vip rewards"]:InvokeServer({})
  269. workspace.__THINGS.__REMOTES["redeem rank rewards"]:InvokeServer({})
  270. end
  271. ------------
  272.  
  273. --if shared.toggle3rewards == true then
  274. --if game:GetService("Workspace")["__MAP"].Interactive["Rank Rewards"].Pad.BillboardGui.Timer.Text == "Redeem!" and game:GetService("Workspace")["__MAP"].Interactive["Rank Rewards"].Pad.BillboardGui.Timer.Text == "Redeem!" then
  275. --local Library = require(game:GetService("ReplicatedStorage").Framework.Library)
  276. --Library.Network.Invoke("redeem rank rewards", {})
  277. --end
  278. --end
  279. end)
  280. end)
  281.  
  282.  
  283. -------------------------------------------------------------------------------------------------
  284.  
  285.  
  286. misc1:addToggle("Give GamePasses", false, function(gamepasses)
  287. shared.toggle3gamepasses = gamepasses
  288. game:GetService("RunService").RenderStepped:connect(function()
  289. if shared.toggle3gamepasses then
  290. local main = debug.getupvalues(require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library")).Save.Get)[2][game.Players.LocalPlayer].save.Gamepasses
  291. table.insert(main,18674296)
  292. table.insert(main,18674298)
  293. table.insert(main,18674321)
  294. table.insert(main,21176989)
  295. table.insert(main,21583760)
  296. table.insert(main,21641016)
  297. end
  298. end)
  299. end)
  300. -------------------------------------------------------------------------------------------------
  301.  
  302. misc1:addButton("Stats Tracker", function()
  303.  
  304. local menus = game:GetService("Players").LocalPlayer.PlayerGui.Main.Right
  305. local types = {'Fantasy Coins', 'Coins', 'Diamonds'}
  306. _G.MyTypes = {}
  307.  
  308. --skidded from https://devforum.roblox.com/t/how-would-i-make-a-large-number-have-commas/384427/7 sorry
  309. function comma_value(amount)
  310. local formatted = amount
  311. while true do
  312. formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2')
  313. if (k==0) then
  314. break
  315. end
  316. end
  317. return formatted
  318. end
  319.  
  320. function get(thistype)
  321. return string.gsub(game.Players.LocalPlayer.PlayerGui.Main.Right[thistype].Amount.Text, ",", "")
  322. end
  323.  
  324. game:GetService("Players").LocalPlayer.PlayerGui.Main.Right.Coins.LayoutOrder = 99997
  325. game:GetService("Players").LocalPlayer.PlayerGui.Main.Right.UIListLayout.HorizontalAlignment = 2
  326.  
  327. for i,v in pairs(types) do
  328. if not menus:FindFirstChild(v.."2") then
  329. local tempmaker = menus:FindFirstChild(v):Clone()
  330. tempmaker.Name = tostring(tempmaker.Name .. "2")
  331. tempmaker.Parent = menus
  332. tempmaker.Size = UDim2.new(0, 200, 0, 35)
  333. _G.MyTypes[v] = tempmaker
  334.  
  335. end
  336. end
  337.  
  338. game:GetService("Players").LocalPlayer.PlayerGui.Main.Right.Diamonds2.Add.Visible = false
  339.  
  340. for i,v in pairs(types) do
  341. spawn(function()
  342. local megatable = {}
  343. local imaginaryi = 1
  344. while wait(0.5) and not _G.stop do
  345. local currentbal = get(v)
  346. megatable[imaginaryi] = currentbal
  347. local diffy = currentbal - (megatable[imaginaryi-120] or megatable[1])
  348. imaginaryi = imaginaryi + 1
  349. _G.MyTypes[v].Amount.Text = tostring(comma_value(diffy).." in 60s")
  350. _G.MyTypes[v]["Amount_odometerGUIFX"].Text = tostring(comma_value(diffy).." in 60s")
  351. end
  352. end)
  353. end
  354. end)
  355.  
  356. -------------------------------------------------------------------------------------------------
  357. -- settings page
  358. local page = venyx:addPage("Settings", 5012544693)
  359. local Settings1 = page:addSection("Settings")
  360. local Settings2 = page:addSection("Theme")
  361. Settings1:addKeybind("Toggle Keybind Menu", Enum.KeyCode.RightShift, function()
  362. venyx:toggle()
  363. end, function()
  364. end)
  365.  
  366. ------------------------
  367.  
  368. for theme, color in pairs(themes) do -- all in one theme changer, i know, im cool
  369. Settings2:addColorPicker(theme, color, function(color3)
  370. venyx:setTheme(theme, color3)
  371. end)
  372. end
  373. -------------------------------------------------------------------------------------------------
  374.  
  375. Settings1:addButton("Destroy GUI", function()
  376. game:GetService("CoreGui")["PSX | KrystekYT"]:Destroy()
  377. print("GUI Destroyed")
  378. end)
  379.  
  380. -- load
  381. venyx:SelectPage(venyx.pages[1], true)
RAW Paste Data