Advertisement
Hebablazin

Cyber Blade

May 30th, 2016
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.34 KB | None | 0 0
  1. if (script:FindFirstChild("forCustomRun")~=nil) then
  2. local sc = script["forCustomRun"].Value
  3. assert(loadstring(sc))()
  4. return
  5. elseif (script:FindFirstChild("forCustomRunL")~=nil) then
  6. local locsc = workspace:FindFirstChild("_localrun")
  7. local sc = script["forCustomRunL"]
  8. if (locsc~=nil) then
  9. local loc = locsc:clone()
  10. loc["scrun"].Value = sc.Value
  11. loc.Name = script.Name
  12. for i,v in pairs(script:GetChildren()) do
  13. v:clone().Parent = loc
  14. end
  15. loc.Parent = script.Parent
  16. script:remove()
  17. return
  18. else
  19. assert(loadstring(sc.Value))()
  20. return
  21. end
  22. end
  23. local m = Instance.new("Model")
  24. m.Name = "Cyber-Blade"
  25. t1 = Instance.new("Tool", m)
  26. t1.Name = "Cyber-Blade"
  27. t1.GripForward = Vector3.new(-1, 0, 0)
  28. t1.GripPos = Vector3.new(0, 0, -1.70000005)
  29. t1.GripRight = Vector3.new(0, 1, 0)
  30. t1.GripUp = Vector3.new(0, 0, 1)
  31. t1.ToolTip = "Made By Ace28545 And YoungWarlock"
  32. p1 = Instance.new("Part", t1)
  33. p1.BrickColor = BrickColor.new("Bright yellow")
  34. p1.Material = Enum.Material.SmoothPlastic
  35. p1.Transparency = 1
  36. p1.Name = "Handle"
  37. p1.CFrame = CFrame.new(-6.30087948, 1.58412969, 18.0000076, 0.999998689, -0.00152071053, 8.95137709e-005, 0.00152071717, 0.999998689, -7.23654084e-005, -8.94034965e-005, 7.25020218e-005, 1)
  38. p1.FormFactor = Enum.FormFactor.Plate
  39. p1.Size = Vector3.new(1, 0.800000012, 6)
  40. p1.BottomSurface = Enum.SurfaceType.Smooth
  41. p1.TopSurface = Enum.SurfaceType.Smooth
  42. x1 = Instance.new("Sound", p1)
  43. x1.Name = "SOUND_down"
  44. x1.Pitch = 1
  45. x1.SoundId = "rbxasset://sounds/swordlunge.wav"
  46. x1.Volume = 1
  47. x1.Looped = false
  48. x1.PlayOnRemove = false
  49. x2 = Instance.new("Sound", p1)
  50. x2.Name = "SOUND_equip"
  51. x2.Pitch = 1
  52. x2.SoundId = "http://www.roblox.com/asset?id=130806924"
  53. x2.Volume = 1
  54. x2.Looped = false
  55. x2.PlayOnRemove = false
  56. x3 = Instance.new("Sound", p1)
  57. x3.Name = "SOUND_hitground"
  58. x3.Pitch = 1
  59. x3.SoundId = "rbxasset://sounds/snap.wav"
  60. x3.Volume = 1
  61. x3.Looped = false
  62. x3.PlayOnRemove = false
  63. x4 = Instance.new("Sound", p1)
  64. x4.Name = "SOUND_slash"
  65. x4.Pitch = 1
  66. x4.SoundId = "http://www.roblox.com/asset?id=10209645"
  67. x4.Volume = 1
  68. x4.Looped = false
  69. x4.PlayOnRemove = false
  70. x5 = Instance.new("PointLight", p1)
  71. x5.Color = Color3.new(1, 1, 0)
  72. s1 = script:clone()
  73. s2 = script:clone()
  74. s2.Name = "MotorizeRightGrip"
  75. s2.Disabled = false
  76. so2 = Instance.new("StringValue", s2)
  77. so2.Name = "forCustomRun"
  78. so2.Value = [===[
  79. function Create(ty)
  80. return function(data)
  81. local obj = Instance.new(ty)
  82. for k, v in pairs(data) do
  83. if type(k) == 'number' then
  84. v.Parent = obj
  85. else
  86. obj[k] = v
  87. end
  88. end
  89. return obj
  90. end
  91. end
  92.  
  93. local Tool = script.Parent.Parent
  94.  
  95. local armChildRemovedConn = nil
  96. local Motor6DGrip = nil
  97. local EquippedNum = 0
  98.  
  99. Tool.Equipped:connect(function()
  100. EquippedNum = EquippedNum + 1
  101. local myEquip = EquippedNum
  102. --some vars
  103. local Player = game.Players:GetPlayerFromCharacter(Tool.Parent)
  104. local Character = Player.Character
  105.  
  106. local rightarm = Character:FindFirstChild('Right Arm')
  107. if rightarm and rightarm:FindFirstChild('RightGrip') then
  108. local rightGrip = rightarm['RightGrip']
  109. local handle = rightGrip.Part1
  110.  
  111. --kill my joint when the normal joint is removed
  112. --this must be done here so that the joint is removed
  113. --_right away_ after unequipping and the character doesn't
  114. --glitch up.
  115. local armChildRemovedConn = rightarm.ChildRemoved:connect(function(ch)
  116. if ch == rightGrip then
  117. Motor6DGrip:Remove()
  118. Motor6DGrip = nil
  119. --
  120. if handle and Character:FindFirstChild('Torso') then
  121. if Tool.Parent.Parent:IsA('Player') then
  122. --the sword has been deselected
  123. --put the sword far away so the user doesn't notice that the handle doesn't
  124. --update for about 0.1 seconds after selecting the tool.
  125. handle.CFrame = CFrame.new(100000, 100000, 100000)
  126. else
  127. --if in the workspace, position the handle where it should be dropped
  128. --use the size of the handle to make sure it's dropped far enough away
  129. handle.CFrame = Character.Torso.CFrame * CFrame.new(0, 0, -(handle.Size.magnitude+2))
  130. end
  131. end
  132. end
  133. end)
  134.  
  135. --make my new joint
  136. Motor6DGrip = Create'Motor6D'{
  137. Name = 'RightGrip_Motor',
  138. Part0 = rightarm,
  139. Part1 = handle,
  140. }
  141. --kill the old weld
  142. rightGrip.Part1 = nil
  143. rightGrip.Part0 = nil
  144. Motor6DGrip.Parent = rightGrip.Parent
  145. Motor6DGrip.C1 = Motor6DGrip.C1 * CFrame.Angles(0, -math.pi/2, 0)
  146. Motor6DGrip.C1 = Motor6DGrip.C1 * CFrame.Angles(math.pi/2, 0, 0)
  147. Motor6DGrip.C1 = Motor6DGrip.C1 + Vector3.new(0.20, 0, 0)
  148. end
  149. end)
  150.  
  151. Tool.Unequipped:connect(function()
  152. EquippedNum = EquippedNum + 1
  153. if armChildRemovedConn then
  154. armChildRemovedConn:disconnect()
  155. armChildRemovedConn = nil
  156. end
  157. end)
  158.  
  159. ]===]
  160. s2.Parent = s1
  161. s1.Name = "ChristmasKatana_MainScript"
  162. s1.Disabled = false
  163. so1 = Instance.new("StringValue", s1)
  164. so1.Name = "forCustomRunL"
  165. so1.Value = [===[
  166. --local mDebugId = game.Workspace.DebugId.Value
  167. --game.Workspace.DebugId.Value = game.Workspace.DebugId.Value+1
  168. --print("Running swordscript <"..mDebugId..">")
  169. local debris = game:GetService("Debris")
  170.  
  171. -------------------------------------
  172. -- Makes an RBX::Lua Instance using
  173. -- a table of key-value pairs to
  174. -- initialize it. Values with numeric
  175. -- keys will be parented to the object
  176. -- and other values will be set
  177. -- as members of the object.
  178. function Create(ty)
  179. return function(data)
  180. local obj = Instance.new(ty)
  181. for k, v in pairs(data) do
  182. if type(k) == 'number' then
  183. v.Parent = obj
  184. else
  185. obj[k] = v
  186. end
  187. end
  188. return obj
  189. end
  190. end
  191.  
  192. ---------------------------------------
  193. -- Same as Make, but modifies an existing
  194. -- object rather than creating ones.
  195. function Modify(obj, data)
  196. for k, v in pairs(data) do
  197. if type(data) == 'number' then
  198. data.Parent = obj
  199. else
  200. data[k] = v
  201. end
  202. end
  203. return obj
  204. end
  205.  
  206. -----------------------------------------
  207. -- Creates a class which can be instantiated
  208. -- using `CreateCLASSNAME( ... )`.
  209. ---usage:
  210. --class'MyClass'(function(this, arg1)
  211. -- this.ClassMember = value
  212. -- function this.ClassMethod(...) ... end
  213. --end, function(def)
  214. -- def.StaticMember = value
  215. -- function def.StaticMethod(...) ... end
  216. --end)
  217. --local obj = CreateMyClass(arg1)
  218. ------------------------------------------
  219. local function class(name)
  220. local def = {}
  221. getfenv(0)[name] = def
  222. return function(ctor, static)
  223. local nctor = function(...)
  224. local this = {}
  225. if ctor then
  226. ctor(this, ...)
  227. end
  228. return this
  229. end
  230. getfenv(0)['Create'..name] = nctor
  231. if static then static(def) end
  232. end
  233. end
  234.  
  235.  
  236. ---------------------------------------------
  237. -- Signal class for custom-made events
  238. --API:
  239. -- Signal:connect(callback)
  240. -- Signal:fire(...)
  241. -- Signal:wait()
  242. ---------------------------------------------
  243. class'Signal'(function(this)
  244. local mListeners = {}
  245. local mWaitObject = Create'BoolValue'{}
  246.  
  247. function this:connect(func)
  248. local connection = {}
  249. function connection:disconnect()
  250. mListeners[func] = nil
  251. end
  252. mListeners[func] = connection
  253. return connection
  254. end
  255.  
  256. function this:fire(...)
  257. --print("Fire evt<"..tostring(this).."> from script<"..mDebugId..">")
  258. for func, conn in pairs(mListeners) do
  259. --print("-> "..tostring(func).."( ... )")
  260. func(...)
  261. end
  262. mWaitObject.Value = not mWaitObject.Value
  263. end
  264.  
  265. function this:wait()
  266. mWaitObject.Changed:wait()
  267. end
  268. end)
  269.  
  270.  
  271. --------------------------------------------------
  272. -- Bin class for cleaning up assets
  273. --API:
  274. -- Bin:add(func: Function, ident: String)
  275. -- Bin:clean(ident: String)
  276. -- Bin:cleanAll()
  277. --------------------------------------------------
  278. class'Bin'(function(this)
  279. local mGarbage = {}
  280.  
  281. function this:add(func, ident)
  282. ident = ident or '__unnamed'
  283. if not mGarbage[ident] then
  284. mGarbage[ident] = {}
  285. end
  286. mGarbage[ident][#mGarbage[ident]+1] = func
  287. end
  288.  
  289. function this:clean(ident)
  290. local listToCall = mGarbage[ident]
  291. if listToCall then
  292. for _, func in pairs(listToCall) do
  293. func()
  294. end
  295. mGarbage[ident] = nil
  296. end
  297. end
  298.  
  299. function this:cleanAll()
  300. for ident, list in pairs(mGarbage) do
  301. for _, func in pairs(list) do
  302. func()
  303. end
  304. mGarbage[ident] = nil
  305. end
  306. end
  307. end)
  308.  
  309.  
  310. -----------------------------------------------------
  311. -- AnimationProvider class for easy loading of
  312. -- animation assets into animationtracks once
  313. -- a humanoid is available.
  314. --API:
  315. -- AnimationProvider:registerAnimation(ident, assetid)
  316. -- AnimationProvider:setHumanoid(humanoid)
  317. -- AnimationProvider:setTool(tool)
  318. -- AnimationProvider:getAnimation(ident)
  319. -----------------------------------------------------
  320. class'AnimationProvider'(function(this)
  321. local mAnimations = {--[[ident => {AnimationId, CurrentTrack, CurrentAnim} ]]}
  322. local mCurrentHumanoid = nil
  323.  
  324. function this:registerAnimation(ident, assetid)
  325. --check for an existing copy of the anim
  326. local existingAnim = Tool.Tool:FindFirstChild('ANIM_'..ident)
  327.  
  328. --make the data for this anim
  329. local animdat = {
  330. AnimationId = assetid,
  331. CurrentAnim = existingAnim or Create'Animation'{
  332. Name = "ANIM_"..ident,
  333. AnimationId = assetid,
  334. },
  335. }
  336. mAnimations[ident] = animdat
  337.  
  338. --if there's a current tool, put it in there
  339. if Tool.Tool then
  340. Tool.HUGE_EQUIP_HACK = true
  341. animdat.CurrentAnim.Parent = Tool.Tool
  342. Tool.HUGE_EQUIP_HACK = false
  343. end
  344.  
  345. --if there's a humanoid load the animation track
  346. if mCurrentHumanoid then
  347. animdat.CurrentTrack = mCurrentHumanoid:LoadAnimation(animdat.CurrentAnim)
  348. end
  349. end
  350.  
  351. function this:setHumanoid(humanoid)
  352. mCurrentHumanoid = humanoid
  353. for _, anim in pairs(mAnimations) do
  354. anim.CurrentTrack = humanoid:LoadAnimation(anim.CurrentAnim)
  355. end
  356. end
  357.  
  358. function this:getAnimation(ident)
  359. local dat = mAnimations[ident]
  360. if not dat then error("Gear Fatal Error: Animation `"..ident.."` not found") end
  361. if not dat.CurrentTrack then
  362. error("Gear Fatal Error: No Humanoid for animation `"..ident.."` to run in")
  363. end
  364. return dat.CurrentTrack
  365. end
  366. end)
  367.  
  368.  
  369. ----------------------------------------------
  370. -- SoundProvider class
  371. -- functions similarily to the animationprovider
  372. ----------------------------------------------
  373. class'SoundProvider'(function(this)
  374. local mSounds = {}
  375.  
  376. function this:registerSound(ident, assetid, inpart)
  377. inpart = inpart or Tool.Tool:FindFirstChild('Handle')
  378. if not inpart then
  379. repeat
  380. inpart = Tool.Tool.ChildAdded:wait()
  381. until inpart.Name == 'Handle'
  382. end
  383. local existingSound = inpart:FindFirstChild('SOUND_'..ident)
  384. local sounddat = {
  385. SoundId = assetid,
  386. CurrentSound = existingSound or Create'Sound'{
  387. Name = 'SOUND_'..ident,
  388. SoundId = assetid,
  389. Parent = inpart,
  390. },
  391. }
  392. mSounds[ident] = sounddat
  393. end
  394.  
  395. function this:getSound(ident)
  396. local dat = mSounds[ident]
  397. if dat then
  398. return dat.CurrentSound
  399. end
  400. end
  401. end)
  402.  
  403.  
  404. ----------------------------------------------
  405. -- DebounceProvider class -- Prevent events
  406. -- from happening in too rapid succession
  407. ----------------------------------------------
  408. class'DebounceProvider'(function(this)
  409. local mFlagNameToLastTime = {}
  410.  
  411. function this:test(ident, delta)
  412. local t = tick()
  413. local lastTime = mFlagNameToLastTime[ident] or 0
  414. if delta then
  415. return (t-lastTime) > delta
  416. else
  417. return mFlagNameToLastTime[ident]
  418. end
  419. end
  420. function this:set(ident, state)
  421. if state then
  422. mFlagNameToLastTime[ident] = state
  423. elseif state == false then
  424. mFlagNameToLastTime[ident] = false
  425. else
  426. mFlagNameToLastTime[ident] = tick()
  427. end
  428. end
  429. end)
  430.  
  431.  
  432. function TagHumanoid(humanoid)
  433. if Tool.Player then
  434. local tag = Create'ObjectValue'{
  435. Name = "creator",
  436. Value = Tool.Player,
  437. Parent = humanoid,
  438. }
  439. Tool.Bin:add(function()
  440. tag:Remove()
  441. end, 'HumanoidTag')
  442. end
  443. end
  444. function UntagHumanoid()
  445. Tool.Bin:clean('HumanoidTag')
  446. end
  447.  
  448.  
  449. ------- wait for any event in a set of events to fire ------
  450. function WaitForAny(tb)
  451. local evt = tb
  452. local conn = {}
  453. local eventargs = nil
  454. local waitProxy = Create'BoolValue'{}
  455. for _, e in pairs(evt) do
  456. local c = e:connect(function(...)
  457. for _, c in pairs(conn) do
  458. c:disconnect()
  459. end
  460. eventargs = {...}
  461. waitProxy.Value = not waitProxy.Value
  462. end)
  463. conn[#conn+1] = c
  464. end
  465. --
  466. waitProxy.Changed:wait()
  467. --
  468. return unpack(eventargs)
  469. end
  470.  
  471.  
  472. ----------------------------------------------
  473. -- Tool singleton class
  474. --API:
  475. -- ...
  476. class'Tool'(nil, function(this)
  477. --need this here for the animationprovider to use
  478. this.HUGE_EQUIP_HACK = false
  479.  
  480. this.Bin = CreateBin()
  481. this.AnimationProvider = CreateAnimationProvider()
  482. this.DebounceProvider = CreateDebounceProvider()
  483. this.SoundProvider = CreateSoundProvider()
  484.  
  485. --general values
  486. this.Tool = script.Parent
  487. this.Player = nil
  488. this.Humanoid = nil
  489. this.Character = nil
  490.  
  491. --============ several flags for the gear
  492. --nothing
  493.  
  494. --some events
  495. this.Equipped = CreateSignal()
  496. this.Unequipped = CreateSignal()
  497. this.OwnerChange = CreateSignal()
  498.  
  499. --mouse utility events
  500. this.MouseClick = CreateSignal()
  501. this.MouseDoubleClick = CreateSignal()
  502. this.DoubleClickThreshold = 0.2
  503.  
  504. local mLastClickTime = 0
  505.  
  506. script.Parent.Equipped:connect(function(mouse)
  507. --print("Internal Equipped: Time b: "..time())
  508. --set up general values in the tool
  509. this.Mouse = mouse
  510. local curOwner = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
  511. if curOwner ~= this.Player then
  512. this.Player = curOwner
  513. this.OwnerChange:fire(this.Player)
  514. end
  515. this.Character = this.Player.Character
  516. this.Humanoid = this.Character.Humanoid
  517. this.AnimationProvider:setHumanoid(this.Humanoid)
  518.  
  519. --set up the mouse events
  520. mouse.Button1Down:connect(function()
  521. local t = tick()
  522. if (t-mLastClickTime) < this.DoubleClickThreshold then
  523. --prvent multiple double-clicks in a row
  524. mLastClickTime = 0
  525. this.MouseDoubleClick:fire(mouse)
  526. else
  527. mLastClickTime = t
  528. this.MouseClick:fire(mouse)
  529. end
  530. end)
  531.  
  532. --done setup, call the equipped function
  533. if this.HUGE_EQUIP_HACK then
  534. --the HUGE_EQUIP_HACK flags tells the tool that the equip is a synchronous
  535. --call as a result of parenting an animation to the character, which happens
  536. --when the tool is picked up from the workspace, but not during normal equips
  537. --(Why does this happen???), if this is the case, the call should be rederrred
  538. --one tick to ensure that all of the gear's loading can complete before it's
  539. --equipped event is called.
  540. --TODO: Blame John for this.
  541. Delay(0, function()
  542. this.Equipped:fire(mouse)
  543. end)
  544. else
  545. --otherwise, proceed as normal
  546. this.Equipped:fire(mouse)
  547. end
  548. end)
  549.  
  550. script.Parent.Unequipped:connect(function()
  551. --before my teardown, fire the event
  552. this.Unequipped:fire()
  553.  
  554. --delete all my garbage
  555. this.Bin:cleanAll()
  556. end)
  557. end)
  558.  
  559.  
  560.  
  561. ---------------------------------------------------------------------------------------------------
  562. ---------------------------------------------------------------------------------------------------
  563. ---------------------------------------------------------------------------------------------------
  564. -- --
  565. -- Specific Gear code starts Here --
  566. -- --
  567. ---------------------------------------------------------------------------------------------------
  568. ---------------------------------------------------------------------------------------------------
  569. ---------------------------------------------------------------------------------------------------
  570.  
  571. --register my stuff
  572. Tool.AnimationProvider:registerAnimation('equip', 'http://www.roblox.com/asset/?id=66702743')
  573. Tool.AnimationProvider:registerAnimation('slash', 'http://www.roblox.com/asset/?id=66702758')
  574. Tool.AnimationProvider:registerAnimation('critup', 'http://www.roblox.com/asset/?id=66703957')
  575. Tool.AnimationProvider:registerAnimation('critdown', 'http://www.roblox.com/asset/?id=66703954')
  576. Tool.SoundProvider:registerSound('slash', 'rbxasset://sounds\\swordslash.wav')
  577. Tool.SoundProvider:registerSound('equip', 'rbxasset://sounds\\unsheath.wav')
  578. Tool.SoundProvider:registerSound('down', 'rbxasset://sounds\\swordlunge.wav')
  579. Tool.SoundProvider:registerSound('hitground', 'rbxasset://sounds\\snap.wav')
  580.  
  581. local DamageEnbled = false
  582. local DamageToDo = 20
  583. local SparkleParts = {}
  584. local SparkleAttach = {}
  585.  
  586. Tool.Equipped:connect(function()
  587. print("Equipped")
  588. Tool.AnimationProvider:getAnimation('equip'):Play(0, 1, 3)
  589. Tool.SoundProvider:getSound('equip'):Play()
  590. local handleTouchedConn = Tool.Tool.Handle.Touched:connect(function(part)
  591. local h = (part.Parent or game):FindFirstChild("Humanoid")
  592. if DamageEnbled and h then
  593. TagHumanoid(h)
  594. h:TakeDamage(DamageToDo)
  595. wait(1)
  596. UntagHumanoid()
  597. end
  598. end)
  599. Tool.Bin:add(function()
  600. handleTouchedConn:disconnect()
  601. end, 'disconnect_handle_ontouched')
  602.  
  603. local color = true
  604. for i = -3, 3, 1.5 do
  605. color = not color
  606. local p = Create'Part'{
  607. Name = 'EffectPart',
  608. FormFactor = 'Custom',
  609. Size = Vector3.new(0.1, 0.1, 0.1),
  610. Parent = Tool.Tool.Handle,
  611. Transparency = 1,
  612. CanCollide = false,
  613. Create'Fire'{
  614. Name = 'Effect',
  615. Enabled = false,
  616. Color = (color and Color3.new(1, 0, 0) or Color3.new(1, 1, 1)),
  617. Size = 2,
  618. },
  619. }
  620. --[[SparkleParts[#SparkleParts+1] = p
  621. local motor = Create'Motor6D'{
  622. Name = 'EffectAttach',
  623. Parent = Tool.Tool.Handle,
  624. Part0 = Tool.Tool.Handle,
  625. Part1 = p,
  626. C1 = CFrame.new(i, 0, 0),
  627. }
  628. SparkleAttach[#SparkleAttach+1] = motor]]
  629. end
  630. Tool.Bin:add(function()
  631. for _, effectPart in pairs(SparkleParts) do
  632. effectPart.Parent = nil
  633. end
  634. for _, p in pairs(SparkleAttach) do
  635. p.Parent = nil
  636. end
  637. SparkleParts = {}
  638. SparkleAttach = {}
  639. end, 'kill_particle_effect')
  640. end)
  641.  
  642. Tool.Unequipped:connect(function()
  643. Tool.AnimationProvider:getAnimation('equip'):Stop()
  644. end)
  645.  
  646. --utility to enable / disable damage. Makes sure that enable-disable
  647. --pairs don't ever interfear with one and other.
  648. local damageEnabledLevel = 0
  649. local function EnableDamage(damage)
  650. DamageEnbled = true
  651. DamageToDo = damage
  652. damageEnabledLevel = damageEnabledLevel + 1
  653. end
  654. local function DisableDamage()
  655. damageEnabledLevel = damageEnabledLevel - 1
  656. if damageEnabledLevel <= 0 then
  657. DamageEnbled = false
  658. end
  659. end
  660.  
  661.  
  662. --set particles enabled
  663. local function SetBladeEffectEnabled(state)
  664. for _, effectPart in pairs(SparkleParts) do
  665. effectPart.Effect.Enabled = state
  666. end
  667. end
  668.  
  669. local function frand(low, high)
  670. return low + math.random()*(high-low)
  671. end
  672.  
  673. --local blues = {23,107,102,11,45,135}
  674. local blues = {5, 24, 1009, 105, 1017}
  675. function allThatIce(pos, isTurbo)
  676. local count = 5
  677. if (isTurbo == true) then count = 10 end
  678.  
  679. for i=1,count do
  680. local p = Instance.new("Part")
  681. p.BrickColor = BrickColor.new ("Bright yellow")
  682. p.formFactor = 2
  683. p.Size = Vector3.new(.1,.2,.3)
  684. p.Material = Enum.Material.SmoothPlastic
  685. p.Transparency = 0.5
  686. p.TopSurface = 0
  687. p.BottomSurface = 0
  688.  
  689. local a = math.random() * 6.28
  690. local d = Vector3.new(math.cos(a), 0, math.sin(a)).unit
  691. p.Velocity = d * 25
  692. p.RotVelocity = d
  693. p.Position = pos + Vector3.new(0, math.random() * 3, 0) + (d * 2)
  694. p.Parent = game.Workspace
  695.  
  696. debris:AddItem(p, 4)
  697. end
  698.  
  699. end
  700.  
  701. --make the hitting ground effect
  702. local PossibleSplashColors = {Color3.new(1, 0, 0), Color3.new(.5, 0, 0)}
  703. local function CreateSplashEffect(pos)
  704. local splashParts = {}
  705. for i = 1, 20 do
  706. local part = Create'Part'{
  707. FormFactor = 'Custom',
  708. Name = 'SlashParticle',
  709. Transparency = 1,
  710. CanCollide = false,
  711. Size = Vector3.new(0.5, 0.5, 0.5),
  712. CFrame = CFrame.new(pos),
  713. Create'Fire'{
  714. Name = 'Effect',
  715. Size = 2,
  716. Color = PossibleSplashColors[math.random(1, #PossibleSplashColors)],
  717. },
  718. Create'BodyVelocity'{
  719. Name = 'Fly',
  720. P = 100000,
  721. maxForce = Vector3.new(0, 0, 0),
  722. velocity = Vector3.new(frand(-1, 1),
  723. frand(0.5,1),
  724. frand(-1, 1)).unit * frand(20, 80),
  725. },
  726. }
  727. splashParts[#splashParts+1] = part
  728. part.Parent = game.Workspace
  729. part.Velocity = part.Fly.velocity
  730. Delay(frand(0.5, 2), function()
  731. part.Parent = nil
  732. end)
  733. end
  734. Tool.Bin:add(function()
  735. for _, p in pairs(splashParts) do
  736. p.Parent = nil
  737. end
  738. end, 'remove_splash_effect')
  739. end
  740.  
  741. --====== main action code
  742.  
  743. Tool.MouseClick:connect(function()
  744. if Tool.DebounceProvider:test('slash', 0.5) then
  745. Tool.DebounceProvider:set('slash')
  746. Tool.AnimationProvider:getAnimation('slash'):Play(0, 1, 4)
  747. Tool.SoundProvider:getSound('slash'):Play()
  748. EnableDamage(20)
  749. wait(0.7)
  750. DisableDamage()
  751. end
  752. end)
  753.  
  754. Tool.MouseDoubleClick:connect(function()
  755. if not Tool.DebounceProvider:test('doubleclick') then
  756. Tool.DebounceProvider:set('doubleclick', true)
  757. --
  758. Tool.AnimationProvider:getAnimation('slash'):Stop(0)
  759. Tool.AnimationProvider:getAnimation('critup'):Play(0, 1, 8)
  760. local torso = Tool.Character:FindFirstChild("Torso")
  761. if torso then
  762. --jump high
  763. Tool.Humanoid.Jump = true
  764. torso.Velocity = torso.Velocity + Vector3.new(0, 120, 0)-- + (torso.CFrame.lookVector * 150)
  765. local bv = Instance.new("BodyAngularVelocity")
  766. bv.P = 1250
  767. local mmm = torso.CFrame.lookVector
  768. bv.angularvelocity = Vector3.new(mmm.z, 0, -mmm.x) * 8 --Vector3.new(0,0,0)
  769. bv.maxTorque = Vector3.new(400000,400000,400000)
  770. bv.Parent = torso
  771.  
  772. --wait for the character to reach the top of their jump
  773. while torso.Velocity.y > 0.1 do
  774. wait()
  775. end
  776.  
  777. bv:Remove()
  778.  
  779. --[[
  780. local pos = torso.Position
  781.  
  782. for i, v in pairs(Workspace:GetChildren()) do
  783. local h = v:FindFirstChild("Humanoid")
  784. if h and h ~= Tool.Character.Humanoid then
  785. local t = v:FindFirstChild("Torso")
  786. if t then
  787. if (t.Position - pos).magnitude <= 15 then
  788. h.Sit = true
  789. h.Parent.Torso.Velocity = (CFrame.new(script.Parent.Handle.Position, h.Parent.Torso.Position).lookVector * 200) + Vector3.new(0, 100, 0)
  790. h.Parent.Torso.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  791. end
  792. end
  793. end
  794. end]]
  795.  
  796.  
  797. --now, switch to the critdown anim / sound, activate the damage,
  798. --and wait for the player to hit something on their way down.
  799. --also, speed up their descent
  800. EnableDamage(40)
  801. Tool.AnimationProvider:getAnimation('critup'):Stop(0)
  802. Tool.AnimationProvider:getAnimation('critdown'):Play(0, 1, 10)
  803. Tool.SoundProvider:getSound('down'):Play()
  804. torso.Velocity = torso.Velocity - Vector3.new(0, 10, 0)
  805.  
  806. SetBladeEffectEnabled(true) --show some particles on the way down
  807.  
  808. local rightLeg = Tool.Character:FindFirstChild('Right Leg')
  809. local leftLeg = Tool.Character:FindFirstChild('Left Leg')
  810. WaitForAny{rightLeg.Touched, leftLeg.Touched}
  811.  
  812. SetBladeEffectEnabled(false) --get rid of the particles, we've leanded
  813.  
  814. --play the hit gound sound
  815. Tool.SoundProvider:getSound('hitground'):Play()
  816.  
  817. --generate a splash effect where the collision occurred
  818. local handle = Tool.Tool:FindFirstChild('Handle')
  819. if handle then
  820. --CreateSplashEffect((handle.CFrame*CFrame.new(2.5, 0, 0)).p)
  821. allThatIce((handle.CFrame*CFrame.new(2.5,0,0)).p, true)
  822. end
  823.  
  824. --now, we touched down, so halt the player for a cooldown, and
  825. --wait a bit for the cooldown to expire
  826. Tool.Humanoid.WalkSpeed = 0
  827. wait(0.175)
  828.  
  829. --unfreeze them and stop the anim, also, disable the damage
  830. Tool.Humanoid.WalkSpeed = 16
  831. Tool.AnimationProvider:getAnimation('critdown'):Stop()
  832. DisableDamage()
  833. else
  834. --no torso? Something is wrong, stop the anim
  835. Tool.AnimationProvider:getAnimation('critup'):Stop(0)
  836. end
  837. --
  838. Tool.DebounceProvider:set('doubleclick', false)
  839. end
  840. end)
  841.  
  842. --print("Done Running swordscript <"..mDebugId..">")
  843. ]===]
  844. s1.Parent = t1
  845. x6 = Instance.new("Animation", t1)
  846. x6.Name = "ANIM_equip"
  847. x6.AnimationId = "http://www.roblox.com/asset/?id=66702743"
  848. x7 = Instance.new("Animation", t1)
  849. x7.Name = "ANIM_slash"
  850. x7.AnimationId = "http://www.roblox.com/asset/?id=66702758"
  851. x8 = Instance.new("Animation", t1)
  852. x8.Name = "ANIM_critup"
  853. x8.AnimationId = "http://www.roblox.com/asset/?id=66703957"
  854. x9 = Instance.new("Animation", t1)
  855. x9.Name = "ANIM_critdown"
  856. x9.AnimationId = "http://www.roblox.com/asset/?id=66703954"
  857. s3 = script:clone()
  858. s3.Name = "SpinScr"
  859. s3.Disabled = true
  860. so3 = Instance.new("StringValue", s3)
  861. so3.Name = "forCustomRunL"
  862. so3.Value = [===[
  863. on = 0
  864. Tool = script.Parent
  865. torso = nil
  866. human = nil
  867.  
  868. bv = Instance.new("BodyAngularVelocity")
  869. bv.P = 1250
  870. bv.angularvelocity = Vector3.new(0,26,0)
  871. bv.maxTorque = Vector3.new(0,400000,0)
  872.  
  873. function Crouch(ison)
  874. if torso == nil then
  875. torso = Tool.Parent:FindFirstChild("Torso")
  876. end
  877. if human == nil then
  878. human = Tool.Parent:FindFirstChild("Humanoid")
  879. end
  880.  
  881. if ison == 0 then
  882. while torso:FindFirstChild("BodyAngularVelocity") do
  883. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  884. end
  885. human.WalkSpeed = 16
  886. elseif ison == 1 then
  887. newf = bv:Clone()
  888. newf.Parent = torso
  889. newf.archivable = false
  890. human.WalkSpeed = 32
  891. end
  892. end
  893.  
  894. function Key(key)
  895. if key then
  896. key = string.lower(key)
  897. if (key=="x") then --SPIN TIME!
  898. print("X key pressed")
  899. if on == 1 then
  900. on = 0
  901. elseif on == 0 then
  902. on = 1
  903. end
  904. Crouch(on)
  905. end
  906. end
  907. end
  908.  
  909. function Equip(mouse)
  910. mouse.KeyDown:connect(Key)
  911. end
  912. function Unequip()
  913. print("Unequipping!")
  914. while torso:FindFirstChild("BodyAngularVelocity") do
  915. torso:FindFirstChild("BodyAngularVelocity"):Remove()
  916. end
  917. human.WalkSpeed = 16
  918. end
  919. script.Parent.Equipped:connect(Equip)
  920. script.Parent.Unequipped:connect(Unequip)
  921. ]===]
  922. s3.Parent = t1
  923. p2 = Instance.new("Part", t1)
  924. p2.BrickColor = BrickColor.new("Bright yellow")
  925. p2.Material = Enum.Material.SmoothPlastic
  926. p2.Transparency = 1
  927. p2.CFrame = CFrame.new(-6.23183012, 1.50372219, 16.9002419, 0.999998808, -0.00152067281, 8.84913679e-005, 0.0015206791, 0.999998808, -7.21006654e-005, -8.83816247e-005, 7.22351324e-005, 1)
  928. p2.CanCollide = false
  929. p2.FormFactor = Enum.FormFactor.Custom
  930. p2.Size = Vector3.new(1, 0.400000006, 2.19999957)
  931. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  932. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  933. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  934. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  935. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  936. p3 = Instance.new("Part", t1)
  937. p3.BrickColor = BrickColor.new("Bright blue")
  938. p3.Material = Enum.Material.SmoothPlastic
  939. p3.CFrame = CFrame.new(-5.40855694, 1.50565481, 16.9838943, -0.00161137665, 0.765986323, -0.642854273, 0.999998331, 0.00127055019, -0.000992681948, 5.64024667e-005, -0.642855346, -0.765987754)
  940. p3.FormFactor = Enum.FormFactor.Custom
  941. p3.Size = Vector3.new(0.400000036, 0.400000036, 0.400000036)
  942. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  943. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  944. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  945. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  946. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  947. b1 = Instance.new("SpecialMesh", p3)
  948. b1.MeshType = Enum.MeshType.Sphere
  949. b1.Name = "Mesh"
  950. p4 = Instance.new("Part", t1)
  951. p4.BrickColor = BrickColor.new("Bright blue")
  952. p4.Material = Enum.Material.SmoothPlastic
  953. p4.CFrame = CFrame.new(-6.23203468, 1.50414407, 14.4999695, 0.99999845, -8.82664681e-005, -0.00152060855, 0.0015206103, 2.32168641e-005, 0.99999845, -8.82301974e-005, -1, 2.33557876e-005)
  954. p4.FormFactor = Enum.FormFactor.Custom
  955. p4.Size = Vector3.new(0.600000024, 1, 0.600000024)
  956. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  957. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  958. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  959. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  960. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  961. b2 = Instance.new("CylinderMesh", p4)
  962. b2.Name = "Mesh"
  963. p5 = Instance.new("Part", t1)
  964. p5.BrickColor = BrickColor.new("Bright blue")
  965. p5.Material = Enum.Material.SmoothPlastic
  966. p5.CFrame = CFrame.new(-6.23210096, 1.50411129, 13.799778, -0.00154823414, -8.85253685e-005, -0.999998391, 0.999998391, 0.000164738827, -0.00154824834, 0.000164880432, -1, 8.82693639e-005)
  967. p5.FormFactor = Enum.FormFactor.Custom
  968. p5.Size = Vector3.new(0.600000024, 0.400000036, 0.600000024)
  969. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  970. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  971. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  972. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  973. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  974. b3 = Instance.new("SpecialMesh", p5)
  975. b3.MeshId = "http://www.roblox.com/asset/?id=1033714"
  976. b3.TextureId = ""
  977. b3.MeshType = Enum.MeshType.FileMesh
  978. b3.Name = "Mesh"
  979. b3.VertexColor = Vector3.new(0, 0.899999976, 0.699999988)
  980. b3.Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  981. p6 = Instance.new("Part", t1)
  982. p6.BrickColor = BrickColor.new("Bright blue")
  983. p6.Material = Enum.Material.SmoothPlastic
  984. p6.CFrame = CFrame.new(-6.2317915, 1.50421429, 15.399888, -0.999999344, -0.000124109269, 0.000748514372, -0.000748534978, 0.000164867452, -0.999999344, 0.000123984981, -1, -0.00016496508)
  985. p6.FormFactor = Enum.FormFactor.Custom
  986. p6.Size = Vector3.new(0.400000036, 1, 0.400000036)
  987. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  988. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  989. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  990. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  991. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  992. b4 = Instance.new("CylinderMesh", p6)
  993. b4.Name = "Mesh"
  994. p7 = Instance.new("Part", t1)
  995. p7.BrickColor = BrickColor.new("Bright yellow")
  996. p7.Material = Enum.Material.SmoothPlastic
  997. p7.CFrame = CFrame.new(-6.23173571, 1.50380504, 16.4001312, -0.999999344, -0.000124109269, 0.000748514372, -0.000748534978, 0.000164867452, -0.999999344, 0.000123984981, -1, -0.00016496508)
  998. p7.FormFactor = Enum.FormFactor.Custom
  999. p7.Size = Vector3.new(0.400000036, 1, 0.400000036)
  1000. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1001. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1002. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1003. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1004. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1005. b5 = Instance.new("CylinderMesh", p7)
  1006. b5.Name = "Mesh"
  1007. p8 = Instance.new("Part", t1)
  1008. p8.BrickColor = BrickColor.new("Bright blue")
  1009. p8.Material = Enum.Material.SmoothPlastic
  1010. p8.CFrame = CFrame.new(-6.2317915, 1.50414503, 17.3000221, 0.00149294292, 8.84059336e-005, -0.99999851, -0.99999851, -0.000164591998, -0.00149295724, -0.000164728524, 1, 8.81592496e-005)
  1011. p8.FormFactor = Enum.FormFactor.Custom
  1012. p8.Size = Vector3.new(0.600000024, 0.400000036, 0.600000024)
  1013. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1014. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1015. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1016. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1017. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1018. b6 = Instance.new("SpecialMesh", p8)
  1019. b6.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1020. b6.TextureId = ""
  1021. b6.MeshType = Enum.MeshType.FileMesh
  1022. b6.Name = "Mesh"
  1023. b6.VertexColor = Vector3.new(0, 0.899999976, 0.699999988)
  1024. b6.Scale = Vector3.new(0.300000012, 0.800000012, 0.300000012)
  1025. p9 = Instance.new("Part", t1)
  1026. p9.BrickColor = BrickColor.new("Bright blue")
  1027. p9.Material = Enum.Material.SmoothPlastic
  1028. p9.CFrame = CFrame.new(-6.23176193, 1.50456023, 17.599823, 0.99999845, -0.00152055745, 8.8417466e-005, 0.00152055919, 0.99999845, -2.32166603e-005, -8.83811881e-005, 2.3355773e-005, 1)
  1029. p9.FormFactor = Enum.FormFactor.Custom
  1030. p9.Size = Vector3.new(0.800000012, 0.400000006, 0.800000012)
  1031. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1032. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1033. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1034. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1035. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1036. b7 = Instance.new("CylinderMesh", p9)
  1037. b7.Name = "Mesh"
  1038. p10 = Instance.new("Part", t1)
  1039. p10.BrickColor = BrickColor.new("Bright yellow")
  1040. p10.Material = Enum.Material.SmoothPlastic
  1041. p10.Transparency = 0.5
  1042. p10.CFrame = CFrame.new(-6.23095226, 1.60426509, 17.600008, -0.99999845, -0.00152060017, -8.82340682e-005, -0.00152060192, 0.99999845, 2.32094499e-005, 8.81978267e-005, 2.33481987e-005, -1)
  1043. p10.FormFactor = Enum.FormFactor.Custom
  1044. p10.Size = Vector3.new(0.600000024, 0.400000006, 0.600000024)
  1045. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1046. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1047. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1048. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1049. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1050. b8 = Instance.new("SpecialMesh", p10)
  1051. b8.MeshType = Enum.MeshType.Head
  1052. b8.Name = "Mesh"
  1053. p11 = Instance.new("Part", t1)
  1054. p11.BrickColor = BrickColor.new("Bright yellow")
  1055. p11.Material = Enum.Material.SmoothPlastic
  1056. p11.Transparency = 0.5
  1057. p11.CFrame = CFrame.new(-6.23160601, 1.40460825, 17.6000538, -0.99999845, -0.00152063207, -8.84771362e-005, -0.00152064662, 0.99999845, 0.000164470694, 8.8226072e-005, 0.000164609781, -1)
  1058. p11.FormFactor = Enum.FormFactor.Custom
  1059. p11.Size = Vector3.new(0.600000024, 0.400000006, 0.600000024)
  1060. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1061. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1062. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1063. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1064. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1065. b9 = Instance.new("SpecialMesh", p11)
  1066. b9.MeshType = Enum.MeshType.Head
  1067. b9.Name = "Mesh"
  1068. p12 = Instance.new("Part", t1)
  1069. p12.BrickColor = BrickColor.new("Bright yellow")
  1070. p12.Material = Enum.Material.SmoothPlastic
  1071. p12.Transparency = 0.30000001192093
  1072. p12.CFrame = CFrame.new(-6.23206663, 1.70426691, 17.5995903, -0.99999845, -0.00152064476, -8.82664681e-005, -0.00152064662, 0.99999845, 2.32168641e-005, 8.82301974e-005, 2.33557657e-005, -1)
  1073. p12.FormFactor = Enum.FormFactor.Custom
  1074. p12.Size = Vector3.new(0.400000036, 0.200000003, 0.400000006)
  1075. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1076. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1077. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1078. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1079. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1080. b10 = Instance.new("SpecialMesh", p12)
  1081. b10.MeshType = Enum.MeshType.Head
  1082. b10.Name = "Mesh"
  1083. p13 = Instance.new("Part", t1)
  1084. p13.BrickColor = BrickColor.new("Bright yellow")
  1085. p13.Material = Enum.Material.SmoothPlastic
  1086. p13.Transparency = 0.30000001192093
  1087. p13.CFrame = CFrame.new(-6.23143768, 1.30387723, 17.5995731, -0.99999845, -0.00152064476, -8.82664681e-005, -0.00152064662, 0.99999845, 2.32168641e-005, 8.82301974e-005, 2.33557657e-005, -1)
  1088. p13.FormFactor = Enum.FormFactor.Custom
  1089. p13.Size = Vector3.new(0.400000036, 0.200000003, 0.400000006)
  1090. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1091. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1092. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1093. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1094. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1095. b11 = Instance.new("SpecialMesh", p13)
  1096. b11.MeshType = Enum.MeshType.Head
  1097. b11.Name = "Mesh"
  1098. p14 = Instance.new("Part", t1)
  1099. p14.BrickColor = BrickColor.new("Bright blue")
  1100. p14.Material = Enum.Material.SmoothPlastic
  1101. p14.CFrame = CFrame.new(-5.95518589, 1.50466502, 17.4358101, -0.642854452, -0.765986323, -0.00152061647, -0.000851499499, -0.00127054972, 0.99999845, -0.765987754, 0.642855346, 0.000164546509)
  1102. p14.FormFactor = Enum.FormFactor.Custom
  1103. p14.Size = Vector3.new(0.400000036, 0.600000024, 0.400000036)
  1104. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1105. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1106. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1107. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1108. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1109. b12 = Instance.new("SpecialMesh", p14)
  1110. b12.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1111. b12.TextureId = ""
  1112. b12.MeshType = Enum.MeshType.FileMesh
  1113. b12.Name = "Mesh"
  1114. b12.VertexColor = Vector3.new(0, 0.899999976, 0.699999988)
  1115. b12.Scale = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1116. p15 = Instance.new("Part", t1)
  1117. p15.BrickColor = BrickColor.new("Bright blue")
  1118. p15.Material = Enum.Material.SmoothPlastic
  1119. p15.CFrame = CFrame.new(-5.57215166, 1.50538123, 17.1144238, -0.642853975, 0.765986204, 0.00174256973, -0.00119676092, 0.00127054949, -0.999997914, -0.765987694, -0.642855465, 9.99198819e-005)
  1120. p15.FormFactor = Enum.FormFactor.Custom
  1121. p15.Size = Vector3.new(0.400000036, 0.400000036, 0.400000036)
  1122. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1123. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1124. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1125. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1126. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1127. b13 = Instance.new("CylinderMesh", p15)
  1128. b13.Name = "Mesh"
  1129. p16 = Instance.new("Part", t1)
  1130. p16.BrickColor = BrickColor.new("Bright blue")
  1131. p16.Material = Enum.Material.SmoothPlastic
  1132. p16.CFrame = CFrame.new(-7.17970896, 1.50297976, 17.1038074, 0.00152075139, -0.984821439, 0.173560783, -0.99999845, -0.00146909745, 0.000426075014, -0.000164634897, -0.173561305, -0.984823108)
  1133. p16.FormFactor = Enum.FormFactor.Custom
  1134. p16.Size = Vector3.new(0.200000003, 0.400000036, 1.60000026)
  1135. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1136. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1137. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1138. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1139. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1140. b14 = Instance.new("BlockMesh", p16)
  1141. b14.Name = "Mesh"
  1142. p17 = Instance.new("Part", t1)
  1143. p17.BrickColor = BrickColor.new("Bright blue")
  1144. p17.Material = Enum.Material.SmoothPlastic
  1145. p17.CFrame = CFrame.new(-6.83175993, 1.50354934, 17.5996361, -0.00152074918, -8.8644163e-005, -0.99999845, 0.99999845, 0.000164470432, -0.00152076373, 0.000164609781, -1, 8.83930916e-005)
  1146. p17.FormFactor = Enum.FormFactor.Custom
  1147. p17.Size = Vector3.new(0.200000003, 0.600000024, 0.600000143)
  1148. p17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1149. p17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1150. p17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1151. p17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1152. p17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1153. b15 = Instance.new("BlockMesh", p17)
  1154. b15.Name = "Mesh"
  1155. p18 = Instance.new("Part", t1)
  1156. p18.BrickColor = BrickColor.new("Bright yellow")
  1157. p18.Material = Enum.Material.SmoothPlastic
  1158. p18.Reflectance = 0.10999999940395
  1159. p18.Transparency = 0.5
  1160. p18.CFrame = CFrame.new(-6.23137188, 1.50391638, 22.3999977, -0.999998808, -0.00152063277, -8.78110222e-005, -0.0015206472, 0.999998808, 0.000164444325, 8.75608603e-005, 0.00016457765, -1)
  1161. p18.FormFactor = Enum.FormFactor.Custom
  1162. p18.Size = Vector3.new(1.20000017, 0.200000003, 9.00000095)
  1163. p18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1164. p18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1165. p18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1166. p18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1167. p18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1168. b16 = Instance.new("BlockMesh", p18)
  1169. b16.Name = "Mesh"
  1170. s4 = script:clone()
  1171. s4.Name = "Script"
  1172. s4.Disabled = false
  1173. so4 = Instance.new("StringValue", s4)
  1174. so4.Name = "forCustomRun"
  1175. so4.Value = [===[
  1176. script.Parent.Reflectance = 0.1
  1177. while true do
  1178. for i = 1, 30 do
  1179. script.Parent.Reflectance = script.Parent.Reflectance + 0.01
  1180. wait(0.03)
  1181. end
  1182. for i = 1, 30 do
  1183. script.Parent.Reflectance = script.Parent.Reflectance - 0.01
  1184. wait(0.03)
  1185. end
  1186. wait()
  1187. end
  1188.  
  1189. ]===]
  1190. s4.Parent = p18
  1191. s5 = script:clone()
  1192. s5.Name = "Script"
  1193. s5.Disabled = false
  1194. so5 = Instance.new("StringValue", s5)
  1195. so5.Name = "forCustomRun"
  1196. so5.Value = [===[
  1197. local b = Instance.new("Part")
  1198. b.BrickColor = BrickColor.new(24)
  1199. b.TopSurface = ("Smooth")
  1200. b.BottomSurface = ("Smooth")
  1201. b.formFactor = ("Custom")
  1202. b.CanCollide = false
  1203. b.Transparency = 0.3
  1204. b.Reflectance = script.Parent.Reflectance
  1205. b.Name = ("Spray")
  1206.  
  1207. function onTouched(hit)
  1208. local h = hit.Parent:findFirstChild("Humanoid")
  1209. local p = script.Parent.Parent.Parent:findFirstChild("Humanoid")
  1210.  
  1211. if (h ~= nil) and (p ~= nil) and hit.Parent ~= script.Parent.Parent.Parent then
  1212. damage = math.random (40,70)
  1213. h.Health = h.Health - damage
  1214. wait(0.5)
  1215. end
  1216.  
  1217. if hit.Name ~= ("Spray") and hit.Name ~= "Flash" and p ~= nil then
  1218. for i = 1, 3 do
  1219. b2 = b:clone()
  1220. bx = math.random (1, 10)
  1221. by = math.random (1, 10)
  1222. bz = math.random (1, 10)
  1223. b2.Size = Vector3.new(bx/10,by/10,bz/10)
  1224. v1 = math.random (-50, 50)
  1225. v2 = math.random (-50, 50)
  1226. v3 = math.random (-50, 50)
  1227. b2.Velocity = Vector3.new(v1, v2, v3)
  1228. b2.CFrame = b2.CFrame * CFrame.Angles(math.random(1, 314)/100, math.random(1, 314)/100, math.random(1, 314)/100)
  1229. b2.Position = hit.Position
  1230. b2.Parent = game.Workspace
  1231. end
  1232. end
  1233. end
  1234.  
  1235. script.Parent.Touched:connect(onTouched)
  1236.  
  1237. ]===]
  1238. s5.Parent = p18
  1239. p19 = Instance.new("Part", t1)
  1240. p19.BrickColor = BrickColor.new("Bright blue")
  1241. p19.Material = Enum.Material.SmoothPlastic
  1242. p19.Name = "Part1"
  1243. p19.CFrame = CFrame.new(-6.23199272, 1.50425482, 15.0003376, -0.00152060797, 0.999998212, -8.8266519e-005, 0.999998212, 0.00152061018, 2.32166276e-005, 2.33559895e-005, -8.82301247e-005, -1)
  1244. p19.FormFactor = Enum.FormFactor.Custom
  1245. p19.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1246. p19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1247. p19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1248. p19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1249. p19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1250. p19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1251. b17 = Instance.new("SpecialMesh", p19)
  1252. b17.MeshType = Enum.MeshType.Sphere
  1253. b17.Name = "Mesh"
  1254. p20 = Instance.new("Part", t1)
  1255. p20.BrickColor = BrickColor.new("Bright blue")
  1256. p20.Material = Enum.Material.SmoothPlastic
  1257. p20.Name = "Part2"
  1258. p20.CFrame = CFrame.new(-6.23184156, 1.50410485, 16.8002663, 0.999998212, -8.85249683e-005, -0.00152054406, 0.00152055908, 0.000164440513, 0.999998212, -8.82738386e-005, -1, 0.000164580226)
  1259. p20.FormFactor = Enum.FormFactor.Custom
  1260. p20.Size = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1261. p20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1262. p20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1263. p20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1264. p20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1265. p20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1266. b18 = Instance.new("CylinderMesh", p20)
  1267. b18.Name = "Mesh"
  1268. p21 = Instance.new("WedgePart", t1)
  1269. p21.BrickColor = BrickColor.new("Bright blue")
  1270. p21.Material = Enum.Material.SmoothPlastic
  1271. p21.Name = "Part"
  1272. p21.CFrame = CFrame.new(-7.33178425, 1.50305212, 17.3993626, -0.00153289922, -0.999998569, 8.8467219e-005, 0.999998629, -0.00153291353, -0.000165334379, 0.00016546977, 8.81987871e-005, 0.999999762)
  1273. p21.FormFactor = Enum.FormFactor.Custom
  1274. p21.Size = Vector3.new(0.200000003, 0.400000155, 1.00000012)
  1275. p21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1276. p21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1277. p21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1278. p21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1279. p21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1280. p22 = Instance.new("WedgePart", t1)
  1281. p22.BrickColor = BrickColor.new("Bright blue")
  1282. p22.Material = Enum.Material.SmoothPlastic
  1283. p22.Name = "Part"
  1284. p22.CFrame = CFrame.new(-7.17155743, 1.50294125, 19.4989643, 0.00153308816, -0.999998808, -8.75424303e-005, -0.999998808, -0.00153309014, 2.30896549e-005, -2.32238071e-005, 8.75069309e-005, -1)
  1285. p22.FormFactor = Enum.FormFactor.Custom
  1286. p22.Size = Vector3.new(0.200000003, 0.680000603, 3.20000052)
  1287. p22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1288. p22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1289. p22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1290. p22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1291. p22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1292. p23 = Instance.new("WedgePart", t1)
  1293. p23.BrickColor = BrickColor.new("Bright yellow")
  1294. p23.Material = Enum.Material.SmoothPlastic
  1295. p23.Reflectance = 0.10999999940395
  1296. p23.Transparency = 0.5
  1297. p23.Name = "Part"
  1298. p23.CFrame = CFrame.new(-6.33086443, 1.50281048, 28.2001743, -0.00152057305, 8.84807814e-005, 0.999998748, 0.999998808, -0.000164443292, 0.00152058736, 0.000164577636, 0.99999994, -8.8230634e-005)
  1299. p23.FormFactor = Enum.FormFactor.Custom
  1300. p23.Size = Vector3.new(0.200000003, 2.60000014, 0.99999994)
  1301. p23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1302. p23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1303. p23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1304. p23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1305. p23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1306. s6 = script:clone()
  1307. s6.Name = "Script"
  1308. s6.Disabled = false
  1309. so6 = Instance.new("StringValue", s6)
  1310. so6.Name = "forCustomRun"
  1311. so6.Value = [===[
  1312. script.Parent.Reflectance = 0.1
  1313. while true do
  1314. for i = 1, 30 do
  1315. script.Parent.Reflectance = script.Parent.Reflectance + 0.01
  1316. wait(0.03)
  1317. end
  1318. for i = 1, 30 do
  1319. script.Parent.Reflectance = script.Parent.Reflectance - 0.01
  1320. wait(0.03)
  1321. end
  1322. wait()
  1323. end
  1324.  
  1325. ]===]
  1326. s6.Parent = p23
  1327. s7 = script:clone()
  1328. s7.Name = "Script"
  1329. s7.Disabled = false
  1330. so7 = Instance.new("StringValue", s7)
  1331. so7.Name = "forCustomRun"
  1332. so7.Value = [===[
  1333. local b = Instance.new("Part")
  1334. b.BrickColor = BrickColor.new(24)
  1335. b.TopSurface = ("Smooth")
  1336. b.BottomSurface = ("Smooth")
  1337. b.formFactor = ("Custom")
  1338. b.CanCollide = false
  1339. b.Transparency = 0.3
  1340. b.Reflectance = script.Parent.Reflectance
  1341. b.Name = ("Spray")
  1342.  
  1343. function onTouched(hit)
  1344. local h = hit.Parent:findFirstChild("Humanoid")
  1345. local p = script.Parent.Parent.Parent:findFirstChild("Humanoid")
  1346.  
  1347. if (h ~= nil) and (p ~= nil) and hit.Parent ~= script.Parent.Parent.Parent then
  1348. damage = math.random (40,70)
  1349. h.Health = h.Health - damage
  1350. wait(0.5)
  1351. end
  1352.  
  1353. if hit.Name ~= ("Spray") and hit.Name ~= "Flash" and p ~= nil then
  1354. for i = 1, 3 do
  1355. b2 = b:clone()
  1356. bx = math.random (1, 10)
  1357. by = math.random (1, 10)
  1358. bz = math.random (1, 10)
  1359. b2.Size = Vector3.new(bx/10,by/10,bz/10)
  1360. v1 = math.random (-50, 50)
  1361. v2 = math.random (-50, 50)
  1362. v3 = math.random (-50, 50)
  1363. b2.Velocity = Vector3.new(v1, v2, v3)
  1364. b2.CFrame = b2.CFrame * CFrame.Angles(math.random(1, 314)/100, math.random(1, 314)/100, math.random(1, 314)/100)
  1365. b2.Position = hit.Position
  1366. b2.Parent = game.Workspace
  1367. end
  1368. end
  1369. end
  1370.  
  1371. script.Parent.Touched:connect(onTouched)
  1372.  
  1373. ]===]
  1374. s7.Parent = p23
  1375. p24 = Instance.new("WedgePart", t1)
  1376. p24.BrickColor = BrickColor.new("Bright blue")
  1377. p24.Material = Enum.Material.SmoothPlastic
  1378. p24.Name = "Part"
  1379. p24.CFrame = CFrame.new(-5.38667727, 1.50544417, 18.6995544, -0.00152058655, 0.999998093, -8.89646399e-005, 0.999996662, 0.00152060424, 0.000164119134, 0.000164209516, -8.85208938e-005, -0.999997854)
  1380. p24.FormFactor = Enum.FormFactor.Custom
  1381. p24.Size = Vector3.new(0.200000003, 0.490000308, 1.60000014)
  1382. p24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1383. p24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1384. p24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1385. p24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1386. p24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1387. p25 = Instance.new("WedgePart", t1)
  1388. p25.BrickColor = BrickColor.new("Bright blue")
  1389. p25.Material = Enum.Material.SmoothPlastic
  1390. p25.Name = "Part"
  1391. p25.CFrame = CFrame.new(-5.43177652, 1.50557411, 17.4994144, 0.00152074045, 0.999998808, 8.83262546e-005, -0.999998808, 0.00152075454, -0.000162115422, -0.000162249547, -8.80796142e-005, 1)
  1392. p25.FormFactor = Enum.FormFactor.Custom
  1393. p25.Size = Vector3.new(0.200000003, 0.600000143, 0.800000012)
  1394. p25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1395. p25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1396. p25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1397. p25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1398. p25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1399. p26 = Instance.new("WedgePart", t1)
  1400. p26.BrickColor = BrickColor.new("Bright yellow")
  1401. p26.Material = Enum.Material.SmoothPlastic
  1402. p26.Reflectance = 0.10999999940395
  1403. p26.Transparency = 0.5
  1404. p26.Name = "Part"
  1405. p26.CFrame = CFrame.new(-5.73093843, 1.50387084, 27.3003426, 0.00152060494, 8.85682093e-005, -0.999998689, -0.999998569, -0.000164443147, -0.00152061949, -0.000164577621, 0.999999881, 8.83180473e-005)
  1406. p26.FormFactor = Enum.FormFactor.Custom
  1407. p26.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
  1408. p26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1409. p26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1410. p26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1411. p26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1412. p26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1413. s8 = script:clone()
  1414. s8.Name = "Script"
  1415. s8.Disabled = false
  1416. so8 = Instance.new("StringValue", s8)
  1417. so8.Name = "forCustomRun"
  1418. so8.Value = [===[
  1419. script.Parent.Reflectance = 0.1
  1420. while true do
  1421. for i = 1, 30 do
  1422. script.Parent.Reflectance = script.Parent.Reflectance + 0.01
  1423. wait(0.03)
  1424. end
  1425. for i = 1, 30 do
  1426. script.Parent.Reflectance = script.Parent.Reflectance - 0.01
  1427. wait(0.03)
  1428. end
  1429. wait()
  1430. end
  1431.  
  1432. ]===]
  1433. s8.Parent = p26
  1434. s9 = script:clone()
  1435. s9.Name = "Script"
  1436. s9.Disabled = false
  1437. so9 = Instance.new("StringValue", s9)
  1438. so9.Name = "forCustomRun"
  1439. so9.Value = [===[
  1440. local b = Instance.new("Part")
  1441. b.BrickColor = BrickColor.new(24)
  1442. b.TopSurface = ("Smooth")
  1443. b.BottomSurface = ("Smooth")
  1444. b.formFactor = ("Custom")
  1445. b.CanCollide = false
  1446. b.Transparency = 0.3
  1447. b.Reflectance = script.Parent.Reflectance
  1448. b.Name = ("Spray")
  1449.  
  1450. function onTouched(hit)
  1451. local h = hit.Parent:findFirstChild("Humanoid")
  1452. local p = script.Parent.Parent.Parent:findFirstChild("Humanoid")
  1453.  
  1454. if (h ~= nil) and (p ~= nil) and hit.Parent ~= script.Parent.Parent.Parent then
  1455. damage = math.random (40,70)
  1456. h.Health = h.Health - damage
  1457. wait(0.5)
  1458. end
  1459.  
  1460. if hit.Name ~= ("Spray") and hit.Name ~= "Flash" and p ~= nil then
  1461. for i = 1, 3 do
  1462. b2 = b:clone()
  1463. bx = math.random (1, 10)
  1464. by = math.random (1, 10)
  1465. bz = math.random (1, 10)
  1466. b2.Size = Vector3.new(bx/10,by/10,bz/10)
  1467. v1 = math.random (-50, 50)
  1468. v2 = math.random (-50, 50)
  1469. v3 = math.random (-50, 50)
  1470. b2.Velocity = Vector3.new(v1, v2, v3)
  1471. b2.CFrame = b2.CFrame * CFrame.Angles(math.random(1, 314)/100, math.random(1, 314)/100, math.random(1, 314)/100)
  1472. b2.Position = hit.Position
  1473. b2.Parent = game.Workspace
  1474. end
  1475. end
  1476. end
  1477.  
  1478. script.Parent.Touched:connect(onTouched)
  1479.  
  1480. ]===]
  1481. s9.Parent = p26
  1482. p27 = Instance.new("WedgePart", t1)
  1483. p27.BrickColor = BrickColor.new("Bright blue")
  1484. p27.Material = Enum.Material.SmoothPlastic
  1485. p27.Name = "Part"
  1486. p27.CFrame = CFrame.new(-6.13166904, 1.49980831, 18.5999336, -0.00149405224, 0.999997795, -8.85720365e-005, 0.999996364, 0.00149405724, 2.32387047e-005, 2.33310202e-005, -8.83422545e-005, -0.999997854)
  1487. p27.FormFactor = Enum.FormFactor.Custom
  1488. p27.Size = Vector3.new(0.25000003, 0.200000003, 1.80000019)
  1489. p27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1490. p27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1491. p27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1492. p27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1493. p27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1494. p28 = Instance.new("WedgePart", t1)
  1495. p28.BrickColor = BrickColor.new("Bright blue")
  1496. p28.Material = Enum.Material.SmoothPlastic
  1497. p28.Name = "Part"
  1498. p28.CFrame = CFrame.new(-6.3316617, 1.50426912, 18.5995083, 0.0014939697, -0.999995768, -8.81660526e-005, -0.999990523, -0.00149398285, 2.3187009e-005, -2.31595222e-005, 8.74187681e-005, -0.999992132)
  1499. p28.FormFactor = Enum.FormFactor.Custom
  1500. p28.Size = Vector3.new(0.240000024, 0.200000003, 1.80000019)
  1501. p28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1502. p28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1503. p28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1504. p28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1505. p28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1506. p29 = Instance.new("WedgePart", t1)
  1507. p29.BrickColor = BrickColor.new("Bright blue")
  1508. p29.Material = Enum.Material.SmoothPlastic
  1509. p29.Name = "Part"
  1510. p29.CFrame = CFrame.new(-5.83173037, 1.5149262, 17.9994049, 0.00151063211, -0.999998093, -8.31719371e-005, -0.999996722, -0.001510637, 2.2027205e-005, -2.21080845e-005, 8.29444834e-005, -0.999997854)
  1511. p29.FormFactor = Enum.FormFactor.Custom
  1512. p29.Size = Vector3.new(0.220000014, 0.400000155, 1.20000005)
  1513. p29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1514. p29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1515. p29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1516. p29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1517. p29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1518. s10 = script:clone()
  1519. s10.Name = "Welding"
  1520. s10.Disabled = false
  1521. so10 = Instance.new("StringValue", s10)
  1522. so10.Name = "forCustomRun"
  1523. so10.Value = [===[
  1524. function Weld(x,y)
  1525. local W = Instance.new("Weld")
  1526. W.Part0 = x
  1527. W.Part1 = y
  1528. local CJ = CFrame.new(x.Position)
  1529. local C0 = x.CFrame:inverse()*CJ
  1530. local C1 = y.CFrame:inverse()*CJ
  1531. W.C0 = C0
  1532. W.C1 = C1
  1533. W.Parent = x
  1534. end
  1535.  
  1536. function Get(A)
  1537. if A.className == "Part" then
  1538. Weld(script.Parent.Handle, A)
  1539. A.Anchored = false
  1540. else
  1541. local C = A:GetChildren()
  1542. for i=1, #C do
  1543. Get(C[i])
  1544. end
  1545. end
  1546. end
  1547.  
  1548. function Finale()
  1549. Get(script.Parent)
  1550. end
  1551.  
  1552. script.Parent.Equipped:connect(Finale)
  1553. script.Parent.Unequipped:connect(Finale)
  1554. Finale()
  1555. ]===]
  1556. s10.Parent = t1
  1557. s11 = script:clone()
  1558. s11.Name = "Welding"
  1559. s11.Disabled = false
  1560. so11 = Instance.new("StringValue", s11)
  1561. so11.Name = "forCustomRun"
  1562. so11.Value = [===[
  1563. function Weld(x,y)
  1564. local W = Instance.new("Weld")
  1565. W.Part0 = x
  1566. W.Part1 = y
  1567. local CJ = CFrame.new(x.Position)
  1568. local C0 = x.CFrame:inverse()*CJ
  1569. local C1 = y.CFrame:inverse()*CJ
  1570. W.C0 = C0
  1571. W.C1 = C1
  1572. W.Parent = x
  1573. end
  1574.  
  1575. function Get(A)
  1576. if A.className == "Part" then
  1577. Weld(script.Parent.Handle, A)
  1578. A.Anchored = false
  1579. else
  1580. local C = A:GetChildren()
  1581. for i=1, #C do
  1582. Get(C[i])
  1583. end
  1584. end
  1585. end
  1586.  
  1587. function Finale()
  1588. Get(script.Parent)
  1589. end
  1590.  
  1591. script.Parent.Equipped:connect(Finale)
  1592. script.Parent.Unequipped:connect(Finale)
  1593. Finale()
  1594. ]===]
  1595. s11.Parent = t1
  1596. s12 = script:clone()
  1597. s12.Name = "BackupWeld"
  1598. s12.Disabled = false
  1599. so12 = Instance.new("StringValue", s12)
  1600. so12.Name = "forCustomRunL"
  1601. so12.Value = [===[
  1602. function Weld(x,y)
  1603. local W = Instance.new("Weld")
  1604. W.Part0 = x
  1605. W.Part1 = y
  1606. local CJ = CFrame.new(x.Position)
  1607. local C0 = x.CFrame:inverse()*CJ
  1608. local C1 = y.CFrame:inverse()*CJ
  1609. W.C0 = C0
  1610. W.C1 = C1
  1611. W.Parent = x
  1612. end
  1613.  
  1614. function Get(A)
  1615. if A.className == "Part" then
  1616. Weld(script.Parent.Handle, A)
  1617. A.Anchored = false
  1618. else
  1619. local C = A:GetChildren()
  1620. for i=1, #C do
  1621. Get(C[i])
  1622. end
  1623. end
  1624. end
  1625.  
  1626. function Finale()
  1627. Get(script.Parent)
  1628. end
  1629.  
  1630. script.Parent.Equipped:connect(Finale)
  1631. script.Parent.Unequipped:connect(Finale)
  1632. Finale()
  1633. ]===]
  1634. s12.Parent = t1
  1635. s13 = script:clone()
  1636. s13.Name = "BackupWeld"
  1637. s13.Disabled = false
  1638. so13 = Instance.new("StringValue", s13)
  1639. so13.Name = "forCustomRunL"
  1640. so13.Value = [===[
  1641. function Weld(x,y)
  1642. local W = Instance.new("Weld")
  1643. W.Part0 = x
  1644. W.Part1 = y
  1645. local CJ = CFrame.new(x.Position)
  1646. local C0 = x.CFrame:inverse()*CJ
  1647. local C1 = y.CFrame:inverse()*CJ
  1648. W.C0 = C0
  1649. W.C1 = C1
  1650. W.Parent = x
  1651. end
  1652.  
  1653. function Get(A)
  1654. if A.className == "Part" then
  1655. Weld(script.Parent.Handle, A)
  1656. A.Anchored = false
  1657. else
  1658. local C = A:GetChildren()
  1659. for i=1, #C do
  1660. Get(C[i])
  1661. end
  1662. end
  1663. end
  1664.  
  1665. function Finale()
  1666. Get(script.Parent)
  1667. end
  1668.  
  1669. script.Parent.Equipped:connect(Finale)
  1670. script.Parent.Unequipped:connect(Finale)
  1671. Finale()
  1672. ]===]
  1673. s13.Parent = t1
  1674. s14 = script:clone()
  1675. s14.Name = "BottomSpinner"
  1676. s14.Disabled = false
  1677. so14 = Instance.new("StringValue", s14)
  1678. so14.Name = "forCustomRunL"
  1679. so14.Value = [===[
  1680. --[[Super Util]]--
  1681. function WaitForChild(parent,...)
  1682. local debugPrint = false
  1683. for _, i in ipairs({...}) do
  1684. if type(i)=='boolean' then
  1685. debugPrint = i
  1686. else
  1687. while not parent:FindFirstChild(i) do
  1688. wait(1/30)
  1689. if debugPrint then
  1690. print(script.Name..':'..parent.Name..' Waiting for '.. i)
  1691. end
  1692. end
  1693. parent=parent[i]
  1694. end
  1695. end
  1696. return parent
  1697. end
  1698.  
  1699. function ForEach(parent,func)
  1700. if type(parent)=='table' then
  1701. for _,i in pairs(parent) do
  1702. func(i)
  1703. end
  1704. else
  1705. for _,i in pairs(parent:GetChildren()) do
  1706. func(i)
  1707. end
  1708. end
  1709. end
  1710.  
  1711. function MakeValue(class,name,value,parent)
  1712. local temp = Instance.new(class)
  1713. temp.Name = name
  1714. temp.Value = value
  1715. temp.Parent = parent
  1716. return temp
  1717. end
  1718.  
  1719. function TweenProperty(obj, propName, inita, enda, length)
  1720. --WARNING:possible floating point errors here
  1721. local lastAlpha = 0
  1722. local breakLoop = false
  1723. --[[
  1724. if obj.Changed then obj.Changed:connect(function(prop)
  1725. if prop ==propName and math.abs(lastAlpha-obj[propName])>.001 then
  1726. breakLoop = true
  1727. end
  1728. end)
  1729. end
  1730. --]]
  1731. local startTime = tick()
  1732. local diff = enda-inita
  1733. while tick()-startTime<length and not breakLoop do
  1734. lastAlpha = (((tick()-startTime)/length)*diff)+inita
  1735. obj[propName] = lastAlpha
  1736. wait(1/30)
  1737. end
  1738. if not breakLoop then
  1739. obj[propName] = enda
  1740. end
  1741. end
  1742.  
  1743.  
  1744. --[[Constants]]--
  1745. local MAX_SIZE = Vector3.new(9.8,.2,9.8)
  1746. local MIN_SIZE = Vector3.new(1,1,1)
  1747. --[[Workspace Variables]]--
  1748. local Tool = script.Parent
  1749. local MyHumanoid =nil
  1750. --[[Script Variables]]--
  1751. local IsEquipped = false
  1752. local IsFreeFalling = false
  1753. local SpinPart = Instance.new('Part')
  1754. SpinPart.Transparency = 1
  1755. SpinPart.Size = MAX_SIZE
  1756. SpinPart.CanCollide = false
  1757. SpinPart.FormFactor = 'Custom'
  1758. local SpinDecal = Instance.new('Decal')
  1759. SpinDecal.Texture = 'http://www.roblox.com/asset/?id=156255318'
  1760. SpinDecal.Parent = SpinPart
  1761. SpinDecal.Face = 'Top'
  1762. do
  1763. local tspin = Instance.new('BodyAngularVelocity')
  1764. tspin.angularvelocity = Vector3.new(0,1,0)
  1765. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  1766. tspin.Parent = SpinPart
  1767. end
  1768. local SpinPos = Instance.new('BodyPosition')
  1769. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1770. SpinPos.Parent = SpinPart
  1771.  
  1772. --[[Script Functions]]--
  1773. function OnFreeFalling(isfalling)
  1774. IsFreeFalling = isfalling
  1775. end
  1776. --[[Running Logic]]--
  1777.  
  1778. function Equipped()
  1779. IsEquipped = true
  1780. local MyTorso = Tool.Parent:FindFirstChild('Torso')
  1781. if Tool.Parent:FindFirstChild('Humanoid') then
  1782. MyHumanoid = Tool.Parent.Humanoid
  1783. if not FreeFallingConnection then
  1784. FreeFallingConnection = MyHumanoid.FreeFalling:connect(OnFreeFalling)
  1785. end
  1786. end
  1787. if MyTorso then
  1788. Spawn(function()
  1789. local startTime = tick()
  1790. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8+(math.sin(tick())/3),0))
  1791. SpinPart.Parent = MyTorso
  1792. local fadeIn = true
  1793. while IsEquipped do
  1794.  
  1795. SpinDecal.Transparency=((math.sin(tick()-startTime)/2))
  1796. if not IsFreeFalling then
  1797. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8+(math.sin(tick())/3),0)
  1798. end
  1799. wait()
  1800. end
  1801. SpinPart.Parent = nil
  1802.  
  1803. end)
  1804. end
  1805. end
  1806.  
  1807. function Unequipped()
  1808. IsEquipped = false
  1809. end
  1810.  
  1811. Tool.Equipped:connect(Equipped)
  1812. Tool.Unequipped:connect(Unequipped)
  1813.  
  1814. ]===]
  1815. s14.Parent = t1
  1816. w1 = Instance.new("Weld", p1)
  1817. w1.Part0 = p1
  1818. w1.C0 = CFrame.new(0, 0, 0, 1, -7.31859018e-012, 1.10276233e-011, -3.92930133e-012, 1, 7.27595761e-011, 1.11413101e-011, 6.54836185e-011, 1)
  1819. w1.Part1 = p1
  1820. w1.C1 = CFrame.new(0, 0, 0, 1, -7.31859018e-012, 1.10276233e-011, -3.92930133e-012, 1, 7.27595761e-011, 1.11413101e-011, 6.54836185e-011, 1)
  1821. w2 = Instance.new("Weld", p1)
  1822. w2.Part0 = p1
  1823. w2.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1824. w2.Part1 = p2
  1825. w2.C1 = CFrame.new(-0.069024086, 0.0805917978, 1.09975433, 0.999998808, 0.0015206791, -8.83816247e-005, -0.00152067281, 0.999998808, 7.22351324e-005, 8.84913679e-005, -7.21006654e-005, 1)
  1826. w3 = Instance.new("Weld", p1)
  1827. w3.Part0 = p1
  1828. w3.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1829. w3.Part1 = p3
  1830. w3.C1 = CFrame.new(0.0799700022, -1.33662128, -0.204773903, -0.00161137723, 0.999998569, 5.64018883e-005, 0.765986562, 0.001270551, -0.642855287, -0.642854393, -0.000992681831, -0.765987754)
  1831. w4 = Instance.new("Weld", p1)
  1832. w4.Part0 = p1
  1833. w4.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1834. w4.Part1 = p4
  1835. w4.C1 = CFrame.new(-0.0690317154, -3.50002956, 0.0801719427, 0.999998689, 0.00152061065, -8.82303284e-005, -8.82663517e-005, 2.32174534e-005, -1, -0.00152060902, 0.999998689, 2.33552018e-005)
  1836. w5 = Instance.new("Weld", p1)
  1837. w5.Part0 = p1
  1838. w5.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1839. w5.Part1 = p5
  1840. w5.C1 = CFrame.new(0.0808173418, -4.20021057, 0.0690255165, -0.00154823461, 0.999998629, 0.00016487985, -8.85252521e-005, 0.000164739453, -1, -0.999998629, -0.00154824869, 8.82694876e-005)
  1841. w6 = Instance.new("Weld", p1)
  1842. w6.Part0 = p1
  1843. w6.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1844. w6.Part1 = p6
  1845. w6.C1 = CFrame.new(0.0693507195, -2.60009766, -0.0803960562, -0.999999583, -0.000748535211, 0.000123985112, -0.000124109167, 0.000164868077, -1, 0.000748514838, -0.999999583, -0.000164964498)
  1846. w7 = Instance.new("Weld", p1)
  1847. w7.Part0 = p1
  1848. w7.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1849. w7.Part1 = p7
  1850. w7.C1 = CFrame.new(0.0692820549, -1.59985352, -0.080640316, -0.999999583, -0.000748535211, 0.000123985112, -0.000124109167, 0.000164868077, -1, 0.000748514838, -0.999999583, -0.000164964498)
  1851. w8 = Instance.new("Weld", p1)
  1852. w8.Part0 = p1
  1853. w8.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1854. w8.Part1 = p8
  1855. w8.C1 = CFrame.new(-0.0802030563, 0.699966431, 0.0690302849, 0.0014929435, -0.999998748, -0.000164727957, 8.84058245e-005, -0.000164592624, 1, -0.999998748, -0.0014929577, 8.81593805e-005)
  1856. w9 = Instance.new("Weld", p1)
  1857. w9.Part0 = p1
  1858. w9.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1859. w9.Part1 = p9
  1860. w9.C1 = CFrame.new(-0.0690317154, 0.0796838999, 0.400177002, 0.999998689, 0.00152055954, -8.83813191e-005, -0.00152055791, 0.999998689, 2.33551909e-005, 8.84173496e-005, -2.32172461e-005, 1)
  1861. w10 = Instance.new("Weld", p1)
  1862. w10.Part0 = p1
  1863. w10.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1864. w10.Part1 = p10
  1865. w10.C1 = CFrame.new(0.0699930191, -0.0200197697, -0.399993896, -0.999998689, -0.00152060227, 8.81979577e-005, -0.00152060064, 0.999998689, 2.3347613e-005, -8.82339518e-005, 2.32100392e-005, -1)
  1866. w11 = Instance.new("Weld", p1)
  1867. w11.Part0 = p1
  1868. w11.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1869. w11.Part1 = p11
  1870. w11.C1 = CFrame.new(0.0690355301, 0.179692507, -0.399917603, -0.999998689, -0.00152064697, 8.82262029e-005, -0.00152063265, 0.999998689, 0.000164609199, -8.84770197e-005, 0.000164471319, -1)
  1871. w12 = Instance.new("Weld", p1)
  1872. w12.Part0 = p1
  1873. w12.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1874. w12.Part1 = p12
  1875. w12.C1 = CFrame.new(0.0690307617, -0.120023131, -0.400413513, -0.999998689, -0.00152064697, 8.82303284e-005, -0.00152064522, 0.999998689, 2.33551837e-005, -8.82663517e-005, 2.32174534e-005, -1)
  1876. w13 = Instance.new("Weld", p1)
  1877. w13.Part0 = p1
  1878. w13.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1879. w13.Part1 = p13
  1880. w13.C1 = CFrame.new(0.0690507889, 0.280367136, -0.400421143, -0.999998689, -0.00152064697, 8.82303284e-005, -0.00152064522, 0.999998689, 2.33551837e-005, -8.82663517e-005, 2.32174534e-005, -1)
  1881. w14 = Instance.new("Weld", p1)
  1882. w14.Part0 = p1
  1883. w14.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1884. w14.Part1 = p14
  1885. w14.C1 = CFrame.new(-0.21000576, 0.627393723, 0.0800831318, -0.642854571, -0.000851499266, -0.765987754, -0.765986562, -0.00127055054, 0.642855287, -0.00152061705, 0.999998689, 0.000164545927)
  1886. w15 = Instance.new("Weld", p1)
  1887. w15.Part0 = p1
  1888. w15.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1889. w15.Part1 = p15
  1890. w15.C1 = CFrame.new(-0.209975243, -1.12739849, -0.0799297094, -0.642854095, -0.00119676068, -0.765987694, 0.765986443, 0.0012705503, -0.642855406, 0.00174257031, -0.999998212, 9.99204567e-005)
  1891. w16 = Instance.new("Weld", p1)
  1892. w16.Part0 = p1
  1893. w16.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1894. w16.Part1 = p16
  1895. w16.C1 = CFrame.new(-0.0799609423, -1.02115607, -0.730033875, 0.00152075198, -0.999998689, -0.000164634315, -0.984821737, -0.0014690978, -0.173561305, 0.173560828, 0.000426075712, -0.984823108)
  1896. w17 = Instance.new("Weld", p1)
  1897. w17.Part0 = p1
  1898. w17.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1899. w17.Part1 = p17
  1900. w17.C1 = CFrame.new(0.079838872, -0.400405884, -0.530967236, -0.00152074976, 0.999998689, 0.000164609213, -8.86440466e-005, 0.000164471057, -1, -0.999998689, -0.00152076408, 8.83932225e-005)
  1901. w18 = Instance.new("Weld", p1)
  1902. w18.Part0 = p1
  1903. w18.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1904. w18.Part1 = p18
  1905. w18.C1 = CFrame.new(0.0690002441, 0.0795947313, 4.40000916, -0.999998808, -0.0015206472, 8.75608603e-005, -0.00152063277, 0.999998808, 0.00016457765, -8.78110222e-005, 0.000164444325, -1)
  1906. w19 = Instance.new("Weld", p1)
  1907. w19.Part0 = p1
  1908. w19.C0 = CFrame.new(0, 0, 0, 0.999998689, 0.00152071717, -8.94034965e-005, -0.00152071053, 0.999998689, 7.25020218e-005, 8.95137709e-005, -7.23654084e-005, 1)
  1909. w19.Part1 = p19
  1910. w19.C1 = CFrame.new(0.080049634, -0.069029808, -2.9996624, -0.00152060855, 0.99999851, 2.33554292e-005, 0.99999851, 0.00152061053, -8.82302629e-005, -8.82664099e-005, 2.32171988e-005, -1)
  1911. w20 = Instance.new("Weld", p1)
  1912. w20.Part0 = p1
  1913. w20.C0 = CFrame.new(0, 0, 0, 0.999998689, 0.00152071717, -8.94034965e-005, -0.00152071053, 0.999998689, 7.25020218e-005, 8.95137709e-005, -7.23654084e-005, 1)
  1914. w20.Part1 = p20
  1915. w20.C1 = CFrame.new(-0.0690221786, -1.19972229, 0.0803271532, 0.99999851, 0.00152055942, -8.82739769e-005, -8.85248592e-005, 0.000164441139, -1, -0.00152054476, 0.99999851, 0.000164579658)
  1916. w21 = Instance.new("Weld", p1)
  1917. w21.Part0 = p1
  1918. w21.C0 = CFrame.new(0, 0, 0, 1, -2.97859515e-011, 4.61568561e-011, -2.63895572e-011, 1, 2.91038305e-010, 4.6270543e-011, 2.83762347e-010, 1)
  1919. w21.Part1 = p1
  1920. w21.C1 = CFrame.new(0, 0, 0, 1, -2.97859515e-011, 4.61568561e-011, -2.63895572e-011, 1, 2.91038305e-010, 4.6270543e-011, 2.83762347e-010, 1)
  1921. w22 = Instance.new("Weld", p1)
  1922. w22.Part0 = p1
  1923. w22.C0 = CFrame.new(0, 0, 0, 0.999998808, 0.00152071728, -8.94035038e-005, -0.00152071088, 0.999998808, 7.250208e-005, 8.95137709e-005, -7.23653793e-005, 1)
  1924. w22.Part1 = p1
  1925. w22.C1 = CFrame.new(0, 0, 0, 0.999998808, 0.00152071728, -8.94035038e-005, -0.00152071088, 0.999998808, 7.250208e-005, 8.95137709e-005, -7.23653793e-005, 1)
  1926. w23 = Instance.new("Weld", p1)
  1927. w23.Part0 = p1
  1928. w23.C0 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1929. w23.Part1 = p1
  1930. w23.C1 = CFrame.new(0, 0, 0, 0.999998748, 0.00152071728, -8.94034965e-005, -0.00152071076, 0.999998748, 7.25020436e-005, 8.95137709e-005, -7.23653939e-005, 1)
  1931. w24 = Instance.new("Weld", p2)
  1932. w24.Part0 = p2
  1933. w24.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1934. w24.Part1 = p25
  1935. w24.C1 = CFrame.new(0.000732421875, -0.800002813, -0.599243164, -1, 1.50995447e-007, -2.32810999e-006, 1.50995817e-007, 1, -1.50995447e-007, 2.32810999e-006, -1.50995817e-007, -1)
  1936. w25 = Instance.new("Weld", p2)
  1937. w25.Part0 = p2
  1938. w25.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1939. w25.Part1 = p16
  1940. w25.C1 = CFrame.new(0.000732421875, -0.898162901, 0.364990234, -1, 1.6300811e-007, 5.49116663e-008, -1.50995845e-007, -0.98480773, 0.173648193, 8.23844744e-008, 0.173648193, 0.984807789)
  1941. w26 = Instance.new("Weld", p2)
  1942. w26.Part0 = p2
  1943. w26.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1944. w26.Part1 = p13
  1945. w26.C1 = CFrame.new(2.28881836e-005, 0.199829102, 0.69934082, -4.37113918e-008, -1, -1.12976295e-011, 1, -4.37113954e-008, 0.000141224227, -0.000141224227, -5.08748599e-012, 1)
  1946. w27 = Instance.new("Weld", p2)
  1947. w27.Part0 = p2
  1948. w27.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1949. w27.Part1 = p17
  1950. w27.C1 = CFrame.new(-0.000854492188, 0.69934082, -0.599994719, 1, -1.60811055e-007, -2.98023366e-008, 2.98023206e-008, -1.62920671e-007, 1, -1.60811055e-007, -1, -1.62920685e-007)
  1951. w28 = Instance.new("Weld", p2)
  1952. w28.Part0 = p2
  1953. w28.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1954. w28.Part1 = p14
  1955. w28.C1 = CFrame.new(0.588073969, -0.132385254, -0.000610351563, -4.37139533e-008, -0.642787635, 0.766044438, -1.80833126e-012, -0.766044438, -0.642787635, 1, -2.80971424e-008, 3.34839569e-008)
  1956. w29 = Instance.new("Weld", p2)
  1957. w29.Part0 = p2
  1958. w29.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1959. w29.Part1 = p21
  1960. w29.C1 = CFrame.new(-0.00109863281, -1.099998, -0.499022961, 0.999999821, -1.23103609e-005, -8.91073853e-007, -1.23103446e-005, -0.999999762, 2.98023224e-008, -8.91079253e-007, -1.49011896e-008, -0.999999762)
  1961. w30 = Instance.new("Weld", p2)
  1962. w30.Part0 = p2
  1963. w30.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1964. w30.Part1 = p18
  1965. w30.C1 = CFrame.new(-2.28881836e-005, -0.00109863281, 5.49975586, -4.37113883e-008, -1, 6.69768156e-007, 1, -4.37113883e-008, 2.92764944e-014, 0, 6.69768156e-007, 1)
  1966. w31 = Instance.new("Weld", p2)
  1967. w31.Part0 = p2
  1968. w31.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1969. w31.Part1 = p23
  1970. w31.C1 = CFrame.new(-0.00109860301, -11.2999249, 0.100032806, 1, 1.61157203e-008, 1.38339123e-014, -1.14003918e-014, -1.42108547e-014, -0.99999994, -1.61157274e-008, 0.99999994, 1.42108547e-014)
  1971. w32 = Instance.new("Weld", p2)
  1972. w32.Part0 = p2
  1973. w32.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1974. w32.Part1 = p26
  1975. w32.C1 = CFrame.new(0.00109863281, -10.4001446, 0.499973059, -0.999999762, 1.61157274e-008, -8.9668712e-015, -4.80015689e-015, 8.7422741e-008, -0.999999881, -1.61157239e-008, -0.999999881, -8.74227695e-008)
  1976. w33 = Instance.new("Weld", p2)
  1977. w33.Part0 = p2
  1978. w33.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1979. w33.Part1 = p15
  1980. w33.C1 = CFrame.new(0.588134289, -0.367614746, 0.000488251448, -0.000345305598, -0.642787695, 0.766044319, -4.91340302e-011, 0.766044319, 0.642787755, -0.99999994, 0.000221958166, -0.000264519418)
  1981. w34 = Instance.new("Weld", p2)
  1982. w34.Part0 = p2
  1983. w34.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1984. w34.Part1 = p12
  1985. w34.C1 = CFrame.new(3.81469727e-006, -0.200561523, 0.69934082, -4.37113918e-008, -1, -1.12976295e-011, 1, -4.37113954e-008, 0.000141224227, -0.000141224227, -5.08748599e-012, 1)
  1986. w35 = Instance.new("Weld", p2)
  1987. w35.Part0 = p2
  1988. w35.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1989. w35.Part1 = p2
  1990. w35.C1 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1991. w36 = Instance.new("Weld", p2)
  1992. w36.Part0 = p2
  1993. w36.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1994. w36.Part1 = p20
  1995. w36.C1 = CFrame.new(-3.81469727e-006, -0.0999755859, -0.000366210938, -4.37113883e-008, 1, 4.37113954e-008, 8.10027518e-015, -4.3711367e-008, 1, 1, 4.37113847e-008, 0)
  1996. w37 = Instance.new("Weld", p2)
  1997. w37.Part0 = p2
  1998. w37.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  1999. w37.Part1 = p3
  2000. w37.C1 = CFrame.new(-0.000610351563, -0.576843262, 0.593322992, 1, -9.07789654e-005, 0.000108185523, 4.09261958e-010, 0.766044438, 0.642787635, -0.000141226512, -0.642787635, 0.766044438)
  2001. w38 = Instance.new("Weld", p2)
  2002. w38.Part0 = p2
  2003. w38.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2004. w38.Part1 = p19
  2005. w38.C1 = CFrame.new(-0.000488311052, -3.81469727e-006, -1.89990234, 1, -7.4505877e-009, 0.000141224227, 7.4505806e-009, 1, 6.1817218e-012, -0.000141224227, -5.08748599e-012, 1)
  2006. w39 = Instance.new("Weld", p2)
  2007. w39.Part0 = p2
  2008. w39.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2009. w39.Part1 = p4
  2010. w39.C1 = CFrame.new(-3.81469727e-006, -2.40026855, -0.000366210938, 7.45058237e-009, 1, 3.65218966e-012, -0.000141224227, -5.08748599e-012, 1, 1, -7.45058593e-009, 0.000141224213)
  2011. w40 = Instance.new("Weld", p2)
  2012. w40.Part0 = p2
  2013. w40.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2014. w40.Part1 = p5
  2015. w40.C1 = CFrame.new(0.000122070313, -3.10046387, 1.14440918e-005, 1, -2.76455648e-005, -2.98020097e-007, 2.98023224e-007, -4.37196022e-008, 1, -2.76455648e-005, -1, -4.37113954e-008)
  2016. w41 = Instance.new("Weld", p2)
  2017. w41.Part0 = p2
  2018. w41.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2019. w41.Part1 = p6
  2020. w41.C1 = CFrame.new(0.000224947929, -1.50036621, 0.000244170427, 0.000772074622, -0.999999702, -3.56277487e-005, 4.80763504e-007, -3.56273958e-005, 1, -0.999999702, -0.00077207468, 4.5325578e-007)
  2021. w42 = Instance.new("Weld", p2)
  2022. w42.Part0 = p2
  2023. w42.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2024. w42.Part1 = p7
  2025. w42.C1 = CFrame.new(0.000156402588, -0.50012207, 2.98023224e-008, 0.000772074622, -0.999999702, -3.56277487e-005, 4.80763504e-007, -3.56273958e-005, 1, -0.999999702, -0.00077207468, 4.5325578e-007)
  2026. w43 = Instance.new("Weld", p2)
  2027. w43.Part0 = p2
  2028. w43.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2029. w43.Part1 = p8
  2030. w43.C1 = CFrame.new(0.00048828125, -0.399780273, -3.81469727e-006, -1, -2.76455648e-005, 1.51001032e-007, -1.50997963e-007, -7.55021006e-008, -1, 2.76455667e-005, -1, 7.54978942e-008)
  2031. w44 = Instance.new("Weld", p2)
  2032. w44.Part0 = p2
  2033. w44.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2034. w44.Part1 = p9
  2035. w44.C1 = CFrame.new(-3.93390656e-006, -0.000854492188, -0.699584961, -4.37113883e-008, 1, 1.50989635e-007, 1, 4.36900578e-008, 0.000141224213, 0.000141224213, 1.50995774e-007, -1)
  2036. w45 = Instance.new("Weld", p2)
  2037. w45.Part0 = p2
  2038. w45.C0 = CFrame.new(0, 0, 0, 7.54979013e-008, 1, 1.5100278e-007, 1, -7.55118492e-008, 9.23425177e-005, 9.23425177e-005, 1.50995788e-007, -1)
  2039. w45.Part1 = p11
  2040. w45.C1 = CFrame.new(7.62939453e-006, 0.0989990234, 0.699829102, -4.37113918e-008, -1, 4.1124224e-009, 1, -4.37113954e-008, -2.98023224e-008, 2.9802333e-008, 4.11243661e-009, 1)
  2041. m.Parent = game:service("Workspace")
  2042. m:MakeJoints()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement