Advertisement
cat568

Untitled

Jan 30th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.48 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. local chil = workspace:GetChildren()
  20. for i,v in pairs(chil) do
  21. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  22. v:Destroy()
  23. end
  24. end
  25. Camera0 = Instance.new("Camera")
  26. Part1 = Instance.new("Part")
  27. Script2 = Instance.new("Script")
  28. BlockMesh3 = Instance.new("BlockMesh")
  29. Decal4 = Instance.new("Decal")
  30. Decal5 = Instance.new("Decal")
  31. Camera0.Parent = mas
  32. Camera0.CFrame = CFrame.new(260.940643, 77.2308426, -96.7833252, -0.82320714, -0.359605253, 0.439333826, -0, 0.773827672, 0.633396327, -0.567741275, 0.521416366, -0.63702035)
  33. Camera0.CoordinateFrame = CFrame.new(260.940643, 77.2308426, -96.7833252, -0.82320714, -0.359605253, 0.439333826, -0, 0.773827672, 0.633396327, -0.567741275, 0.521416366, -0.63702035)
  34. Camera0.Focus = CFrame.new(260.061981, 75.9640579, -95.5092926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  35. Camera0.focus = CFrame.new(260.061981, 75.9640579, -95.5092926, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  36. Part1.Name = "Shrink Brick"
  37. Part1.Parent = mas
  38. Part1.CFrame = CFrame.new(-0.0344848633, -10.2249775, -0.0889511108, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  39. Part1.Orientation = Vector3.new(0, -90, 0)
  40. Part1.Position = Vector3.new(-0.0344848633, -10.2249775, -0.0889511108)
  41. Part1.Rotation = Vector3.new(0, -90, 0)
  42. Part1.Color = Color3.new(0.792157, 0.796078, 0.819608)
  43. Part1.Size = Vector3.new(512.100403, 20.25, 512.000244)
  44. Part1.Anchored = true
  45. Part1.BottomSurface = Enum.SurfaceType.Smooth
  46. Part1.BrickColor = BrickColor.new("Ghost grey")
  47. Part1.Material = Enum.Material.Sand
  48. Part1.TopSurface = Enum.SurfaceType.Smooth
  49. Part1.brickColor = BrickColor.new("Ghost grey")
  50. Part1.FormFactor = Enum.FormFactor.Plate
  51. Part1.formFactor = Enum.FormFactor.Plate
  52. Script2.Parent = Part1
  53. table.insert(cors,sandbox(Script2,function()
  54. local debounce = true
  55. local d = script.Parent.Decal
  56. t = 2
  57.  
  58. function onTouched(hit)
  59. if (debounce == true) then
  60. debounce = false
  61. wait(t)
  62. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  63. wait(t)
  64. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  65. wait(t)
  66. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  67. wait(t)
  68. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  69. wait(t)
  70. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  71. wait(t)
  72. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  73. wait(t)
  74. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  75. wait(t)
  76. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  77. wait(t)
  78. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  79. wait(t)
  80. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  81. wait(t)
  82. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  83. wait(t)
  84. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  85. wait(t)
  86. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  87. wait(t)
  88. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  89. wait(t)
  90. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  91. wait(t)
  92. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  93. wait(t)
  94. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  95. wait(t)
  96. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  97. wait(t)
  98. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  99. wait(t)
  100. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  101. wait(t)
  102. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  103. wait(t)
  104. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  105. wait(t)
  106. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  107. wait(t)
  108. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  109. wait(t)
  110. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  111. wait(t)
  112. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  113. wait(t)
  114. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  115. wait(t)
  116. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  117. wait(t)
  118. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  119. wait(t)
  120. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  121. wait(t)
  122. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  123. wait(t)
  124. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  125. wait(t)
  126. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  127. wait(t)
  128. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  129. wait(t)
  130. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  131. wait(t)
  132. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  133. wait(t)
  134. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  135. wait(t)
  136. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  137. wait(t)
  138. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  139. wait(t)
  140. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  141. wait(t)
  142. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  143. wait(t)
  144. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  145. wait(t)
  146. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  147. wait(t)
  148. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  149. wait(t)
  150. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  151. wait(t)
  152. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  153. wait(t)
  154. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  155. wait(t)
  156. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  157. wait(t)
  158. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  159. wait(t)
  160. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  161. wait(t)
  162. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  163. wait(t)
  164. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  165. wait(t)
  166. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  167. wait(t)
  168. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  169. wait(t)
  170. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  171. wait(t)
  172. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  173. wait(t)
  174. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  175. wait(t)
  176. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  177. wait(t)
  178. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  179. wait(t)
  180. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  181. wait(t)
  182. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  183. wait(t)
  184. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  185. wait(t)
  186. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  187. wait(t)
  188. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  189. wait(t)
  190. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  191. wait(t)
  192. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  193. wait(t)
  194. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  195. wait(t)
  196. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  197. wait(t)
  198. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  199. wait(t)
  200. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  201. wait(t)
  202. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  203. wait(t)
  204. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  205. wait(t)
  206. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  207. wait(t)
  208. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  209. wait(t)
  210. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  211. wait(t)
  212. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  213. wait(t)
  214. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  215. wait(t)
  216. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  217. wait(t)
  218. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  219. wait(t)
  220. script.Parent.Mesh.Scale = Vector3.new(script.Parent.Mesh.Scale.x-0.0125,script.Parent.Mesh.Scale.y,script.Parent.Mesh.Scale.z-0.0125)
  221.  
  222.  
  223. script.Parent.CanCollide = false
  224. script.Parent.Transparency = 1
  225. d.Parent = nil
  226. wait(3)
  227. d.Parent = script.Parent
  228. script.Parent.CanCollide = true
  229. script.Parent.Mesh.Scale = Vector3.new(1,1,1)
  230. script.Parent.Transparency = 0
  231. debounce = true
  232. end
  233. end
  234.  
  235. connection = script.Parent.Touched:connect(onTouched)
  236.  
  237. end))
  238. BlockMesh3.Parent = Part1
  239. Decal4.Parent = Part1
  240. Decal4.Texture = "rbxassetid://0"
  241. Decal4.Face = Enum.NormalId.Top
  242. Decal5.Parent = Part1
  243. Decal5.Texture = "rbxassetid://0"
  244. Decal5.Face = Enum.NormalId.Bottom
  245. for i,v in pairs(mas:GetChildren()) do
  246. v.Parent = workspace
  247. pcall(function() v:MakeJoints() end)
  248. end
  249. mas:Destroy()
  250. for i,v in pairs(cors) do
  251. spawn(function()
  252. pcall(v)
  253. end)
  254. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement