local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "TeleportGui" screenGui.Parent = player:WaitForChild("PlayerGui") screenGui.IgnoreGuiInset = true screenGui.ResetOnSpawn = false local button = Instance.new("TextButton") button.Name = "TPButton" button.Size = UDim2.new(0, 50, 0, 50) button.Position = UDim2.new(0.5, -25, 0.5, -25) button.Text = "ТП" button.TextColor3 = Color3.new(1, 1, 1) button.BackgroundColor3 = Color3.new(0, 0, 0) button.BorderSizePixel = 0 button.Active = true button.Draggable = true button.ZIndex = 10 button.Parent = screenGui button.MouseButton1Click:Connect(function() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") and workspace:FindFirstChild("Center") and workspace.Center:FindFirstChild("Finish") then player.Character.HumanoidRootPart.CFrame = workspace.Center.Finish.CFrame end end)