Advertisement
cat568

Untitled

Mar 10th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.62 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. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Model2 = Instance.new("Model")
  22. Model3 = Instance.new("Model")
  23. Part4 = Instance.new("Part")
  24. Script5 = Instance.new("Script")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. Part8 = Instance.new("Part")
  28. SpecialMesh9 = Instance.new("SpecialMesh")
  29. Sound10 = Instance.new("Sound")
  30. Script11 = Instance.new("Script")
  31. Weld12 = Instance.new("Weld")
  32. Weld13 = Instance.new("Weld")
  33. Weld14 = Instance.new("Weld")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Script18 = Instance.new("Script")
  38. Part19 = Instance.new("Part")
  39. Part20 = Instance.new("Part")
  40. Part21 = Instance.new("Part")
  41. Part22 = Instance.new("Part")
  42. Part23 = Instance.new("Part")
  43. Part24 = Instance.new("Part")
  44. Part25 = Instance.new("Part")
  45. Part26 = Instance.new("Part")
  46. Part27 = Instance.new("Part")
  47. Model0.Parent = mas
  48. Model1.Name = "w"
  49. Model1.Parent = Model0
  50. Model2.Name = "Turbine"
  51. Model2.Parent = Model1
  52. Model3.Name = "Sensors"
  53. Model3.Parent = Model1
  54. Part4.Name = "kill"
  55. Part4.Parent = Model3
  56. Part4.CFrame = CFrame.new(-14.6980448, 4.63994503, -29.1707039, 0, 0, -1, 1, 0, 0, 0, -1, 0)
  57. Part4.Orientation = Vector3.new(0, -90, 90)
  58. Part4.Position = Vector3.new(-14.6980448, 4.63994503, -29.1707039)
  59. Part4.Rotation = Vector3.new(-90, -90, 0)
  60. Part4.Color = Color3.new(0.627451, 0.517647, 0.309804)
  61. Part4.Transparency = 1
  62. Part4.Size = Vector3.new(0.5, 3.19999933, 3.18999958)
  63. Part4.BrickColor = BrickColor.new("Fawn brown")
  64. Part4.CanCollide = false
  65. Part4.Material = Enum.Material.SmoothPlastic
  66. Part4.brickColor = BrickColor.new("Fawn brown")
  67. Part4.FormFactor = Enum.FormFactor.Symmetric
  68. Part4.formFactor = Enum.FormFactor.Symmetric
  69. Script5.Parent = Part4
  70. table.insert(cors,sandbox(Script5,function()
  71.  
  72. function onTouch(part)
  73. if part.Parent ~= workspace then
  74.  
  75.  
  76. script.Parent.Sound:Play()
  77. script.Parent.SoundB:Play()
  78.  
  79.  
  80.  
  81. local a = part:clone()
  82. a.Parent = workspace
  83. a.CanCollide = true
  84. part:remove()
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. wait(.5)
  93. script.Parent.Sound:Stop()
  94. script.Parent.SoundB:Stop()
  95.  
  96. wait(10)
  97. a:remove()
  98. end
  99. end
  100.  
  101.  
  102.  
  103.  
  104.  
  105. script.Parent.Touched:connect(onTouch)
  106.  
  107. end))
  108. Sound6.Parent = Part4
  109. Sound6.Looped = true
  110. Sound6.EmitterSize = 0
  111. Sound6.MinDistance = 0
  112. Sound6.SoundId = "http://www.roblox.com/asset?id=134484317"
  113. Sound6.Volume = 1
  114. Sound7.Name = "SoundB"
  115. Sound7.Parent = Part4
  116. Sound7.Looped = true
  117. Sound7.EmitterSize = 0
  118. Sound7.MinDistance = 0
  119. Sound7.SoundId = "http://www.roblox.com/asset?id=176238381"
  120. Sound7.Volume = 1
  121. Part8.Name = "SawBlade"
  122. Part8.Parent = Model0
  123. Part8.CFrame = CFrame.new(-14.7057552, 4.54720402, -29.050724, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  124. Part8.Orientation = Vector3.new(90, 0, 0)
  125. Part8.Position = Vector3.new(-14.7057552, 4.54720402, -29.050724)
  126. Part8.Rotation = Vector3.new(90, 0, 0)
  127. Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  128. Part8.Size = Vector3.new(3.20000076, 3.20000076, 0.400000006)
  129. Part8.BottomSurface = Enum.SurfaceType.Smooth
  130. Part8.BrickColor = BrickColor.new("Dark stone grey")
  131. Part8.TopSurface = Enum.SurfaceType.Smooth
  132. Part8.brickColor = BrickColor.new("Dark stone grey")
  133. Part8.FormFactor = Enum.FormFactor.Custom
  134. Part8.formFactor = Enum.FormFactor.Custom
  135. SpecialMesh9.Parent = Part8
  136. SpecialMesh9.MeshId = "http://www.roblox.com/asset/?id=74322089"
  137. SpecialMesh9.Scale = Vector3.new(2.5, 2.5, 2.5)
  138. SpecialMesh9.TextureId = "http://www.roblox.com/asset/?id=74322092"
  139. SpecialMesh9.MeshType = Enum.MeshType.FileMesh
  140. Sound10.Name = "Effect"
  141. Sound10.Parent = Part8
  142. Sound10.Pitch = 1.5
  143. Sound10.PlaybackSpeed = 1.5
  144. Sound10.SoundId = "http://www.roblox.com/asset/?id=2766576"
  145. Sound10.Volume = 0.60000002384186
  146. Script11.Name = "Ouch"
  147. Script11.Parent = Part8
  148. table.insert(cors,sandbox(Script11,function()
  149. tex = "http://www.roblox.com/asset/?id=89024949"
  150. sp = script.Parent
  151.  
  152. function onHit(hit)
  153. if (hit.Parent:FindFirstChild("Humanoid") ~= nil) then
  154. hit.Parent:FindFirstChild("Humanoid").Health = 0
  155. sp.Mesh.TextureId = tex
  156. sp.Effect:Play()
  157. end
  158. end
  159.  
  160. script.Parent.Touched:connect(onHit)
  161. end))
  162. Weld12.Name = "BTWeld"
  163. Weld12.Parent = Part8
  164. Weld12.C1 = CFrame.new(-6.85000038, 0.0499999523, -0.100000381, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  165. Weld12.Part0 = Part8
  166. Weld12.Part1 = Part16
  167. Weld12.part1 = Part16
  168. Weld13.Name = "BTWeld"
  169. Weld13.Parent = Part8
  170. Weld13.C1 = CFrame.new(-3.22500038, 0.0499999523, -0.100000381, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  171. Weld13.Part0 = Part8
  172. Weld13.Part1 = Part15
  173. Weld13.part1 = Part15
  174. Weld14.Name = "BTWeld"
  175. Weld14.Parent = Part8
  176. Weld14.C1 = CFrame.new(-0.0927410126, -0.119979858, 0.00771045685, 0, 0, -1, 0, -1, 0, -1, 0, 0)
  177. Weld14.Part0 = Part8
  178. Weld14.Part1 = Part4
  179. Weld14.part1 = Part4
  180. Part15.Parent = Model0
  181. Part15.CFrame = CFrame.new(-11.4807549, 4.49720383, -28.9507236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  182. Part15.Position = Vector3.new(-11.4807549, 4.49720383, -28.9507236)
  183. Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
  184. Part15.Size = Vector3.new(6.75, 0.5, 0.5)
  185. Part15.BottomSurface = Enum.SurfaceType.Smooth
  186. Part15.BrickColor = BrickColor.new("Dark stone grey")
  187. Part15.CanCollide = false
  188. Part15.TopSurface = Enum.SurfaceType.Smooth
  189. Part15.brickColor = BrickColor.new("Dark stone grey")
  190. Part16.Name = "rotatepart"
  191. Part16.Parent = Model0
  192. Part16.CFrame = CFrame.new(-7.85575485, 4.49720383, -28.9507236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  193. Part16.Position = Vector3.new(-7.85575485, 4.49720383, -28.9507236)
  194. Part16.Color = Color3.new(0.388235, 0.372549, 0.384314)
  195. Part16.Size = Vector3.new(0.5, 0.5, 0.5)
  196. Part16.Anchored = true
  197. Part16.BottomSurface = Enum.SurfaceType.Smooth
  198. Part16.BrickColor = BrickColor.new("Dark stone grey")
  199. Part16.CanCollide = false
  200. Part16.TopSurface = Enum.SurfaceType.Smooth
  201. Part16.brickColor = BrickColor.new("Dark stone grey")
  202. Part17.Parent = Model0
  203. Part17.CFrame = CFrame.new(-5.23075485, 0.122204065, -21.8257236, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  204. Part17.Position = Vector3.new(-5.23075485, 0.122204065, -21.8257236)
  205. Part17.Transparency = 1
  206. Part17.Size = Vector3.new(0.25, 0.25, 3.25)
  207. Part17.Anchored = true
  208. Part17.BottomSurface = Enum.SurfaceType.Smooth
  209. Part17.TopSurface = Enum.SurfaceType.Smooth
  210. Script18.Parent = Part17
  211. table.insert(cors,sandbox(Script18,function()
  212. local diewait = true
  213.  
  214. function die(Hit)
  215. if diewait == true then
  216. if Hit.Parent ~= workspace then
  217. diewait = false
  218. local killer = script.Parent.Parent.rotatepart
  219. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  220. wait(.025)
  221. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  222. wait(.025)
  223. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  224. wait(.025)
  225. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  226. wait(.025)
  227. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  228. wait(.025)
  229. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  230. wait(.025)
  231. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  232. wait(.025)
  233. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  234. wait(.025)
  235. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  236. wait(.025)
  237. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  238. wait(.025)
  239. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  240. wait(.025)
  241. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  242. wait(.025)
  243. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  244. wait(.025)
  245. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  246. wait(.025)
  247. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  248. wait(.025)
  249. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  250. wait(.025)
  251. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  252. wait(.025)
  253. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  254. wait(.025)
  255. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  256. wait(.025)
  257. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  258. wait(.025)
  259. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  260. wait(.025)
  261. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  262. wait(.025)
  263. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  264. wait(.025)
  265. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  266. wait(.025)
  267. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  268. wait(.025)
  269. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  270. wait(.025)
  271. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  272. wait(.025)
  273. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  274. wait(.025)
  275. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  276. wait(.025)
  277. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  278. wait(.025)
  279. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  280. wait(.025)
  281. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  282. wait(.025)
  283. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  284. wait(.025)
  285. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  286. wait(.025)
  287. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  288. wait(.025)
  289. killer.Orientation = killer.Orientation + Vector3.new(0, 10, 0)
  290. wait(.025)
  291. diewait = true
  292. end
  293. end
  294. end
  295. script.Parent.Touched:Connect(die)
  296. end))
  297. Part19.Parent = Model0
  298. Part19.CFrame = CFrame.new(-9.25, 3.75, -28, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  299. Part19.Position = Vector3.new(-9.25, 3.75, -28)
  300. Part19.Size = Vector3.new(17, 7.5, 8)
  301. Part19.Anchored = true
  302. Part19.BottomSurface = Enum.SurfaceType.Smooth
  303. Part19.TopSurface = Enum.SurfaceType.Smooth
  304. Part20.Parent = Model0
  305. Part20.CFrame = CFrame.new(-9.25, 3.75, -18.625, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  306. Part20.Position = Vector3.new(-9.25, 3.75, -18.625)
  307. Part20.Size = Vector3.new(17, 7.5, 1.75)
  308. Part20.Anchored = true
  309. Part20.BottomSurface = Enum.SurfaceType.Smooth
  310. Part20.TopSurface = Enum.SurfaceType.Smooth
  311. Part21.Parent = Model0
  312. Part21.CFrame = CFrame.new(-9.25, 7.375, -24.875, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  313. Part21.Position = Vector3.new(-9.25, 7.375, -24.875)
  314. Part21.Size = Vector3.new(17, 0.75, 14.25)
  315. Part21.Anchored = true
  316. Part21.BottomSurface = Enum.SurfaceType.Smooth
  317. Part21.TopSurface = Enum.SurfaceType.Smooth
  318. Part22.Parent = Model0
  319. Part22.CFrame = CFrame.new(-17.875, 3.875, -10.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  320. Part22.Position = Vector3.new(-17.875, 3.875, -10.25)
  321. Part22.Size = Vector3.new(0.25, 7.75, 18.5)
  322. Part22.Anchored = true
  323. Part22.BottomSurface = Enum.SurfaceType.Smooth
  324. Part22.TopSurface = Enum.SurfaceType.Smooth
  325. Part23.Parent = Model0
  326. Part23.CFrame = CFrame.new(-17.875, 3.875, -32.375, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  327. Part23.Position = Vector3.new(-17.875, 3.875, -32.375)
  328. Part23.Size = Vector3.new(0.25, 7.75, 16.75)
  329. Part23.Anchored = true
  330. Part23.BottomSurface = Enum.SurfaceType.Smooth
  331. Part23.TopSurface = Enum.SurfaceType.Smooth
  332. Part24.Parent = Model0
  333. Part24.CFrame = CFrame.new(-30.125, 3.875, -40.625, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  334. Part24.Position = Vector3.new(-30.125, 3.875, -40.625)
  335. Part24.Size = Vector3.new(24.75, 7.75, 0.25)
  336. Part24.Anchored = true
  337. Part24.BottomSurface = Enum.SurfaceType.Smooth
  338. Part24.TopSurface = Enum.SurfaceType.Smooth
  339. Part25.Parent = Model0
  340. Part25.CFrame = CFrame.new(-42.375, 3.875, -20.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  341. Part25.Position = Vector3.new(-42.375, 3.875, -20.75)
  342. Part25.Size = Vector3.new(0.25, 7.75, 40)
  343. Part25.Anchored = true
  344. Part25.BottomSurface = Enum.SurfaceType.Smooth
  345. Part25.TopSurface = Enum.SurfaceType.Smooth
  346. Part26.Parent = Model0
  347. Part26.CFrame = CFrame.new(-30.125, 3.875, -0.875, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  348. Part26.Position = Vector3.new(-30.125, 3.875, -0.875)
  349. Part26.Size = Vector3.new(24.75, 7.75, 0.25)
  350. Part26.Anchored = true
  351. Part26.BottomSurface = Enum.SurfaceType.Smooth
  352. Part26.TopSurface = Enum.SurfaceType.Smooth
  353. Part27.Parent = Model0
  354. Part27.CFrame = CFrame.new(-30.125, 7.625, -20.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  355. Part27.Position = Vector3.new(-30.125, 7.625, -20.75)
  356. Part27.Size = Vector3.new(24.75, 0.25, 40)
  357. Part27.Anchored = true
  358. Part27.BottomSurface = Enum.SurfaceType.Smooth
  359. Part27.TopSurface = Enum.SurfaceType.Smooth
  360. for i,v in pairs(mas:GetChildren()) do
  361. v.Parent = workspace
  362. pcall(function() v:MakeJoints() end)
  363. end
  364. mas:Destroy()
  365. for i,v in pairs(cors) do
  366. spawn(function()
  367. pcall(v)
  368. end)
  369. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement