Advertisement
N0ePlox

B0xk of d00m

May 15th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.27 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. Part1 = Instance.new("Part")
  21. Script2 = Instance.new("Script")
  22. Part3 = Instance.new("Part")
  23. Script4 = Instance.new("Script")
  24. Part5 = Instance.new("Part")
  25. Script6 = Instance.new("Script")
  26. Part7 = Instance.new("Part")
  27. Script8 = Instance.new("Script")
  28. Part9 = Instance.new("Part")
  29. Script10 = Instance.new("Script")
  30. Part11 = Instance.new("Part")
  31. Script12 = Instance.new("Script")
  32. Model0.Parent = mas
  33. Part1.Name = "Kill brick"
  34. Part1.Parent = Model0
  35. Part1.Material = Enum.Material.SmoothPlastic
  36. Part1.BrickColor = BrickColor.new("Really red")
  37. Part1.Transparency = 1
  38. Part1.Anchored = true
  39. Part1.CanCollide = false
  40. Part1.Size = Vector3.new(106.094215, 662.507874, 903.963867)
  41. Part1.CFrame = CFrame.new(-403.380981, 334.019104, 0.618543148, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  42. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  43. Part1.Color = Color3.new(1, 0, 0)
  44. Part1.Position = Vector3.new(-403.380981, 334.019104, 0.618543148)
  45. Part1.Color = Color3.new(1, 0, 0)
  46. Script2.Name = "Code"
  47. Script2.Parent = Part1
  48. table.insert(cors,sandbox(Script2,function()
  49. --Variables--
  50. local Brick = script.Parent
  51. --End--
  52.  
  53. --Code--
  54. local function PlayerTouched(Part)
  55. local Parent = Part.Parent
  56. if game.Players:GetPlayerFromCharacter(Parent) then
  57. Parent.Humanoid.Health = 0
  58. end
  59. end
  60.  
  61. Brick.Touched:connect(PlayerTouched)
  62. end))
  63. Part3.Name = "Conveyor"
  64. Part3.Parent = Model0
  65. Part3.BrickColor = BrickColor.new("Black")
  66. Part3.Transparency = 1
  67. Part3.Anchored = true
  68. Part3.FormFactor = Enum.FormFactor.Plate
  69. Part3.Size = Vector3.new(913.110229, 0.665168583, 898.642883)
  70. Part3.CFrame = CFrame.new(-49.2617149, 2.43258047, 28.3892365, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  71. Part3.TopSurface = Enum.SurfaceType.Smooth
  72. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  73. Part3.Position = Vector3.new(-49.2617149, 2.43258047, 28.3892365)
  74. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  75. Script4.Parent = Part3
  76. table.insert(cors,sandbox(Script4,function()
  77. --� Rhino1004 �
  78.  
  79. while true do
  80. script.Parent.Velocity = script.Parent.CFrame.lookVector *250000000000
  81. wait(0.1)
  82. end
  83.  
  84. end))
  85. Part5.Name = "Kill brick"
  86. Part5.Parent = Model0
  87. Part5.Material = Enum.Material.SmoothPlastic
  88. Part5.BrickColor = BrickColor.new("Really red")
  89. Part5.Transparency = 1
  90. Part5.Anchored = true
  91. Part5.CanCollide = false
  92. Part5.Size = Vector3.new(960.337097, 662.507874, 23.6134777)
  93. Part5.CFrame = CFrame.new(23.740469, 334.019104, -431.408478, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  94. Part5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  95. Part5.Color = Color3.new(1, 0, 0)
  96. Part5.Position = Vector3.new(23.740469, 334.019104, -431.408478)
  97. Part5.Color = Color3.new(1, 0, 0)
  98. Script6.Name = "Code"
  99. Script6.Parent = Part5
  100. table.insert(cors,sandbox(Script6,function()
  101. --Variables--
  102. local Brick = script.Parent
  103. --End--
  104.  
  105. --Code--
  106. local function PlayerTouched(Part)
  107. local Parent = Part.Parent
  108. if game.Players:GetPlayerFromCharacter(Parent) then
  109. Parent.Humanoid.Health = 0
  110. end
  111. end
  112.  
  113. Brick.Touched:connect(PlayerTouched)
  114. end))
  115. Part7.Name = "Kill brick"
  116. Part7.Parent = Model0
  117. Part7.Material = Enum.Material.SmoothPlastic
  118. Part7.BrickColor = BrickColor.new("Really red")
  119. Part7.Transparency = 1
  120. Part7.Anchored = true
  121. Part7.CanCollide = false
  122. Part7.Size = Vector3.new(960.337097, 662.507874, 23.6134777)
  123. Part7.CFrame = CFrame.new(23.740469, 334.019104, 440.793732, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  124. Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  125. Part7.Color = Color3.new(1, 0, 0)
  126. Part7.Position = Vector3.new(23.740469, 334.019104, 440.793732)
  127. Part7.Color = Color3.new(1, 0, 0)
  128. Script8.Name = "Code"
  129. Script8.Parent = Part7
  130. table.insert(cors,sandbox(Script8,function()
  131. --Variables--
  132. local Brick = script.Parent
  133. --End--
  134.  
  135. --Code--
  136. local function PlayerTouched(Part)
  137. local Parent = Part.Parent
  138. if game.Players:GetPlayerFromCharacter(Parent) then
  139. Parent.Humanoid.Health = 0
  140. end
  141. end
  142.  
  143. Brick.Touched:connect(PlayerTouched)
  144. end))
  145. Part9.Name = "Kill brick"
  146. Part9.Parent = Model0
  147. Part9.Material = Enum.Material.SmoothPlastic
  148. Part9.BrickColor = BrickColor.new("Really red")
  149. Part9.Transparency = 1
  150. Part9.Anchored = true
  151. Part9.CanCollide = false
  152. Part9.Size = Vector3.new(106.094215, 662.507874, 942.211121)
  153. Part9.CFrame = CFrame.new(462.169434, 334.019104, -18.5051041, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  154. Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  155. Part9.Color = Color3.new(1, 0, 0)
  156. Part9.Position = Vector3.new(462.169434, 334.019104, -18.5051041)
  157. Part9.Color = Color3.new(1, 0, 0)
  158. Script10.Name = "Code"
  159. Script10.Parent = Part9
  160. table.insert(cors,sandbox(Script10,function()
  161. --Variables--
  162. local Brick = script.Parent
  163. --End--
  164.  
  165. --Code--
  166. local function PlayerTouched(Part)
  167. local Parent = Part.Parent
  168. if game.Players:GetPlayerFromCharacter(Parent) then
  169. Parent.Humanoid.Health = 0
  170. end
  171. end
  172.  
  173. Brick.Touched:connect(PlayerTouched)
  174. end))
  175. Part11.Name = "Kill brick"
  176. Part11.Parent = Model0
  177. Part11.Material = Enum.Material.SmoothPlastic
  178. Part11.BrickColor = BrickColor.new("Really red")
  179. Part11.Transparency = 1
  180. Part11.Anchored = true
  181. Part11.CanCollide = false
  182. Part11.Size = Vector3.new(960.337097, 452.907776, 940.51355)
  183. Part11.CFrame = CFrame.new(23.740469, 438.819122, 27.0415649, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  184. Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  185. Part11.Color = Color3.new(1, 0, 0)
  186. Part11.Position = Vector3.new(23.740469, 438.819122, 27.0415649)
  187. Part11.Color = Color3.new(1, 0, 0)
  188. Script12.Name = "Code"
  189. Script12.Parent = Part11
  190. table.insert(cors,sandbox(Script12,function()
  191. --Variables--
  192. local Brick = script.Parent
  193. --End--
  194.  
  195. --Code--
  196. local function PlayerTouched(Part)
  197. local Parent = Part.Parent
  198. if game.Players:GetPlayerFromCharacter(Parent) then
  199. Parent.Humanoid.Health = 0
  200. end
  201. end
  202.  
  203. Brick.Touched:connect(PlayerTouched)
  204. end))
  205. for i,v in pairs(mas:GetChildren()) do
  206. v.Parent = workspace
  207. pcall(function() v:MakeJoints() end)
  208. end
  209. mas:Destroy()
  210. for i,v in pairs(cors) do
  211. spawn(function()
  212. pcall(v)
  213. end)
  214. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement