RayField player teleport
Key RequiredUniversal

RayField player teleport

Universal Scriptchanneldeletederrorchanneldeletederror 966 views 40 executesUpdated Dec 28, 2025
Unrated
00
Lua Script•69 lines (1951 chars)
local function Run()
    local Players = game:GetService("Players")
    local LocalPlayer = Players.LocalPlayer

    local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()

    local Window = Rayfield:CreateWindow({
        Name = "Player Teleport",
        LoadingTitle = "sybau",
        LoadingSubtitle = "sometimes I smurf in my yard",
        ConfigurationSaving = { Enabled = false }
    })

    local Tab = Window:CreateTab("Main", 4483362458)

    local SelectedPlayerName

    local function GetPlayers()
        local t = {}
        for _, p in ipairs(Players:GetPlayers()) do
            if p ~= LocalPlayer then
                table.insert(t, p.Name)
            end
        end
        return t
    end

    Tab:CreateDropdown({
        Name = "Select Player",
        Options = GetPlayers(),
        CurrentOption = nil,
        Callback = function(v)
            SelectedPlayerName = v[1]
        end
    })

    Tab:CreateButton({
        Name = "Teleport To Player",
        Callback = function()
            if not SelectedPlayerName then return end
            local target = Players:FindFirstChild(SelectedPlayerName)
            if not target then return end
            if not LocalPlayer.Character or not target.Character then return end

            local hrp = LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
            local thrp = target.Character:FindFirstChild("HumanoidRootPart")
            if hrp and thrp then
                hrp.CFrame = thrp.CFrame + Vector3.new(0, 3, 0)
            end
        end
    })

    Tab:CreateButton({
        Name = "Refresh Player List",
        Callback = function()
            Rayfield:Notify({
                Title = "Refreshing",
                Content = "Reloading UI",
                Duration = 0.5
            })
            task.wait(0.5)
            Rayfield:Destroy()
            task.wait()
            Run()
        end
    })
end

Run()

Features & Information

Player teleport

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts