Advertisement
UhhLegoboy

Pathetic Little Rocket

Apr 13th, 2017
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.62 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("Sparkles")
  21. o4 = Instance.new("Sparkles")
  22. o5 = Instance.new("Sparkles")
  23. o6 = Instance.new("Sparkles")
  24. o7 = Instance.new("Sparkles")
  25. o8 = Instance.new("Sparkles")
  26. o9 = Instance.new("Part")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("Part")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Part")
  31. o14 = Instance.new("BodyForce")
  32. o15 = Instance.new("Seat")
  33. o16 = Instance.new("Script")
  34. o17 = Instance.new("Sound")
  35. o1.Name = "Rocket"
  36. o1.Parent = mas
  37. o2.Parent = o1
  38. o2.Material = Enum.Material.SmoothPlastic
  39. o2.BrickColor = BrickColor.new("Really black")
  40. o2.Position = Vector3.new(-40.5000038, 0.500002921, -32.0000038)
  41. o2.Rotation = Vector3.new(-0, 45.0001564, -0)
  42. o2.Size = Vector3.new(4, 1, 4)
  43. o2.CFrame = CFrame.new(-40.5000038, 0.500002921, -32.0000038, 0.707108676, 0, 0.707108676, 0, 1, 0, -0.707108676, 0, 0.707108676)
  44. o2.BackSurface = Enum.SurfaceType.Universal
  45. o2.BottomSurface = Enum.SurfaceType.Universal
  46. o2.FrontSurface = Enum.SurfaceType.Universal
  47. o2.LeftSurface = Enum.SurfaceType.Universal
  48. o2.RightSurface = Enum.SurfaceType.Universal
  49. o2.TopSurface = Enum.SurfaceType.Universal
  50. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  51. o2.Position = Vector3.new(-40.5000038, 0.500002921, -32.0000038)
  52. o3.Parent = o2
  53. o3.Color = Color3.new(1.77083, 0, 0)
  54. o3.SparkleColor = Color3.new(1, 0, 0)
  55. o4.Parent = o2
  56. o4.Color = Color3.new(1.77083, 6.8, 0)
  57. o4.SparkleColor = Color3.new(1, 0.666667, 0)
  58. o5.Parent = o2
  59. o5.Color = Color3.new(1.77083, 10.2, 0)
  60. o5.SparkleColor = Color3.new(1, 1, 0)
  61. o6.Parent = o2
  62. o6.Color = Color3.new(0.590278, 10.2, 0)
  63. o6.SparkleColor = Color3.new(0.333333, 1, 0)
  64. o7.Parent = o2
  65. o7.Color = Color3.new(0, 0, 1)
  66. o7.SparkleColor = Color3.new(0, 0, 1)
  67. o8.Parent = o2
  68. o8.Color = Color3.new(1.18056, 0, 1)
  69. o8.SparkleColor = Color3.new(0.666667, 0, 1)
  70. o9.Parent = o1
  71. o9.Material = Enum.Material.SmoothPlastic
  72. o9.BrickColor = BrickColor.new("Really black")
  73. o9.Position = Vector3.new(-41.5606651, 4.00000286, -33.0606651)
  74. o9.Rotation = Vector3.new(-0, 45.0001564, -0)
  75. o9.Size = Vector3.new(4, 6, 1)
  76. o9.CFrame = CFrame.new(-41.5606651, 4.00000286, -33.0606651, 0.707108676, 0, 0.707108676, 0, 1, 0, -0.707108676, 0, 0.707108676)
  77. o9.BackSurface = Enum.SurfaceType.Universal
  78. o9.BottomSurface = Enum.SurfaceType.Universal
  79. o9.FrontSurface = Enum.SurfaceType.Universal
  80. o9.LeftSurface = Enum.SurfaceType.Universal
  81. o9.RightSurface = Enum.SurfaceType.Universal
  82. o9.TopSurface = Enum.SurfaceType.Universal
  83. o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  84. o9.Position = Vector3.new(-41.5606651, 4.00000286, -33.0606651)
  85. o10.Name = "Door"
  86. o10.Parent = o1
  87. o10.Material = Enum.Material.SmoothPlastic
  88. o10.Transparency = 1
  89. o10.Position = Vector3.new(-39.4393425, 4.00000286, -30.9393444)
  90. o10.Rotation = Vector3.new(-0, 45.0001564, -0)
  91. o10.CanCollide = false
  92. o10.Size = Vector3.new(2, 6, 1)
  93. o10.CFrame = CFrame.new(-39.4393425, 4.00000286, -30.9393444, 0.707108676, 0, 0.707108676, 0, 1, 0, -0.707108676, 0, 0.707108676)
  94. o10.BackSurface = Enum.SurfaceType.Universal
  95. o10.BottomSurface = Enum.SurfaceType.Universal
  96. o10.FrontSurface = Enum.SurfaceType.Universal
  97. o10.LeftSurface = Enum.SurfaceType.Universal
  98. o10.RightSurface = Enum.SurfaceType.Universal
  99. o10.TopSurface = Enum.SurfaceType.Universal
  100. o10.Position = Vector3.new(-39.4393425, 4.00000286, -30.9393444)
  101. o11.Parent = o1
  102. o11.Material = Enum.Material.SmoothPlastic
  103. o11.BrickColor = BrickColor.new("Really black")
  104. o11.Position = Vector3.new(-41.2071075, 4.00000191, -30.5857906)
  105. o11.Rotation = Vector3.new(-0, -45.0001678, -0)
  106. o11.Size = Vector3.new(3, 6, 1)
  107. o11.CFrame = CFrame.new(-41.2071075, 4.00000191, -30.5857906, 0.707108855, 0, -0.707108855, 0, 1, 0, 0.707108855, 0, 0.707108855)
  108. o11.BackSurface = Enum.SurfaceType.Universal
  109. o11.BottomSurface = Enum.SurfaceType.Universal
  110. o11.FrontSurface = Enum.SurfaceType.Universal
  111. o11.LeftSurface = Enum.SurfaceType.Universal
  112. o11.RightSurface = Enum.SurfaceType.Universal
  113. o11.TopSurface = Enum.SurfaceType.Universal
  114. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  115. o11.Position = Vector3.new(-41.2071075, 4.00000191, -30.5857906)
  116. o12.Parent = o1
  117. o12.Material = Enum.Material.SmoothPlastic
  118. o12.BrickColor = BrickColor.new("Really black")
  119. o12.Position = Vector3.new(-39.0857887, 4.00000191, -32.7071075)
  120. o12.Rotation = Vector3.new(-0, -45.0001564, -0)
  121. o12.Size = Vector3.new(3, 6, 1)
  122. o12.CFrame = CFrame.new(-39.0857887, 4.00000191, -32.7071075, 0.707108676, 0, -0.707108676, 0, 1, 0, 0.707108676, 0, 0.707108676)
  123. o12.BackSurface = Enum.SurfaceType.Universal
  124. o12.BottomSurface = Enum.SurfaceType.Universal
  125. o12.FrontSurface = Enum.SurfaceType.Universal
  126. o12.LeftSurface = Enum.SurfaceType.Universal
  127. o12.RightSurface = Enum.SurfaceType.Universal
  128. o12.TopSurface = Enum.SurfaceType.Universal
  129. o12.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  130. o12.Position = Vector3.new(-39.0857887, 4.00000191, -32.7071075)
  131. o13.Name = "Top"
  132. o13.Parent = o1
  133. o13.Material = Enum.Material.SmoothPlastic
  134. o13.BrickColor = BrickColor.new("Really black")
  135. o13.Position = Vector3.new(-40.5000038, 7.50000191, -32.0000038)
  136. o13.Rotation = Vector3.new(-0, 45.0001564, -0)
  137. o13.Size = Vector3.new(4, 1, 4)
  138. o13.CFrame = CFrame.new(-40.5000038, 7.50000191, -32.0000038, 0.707108676, 0, 0.707108676, 0, 1, 0, -0.707108676, 0, 0.707108676)
  139. o13.BackSurface = Enum.SurfaceType.Universal
  140. o13.BottomSurface = Enum.SurfaceType.Universal
  141. o13.FrontSurface = Enum.SurfaceType.Universal
  142. o13.LeftSurface = Enum.SurfaceType.Universal
  143. o13.RightSurface = Enum.SurfaceType.Universal
  144. o13.TopSurface = Enum.SurfaceType.Universal
  145. o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  146. o13.Position = Vector3.new(-40.5000038, 7.50000191, -32.0000038)
  147. o14.Parent = o13
  148. o15.Parent = o1
  149. o15.Material = Enum.Material.SmoothPlastic
  150. o15.BrickColor = BrickColor.new("Black")
  151. o15.Position = Vector3.new(-40.5000038, 1.50000191, -32.0000038)
  152. o15.Rotation = Vector3.new(-180, -45.0000038, -180)
  153. o15.Size = Vector3.new(2, 1, 2)
  154. o15.CFrame = CFrame.new(-40.5000038, 1.50000191, -32.0000038, -0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, -0.707106829)
  155. o15.BackSurface = Enum.SurfaceType.Universal
  156. o15.BottomSurface = Enum.SurfaceType.Universal
  157. o15.FrontSurface = Enum.SurfaceType.Universal
  158. o15.LeftSurface = Enum.SurfaceType.Universal
  159. o15.RightSurface = Enum.SurfaceType.Universal
  160. o15.TopSurface = Enum.SurfaceType.Universal
  161. o15.Color = Color3.new(0.105882, 0.164706, 0.207843)
  162. o15.Position = Vector3.new(-40.5000038, 1.50000191, -32.0000038)
  163. o16.Name = "script"
  164. o16.Parent = o15
  165. table.insert(cors,coroutine.create(function()
  166. wait()
  167. runDummyScript(function()
  168. script.Parent.Touched : connect(function(plr)
  169.     wait(1)
  170.     local Force = Instance.new("BodyForce",plr.Parent.Torso)
  171.     Force.Force = Vector3.new(0,500000,25)
  172.     wait(2)
  173.     Force : Destroy()
  174.     wait(60)
  175.     local Explosion = Instance.new("Explosion", workspace)
  176.     Explosion.Position = script.Parent.Parent.Top.Position
  177.     wait(1)
  178.     script.Parent.Parent : Destroy()
  179. end)
  180. end,o16)
  181. end))
  182. o17.Parent = o15
  183. o17.SoundId = "rbxassetid://625393325"
  184. o17.Volume = 5
  185. o17.Looped = true
  186. mas.Parent = workspace
  187. mas:MakeJoints()
  188. local mas1 = mas:GetChildren()
  189. for i=1,#mas1 do
  190.     mas1[i].Parent = workspace
  191.     ypcall(function() mas1[i]:MakeJoints() end)
  192. end
  193. mas:Destroy()
  194. for i=1,#cors do
  195. coroutine.resume(cors[i])
  196. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement