Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local v0 = Instance.new("ScreenGui");
- local v1 = game:GetService("Players");
- local v2 = game:GetService("UserInputService");
- local v3 = Instance.new("Frame");
- local v4 = v1.LocalPlayer;
- local v5 = Instance.new("Frame");
- local v6 = Instance.new("UIAspectRatioConstraint");
- local v7 = Instance.new("ScrollingFrame");
- local v8 = Instance.new("UIListLayout");
- local v9 = Instance.new("UIAspectRatioConstraint");
- local v10 = Instance.new("UICorner");
- local v11 = Instance.new("UIAspectRatioConstraint");
- local v12 = Instance.new("UICorner");
- local v13 = Instance.new("UIAspectRatioConstraint");
- local v14 = Instance.new("UIAspectRatioConstraint");
- local v1 = game:GetService("Players");
- local v2 = game:GetService("UserInputService");
- local v15 = v3;
- local v4 = v1.LocalPlayer;
- local v16 = v4:GetMouse();
- local v17 = false;
- local v18 = false;
- local v19 = nil;
- local v20, v21, v22;
- local function v23()
- if (v18 == false) then
- v19:Disconnect();
- return;
- end
- local v81 = v20 - v16.X;
- local v82 = v21 - v16.Y;
- v15.Position = v22 - UDim2.new(0, v81, 0, v82);
- end
- v15.MouseEnter:Connect(function()
- v17 = true;
- end);
- v15.MouseLeave:Connect(function()
- v17 = false;
- end);
- v2.InputBegan:Connect(function(v84)
- if ((v84.UserInputType == Enum.UserInputType.MouseButton1) or (v84.UserInputType == Enum.UserInputType.Touch)) then
- v18 = v17;
- if v18 then
- v20, v21 = v16.X, v16.Y;
- v22 = v15.Position;
- v19 = v16.Move:Connect(v23);
- end
- end
- end);
- v2.InputEnded:Connect(function(v85)
- if ((v85.UserInputType == Enum.UserInputType.MouseButton1) or (v85.UserInputType == Enum.UserInputType.Touch)) then
- v18 = false;
- end
- end);
- v0.Name = "TP Gui";
- v0.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui");
- v0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling;
- v3.Name = "Main";
- v3.Parent = v0;
- v3.BackgroundColor3 = Color3.fromRGB(62, 62, 62);
- v3.BorderColor3 = Color3.fromRGB(0, 0, 0);
- v3.BorderSizePixel = 0;
- v3.Position = UDim2.new(0.0336134285, 0, 0.25555557, 0);
- v3.Size = UDim2.new(0.377610713, 0, 0.506369412, 0);
- v3.Draggable = true;
- v5.Name = "Separator";
- v5.Parent = v3;
- v5.BackgroundColor3 = Color3.fromRGB(0, 0, 0);
- v5.BorderColor3 = Color3.fromRGB(0, 0, 0);
- v5.BorderSizePixel = 0;
- v5.Position = UDim2.new(0.486156672, 0, 0, 0);
- v5.Size = UDim2.new(0.00884955656, 0, 1, 0);
- v6.Parent = v5;
- v6.AspectRatio = 0.013;
- v7.Parent = v3;
- v7.Active = true;
- v7.BackgroundColor3 = Color3.fromRGB(62, 62, 62);
- v7.BorderColor3 = Color3.fromRGB(0, 0, 0);
- v7.BorderSizePixel = 0;
- v7.Position = UDim2.new(0.491876155, 0, 0, 0);
- v7.Size = UDim2.new(0.498360664, 0, 1, 0);
- v8.Parent = v7;
- v8.HorizontalAlignment = Enum.HorizontalAlignment.Center;
- v8.SortOrder = Enum.SortOrder.LayoutOrder;
- v8.Padding = UDim.new(0, 7);
- v9.Parent = v7;
- v9.AspectRatio = 0.708;
- v10.Parent = v3;
- v13.Parent = v3;
- v13.AspectRatio = 1.421;
- v14.Parent = v0;
- v14.AspectRatio = 1.906;
- local function v65()
- for v93, v94 in ipairs(v7:GetChildren()) do
- if v94:IsA("TextButton") then
- v94:Destroy();
- end
- end
- for v95, v96 in ipairs(game.Players:GetPlayers()) do
- local v97 = Instance.new("TextButton");
- v97.BackgroundColor3 = Color3.fromRGB(107, 109, 107);
- v97.Text = v96.Name;
- v97.Size = UDim2.new(0, 200, 0, 50);
- v97.Position = UDim2.new(0, 0, 0, #v7:GetChildren() * 60);
- v97.Parent = v7;
- v97.MouseButton1Click:Connect(function()
- local v107 = game.Workspace:FindFirstChild(v96.Name):WaitForChild("HumanoidRootPart");
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = v107.CFrame;
- end);
- end
- end
- v65();
- game.Players.PlayerAdded:Connect(v65);
- game.Players.PlayerRemoving:Connect(v65);
- local v66 = Instance.new("TextButton");
- v66.Name = "tptool";
- v66.Parent = v3;
- v66.BackgroundColor3 = Color3.fromRGB(107, 107, 107);
- v66.BorderColor3 = Color3.fromRGB(0, 0, 0);
- v66.BorderSizePixel = 0;
- v66.Position = UDim2.new(0.102950826, 0, 0.0877707973, 0);
- v66.Size = UDim2.new(0.26557377, 0, 0.839622617, 0);
- v66.Font = Enum.Font.SourceSans;
- v66.TextColor3 = Color3.fromRGB(0, 0, 0);
- v66.TextSize = 14;
- v10.Parent = v66;
- v11.Parent = v66;
- v11.AspectRatio = 0.45;
- v66.Text = "Teleport Tool";
- v66.MouseButton1Click:Connect(function()
- local v86 = Instance.new("Tool");
- v86.Name = "Teleport Tool";
- v86.RequiresHandle = false;
- v86.Parent = game.Players.LocalPlayer.Backpack;
- local function v91(v104)
- v104.Button1Down:Connect(function()
- local v110 = v104.Hit.p;
- game.Players.LocalPlayer.Character:MoveTo(v110);
- end);
- end
- game.Players.LocalPlayer.CharacterAdded:Connect(function(v105)
- local v106 = game.Players.LocalPlayer:GetMouse();
- v91(v106);
- end);
- v91(game.Players.LocalPlayer:GetMouse());
- end);
- v2.InputBegan:Connect(function(v92)
- if (v92.KeyCode == Enum.KeyCode.P) then
- v3.Visible = not v3.Visible;
- end
- end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement