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"))
- Model0 = Instance.new("Model")
- Humanoid1 = Instance.new("Humanoid")
- BodyColors2 = Instance.new("BodyColors")
- 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")
- Sound17 = Instance.new("Sound")
- Script18 = Instance.new("Script")
- Part19 = Instance.new("Part")
- Script20 = Instance.new("Script")
- Snap21 = Instance.new("Snap")
- Snap22 = Instance.new("Snap")
- Camera23 = Instance.new("Camera")
- Model0.Name = "Enjoy your Roxers Comfort Size 5 Diaper!"
- Model0.Parent = mas
- Humanoid1.Parent = Model0
- Humanoid1.MaxHealth = 0
- Humanoid1.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid1.maxHealth = 0
- BodyColors2.Parent = Model0
- BodyColors2.HeadColor = BrickColor.new("Pastel brown")
- BodyColors2.HeadColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors2.LeftArmColor = BrickColor.new("Pastel brown")
- BodyColors2.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors2.LeftLegColor = BrickColor.new("Pastel brown")
- BodyColors2.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors2.RightArmColor = BrickColor.new("Pastel brown")
- BodyColors2.RightArmColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors2.RightLegColor = BrickColor.new("Pastel brown")
- BodyColors2.RightLegColor3 = Color3.new(1, 0.8, 0.6)
- BodyColors2.TorsoColor = BrickColor.new("Pastel brown")
- BodyColors2.TorsoColor3 = Color3.new(1, 0.8, 0.6)
- Model3.Name = "Diaper"
- Model3.Parent = Model0
- Part4.Name = "Plastic"
- Part4.Parent = Model3
- Part4.CFrame = CFrame.new(-1.89615774, 2.10001898, -14.2997561, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part4.Orientation = Vector3.new(0, 180, 0)
- Part4.Position = Vector3.new(-1.89615774, 2.10001898, -14.2997561)
- Part4.Rotation = Vector3.new(-180, 0, -180)
- Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part4.Size = Vector3.new(0.600000024, 0.699999988, 1)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Institutional white")
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Institutional white")
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.formFactor = Enum.FormFactor.Custom
- BlockMesh5.Parent = Part4
- BlockMesh5.Offset = Vector3.new(0, 0.25, 0)
- BlockMesh5.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
- Decal6.Parent = Part4
- Decal6.Texture = "http://www.roblox.com/asset/?id=51477236"
- Decal6.Face = Enum.NormalId.Right
- Decal7.Parent = Part4
- Decal7.Texture = "http://www.roblox.com/asset/?id=51477323"
- Decal7.Face = Enum.NormalId.Left
- Decal8.Parent = Part4
- Decal8.Texture = "http://www.roblox.com/asset/?id=51477302"
- Decal9.Parent = Part4
- Decal9.Texture = "http://www.roblox.com/asset/?id=51477275"
- Decal9.Face = Enum.NormalId.Back
- Decal10.Parent = Part4
- Decal10.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal10.Face = Enum.NormalId.Right
- Decal11.Parent = Part4
- Decal11.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal11.Face = Enum.NormalId.Left
- Script12.Parent = Model3
- table.insert(cors,sandbox(Script12,function()
- local w = Instance.new("Weld")
- w.Part0 = script.Parent.AbsorbencyPad
- w.Part1 = script.Parent.Plastic
- w.Parent = script.Parent
- end))
- Script12.Disabled = true
- Part13.Name = "AbsorbencyPad"
- Part13.Parent = Model3
- Part13.CFrame = CFrame.new(-1.89615774, 2.10001898, -14.2997561, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part13.Orientation = Vector3.new(0, 180, 0)
- Part13.Position = Vector3.new(-1.89615774, 2.10001898, -14.2997561)
- Part13.Rotation = Vector3.new(-180, 0, -180)
- Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part13.Size = Vector3.new(0.5, 0.699999988, 1)
- Part13.Anchored = true
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.BrickColor = BrickColor.new("Institutional white")
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.brickColor = BrickColor.new("Institutional white")
- Part13.FormFactor = Enum.FormFactor.Custom
- Part13.formFactor = Enum.FormFactor.Custom
- SpecialMesh14.Parent = Part13
- SpecialMesh14.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
- SpecialMesh14.MeshType = Enum.MeshType.Sphere
- Decal15.Parent = Part13
- Decal15.Texture = "http://www.roblox.com/asset/?id=131046229"
- Decal15.Face = Enum.NormalId.Right
- Decal16.Parent = Part13
- Decal16.Texture = "http://www.roblox.com/asset/?id=131046240"
- Decal16.Face = Enum.NormalId.Left
- Sound17.Name = "bag crinkle"
- Sound17.Parent = Model3
- Sound17.Looped = true
- Sound17.SoundId = "rbxassetid://411946349"
- Script18.Parent = Model3
- table.insert(cors,sandbox(Script18,function()
- health = 100
- active = true
- while wait(0.1) do
- if active then
- script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + health
- end
- end
- end))
- Part19.Name = "TouchPlate"
- Part19.Parent = Model0
- Part19.CFrame = CFrame.new(-7.49616385, 0.200012997, -14.2997561, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part19.Orientation = Vector3.new(0, 180, 0)
- Part19.Position = Vector3.new(-7.49616385, 0.200012997, -14.2997561)
- Part19.Rotation = Vector3.new(-180, 0, -180)
- Part19.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part19.Size = Vector3.new(4, 0.400000006, 4)
- Part19.Anchored = true
- Part19.BrickColor = BrickColor.new("Bright blue")
- Part19.CanCollide = false
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.brickColor = BrickColor.new("Bright blue")
- Part19.FormFactor = Enum.FormFactor.Plate
- Part19.formFactor = Enum.FormFactor.Plate
- Script20.Parent = Part19
- table.insert(cors,sandbox(Script20,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))
- Snap21.Parent = Part19
- Snap21.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Snap21.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Snap21.Part0 = Part19
- Snap22.Parent = Part19
- Snap22.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Snap22.C1 = CFrame.new(-7.49616385, 10.0000134, -14.2997561, -1, 0, 0, 0, 0, -1, 0, -1, 0)
- Snap22.Part0 = Part19
- Snap22.Part1 = nil
- Snap22.part1 = nil
- Camera23.Name = "ThumbnailCamera"
- Camera23.Parent = Model0
- Camera23.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)
- Camera23.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)
- Camera23.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera23.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