
6.0k Views
104 Executions
TELEPORT IMPROVED MADE BY ME
Universal Script 📌
Graz_lez100K executions
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
I've added a DBZ teleport sound. Improved the teleportation script.
-- 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







@Exort I cannot be the only one bro
goofy chatgpt