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

local Window = Rayfield:CreateWindow({
   Name = "TSBGui",
   Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default).
   LoadingTitle = "made by @verycoolprofile and powered by rayfield",
   LoadingSubtitle = "have fun",
   Theme = "Default", -- Check https://[Log in to view URL]

   DisableRayfieldPrompts = false,
   DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface

   ConfigurationSaving = {
      Enabled = true,
      FolderName = nil, -- Create a custom folder for your hub/game
      FileName = "TSBTPGUI"
   },

   Discord = {
      Enabled = false, -- Prompt the user to join your Discord server if their executor supports it
      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 system",
      Subtitle = "Key System",
      Note = "get the key from dev of this script @verycoolprofile --discord", -- Use this to tell the user how to get a key
      FileName = "TSBGUIKey", -- 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(" TSB tp 🤩", 4483362458) -- Title, Image


Rayfield:Notify({
   Title = "Script",
   Content = "Executed Succesfully!",
   Duration = 6.5,
   Image = 4483362458,
})

local Button = MainTab:CreateButton({
   Name = "Teleport (r to go back t to go further)",
   Callback = function()
   -- LocalScript (Place this in StarterPlayer -> StarterPlayerScripts)

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

-- Function to move the player
local function movePlayer(offset)
    humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.new(offset)
end

-- Listen for the key press events
local userInputService = game:GetService("UserInputService")

userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
    if gameProcessedEvent then return end  -- Ignore if the game is processing the input already

    if input.KeyCode == Enum.KeyCode.R then
        -- Move the player back 34 studs (negative Z direction)
        movePlayer(Vector3.new(0, 0, 34)) -- Moving back means negative Z axis in Roblox
    elseif input.KeyCode == Enum.KeyCode.T then
        -- Move the player forward 48.5 studs (positive Z direction)
        movePlayer(Vector3.new(0, 0, -48.5)) -- Moving forward means positive Z axis in Roblox
    end
end)
   end,
})

Embed on website

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