Dark_EccentricYT

Untitled

Apr 14th, 2018 (edited)
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.08 KB | None | 0 0
  1. --Made by N3xul
  2. local runDummyScript = function(f,scri)
  3. local oldenv = getfenv(f)
  4. local newenv = setmetatable({}, {
  5. __index = function(_, k)
  6. if k:lower() == 'script' then
  7. return scri
  8. else
  9. return oldenv[k]
  10. end
  11. end
  12. })
  13. setfenv(f, newenv)
  14. ypcall(function() f() end)
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. mas.Name = "CompiledModel"
  19. o1 = Instance.new("Model")
  20. o2 = Instance.new("SkateboardPlatform")
  21. o3 = Instance.new("LocalScript")
  22. o4 = Instance.new("Script")
  23. o5 = Instance.new("Script")
  24. o6 = Instance.new("Animation")
  25. o7 = Instance.new("Animation")
  26. o8 = Instance.new("Animation")
  27. o9 = Instance.new("Animation")
  28. o10 = Instance.new("Animation")
  29. o11 = Instance.new("BlockMesh")
  30. o12 = Instance.new("Model")
  31. o13 = Instance.new("Part")
  32. o14 = Instance.new("CylinderMesh")
  33. o15 = Instance.new("Part")
  34. o16 = Instance.new("CylinderMesh")
  35. o17 = Instance.new("Part")
  36. o18 = Instance.new("CylinderMesh")
  37. o19 = Instance.new("Part")
  38. o20 = Instance.new("CylinderMesh")
  39. o21 = Instance.new("Part")
  40. o22 = Instance.new("CylinderMesh")
  41. o23 = Instance.new("Part")
  42. o24 = Instance.new("BlockMesh")
  43. o25 = Instance.new("Part")
  44. o26 = Instance.new("BlockMesh")
  45. o27 = Instance.new("Part")
  46. o28 = Instance.new("CylinderMesh")
  47. o29 = Instance.new("Part")
  48. o30 = Instance.new("BlockMesh")
  49. o31 = Instance.new("Part")
  50. o32 = Instance.new("BlockMesh")
  51. o33 = Instance.new("Part")
  52. o34 = Instance.new("BlockMesh")
  53. o35 = Instance.new("Part")
  54. o36 = Instance.new("BlockMesh")
  55. o37 = Instance.new("Part")
  56. o38 = Instance.new("BlockMesh")
  57. o39 = Instance.new("Part")
  58. o40 = Instance.new("Part")
  59. o41 = Instance.new("Part")
  60. o42 = Instance.new("Part")
  61. o1.Name = "N3xul Board"
  62. o1.Parent = mas
  63. o2.Parent = o1
  64. o2.BrickColor = BrickColor.new("Black")
  65. o2.Position = Vector3.new(-50.2502022, 0.800859988, 113.849442)
  66. o2.Rotation = Vector3.new(-0.0624074787, 90, 0)
  67. o2.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  68. o2.Velocity = Vector3.new(-0.01655888, 0.0133693041, 1.63015211e-005)
  69. o2.FormFactor = Enum.FormFactor.Plate
  70. o2.Size = Vector3.new(2, 0.400000006, 6)
  71. o2.CFrame = CFrame.new(-50.2502022, 0.800859988, 113.849442, 1.78217888e-005, -9.1743248e-005, 1, -0.00108921574, 0.999999404, 9.17626312e-005, -0.999999404, -0.00108921737, 1.77025795e-005)
  72. o2.BottomSurface = Enum.SurfaceType.Smooth
  73. o2.TopSurface = Enum.SurfaceType.Smooth
  74. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  75. o2.Position = Vector3.new(-50.2502022, 0.800859988, 113.849442)
  76. o3.Name = "Skateboard"
  77. o3.Parent = o2
  78. table.insert(cors,coroutine.create(function()
  79. wait()
  80. runDummyScript(function()
  81. ----------------------------------------------------------------------
  82. --
  83. -- HERE BE DRAGONS!
  84. --
  85. -- You can hack together your own scripts using the objects
  86. -- in here, but this is all highly experimental and *WILL BREAK*
  87. -- in a future release. If that bothers you, look away...
  88. --
  89. -- T
  90. --
  91. -----------------------------------------------------------------------
  92.  
  93. local Board = script.Parent
  94. local Controller
  95. local Gyro
  96. local CoastingAnim
  97. local KickAnim
  98. local LeftAnim
  99. local RightAnim
  100. local OllieAnim
  101.  
  102. local OllieHack = script.Parent:FindFirstChild("OllieThrust")
  103. if (OllieHack == nil) then
  104. OllieHack = Instance.new("BodyThrust")
  105. OllieHack.Name = "OllieThrust"
  106. OllieHack.force = Vector3.new(0,0,0)
  107. OllieHack.location = Vector3.new(0,0,-2)
  108. OllieHack.Parent = Board
  109. end
  110.  
  111. local lastaction = nil
  112. local lasttime = nil
  113. local jumpok = true
  114.  
  115. function didAction(action)
  116. lastaction = action
  117. lasttime = time()
  118. end
  119.  
  120.  
  121.  
  122. function onAxisChanged(axis)
  123. Board.Steer = Controller.Steer
  124. Board.Throttle = Controller.Throttle
  125.  
  126. if (Board.Steer == -1) then
  127. print("Left")
  128. --CoastingAnim:Stop(1)
  129. KickAnim:Stop()
  130. OllieAnim:Stop()
  131. RightAnim:Stop(.5)
  132. LeftAnim:Play(.5)
  133. didAction("left")
  134. end
  135.  
  136. if (Board.Steer == 1) then
  137. print("Right")
  138. KickAnim:Stop()
  139. --CoastingAnim:Stop(1)
  140. LeftAnim:Stop(.5)
  141. OllieAnim:Stop()
  142. RightAnim:Play(.5)
  143. didAction("right")
  144. end
  145.  
  146. if (Board.Steer == 0) then
  147. print("Straight")
  148.  
  149. KickAnim:Stop()
  150. LeftAnim:Stop(.5)
  151. OllieAnim:Stop()
  152. RightAnim:Stop(.5)
  153.  
  154. if (lastaction == "go" and time() - lasttime < .1) then
  155.  
  156. end
  157. didAction("go")
  158. --CoastingAnim:Play(1)
  159.  
  160.  
  161. end
  162. end
  163.  
  164. function enterAirState()
  165. -- gyrate towards vertical position for better landing
  166. Gyro.maxTorque = Vector3.new(100, 0, 100)
  167. jumpok = false
  168. end
  169.  
  170. function exitAirState()
  171. -- turn off gyro
  172. Gyro.maxTorque = Vector3.new(0,0,0)
  173. jumpok = true
  174. end
  175.  
  176. function enterPushingState()
  177. KickAnim:Play()
  178. end
  179.  
  180. function onMoveStateChanged(newState, oldState)
  181. print(oldState)
  182. print(newState)
  183. -- do state exits here
  184. if oldState == Enum.MoveState.AirFree then exitAirState() end
  185.  
  186. -- do state transitions here
  187.  
  188. -- do state entries here
  189. if newState == Enum.MoveState.AirFree then enterAirState() end
  190. if newState == Enum.MoveState.Pushing then enterPushingState() end
  191. end
  192.  
  193.  
  194. -- initialization/finalization stuff
  195.  
  196. function makeGyro(humanoid)
  197. Gyro = Instance.new("BodyGyro")
  198. Gyro.Name = "SkateboardGyro"
  199. Gyro.maxTorque = Vector3.new(0,0,0) -- start off
  200. Gyro.P = 50
  201. Gyro.D = 50
  202. Gyro.Parent = humanoid.Parent.Torso
  203. end
  204.  
  205. function onButtonChanged(button)
  206. if button == Enum.Button.Dismount then
  207. Board.ControllingHumanoid.Jump = Controller:getButton(Enum.Button.Dismount)
  208. end
  209. if button == Enum.Button.Jump then
  210. if Controller:getButton(Enum.Button.Jump) and jumpok then
  211. jumpok = false
  212. KickAnim:Stop()
  213. LeftAnim:Stop(.5)
  214.  
  215. RightAnim:Stop(.5)
  216. OllieAnim:Play(0,1,4)
  217. Board.StickyWheels = false
  218. Board:ApplySpecificImpulse(Vector3.new(0,45,0))
  219. OllieHack.force = Vector3.new(0,1200,0)
  220. didAction("jump")
  221. delay(.1, function() if (OllieHack ~= nil) then OllieHack.force = Vector3.new(0,0,0) end end)
  222. else
  223. Board.StickyWheels = true
  224. end
  225. end
  226. end
  227.  
  228. function onEquip(humanoid, controller)
  229. print("Board equipped")
  230. print(controller)
  231. if not Controller then -- debounce
  232. Controller = controller
  233.  
  234. makeGyro(humanoid)
  235. controller.AxisChanged:connect(onAxisChanged)
  236. Board.MoveStateChanged:connect(onMoveStateChanged)
  237. CoastingAnim = humanoid:loadAnimation(Board.coastingpose)
  238. LeftAnim = humanoid:loadAnimation(Board.leftturn)
  239. RightAnim = humanoid:loadAnimation(Board.rightturn)
  240. OllieAnim = humanoid:loadAnimation(Board.ollie)
  241. --OllieAnim:AdjustSpeed(2)
  242. KickAnim = humanoid:loadAnimation(Board.boardkick)
  243. CoastingAnim:Play()
  244.  
  245. Controller:bindButton(Enum.Button.Jump, "Ollie")
  246. Controller:bindButton(Enum.Button.Dismount, "Dismount")
  247. Controller.ButtonChanged:connect(onButtonChanged)
  248. end
  249. end
  250.  
  251. function onUnequip(board)
  252. print("Board unequipped")
  253. Controller = nil
  254. Gyro.Parent = nil
  255. Gyro= nil
  256. CoastingAnim:Stop()
  257. KickAnim:Stop()
  258. CoastingAnim = nil
  259. KickAnim = nil
  260. LeftAnim:Stop()
  261. LeftAnim = nil
  262. RightAnim:Stop()
  263. RightAnim = nil
  264. OllieAnim:Stop()
  265. OllieAnim = nil
  266.  
  267. if (OllieThrust ~= nil) then
  268. OllieThrust:Remove()
  269. OllieThrust = nil
  270. end
  271. end
  272.  
  273. -- connect events
  274.  
  275. Board.equipped:connect(onEquip)
  276. Board.unequipped:connect(onUnequip)
  277.  
  278. -- main program
  279.  
  280. -- we could have missed the onEquip event on script start
  281. if Board.Controller and not Controller then
  282.  
  283. onEquip(Board.ControllingHumanoid, Board.Controller)
  284.  
  285. end
  286.  
  287.  
  288. end,o3)
  289. end))
  290. o4.Name = "Flipper"
  291. o4.Parent = o2
  292. table.insert(cors,coroutine.create(function()
  293. wait()
  294. runDummyScript(function()
  295. local parts = script.Parent.Parent:GetChildren()
  296. print("count" .. #parts)
  297. local uprightCF = script.Parent.CFrame
  298.  
  299. local con = nil
  300.  
  301. function boardIsFlipped()
  302. local v1 = script.Parent.CFrame:vectorToWorldSpace(Vector3.FromNormalId(Enum.NormalId.Top))
  303. local v2 = Vector3.new(0,1,0)
  304.  
  305. local ang = math.acos(v1:Dot(v2))
  306.  
  307. return ang > 2
  308. end
  309.  
  310. function onTouched(hit)
  311.  
  312. if (hit.Parent ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil) then
  313. if (script.Parent.Controller == nil) then
  314. if (boardIsFlipped()) then
  315. con:disconnect()
  316. con = nil
  317.  
  318. print("FLIP IT")
  319. -- no one is riding this thing
  320.  
  321. script.Parent.StickyWheels = false
  322.  
  323. -- pin
  324. local bp = Instance.new("BodyPosition")
  325. bp.maxForce = Vector3.new(5e7,5e7,5e7)
  326. bp.position = script.Parent.Position + Vector3.new(0,2,0)
  327. bp.Parent = script.Parent
  328.  
  329. -- flip
  330. local fg = Instance.new("BodyGyro")
  331. fg.maxTorque = Vector3.new(5e7,5e7,5e7)
  332. fg.cframe = uprightCF
  333. fg.Parent = script.Parent
  334. wait(1)
  335. fg:Remove()
  336. wait(1)
  337. bp:Remove()
  338.  
  339. script.Parent.StickyWheels = true
  340. end
  341. end
  342. end
  343. wait(1)
  344.  
  345. if (con == nil) then con = script.Parent.Touched:connect(onTouched) end
  346. end
  347.  
  348. con = script.Parent.Touched:connect(onTouched)
  349.  
  350. while true do
  351. for i=1,#parts do
  352. if parts[i].className == "Part" and (script.Parent.Position - parts[i].Position).magnitude > 5 then
  353. script.Parent.Parent:Remove()
  354. end
  355. end
  356. wait(1)
  357. end
  358.  
  359. end,o4)
  360. end))
  361. o5.Name = "IdleDelete"
  362. o5.Parent = o2
  363. table.insert(cors,coroutine.create(function()
  364. wait()
  365. runDummyScript(function()
  366. local mountCount = 0 -- used to determine inactivity state of board.
  367. local Board = script.Parent
  368. local Controller
  369.  
  370.  
  371. -- uses the mountCount varialbe to determine activity
  372. function waitAndDeleteIfIdle(timeout)
  373. local oldMountCount = mountCount
  374. wait(timeout)
  375. if mountCount == oldMountCount then
  376. if not Controller then
  377. -- DESTROY!
  378. Board.Parent.Parent = nil
  379. else
  380. print("Unexpected: board is idle but is mounted???")
  381. end
  382. end
  383. end
  384.  
  385.  
  386. function onEquip(humanoid, controller)
  387. if not Controller then -- debounce
  388. Controller = controller
  389. mountCount = mountCount+1
  390. end
  391. end
  392.  
  393. function onUnequip(board)
  394. Controller = nil
  395. -- this line makes this skateboard clean itself up if unused for one minute
  396. waitAndDeleteIfIdle(60)
  397. end
  398.  
  399. -- connect events
  400.  
  401. Board.equipped:connect(onEquip)
  402. Board.unequipped:connect(onUnequip)
  403.  
  404. -- main program
  405.  
  406. -- we could have missed the onEquip event on script start
  407. if Board.Controller and not Controller then
  408. onEquip(Board.ControllingHumanoid, Board.Controller)
  409. end
  410.  
  411. end,o5)
  412. end))
  413. o6.Name = "boardkick"
  414. o6.Parent = o2
  415. o6.AnimationId = "http://www.roblox.com/Asset?ID=21417802"
  416. o7.Name = "coastingpose"
  417. o7.Parent = o2
  418. o7.AnimationId = "http://www.roblox.com/Asset?ID=21698666"
  419. o8.Name = "leftturn"
  420. o8.Parent = o2
  421. o8.AnimationId = "http://www.roblox.com/Asset?ID=21632926"
  422. o9.Name = "ollie"
  423. o9.Parent = o2
  424. o9.AnimationId = "http://www.roblox.com/Asset?ID=21700751"
  425. o10.Name = "rightturn"
  426. o10.Parent = o2
  427. o10.AnimationId = "http://www.roblox.com/Asset?ID=21633130"
  428. o11.Parent = o2
  429. o12.Name = "Parts"
  430. o12.Parent = o1
  431. o13.Name = "Engine"
  432. o13.Parent = o12
  433. o13.BrickColor = BrickColor.new("Really black")
  434. o13.Reflectance = 0.40000000596046
  435. o13.Position = Vector3.new(-47.0502205, 0.90169853, 114.34938)
  436. o13.Rotation = Vector3.new(-90.0624084, -0.0052564987, -90.0010223)
  437. o13.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  438. o13.Velocity = Vector3.new(-0.0148381386, 0.0226580165, -0.0128712719)
  439. o13.CanCollide = false
  440. o13.Elasticity = 0
  441. o13.FormFactor = Enum.FormFactor.Plate
  442. o13.Friction = 1.2999999523163
  443. o13.Size = Vector3.new(1, 0.400000006, 1)
  444. o13.CFrame = CFrame.new(-47.0502205, 0.90169853, 114.34938, -1.78410592e-005, 1, -9.17432044e-005, 0.00108921574, 9.1762653e-005, 0.999999404, 0.999999404, 1.76833091e-005, -0.00108921737)
  445. o13.BottomSurface = Enum.SurfaceType.Weld
  446. o13.TopSurface = Enum.SurfaceType.Smooth
  447. o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  448. o13.Position = Vector3.new(-47.0502205, 0.90169853, 114.34938)
  449. o14.Parent = o13
  450. o14.Offset = Vector3.new(0, 0, -0.100000001)
  451. o14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  452. o15.Name = "Tip"
  453. o15.Parent = o12
  454. o15.BrickColor = BrickColor.new("Black")
  455. o15.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
  456. o15.Rotation = Vector3.new(-0.0624074787, -90, 0)
  457. o15.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  458. o15.Velocity = Vector3.new(-0.0165589079, 0.0112921055, 0.0124864718)
  459. o15.CanCollide = false
  460. o15.Elasticity = 0
  461. o15.FormFactor = Enum.FormFactor.Plate
  462. o15.Friction = 1.2999999523163
  463. o15.Size = Vector3.new(2, 0.400000006, 1)
  464. o15.CFrame = CFrame.new(-53.7502022, 0.800540745, 113.84938, -1.78410592e-005, -9.17432044e-005, -1, 0.00108921574, 0.999999404, -9.1762653e-005, 0.999999404, -0.00108921737, -1.76833091e-005)
  465. o15.BottomSurface = Enum.SurfaceType.Smooth
  466. o15.FrontSurface = Enum.SurfaceType.Weld
  467. o15.TopSurface = Enum.SurfaceType.Smooth
  468. o15.Color = Color3.new(0.105882, 0.164706, 0.207843)
  469. o15.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
  470. o16.Parent = o15
  471. o16.Offset = Vector3.new(0, 0, -0.5)
  472. o16.Scale = Vector3.new(1, 1, 2)
  473. o17.Name = "Engine"
  474. o17.Parent = o12
  475. o17.BrickColor = BrickColor.new("Really black")
  476. o17.Reflectance = 0.40000000596046
  477. o17.Position = Vector3.new(-47.0502052, 0.900610328, 113.349388)
  478. o17.Rotation = Vector3.new(-90.0624084, -0.0052564987, -90.0010223)
  479. o17.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  480. o17.Velocity = Vector3.new(-0.0183990244, 0.00787554495, -0.0128552401)
  481. o17.CanCollide = false
  482. o17.Elasticity = 0
  483. o17.FormFactor = Enum.FormFactor.Plate
  484. o17.Friction = 1.2999999523163
  485. o17.Size = Vector3.new(1, 0.400000006, 1)
  486. o17.CFrame = CFrame.new(-47.0502052, 0.900610328, 113.349388, -1.78410592e-005, 1, -9.17432044e-005, 0.00108921574, 9.1762653e-005, 0.999999404, 0.999999404, 1.76833091e-005, -0.00108921737)
  487. o17.BottomSurface = Enum.SurfaceType.Weld
  488. o17.TopSurface = Enum.SurfaceType.Smooth
  489. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  490. o17.Position = Vector3.new(-47.0502052, 0.900610328, 113.349388)
  491. o18.Parent = o17
  492. o18.Offset = Vector3.new(0, 0, -0.100000001)
  493. o18.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  494. o19.Name = "Fire"
  495. o19.Parent = o12
  496. o19.Material = Enum.Material.Neon
  497. o19.BrickColor = BrickColor.new("Bright red")
  498. o19.Reflectance = 0.10000000149012
  499. o19.Transparency = 0.60000002384186
  500. o19.Position = Vector3.new(-46.6502266, 0.901735246, 114.349403)
  501. o19.Rotation = Vector3.new(-90.0624084, -0.00525649358, -90.00103)
  502. o19.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  503. o19.Velocity = Vector3.new(-0.014838079, 0.0228956416, -0.0142964162)
  504. o19.CanCollide = false
  505. o19.Elasticity = 0
  506. o19.FormFactor = Enum.FormFactor.Plate
  507. o19.Friction = 1.2999999523163
  508. o19.Size = Vector3.new(1, 0.400000006, 1)
  509. o19.CFrame = CFrame.new(-46.6502266, 0.901735246, 114.349403, -1.78795999e-005, 1, -9.17431171e-005, 0.00108921574, 9.17626967e-005, 0.999999404, 0.999999404, 1.76447684e-005, -0.00108921737)
  510. o19.BottomSurface = Enum.SurfaceType.Weld
  511. o19.TopSurface = Enum.SurfaceType.Smooth
  512. o19.Color = Color3.new(0.768628, 0.156863, 0.109804)
  513. o19.Position = Vector3.new(-46.6502266, 0.901735246, 114.349403)
  514. o20.Parent = o19
  515. o20.Offset = Vector3.new(0, -0.140000001, -0.100000001)
  516. o20.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
  517. o21.Name = "Fire"
  518. o21.Parent = o12
  519. o21.Material = Enum.Material.Neon
  520. o21.BrickColor = BrickColor.new("Bright red")
  521. o21.Reflectance = 0.10000000149012
  522. o21.Transparency = 0.60000002384186
  523. o21.Position = Vector3.new(-46.6502113, 0.900646091, 113.349403)
  524. o21.Rotation = Vector3.new(-90.0624084, -0.00525649358, -90.00103)
  525. o21.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  526. o21.Velocity = Vector3.new(-0.0183989909, 0.00811305828, -0.0142803704)
  527. o21.CanCollide = false
  528. o21.Elasticity = 0
  529. o21.FormFactor = Enum.FormFactor.Plate
  530. o21.Friction = 1.2999999523163
  531. o21.Size = Vector3.new(1, 0.400000006, 1)
  532. o21.CFrame = CFrame.new(-46.6502113, 0.900646091, 113.349403, -1.78795999e-005, 1, -9.17431171e-005, 0.00108921574, 9.17626967e-005, 0.999999404, 0.999999404, 1.76447684e-005, -0.00108921737)
  533. o21.BottomSurface = Enum.SurfaceType.Weld
  534. o21.TopSurface = Enum.SurfaceType.Smooth
  535. o21.Color = Color3.new(0.768628, 0.156863, 0.109804)
  536. o21.Position = Vector3.new(-46.6502113, 0.900646091, 113.349403)
  537. o22.Parent = o21
  538. o22.Offset = Vector3.new(0, -0.140000001, -0.100000001)
  539. o22.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
  540. o23.Name = "Logo"
  541. o23.Parent = o12
  542. o23.BrickColor = BrickColor.new("Really black")
  543. o23.Transparency = 1
  544. o23.Position = Vector3.new(-50.2501717, 0.400860429, 113.849869)
  545. o23.Rotation = Vector3.new(-0.0624074787, -0.00102221745, -179.994751)
  546. o23.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  547. o23.Velocity = Vector3.new(-0.0163200684, 0.0133756381, 0.00592922326)
  548. o23.CanCollide = false
  549. o23.FormFactor = Enum.FormFactor.Plate
  550. o23.Size = Vector3.new(6, 0.400000006, 2)
  551. o23.CFrame = CFrame.new(-50.2501717, 0.400860429, 113.849869, -1, 9.17432044e-005, -1.78410592e-005, -9.1762653e-005, -0.999999404, 0.00108921574, -1.76833091e-005, 0.00108921737, 0.999999404)
  552. o23.BottomSurface = Enum.SurfaceType.Weld
  553. o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  554. o23.Position = Vector3.new(-50.2501717, 0.400860429, 113.849869)
  555. o24.Parent = o23
  556. o24.Offset = Vector3.new(0, -0.200000003, 0)
  557. o24.Scale = Vector3.new(0.949999988, 0, 0.800000012)
  558. o25.Name = "Beam"
  559. o25.Parent = o12
  560. o25.Material = Enum.Material.Neon
  561. o25.BrickColor = BrickColor.new("Really red")
  562. o25.Reflectance = 0.40000000596046
  563. o25.Position = Vector3.new(-50.2501984, 0.800861895, 113.849434)
  564. o25.Rotation = Vector3.new(-0.0624074787, -0.00103767496, -179.994751)
  565. o25.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  566. o25.Velocity = Vector3.new(-0.0165589079, 0.0133691933, 1.62590295e-005)
  567. o25.CanCollide = false
  568. o25.FormFactor = Enum.FormFactor.Plate
  569. o25.Size = Vector3.new(6, 0.400000006, 2)
  570. o25.CFrame = CFrame.new(-50.2501984, 0.800861895, 113.849434, -1, 9.17425932e-005, -1.81108444e-005, -9.17629586e-005, -0.999999404, 0.00108921574, -1.74135239e-005, 0.00108921737, 0.999999404)
  571. o25.BackSurface = Enum.SurfaceType.Weld
  572. o25.BottomSurface = Enum.SurfaceType.Weld
  573. o25.FrontSurface = Enum.SurfaceType.Weld
  574. o25.LeftSurface = Enum.SurfaceType.Weld
  575. o25.TopSurface = Enum.SurfaceType.Weld
  576. o25.Color = Color3.new(1, 0, 0)
  577. o25.Position = Vector3.new(-50.2501984, 0.800861895, 113.849434)
  578. o26.Parent = o25
  579. o26.Scale = Vector3.new(1.01999998, 0.400000006, 1.04999995)
  580. o27.Name = "Beam"
  581. o27.Parent = o12
  582. o27.Material = Enum.Material.Neon
  583. o27.BrickColor = BrickColor.new("Really red")
  584. o27.Reflectance = 0.40000000596046
  585. o27.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
  586. o27.Rotation = Vector3.new(-0.0624074787, -90, 0)
  587. o27.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  588. o27.Velocity = Vector3.new(-0.0165589079, 0.0112921055, 0.0124864718)
  589. o27.CanCollide = false
  590. o27.Elasticity = 0
  591. o27.FormFactor = Enum.FormFactor.Plate
  592. o27.Friction = 1.2999999523163
  593. o27.Size = Vector3.new(2, 0.400000006, 1)
  594. o27.CFrame = CFrame.new(-53.7502022, 0.800540745, 113.84938, -1.78410592e-005, -9.17432044e-005, -1, 0.00108921574, 0.999999404, -9.1762653e-005, 0.999999404, -0.00108921737, -1.76833091e-005)
  595. o27.BackSurface = Enum.SurfaceType.Weld
  596. o27.BottomSurface = Enum.SurfaceType.Weld
  597. o27.FrontSurface = Enum.SurfaceType.Weld
  598. o27.LeftSurface = Enum.SurfaceType.Weld
  599. o27.TopSurface = Enum.SurfaceType.Weld
  600. o27.Color = Color3.new(1, 0, 0)
  601. o27.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
  602. o28.Parent = o27
  603. o28.Offset = Vector3.new(0, 0, -0.5)
  604. o28.Scale = Vector3.new(1.10000002, 0.400000006, 2.0999999)
  605. o29.Name = "Detail"
  606. o29.Parent = o12
  607. o29.BrickColor = BrickColor.new("Really black")
  608. o29.Position = Vector3.new(-47.7502136, 0.901089728, 113.84935)
  609. o29.Rotation = Vector3.new(-0.0624074787, -0.00102773798, 0.00525648613)
  610. o29.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  611. o29.Velocity = Vector3.new(-0.0166186653, 0.0148510132, -0.0103692068)
  612. o29.CanCollide = false
  613. o29.FormFactor = Enum.FormFactor.Plate
  614. o29.Size = Vector3.new(1, 0.400000006, 1)
  615. o29.CFrame = CFrame.new(-47.7502136, 0.901089728, 113.84935, 1, -9.17429861e-005, -1.7937411e-005, 9.17627694e-005, 0.999999404, 0.00108921574, 1.75869573e-005, -0.00108921737, 0.999999404)
  616. o29.BackSurface = Enum.SurfaceType.Weld
  617. o29.BottomSurface = Enum.SurfaceType.Weld
  618. o29.FrontSurface = Enum.SurfaceType.Weld
  619. o29.LeftSurface = Enum.SurfaceType.Weld
  620. o29.RightSurface = Enum.SurfaceType.Weld
  621. o29.TopSurface = Enum.SurfaceType.Weld
  622. o29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  623. o29.Position = Vector3.new(-47.7502136, 0.901089728, 113.84935)
  624. o30.Parent = o29
  625. o30.Offset = Vector3.new(-0.100000001, 0.109999999, 0)
  626. o30.Scale = Vector3.new(1.20000005, 0, 0.300000012)
  627. o31.Name = "Detail"
  628. o31.Parent = o12
  629. o31.BrickColor = BrickColor.new("Really black")
  630. o31.Position = Vector3.new(-53.2502174, 0.900583148, 113.849281)
  631. o31.Rotation = Vector3.new(-0.0624074787, -0.00108294352, 0.0052563604)
  632. o31.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  633. o31.Velocity = Vector3.new(-0.0166186094, 0.0115872445, 0.00922686234)
  634. o31.CanCollide = false
  635. o31.FormFactor = Enum.FormFactor.Plate
  636. o31.Size = Vector3.new(2, 0.400000006, 1)
  637. o31.CFrame = CFrame.new(-53.2502174, 0.900583148, 113.849281, 1, -9.17407961e-005, -1.89009297e-005, 9.17639045e-005, 0.999999404, 0.00108921574, 1.66234367e-005, -0.00108921737, 0.999999404)
  638. o31.BackSurface = Enum.SurfaceType.Weld
  639. o31.BottomSurface = Enum.SurfaceType.Weld
  640. o31.FrontSurface = Enum.SurfaceType.Weld
  641. o31.LeftSurface = Enum.SurfaceType.Weld
  642. o31.RightSurface = Enum.SurfaceType.Weld
  643. o31.TopSurface = Enum.SurfaceType.Weld
  644. o31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  645. o31.Position = Vector3.new(-53.2502174, 0.900583148, 113.849281)
  646. o32.Parent = o31
  647. o32.Offset = Vector3.new(0.100000001, 0.109999999, 0)
  648. o32.Scale = Vector3.new(1.10000002, 0, 0.300000012)
  649. o33.Name = "Detail"
  650. o33.Parent = o12
  651. o33.BrickColor = BrickColor.new("Really black")
  652. o33.Position = Vector3.new(-50.2502174, 0.900859356, 113.849327)
  653. o33.Rotation = Vector3.new(-0.0624074787, -0.0010509243, 0.00525643351)
  654. o33.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  655. o33.Velocity = Vector3.new(-0.0166186113, 0.0133676035, -0.00146189379)
  656. o33.CanCollide = false
  657. o33.FormFactor = Enum.FormFactor.Plate
  658. o33.Size = Vector3.new(2, 0.400000006, 1)
  659. o33.CFrame = CFrame.new(-50.2502174, 0.900859356, 113.849327, 1, -9.17420693e-005, -1.83420889e-005, 9.17632497e-005, 0.999999404, 0.00108921574, 1.71822794e-005, -0.00108921737, 0.999999404)
  660. o33.BackSurface = Enum.SurfaceType.Weld
  661. o33.BottomSurface = Enum.SurfaceType.Weld
  662. o33.FrontSurface = Enum.SurfaceType.Weld
  663. o33.LeftSurface = Enum.SurfaceType.Weld
  664. o33.RightSurface = Enum.SurfaceType.Weld
  665. o33.TopSurface = Enum.SurfaceType.Weld
  666. o33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  667. o33.Position = Vector3.new(-50.2502174, 0.900859356, 113.849327)
  668. o34.Parent = o33
  669. o34.Offset = Vector3.new(0, 0.109999999, 0)
  670. o34.Scale = Vector3.new(0.800000012, 0, 0.300000012)
  671. o35.Name = "Grip"
  672. o35.Parent = o12
  673. o35.BrickColor = BrickColor.new("Really black")
  674. o35.Position = Vector3.new(-48.7502174, 0.900997996, 113.849365)
  675. o35.Rotation = Vector3.new(-0.0624074787, -0.00103546679, 0.00525646843)
  676. o35.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  677. o35.Velocity = Vector3.new(-0.0166185573, 0.0142580085, -0.00680627953)
  678. o35.CanCollide = false
  679. o35.FormFactor = Enum.FormFactor.Plate
  680. o35.Size = Vector3.new(1, 0.400000006, 2)
  681. o35.CFrame = CFrame.new(-48.7502174, 0.900997996, 113.849365, 1, -9.17426805e-005, -1.80723036e-005, 9.17629295e-005, 0.999999404, 0.00108921574, 1.74520646e-005, -0.00108921737, 0.999999404)
  682. o35.BackSurface = Enum.SurfaceType.Weld
  683. o35.BottomSurface = Enum.SurfaceType.Weld
  684. o35.FrontSurface = Enum.SurfaceType.Weld
  685. o35.LeftSurface = Enum.SurfaceType.Weld
  686. o35.RightSurface = Enum.SurfaceType.Weld
  687. o35.TopSurface = Enum.SurfaceType.Weld
  688. o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  689. o35.Position = Vector3.new(-48.7502174, 0.900997996, 113.849365)
  690. o36.Parent = o35
  691. o36.Offset = Vector3.new(-0.200000003, 0.109999999, 0)
  692. o36.Scale = Vector3.new(1, 0, 0.800000012)
  693. o37.Name = "Grip"
  694. o37.Parent = o12
  695. o37.BrickColor = BrickColor.new("Really black")
  696. o37.Position = Vector3.new(-51.7502174, 0.900722682, 113.849304)
  697. o37.Rotation = Vector3.new(-0.0624074787, -0.00108183944, 0.00525636319)
  698. o37.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
  699. o37.Velocity = Vector3.new(-0.0166186113, 0.012477424, 0.00388246309)
  700. o37.CanCollide = false
  701. o37.FormFactor = Enum.FormFactor.Plate
  702. o37.Size = Vector3.new(1, 0.400000006, 2)
  703. o37.CFrame = CFrame.new(-51.7502174, 0.900722682, 113.849304, 1, -9.17408397e-005, -1.88816593e-005, 9.17638827e-005, 0.999999404, 0.00108921574, 1.66427071e-005, -0.00108921737, 0.999999404)
  704. o37.BackSurface = Enum.SurfaceType.Weld
  705. o37.BottomSurface = Enum.SurfaceType.Weld
  706. o37.FrontSurface = Enum.SurfaceType.Weld
  707. o37.LeftSurface = Enum.SurfaceType.Weld
  708. o37.RightSurface = Enum.SurfaceType.Weld
  709. o37.TopSurface = Enum.SurfaceType.Weld
  710. o37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  711. o37.Position = Vector3.new(-51.7502174, 0.900722682, 113.849304)
  712. o38.Parent = o37
  713. o38.Offset = Vector3.new(0.200000003, 0.109999999, 0)
  714. o38.Scale = Vector3.new(1, 0, 0.800000012)
  715. o39.Name = "Right Rear"
  716. o39.Parent = o1
  717. o39.BrickColor = BrickColor.new("Really black")
  718. o39.Transparency = 1
  719. o39.Position = Vector3.new(-47.7502327, 0.503683984, 115.349792)
  720. o39.Rotation = Vector3.new(90.1750488, -89.9115295, 90.2625732)
  721. o39.RotVelocity = Vector3.new(-0.317637652, -0.742120802, -0.1238143)
  722. o39.Velocity = Vector3.new(-0.2812078, -0.12370801, -0.0646179765)
  723. o39.Elasticity = 0
  724. o39.FormFactor = Enum.FormFactor.Symmetric
  725. o39.Friction = 1.2999999523163
  726. o39.Shape = Enum.PartType.Ball
  727. o39.Size = Vector3.new(1, 1, 1)
  728. o39.CFrame = CFrame.new(-47.7502327, 0.503683984, 115.349792, -6.7949295e-006, -0.0014827284, -0.999998808, 0.00151121663, 0.999997735, -0.00148273713, 0.999998808, -0.00151122513, -4.529953e-006)
  729. o39.BottomSurface = Enum.SurfaceType.Smooth
  730. o39.LeftSurface = Enum.SurfaceType.Hinge
  731. o39.TopSurface = Enum.SurfaceType.Smooth
  732. o39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  733. o39.Position = Vector3.new(-47.7502327, 0.503683984, 115.349792)
  734. o40.Name = "Right Front"
  735. o40.Parent = o1
  736. o40.BrickColor = BrickColor.new("Really black")
  737. o40.Transparency = 1
  738. o40.Position = Vector3.new(-52.7503128, 0.503238976, 115.349701)
  739. o40.Rotation = Vector3.new(-77.5159988, 89.960434, -102.559311)
  740. o40.RotVelocity = Vector3.new(-0.270228505, -0.44301331, 0.0748408586)
  741. o40.Velocity = Vector3.new(-0.16985479, -0.130885974, 0.118436143)
  742. o40.Elasticity = 0
  743. o40.FormFactor = Enum.FormFactor.Symmetric
  744. o40.Friction = 1.2999999523163
  745. o40.Shape = Enum.PartType.Ball
  746. o40.Size = Vector3.new(1, 1, 1)
  747. o40.CFrame = CFrame.new(-52.7503128, 0.503238976, 115.349701, -0.000122070313, 0.000547938747, 0.999999762, 0.00150387431, -0.999998569, 0.000548121694, 0.999998808, 0.0015039409, 0.000121355057)
  748. o40.BottomSurface = Enum.SurfaceType.Smooth
  749. o40.LeftSurface = Enum.SurfaceType.Hinge
  750. o40.TopSurface = Enum.SurfaceType.Smooth
  751. o40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  752. o40.Position = Vector3.new(-52.7503128, 0.503238976, 115.349701)
  753. o41.Name = "Left Rear"
  754. o41.Parent = o1
  755. o41.BrickColor = BrickColor.new("Really black")
  756. o41.Transparency = 1
  757. o41.Position = Vector3.new(-52.7500992, 0.500011027, 112.349762)
  758. o41.Rotation = Vector3.new(48.2116318, 89.960434, 131.7285)
  759. o41.RotVelocity = Vector3.new(0.0289205052, -1.77602518, -0.197701067)
  760. o41.Velocity = Vector3.new(0.623563766, 0.203498542, 0.134235725)
  761. o41.Elasticity = 0
  762. o41.FormFactor = Enum.FormFactor.Symmetric
  763. o41.Friction = 1.2999999523163
  764. o41.Shape = Enum.PartType.Ball
  765. o41.Size = Vector3.new(1, 1, 1)
  766. o41.CFrame = CFrame.new(-52.7500992, 0.500011027, 112.349762, -0.000362753868, -0.000406738371, 0.999999762, 0.000700214878, -0.999999523, -0.000406484149, 0.999999642, 0.000700067263, 0.00036329031)
  767. o41.BottomSurface = Enum.SurfaceType.Smooth
  768. o41.RightSurface = Enum.SurfaceType.Hinge
  769. o41.TopSurface = Enum.SurfaceType.Smooth
  770. o41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  771. o41.Position = Vector3.new(-52.7500992, 0.500011027, 112.349762)
  772. o42.Name = "Left Front"
  773. o42.Parent = o1
  774. o42.BrickColor = BrickColor.new("Really black")
  775. o42.Transparency = 1
  776. o42.Position = Vector3.new(-47.7499771, 0.500330985, 112.349808)
  777. o42.Rotation = Vector3.new(89.9599609, -0.0137781994, 89.9979019)
  778. o42.RotVelocity = Vector3.new(0.163213804, -0.0771408007, 0.0382126383)
  779. o42.Velocity = Vector3.new(0.0986747965, -0.117692381, -0.0757421851)
  780. o42.Elasticity = 0
  781. o42.FormFactor = Enum.FormFactor.Symmetric
  782. o42.Friction = 1.2999999523163
  783. o42.Shape = Enum.PartType.Ball
  784. o42.Size = Vector3.new(1, 1, 1)
  785. o42.CFrame = CFrame.new(-47.7499771, 0.500330985, 112.349808, 3.67164612e-005, -0.999999881, -0.000240474939, 0.000698804855, 0.000240683556, -0.999999642, 0.999999642, 3.64780426e-005, 0.000698924065)
  786. o42.BottomSurface = Enum.SurfaceType.Smooth
  787. o42.RightSurface = Enum.SurfaceType.Hinge
  788. o42.TopSurface = Enum.SurfaceType.Smooth
  789. o42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  790. o42.Position = Vector3.new(-47.7499771, 0.500330985, 112.349808)
  791. mas.Parent = workspace
  792. mas:MakeJoints()
  793. local mas1 = mas:GetChildren()
  794. for i=1,#mas1 do
  795. mas1[i].Parent = workspace
  796. ypcall(function() mas1[i]:MakeJoints() end)
  797. end
  798. mas:Destroy()
  799. for i=1,#cors do
  800. coroutine.resume(cors[i])
  801. end
  802. o1:MakeJoints()
  803. o1:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
Add Comment
Please, Sign In to add comment