bonniekawaiidesu

Untitled

Mar 1st, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.27 KB | None | 0 0
  1. function sandbox(var,func)
  2.     local env = getfenv(func)
  3.     local newenv = setmetatable({},{
  4.         __index = function(self,k)
  5.             if k=="script" then
  6.                 return var
  7.             else
  8.                 return env[k]
  9.             end
  10.         end,
  11.     })
  12.     setfenv(func,newenv)
  13.     return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. Model0 = Instance.new("Model")
  18. Humanoid1 = Instance.new("Humanoid")
  19. BodyColors2 = Instance.new("BodyColors")
  20. Model3 = Instance.new("Model")
  21. Part4 = Instance.new("Part")
  22. BlockMesh5 = Instance.new("BlockMesh")
  23. Decal6 = Instance.new("Decal")
  24. Decal7 = Instance.new("Decal")
  25. Decal8 = Instance.new("Decal")
  26. Decal9 = Instance.new("Decal")
  27. Decal10 = Instance.new("Decal")
  28. Decal11 = Instance.new("Decal")
  29. Script12 = Instance.new("Script")
  30. Part13 = Instance.new("Part")
  31. SpecialMesh14 = Instance.new("SpecialMesh")
  32. Decal15 = Instance.new("Decal")
  33. Decal16 = Instance.new("Decal")
  34. Part17 = Instance.new("Part")
  35. Script18 = Instance.new("Script")
  36. Snap19 = Instance.new("Snap")
  37. Camera20 = Instance.new("Camera")
  38. Model0.Name = "Enjoy your Roxers Comfort Size 5 Diaper!"
  39. Model0.Parent = mas
  40. Humanoid1.Parent = Model0
  41. Humanoid1.MaxHealth = 0
  42. Humanoid1.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  43. Humanoid1.maxHealth = 0
  44. BodyColors2.Parent = Model0
  45. BodyColors2.HeadColor = BrickColor.new("Pastel brown")
  46. BodyColors2.HeadColor3 = Color3.new(1, 0.8, 0.6)
  47. BodyColors2.LeftArmColor = BrickColor.new("Pastel brown")
  48. BodyColors2.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  49. BodyColors2.LeftLegColor = BrickColor.new("Pastel brown")
  50. BodyColors2.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  51. BodyColors2.RightArmColor = BrickColor.new("Pastel brown")
  52. BodyColors2.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  53. BodyColors2.RightLegColor = BrickColor.new("Pastel brown")
  54. BodyColors2.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  55. BodyColors2.TorsoColor = BrickColor.new("Pastel brown")
  56. BodyColors2.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  57. Model3.Name = "Diaper"
  58. Model3.Parent = Model0
  59. Part4.Name = "Plastic"
  60. Part4.Parent = Model3
  61. Part4.CFrame = CFrame.new(7.90380812, 2.1000309, 4.84159422, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  62. Part4.Orientation = Vector3.new(0, 180, 0)
  63. Part4.Position = Vector3.new(7.90380812, 2.1000309, 4.84159422)
  64. Part4.Rotation = Vector3.new(-180, 0, -180)
  65. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  66. Part4.Size = Vector3.new(0.600000024, 0.699999988, 1)
  67. Part4.Anchored = true
  68. Part4.BottomSurface = Enum.SurfaceType.Smooth
  69. Part4.BrickColor = BrickColor.new("Institutional white")
  70. Part4.TopSurface = Enum.SurfaceType.Smooth
  71. Part4.brickColor = BrickColor.new("Institutional white")
  72. Part4.FormFactor = Enum.FormFactor.Custom
  73. Part4.formFactor = Enum.FormFactor.Custom
  74. BlockMesh5.Parent = Part4
  75. BlockMesh5.Offset = Vector3.new(0, 0.25, 0)
  76. BlockMesh5.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
  77. Decal6.Parent = Part4
  78. Decal6.Texture = "http://www.roblox.com/asset/?id=51477236"
  79. Decal6.Face = Enum.NormalId.Right
  80. Decal7.Parent = Part4
  81. Decal7.Texture = "http://www.roblox.com/asset/?id=51477323"
  82. Decal7.Face = Enum.NormalId.Left
  83. Decal8.Parent = Part4
  84. Decal8.Texture = "http://www.roblox.com/asset/?id=51477302"
  85. Decal9.Parent = Part4
  86. Decal9.Texture = "http://www.roblox.com/asset/?id=51477275"
  87. Decal9.Face = Enum.NormalId.Back
  88. Decal10.Parent = Part4
  89. Decal10.Texture = "http://www.roblox.com/asset/?id=131046229"
  90. Decal10.Face = Enum.NormalId.Right
  91. Decal11.Parent = Part4
  92. Decal11.Texture = "http://www.roblox.com/asset/?id=131046240"
  93. Decal11.Face = Enum.NormalId.Left
  94. Script12.Parent = Model3
  95. table.insert(cors,sandbox(Script12,function()
  96. local w = Instance.new("Weld")
  97. w.Part0 = script.Parent.AbsorbencyPad
  98. w.Part1 = script.Parent.Plastic
  99. w.Parent = script.Parent
  100. end))
  101. Script12.Disabled = true
  102. Part13.Name = "AbsorbencyPad"
  103. Part13.Parent = Model3
  104. Part13.CFrame = CFrame.new(7.90380812, 2.1000309, 4.84159422, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  105. Part13.Orientation = Vector3.new(0, 180, 0)
  106. Part13.Position = Vector3.new(7.90380812, 2.1000309, 4.84159422)
  107. Part13.Rotation = Vector3.new(-180, 0, -180)
  108. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  109. Part13.Size = Vector3.new(0.5, 0.699999988, 1)
  110. Part13.Anchored = true
  111. Part13.BottomSurface = Enum.SurfaceType.Smooth
  112. Part13.BrickColor = BrickColor.new("Institutional white")
  113. Part13.TopSurface = Enum.SurfaceType.Smooth
  114. Part13.brickColor = BrickColor.new("Institutional white")
  115. Part13.FormFactor = Enum.FormFactor.Custom
  116. Part13.formFactor = Enum.FormFactor.Custom
  117. SpecialMesh14.Parent = Part13
  118. SpecialMesh14.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
  119. SpecialMesh14.MeshType = Enum.MeshType.Sphere
  120. Decal15.Parent = Part13
  121. Decal15.Texture = "http://www.roblox.com/asset/?id=131046229"
  122. Decal15.Face = Enum.NormalId.Right
  123. Decal16.Parent = Part13
  124. Decal16.Texture = "http://www.roblox.com/asset/?id=131046240"
  125. Decal16.Face = Enum.NormalId.Left
  126. Part17.Name = "TouchPlate"
  127. Part17.Parent = Model0
  128. Part17.CFrame = CFrame.new(2.30380201, 0.200023994, 4.84159422, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  129. Part17.Orientation = Vector3.new(0, 180, 0)
  130. Part17.Position = Vector3.new(2.30380201, 0.200023994, 4.84159422)
  131. Part17.Rotation = Vector3.new(-180, 0, -180)
  132. Part17.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  133. Part17.Size = Vector3.new(4, 0.400000006, 4)
  134. Part17.Anchored = true
  135. Part17.BrickColor = BrickColor.new("Bright blue")
  136. Part17.CanCollide = false
  137. Part17.TopSurface = Enum.SurfaceType.Smooth
  138. Part17.brickColor = BrickColor.new("Bright blue")
  139. Part17.FormFactor = Enum.FormFactor.Plate
  140. Part17.formFactor = Enum.FormFactor.Plate
  141. Script18.Parent = Part17
  142. table.insert(cors,sandbox(Script18,function()
  143. local deb = true
  144.  
  145. script.Parent.Touched:connect(function(hit)
  146. if not hit.Parent:findFirstChild("Humanoid") or not deb or hit.Parent:findFirstChild("Diaper") then return end
  147. -- Checks for human.
  148. -- Checks for diapers. (no need for extras)
  149. deb = false
  150. -- Diapers + Pants = No No
  151. local diaper = script.Parent.Parent.Diaper:Clone()
  152. local w = Instance.new("Weld")
  153. w.Part0 = hit.Parent.UpperTorso
  154. w.Part1 = diaper.Plastic
  155. w.C0 = CFrame.new(0,-.9,0)*CFrame.Angles(0, math.pi/2,0)
  156. w.Parent = diaper
  157. diaper.Plastic.Anchored = false
  158. diaper.AbsorbencyPad.Anchored = false
  159. diaper.Script.Disabled = false
  160. diaper.Parent = hit.Parent
  161. -- Now to put on that fresh diaper
  162. -- Just in case
  163. wait(1)
  164. deb = true
  165. end)
  166. end))
  167. Snap19.Parent = Part17
  168. Snap19.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  169. Snap19.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, 0, 0, 0, -1, 0, -1, 0)
  170. Snap19.Part0 = Part17
  171. Snap19.Part1 = nil
  172. Snap19.part1 = nil
  173. Camera20.Name = "ThumbnailCamera"
  174. Camera20.Parent = Model0
  175. Camera20.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)
  176. Camera20.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)
  177. Camera20.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  178. Camera20.focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  179. for i,v in pairs(mas:GetChildren()) do
  180.     v.Parent = workspace
  181.     pcall(function() v:MakeJoints() end)
  182. end
  183. mas:Destroy()
  184. for i,v in pairs(cors) do
  185.     spawn(function()
  186.         pcall(v)
  187.     end)
  188. end
Advertisement
Add Comment
Please, Sign In to add comment