-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer local mouse = player:GetMouse() local selectedPart local choosing = false local teleporting = false local minimized = false -- GUI local gui = Instance.new("ScreenGui") gui.Name = "PartTeleporterGUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.fromOffset(240, 155) frame.Position = UDim2.new(0.5, -120, 0.5, -77) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Active = true frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) -- Title bar local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -45, 0, 35) title.BackgroundTransparency = 1 title.Position = UDim2.fromOffset(10, 0) title.Text = "Part Teleporter" title.TextColor3 = Color3.new(1, 1, 1) title.TextSize = 16 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = frame -- Minimize button local minimize = Instance.new("TextButton") minimize.Size = UDim2.fromOffset(30, 27) minimize.Position = UDim2.new(1, -37, 0, 4) minimize.BackgroundColor3 = Color3.fromRGB(65, 65, 65) minimize.TextColor3 = Color3.new(1, 1, 1) minimize.Text = "-" minimize.TextSize = 20 minimize.Parent = frame Instance.new("UICorner", minimize).CornerRadius = UDim.new(0, 6) -- Content local content = Instance.new("Frame") content.Size = UDim2.new(1, 0, 1, -35) content.Position = UDim2.fromOffset(0, 35) content.BackgroundTransparency = 1 content.Parent = frame local button = Instance.new("TextButton") button.Size = UDim2.new(1, -20, 0, 40) button.Position = UDim2.fromOffset(10, 5) button.BackgroundColor3 = Color3.fromRGB(65, 65, 65) button.TextColor3 = Color3.new(1, 1, 1) button.TextSize = 16 button.Text = "Choose Part" button.Parent = content Instance.new("UICorner", button).CornerRadius = UDim.new(0, 8) local status = Instance.new("TextLabel") status.Size = UDim2.new(1, -20, 0, 40) status.Position = UDim2.fromOffset(10, 55) status.BackgroundTransparency = 1 status.TextColor3 = Color3.new(1, 1, 1) status.TextSize = 14 status.Text = "Selected: None" status.Parent = content -- Minimize / Restore minimize.MouseButton1Click:Connect(function() minimized = not minimized if minimized then content.Visible = false frame.Size = UDim2.fromOffset(240, 35) minimize.Text = "+" else content.Visible = true frame.Size = UDim2.fromOffset(240, 155) minimize.Text = "-" end end) -- Drag GUI using title bar local dragging = false local dragStart local startPosition title.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPosition = frame.Position end end) UIS.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart frame.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) -- Choose Part button.MouseButton1Click:Connect(function() choosing = true button.Text = "Click a Part..." end) mouse.Button1Down:Connect(function() if not choosing then return end local target = mouse.Target if target and target:IsA("BasePart") then selectedPart = target choosing = false button.Text = "Choose Part" status.Text = "Selected: " .. target.Name end end) -- Teleport with E UIS.InputBegan:Connect(function(input, processed) if processed or choosing then return end if input.KeyCode ~= Enum.KeyCode.E then return end if teleporting or not selectedPart then return end if not selectedPart:IsDescendantOf(workspace) then return end local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end teleporting = true local originalCFrame = root.CFrame root.CFrame = selectedPart.CFrame * CFrame.new(0, 3, 0) task.wait(0.5) if root.Parent then root.CFrame = originalCFrame end teleporting = false end) print("Part Teleporter GUI loaded!")