Advertisement
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"))
- Camera0 = Instance.new("Camera")
- BodyColors1 = Instance.new("BodyColors")
- Humanoid2 = Instance.new("Humanoid")
- Model3 = Instance.new("Model")
- Part4 = Instance.new("Part")
- BlockMesh5 = Instance.new("BlockMesh")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Decal10 = Instance.new("Decal")
- Decal11 = Instance.new("Decal")
- Script12 = Instance.new("Script")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Decal15 = Instance.new("Decal")
- Decal16 = Instance.new("Decal")
- Part17 = Instance.new("Part")
- Script18 = Instance.new("Script")
- Snap19 = Instance.new("Snap")
- Snap20 = Instance.new("Snap")
- Model21 = Instance.new("Model")
- Humanoid22 = Instance.new("Humanoid")
- BodyColors23 = Instance.new("BodyColors")
- Model24 = Instance.new("Model")
- Part25 = Instance.new("Part")
- BlockMesh26 = Instance.new("BlockMesh")
- Decal27 = Instance.new("Decal")
- Decal28 = Instance.new("Decal")
- Decal29 = Instance.new("Decal")
- Decal30 = Instance.new("Decal")
- Decal31 = Instance.new("Decal")
- Decal32 = Instance.new("Decal")
- Script33 = Instance.new("Script")
- Part34 = Instance.new("Part")
- SpecialMesh35 = Instance.new("SpecialMesh")
- Decal36 = Instance.new("Decal")
- Decal37 = Instance.new("Decal")
- Part38 = Instance.new("Part")
- Script39 = Instance.new("Script")
- Snap40 = Instance.new("Snap")
- Snap41 = Instance.new("Snap")
- Camera42 = Instance.new("Camera")
- Camera42.Name = "ThumbnailCamera"
- Camera42.Parent = Model21
- Camera42.CFrame = CFrame.new(-210.566223, 31.0603485, -44.0569992, 0.0164127685, 0.0730720907, -0.997191608, -0, 0.997325957, 0.073081933, 0.999865353, -0.00119947689, 0.016368879)
- Camera42.CoordinateFrame = CFrame.new(-210.566223, 31.0603485, -44.0569992, 0.0164127685, 0.0730720907, -0.997191608, -0, 0.997325957, 0.073081933, 0.999865353, -0.00119947689, 0.016368879)
- Camera42.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera42.focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- BodyColors23.Parent = Model21
- BodyColors23.HeadColor = BrickColor.new("Pastel brown")
- BodyColors23.HeadColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.LeftArmColor = BrickColor.new("Pastel brown")
- BodyColors23.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.LeftLegColor = BrickColor.new("Pastel brown")
- BodyColors23.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.RightArmColor = BrickColor.new("Pastel brown")
- BodyColors23.RightArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.RightLegColor = BrickColor.new("Pastel brown")
- BodyColors23.RightLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.TorsoColor = BrickColor.new("Pastel brown")
- BodyColors23.TorsoColor3 = Color3.new(1, 0.8, 0.6)
- Humanoid22.Parent = Model21
- Humanoid22.MaxHealth = 0
- Humanoid22.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid22.maxHealth = 0
- Model24.Name = "Diaper"
- Model24.Parent = Model21
- Part25.Name = "Plastic"
- Part25.Parent = Model24
- Part25.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part25.Orientation = Vector3.new(0, 180, 0)
- Part25.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
- Part25.Rotation = Vector3.new(-180, 0, -180)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Size = Vector3.new(0.600000024, 0.699999988, 1)
- Part25.Anchored = true
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.brickColor = BrickColor.new("Institutional white")
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.formFactor = Enum.FormFactor.Custom
- BlockMesh26.Parent = Part25
- BlockMesh26.Offset = Vector3.new(0, 0.25, 0)
- BlockMesh26.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
- Decal27.Parent = Part25
- Decal27.Texture = "http://www.roblox.com/asset/?id=51477236"
- Decal27.Face = Enum.NormalId.Right
- Decal28.Parent = Part25
- Decal28.Texture = "http://www.roblox.com/asset/?id=51477323"
- Decal28.Face = Enum.NormalId.Left
- Decal29.Parent = Part25
- Decal29.Texture = "http://www.roblox.com/asset/?id=51477302"
- Decal30.Parent = Part25
- Decal30.Texture = "http://www.roblox.com/asset/?id=51477275"
- Decal30.Face = Enum.NormalId.Back
- Decal31.Parent = Part25
- Decal31.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal31.Face = Enum.NormalId.Right
- Decal32.Parent = Part25
- Decal32.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal32.Face = Enum.NormalId.Left
- Script33.Parent = Model24
- table.insert(cors,sandbox(Script33,function()
- local w = Instance.new("Weld")
- w.Part0 = script.Parent.AbsorbencyPad
- w.Part1 = script.Parent.Plastic
- w.Parent = script.Parent
- end))
- Script33.Disabled = true
- Part34.Name = "AbsorbencyPad"
- Part34.Parent = Model24
- Part34.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part34.Orientation = Vector3.new(0, 180, 0)
- Part34.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
- Part34.Rotation = Vector3.new(-180, 0, -180)
- Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part34.Size = Vector3.new(0.5, 0.699999988, 1)
- Part34.Anchored = true
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.BrickColor = BrickColor.new("Institutional white")
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part34.brickColor = BrickColor.new("Institutional white")
- Part34.FormFactor = Enum.FormFactor.Custom
- Part34.formFactor = Enum.FormFactor.Custom
- SpecialMesh35.Parent = Part34
- SpecialMesh35.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
- SpecialMesh35.MeshType = Enum.MeshType.Sphere
- Decal36.Parent = Part34
- Decal36.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal36.Face = Enum.NormalId.Right
- Decal37.Parent = Part34
- Decal37.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal37.Face = Enum.NormalId.Left
- Part38.Name = "TouchPlate"
- Part38.Parent = Model21
- Part38.CFrame = CFrame.new(4.99782896, 0.200023994, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part38.Orientation = Vector3.new(0, 180, 0)
- Part38.Position = Vector3.new(4.99782896, 0.200023994, -11.6943464)
- Part38.Rotation = Vector3.new(-180, 0, -180)
- Part38.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part38.Size = Vector3.new(4, 0.400000006, 4)
- Part38.Anchored = true
- Part38.BrickColor = BrickColor.new("Bright blue")
- Part38.CanCollide = false
- Part38.TopSurface = Enum.SurfaceType.Smooth
- Part38.brickColor = BrickColor.new("Bright blue")
- Part38.FormFactor = Enum.FormFactor.Plate
- Part38.formFactor = Enum.FormFactor.Plate
- Script39.Parent = Part38
- table.insert(cors,sandbox(Script39,function()
- local deb = true
- script.Parent.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid") or not deb or hit.Parent:findFirstChild("Diaper") then return end
- -- Checks for human.
- -- Checks for diapers. (no need for extras)
- deb = false
- -- Diapers + Pants = No No
- local diaper = script.Parent.Parent.Diaper:Clone()
- local w = Instance.new("Weld")
- w.Part0 = hit.Parent.UpperTorso
- w.Part1 = diaper.Plastic
- w.C0 = CFrame.new(0,-.9,0)*CFrame.Angles(0, math.pi/2,0)
- w.Parent = diaper
- diaper.Plastic.Anchored = false
- diaper.AbsorbencyPad.Anchored = false
- diaper.Script.Disabled = false
- diaper.Parent = hit.Parent
- -- Now to put on that fresh diaper
- -- Just in case
- wait(1)
- deb = true
- end)
- end))
- Snap40.Parent = Part38
- Snap40.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Snap40.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Snap40.Part0 = Part38
- Snap41.Parent = Part38
- Snap41.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap41.C1 = CFrame.new(4.99782896, 10.0000238, -11.6943464, -1, 0, 0, 0, 0, -1, 0, -1, 0)
- Snap41.Part0 = Part38
- Snap41.Part1 = Part133
- Snap41.part1 = Part133
- Model21.Name = "Enjoy your Roxers Comfort Size 5 Diaper!"
- Model21.Parent = mas
- Humanoid22.Parent = Model21
- Humanoid22.MaxHealth = 0
- Humanoid22.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid22.maxHealth = 0
- BodyColors23.Parent = Model21
- BodyColors23.HeadColor = BrickColor.new("Pastel brown")
- BodyColors23.HeadColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.LeftArmColor = BrickColor.new("Pastel brown")
- BodyColors23.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.LeftLegColor = BrickColor.new("Pastel brown")
- BodyColors23.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.RightArmColor = BrickColor.new("Pastel brown")
- BodyColors23.RightArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.RightLegColor = BrickColor.new("Pastel brown")
- BodyColors23.RightLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors23.TorsoColor = BrickColor.new("Pastel brown")
- BodyColors23.TorsoColor3 = Color3.new(1, 0.8, 0.6)
- Model24.Name = "Diaper"
- Model24.Parent = Model21
- Part25.Name = "Plastic"
- Part25.Parent = Model24
- Part25.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part25.Orientation = Vector3.new(0, 180, 0)
- Part25.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
- Part25.Rotation = Vector3.new(-180, 0, -180)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Size = Vector3.new(0.600000024, 0.699999988, 1)
- Part25.Anchored = true
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.brickColor = BrickColor.new("Institutional white")
- Part25.FormFactor = Enum.FormFactor.Custom
- Part25.formFactor = Enum.FormFactor.Custom
- BlockMesh26.Parent = Part25
- BlockMesh26.Offset = Vector3.new(0, 0.25, 0)
- BlockMesh26.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
- Decal27.Parent = Part25
- Decal27.Texture = "http://www.roblox.com/asset/?id=51477236"
- Decal27.Face = Enum.NormalId.Right
- Decal28.Parent = Part25
- Decal28.Texture = "http://www.roblox.com/asset/?id=51477323"
- Decal28.Face = Enum.NormalId.Left
- Decal29.Parent = Part25
- Decal29.Texture = "http://www.roblox.com/asset/?id=51477302"
- Decal30.Parent = Part25
- Decal30.Texture = "http://www.roblox.com/asset/?id=51477275"
- Decal30.Face = Enum.NormalId.Back
- Decal31.Parent = Part25
- Decal31.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal31.Face = Enum.NormalId.Right
- Decal32.Parent = Part25
- Decal32.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal32.Face = Enum.NormalId.Left
- Script33.Parent = Model24
- table.insert(cors,sandbox(Script33,function()
- local w = Instance.new("Weld")
- w.Part0 = script.Parent.AbsorbencyPad
- w.Part1 = script.Parent.Plastic
- w.Parent = script.Parent
- end))
- Script33.Disabled = true
- Part34.Name = "AbsorbencyPad"
- Part34.Parent = Model24
- Part34.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part34.Orientation = Vector3.new(0, 180, 0)
- Part34.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
- Part34.Rotation = Vector3.new(-180, 0, -180)
- Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part34.Size = Vector3.new(0.5, 0.699999988, 1)
- Part34.Anchored = true
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.BrickColor = BrickColor.new("Institutional white")
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part34.brickColor = BrickColor.new("Institutional white")
- Part34.FormFactor = Enum.FormFactor.Custom
- Part34.formFactor = Enum.FormFactor.Custom
- SpecialMesh35.Parent = Part34
- SpecialMesh35.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
- SpecialMesh35.MeshType = Enum.MeshType.Sphere
- Decal36.Parent = Part34
- Decal36.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal36.Face = Enum.NormalId.Right
- Decal37.Parent = Part34
- Decal37.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal37.Face = Enum.NormalId.Left
- Part38.Name = "TouchPlate"
- Part38.Parent = Model21
- Part38.CFrame = CFrame.new(4.99782896, 0.200023994, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part38.Orientation = Vector3.new(0, 180, 0)
- Part38.Position = Vector3.new(4.99782896, 0.200023994, -11.6943464)
- Part38.Rotation = Vector3.new(-180, 0, -180)
- Part38.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part38.Size = Vector3.new(4, 0.400000006, 4)
- Part38.Anchored = true
- Part38.BrickColor = BrickColor.new("Bright blue")
- Part38.CanCollide = false
- Part38.TopSurface = Enum.SurfaceType.Smooth
- Part38.brickColor = BrickColor.new("Bright blue")
- Part38.FormFactor = Enum.FormFactor.Plate
- Part38.formFactor = Enum.FormFactor.Plate
- Script39.Parent = Part38
- table.insert(cors,sandbox(Script39,function()
- local deb = true
- script.Parent.Touched:connect(function(hit)
- if not hit.Parent:findFirstChild("Humanoid") or not deb or hit.Parent:findFirstChild("Diaper") then return end
- -- Checks for human.
- -- Checks for diapers. (no need for extras)
- deb = false
- -- Diapers + Pants = No No
- local diaper = script.Parent.Parent.Diaper:Clone()
- local w = Instance.new("Weld")
- w.Part0 = hit.Parent.UpperTorso
- w.Part1 = diaper.Plastic
- w.C0 = CFrame.new(0,-.9,0)*CFrame.Angles(0, math.pi/2,0)
- w.Parent = diaper
- diaper.Plastic.Anchored = false
- diaper.AbsorbencyPad.Anchored = false
- diaper.Script.Disabled = false
- diaper.Parent = hit.Parent
- -- Now to put on that fresh diaper
- -- Just in case
- wait(1)
- deb = true
- end)
- end))
- Snap40.Parent = Part38
- Snap40.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Snap40.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Snap40.Part0 = Part38
- Snap41.Parent = Part38
- Snap41.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap41.C1 = CFrame.new(4.99782896, 10.0000238, -11.6943464, -1, 0, 0, 0, 0, -1, 0, -1, 0)
- Snap41.Part0 = Part38
- Snap41.Part1 = Part133
- Snap41.part1 = Part133
- Camera42.Name = "ThumbnailCamera"
- Camera42.Parent = Model21
- Camera42.CFrame = CFrame.new(-210.566223, 31.0603485, -44.0569992, 0.0164127685, 0.0730720907, -0.997191608, -0, 0.997325957, 0.073081933, 0.999865353, -0.00119947689, 0.016368879)
- Camera42.CoordinateFrame = CFrame.new(-210.566223, 31.0603485, -44.0569992, 0.0164127685, 0.0730720907, -0.997191608, -0, 0.997325957, 0.073081933, 0.999865353, -0.00119947689, 0.016368879)
- Camera42.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera42.focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- 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
Advertisement