Universal Script 📌
22.0k Views
32 Executions

Simple Player Teleport Scipt OPEN SOURCE

Universal Script 📌
EviIAlienWare
EviIAlienWarePublished 10
3 years 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

have a good day if u see this

Updates

  1. Script edited: Create script

View Raw
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()

local Window = OrionLib:MakeWindow({Name = "Simple Teleport", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})

local Tab = Window:MakeTab({
	Name = "TP To Players",
	Icon = "rbxassetid://4483345998",
	PremiumOnly = false
})

local Section = Tab:AddSection({
	Name = "Teleport:"
})

local plrs = game.Players

-- Fetch all player names
local playerNames = {}
local players = plrs:GetPlayers()

for _, player in ipairs(players) do
    table.insert(playerNames, player.Name)
end

Tab:AddDropdown({
    Name = "Players",
    Default = playerNames[1] or "No Players",
    Options = playerNames,
    Callback = function(selectedplrName)
        local targetPlayer = plrs:FindFirstChild(selectedplrName)
        
        if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
            -- Teleporting your character to the selected player's position
            local targetPosition = targetPlayer.Character.HumanoidRootPart.Position
            local localPlayerRoot = plrs.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
            
            if localPlayerRoot then
                localPlayerRoot.CFrame = CFrame.new(targetPosition)
            end
        end


Comments

2
Log in to join the conversation. Login
EviIAlienWare's profile picture
EviIAlienWareUploader3 years ago(edited)

Bro, in the scripts, I explain certain things.

1
snooz's profile picture
snooz3 years ago(edited)

least chatgpted script -- Fetch all player names -- Teleporting your character to the selected player's position no mfer annotates like this

0

Tags

More universal scripts

See all
Universal Script 📌
12
0
Approved 19 minutes ago
Universal Script 📌
20
0
Approved 25 minutes ago
Key System
Universal Script 📌
23
3
Approved 31 minutes ago
Universal Script 📌
29
1
Approved 49 minutes ago
Universal Script 📌
38
2
Approved 1 hour ago
Script hub
74
1
Approved 1 hour ago

Script hub

konata.fun