Advertisement
bonniekawaiidesu

Untitled

Mar 2nd, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.57 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. Camera0 = Instance.new("Camera")
  18. BodyColors1 = Instance.new("BodyColors")
  19. Humanoid2 = Instance.new("Humanoid")
  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. Snap20 = Instance.new("Snap")
  38. Model21 = Instance.new("Model")
  39. Humanoid22 = Instance.new("Humanoid")
  40. BodyColors23 = Instance.new("BodyColors")
  41. Model24 = Instance.new("Model")
  42. Part25 = Instance.new("Part")
  43. BlockMesh26 = Instance.new("BlockMesh")
  44. Decal27 = Instance.new("Decal")
  45. Decal28 = Instance.new("Decal")
  46. Decal29 = Instance.new("Decal")
  47. Decal30 = Instance.new("Decal")
  48. Decal31 = Instance.new("Decal")
  49. Decal32 = Instance.new("Decal")
  50. Script33 = Instance.new("Script")
  51. Part34 = Instance.new("Part")
  52. SpecialMesh35 = Instance.new("SpecialMesh")
  53. Decal36 = Instance.new("Decal")
  54. Decal37 = Instance.new("Decal")
  55. Part38 = Instance.new("Part")
  56. Script39 = Instance.new("Script")
  57. Snap40 = Instance.new("Snap")
  58. Snap41 = Instance.new("Snap")
  59. Camera42 = Instance.new("Camera")
  60. Camera42.Name = "ThumbnailCamera"
  61. Camera42.Parent = Model21
  62. 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)
  63. 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)
  64. Camera42.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  65. Camera42.focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  66. BodyColors23.Parent = Model21
  67. BodyColors23.HeadColor = BrickColor.new("Pastel brown")
  68. BodyColors23.HeadColor3 = Color3.new(1, 0.8, 0.6)
  69. BodyColors23.LeftArmColor = BrickColor.new("Pastel brown")
  70. BodyColors23.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  71. BodyColors23.LeftLegColor = BrickColor.new("Pastel brown")
  72. BodyColors23.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  73. BodyColors23.RightArmColor = BrickColor.new("Pastel brown")
  74. BodyColors23.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  75. BodyColors23.RightLegColor = BrickColor.new("Pastel brown")
  76. BodyColors23.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  77. BodyColors23.TorsoColor = BrickColor.new("Pastel brown")
  78. BodyColors23.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  79. Humanoid22.Parent = Model21
  80. Humanoid22.MaxHealth = 0
  81. Humanoid22.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  82. Humanoid22.maxHealth = 0
  83. Model24.Name = "Diaper"
  84. Model24.Parent = Model21
  85. Part25.Name = "Plastic"
  86. Part25.Parent = Model24
  87. Part25.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  88. Part25.Orientation = Vector3.new(0, 180, 0)
  89. Part25.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
  90. Part25.Rotation = Vector3.new(-180, 0, -180)
  91. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  92. Part25.Size = Vector3.new(0.600000024, 0.699999988, 1)
  93. Part25.Anchored = true
  94. Part25.BottomSurface = Enum.SurfaceType.Smooth
  95. Part25.BrickColor = BrickColor.new("Institutional white")
  96. Part25.TopSurface = Enum.SurfaceType.Smooth
  97. Part25.brickColor = BrickColor.new("Institutional white")
  98. Part25.FormFactor = Enum.FormFactor.Custom
  99. Part25.formFactor = Enum.FormFactor.Custom
  100. BlockMesh26.Parent = Part25
  101. BlockMesh26.Offset = Vector3.new(0, 0.25, 0)
  102. BlockMesh26.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
  103. Decal27.Parent = Part25
  104. Decal27.Texture = "http://www.roblox.com/asset/?id=51477236"
  105. Decal27.Face = Enum.NormalId.Right
  106. Decal28.Parent = Part25
  107. Decal28.Texture = "http://www.roblox.com/asset/?id=51477323"
  108. Decal28.Face = Enum.NormalId.Left
  109. Decal29.Parent = Part25
  110. Decal29.Texture = "http://www.roblox.com/asset/?id=51477302"
  111. Decal30.Parent = Part25
  112. Decal30.Texture = "http://www.roblox.com/asset/?id=51477275"
  113. Decal30.Face = Enum.NormalId.Back
  114. Decal31.Parent = Part25
  115. Decal31.Texture = "http://www.roblox.com/asset/?id=131046229"
  116. Decal31.Face = Enum.NormalId.Right
  117. Decal32.Parent = Part25
  118. Decal32.Texture = "http://www.roblox.com/asset/?id=131046240"
  119. Decal32.Face = Enum.NormalId.Left
  120. Script33.Parent = Model24
  121. table.insert(cors,sandbox(Script33,function()
  122. local w = Instance.new("Weld")
  123. w.Part0 = script.Parent.AbsorbencyPad
  124. w.Part1 = script.Parent.Plastic
  125. w.Parent = script.Parent
  126. end))
  127. Script33.Disabled = true
  128. Part34.Name = "AbsorbencyPad"
  129. Part34.Parent = Model24
  130. Part34.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  131. Part34.Orientation = Vector3.new(0, 180, 0)
  132. Part34.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
  133. Part34.Rotation = Vector3.new(-180, 0, -180)
  134. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  135. Part34.Size = Vector3.new(0.5, 0.699999988, 1)
  136. Part34.Anchored = true
  137. Part34.BottomSurface = Enum.SurfaceType.Smooth
  138. Part34.BrickColor = BrickColor.new("Institutional white")
  139. Part34.TopSurface = Enum.SurfaceType.Smooth
  140. Part34.brickColor = BrickColor.new("Institutional white")
  141. Part34.FormFactor = Enum.FormFactor.Custom
  142. Part34.formFactor = Enum.FormFactor.Custom
  143. SpecialMesh35.Parent = Part34
  144. SpecialMesh35.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
  145. SpecialMesh35.MeshType = Enum.MeshType.Sphere
  146. Decal36.Parent = Part34
  147. Decal36.Texture = "http://www.roblox.com/asset/?id=131046229"
  148. Decal36.Face = Enum.NormalId.Right
  149. Decal37.Parent = Part34
  150. Decal37.Texture = "http://www.roblox.com/asset/?id=131046240"
  151. Decal37.Face = Enum.NormalId.Left
  152. Part38.Name = "TouchPlate"
  153. Part38.Parent = Model21
  154. Part38.CFrame = CFrame.new(4.99782896, 0.200023994, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  155. Part38.Orientation = Vector3.new(0, 180, 0)
  156. Part38.Position = Vector3.new(4.99782896, 0.200023994, -11.6943464)
  157. Part38.Rotation = Vector3.new(-180, 0, -180)
  158. Part38.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  159. Part38.Size = Vector3.new(4, 0.400000006, 4)
  160. Part38.Anchored = true
  161. Part38.BrickColor = BrickColor.new("Bright blue")
  162. Part38.CanCollide = false
  163. Part38.TopSurface = Enum.SurfaceType.Smooth
  164. Part38.brickColor = BrickColor.new("Bright blue")
  165. Part38.FormFactor = Enum.FormFactor.Plate
  166. Part38.formFactor = Enum.FormFactor.Plate
  167. Script39.Parent = Part38
  168. table.insert(cors,sandbox(Script39,function()
  169. local deb = true
  170.  
  171. script.Parent.Touched:connect(function(hit)
  172. if not hit.Parent:findFirstChild("Humanoid") or not deb or hit.Parent:findFirstChild("Diaper") then return end
  173. -- Checks for human.
  174. -- Checks for diapers. (no need for extras)
  175. deb = false
  176. -- Diapers + Pants = No No
  177. local diaper = script.Parent.Parent.Diaper:Clone()
  178. local w = Instance.new("Weld")
  179. w.Part0 = hit.Parent.UpperTorso
  180. w.Part1 = diaper.Plastic
  181. w.C0 = CFrame.new(0,-.9,0)*CFrame.Angles(0, math.pi/2,0)
  182. w.Parent = diaper
  183. diaper.Plastic.Anchored = false
  184. diaper.AbsorbencyPad.Anchored = false
  185. diaper.Script.Disabled = false
  186. diaper.Parent = hit.Parent
  187. -- Now to put on that fresh diaper
  188. -- Just in case
  189. wait(1)
  190. deb = true
  191. end)
  192. end))
  193. Snap40.Parent = Part38
  194. Snap40.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  195. Snap40.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  196. Snap40.Part0 = Part38
  197. Snap41.Parent = Part38
  198. Snap41.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  199. Snap41.C1 = CFrame.new(4.99782896, 10.0000238, -11.6943464, -1, 0, 0, 0, 0, -1, 0, -1, 0)
  200. Snap41.Part0 = Part38
  201. Snap41.Part1 = Part133
  202. Snap41.part1 = Part133
  203. Model21.Name = "Enjoy your Roxers Comfort Size 5 Diaper!"
  204. Model21.Parent = mas
  205. Humanoid22.Parent = Model21
  206. Humanoid22.MaxHealth = 0
  207. Humanoid22.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  208. Humanoid22.maxHealth = 0
  209. BodyColors23.Parent = Model21
  210. BodyColors23.HeadColor = BrickColor.new("Pastel brown")
  211. BodyColors23.HeadColor3 = Color3.new(1, 0.8, 0.6)
  212. BodyColors23.LeftArmColor = BrickColor.new("Pastel brown")
  213. BodyColors23.LeftArmColor3 = Color3.new(1, 0.8, 0.6)
  214. BodyColors23.LeftLegColor = BrickColor.new("Pastel brown")
  215. BodyColors23.LeftLegColor3 = Color3.new(1, 0.8, 0.6)
  216. BodyColors23.RightArmColor = BrickColor.new("Pastel brown")
  217. BodyColors23.RightArmColor3 = Color3.new(1, 0.8, 0.6)
  218. BodyColors23.RightLegColor = BrickColor.new("Pastel brown")
  219. BodyColors23.RightLegColor3 = Color3.new(1, 0.8, 0.6)
  220. BodyColors23.TorsoColor = BrickColor.new("Pastel brown")
  221. BodyColors23.TorsoColor3 = Color3.new(1, 0.8, 0.6)
  222. Model24.Name = "Diaper"
  223. Model24.Parent = Model21
  224. Part25.Name = "Plastic"
  225. Part25.Parent = Model24
  226. Part25.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  227. Part25.Orientation = Vector3.new(0, 180, 0)
  228. Part25.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
  229. Part25.Rotation = Vector3.new(-180, 0, -180)
  230. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  231. Part25.Size = Vector3.new(0.600000024, 0.699999988, 1)
  232. Part25.Anchored = true
  233. Part25.BottomSurface = Enum.SurfaceType.Smooth
  234. Part25.BrickColor = BrickColor.new("Institutional white")
  235. Part25.TopSurface = Enum.SurfaceType.Smooth
  236. Part25.brickColor = BrickColor.new("Institutional white")
  237. Part25.FormFactor = Enum.FormFactor.Custom
  238. Part25.formFactor = Enum.FormFactor.Custom
  239. BlockMesh26.Parent = Part25
  240. BlockMesh26.Offset = Vector3.new(0, 0.25, 0)
  241. BlockMesh26.Scale = Vector3.new(1.10000002, 0.5, 1.04999995)
  242. Decal27.Parent = Part25
  243. Decal27.Texture = "http://www.roblox.com/asset/?id=51477236"
  244. Decal27.Face = Enum.NormalId.Right
  245. Decal28.Parent = Part25
  246. Decal28.Texture = "http://www.roblox.com/asset/?id=51477323"
  247. Decal28.Face = Enum.NormalId.Left
  248. Decal29.Parent = Part25
  249. Decal29.Texture = "http://www.roblox.com/asset/?id=51477302"
  250. Decal30.Parent = Part25
  251. Decal30.Texture = "http://www.roblox.com/asset/?id=51477275"
  252. Decal30.Face = Enum.NormalId.Back
  253. Decal31.Parent = Part25
  254. Decal31.Texture = "http://www.roblox.com/asset/?id=131046229"
  255. Decal31.Face = Enum.NormalId.Right
  256. Decal32.Parent = Part25
  257. Decal32.Texture = "http://www.roblox.com/asset/?id=131046240"
  258. Decal32.Face = Enum.NormalId.Left
  259. Script33.Parent = Model24
  260. table.insert(cors,sandbox(Script33,function()
  261. local w = Instance.new("Weld")
  262. w.Part0 = script.Parent.AbsorbencyPad
  263. w.Part1 = script.Parent.Plastic
  264. w.Parent = script.Parent
  265. end))
  266. Script33.Disabled = true
  267. Part34.Name = "AbsorbencyPad"
  268. Part34.Parent = Model24
  269. Part34.CFrame = CFrame.new(10.5978355, 2.1000309, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  270. Part34.Orientation = Vector3.new(0, 180, 0)
  271. Part34.Position = Vector3.new(10.5978355, 2.1000309, -11.6943464)
  272. Part34.Rotation = Vector3.new(-180, 0, -180)
  273. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  274. Part34.Size = Vector3.new(0.5, 0.699999988, 1)
  275. Part34.Anchored = true
  276. Part34.BottomSurface = Enum.SurfaceType.Smooth
  277. Part34.BrickColor = BrickColor.new("Institutional white")
  278. Part34.TopSurface = Enum.SurfaceType.Smooth
  279. Part34.brickColor = BrickColor.new("Institutional white")
  280. Part34.FormFactor = Enum.FormFactor.Custom
  281. Part34.formFactor = Enum.FormFactor.Custom
  282. SpecialMesh35.Parent = Part34
  283. SpecialMesh35.Scale = Vector3.new(1.66600001, 1.10000002, 1.10000002)
  284. SpecialMesh35.MeshType = Enum.MeshType.Sphere
  285. Decal36.Parent = Part34
  286. Decal36.Texture = "http://www.roblox.com/asset/?id=131046229"
  287. Decal36.Face = Enum.NormalId.Right
  288. Decal37.Parent = Part34
  289. Decal37.Texture = "http://www.roblox.com/asset/?id=131046240"
  290. Decal37.Face = Enum.NormalId.Left
  291. Part38.Name = "TouchPlate"
  292. Part38.Parent = Model21
  293. Part38.CFrame = CFrame.new(4.99782896, 0.200023994, -11.6943464, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  294. Part38.Orientation = Vector3.new(0, 180, 0)
  295. Part38.Position = Vector3.new(4.99782896, 0.200023994, -11.6943464)
  296. Part38.Rotation = Vector3.new(-180, 0, -180)
  297. Part38.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  298. Part38.Size = Vector3.new(4, 0.400000006, 4)
  299. Part38.Anchored = true
  300. Part38.BrickColor = BrickColor.new("Bright blue")
  301. Part38.CanCollide = false
  302. Part38.TopSurface = Enum.SurfaceType.Smooth
  303. Part38.brickColor = BrickColor.new("Bright blue")
  304. Part38.FormFactor = Enum.FormFactor.Plate
  305. Part38.formFactor = Enum.FormFactor.Plate
  306. Script39.Parent = Part38
  307. table.insert(cors,sandbox(Script39,function()
  308. local deb = true
  309.  
  310. script.Parent.Touched:connect(function(hit)
  311. if not hit.Parent:findFirstChild("Humanoid") or not deb or hit.Parent:findFirstChild("Diaper") then return end
  312. -- Checks for human.
  313. -- Checks for diapers. (no need for extras)
  314. deb = false
  315. -- Diapers + Pants = No No
  316. local diaper = script.Parent.Parent.Diaper:Clone()
  317. local w = Instance.new("Weld")
  318. w.Part0 = hit.Parent.UpperTorso
  319. w.Part1 = diaper.Plastic
  320. w.C0 = CFrame.new(0,-.9,0)*CFrame.Angles(0, math.pi/2,0)
  321. w.Parent = diaper
  322. diaper.Plastic.Anchored = false
  323. diaper.AbsorbencyPad.Anchored = false
  324. diaper.Script.Disabled = false
  325. diaper.Parent = hit.Parent
  326. -- Now to put on that fresh diaper
  327. -- Just in case
  328. wait(1)
  329. deb = true
  330. end)
  331. end))
  332. Snap40.Parent = Part38
  333. Snap40.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  334. Snap40.C1 = CFrame.new(2.30380201, 10.0000238, 4.84159422, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  335. Snap40.Part0 = Part38
  336. Snap41.Parent = Part38
  337. Snap41.C0 = CFrame.new(0, -0.200000003, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
  338. Snap41.C1 = CFrame.new(4.99782896, 10.0000238, -11.6943464, -1, 0, 0, 0, 0, -1, 0, -1, 0)
  339. Snap41.Part0 = Part38
  340. Snap41.Part1 = Part133
  341. Snap41.part1 = Part133
  342. Camera42.Name = "ThumbnailCamera"
  343. Camera42.Parent = Model21
  344. 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)
  345. 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)
  346. Camera42.Focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  347. Camera42.focus = CFrame.new(-190.622406, 29.598711, -44.3843765, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. for i,v in pairs(mas:GetChildren()) do
  349.     v.Parent = workspace
  350.     pcall(function() v:MakeJoints() end)
  351. end
  352. mas:Destroy()
  353. for i,v in pairs(cors) do
  354.     spawn(function()
  355.         pcall(v)
  356.     end)
  357. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement