Run it
Copy the script and paste it into your executor.
--[[
made by real_redz
opensource, anyone can edit the code
]]
if MAIN_THREAD then --[[task.cancel(MAIN_THREAD)]] return end
if not game.IsLoaded .Loaded:()
replicatedStorage = :()
players = :()
localPlayer = players.LocalPlayer
libraryGenres = .Library.Genres
libraryBooks = .Library.Books
exitDoor = .ExitDoor
bookController = (localPlayer.PlayerScripts.Client.Runtime.BookController)
enum = (replicatedStorage.Shared.Utility.Enum)
userLibraryData = bookController.Replica.Data.Players[localPlayer.Name]
BOOKS_SECTION = {}
BOOKS_GENRES = {}
booksGenres = enum.Genres
(book: ): ()
bookController.Replica:(, book)
(section: , index: number): ()
bookController.Replica:(, section, index)
(book: ): (, number)
title, index = book.Name:()
title, index
(genre: , bookName: , volumes: number): ?
BOOKS_SECTION[bookName]
BOOKS_GENRES[genre]
BOOKS_GENRES[genre] = libraryGenres[genre]:()
key, section BOOKS_GENRES[genre]
section:() == volumes
BOOKS_SECTION[bookName] = .(BOOKS_GENRES[genre], key)
BOOKS_SECTION[bookName]
()
MAIN_THREAD
.(MAIN_THREAD)
().MAIN_THREAD =
.()
localPlayer.Character:(exitDoor.Region.Part.CFrame)
()
genre, books booksGenres
_, data books
volumes = data.VolumeCount
section = (genre, data.Title, volumes)
volume = volumes, , -
book = libraryBooks:()
book book:()
book:()
localPlayer.Character:(book.CFrame)
.()
(book)
book:()
localPlayer.Character:(section:())
.()
(section, volume - )
()
exitDoor.DoorPart.DoorHighlight:():(complete)
().MAIN_THREAD = .(organizeBooks)
()DO NOT PLACE ANY BOOKS, OR THE SCRIPT WILL STOP/BROKE. LET THE SCRIPT DO EVERYTHING. made by real_redz Complete the game automatically (in about 7 to 15 minutes) - The better your ping, the faster it will be How to use it? - Enter a match (solo, professional, duo, trio, squad...) - Run the script

Clean The Library 馃摉