Universal Script 📌
981 Views
45 Executions

RayField player teleport

Universal Script 📌
10 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Player teleport

View Raw
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


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
3.7k
184.5k
Bumped 2 hours ago
Script hub
264
23
3 hours ago
Universal Script 📌
28.5k
663.4k
Bumped 5 hours ago
Script hub
13.7k
2.7k
Bumped 7 hours ago
Key System
Paid
Script hub
263.6k
88.1k
Bumped 8 hours ago
Key System
Universal Script 📌
2.8k
9.4k
Bumped 8 hours ago
Universal Script 📌
549
37
Approved 8 hours ago
Universal Script 📌
575
33
Approved 8 hours ago