Advertisement
UhhLegoboy

TeaTub

Apr 15th, 2017
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.97 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return scri
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. mas.Name = "CompiledModel"
  18. o1 = Instance.new("Model")
  19. o2 = Instance.new("Part")
  20. o3 = Instance.new("SpecialMesh")
  21. o4 = Instance.new("Script")
  22. o5 = Instance.new("Part")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("Part")
  25. o8 = Instance.new("Part")
  26. o9 = Instance.new("Part")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("Part")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Sound")
  31. o14 = Instance.new("Script")
  32. o15 = Instance.new("Part")
  33. o16 = Instance.new("Part")
  34. o17 = Instance.new("Part")
  35. o18 = Instance.new("Part")
  36. o19 = Instance.new("Part")
  37. o20 = Instance.new("Part")
  38. o21 = Instance.new("Part")
  39. o22 = Instance.new("Part")
  40. o1.Name = "TeaTub"
  41. o1.Parent = mas
  42. o2.Name = "Handle"
  43. o2.Parent = o1
  44. o2.BrickColor = BrickColor.new("Persimmon")
  45. o2.Position = Vector3.new(47, 9.80000019, 3.5)
  46. o2.Rotation = Vector3.new(180, -0, -180)
  47. o2.Anchored = true
  48. o2.FormFactor = Enum.FormFactor.Plate
  49. o2.Size = Vector3.new(2, 1.60000002, 2)
  50. o2.CFrame = CFrame.new(47, 9.80000019, 3.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  51. o2.BottomSurface = Enum.SurfaceType.Smooth
  52. o2.TopSurface = Enum.SurfaceType.Smooth
  53. o2.Color = Color3.new(1, 0.34902, 0.34902)
  54. o2.Position = Vector3.new(47, 9.80000019, 3.5)
  55. o3.Parent = o2
  56. o3.MeshId = "http://www.roblox.com/asset/?id=1045320"
  57. o3.Scale = Vector3.new(3, 3, 3)
  58. o3.MeshType = Enum.MeshType.FileMesh
  59. o4.Parent = o2
  60. table.insert(cors,coroutine.create(function()
  61. wait()
  62. runDummyScript(function()
  63. poor = function()
  64.     script.Parent.Rotation = Vector3.new(-135, 0, -180)
  65.     TheTea = function()
  66.     Tea = Instance.new("Part",script.Parent)
  67.     Tea.BrickColor = BrickColor.new("Copper")
  68.     Tea.Material = "SmoothPlastic"
  69.     Tea.Transparency = 0.5
  70.     Tea.Shape = "Ball"
  71.     Tea.Size = Vector3.new(1,1,1)
  72.     Tea.Position = Vector3.new(script.Parent.Position.X,script.Parent.Position.Y,script.Parent.Position.Z)
  73.     Tea.CanCollide = false
  74.     Tea.TopSurface = "Smooth"
  75.     Tea.BottomSurface = "Smooth"
  76.     end
  77.    
  78.     TheTea()
  79.     wait(0.01)
  80.     TheTea()
  81.         wait(0.01)
  82.     TheTea()
  83.         wait(0.01)
  84.     TheTea()
  85.     wait(0.01)
  86.         TheTea()
  87.     wait(0.01)
  88.     TheTea()
  89.         wait(0.01)
  90.     TheTea()
  91.         wait(0.01)
  92.     TheTea()
  93.     wait(0.01)
  94.         TheTea()
  95.     wait(0.01)
  96.     TheTea()
  97.         wait(0.01)
  98.     TheTea()
  99.         wait(0.01)
  100.     TheTea()
  101.     wait(0.01)
  102.     wait(1)
  103.     script.Parent.Rotation = Vector3.new(-180, 0, -180)
  104.     Bev = Instance.new("Part", script.Parent)
  105.     Bev.BrickColor = BrickColor.new("Copper")
  106.     Bev.Material = "SmoothPlastic"
  107.     Bev.Transparency = 0.5
  108.     Bev.Size = Vector3.new(4.25, 0.25, 4.25)
  109.     Bev.Position = Vector3.new(47.925, 2.875, 4.125)
  110.     Bev.TopSurface = "SmoothNoOutlines"
  111.     Bev.Anchored = true
  112.     Bev.CanCollide = false
  113.     wait(0.5)
  114.     Instance.new("Smoke",Bev)
  115. end
  116. wait(5)
  117. poor()
  118.  
  119. end,o4)
  120. end))
  121. o5.Parent = o1
  122. o5.Material = Enum.Material.SmoothPlastic
  123. o5.BrickColor = BrickColor.new("Institutional white")
  124. o5.Position = Vector3.new(48, 1.00000095, 1.75)
  125. o5.Anchored = true
  126. o5.Size = Vector3.new(4.5, 1, 0.5)
  127. o5.CFrame = CFrame.new(48, 1.00000095, 1.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  128. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  129. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  130. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  131. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  132. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  133. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  134. o5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  135. o5.Position = Vector3.new(48, 1.00000095, 1.75)
  136. o6.Parent = o1
  137. o6.Material = Enum.Material.SmoothPlastic
  138. o6.BrickColor = BrickColor.new("Institutional white")
  139. o6.Position = Vector3.new(45.7249985, 3, 4.02499914)
  140. o6.Rotation = Vector3.new(-0, -90, 0)
  141. o6.Anchored = true
  142. o6.Size = Vector3.new(5, 1, 0.5)
  143. o6.CFrame = CFrame.new(45.7249985, 3, 4.02499914, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  144. o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  145. o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  146. o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  147. o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  148. o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  149. o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  150. o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  151. o6.Position = Vector3.new(45.7249985, 3, 4.02499914)
  152. o7.Parent = o1
  153. o7.Material = Enum.Material.SmoothPlastic
  154. o7.BrickColor = BrickColor.new("Institutional white")
  155. o7.Position = Vector3.new(50.2750015, 3.00000095, 3.90000105)
  156. o7.Rotation = Vector3.new(-0, -90, 0)
  157. o7.Anchored = true
  158. o7.Size = Vector3.new(4.75, 1, 0.5)
  159. o7.CFrame = CFrame.new(50.2750015, 3.00000095, 3.90000105, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  160. o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  161. o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  162. o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  163. o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  164. o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  165. o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  166. o7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  167. o7.Position = Vector3.new(50.2750015, 3.00000095, 3.90000105)
  168. o8.Parent = o1
  169. o8.Material = Enum.Material.SmoothPlastic
  170. o8.BrickColor = BrickColor.new("Institutional white")
  171. o8.Position = Vector3.new(48, 3.00000095, 1.75)
  172. o8.Anchored = true
  173. o8.Size = Vector3.new(4.5, 1, 0.5)
  174. o8.CFrame = CFrame.new(48, 3.00000095, 1.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  175. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  176. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  177. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  178. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  179. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  180. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  181. o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  182. o8.Position = Vector3.new(48, 3.00000095, 1.75)
  183. o9.Parent = o1
  184. o9.Material = Enum.Material.SmoothPlastic
  185. o9.BrickColor = BrickColor.new("Institutional white")
  186. o9.Position = Vector3.new(48.125, 3, 6.30000019)
  187. o9.Anchored = true
  188. o9.Size = Vector3.new(4.75, 1, 0.5)
  189. o9.CFrame = CFrame.new(48.125, 3, 6.30000019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  190. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  191. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  192. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  193. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  194. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  195. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  196. o9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  197. o9.Position = Vector3.new(48.125, 3, 6.30000019)
  198. o10.Parent = o1
  199. o10.Material = Enum.Material.SmoothPlastic
  200. o10.BrickColor = BrickColor.new("Institutional white")
  201. o10.Position = Vector3.new(47.875, 0.75, 7.42500019)
  202. o10.Anchored = true
  203. o10.Size = Vector3.new(0.25, 0.5, 1.75)
  204. o10.CFrame = CFrame.new(47.875, 0.75, 7.42500019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  205. o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  206. o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  207. o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  208. o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  209. o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  210. o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  211. o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  212. o10.Position = Vector3.new(47.875, 0.75, 7.42500019)
  213. o11.Parent = o1
  214. o11.Material = Enum.Material.SmoothPlastic
  215. o11.BrickColor = BrickColor.new("Institutional white")
  216. o11.Position = Vector3.new(47.875, 2, 8.55000019)
  217. o11.Anchored = true
  218. o11.Size = Vector3.new(0.25, 2, 0.5)
  219. o11.CFrame = CFrame.new(47.875, 2, 8.55000019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  220. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  221. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  222. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  223. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  224. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  225. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  226. o11.Color = Color3.new(0.972549, 0.972549, 0.972549)
  227. o11.Position = Vector3.new(47.875, 2, 8.55000019)
  228. o12.Parent = o1
  229. o12.Material = Enum.Material.SmoothPlastic
  230. o12.BrickColor = BrickColor.new("Institutional white")
  231. o12.Position = Vector3.new(48, 0.250001013, 4)
  232. o12.Anchored = true
  233. o12.Size = Vector3.new(5, 0.5, 5)
  234. o12.CFrame = CFrame.new(48, 0.250001013, 4, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  235. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  236. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  237. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  238. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  239. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  240. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  241. o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
  242. o12.Position = Vector3.new(48, 0.250001013, 4)
  243. o13.Parent = o12
  244. o13.SoundId = "rbxassetid://227475698"
  245. o13.Volume = 1
  246. o14.Parent = o13
  247. table.insert(cors,coroutine.create(function()
  248. wait()
  249. runDummyScript(function()
  250. script.Parent : play()
  251. end,o14)
  252. end))
  253. o15.Parent = o1
  254. o15.Material = Enum.Material.SmoothPlastic
  255. o15.BrickColor = BrickColor.new("Institutional white")
  256. o15.Position = Vector3.new(45.7249985, 1, 4.02499914)
  257. o15.Rotation = Vector3.new(-0, -90, 0)
  258. o15.Anchored = true
  259. o15.Size = Vector3.new(5, 1, 0.5)
  260. o15.CFrame = CFrame.new(45.7249985, 1, 4.02499914, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  261. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  262. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  263. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  264. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  265. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  266. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  267. o15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  268. o15.Position = Vector3.new(45.7249985, 1, 4.02499914)
  269. o16.Parent = o1
  270. o16.Material = Enum.Material.SmoothPlastic
  271. o16.BrickColor = BrickColor.new("Institutional white")
  272. o16.Position = Vector3.new(50.2750015, 1.00000095, 3.90000105)
  273. o16.Rotation = Vector3.new(-0, -90, 0)
  274. o16.Anchored = true
  275. o16.Size = Vector3.new(4.75, 1, 0.5)
  276. o16.CFrame = CFrame.new(50.2750015, 1.00000095, 3.90000105, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  277. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  279. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  280. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  281. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  283. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  284. o16.Position = Vector3.new(50.2750015, 1.00000095, 3.90000105)
  285. o17.Parent = o1
  286. o17.Material = Enum.Material.SmoothPlastic
  287. o17.BrickColor = BrickColor.new("New Yeller")
  288. o17.Position = Vector3.new(48, 2.00000095, 1.75)
  289. o17.Anchored = true
  290. o17.Size = Vector3.new(4.5, 1, 0.5)
  291. o17.CFrame = CFrame.new(48, 2.00000095, 1.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  292. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  293. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  294. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  295. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  296. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  297. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  298. o17.Color = Color3.new(1, 1, 0)
  299. o17.Position = Vector3.new(48, 2.00000095, 1.75)
  300. o18.Parent = o1
  301. o18.Material = Enum.Material.SmoothPlastic
  302. o18.BrickColor = BrickColor.new("New Yeller")
  303. o18.Position = Vector3.new(48.125, 2, 6.30000019)
  304. o18.Anchored = true
  305. o18.Size = Vector3.new(4.75, 1, 0.5)
  306. o18.CFrame = CFrame.new(48.125, 2, 6.30000019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  307. o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  308. o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  309. o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  310. o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  311. o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  312. o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  313. o18.Color = Color3.new(1, 1, 0)
  314. o18.Position = Vector3.new(48.125, 2, 6.30000019)
  315. o19.Parent = o1
  316. o19.Material = Enum.Material.SmoothPlastic
  317. o19.BrickColor = BrickColor.new("New Yeller")
  318. o19.Position = Vector3.new(45.7249985, 2, 4.02499914)
  319. o19.Rotation = Vector3.new(-0, -90, 0)
  320. o19.Anchored = true
  321. o19.Size = Vector3.new(5, 1, 0.5)
  322. o19.CFrame = CFrame.new(45.7249985, 2, 4.02499914, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  323. o19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  324. o19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  325. o19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  326. o19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  327. o19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  328. o19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  329. o19.Color = Color3.new(1, 1, 0)
  330. o19.Position = Vector3.new(45.7249985, 2, 4.02499914)
  331. o20.Parent = o1
  332. o20.Material = Enum.Material.SmoothPlastic
  333. o20.BrickColor = BrickColor.new("New Yeller")
  334. o20.Position = Vector3.new(50.2750015, 2.00000095, 3.90000105)
  335. o20.Rotation = Vector3.new(-0, -90, 0)
  336. o20.Anchored = true
  337. o20.Size = Vector3.new(4.75, 1, 0.5)
  338. o20.CFrame = CFrame.new(50.2750015, 2.00000095, 3.90000105, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  339. o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  340. o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  341. o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  343. o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  344. o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  345. o20.Color = Color3.new(1, 1, 0)
  346. o20.Position = Vector3.new(50.2750015, 2.00000095, 3.90000105)
  347. o21.Parent = o1
  348. o21.Material = Enum.Material.SmoothPlastic
  349. o21.BrickColor = BrickColor.new("Institutional white")
  350. o21.Position = Vector3.new(47.875, 3.25, 7.42500019)
  351. o21.Anchored = true
  352. o21.Size = Vector3.new(0.25, 0.5, 1.75)
  353. o21.CFrame = CFrame.new(47.875, 3.25, 7.42500019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  354. o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  355. o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  356. o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  357. o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  358. o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  359. o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  360. o21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  361. o21.Position = Vector3.new(47.875, 3.25, 7.42500019)
  362. o22.Parent = o1
  363. o22.Material = Enum.Material.SmoothPlastic
  364. o22.BrickColor = BrickColor.new("Institutional white")
  365. o22.Position = Vector3.new(48.125, 1, 6.30000019)
  366. o22.Anchored = true
  367. o22.Size = Vector3.new(4.75, 1, 0.5)
  368. o22.CFrame = CFrame.new(48.125, 1, 6.30000019, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  369. o22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  370. o22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  371. o22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  372. o22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  373. o22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  374. o22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  375. o22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  376. o22.Position = Vector3.new(48.125, 1, 6.30000019)
  377. mas.Parent = workspace
  378. mas:MakeJoints()
  379. local mas1 = mas:GetChildren()
  380. for i=1,#mas1 do
  381.     mas1[i].Parent = workspace
  382.     ypcall(function() mas1[i]:MakeJoints() end)
  383. end
  384. mas:Destroy()
  385. for i=1,#cors do
  386. coroutine.resume(cors[i])
  387. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement