Universal Script 📌
6.0k Views
134 Executions

TELEPORT IMPROVED MADE BY ME

Universal Script 📌
Graz_lez
Graz_lez100K executions
2 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

I've added a DBZ teleport sound. Improved the teleportation script.

Updates

  1. Script edited: Create script

View Raw
-- Teleport to Selected Player Script
-- Place this script in a LocalScript within a GUI button or other interface

-- Define variables for player and teleport function
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local TeleportSoundId = "4826619573" -- DBZ teleport sound Roblox ID

-- Function to teleport to a selected player
local function teleportToPlayer(selectedName)
    -- Find the target player by partial username or display name
    local targetPlayer = nil
    local lowerSelectedName = selectedName:lower()
    for _, player in ipairs(Players:GetPlayers()) do
        if player.Name:lower():find(lowerSelectedName) or player.DisplayName:lower():find(lowerSelectedName) then
            targetPlayer = player
            break
        end
    end

    if not targetPlayer or not targetPlayer.Character then
        warn("Target player not found or has no character.")
        return
    end

    -- Ensure the local player has a character
    if not LocalPlayer.Character or not LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        warn("Local player character is not ready.")
        return
    end

    -- Play teleport sound
    local sound = Instance.new("Sound")
    sound.SoundId = "rbxassetid://" .. TeleportSoundId
    sound.Parent = LocalPlayer.Character
    sound:Play()

    -- Get the target player's position
    local targetRootPart = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
    if targetRootPart then


Comments

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

@Exort I cannot be the only one bro

1
Exort's profile picture
Exort2 years ago(edited)

goofy chatgpt

1

Tags

More universal scripts

See all
Universal Script 📌
48.5k
46.5k
Bumped 2 hours ago
Universal Script 📌
1.4k
1.3k
Bumped 5 hours ago
Universal Script 📌
4.2k
56.4k
Bumped 6 hours ago
Universal Script 📌
7.1k
71.4k
Bumped 6 hours ago
Script hub
3.5M
1.2M
Bumped 7 hours ago
Key System
Universal Script 📌
5.0k
92.0k
Bumped 12 hours ago