Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Made By mamdoh987 { Don't Copy this }
- local PetGui = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local TitleGui = Instance.new("TextLabel")
- local TutupMain = Instance.new("TextButton")
- local TundaMain = Instance.new("TextButton")
- local MoneyFarm = Instance.new("TextButton")
- local SpeedValue = Instance.new("TextBox")
- local SpeedHack = Instance.new("TextButton")
- local Toko = Instance.new("TextButton")
- local TempatHidup = Instance.new("TextButton")
- local Area1 = Instance.new("TextButton")
- local Area2 = Instance.new("TextButton")
- local Area3 = Instance.new("TextButton")
- local Area4 = Instance.new("TextButton")
- local Area5 = Instance.new("TextButton")
- local ImageLabel = Instance.new("ImageLabel")
- local LoginFrame = Instance.new("Frame")
- local LoginTitle = Instance.new("TextLabel")
- local KeyBox = Instance.new("TextBox")
- local KeySubmit = Instance.new("TextButton")
- local TundaFrame = Instance.new("Frame")
- local BukaFrame = Instance.new("TextButton")
- -- Properties
- PetGui.Name = "PetGui"
- PetGui.Parent = game.CoreGui
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PetGui
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- MainFrame.BackgroundTransparency = 0.20000000298023
- MainFrame.Position = UDim2.new(0.210526317, 0, 0.523046136, 0)
- MainFrame.Size = UDim2.new(0, 470, 0, 269)
- MainFrame.Visible = false
- MainFrame.Draggable = true
- TitleGui.Name = "TitleGui"
- TitleGui.Parent = MainFrame
- TitleGui.BackgroundColor3 = Color3.new(0, 0, 0)
- TitleGui.BackgroundTransparency = 0.20000000298023
- TitleGui.Size = UDim2.new(0, 470, 0, 38)
- TitleGui.Font = Enum.Font.SourceSansBold
- TitleGui.Text = "Pet Simulator Gui"
- TitleGui.TextColor3 = Color3.new(1, 1, 1)
- TitleGui.TextSize = 25
- TutupMain.Name = "TutupMain"
- TutupMain.Parent = MainFrame
- TutupMain.BackgroundColor3 = Color3.new(0, 0, 0)
- TutupMain.BorderSizePixel = 0
- TutupMain.Position = UDim2.new(0.891489387, 0, 0, 0)
- TutupMain.Size = UDim2.new(0, 51, 0, 38)
- TutupMain.Font = Enum.Font.SourceSansBold
- TutupMain.Text = "X"
- TutupMain.TextColor3 = Color3.new(1, 0, 0)
- TutupMain.TextSize = 25
- TutupMain.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- end)
- TundaMain.Name = "TundaMain"
- TundaMain.Parent = MainFrame
- TundaMain.BackgroundColor3 = Color3.new(0, 0, 0)
- TundaMain.BorderSizePixel = 0
- TundaMain.Position = UDim2.new(0.765957475, 0, 0, 0)
- TundaMain.Size = UDim2.new(0, 51, 0, 38)
- TundaMain.Font = Enum.Font.SourceSansBold
- TundaMain.Text = "-"
- TundaMain.TextColor3 = Color3.new(1, 0, 0)
- TundaMain.TextSize = 25
- TundaMain.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- TundaFrame.Visible = true
- end)
- MoneyFarm.Name = "MoneyFarm"
- MoneyFarm.Parent = MainFrame
- MoneyFarm.BackgroundColor3 = Color3.new(0, 0, 0)
- MoneyFarm.Position = UDim2.new(0.0446808524, 0, 0.208178446, 0)
- MoneyFarm.Size = UDim2.new(0, 171, 0, 50)
- MoneyFarm.Font = Enum.Font.Cartoon
- MoneyFarm.Text = "Money Farm"
- MoneyFarm.TextColor3 = Color3.new(1, 1, 1)
- MoneyFarm.TextSize = 25
- MoneyFarm.MouseButton1Down:connect(function()
- local amount = 1000 -- experiment with this value, 1000 is maximum and for pets with high levels
- 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)
- SpeedValue.Name = "SpeedValue"
- SpeedValue.Parent = MainFrame
- SpeedValue.BackgroundColor3 = Color3.new(0, 0, 0)
- SpeedValue.Position = UDim2.new(0.514893591, 0, 0.208178446, 0)
- SpeedValue.Size = UDim2.new(0, 208, 0, 50)
- SpeedValue.Font = Enum.Font.Cartoon
- SpeedValue.Text = "Speed Value"
- SpeedValue.TextColor3 = Color3.new(1, 1, 1)
- SpeedValue.TextSize = 25
- SpeedHack.Name = "SpeedHack"
- SpeedHack.Parent = MainFrame
- SpeedHack.BackgroundColor3 = Color3.new(0, 0, 0)
- SpeedHack.Position = UDim2.new(0.597872376, 0, 0.434944212, 0)
- SpeedHack.Size = UDim2.new(0, 129, 0, 50)
- SpeedHack.Font = Enum.Font.Cartoon
- SpeedHack.Text = "Submit"
- SpeedHack.TextColor3 = Color3.new(1, 1, 1)
- SpeedHack.TextSize = 25
- SpeedHack.MouseButton1Down:connect(function()
- while true do
- wait()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = SpeedValue.Text
- end
- end)
- Toko.Name = "Toko"
- Toko.Parent = MainFrame
- Toko.BackgroundColor3 = Color3.new(0, 0, 0)
- Toko.Position = UDim2.new(0.0234042555, 0, 0.434944242, 0)
- Toko.Size = UDim2.new(0, 200, 0, 50)
- Toko.Font = Enum.Font.Cartoon
- Toko.Text = "Store / Toko"
- Toko.TextColor3 = Color3.new(1, 1, 1)
- Toko.TextSize = 25
- Toko.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(719.225952, -33.6261177, 894.049072))
- end)
- TempatHidup.Name = "TempatHidup"
- TempatHidup.Parent = MainFrame
- TempatHidup.BackgroundColor3 = Color3.new(0, 0, 0)
- TempatHidup.Position = UDim2.new(0.0446808524, 0, 0.665427506, 0)
- TempatHidup.Size = UDim2.new(0, 113, 0, 36)
- TempatHidup.Font = Enum.Font.Cartoon
- TempatHidup.Text = "Spawn"
- TempatHidup.TextColor3 = Color3.new(1, 1, 1)
- TempatHidup.TextSize = 25
- TempatHidup.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(536.137939, -36.409977, 886.542542))
- end)
- Area1.Name = "Area1"
- Area1.Parent = MainFrame
- Area1.BackgroundColor3 = Color3.new(0, 0, 0)
- Area1.Position = UDim2.new(0.38085106, 0, 0.665427506, 0)
- Area1.Size = UDim2.new(0, 109, 0, 36)
- Area1.Font = Enum.Font.Cartoon
- Area1.Text = "Area 1"
- Area1.TextColor3 = Color3.new(1, 1, 1)
- Area1.TextSize = 25
- Area1.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(0.295806587, -37.0378761, 890.214355))
- end)
- Area2.Name = "Area2"
- Area2.Parent = MainFrame
- Area2.BackgroundColor3 = Color3.new(0, 0, 0)
- Area2.Position = UDim2.new(0.693617046, 0, 0.665427506, 0)
- Area2.Size = UDim2.new(0, 110, 0, 36)
- Area2.Font = Enum.Font.Cartoon
- Area2.Text = "Area 2"
- Area2.TextColor3 = Color3.new(1, 1, 1)
- Area2.TextSize = 25
- Area2.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-374.2388, -37.0378761, 885.253296))
- end)
- Area3.Name = "Area3"
- Area3.Parent = MainFrame
- Area3.BackgroundColor3 = Color3.new(0, 0, 0)
- Area3.Position = UDim2.new(0.0446808524, 0, 0.843866169, 0)
- Area3.Size = UDim2.new(0, 113, 0, 36)
- Area3.Font = Enum.Font.Cartoon
- Area3.Text = "Area 3"
- Area3.TextColor3 = Color3.new(1, 1, 1)
- Area3.TextSize = 25
- Area3.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-760.199097, -37.0378761, 880.302246))
- end)
- Area4.Name = "Area4"
- Area4.Parent = MainFrame
- Area4.BackgroundColor3 = Color3.new(0, 0, 0)
- Area4.Position = UDim2.new(0.38085106, 0, 0.843866169, 0)
- Area4.Size = UDim2.new(0, 109, 0, 36)
- Area4.Font = Enum.Font.Cartoon
- Area4.Text = "Area 4"
- Area4.TextColor3 = Color3.new(1, 1, 1)
- Area4.TextSize = 25
- Area4.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1140.22437, -37.0378761, 885.195129))
- end)
- Area5.Name = "Area5"
- Area5.Parent = MainFrame
- Area5.BackgroundColor3 = Color3.new(0, 0, 0)
- Area5.Position = UDim2.new(0.693617046, 0, 0.843866169, 0)
- Area5.Size = UDim2.new(0, 110, 0, 36)
- Area5.Font = Enum.Font.Cartoon
- Area5.Text = "Area 5"
- Area5.TextColor3 = Color3.new(1, 1, 1)
- Area5.TextSize = 25
- Area5.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1534.46313, -33.038002, 887.088318))
- end)
- ImageLabel.Parent = MainFrame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Position = UDim2.new(0.023814857, 0, -0.00111746788, 0)
- ImageLabel.Size = UDim2.new(0, 123, 0, 38)
- ImageLabel.Image = "rbxassetid://2216228868"
- LoginFrame.Name = "LoginFrame"
- LoginFrame.Parent = PetGui
- LoginFrame.Active = true
- LoginFrame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- LoginFrame.Position = UDim2.new(0.570972919, 0, 0.615230441, 0)
- LoginFrame.Size = UDim2.new(0, 240, 0, 310)
- LoginFrame.Style = Enum.FrameStyle.RobloxRound
- LoginFrame.Draggable = true
- LoginTitle.Name = "LoginTitle"
- LoginTitle.Parent = LoginFrame
- LoginTitle.BackgroundColor3 = Color3.new(0, 0, 0)
- LoginTitle.BackgroundTransparency = 1
- LoginTitle.Position = UDim2.new(0.0541666672, 0, 0.0419354849, 0)
- LoginTitle.Size = UDim2.new(0, 200, 0, 50)
- LoginTitle.Font = Enum.Font.SourceSansBold
- LoginTitle.Text = "Login "
- LoginTitle.TextColor3 = Color3.new(1, 1, 1)
- LoginTitle.TextSize = 25
- KeyBox.Name = "KeyBox"
- KeyBox.Parent = LoginFrame
- KeyBox.BackgroundColor3 = Color3.new(0, 0, 0)
- KeyBox.Position = UDim2.new(0.0541666672, 0, 0.338709682, 0)
- KeyBox.Size = UDim2.new(0, 200, 0, 50)
- KeyBox.Font = Enum.Font.Code
- KeyBox.Text = "Key"
- KeyBox.TextColor3 = Color3.new(1, 1, 1)
- KeyBox.TextSize = 25
- KeySubmit.Name = "KeySubmit"
- KeySubmit.Parent = LoginFrame
- KeySubmit.BackgroundColor3 = Color3.new(0, 0, 0)
- KeySubmit.Position = UDim2.new(0.0291666649, 0, 0.577419341, 0)
- KeySubmit.Size = UDim2.new(0, 211, 0, 49)
- KeySubmit.Font = Enum.Font.Cartoon
- KeySubmit.Text = "Login"
- KeySubmit.TextColor3 = Color3.new(1, 1, 1)
- KeySubmit.TextSize = 25
- KeySubmit.MouseButton1Down:connect(function()
- if KeyBox.Text == "Anwarun Gui" then
- LoginFrame.Visible = false
- MainFrame.Visible = true
- end
- end)
- TundaFrame.Name = "TundaFrame"
- TundaFrame.Parent = PetGui
- TundaFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- TundaFrame.Position = UDim2.new(0, 0, 0.831663311, 0)
- TundaFrame.Size = UDim2.new(0, 134, 0, 54)
- TundaFrame.Visible = false
- BukaFrame.Name = "BukaFrame"
- BukaFrame.Parent = TundaFrame
- BukaFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- BukaFrame.Size = UDim2.new(0, 134, 0, 54)
- BukaFrame.Font = Enum.Font.SourceSansBold
- BukaFrame.Text = "Open / Buka"
- BukaFrame.TextColor3 = Color3.new(1, 1, 1)
- BukaFrame.TextSize = 25
- BukaFrame.MouseButton1Down:connect(function()
- TundaFrame.Visible = false
- MainFrame.Visible = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement