
KeylessUniversal

-- Create GUI
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "PartTeleportGui"
-- Frame
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 250, 0, 150)
frame.Position = UDim2.new(0.5, -125, 0.5, -75)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.BorderSizePixel = 0
frame.Active = true
frame.Draggable = true
-- Close Button
local closeBtn = Instance.new("TextButton", frame)
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.new(1, 1, 1)
closeBtn.BackgroundColor3 = Color3.fromRGB(100, 0, 0)
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 18
-- TextBox for Part Name
local partBox = Instance.new("TextBox", frame)
partBox.PlaceholderText = "Enter Part Name"
partBox.Size = UDim2.new(1, -20, 0, 40)
partBox.Position = UDim2.new(0, 10, 0, 50)
partBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
partBox.TextColor3 = Color3.new(1, 1, 1)
partBox.ClearTextOnFocus = false
-- Teleport Button
local tpBtn = Instance.new("TextButton", frame)
tpBtn.Text = "Teleport to Part"
tpBtn.Size = UDim2.new(1, -20, 0, 40)
tpBtn.Position = UDim2.new(0, 10, 0, 100)
tpBtn.BackgroundColor3 = Color3.fromRGB(70, 130, 180)
tpBtn.TextColor3 = Color3.new(1, 1, 1)
-- Teleport Function
tpBtn.MouseButton1Click:Connect(function()
local partName = partBox.Text
local part = workspace:FindFirstChild(partName)
if part and part:IsA("BasePart") then
local char = game.Players.LocalPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = part.CFrame + Vector3.new(0, 3, 0)
end
else
tpBtn.Text = "Part Not Found"
wait(1)
tpBtn.Text = "Teleport to Part"
end
end)
-- Close Button Function
closeBtn.MouseButton1Click:Connect(function()
gui:Destroy()
end)



Warn didnt test yet