Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Version 2.0
- local Atilier = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("ScrollingFrame")
- local AroundtheWorld = Instance.new("TextButton")
- local Config = Instance.new("TextButton")
- local AirportAutofarm = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- local Close1 = Instance.new("TextButton")
- local ConfigFrame = Instance.new("Frame")
- local configTitle = Instance.new("TextLabel")
- local Close2 = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- local inputSpeed = Instance.new("TextBox")
- local Torque = Instance.new("TextButton")
- local torqueInput = Instance.new("TextBox")
- local nitroSpeed = Instance.new("TextButton")
- local nspeedInput = Instance.new("TextBox")
- local nitroForce = Instance.new("TextButton")
- local nforceInput = Instance.new("TextBox")
- local jumpHeight = Instance.new("TextButton")
- local jheightInput = Instance.new("TextBox")
- local BoxESP = Instance.new("TextButton")
- local TurnoffAF = Instance.new("TextButton")
- local TOAFFrame = Instance.new("Frame")
- local CoordFinder = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local X = Instance.new("TextLabel")
- local Y = Instance.new("TextLabel")
- local Z = Instance.new("TextLabel")
- local CloseFrame = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local TPtocrates = Instance.new("TextButton")
- local Friction = Instance.new("TextButton")
- local inputFriction = Instance.new("TextBox")
- ATW = false
- stopFarming = false
- --Properties:
- Atilier.Name = "Atilier"
- Atilier.Parent = game.CoreGui
- OpenFrame.Name = "Open Frame"
- OpenFrame.Parent = Atilier
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.Position = UDim2.new(0.26817289, 0, 0.950166106, 0)
- OpenFrame.Size = UDim2.new(0, 129, 0, 30)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0.333333, 1, 0.498039)
- Open.BorderColor3 = Color3.new(1, 1, 1)
- Open.Position = UDim2.new(0, 0, -0.0165008605, 0)
- Open.Size = UDim2.new(0, 129, 0, 30)
- Open.Font = Enum.Font.Highway
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(1, 1, 1)
- Open.TextSize = 18
- Open.MouseButton1Click:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Draggable = true
- Main.Active = true
- Main.Name = "Main"
- Main.Parent = Atilier
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BackgroundTransparency = 0.30000001192093
- Main.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
- Main.Position = UDim2.new(-0.00908173528, 0, 0.282392025, 0)
- Main.Size = UDim2.new(0, 203, 0, 114)
- Main.CanvasPosition = Vector2.new(0, 28.5)
- Main.Visible = false
- AroundtheWorld.Name = "Around the World"
- AroundtheWorld.Parent = Main
- AroundtheWorld.BackgroundColor3 = Color3.new(1, 1, 1)
- AroundtheWorld.BackgroundTransparency = 0.40000000596046
- AroundtheWorld.BorderColor3 = Color3.new(1, 1, 1)
- AroundtheWorld.Position = UDim2.new(0, 0, 0.0265780725, 0)
- AroundtheWorld.Size = UDim2.new(0, 200, 0, 50)
- AroundtheWorld.Font = Enum.Font.GothamSemibold
- AroundtheWorld.Text = "Around the World"
- AroundtheWorld.TextColor3 = Color3.new(0, 0, 0)
- AroundtheWorld.TextSize = 14
- AroundtheWorld.MouseButton1Click:connect(function()
- FarmLoop()
- end)
- Config.Name = "Config"
- Config.Parent = Main
- Config.BackgroundColor3 = Color3.new(1, 1, 1)
- Config.BackgroundTransparency = 0.40000000596046
- Config.BorderColor3 = Color3.new(1, 1, 1)
- Config.Position = UDim2.new(0, 0, 0.0681063086, 0)
- Config.Size = UDim2.new(0, 200, 0, 50)
- Config.Font = Enum.Font.GothamSemibold
- Config.Text = "Configure"
- Config.TextColor3 = Color3.new(0, 0, 0)
- Config.TextSize = 14
- Config.MouseButton1Click:connect(function()
- ConfigFrame.Visible = true
- end)
- AirportAutofarm.Name = "Airport Auto-farm"
- AirportAutofarm.Parent = Main
- AirportAutofarm.BackgroundColor3 = Color3.new(1, 1, 1)
- AirportAutofarm.BackgroundTransparency = 0.40000000596046
- AirportAutofarm.BorderColor3 = Color3.new(1, 1, 1)
- AirportAutofarm.Position = UDim2.new(-1.86264515e-09, 0, 0.109634548, 0)
- AirportAutofarm.Size = UDim2.new(0, 200, 0, 50)
- AirportAutofarm.Font = Enum.Font.GothamSemibold
- AirportAutofarm.Text = "Airport Auto-farm"
- AirportAutofarm.TextColor3 = Color3.new(0, 0, 0)
- AirportAutofarm.TextSize = 14
- Title.Name = "Title"
- Title.Parent = Main
- Title.BackgroundColor3 = Color3.new(0, 0, 0)
- Title.BackgroundTransparency = 0.20000000298023
- Title.BorderColor3 = Color3.new(1, 1, 1)
- Title.Size = UDim2.new(0, 200, 0, 35)
- Title.Font = Enum.Font.GothamBlack
- Title.Text = "Atilier"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 16
- Close1.Name = "Close1"
- Close1.Parent = Main
- Close1.BackgroundColor3 = Color3.new(1, 1, 1)
- Close1.BackgroundTransparency = 1
- Close1.BorderSizePixel = 0
- Close1.Position = UDim2.new(0.763546646, 0, 0, 0)
- Close1.Size = UDim2.new(0, 35, 0, 35)
- Close1.Font = Enum.Font.GothamSemibold
- Close1.Text = "X"
- Close1.TextColor3 = Color3.new(1, 1, 1)
- Close1.TextSize = 14
- Close1.MouseButton1Click:connect(function()
- Main.Visible = false
- OpenFrame.Visible = true
- end)
- ConfigFrame.Name = "Config Frame"
- ConfigFrame.Parent = Atilier
- ConfigFrame.BackgroundColor3 = Color3.new(0.898039, 0.898039, 0.898039)
- ConfigFrame.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
- ConfigFrame.Position = UDim2.new(0.267406642, 0, 0.63369137, 0)
- ConfigFrame.Size = UDim2.new(0, 129, 0, 213)
- ConfigFrame.Visible = false
- ConfigFrame.Active = true
- ConfigFrame.Draggable = true
- configTitle.Name = "configTitle"
- configTitle.Parent = ConfigFrame
- configTitle.BackgroundColor3 = Color3.new(0, 0, 0)
- configTitle.BackgroundTransparency = 0.20000000298023
- configTitle.BorderColor3 = Color3.new(1, 1, 1)
- configTitle.Size = UDim2.new(0, 129, 0, 30)
- configTitle.Font = Enum.Font.GothamBold
- configTitle.Text = "Config"
- configTitle.TextColor3 = Color3.new(1, 1, 1)
- configTitle.TextSize = 14
- Close2.Name = "Close2"
- Close2.Parent = ConfigFrame
- Close2.BackgroundColor3 = Color3.new(1, 1, 1)
- Close2.BackgroundTransparency = 1
- Close2.BorderSizePixel = 0
- Close2.Position = UDim2.new(0.806201577, 0, 0, 0)
- Close2.Size = UDim2.new(0, 25, 0, 30)
- Close2.Font = Enum.Font.GothamSemibold
- Close2.Text = "X"
- Close2.TextColor3 = Color3.new(1, 1, 1)
- Close2.TextSize = 14
- Close2.MouseButton1Click:connect(function()
- ConfigFrame.Visible = false
- end)
- Speed.Name = "Speed"
- Speed.Parent = ConfigFrame
- Speed.BackgroundColor3 = Color3.new(1, 1, 1)
- Speed.BorderSizePixel = 0
- Speed.Position = UDim2.new(0, 0, 0.139, 0)
- Speed.Size = UDim2.new(0, 70, 0, 31)
- Speed.Font = Enum.Font.GothamSemibold
- Speed.Text = "Speed:"
- Speed.TextColor3 = Color3.new(0, 0, 0)
- Speed.TextSize = 14
- inputSpeed.Name = "inputSpeed"
- inputSpeed.Parent = Speed
- inputSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
- inputSpeed.BackgroundTransparency = 1
- inputSpeed.BorderSizePixel = 0
- inputSpeed.Position = UDim2.new(1, 0, 0, 0)
- inputSpeed.Size = UDim2.new(0, 59, 0, 31)
- inputSpeed.Font = Enum.Font.GothamSemibold
- inputSpeed.Text = ""
- inputSpeed.TextColor3 = Color3.new(0, 0, 0)
- inputSpeed.TextSize = 14
- Torque.Name = "Torque"
- Torque.Parent = ConfigFrame
- Torque.BackgroundColor3 = Color3.new(1, 1, 1)
- Torque.BorderSizePixel = 0
- Torque.Position = UDim2.new(0, 0, 0.278, 0)
- Torque.Size = UDim2.new(0, 70, 0, 31)
- Torque.Font = Enum.Font.GothamSemibold
- Torque.Text = "Torque:"
- Torque.TextColor3 = Color3.new(0, 0, 0)
- Torque.TextSize = 14
- torqueInput.Name = "torqueInput"
- torqueInput.Parent = Torque
- torqueInput.BackgroundColor3 = Color3.new(1, 1, 1)
- torqueInput.BackgroundTransparency = 1
- torqueInput.BorderSizePixel = 0
- torqueInput.Position = UDim2.new(1, 0, 0, 0)
- torqueInput.Size = UDim2.new(0, 59, 0, 31)
- torqueInput.Font = Enum.Font.GothamSemibold
- torqueInput.Text = ""
- torqueInput.TextColor3 = Color3.new(0, 0, 0)
- torqueInput.TextSize = 14
- nitroSpeed.Name = "nitroSpeed"
- nitroSpeed.Parent = ConfigFrame
- nitroSpeed.BackgroundColor3 = Color3.new(1, 1, 1)
- nitroSpeed.BorderSizePixel = 0
- nitroSpeed.Position = UDim2.new(0, 0, 0.427, 0)
- nitroSpeed.Size = UDim2.new(0, 70, 0, 31)
- nitroSpeed.Font = Enum.Font.GothamSemibold
- nitroSpeed.Text = "N Speed:"
- nitroSpeed.TextColor3 = Color3.new(0, 0, 0)
- nitroSpeed.TextSize = 14
- nspeedInput.Name = "nspeedInput"
- nspeedInput.Parent = nitroSpeed
- nspeedInput.BackgroundColor3 = Color3.new(1, 1, 1)
- nspeedInput.BackgroundTransparency = 1
- nspeedInput.BorderSizePixel = 0
- nspeedInput.Position = UDim2.new(1, 0, 0, 0)
- nspeedInput.Size = UDim2.new(0, 59, 0, 31)
- nspeedInput.Font = Enum.Font.GothamSemibold
- nspeedInput.Text = ""
- nspeedInput.TextColor3 = Color3.new(0, 0, 0)
- nspeedInput.TextSize = 14
- nitroForce.Name = "nitroForce"
- nitroForce.Parent = ConfigFrame
- nitroForce.BackgroundColor3 = Color3.new(1, 1, 1)
- nitroForce.BorderSizePixel = 0
- nitroForce.Position = UDim2.new(0, 0, 0.571, 0)
- nitroForce.Size = UDim2.new(0, 70, 0, 31)
- nitroForce.Font = Enum.Font.GothamSemibold
- nitroForce.Text = "N Force:"
- nitroForce.TextColor3 = Color3.new(0, 0, 0)
- nitroForce.TextSize = 14
- nforceInput.Name = "nforceInput"
- nforceInput.Parent = nitroForce
- nforceInput.BackgroundColor3 = Color3.new(1, 1, 1)
- nforceInput.BackgroundTransparency = 1
- nforceInput.BorderSizePixel = 0
- nforceInput.Position = UDim2.new(1, 0, 0, 0)
- nforceInput.Size = UDim2.new(0, 59, 0, 31)
- nforceInput.Font = Enum.Font.GothamSemibold
- nforceInput.Text = ""
- nforceInput.TextColor3 = Color3.new(0, 0, 0)
- nforceInput.TextSize = 14
- jumpHeight.Name = "jumpHeight"
- jumpHeight.Parent = ConfigFrame
- jumpHeight.BackgroundColor3 = Color3.new(1, 1, 1)
- jumpHeight.BorderSizePixel = 0
- jumpHeight.Position = UDim2.new(0, 0, 0.715, 0)
- jumpHeight.Size = UDim2.new(0, 70, 0, 31)
- jumpHeight.Font = Enum.Font.GothamSemibold
- jumpHeight.Text = "J Height"
- jumpHeight.TextColor3 = Color3.new(0, 0, 0)
- jumpHeight.TextSize = 14
- jheightInput.Name = "jheightInput"
- jheightInput.Parent = jumpHeight
- jheightInput.BackgroundColor3 = Color3.new(1, 1, 1)
- jheightInput.BackgroundTransparency = 1
- jheightInput.BorderSizePixel = 0
- jheightInput.Position = UDim2.new(1, 0, 0, 0)
- jheightInput.Size = UDim2.new(0, 59, 0, 31)
- jheightInput.Font = Enum.Font.GothamSemibold
- jheightInput.Text = ""
- jheightInput.TextColor3 = Color3.new(0, 0, 0)
- jheightInput.TextSize = 14
- Friction.Name = "Friction"
- Friction.Parent = ConfigFrame
- Friction.BackgroundColor3 = Color3.new(1, 1, 1)
- Friction.BorderSizePixel = 0
- Friction.Position = UDim2.new(0, 0, 0.858, 0)
- Friction.Size = UDim2.new(0, 70, 0, 31)
- Friction.Font = Enum.Font.GothamSemibold
- Friction.Text = "Friction:"
- Friction.TextColor3 = Color3.new(0, 0, 0)
- Friction.TextSize = 14
- inputFriction.Name = "inputFriction"
- inputFriction.Parent = Friction
- inputFriction.BackgroundColor3 = Color3.new(1, 1, 1)
- inputFriction.BackgroundTransparency = 1
- inputFriction.BorderSizePixel = 0
- inputFriction.Position = UDim2.new(1, 0, 0, 0)
- inputFriction.Size = UDim2.new(0, 59, 0, 31)
- inputFriction.Font = Enum.Font.GothamSemibold
- inputFriction.Text = ""
- inputFriction.TextColor3 = Color3.new(0, 0, 0)
- inputFriction.TextSize = 14
- BoxESP.Name = "BoxESP"
- BoxESP.Parent = Main
- BoxESP.BackgroundColor3 = Color3.new(1, 1, 1)
- BoxESP.BackgroundTransparency = 0.40000000596046
- BoxESP.BorderColor3 = Color3.new(1, 1, 1)
- BoxESP.BorderSizePixel = 1
- BoxESP.Position = UDim2.new(0, 0, .151, 0)
- BoxESP.Size = UDim2.new(0, 200, 0, 50)
- BoxESP.Font = Enum.Font.GothamSemibold
- BoxESP.Text = "BoxESP"
- BoxESP.TextColor3 = Color3.new(0, 0, 0)
- BoxESP.TextSize = 14
- BoxESP.MouseButton1Down:connect(function()
- local crates = workspace:getChildren()
- for i=1,#crates do
- if crates[i].ClassName == "Model" then
- local crates2 = crates[i]:getChildren()
- for i=1,#crates2 do
- if crates2[i].ClassName == "Model" then
- local crates3 = crates2[i]:getChildren()
- for i=1,#crates3 do
- if crates3[i].ClassName == "MeshPart" then
- if crates3[i]:findFirstChild("Smoke") then
- if crates3[i]:findFirstChild("BoxHandleAdornment") then
- crates3[i]:findFirstChild("BoxHandleAdornment"):Remove()
- else
- local a = Instance.new("BoxHandleAdornment",crates3[i])
- a.Size = Vector3.new(10,500,6)
- a.SizeRelativeOffset = Vector3.new(0,135,0)
- a.Color3 = Color3.fromRGB(0,255,0)
- a.Transparency = 0.5
- a.AlwaysOnTop = true
- a.Adornee = crates3[i]
- a.ZIndex = 1
- local b = Instance.new("BoxHandleAdornment",crates3[i])
- b.Size = Vector3.new(10,4,6)
- b.Color3 = Color3.fromRGB(0,0,255)
- b.Transparency = 0.3
- b.AlwaysOnTop = true
- b.Adornee = crates3[i]
- b.ZIndex = 1
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- TurnoffAF.Name = "TurnoffAF"
- TurnoffAF.Parent = TOAFFrame
- TurnoffAF.BackgroundColor3 = Color3.new(1, 1, 1)
- TurnoffAF.BackgroundTransparency = 0.40000000596046
- TurnoffAF.BorderColor3 = Color3.new(1, 1, 1)
- TurnoffAF.BorderSizePixel = 1
- TurnoffAF.Position = UDim2.new(0, 0, 0, 0)
- TurnoffAF.Size = UDim2.new(0, 50, 0, 30)
- TurnoffAF.Font = Enum.Font.GothamSemibold
- TurnoffAF.Text = "|||||"
- TurnoffAF.TextColor3 = Color3.new(0, 0, 0)
- TurnoffAF.TextSize = 14
- TurnoffAF.MouseButton1Click:connect(function()
- stopFarming = true
- end)
- TOAFFrame.Name = "TurnoffAFFrame"
- TOAFFrame.Parent = Atilier
- TOAFFrame.BackgroundColor3 = Color3.new(0.898039, 0.898039, 0.898039)
- TOAFFrame.BorderColor3 = Color3.new(0.333333, 1, 0.498039)
- TOAFFrame.Position = UDim2.new(0.18, 0, 0.86, 0)
- TOAFFrame.Size = UDim2.new(0, 50, 0, 30)
- TOAFFrame.Visible = true
- CoordFinder.Name = "CoordFinder"
- CoordFinder.Parent = Main
- CoordFinder.BackgroundColor3 = Color3.new(1, 1, 1)
- CoordFinder.BackgroundTransparency = 0.40000000596046
- CoordFinder.BorderColor3 = Color3.new(1, 1, 1)
- CoordFinder.BorderSizePixel = 1
- CoordFinder.Position = UDim2.new(0, 0, .192, 0)
- CoordFinder.Size = UDim2.new(0, 200, 0, 50)
- CoordFinder.Font = Enum.Font.GothamSemibold
- CoordFinder.Text = "CoordFinder"
- CoordFinder.TextColor3 = Color3.new(0, 0, 0)
- CoordFinder.TextSize = 14
- CoordFinder.MouseButton1Click:connect(function()
- Frame.Visible = true
- CloseFrame.Visible = true
- end)
- Frame.Parent = Atilier
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.30000001192093
- Frame.BorderColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 2
- Frame.Position = UDim2.new(0.373008519, 0, -0.0019919863, 0)
- Frame.Size = UDim2.new(0, 315, 0, 87)
- Frame.Visible = false
- X.Name = "X"
- X.Parent = Frame
- X.BackgroundColor3 = Color3.new(1, 1, 1)
- X.BackgroundTransparency = 1
- X.BorderSizePixel = 0
- X.Position = UDim2.new(-0.00277177105, 0, 0, 0)
- X.Size = UDim2.new(0, 107, 0, 87)
- X.Font = Enum.Font.GothamSemibold
- X.Text = ""
- X.TextColor3 = Color3.new(1, 1, 1)
- X.TextSize = 20
- Y.Name = "Y"
- Y.Parent = Frame
- Y.BackgroundColor3 = Color3.new(1, 1, 1)
- Y.BackgroundTransparency = 1
- Y.BorderSizePixel = 0
- Y.Position = UDim2.new(0.32103774, 0, 0.0114939902, 0)
- Y.Size = UDim2.new(0, 106, 0, 86)
- Y.Font = Enum.Font.GothamSemibold
- Y.Text = ""
- Y.TextColor3 = Color3.new(1, 1, 1)
- Y.TextSize = 20
- Z.Name = "Z"
- Z.Parent = Frame
- Z.BackgroundColor3 = Color3.new(1, 1, 1)
- Z.BackgroundTransparency = 1
- Z.BorderSizePixel = 0
- Z.Position = UDim2.new(0.660317481, 0, 0.022988243, 0)
- Z.Size = UDim2.new(0, 107, 0, 85)
- Z.Font = Enum.Font.GothamSemibold
- Z.Text = ""
- Z.TextColor3 = Color3.new(1, 1, 1)
- Z.TextSize = 20
- CloseFrame.Name = "Close Frame"
- CloseFrame.Parent = CoordFinder
- CloseFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseFrame.BackgroundTransparency = 0.10000000149012
- CloseFrame.BorderSizePixel = 0
- CloseFrame.Position = UDim2.new(0.668228686, 0, 0, 0)
- CloseFrame.Size = UDim2.new(0, 60, 0, 51)
- CloseFrame.Visible = false
- Close.Name = "Close"
- Close.Parent = CloseFrame
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 0.60000002384186
- Close.BorderSizePixel = 0
- Close.Size = UDim2.new(0, 60, 0, 50)
- Close.Font = Enum.Font.GothamSemibold
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 20
- TPtocrates.Name = "TPtocrates"
- TPtocrates.Parent = Main
- TPtocrates.BackgroundColor3 = Color3.new(1, 1, 1)
- TPtocrates.BackgroundTransparency = 0.40000000596046
- TPtocrates.BorderColor3 = Color3.new(1, 1, 1)
- TPtocrates.BorderSizePixel = 1
- TPtocrates.Position = UDim2.new(0, 0, .229, 0)
- TPtocrates.Size = UDim2.new(0, 200, 0, 50)
- TPtocrates.Font = Enum.Font.GothamSemibold
- TPtocrates.Text = "CrateTP"
- TPtocrates.TextColor3 = Color3.new(0, 0, 0)
- TPtocrates.TextSize = 14
- TPtocrates.MouseButton1Click:connect(function()
- local crates = workspace:getChildren()
- for i=1,#crates do
- if crates[i].ClassName == "Model" then
- local crates2 = crates[i]:getChildren()
- for i=1,#crates2 do
- if crates2[i].ClassName == "Model" then
- local crates3 = crates2[i]:getChildren()
- for i=1,#crates3 do
- if crates3[i].ClassName == "MeshPart" then
- if crates3[i]:findFirstChild("Smoke") then
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y+15,crates3[i].Position.Z))
- wait()
- game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(crates3[i].Position.X,crates3[i].Position.Y,crates3[i].Position.Z))
- wait(3)
- end
- end
- end
- end
- end
- end
- end
- end)
- -- Functions:
- function findCar()
- local vehicle = workspace.Vehicles:getChildren()
- for i=1,#vehicle do
- if vehicle[i]:findFirstChild("owner") then
- if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
- myCar = vehicle[i]
- end
- end
- end
- end
- -- Configures speed of vehicle
- Speed.MouseButton1Down:connect(function()
- findCar()
- myCar.Handling.MaxSpeed.Value = inputSpeed.Text
- myCar.Handling.SteeringRadiusConstant.Value = 15000
- end)
- -- Configures torque of vehicle
- Torque.MouseButton1Down:connect(function()
- findCar()
- myCar.Handling.Torque.Value = torqueInput.Text
- end)
- -- Configures speed of nitro
- nitroSpeed.MouseButton1Down:connect(function()
- findCar()
- myCar.Handling.Nitro.NitroSpeed.Value = nspeedInput.Text
- end)
- -- Configures force of nitro
- nitroForce.MouseButton1Down:connect(function()
- findCar()
- myCar.Handling.Nitro.NitroForce.Value = nforceInput.Text
- end)
- -- Configures jump height
- jumpHeight.MouseButton1Down:connect(function()
- findCar()
- myCar.Handling.TurboJump.TurboJumpHeight.Value = jheightInput.Text
- end)
- -- Finding Coords script
- function round(val)
- return math.floor( (val * 10^2) + 0.5) / (10^2)
- end
- Close.MouseButton1Down:connect(function()
- Frame.Visible = false
- CloseFrame.Visible = false
- end)
- while true do
- X.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x)
- Y.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y)
- Z.Text = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z)
- wait()
- end
- -- Around the World Autofarm
- waitTime = .2
- finalWaitTime = 40
- hint = Instance.new('Hint', workspace)
- hint.Text = "Started Around the World Script"
- function getcar()
- hint.Text = "Started Function"
- vehicle = workspace.Vehicles:getChildren()
- hint.Text = "Found Child"
- for i=1,#vehicle do
- hint.Text = "Started Loop"
- if vehicle[i]:findFirstChild("owner") then
- hint.Text = "Found FirstChild"
- if vehicle[i].owner.Value == game.Players.LocalPlayer.Name then
- hint.Text = "Found owner"
- vehicle = vehicle[i]
- hint.Text = "Assigned vehicle variable"
- vehicle.PrimaryPart = vehicle.Chassis.VehicleSeat
- hint.Text = "Set Primary Part and calling FarmLoop"
- FarmLoop()
- end
- end
- end
- end
- function FarmLoop()
- hint.Text = "Started Farm Loop"
- --local keepgoing = true
- --while keepgoing = true do
- hint.Text = "Teleporting"
- vehicle:SetPrimaryPartCFrame(CFrame.new(-447,39,-3639))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(2893,39,-3637))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(3511,39,-2868))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(2506,39,-1548))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(1991,39,108))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(2167,39,1064))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(3135,39,1863))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(2638,39,3232))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-1542,39,3442))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2570,37,3079))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2743,37,2346))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2900,37,966))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2828,39,-182))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-3025,39,-2261))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2244,39,-3630))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-463,39,-3634))
- --game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(myCar.Chassis.VehicleSeat.Position+myCar.Chassis.VehicleSeat.SeatOffset.Value)
- wait(waitTime)
- vehicle:SetPrimaryPartCFrame(CFrame.new(-2871, 45, -2326))
- hint.Text = "Waiting x seconds then restarting loop"
- ZoneCheck()
- --end
- end
- function ZoneCheck()
- local xCoord = 0
- local zCoord = 0
- xCoord = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x
- zCoord = game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z
- hint.Text = "Stored X and Z Coords- checking if in zone"
- if xCoord >= -881 then -- X Coord 1
- if xCoord <= -615 then -- X Coord 2
- if zCoord >= -3679 then -- Z Coord 1
- if zCoord <= -3594 then
- hint.Text = "In Zone- Waiting 4 sec til teleport"
- wait(4)
- FarmLoop()
- else
- wait(1)
- ZoneCheck()
- end
- else
- wait(1)
- ZoneCheck()
- end
- else
- wait(1)
- ZoneCheck()
- end
- else
- wait(1)
- ZoneCheck()
- end
- end
- hint.Text = "Calling car function"
- getcar()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement