local a=game:GetService("Players")local b=a.LocalPlayer;local c=Instance.new("ScreenGui")c.Parent=b:WaitForChild("PlayerGui")c.Name="TPGui"c.ResetOnSpawn=false;local d=Instance.new("Frame")d.Parent=c;d.Size=UDim2.new(0,200,0,300)d.Position=UDim2.new(0,10,0,10)d.BackgroundColor3=Color3.fromRGB(50,50,50)d.BorderSizePixel=0;d.Active=true;d.Draggable=true;d.Visible=true;local e=Instance.new("TextLabel")e.Parent=d;e.Size=UDim2.new(1,0,0,50)e.BackgroundColor3=Color3.fromRGB(70,70,70)e.Text="TP to Player"e.TextColor3=Color3.new(1,1,1)e.Font=Enum.Font.SourceSans;e.TextSize=20;local f=Instance.new("ScrollingFrame")f.Parent=d;f.Size=UDim2.new(1,0,1,-50)f.Position=UDim2.new(0,0,0,50)f.CanvasSize=UDim2.new(0,0,0,0)f.ScrollBarThickness=8;f.BackgroundColor3=Color3.fromRGB(40,40,40)local function g()f:ClearAllChildren()local h=0;for i,j in ipairs(a:GetPlayers())do if j~=b then local k=Instance.new("TextButton")k.Parent=f;k.Size=UDim2.new(1,-10,0,30)k.Position=UDim2.new(0,5,0,h)k.Text=j.Name;k.BackgroundColor3=Color3.fromRGB(60,60,60)k.TextColor3=Color3.new(1,1,1)k.Font=Enum.Font.SourceSans;k.TextSize=18;h=h+35;k.MouseButton1Click:Connect(function()local l=j.Character;if l and l:FindFirstChild("HumanoidRootPart")then local m=l.HumanoidRootPart;local n=m.CFrame.LookVector;b.Character.HumanoidRootPart.CFrame=m.CFrame-n*2+Vector3.new(0,0.5,0)end end)end end;f.CanvasSize=UDim2.new(0,0,0,h)end;a.PlayerAdded:Connect(g)a.PlayerRemoving:Connect(g)g()local o=Instance.new("TextButton")o.Parent=c;o.Size=UDim2.new(0,50,0,50)o.Position=UDim2.new(0,44,0,435)o.BackgroundColor3=Color3.fromRGB(100,100,255)o.Text="TP"o.TextColor3=Color3.new(1,1,1)o.Font=Enum.Font.SourceSansBold;o.TextSize=18;o.BorderSizePixel=0;o.Active=true;o.ClipsDescendants=true;o.AnchorPoint=Vector2.new(0,0)local p=Instance.new("UICorner")p.CornerRadius=UDim.new(1,0)p.Parent=o;o.MouseButton1Click:Connect(function()d.Visible=not d.Visible end)