Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Military Tycoon VERTGON",
- LoadingTitle = "Military Tycoon SCRIPT",
- LoadingSubtitle = "by VERTGON",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "VERT GON"
- },
- Discord = {
- Enabled = false,
- Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = true, -- Set this to true to use our key system
- KeySettings = {
- Title = "Ключ",
- Subtitle = "VERT HACKER",
- ("https://pastebin.com/raw/g8bFivFA"),
- FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
- SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
- GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = {"https://pastebin.com/raw/g8bFivFA"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
- }
- })
- local MainTab = Window:CreateTab("Main", nil) -- Title, Image
- local MainSection = MainTab:CreateSection("Main")
- Rayfield:Notify({
- Title = "Have you Subscribed to VERT-Man yet?",
- Content = "Link in GUI",
- Duration = 5,
- Image = nil,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "Yes!",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- local Button = MainTab:CreateButton({
- Name = "Infinite Jump",
- Callback = function()
- --Toggles the infinite jump between on or off on every script run
- _G.infinjump = not _G.infinjump
- if _G.infinJumpStarted == nil then
- --Ensures this only runs once to save resources
- _G.infinJumpStarted = true
- --Notifies readiness
- game.StarterGui:SetCore("SendNotification", {Title="VERT-Hub"; Text="The VERT-Hub Infinite Jump exploit is ready!"; Duration=5;})
- --The actual infinite jump
- local plr = game:GetService('Players').LocalPlayer
- local m = plr:GetMouse()
- m.KeyDown:connect(function(k)
- if _G.infinjump then
- if k:byte() == 32 then
- humanoid = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass('Humanoid')
- humanoid:ChangeState('Jumping')
- wait()
- humanoid:ChangeState('Seated')
- end
- end
- end)
- end
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "NoClip",
- Callback = function()
- local Noclip = nil
- local Clip = nil
- function noclip()
- Clip = false
- local function Nocl()
- if Clip == false and game.Players.LocalPlayer.Character ~= nil then
- for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
- if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
- v.CanCollide = false
- end
- end
- end
- wait(0.21) -- basic optimization
- end
- Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
- end
- function clip()
- if Noclip then Noclip:Disconnect() end
- Clip = true
- end
- noclip() -- to toggle noclip() and clip()
- end,
- })
- local Button = MainTab:CreateButton({
- Name = "ctrl+click teleport",
- Callback = function()
- --Makes sure this script is only executed once
- if _G.WRDClickTeleport == nil then
- _G.WRDClickTeleport = true
- local player = game:GetService("Players").LocalPlayer
- local UserInputService = game:GetService("UserInputService")
- --Wanted to avoid using mouse instance, but UIS^ is very tedious to get mouse hit position
- local mouse = player:GetMouse()
- --Waits until the player's mouse is found
- repeat wait() until mouse
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- --Only click teleport if the toggle is enabled
- if _G.WRDClickTeleport and UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
- player.Character:MoveTo(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
- end
- end
- end)
- --Just toggle instead of re-executing the script
- else
- _G.WRDClickTeleport = not _G.WRDClickTeleport
- --Notify
- if _G.WRDClickTeleport then
- game.StarterGui:SetCore("SendNotification", {Title="vERT-HUB"; Text="Click teleport enabled"; Duration=5;})
- else
- game.StarterGui:SetCore("SendNotification", {Title="vERT-HUB"; Text="Click teleport disabled"; Duration=5;})
- end
- end
- end,
- })
- local Slider = MainTab:CreateSlider({
- Name = "Walk Speed",
- Range = {0, 1000},
- Increment = 1,
- Suffix = "Speed",
- CurrentValue = 16,
- Flag = "SpeedSlider", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
- Callback = function(Value)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
- end,
- })
- local TeleportTab = Window:CreateTab("Teleports", nil) -- Title, Image
- local Section = TeleportTab:CreateSection("BOX")
- local Button = TeleportTab:CreateButton({
- Name = "BOX1",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(14, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-2445.981689453125, 109.64839935302734, -3075.266357421875)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX2",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-3186.54736328125, 115.6795425415039, -2874.228759765625)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX3",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-3187.6982421875, 109.64987182617188, -2292.192626953125)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX4",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-3184.950927734375, 109.11724090576172, -2292.55126953125)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX5",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-3183.188232421875, 111.37362670898438, -1129.809814453125)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX6",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-2957.508544921875, 114.72627258300781, -437.306640625)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "BOX7",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-3398.63427734375, 109.76612091064453, 579.4401245117188)}):Play()
- end,
- })
- local Section = TeleportTab:CreateSection("Flags")
- local Button = TeleportTab:CreateButton({
- Name = "Flag 1",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(15, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-964.9931640625, 122.11286926269531, -1760.8275146484375)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "Flag 2",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(16, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(-1533.0635986328125, 122.11286926269531, 112.39423370361328)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "Flag 3",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(16, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(588.4158935546875, 121.29895782470703, 1178.84375)}):Play()
- end,
- })
- local Button = TeleportTab:CreateButton({
- Name = "Flag 4",
- Callback = function()
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(16.5, Enum.EasingStyle.Linear)
- tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(291.7763977050781, 116.50255584716797, 1077.2401123046875)}):Play()
- end,
- })
- local EliteTab = Window:CreateTab("PLANE Mission", nil) -- Title, Image
- local Section = EliteTab:CreateSection("Mission1")
- local Toggle = EliteTab:CreateToggle({
- Name = "AutoFarm Mission1",
- CurrentValue = false,
- Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
- Callback = function(Value)
- local vim = game:GetService('VirtualInputManager')
- local input = {
- hold = function(key, time)
- vim:SendKeyEvent(true, key, false, nil)
- wait(time)
- vim:SendKeyEvent(false, key, false, nil)
- end,
- press = function(key)
- vim:SendKeyEvent(true, key, false, nil)
- wait(0.005)
- vim:SendKeyEvent(false, key, false, nil)
- end
- }
- local function teleportToGateAndHoldE(gatePosition, waitTime, teleportTime)
- local player = game.Players.LocalPlayer
- local tweenService = game:GetService("TweenService")
- local character = player.Character
- local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
- -- Teleport to the gate with a tween
- local tweenInfo = TweenInfo.new(teleportTime, Enum.EasingStyle.Linear)
- local teleportCFrame = CFrame.new(gatePosition)
- local teleportTween = tweenService:Create(humanoidRootPart, tweenInfo, {CFrame = teleportCFrame})
- teleportTween:Play()
- teleportTween.Completed:Wait()
- -- Simulate holding "E" for 6 seconds using your custom input library
- input.press(Enum.KeyCode.E)
- input.hold(Enum.KeyCode.E, 1)
- -- Wait for the specified waitTime
- wait(waitTime)
- end
- -- Example usage with the provided coordinates and wait times
- local gatePositions = {
- {Vector3.new(-2445.981689453125, 109.64839935302734, -3075.266357421875), 4, 10},
- {Vector3.new(-3186.54736328125, 115.6795425415039, -2874.228759765625), 5, 10},
- {Vector3.new(-3187.6982421875, 109.64987182617188, -2292.192626953125), 5, 10},
- {Vector3.new(-3184.950927734375, 109.11724090576172, -2292.55126953125), 5, 10},
- {Vector3.new(-3183.188232421875, 111.37362670898438, -1129.809814453125), 5, 10},
- {Vector3.new(-2957.508544921875, 114.72627258300781, -437.306640625), 5, 10},
- {Vector3.new(-3398.63427734375, 109.76612091064453, 579.4401245117188), 5, 10},
- {Vector3.new(-2828.787841796875, 114.63150024414062, 1241.351318359375), 5, 10},
- {Vector3.new(-3393.9384765625, 117.606201171875, 1837.5125732421875), 5, 10},
- {Vector3.new(-2024.2529296875, 113.43763732910156, 2443.079833984375), 5, 10},
- {Vector3.new(-2833.19921875, 113.8492431640625, 1245.7835693359375), 5, 10},
- {Vector3.new(-3392.656005859375, 119.56256103515625, 1841.3896484375), 5, 10},
- {Vector3.new(-2022.50830078125, 125.46145629882812, 2439.295166015625), 5, 10},
- {Vector3.new(-1685.482666015625, 126.95990753173828, 2878.084228515625), 5, 10},
- {Vector3.new(-510.5182800292969, 128.45664978027344, 3055.01611328125), 5, 10},
- {Vector3.new(-149.5667266845703, 126.45084381103516, 2629.1240234375), 5, 10},
- {Vector3.new(193.88519287109375, 111.9211654663086, 1974.110595703125), 5, 10},
- {Vector3.new(-167.35073852539062, 113.6697998046875, 966.4462890625), 5, 10},
- {Vector3.new(345.2367858886719, 121.04261016845703, 611.0446166992188), 5, 10},
- {Vector3.new(744.0103149414062, 113.36486053466797, -199.21188354492188), 5, 10},
- {Vector3.new(664.7525024414062, 112.5999526977539, -537.467041015625), 5, 10},
- {Vector3.new(230.1134490966797, 104.03642272949219, -1116.2958984375), 5, 10},
- {Vector3.new(-3398.63427734375, 109.76612091064453, 579.4401245117188), 5, 10}
- }
- for _, data in pairs(gatePositions) do
- teleportToGateAndHoldE(data[1], data[2], data[3])
- end
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement