-- Wait for the game to fully load before running if not game:IsLoaded() then game.Loaded:Wait() end -- Services local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") -- Local Player local localPlayer = Players.LocalPlayer local playerGui = localPlayer:WaitForChild("PlayerGui") -- Specific CFrame Destination local fixedCFrame = CFrame.new(108.153458, 1.47827172, 205.404861, 1, 0, 0, 0, 1, 0, 0, 0, 1) -- CREATES THE GUI AUTOMATICALLY local screenGui = Instance.new("ScreenGui") screenGui.Name = "TeleportSystemGui" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Main Background Frame local mainFrame = Instance.new("Frame") mainFrame.Name = "MainTeleportMenu" mainFrame.Size = UDim2.new(0, 250, 0, 350) mainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui -- Rounded Corners local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 10) frameCorner.Parent = mainFrame -- Frame Border Stroke local frameStroke = Instance.new("UIStroke") frameStroke.Color = Color3.fromRGB(0, 170, 255) frameStroke.Thickness = 2 frameStroke.Parent = mainFrame -- Title Text local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 40) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Teleport Menu" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 18 titleLabel.Parent = mainFrame --- BUTTON 1: FIXED POSITION --- local fixedTpButton = Instance.new("TextButton") fixedTpButton.Size = UDim2.new(0.9, 0, 0, 40) fixedTpButton.Position = UDim2.new(0.05, 0, 0.12, 0) fixedTpButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) fixedTpButton.Text = "TP to Custom Position" fixedTpButton.TextColor3 = Color3.fromRGB(255, 255, 255) fixedTpButton.Font = Enum.Font.GothamBold fixedTpButton.TextSize = 14 fixedTpButton.AutoButtonColor = false fixedTpButton.Parent = mainFrame local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 6) btnCorner.Parent = fixedTpButton fixedTpButton.MouseButton1Click:Connect(function() local char = localPlayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") if root then root.CFrame = fixedCFrame end end) --- PLAYER LIST SCROLL --- local scrollFrame = Instance.new("ScrollingFrame") scrollFrame.Size = UDim2.new(0.9, 0, 0, 230) scrollFrame.Position = UDim2.new(0.05, 0, 0.28, 0) scrollFrame.BackgroundTransparency = 1 scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0) scrollFrame.ScrollBarThickness = 4 scrollFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 170, 255) scrollFrame.Parent = mainFrame local uiListLayout = Instance.new("UIListLayout") uiListLayout.Parent = scrollFrame uiListLayout.SortOrder = Enum.SortOrder.Name uiListLayout.Padding = UDim.new(0, 5) uiListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() scrollFrame.CanvasSize = UDim2.new(0, 0, 0, uiListLayout.AbsoluteContentSize.Y) end) local function teleportToPlayer(targetPlayer) if targetPlayer == localPlayer then return end local myChar = localPlayer.Character local targetChar = targetPlayer.Character local myRoot = myChar and myChar:FindFirstChild("HumanoidRootPart") local targetRoot = targetChar and targetChar:FindFirstChild("HumanoidRootPart") if myRoot and targetRoot then myRoot.CFrame = targetRoot.CFrame * CFrame.new(0, 3, 0) end end local function updatePlayerList() for _, child in ipairs(scrollFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, player in ipairs(Players:GetPlayers()) do if player ~= localPlayer then local pButton = Instance.new("TextButton") pButton.Size = UDim2.new(1, -5, 0, 35) pButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) pButton.Text = " " .. player.DisplayName pButton.TextColor3 = Color3.fromRGB(220, 220, 220) pButton.TextXAlignment = Enum.TextXAlignment.Left pButton.Font = Enum.Font.Gotham pButton.TextSize = 14 pButton.AutoButtonColor = false pButton.Parent = scrollFrame local pCorner = Instance.new("UICorner") pCorner.CornerRadius = UDim.new(0, 4) pCorner.Parent = pButton pButton.MouseEnter:Connect(function() TweenService:Create(pButton, TweenInfo.new(0.1), {BackgroundColor3 = Color3.fromRGB(55, 55, 55)}):Play() end) pButton.MouseLeave:Connect(function() TweenService:Create(pButton, TweenInfo.new(0.1), {BackgroundColor3 = Color3.fromRGB(40, 40, 40)}):Play() end) pButton.MouseButton1Click:Connect(function() teleportToPlayer(player) end) end end end Players.PlayerAdded:Connect(updatePlayerList) Players.PlayerRemoving:Connect(updatePlayerList) updatePlayerList()