local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
   Name = "Military Tycoon H-Hub",
   LoadingTitle = "Military Tycoon ScriptHub",
   LoadingSubtitle = "by H-Man",
   ConfigurationSaving = {
      Enabled = true,
      FolderName = nil, -- Create a custom folder for your hub/game
      FileName = "H-Hub"
   },
   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 = "Key",
      Subtitle = "Key System",
      Note = "Subscribe to H-Man",
      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://[Log in to view URL]"} -- 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 H-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="WeAreDevs.net"; Text="The WeAreDevs 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 Slider = MainTab:CreateSlider({
   Name = "Walk Speed",
   Range = {0, 300},
   Increment = 1,
   Suffix = "Speed",
   CurrentValue = 16,
   Flag = "Slider1", -- 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("Teleports")

local Button = TeleportTab:CreateButton({
   Name = "Bank",
   Callback = function()
    local Pos = Vector3.new(-227, 277, -32) -- position to teleport to (can be grabbed with warn(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position) or warn(Part.Position))
local Rot = Vector3.new(0, 0, 0) -- turn character 90 degrees

if not game:IsLoaded() then game.Loaded:Wait() end -- lol ima make it so it can never error
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or (function() Player.CharacterAdded:Wait() return Player.Character end)() -- super duper advanced way of getting the character if it doesn't exist
local Root = Character:WaitForChild("HumanoidRootPart")

Root.CFrame = CFrame.new(Pos) * CFrame.Angles(math.rad(Rot.X), math.rad(Rot.Y), math.rad(Rot.Z)) -- cframes are radians so we'll turn the degrees to radians
   end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: