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 = "Bob UI",
- LoadingTitle = "Loading Bob UI",
- LoadingSubtitle = "by Bob YT",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Bob 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 = 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 LarryTab = Window:CreateTab("💂🏻♂️ Barry's Prison 💂🏻♂️", nil)
- local LarrySection = LarryTab:CreateSection("💂🏻♂️ Barry's Prison 💂🏻♂️")
- local Button = LarryTab:CreateButton({
- Name = "Teleport To End 👍",
- Callback = function()
- -- Reference to the local player
- local localPlayer = game.Players.LocalPlayer
- -- Coordinates to move the player to
- local newPosition = Vector3.new(-3779, 1000, -492)
- -- Check if the local player exists and the coordinates are valid
- if localPlayer and newPosition then
- -- Check if the player has a character
- local character = localPlayer.Character
- if character and character:IsA("Model") and character:FindFirstChild("HumanoidRootPart") then
- -- Set the position of the player's character
- character:MoveTo(newPosition)
- print("Local player moved to the new position!")
- else
- print("Local player's character not found.")
- end
- else
- print("Local player not found or invalid coordinates.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Get Doom / Night Sky 👍",
- Callback = function()
- -- Doom / Night Sky
- local player = game.Players.LocalPlayer
- -- Save the player's current position
- local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
- -- Check if the saved position is valid
- if savedPosition then
- -- Teleport the player to position (0, 100, 0)
- player.Character:MoveTo(Vector3.new(139, 100, -139))
- -- Wait for a moment (you can adjust this delay as needed)
- wait(.2)
- -- Teleport the player back to the saved position
- player.Character:MoveTo(savedPosition)
- else
- print("Player's position could not be saved or is invalid.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Get Super Speed 👍",
- Callback = function()
- -- Speed
- local player = game.Players.LocalPlayer
- -- Save the player's current position
- local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
- -- Check if the saved position is valid
- if savedPosition then
- -- Teleport the player to position (0, 100, 0)
- player.Character:MoveTo(Vector3.new(138, 100, -156))
- -- Wait for a moment (you can adjust this delay as needed)
- wait(.2)
- -- Teleport the player back to the saved position
- player.Character:MoveTo(savedPosition)
- else
- print("Player's position could not be saved or is invalid.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Get Super Jump 👍",
- Callback = function()
- -- Jump
- local player = game.Players.LocalPlayer
- -- Save the player's current position
- local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
- -- Check if the saved position is valid
- if savedPosition then
- -- Teleport the player to position (0, 100, 0)
- player.Character:MoveTo(Vector3.new(138, 100, -172))
- -- Wait for a moment (you can adjust this delay as needed)
- wait(.2)
- -- Teleport the player back to the saved position
- player.Character:MoveTo(savedPosition)
- else
- print("Player's position could not be saved or is invalid.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Get Low Gravity 👍",
- Callback = function()
- -- Low Grav
- local player = game.Players.LocalPlayer
- -- Save the player's current position
- local savedPosition = player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character.HumanoidRootPart.Position
- -- Check if the saved position is valid
- if savedPosition then
- -- Teleport the player to position (0, 100, 0)
- player.Character:MoveTo(Vector3.new(138, 100, -188))
- -- Wait for a moment (you can adjust this delay as needed)
- wait(.2)
- -- Teleport the player back to the saved position
- player.Character:MoveTo(savedPosition)
- else
- print("Player's position could not be saved or is invalid.")
- end
- end,
- })
- local Button = LarryTab:CreateButton({
- Name = "Teleport to Guard Room 👍",
- Callback = function()
- -- Guard Place
- local localPlayer = game.Players.LocalPlayer
- -- Coordinates to move the player to
- local newPosition = Vector3.new(197, 100, -55)
- -- Check if the local player exists and the coordinates are valid
- if localPlayer and newPosition then
- -- Check if the player has a character
- local character = localPlayer.Character
- if character and character:IsA("Model") and character:FindFirstChild("HumanoidRootPart") then
- -- Set the position of the player's character
- character:MoveTo(newPosition)
- print("Local player moved to the new position!")
- else
- print("Local player's character not found.")
- end
- else
- print("Local player not found or invalid coordinates.")
- end
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement