-- Load ForumsLib local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/forumsLib/main/source.lua"))() local Forums = Library.new("Moony's Piggy Hub") -- Sections local Teleports = Forums:NewSection("Teleports") local Main = Forums:NewSection("Main") -- Services local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer -- PAGE LOCATIONS local Locations = { ["Chapter 1 Pages"] = { CFrame.new(51.3424416, 68.2774963, -5.13741493), CFrame.new(52.4065323, 81.7923431, -70.1238708), CFrame.new(-1.58604562, 54.7923546, -52.1839485), CFrame.new(10.3015909, 52.4899864, 17.4741154), CFrame.new(29.3242664, 41.9772758, -16.8576488), CFrame.new(30.3233261, 29.5870705, -47.9498024) }, ["Chapter 2 Pages"] = { CFrame.new(59.5009499, 46.8274727, 621.637085), CFrame.new(48.7100449, 34.6925201, 756.148743), CFrame.new(-34.7744331, 33.3923569, 677.535645), CFrame.new(47.1681213, 19.9774876, 667.345337), CFrame.new(-85.9043884, 22.7408161, 666.714172), CFrame.new(-16.8668861, 34.2503662, 559.510498) } } -- DROPDOWN local PageList = { "Chapter 1 Pages", "Chapter 2 Pages" } local SelectedPage Teleports:NewDropdown("Collect Book Pages", PageList, function(item) SelectedPage = item end) -- Separator Main:Seperator() -- AUTO TELEPORT BUTTON Main:NewButton("Collect Selected Pages", function() if not SelectedPage then return end if not Locations[SelectedPage] then return end local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") for _, cf in ipairs(Locations[SelectedPage]) do hrp.CFrame = cf task.wait(0.5) end end) -- DIRECT CHAPTER 1 BUTTON Main:NewButton("Collect Chapter 1 Pages", function() local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") for _, cf in ipairs(Locations["Chapter 1 Pages"]) do hrp.CFrame = cf task.wait(0.5) end end)