Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local PetSimGui = Instance.new("ScreenGui")
- local Open = Instance.new("Frame")
- local Clickopen = Instance.new("TextButton")
- local Menu = Instance.new("Frame")
- local Info = Instance.new("TextBox")
- local Separation = Instance.new("Frame")
- local LowFarm = Instance.new("TextButton")
- local MedFarm = Instance.new("TextButton")
- local MaxFarm = Instance.new("TextButton")
- local Farming = Instance.new("TextBox")
- local Separation1 = Instance.new("Frame")
- local BuyEggs = Instance.new("TextBox")
- local EggsTier10 = Instance.new("TextButton")
- local EggsTier11 = Instance.new("TextButton")
- local EggsTier12 = Instance.new("TextButton")
- local EggsTier13 = Instance.new("TextButton")
- local EggsTier14 = Instance.new("TextButton")
- local EggsTier15 = Instance.new("TextButton")
- local Separation2 = Instance.new("Frame")
- local Walkspeed = Instance.new("TextButton")
- local unlockall = Instance.new("TextButton")
- local JumpPower = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- --Properties:
- PetSimGui.Name = "PetSimGui"
- PetSimGui.Parent = game.CoreGui
- Open.Name = "Open"
- Open.Parent = PetSimGui
- Open.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- Open.BackgroundTransparency = 0.10000000149012
- Open.BorderColor3 = Color3.new(0, 0, 0)
- Open.BorderSizePixel = 2
- Open.Position = UDim2.new(0, 0, 0.472324699, 0)
- Open.Size = UDim2.new(0, 130, 0, 30)
- Clickopen.Name = "Clickopen"
- Clickopen.Parent = Open
- Clickopen.BackgroundColor3 = Color3.new(1, 1, 1)
- Clickopen.BackgroundTransparency = 1
- Clickopen.BorderSizePixel = 0
- Clickopen.Size = UDim2.new(0, 130, 0, 30)
- Clickopen.Font = Enum.Font.SciFi
- Clickopen.Text = "Open"
- Clickopen.TextColor3 = Color3.new(0, 0, 0)
- Clickopen.TextSize = 27
- Clickopen.MouseButton1Down:connect(function()
- Menu.Visible = true
- Open.Visible = false
- end)
- Menu.Name = "Menu"
- Menu.Parent = PetSimGui
- Menu.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Menu.BackgroundTransparency = 0.10000000149012
- Menu.BorderColor3 = Color3.new(0, 0, 0)
- Menu.BorderSizePixel = 2
- Menu.Position = UDim2.new(0.37956205, 0, 0.199261993, 0)
- Menu.Size = UDim2.new(0, 304, 0, 334)
- Menu.Visible = false
- Info.Name = "Info"
- Info.Parent = Menu
- Info.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- Info.BackgroundTransparency = 0.10000000149012
- Info.BorderColor3 = Color3.new(0, 0, 0)
- Info.BorderSizePixel = 0
- Info.Size = UDim2.new(0, 304, 0, 55)
- Info.Font = Enum.Font.Highway
- Info.Text = "Pet Simulator Gui"
- Info.TextColor3 = Color3.new(0, 0, 0)
- Info.TextSize = 33
- Info.TextWrapped = true
- Separation.Name = "Separation"
- Separation.Parent = Menu
- Separation.BackgroundColor3 = Color3.new(0, 0, 0)
- Separation.BackgroundTransparency = 0.10000000149012
- Separation.BorderSizePixel = 0
- Separation.Position = UDim2.new(0, 0, 0.164670661, 0)
- Separation.Size = UDim2.new(0, 304, 0, 6)
- LowFarm.Name = "LowFarm"
- LowFarm.Parent = Menu
- LowFarm.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- LowFarm.BackgroundTransparency = 0.10000000149012
- LowFarm.BorderColor3 = Color3.new(0, 0, 0)
- LowFarm.BorderSizePixel = 2
- LowFarm.Position = UDim2.new(0, 0, 0.302395225, 0)
- LowFarm.Size = UDim2.new(0, 95, 0, 35)
- LowFarm.Font = Enum.Font.Cartoon
- LowFarm.Text = "Low Farm"
- LowFarm.TextColor3 = Color3.new(1, 1, 1)
- LowFarm.TextSize = 18
- MedFarm.Name = "MedFarm"
- MedFarm.Parent = Menu
- MedFarm.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- MedFarm.BackgroundTransparency = 0.10000000149012
- MedFarm.BorderColor3 = Color3.new(0, 0, 0)
- MedFarm.BorderSizePixel = 2
- MedFarm.Position = UDim2.new(0.342105269, 0, 0.302395225, 0)
- MedFarm.Size = UDim2.new(0, 95, 0, 35)
- MedFarm.Font = Enum.Font.Cartoon
- MedFarm.Text = "Med Farm"
- MedFarm.TextColor3 = Color3.new(1, 1, 1)
- MedFarm.TextSize = 18
- MaxFarm.Name = "MaxFarm"
- MaxFarm.Parent = Menu
- MaxFarm.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- MaxFarm.BackgroundTransparency = 0.10000000149012
- MaxFarm.BorderColor3 = Color3.new(0, 0, 0)
- MaxFarm.BorderSizePixel = 2
- MaxFarm.Position = UDim2.new(0.6875, 0, 0.302395225, 0)
- MaxFarm.Size = UDim2.new(0, 95, 0, 35)
- MaxFarm.Font = Enum.Font.Cartoon
- MaxFarm.Text = "Max Farm"
- MaxFarm.TextColor3 = Color3.new(1, 1, 1)
- MaxFarm.TextSize = 18
- Farming.Name = "Farming"
- Farming.Parent = Menu
- Farming.BackgroundColor3 = Color3.new(1, 1, 1)
- Farming.BackgroundTransparency = 1
- Farming.BorderSizePixel = 0
- Farming.Position = UDim2.new(0, 0, 0.182634726, 0)
- Farming.Size = UDim2.new(0, 304, 0, 33)
- Farming.Font = Enum.Font.Fantasy
- Farming.Text = "Farming"
- Farming.TextColor3 = Color3.new(1, 1, 1)
- Farming.TextSize = 25
- Separation1.Name = "Separation 1"
- Separation1.Parent = Menu
- Separation1.BackgroundColor3 = Color3.new(0, 0, 0)
- Separation1.BackgroundTransparency = 0.10000000149012
- Separation1.BorderSizePixel = 0
- Separation1.Position = UDim2.new(-0.00328947371, 0, 0.425149709, 0)
- Separation1.Size = UDim2.new(0, 305, 0, 6)
- BuyEggs.Name = "Buy Eggs"
- BuyEggs.Parent = Menu
- BuyEggs.BackgroundColor3 = Color3.new(1, 1, 1)
- BuyEggs.BackgroundTransparency = 1
- BuyEggs.BorderSizePixel = 0
- BuyEggs.Position = UDim2.new(0, 0, 0.443113774, 0)
- BuyEggs.Size = UDim2.new(0, 304, 0, 30)
- BuyEggs.Font = Enum.Font.Fantasy
- BuyEggs.Text = "Buy eggs"
- BuyEggs.TextColor3 = Color3.new(1, 1, 1)
- BuyEggs.TextSize = 25
- EggsTier10.Name = "Eggs Tier 10"
- EggsTier10.Parent = Menu
- EggsTier10.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier10.BackgroundTransparency = 0.10000000149012
- EggsTier10.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier10.BorderSizePixel = 2
- EggsTier10.Position = UDim2.new(0, 0, 0.553892195, 0)
- EggsTier10.Size = UDim2.new(0, 95, 0, 35)
- EggsTier10.Font = Enum.Font.Cartoon
- EggsTier10.Text = "Eggs Tier 10"
- EggsTier10.TextColor3 = Color3.new(1, 1, 1)
- EggsTier10.TextSize = 17
- EggsTier11.Name = "Eggs Tier 11"
- EggsTier11.Parent = Menu
- EggsTier11.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier11.BackgroundTransparency = 0.10000000149012
- EggsTier11.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier11.BorderSizePixel = 2
- EggsTier11.Position = UDim2.new(0.342105269, 0, 0.553892195, 0)
- EggsTier11.Size = UDim2.new(0, 95, 0, 35)
- EggsTier11.Font = Enum.Font.Cartoon
- EggsTier11.Text = "Eggs Tier 11"
- EggsTier11.TextColor3 = Color3.new(1, 1, 1)
- EggsTier11.TextSize = 17
- EggsTier12.Name = "Eggs Tier 12"
- EggsTier12.Parent = Menu
- EggsTier12.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier12.BackgroundTransparency = 0.10000000149012
- EggsTier12.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier12.BorderSizePixel = 2
- EggsTier12.Position = UDim2.new(0.6875, 0, 0.553892195, 0)
- EggsTier12.Size = UDim2.new(0, 95, 0, 35)
- EggsTier12.Font = Enum.Font.Cartoon
- EggsTier12.Text = "Eggs Tier 12"
- EggsTier12.TextColor3 = Color3.new(1, 1, 1)
- EggsTier12.TextSize = 17
- EggsTier13.Name = "Eggs Tier 13"
- EggsTier13.Parent = Menu
- EggsTier13.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier13.BackgroundTransparency = 0.10000000149012
- EggsTier13.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier13.BorderSizePixel = 2
- EggsTier13.Position = UDim2.new(-0.00328947371, 0, 0.682634711, 0)
- EggsTier13.Size = UDim2.new(0, 96, 0, 35)
- EggsTier13.Font = Enum.Font.Cartoon
- EggsTier13.Text = "Eggs Tier 13"
- EggsTier13.TextColor3 = Color3.new(1, 1, 1)
- EggsTier13.TextSize = 17
- EggsTier14.Name = "Eggs Tier 14"
- EggsTier14.Parent = Menu
- EggsTier14.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier14.BackgroundTransparency = 0.10000000149012
- EggsTier14.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier14.BorderSizePixel = 2
- EggsTier14.Position = UDim2.new(0.342105269, 0, 0.682634711, 0)
- EggsTier14.Size = UDim2.new(0, 95, 0, 35)
- EggsTier14.Font = Enum.Font.Cartoon
- EggsTier14.Text = "Eggs Tier 14"
- EggsTier14.TextColor3 = Color3.new(1, 1, 1)
- EggsTier14.TextSize = 17
- EggsTier15.Name = "Eggs Tier 15"
- EggsTier15.Parent = Menu
- EggsTier15.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- EggsTier15.BackgroundTransparency = 0.10000000149012
- EggsTier15.BorderColor3 = Color3.new(0, 0, 0)
- EggsTier15.BorderSizePixel = 2
- EggsTier15.Position = UDim2.new(0.6875, 0, 0.682634711, 0)
- EggsTier15.Size = UDim2.new(0, 95, 0, 35)
- EggsTier15.Font = Enum.Font.Cartoon
- EggsTier15.Text = "Eggs Tier 15"
- EggsTier15.TextColor3 = Color3.new(1, 1, 1)
- EggsTier15.TextSize = 17
- Separation2.Name = "Separation 2"
- Separation2.Parent = Menu
- Separation2.BackgroundColor3 = Color3.new(0, 0, 0)
- Separation2.BackgroundTransparency = 0.10000000149012
- Separation2.BorderSizePixel = 0
- Separation2.Position = UDim2.new(0, 0, 0.805389225, 0)
- Separation2.Size = UDim2.new(0, 305, 0, 6)
- Walkspeed.Name = "Walkspeed"
- Walkspeed.Parent = Menu
- Walkspeed.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- Walkspeed.BackgroundTransparency = 0.10000000149012
- Walkspeed.BorderColor3 = Color3.new(0, 0, 0)
- Walkspeed.BorderSizePixel = 2
- Walkspeed.Position = UDim2.new(0, 0, 0.865269423, 0)
- Walkspeed.Size = UDim2.new(0, 95, 0, 35)
- Walkspeed.Font = Enum.Font.Cartoon
- Walkspeed.Text = "Walkspeed"
- Walkspeed.TextColor3 = Color3.new(1, 1, 1)
- Walkspeed.TextSize = 17
- Walkspeed.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 200
- end)
- unlockall.Name = "unlock all"
- unlockall.Parent = Menu
- unlockall.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- unlockall.BackgroundTransparency = 0.10000000149012
- unlockall.BorderColor3 = Color3.new(0, 0, 0)
- unlockall.BorderSizePixel = 2
- unlockall.Position = UDim2.new(0.342105269, 0, 0.865269423, 0)
- unlockall.Size = UDim2.new(0, 95, 0, 35)
- unlockall.Font = Enum.Font.Cartoon
- unlockall.Text = "Unlock All"
- unlockall.TextColor3 = Color3.new(1, 1, 1)
- unlockall.TextSize = 17
- JumpPower.Name = "JumpPower"
- JumpPower.Parent = Menu
- JumpPower.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- JumpPower.BackgroundTransparency = 0.10000000149012
- JumpPower.BorderColor3 = Color3.new(0, 0, 0)
- JumpPower.BorderSizePixel = 2
- JumpPower.Position = UDim2.new(0.6875, 0, 0.865269423, 0)
- JumpPower.Size = UDim2.new(0, 95, 0, 35)
- JumpPower.Font = Enum.Font.Cartoon
- JumpPower.Text = "JumpPower"
- JumpPower.TextColor3 = Color3.new(1, 1, 1)
- JumpPower.TextSize = 17
- JumpPower.MouseButton1Down:connect(function()
- game:service('Players').LocalPlayer.Character.Humanoid.JumpPower = 200
- end)
- Close.Name = "Close"
- Close.Parent = Menu
- Close.BackgroundColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- Close.BackgroundTransparency = 1
- Close.BorderColor3 = Color3.new(0, 0, 0)
- Close.BorderSizePixel = 2
- Close.Position = UDim2.new(0.888157904, 0, 0, 0)
- Close.Size = UDim2.new(0, 34, 0, 35)
- Close.Font = Enum.Font.Arial
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 0, 0.0156863)
- Close.TextSize = 20
- Close.MouseButton1Down:connect(function()
- Open.Visible = true
- Menu.Visible = false
- end)
- -- Scripts:
- LowFarm.MouseButton1Down:connect(function()
- local amount = 1000
- local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
- local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
- local plr = game:GetService("Players").LocalPlayer
- local petids = {}
- local pets = game:GetService("Workspace")["__REMOTES"].Pets
- local a = #save[plr.Name]["Save"]["Pets"]
- local done = "lol meme"
- function random(t)
- local keys = {}
- for key, value in pairs(t) do
- keys[#keys+1] = key
- end
- index = keys[math.random(1, #keys)]
- return t[index]
- end
- for i=1,a do
- if(save[plr.Name]["Save"]["Pets"][a].e == true) then
- table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
- end
- a = a - 1
- end
- function co(b)
- local done = b
- print("Mining coin: " .. b.Name)
- while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
- warn(b.Name .. "- Health: " .. b.Health.Value)
- wait(0.2)
- coins:FireServer("Mine",b.Name, amount, random(petids))
- end
- end
- for _,b in next, workspace.__THINGS.Coins:GetChildren() do
- if(done ~= b) then
- coroutine.wrap(function()co(b)end)()
- end
- end
- end)
- MedFarm.MouseButton1Down:connect(function()
- local amount = 5000
- local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
- local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
- local plr = game:GetService("Players").LocalPlayer
- local petids = {}
- local pets = game:GetService("Workspace")["__REMOTES"].Pets
- local a = #save[plr.Name]["Save"]["Pets"]
- local done = "lol meme"
- function random(t)
- local keys = {}
- for key, value in pairs(t) do
- keys[#keys+1] = key
- end
- index = keys[math.random(1, #keys)]
- return t[index]
- end
- for i=1,a do
- if(save[plr.Name]["Save"]["Pets"][a].e == true) then
- table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
- end
- a = a - 1
- end
- function co(b)
- local done = b
- print("Mining coin: " .. b.Name)
- while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
- warn(b.Name .. "- Health: " .. b.Health.Value)
- wait(0.2)
- coins:FireServer("Mine",b.Name, amount, random(petids))
- end
- end
- for _,b in next, workspace.__THINGS.Coins:GetChildren() do
- if(done ~= b) then
- coroutine.wrap(function()co(b)end)()
- end
- end
- end)
- MaxFarm.MouseButton1Down:connect(function()
- local amount = 6898
- local coins = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Coins")
- local save = game.Workspace:WaitForChild("__REMOTES"):WaitForChild("Get Other Stats"):InvokeServer()
- local plr = game:GetService("Players").LocalPlayer
- local petids = {}
- local pets = game:GetService("Workspace")["__REMOTES"].Pets
- local a = #save[plr.Name]["Save"]["Pets"]
- local done = "lol meme"
- function random(t)
- local keys = {}
- for key, value in pairs(t) do
- keys[#keys+1] = key
- end
- index = keys[math.random(1, #keys)]
- return t[index]
- end
- for i=1,a do
- if(save[plr.Name]["Save"]["Pets"][a].e == true) then
- table.insert(petids, save[plr.Name]["Save"]["Pets"][a].id)
- end
- a = a - 1
- end
- function co(b)
- local done = b
- print("Mining coin: " .. b.Name)
- while(b:FindFirstChild"Health" ~= nil and b:FindFirstChild"Health".Value > 0) do
- warn(b.Name .. "- Health: " .. b.Health.Value)
- wait(0.2)
- coins:FireServer("Mine",b.Name, amount, random(petids))
- end
- end
- for _,b in next, workspace.__THINGS.Coins:GetChildren() do
- if(done ~= b) then
- coroutine.wrap(function()co(b)end)()
- end
- end
- end)
- unlockall.MouseButton1Down:connect(function()
- local barriers_table = { "Barrier1", "Barrier2", "Barrier3", "Barrier4", "Barrier5" }
- local barriers = game:GetService("Workspace").__THINGS["Barriers"]
- barriers:Destroy()
- end)
- EggsTier10.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 10"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- EggsTier11.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 11"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- EggsTier12.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 12"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- EggsTier13.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 13"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- EggsTier14.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 14"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- EggsTier15.MouseButton1Down:connect(function()
- local A_1 = "Buy"
- local A_2 = "Egg"
- local A_3 = "Tier 15"
- local Event = game:GetService("Workspace")["__REMOTES"].Shop
- Event:InvokeServer(A_1, A_2, A_3)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement