Advertisement
waconline

clogged toliet script

Feb 11th, 2020
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.73 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. --Converted with ttyyuu12345's model to script plugin v4
  153. function sandbox(var,func)
  154. local env = getfenv(func)
  155. local newenv = setmetatable({},{
  156. __index = function(self,k)
  157. if k=="script" then
  158. return var
  159. else
  160. return env[k]
  161. end
  162. end,
  163. })
  164. setfenv(func,newenv)
  165. return func
  166. end
  167. cors = {}
  168. mas = Instance.new("Model",game:GetService("Lighting"))
  169. Part1.Name = "poopCore"
  170. Part1.Parent = Model0
  171. Part1.CFrame = CFrame.new(-6.1287241, 1.68845797, -12.1347742, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  172. Part1.Orientation = Vector3.new(0, 180, 0)
  173. Part1.Position = Vector3.new(-6.1287241, 1.68845797, -12.1347742)
  174. Part1.Rotation = Vector3.new(-180, 0, -180)
  175. Part1.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  176. Part1.Size = Vector3.new(2.00002766, 0.53000021, 1.65999806)
  177. Part1.Anchored = true
  178. Part1.BottomSurface = Enum.SurfaceType.Smooth
  179. Part1.BrickColor = BrickColor.new("Burnt Sienna")
  180. Part1.Material = Enum.Material.Neon
  181. Part1.TopSurface = Enum.SurfaceType.Smooth
  182. Part1.brickColor = BrickColor.new("Burnt Sienna")
  183. Part1.FormFactor = Enum.FormFactor.Custom
  184. Part1.formFactor = Enum.FormFactor.Custom
  185. SpecialMesh2.Parent = Part1
  186. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=104783233"
  187. SpecialMesh2.Offset = Vector3.new(0, 0.200000003, 0)
  188. SpecialMesh2.Scale = Vector3.new(0.899999976, 0.600000024, 0.899999976)
  189. SpecialMesh2.VertexColor = Vector3.new(1, 0.5, 1)
  190. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  191. ParticleEmitter3.Parent = Part1
  192. ParticleEmitter3.Speed = NumberRange.new(0.80000001192093, 0.80000001192093)
  193. ParticleEmitter3.Rotation = NumberRange.new(1, 3)
  194. ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 1, 0),Color3.new(1, 1, 1))
  195. ParticleEmitter3.LightEmission = 0.15000000596046
  196. ParticleEmitter3.Texture = "http://www.roblox.com/asset/?id=469049625"
  197. ParticleEmitter3.Transparency = NumberSequence.new(0.98750001192093,0.36874997615814,0.36874997615814,0.54999995231628,0.99374997615814,1)
  198. ParticleEmitter3.Size = NumberSequence.new(0,0.9375,0)
  199. ParticleEmitter3.Lifetime = NumberRange.new(5, 8)
  200. ParticleEmitter3.Rate = 2
  201. ParticleEmitter3.RotSpeed = NumberRange.new(100, 300)
  202. ParticleEmitter3.SpreadAngle = Vector2.new(1, 1)
  203. ParticleEmitter3.VelocitySpread = 1
  204. for i, v in pairs(script.Parent:GetChildren()) do
  205. if v.Name == "Interactive" then
  206. table.insert(interactiveParts, v)
  207. end
  208. end
  209.  
  210. local function distanceToCharacter(player, part)
  211. local character = player.Character
  212. if character then
  213. local torso = character:FindFirstChild("Torso")
  214. if torso then
  215. return((torso.Position - part.Position).magnitude)
  216. end
  217. end
  218. return math.huge
  219. end
  220.  
  221. clickEvent.OnServerEvent:connect(function(player, part)
  222. local isPart = false
  223. for i = 1, #interactiveParts do
  224. if part == interactiveParts[i] then
  225. isPart = true
  226. end
  227. end
  228. if isPart and player.Character and distanceToCharacter(player, part) <= activationDistance then
  229. if toasterOn == false then
  230. downSound.TimePosition = 0
  231. downSound:Play()
  232. toasterOn = true
  233. for i = 1, 4 do
  234. script.Parent.Interactive.CFrame = script.Parent.Interactive.CFrame * CFrame.new(0,-0.1,0)
  235. wait()
  236. end
  237. local toast = {}
  238. for i, v in pairs(script.Parent:GetChildren()) do
  239. if v.Name == "poopCore" then
  240. local newToast = v:Clone()
  241. newToast.Parent = script.Parent
  242. newToast.Name = "Poop"
  243. newToast.Anchored = false
  244. newToast.CanCollide = true
  245. newToast.Transparency = 0
  246. table.insert(toast, newToast)
  247. end
  248. end
  249. wait(0.1)
  250. upSound:Play()
  251. for i = 1, #toast do
  252. toast[i].CFrame = toast[i].CFrame * CFrame.new(0, 0, -0.05)
  253. toast[i].Velocity = Vector3.new(0, 50, 0)
  254. toast[i].RotVelocity = Vector3.new(math.random(10,30),math.random(10,30),math.random(10,30))
  255. game.Debris:AddItem(toast[i],60)
  256. end
  257. for i = 1, 2 do
  258. script.Parent.Interactive.CFrame = script.Parent.Interactive.CFrame * CFrame.new(0,0.2,0)
  259. wait()
  260. end
  261. toasterOn = false
  262. end
  263. end
  264. end)
  265. end))
  266. Part10.Name = "Water"
  267. Part10.Parent = Model0
  268. Part10.CFrame = CFrame.new(-6.12870979, 1.92002702, -12.2802525, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  269. Part10.Position = Vector3.new(-6.12870979, 1.92002702, -12.2802525)
  270. Part10.Color = Color3.new(0.666667, 0.333333, 0)
  271. Part10.Transparency = 0.5
  272. Part10.Size = Vector3.new(2.22000003, 0.200000003, 2.34000015)
  273. Part10.Anchored = true
  274. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  275. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  276. Part10.BrickColor = BrickColor.new("CGA brown")
  277. Part10.CanCollide = false
  278. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  279. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  280. Part10.Material = Enum.Material.Neon
  281. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  283. Part10.brickColor = BrickColor.new("CGA brown")
  284. Part10.FormFactor = Enum.FormFactor.Custom
  285. Part10.formFactor = Enum.FormFactor.Custom
  286. CylinderMesh11.Parent = Part10
  287. CylinderMesh11.Scale = Vector3.new(1, 0, 1)
  288. UnionOperation12.Name = "ToiletBowl"
  289. UnionOperation12.Parent = Model0
  290. UnionOperation12.CFrame = CFrame.new(-6.12870979, 0.930025995, -12.6402597, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  291. UnionOperation12.Orientation = Vector3.new(0, 180, 0)
  292. UnionOperation12.Position = Vector3.new(-6.12870979, 0.930025995, -12.6402597)
  293. UnionOperation12.Rotation = Vector3.new(-180, 0, -180)
  294. UnionOperation12.Color = Color3.new(0.972549, 0.972549, 0.972549)
  295. UnionOperation12.Size = Vector3.new(2.4000001, 1.60000062, 3.599998)
  296. UnionOperation12.Anchored = true
  297. UnionOperation12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  298. UnionOperation12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  299. UnionOperation12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  300. UnionOperation12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  301. UnionOperation12.Material = Enum.Material.SmoothPlastic
  302. UnionOperation12.Reflectance = 0.050000000745058
  303. UnionOperation12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  304. UnionOperation12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  305. UnionOperation12.UsePartColor = true
  306. UnionOperation13.Name = "Lid"
  307. UnionOperation13.Parent = Model0
  308. UnionOperation13.CFrame = CFrame.new(-6.12870979, 3.2800231, -14.0402555, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  309. UnionOperation13.Orientation = Vector3.new(0, 180, 0)
  310. UnionOperation13.Position = Vector3.new(-6.12870979, 3.2800231, -14.0402555)
  311. UnionOperation13.Rotation = Vector3.new(-180, 0, -180)
  312. UnionOperation13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  313. UnionOperation13.Size = Vector3.new(2.20000601, 0.30000031, 1.00000167)
  314. UnionOperation13.Anchored = true
  315. UnionOperation13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  316. UnionOperation13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  317. UnionOperation13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  318. UnionOperation13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  319. UnionOperation13.Material = Enum.Material.SmoothPlastic
  320. UnionOperation13.Reflectance = 0.050000000745058
  321. UnionOperation13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  322. UnionOperation13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  323. UnionOperation13.UsePartColor = true
  324. UnionOperation14.Name = "ToiletSeat"
  325. UnionOperation14.Parent = Model0
  326. UnionOperation14.CFrame = CFrame.new(-6.12870979, 1.83002305, -12.2402382, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  327. UnionOperation14.Orientation = Vector3.new(0, 180, 0)
  328. UnionOperation14.Position = Vector3.new(-6.12870979, 1.83002305, -12.2402382)
  329. UnionOperation14.Rotation = Vector3.new(-180, 0, -180)
  330. UnionOperation14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  331. UnionOperation14.Size = Vector3.new(2.4000001, 0.200000197, 2.80000019)
  332. UnionOperation14.Anchored = true
  333. UnionOperation14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  334. UnionOperation14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  335. UnionOperation14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  336. UnionOperation14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  337. UnionOperation14.Material = Enum.Material.SmoothPlastic
  338. UnionOperation14.Reflectance = 0.050000000745058
  339. UnionOperation14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  340. UnionOperation14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  341. UnionOperation14.UsePartColor = true
  342. Part15.Parent = Model0
  343. Part15.CFrame = CFrame.new(-6.12870979, 2.43002105, -14.0402555, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  344. Part15.Orientation = Vector3.new(0, 180, 0)
  345. Part15.Position = Vector3.new(-6.12870979, 2.43002105, -14.0402555)
  346. Part15.Rotation = Vector3.new(-180, 0, -180)
  347. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  348. Part15.Size = Vector3.new(2, 1.39999998, 0.800000012)
  349. Part15.Anchored = true
  350. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  351. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  352. Part15.BrickColor = BrickColor.new("Institutional white")
  353. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  354. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  355. Part15.Material = Enum.Material.SmoothPlastic
  356. Part15.Reflectance = 0.050000000745058
  357. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  358. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  359. Part15.brickColor = BrickColor.new("Institutional white")
  360. Part15.FormFactor = Enum.FormFactor.Custom
  361. Part15.formFactor = Enum.FormFactor.Custom
  362. Part16.Name = "Water"
  363. Part16.Parent = Model0
  364. Part16.CFrame = CFrame.new(-6.13871098, 0.190026999, -11.4352522, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  365. Part16.Position = Vector3.new(-6.13871098, 0.190026999, -11.4352522)
  366. Part16.Color = Color3.new(0.666667, 0.333333, 0)
  367. Part16.Transparency = 0.5
  368. Part16.Size = Vector3.new(3.69999981, 0.200000003, 4.11000013)
  369. Part16.Anchored = true
  370. Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  371. Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  372. Part16.BrickColor = BrickColor.new("CGA brown")
  373. Part16.CanCollide = false
  374. Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  375. Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  376. Part16.Material = Enum.Material.Neon
  377. Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  378. Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  379. Part16.brickColor = BrickColor.new("CGA brown")
  380. Part16.FormFactor = Enum.FormFactor.Custom
  381. Part16.formFactor = Enum.FormFactor.Custom
  382. CylinderMesh17.Parent = Part16
  383. CylinderMesh17.Scale = Vector3.new(1, 0, 1)
  384. Part18.Name = "Water"
  385. Part18.Parent = Model0
  386. Part18.CFrame = CFrame.new(-6.72871113, 0.97002703, -11.2502556, 0.749325216, 0, -0.662202239, 0, 1, 0, 0.662202239, 0, 0.749325216)
  387. Part18.Orientation = Vector3.new(0, -41.4700012, 0)
  388. Part18.Position = Vector3.new(-6.72871113, 0.97002703, -11.2502556)
  389. Part18.Rotation = Vector3.new(0, -41.4700012, 0)
  390. Part18.Color = Color3.new(0.666667, 0.333333, 0)
  391. Part18.Transparency = 0.5
  392. Part18.Size = Vector3.new(0.319999993, 1.94000006, 0.379999995)
  393. Part18.Anchored = true
  394. Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  395. Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  396. Part18.BrickColor = BrickColor.new("CGA brown")
  397. Part18.CanCollide = false
  398. Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  399. Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  400. Part18.Material = Enum.Material.Neon
  401. Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  402. Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  403. Part18.brickColor = BrickColor.new("CGA brown")
  404. Part18.FormFactor = Enum.FormFactor.Custom
  405. Part18.formFactor = Enum.FormFactor.Custom
  406. Part19.Name = "Water"
  407. Part19.Parent = Model0
  408. Part19.CFrame = CFrame.new(-5.11871099, 0.99002701, -12.0402584, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  409. Part19.Position = Vector3.new(-5.11871099, 0.99002701, -12.0402584)
  410. Part19.Color = Color3.new(0.666667, 0.333333, 0)
  411. Part19.Transparency = 0.5
  412. Part19.Size = Vector3.new(0.359999985, 1.94000006, 0.379999995)
  413. Part19.Anchored = true
  414. Part19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  415. Part19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  416. Part19.BrickColor = BrickColor.new("CGA brown")
  417. Part19.CanCollide = false
  418. Part19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  419. Part19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  420. Part19.Material = Enum.Material.Neon
  421. Part19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  422. Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  423. Part19.brickColor = BrickColor.new("CGA brown")
  424. Part19.FormFactor = Enum.FormFactor.Custom
  425. Part19.formFactor = Enum.FormFactor.Custom
  426. Part20.Name = "decorativePoop"
  427. Part20.Parent = Model0
  428. Part20.CFrame = CFrame.new(-6.1287241, 1.43845797, -12.3147736, 0.957545459, -0.2863473, -0.0333466269, 0.287667155, 0.956641316, 0.0456639417, 0.0188250095, -0.0533180237, 0.998400211)
  429. Part20.Orientation = Vector3.new(-2.61999989, -1.90999997, 16.7399998)
  430. Part20.Position = Vector3.new(-6.1287241, 1.43845797, -12.3147736)
  431. Part20.Rotation = Vector3.new(-2.61999989, -1.90999997, 16.6499996)
  432. Part20.Color = Color3.new(0.415686, 0.223529, 0.0352941)
  433. Part20.Size = Vector3.new(2.00002766, 0.53000021, 1.65999806)
  434. Part20.Anchored = true
  435. Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  436. Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  437. Part20.BrickColor = BrickColor.new("Burnt Sienna")
  438. Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  439. Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  440. Part20.Material = Enum.Material.Neon
  441. Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  442. Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  443. Part20.brickColor = BrickColor.new("Burnt Sienna")
  444. Part20.FormFactor = Enum.FormFactor.Custom
  445. Part20.formFactor = Enum.FormFactor.Custom
  446. SpecialMesh21.Parent = Part20
  447. SpecialMesh21.MeshId = "http://www.roblox.com/asset/?id=104783233"
  448. SpecialMesh21.Offset = Vector3.new(0, 0.200000003, 0)
  449. SpecialMesh21.Scale = Vector3.new(0.899999976, 0.200000003, 1.20000005)
  450. SpecialMesh21.VertexColor = Vector3.new(1, 0.5, 1)
  451. SpecialMesh21.MeshType = Enum.MeshType.FileMesh
  452. Camera22.Name = "ThumbnailCamera"
  453. Camera22.Parent = Model0
  454. Camera22.CFrame = CFrame.new(0.999304712, 7.64865351, 24.0071716, 0.821136773, -0.26442343, 0.505781353, -1.49011612e-08, 0.886198401, 0.463306129, -0.57073158, -0.380437702, 0.727689981)
  455. Camera22.CoordinateFrame = CFrame.new(0.999304712, 7.64865351, 24.0071716, 0.821136773, -0.26442343, 0.505781353, -1.49011612e-08, 0.886198401, 0.463306129, -0.57073158, -0.380437702, 0.727689981)
  456. Camera22.FieldOfView = 30
  457. Camera22.Focus = CFrame.new(-0.0122576356, 6.72204161, 22.5517921, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  458. Camera22.focus = CFrame.new(-0.0122576356, 6.72204161, 22.5517921, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  459. for i,v in pairs(mas:GetChildren()) do
  460. v.Parent = workspace
  461. pcall(function() v:MakeJoints() end)
  462. end
  463. mas:Destroy()
  464. for i,v in pairs(cors) do
  465. spawn(function()
  466. pcall(v)
  467. end)
  468. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement