0% found this document useful (0 votes)
8 views

main.lua

This document outlines a script for a Roblox game called 'JailBreak AutoRob V1' using the Rayfield interface. It includes features such as an infinite jump, customizable walk speed, and teleportation options to various locations. The script also integrates a Discord invite and configuration saving capabilities for user preferences.

Uploaded by

iliadsami
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

main.lua

This document outlines a script for a Roblox game called 'JailBreak AutoRob V1' using the Rayfield interface. It includes features such as an infinite jump, customizable walk speed, and teleportation options to various locations. The script also integrates a Discord invite and configuration saving capabilities for user preferences.

Uploaded by

iliadsami
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

local Rayfield = loadstring(game:HttpGet('https://sirius.

menu/rayfield'))()
cPzjUqQB
local Window = Rayfield:CreateWindow({
Name = "💀JailBreak AutoRob V1💀",
LoadingTitle = "Swervn's Interface Suite",
LoadingSubtitle = "by Swervn",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "Swervos Hub"
},
Discord = {
Enabled = true,
Invite = "cPzjUqQB", -- 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 = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided",
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 = false, -- If this is true, set Key below to the RAW site
you would like Rayfield to get the key from
Key = {"Hello"} -- 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("🏠 Home 🏠", nil) -- Title, Image


local MainSection = MainTab:CreateSection("Main")

Rayfield:Notify({
Title = "You've Sucessfully Executed the Script",
Content = "VERY OP GUI",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Click to Start!",
Callback = function()
print("The user tapped Click to Start!")
end
},
},
})

local Button = MainTab:CreateButton({


Name = "Infinite Jump",
Callback = function()
local InfiniteJumpEnabled = true
game:GetService("UserInputService").JumpRequest:connect(function()
if InfiniteJumpEnabled then
game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':Chan
geState("Jumping")
end
end)
end,
})

local Slider = MainTab:CreateSlider({


Name = "WalkSpeed",
Range = {16, 300},
Increment = 2,
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:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed =
(Value)
end,
})

local Dropdown = MainTab:CreateDropdown({


Name = "Select Location",
Options = {"1M Dealership","Rising City Bank","Crater City Bank","Casino","Donut
Shop","Gas Station"},
CurrentOption = {"Option 1"},
MultipleOptions = false,
Flag = "Dropdown1", -- 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(Option)
-- The function that takes place when the selected option is changed
-- The variable (Option) is a table of strings for the current selected options
end,
})

local TeleportTab = Window:CreateTab(" Teleport ", nil) -- Title, Image


local Section = TeleportTab:CreateSection("Locations")

local Button = TeleportTab:CreateButton({


Name = "1M Dealership",
Callback = function()
-- Define the teleport destination coordinates
local teleportDestination = Vector3.new(0, 10, 0) -- Change these coordinates to
your desired teleport destination

-- Function to teleport the player


local function teleportPlayer(player)
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
-- Teleport the player's character to the destination
character:SetPrimaryPartCFrame(CFrame.new(teleportDestination))
end
end
end
-- Example: Teleport when a key is pressed (change as needed)
local TeleportKey = Enum.KeyCode.T -- Change to the desired key

game:GetService("UserInputService").InputBegan:Connect(function(input, processed)
if not processed and input.KeyCode == TeleportKey then
local player = game.Players:GetPlayerFromCharacter(input.User)
if player then
teleportPlayer(player)
end
end
end)

-- Example: Teleport when a command is executed (change as needed)


game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
if message:lower() == "/teleport" then -- Change to your desired command
teleportPlayer(player)
end
end)
end)
end,
})

You might also like