Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Sound3 = Instance.new("Sound")
- LocalScript4 = Instance.new("LocalScript")
- ScreenGui5 = Instance.new("ScreenGui")
- Frame6 = Instance.new("Frame")
- ImageButton7 = Instance.new("ImageButton")
- ImageLabel8 = Instance.new("ImageLabel")
- ImageLabel9 = Instance.new("ImageLabel")
- ImageLabel10 = Instance.new("ImageLabel")
- ImageLabel11 = Instance.new("ImageLabel")
- ImageLabel12 = Instance.new("ImageLabel")
- ImageLabel13 = Instance.new("ImageLabel")
- ImageLabel14 = Instance.new("ImageLabel")
- ImageLabel15 = Instance.new("ImageLabel")
- ImageLabel16 = Instance.new("ImageLabel")
- ImageLabel17 = Instance.new("ImageLabel")
- LocalScript18 = Instance.new("LocalScript")
- Camera19 = Instance.new("Camera")
- Tool0.Name = "Luna De Plut�n"
- Tool0.Parent = mas
- Tool0.TextureId = "http://www.roblox.com/asset/?id=385994271"
- Tool0.Grip = CFrame.new(0, 0, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Tool0.GripPos = Vector3.new(0, 0, 0.25)
- Tool0.ToolTip = "Book by Dross"
- Part1.Name = "Handle"
- Part1.Parent = Tool0
- Part1.CFrame = CFrame.new(9.024436, 0.500005007, -9.26102448, 1, 6.96331881e-13, 7.7143186e-06, 6.27509552e-20, 1, -9.12696123e-08, -7.7143186e-06, 9.12696123e-08, 1)
- Part1.Position = Vector3.new(9.024436, 0.500005007, -9.26102448)
- Part1.Size = Vector3.new(0.869999826, 1, 0.819999754)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=124477699"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=386001591"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Sound3.Name = "Dross 100% real no fake"
- Sound3.Parent = Part1
- Sound3.SoundId = "rbxassetid://340870910"
- LocalScript4.Parent = Tool0
- table.insert(cors,sandbox(LocalScript4,function()
- --Made by Luckymaxer
- Tool = script.Parent
- Handle = Tool:WaitForChild("Handle")
- Players = game:GetService("Players")
- Debris = game:GetService("Debris")
- InsertService = game:GetService("InsertService")
- BookGui = script:WaitForChild("BookGui")
- ToolEquipped = false
- function CheckIfAlive()
- return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
- end
- function Activated()
- if not CheckIfAlive() then
- return
- end
- if BookGuiCopy and BookGuiCopy.Parent then
- return
- end
- local PlayerGui = Player:FindFirstChild("PlayerGui")
- if PlayerGui then
- BookGuiCopy = BookGui:Clone()
- BookGuiCopy.Parent = PlayerGui
- end
- end
- function Equipped(Mouse)
- Character = Tool.Parent
- Player = Players:GetPlayerFromCharacter(Character)
- Humanoid = Character:FindFirstChild("Humanoid")
- ToolEquipped = true
- if not CheckIfAlive() then
- return
- end
- end
- function Unequipped()
- if BookGuiCopy and BookGuiCopy.Parent then
- Debris:AddItem(BookGuiCopy, 0)
- end
- ToolEquipped = false
- end
- Tool.Activated:connect(Activated)
- Tool.Equipped:connect(Equipped)
- Tool.Unequipped:connect(Unequipped)
- end))
- ScreenGui5.Name = "BookGui"
- ScreenGui5.Parent = LocalScript4
- Frame6.Parent = ScreenGui5
- Frame6.Position = UDim2.new(0.5, -245, 0.5, -340)
- Frame6.Size = UDim2.new(0, 480, 0, 720)
- Frame6.BackgroundTransparency = 1
- ImageButton7.Name = "Next"
- ImageButton7.Parent = Frame6
- ImageButton7.Position = UDim2.new(1, -65, 0, 0)
- ImageButton7.Size = UDim2.new(0, 65, 0, 63)
- ImageButton7.BackgroundTransparency = 1
- ImageButton7.ZIndex = 10
- ImageButton7.Image = "http://www.roblox.com/asset/?id=82270576"
- ImageLabel8.Name = "9"
- ImageLabel8.Parent = Frame6
- ImageLabel8.Visible = false
- ImageLabel8.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel8.BackgroundTransparency = 1
- ImageLabel8.Image = "http://www.roblox.com/asset/?id=385996142 "
- ImageLabel9.Name = "8"
- ImageLabel9.Parent = Frame6
- ImageLabel9.Visible = false
- ImageLabel9.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel9.BackgroundTransparency = 1
- ImageLabel9.Image = "http://www.roblox.com/asset/?id=385995851 "
- ImageLabel10.Name = "7"
- ImageLabel10.Parent = Frame6
- ImageLabel10.Visible = false
- ImageLabel10.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel10.BackgroundTransparency = 1
- ImageLabel10.Image = "http://www.roblox.com/asset/?id=385995710 "
- ImageLabel11.Name = "6"
- ImageLabel11.Parent = Frame6
- ImageLabel11.Visible = false
- ImageLabel11.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel11.BackgroundTransparency = 1
- ImageLabel11.Image = "http://www.roblox.com/asset/?id=385995383"
- ImageLabel12.Name = "5"
- ImageLabel12.Parent = Frame6
- ImageLabel12.Visible = false
- ImageLabel12.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel12.BackgroundTransparency = 1
- ImageLabel12.Image = "http://www.roblox.com/asset/?id=385995164"
- ImageLabel13.Name = "4"
- ImageLabel13.Parent = Frame6
- ImageLabel13.Visible = false
- ImageLabel13.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel13.BackgroundTransparency = 1
- ImageLabel13.Image = "http://www.roblox.com/asset/?id=385995024"
- ImageLabel14.Name = "3"
- ImageLabel14.Parent = Frame6
- ImageLabel14.Visible = false
- ImageLabel14.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel14.BackgroundTransparency = 1
- ImageLabel14.Image = "http://www.roblox.com/asset/?id=385994708"
- ImageLabel15.Name = "2"
- ImageLabel15.Parent = Frame6
- ImageLabel15.Visible = false
- ImageLabel15.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel15.BackgroundTransparency = 1
- ImageLabel15.Image = "http://www.roblox.com/asset/?id=385994538"
- ImageLabel16.Name = "1"
- ImageLabel16.Parent = Frame6
- ImageLabel16.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel16.BackgroundTransparency = 1
- ImageLabel16.ZIndex = 9
- ImageLabel16.Image = "http://www.roblox.com/asset/?id=385994271"
- ImageLabel17.Name = "10"
- ImageLabel17.Parent = Frame6
- ImageLabel17.Visible = false
- ImageLabel17.Size = UDim2.new(0, 480, 0, 720)
- ImageLabel17.BackgroundTransparency = 1
- ImageLabel17.Image = "http://www.roblox.com/asset/?id=385996289"
- LocalScript18.Parent = ScreenGui5
- table.insert(cors,sandbox(LocalScript18,function()
- --Made by Dross
- ContentProvider = game:GetService("ContentProvider")
- Gui = script.Parent
- Frame = Gui:WaitForChild("Frame")
- Next = Frame:WaitForChild("Next")
- Pages = {}
- CurrentPage = 1
- for i, v in pairs(Frame:GetChildren()) do
- if ((v:IsA("ImageButton") or v:IsA("ImageLabel")) and tonumber(v.Name)) then
- table.insert(Pages, v)
- ContentProvider:Preload(v.Image)
- v.Visible = false
- end
- end
- table.sort(Pages, (function(a, b)
- return tonumber(a.Name) < tonumber(b.Name)
- end))
- if Pages[1] then
- Pages[1].Visible = true
- end
- Next.MouseButton1Click:connect(function()
- if not Pages[1] then
- return
- end
- CurrentPage = (CurrentPage + 1)
- if not Pages[CurrentPage] then
- CurrentPage = 1
- end
- for ii, vv in pairs(Pages) do
- if ii == CurrentPage then
- vv.Visible = true
- else
- vv.Visible = false
- end
- end
- end)
- end))
- Camera19.Name = "ThumbnailCamera"
- Camera19.Parent = Tool0
- Camera19.CFrame = CFrame.new(-93.4011688, 1.06647539, 92.4933701, 0.368154377, 0.526704013, -0.76618886, -0, 0.824067593, 0.566491723, 0.929764748, -0.208556414, 0.303384036)
- Camera19.CoordinateFrame = CFrame.new(-93.4011688, 1.06647539, 92.4933701, 0.368154377, 0.526704013, -0.76618886, -0, 0.824067593, 0.566491723, 0.929764748, -0.208556414, 0.303384036)
- Camera19.Focus = CFrame.new(-92.6350021, 0.50000006, 92.1899948, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera19.focus = CFrame.new(-92.6350021, 0.50000006, 92.1899948, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment