Script.txt

(38 KB) Pobierz
-- Updated 11/10/2018
-- Updated by https://v3rmillion.net/member.php?action=profile&uid=234837
 
-- Credit to https://v3rmillion.net/member.php?action=profile&uid=519098
 
-- Does this crash you? DM me and I'll try to find a fix to the issue
 
FarmStart = false
FarmArea = "none"
WalkNumber = "1"
JumpNumber = "1"
 
local petTable = {}
local Try = 0
local Amount = 0
 
function PetTable()
    local Stats = workspace["__REMOTES"]["Core"]["Get Other Stats"]:InvokeServer()
    local Times = #Stats[game.Players.LocalPlayer.Name]["Save"]["Pets"]
    local Name = game:GetService("Players").LocalPlayer.Name
    petTable = {}
    Try = 0
    Amount = 0
    for i=1,Times do
        if(Stats[Name]["Save"]["Pets"][Times].e == true) then
            Amount = Amount + 1
            petTable[Amount] = {
                ["ID"] = tonumber(Stats[Name]["Save"]["Pets"][Times].id),
                ["LEVEL"] = tonumber(Stats[Name]["Save"]["Pets"][Times].l),
            }
        end
        Times = Times - 1
    end
end
 
local MainGUI = Instance.new("ScreenGui")
local TopFrame = Instance.new("Frame")
local PSHeader = Instance.new("TextLabel")
local ClosePS = Instance.new("TextButton")
local StatsFrame = Instance.new("Frame")
local FarmCoins = Instance.new("TextButton")
local FarmFrame = Instance.new("Frame")
local PowerTextInfo1 = Instance.new("TextLabel")
local PowerText1 = Instance.new("TextLabel")
local FarmPower = Instance.new("TextBox")
local StartFarming = Instance.new("TextButton")
local StartFarmingEarth = Instance.new("TextButton")
local StartFarmingMoon = Instance.new("TextButton")
local WalkSpeed = Instance.new("TextButton")
local JumpPower = Instance.new("TextButton")
local BuyScreen = Instance.new("TextButton")
local BuyScreenFrame = Instance.new("Frame")
local BuyPetTitle1 = Instance.new("TextLabel")
local BuyPetTitle2 = Instance.new("TextLabel")
local BuyPetTitle3 = Instance.new("TextLabel")
local BuyPetAmount1 = Instance.new("TextLabel")
local BuyPetAmount2 = Instance.new("TextBox")
local BuyPetAmount3 = Instance.new("TextBox")
local BuyPetTier1 = Instance.new("TextLabel")
local BuyPetTier2 = Instance.new("TextBox")
local BuyPetGo = Instance.new("TextButton")
local BuyHatTitle1 = Instance.new("TextLabel")
local BuyHatTitle2 = Instance.new("TextLabel")
local BuyHatAmount1 = Instance.new("TextLabel")
local BuyHatAmount2 = Instance.new("TextBox")
local BuyHatTier1 = Instance.new("TextLabel")
local BuyHatTier2 = Instance.new("TextBox")
local BuyHatGo = Instance.new("TextButton")
local Locations = Instance.new("TextButton")
local Locations2 = Instance.new("TextButton")
local MainFrame = Instance.new("Frame")
local Stats = Instance.new("TextButton")
local Spawn = Instance.new("TextButton")
local Shop = Instance.new("TextButton")
local Area2 = Instance.new("TextButton")
local Area3 = Instance.new("TextButton")
local Area4 = Instance.new("TextButton")
local Area5 = Instance.new("TextButton")
local Area6 = Instance.new("TextButton")
local Area7 = Instance.new("TextButton")
local Area8 = Instance.new("TextButton")
local Area9 = Instance.new("TextButton")
local Area10 = Instance.new("TextButton")
local Area11 = Instance.new("TextButton")
local Area12 = Instance.new("TextButton")
local Rocket = Instance.new("TextButton")
local CandyLand = Instance.new("TextButton")
local CyborgLand = Instance.new("TextButton")
local AreaDivider = Instance.new("TextLabel")
local AllHealthLabel = Instance.new("TextLabel")
local AllHealthMinLabel = Instance.new("TextLabel")
local AllHealthMaxLabel = Instance.new("TextLabel")
local AllHealthMin = Instance.new("TextBox")
local AllHealthMax = Instance.new("TextBox")
local EarthHealthLabel = Instance.new("TextLabel")
local EarthHealthMinLabel = Instance.new("TextLabel")
local EarthHealthMaxLabel = Instance.new("TextLabel")
local EarthHealthMin = Instance.new("TextBox")
local EarthHealthMax = Instance.new("TextBox")
local MoonHealthLabel = Instance.new("TextLabel")
local MoonHealthMinLabel = Instance.new("TextLabel")
local MoonHealthMaxLabel = Instance.new("TextLabel")
local MoonHealthMin = Instance.new("TextBox")
local MoonHealthMax = Instance.new("TextBox")
local TeleportScreen = Instance.new("TextButton")
 
MainGUI.Name = "MainGUI"
MainGUI.Parent = game.CoreGui
local MainCORE = game.CoreGui["MainGUI"]
 
TopFrame.Name = "TopFrame"
TopFrame.Parent = MainGUI
TopFrame.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
TopFrame.BackgroundTransparency = 0
TopFrame.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
TopFrame.Active = true
TopFrame.Selectable = true
TopFrame.Draggable = true
TopFrame.Visible = true
TopFrame.Position = UDim2.new(1, -145, 0.5, -100)
TopFrame.Size = UDim2.new(0, 140, 0, 30)
 
PSHeader.Name = "PSHeader"
PSHeader.Parent = TopFrame
PSHeader.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
PSHeader.BackgroundTransparency = 1
PSHeader.BorderSizePixel = 0
PSHeader.BorderColor3 = Color3.new(0, 0, 0)
PSHeader.Position = UDim2.new(0, 5, 0, 5)
PSHeader.Size = UDim2.new(0, 105, 0, 20)
PSHeader.Font = Enum.Font.Fantasy
PSHeader.Text = "Pet Simulator"
PSHeader.TextColor3 = Color3.new(0, 0, 0)
PSHeader.TextScaled = true
PSHeader.TextSize = 17
 
ClosePS.Name = "ClosePS"
ClosePS.Parent = TopFrame
ClosePS.BackgroundColor3 = Color3.new(0.4, 0.4, 0.4)
ClosePS.BorderColor3 = Color3.new(0, 0, 0)
ClosePS.Position = UDim2.new(0, 115, 0, 5)
ClosePS.Size = UDim2.new(0, 20, 0, 20)
ClosePS.Font = Enum.Font.Fantasy
ClosePS.Text = "X"
ClosePS.TextColor3 = Color3.new(1, 0, 0)
ClosePS.TextScaled = true
ClosePS.TextSize = 17
 
MainFrame.Name = "MainFrame"
MainFrame.Parent = TopFrame
MainFrame.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
MainFrame.BackgroundTransparency = 0
MainFrame.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
MainFrame.Position = UDim2.new(0, 0, 0, 30)
MainFrame.Size = UDim2.new(0, 140, 0, 433)
MainFrame.Visible = true
 
BuyScreen.Name = "BuyScreen"
BuyScreen.Parent = MainFrame
BuyScreen.BackgroundColor3 = Color3.new(0, 0, 0)
BuyScreen.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
BuyScreen.Position = UDim2.new(0, 5, 0, 5)
BuyScreen.Size = UDim2.new(0, 60, 0, 25)
BuyScreen.Font = Enum.Font.Fantasy
BuyScreen.TextColor3 = Color3.new(1, 1, 1)
BuyScreen.Text = "SHOP"
BuyScreen.TextSize = 17
BuyScreen.TextWrapped = true
 
FarmCoins.Name = "FarmCoins"
FarmCoins.Parent = MainFrame
FarmCoins.BackgroundColor3 = Color3.new(0, 0, 0)
FarmCoins.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
FarmCoins.Position = UDim2.new(0, 75, 0, 5)
FarmCoins.Size = UDim2.new(0, 60, 0, 25)
FarmCoins.Font = Enum.Font.Fantasy
FarmCoins.TextColor3 = Color3.new(1, 1, 1)
FarmCoins.Text = "FARM"
FarmCoins.TextSize = 17
FarmCoins.TextWrapped = true
 
WalkSpeed.Name = "WalkSpeed"
WalkSpeed.Parent = MainFrame
WalkSpeed.BackgroundColor3 = Color3.new(0, 0, 0)
WalkSpeed.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
WalkSpeed.Position = UDim2.new(0, 5, 0, 40)
WalkSpeed.Size = UDim2.new(0, 60, 0, 25)
WalkSpeed.Font = Enum.Font.Fantasy
WalkSpeed.TextColor3 = Color3.new(1, 1, 1)
WalkSpeed.Text = "Walk:1"
WalkSpeed.TextSize = 17
WalkSpeed.TextWrapped = true
 
JumpPower.Name = "JumpPower"
JumpPower.Parent = MainFrame
JumpPower.BackgroundColor3 = Color3.new(0, 0, 0)
JumpPower.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
JumpPower.Position = UDim2.new(0, 75, 0, 40)
JumpPower.Size = UDim2.new(0, 60, 0, 25)
JumpPower.Font = Enum.Font.Fantasy
JumpPower.TextColor3 = Color3.new(1, 1, 1)
JumpPower.Text = "Jump:1"
JumpPower.TextSize = 17
JumpPower.TextWrapped = true
 
TeleportScreen.Name = "TeleportScreen"
TeleportScreen.Parent = MainFrame
TeleportScreen.BackgroundColor3 = Color3.new(0, 0, 0)
TeleportScreen.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
TeleportScreen.Position = UDim2.new(0, 5, 0, 75)
TeleportScreen.Size = UDim2.new(0, 130, 0, 20)
TeleportScreen.Font = Enum.Font.Fantasy
TeleportScreen.TextColor3 = Color3.new(1, 1, 1)
TeleportScreen.Text = "GAME TELEPORT"
TeleportScreen.TextSize = 17
TeleportScreen.TextWrapped = true
 
Spawn.Name = "Spawn"
Spawn.Parent = MainFrame
Spawn.BackgroundColor3 = Color3.new(0, 0, 0)
Spawn.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Spawn.Position = UDim2.new(0, 5, 0, 100)
Spawn.Size = UDim2.new(0, 130, 0, 20)
Spawn.Font = Enum.Font.Fantasy
Spawn.TextColor3 = Color3.new(1, 1, 1)
Spawn.Text = "Spawn Area"
Spawn.TextSize = 17
Spawn.TextWrapped = true
 
Shop.Name = "Shop"
Shop.Parent = MainFrame
Shop.BackgroundColor3 = Color3.new(0, 0, 0)
Shop.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Shop.Position = UDim2.new(0, 5, 0, 125)
Shop.Size = UDim2.new(0, 130, 0, 20)
Shop.Font = Enum.Font.Fantasy
Shop.TextColor3 = Color3.new(1, 1, 1)
Shop.Text = "Egg Shop"
Shop.TextSize = 17
Shop.TextWrapped = true
 
Area2.Name = "Area2"
Area2.Parent = MainFrame
Area2.BackgroundColor3 = Color3.new(0, 0, 0)
Area2.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Area2.Position = UDim2.new(0, 5, 0, 150)
Area2.Size = UDim2.new(0, 130, 0, 20)
Area2.Font = Enum.Font.Fantasy
Area2.TextColor3 = Color3.new(1, 1, 1)
Area2.Text = "25K Area"
Area2.TextSize = 17
Area2.TextWrapped = true
 
Area3.Name = "Area3"
Area3.Parent = MainFrame
Area3.BackgroundColor3 = Color3.new(0, 0, 0)
Area3.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Area3.Position = UDim2.new(0, 5, 0, 175)
Area3.Size = UDim2.new(0, 130, 0, 20)
Area3.Font = Enum.Font.Fantasy
Area3.TextColor3 = Color3.new(1, 1, 1)
Area3.Text = "400K Area"
Area3.TextSize = 17
Area3.TextWrapped = true
 
Area4.Name = "Area4"
Area4.Parent = MainFrame
Area4.BackgroundColor3 = Color3.new(0, 0, 0)
Area4.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
Area4.Position = UDim2.new(0, 5, 0, 200)
Area4.Size = UDim2.new(0, 130, 0, 20)
Area4.Font = Enum.Font.Fant...
Zgłoś jeśli naruszono regulamin