Advertisement
jassm11

Untitled

Apr 21st, 2018
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /--The color correction cannot be added due to being restricted in void
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Script0 = Instance.new("Script")
  20. BodyVelocity1 = Instance.new("BodyVelocity")
  21. LocalScript2 = Instance.new("LocalScript")
  22. Part3 = Instance.new("Part")
  23. Sound4 = Instance.new("Sound")
  24. SpecialMesh5 = Instance.new("SpecialMesh")
  25. Sound6 = Instance.new("Sound")
  26. Sound7 = Instance.new("Sound")
  27. Script8 = Instance.new("Script")
  28. StringValue9 = Instance.new("StringValue")
  29. Animation10 = Instance.new("Animation")
  30. StringValue11 = Instance.new("StringValue")
  31. Animation12 = Instance.new("Animation")
  32. StringValue13 = Instance.new("StringValue")
  33. Animation14 = Instance.new("Animation")
  34. NumberValue15 = Instance.new("NumberValue")
  35. Animation16 = Instance.new("Animation")
  36. NumberValue17 = Instance.new("NumberValue")
  37. StringValue18 = Instance.new("StringValue")
  38. Animation19 = Instance.new("Animation")
  39. StringValue20 = Instance.new("StringValue")
  40. Animation21 = Instance.new("Animation")
  41. StringValue22 = Instance.new("StringValue")
  42. Animation23 = Instance.new("Animation")
  43. StringValue24 = Instance.new("StringValue")
  44. Animation25 = Instance.new("Animation")
  45. BoolValue26 = Instance.new("BoolValue")
  46. Tool27 = Instance.new("Tool")
  47. LocalScript28 = Instance.new("LocalScript")
  48. Script29 = Instance.new("Script")
  49. BodyVelocity30 = Instance.new("BodyVelocity")
  50. Part31 = Instance.new("Part")
  51. Sound32 = Instance.new("Sound")
  52. SpecialMesh33 = Instance.new("SpecialMesh")
  53. Script34 = Instance.new("Script")
  54. Humanoid35 = Instance.new("Humanoid")
  55. Script36 = Instance.new("Script")
  56. StringValue37 = Instance.new("StringValue")
  57. Part38 = Instance.new("Part")
  58. Decal39 = Instance.new("Decal")
  59. SpecialMesh40 = Instance.new("SpecialMesh")
  60. Part41 = Instance.new("Part")
  61. Motor6D42 = Instance.new("Motor6D")
  62. Part43 = Instance.new("Part")
  63. Part44 = Instance.new("Part")
  64. Part45 = Instance.new("Part")
  65. Weld46 = Instance.new("Weld")
  66. Part47 = Instance.new("Part")
  67. Part48 = Instance.new("Part")
  68. BodyForce49 = Instance.new("BodyForce")
  69. Motor6D50 = Instance.new("Motor6D")
  70. Motor6D51 = Instance.new("Motor6D")
  71. Motor6D52 = Instance.new("Motor6D")
  72. Motor6D53 = Instance.new("Motor6D")
  73. Motor6D54 = Instance.new("Motor6D")
  74. BillboardGui55 = Instance.new("BillboardGui")
  75. TextLabel56 = Instance.new("TextLabel")
  76. Configuration57 = Instance.new("Configuration")
  77. LocalScript58 = Instance.new("LocalScript")
  78. Model59 = Instance.new("Model")
  79. Part60 = Instance.new("Part")
  80. Motor6D61 = Instance.new("Motor6D")
  81. Part62 = Instance.new("Part")
  82. BodyForce63 = Instance.new("BodyForce")
  83. Motor6D64 = Instance.new("Motor6D")
  84. Motor6D65 = Instance.new("Motor6D")
  85. Motor6D66 = Instance.new("Motor6D")
  86. Motor6D67 = Instance.new("Motor6D")
  87. Motor6D68 = Instance.new("Motor6D")
  88. Part69 = Instance.new("Part")
  89. Part70 = Instance.new("Part")
  90. Part71 = Instance.new("Part")
  91. Part72 = Instance.new("Part")
  92. Weld73 = Instance.new("Weld")
  93. Part74 = Instance.new("Part")
  94. Decal75 = Instance.new("Decal")
  95. SpecialMesh76 = Instance.new("SpecialMesh")
  96. Humanoid77 = Instance.new("Humanoid")
  97. Script78 = Instance.new("Script")
  98. StringValue79 = Instance.new("StringValue")
  99. Animation80 = Instance.new("Animation")
  100. StringValue81 = Instance.new("StringValue")
  101. Animation82 = Instance.new("Animation")
  102. StringValue83 = Instance.new("StringValue")
  103. Animation84 = Instance.new("Animation")
  104. NumberValue85 = Instance.new("NumberValue")
  105. Animation86 = Instance.new("Animation")
  106. NumberValue87 = Instance.new("NumberValue")
  107. StringValue88 = Instance.new("StringValue")
  108. Animation89 = Instance.new("Animation")
  109. StringValue90 = Instance.new("StringValue")
  110. Animation91 = Instance.new("Animation")
  111. StringValue92 = Instance.new("StringValue")
  112. Animation93 = Instance.new("Animation")
  113. StringValue94 = Instance.new("StringValue")
  114. Animation95 = Instance.new("Animation")
  115. Sound96 = Instance.new("Sound")
  116. Tool97 = Instance.new("Tool")
  117. LocalScript98 = Instance.new("LocalScript")
  118. Script99 = Instance.new("Script")
  119. BodyVelocity100 = Instance.new("BodyVelocity")
  120. Part101 = Instance.new("Part")
  121. Sound102 = Instance.new("Sound")
  122. SpecialMesh103 = Instance.new("SpecialMesh")
  123. BoolValue104 = Instance.new("BoolValue")
  124. Sound105 = Instance.new("Sound")
  125. Script106 = Instance.new("Script")
  126. Configuration107 = Instance.new("Configuration")
  127. Script108 = Instance.new("Script")
  128. BillboardGui109 = Instance.new("BillboardGui")
  129. TextLabel110 = Instance.new("TextLabel")
  130. StringValue111 = Instance.new("StringValue")
  131. Script99.Name = "IceHammer"
  132. Script99.Parent = Tool97
  133. table.insert(cors,sandbox(Script99,function()
  134. -------- OMG HAX
  135.  
  136. at2 = 0
  137. debris = game:GetService("Debris")
  138. r = game:service("RunService")
  139.  
  140. cool = 5
  141.  
  142. mod = Instance.new("Model")
  143. mod.Parent = script.Parent
  144. h = Instance.new("Humanoid")
  145. h.Parent = mod
  146. h.MaxHealth = 0
  147. head = Instance.new("Part")
  148. head.Name = "Head"
  149. head.Transparency = 0.989
  150. head.BrickColor = BrickColor.new("Really black")
  151. head.formFactor = "Custom"
  152. head.Size = Vector3.new(0.2,0.2,0.2)
  153. head.TopSurface = 0
  154. head.BottomSurface = 0
  155. head.Anchored = true
  156. head.Parent = mod
  157.  
  158. local damage = 7
  159.  
  160.  
  161. local slash_damage = 3
  162.  
  163.  
  164. sword = script.Parent.Handle
  165. Tool = script.Parent
  166.  
  167.  
  168. local SlashSound = Instance.new("Sound")
  169. SlashSound.SoundId = "http://www.roblox.com/asset/?id=926058764"
  170. SlashSound.Parent = sword
  171. SlashSound.Pitch = 1
  172. SlashSound.Volume = 10
  173.  
  174.  
  175. local UnsheathSound = Instance.new("Sound")
  176. UnsheathSound.SoundId = "http://www.roblox.com/asset/?id=15933756"
  177. UnsheathSound.Parent = sword
  178. UnsheathSound.Volume = 1
  179.  
  180. --local blues = {"Really blue", "Really black", "Black", "Bright blue"}
  181.  
  182.  
  183. function isTurbo(character)
  184. return character:FindFirstChild("WingwsHeaddess") ~= nil
  185. end
  186.  
  187. function allThatIce(pos, isTurbo)
  188.  
  189. local count = 1
  190. if (isTurbo == true) then count = 1 end
  191.  
  192. for i=1,count do
  193. local p = Instance.new("Part")
  194. --p.BrickColor = BrickColor.new(blues[math.random(#blues)])
  195. p.formFactor = "Symmetric"
  196. p.Name = "ICEY NOOB"
  197. p.Size = Vector3.new(5,5,1)
  198. p.BrickColor = BrickColor.new("New Yeller")
  199. p.TopSurface = 0
  200. p.Material = "Neon"
  201. p.Transparency = 0.5
  202. p.CanCollide = false
  203. --p.Shape = 0
  204. p.Friction = 0
  205. p.Elasticity = 0
  206. p.BottomSurface = 0
  207.  
  208. local a = math.random() * 6.28
  209. local d = Vector3.new(math.cos(a), 0, math.sin(a)).unit
  210. bv = script.BodyVelocity:clone()
  211. bv.Parent = p
  212. --p.RotVelocity = d * 1000
  213. p.CFrame = CFrame.new(pos + Vector3.new(0, 0, 0) + (d * 0), Tool.Parent.Torso.CFrame.lookVector * -9999999999)
  214. --p.CFrame = CFrame.new(p.Position, Tool.Parent.Torso.Position)
  215. p.Parent = game.Workspace
  216.  
  217. debris:AddItem(p, 0.1)
  218. wait()
  219. end
  220.  
  221. end
  222.  
  223.  
  224. function blow(hit)
  225. local humanoid = hit.Parent:findFirstChild("Humanoid")
  226. local vCharacter = Tool.Parent
  227. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  228. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  229.  
  230.  
  231.  
  232. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  233. -- final check, make sure sword is in-hand
  234.  
  235. local right_arm = vCharacter:FindFirstChild("Right Arm")
  236. if (right_arm ~= nil) then
  237. local joint = right_arm:FindFirstChild("RightGrip")
  238. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  239. tagHumanoid(humanoid, vPlayer)
  240. if (isTurbo(vCharacter) == true) then
  241. humanoid:TakeDamage(damage * 1.2)
  242. else
  243. humanoid:TakeDamage(damage)
  244. end
  245. end
  246. end
  247.  
  248.  
  249. end
  250. end
  251.  
  252.  
  253. function tagHumanoid(humanoid, player)
  254. local creator_tag = Instance.new("ObjectValue")
  255. creator_tag.Value = player
  256. creator_tag.Name = "creator"
  257. creator_tag.Parent = humanoid
  258. debris:AddItem(creator_tag, 1)
  259. end
  260.  
  261.  
  262.  
  263.  
  264. function attack()
  265. CHARACTER =script.Parent.Parent
  266. for i = 1,5 do
  267. allThatIce(CHARACTER.Torso.Position + (CHARACTER.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(CHARACTER))
  268. end
  269.  
  270. SlashSound:play()
  271. local anim = Instance.new("StringValue")
  272. anim.Name = "toolanim"
  273. anim.Value = "Slash"
  274. anim.Parent = Tool
  275. lol = script.Parent.Parent.Torso
  276. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  277. wait(0.1)
  278. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  279. wait(0.1)
  280. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 50 -- Foward Dash
  281. wait(0.1)
  282.  
  283. end
  284.  
  285.  
  286.  
  287.  
  288. function swordUp()
  289. Tool.GripForward = Vector3.new(-1,0,0)
  290. Tool.GripRight = Vector3.new(0,1,0)
  291. Tool.GripUp = Vector3.new(0,0,1)
  292. end
  293.  
  294. function swordOut()
  295. Tool.GripForward = Vector3.new(0,0,1)
  296. Tool.GripRight = Vector3.new(0,-1,0)
  297. Tool.GripUp = Vector3.new(-1,0,0)
  298. end
  299.  
  300.  
  301.  
  302. Tool.Enabled = true
  303.  
  304.  
  305.  
  306.  
  307. function onActivated()
  308.  
  309. if not Tool.Enabled then
  310. return
  311. end
  312.  
  313. Tool.Enabled = false
  314.  
  315. local character = Tool.Parent;
  316. local humanoid = character.Humanoid
  317. if humanoid == nil then
  318. print("Humanoid not found")
  319. return
  320. end
  321.  
  322.  
  323.  
  324. if cool >= 1 then
  325. attack()
  326. if character.Torso.Velocity.y * -1 < 3 then
  327. damage = 10
  328. cool = cool - 1
  329. b = script.BodyVelocity:clone()
  330. b.velocity = character.Torso.CFrame.lookVector * 200
  331. b.Parent = character.Torso
  332. game:GetService("Debris"):AddItem(b,0.4)
  333. for i = 1,5 do
  334. allThatIce(character.Torso.Position + (character.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(character))
  335. end
  336. damage = 5
  337. b.velocity = Vector3.new(0,0,0)
  338. end
  339. end
  340. mod.Name = "" .. cool .. ""
  341. mod.Head.Position = Tool.Handle.Position + Vector3.new(0,10,0)
  342. wait(0.5)
  343. Tool.Enabled = true
  344. end
  345.  
  346.  
  347. function onEquipped()
  348. UnsheathSound:play()
  349. script.Parent.Handle.Boss:Play()
  350. end
  351.  
  352. function Stopmusic()
  353. script.Parent.Handle.Boss:Stop()
  354. end
  355.  
  356. script.Parent.Activated:connect(onActivated)
  357. script.Parent.Equipped:connect(onEquipped)
  358. script.Parent.Unequipped:connect(Stopmusic)
  359.  
  360. connection = sword.Touched:connect(blow)
  361.  
  362. while true do
  363.  
  364. wait(0.0000001)
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. attack()
  381.  
  382.  
  383.  
  384.  
  385. wait(4)
  386.  
  387. swordUp()
  388.  
  389.  
  390.  
  391. bomb = Instance.new("Part")
  392. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  393. bomb.Position = Tool.Handle.Position
  394. bomb.Material = "Neon"
  395. bomb.Shape = "0"
  396. bomb.BrickColor = BrickColor.Red()
  397. bomb.Name = "Explosion"
  398. bomb.Anchored = true
  399. bomb.Parent = workspace
  400. local anim = Instance.new("Animation")
  401. anim.AnimationId = "rbxassetid://973866387"
  402.  
  403.  
  404. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  405. playAnim:Play()
  406.  
  407. for n = 1,20 do
  408. wait()
  409. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  410. bomb.Transparency = bomb.Transparency + 0.01
  411. bomb.CanCollide = false
  412.  
  413.  
  414. end
  415.  
  416. bomb:Destroy()
  417. anim:Destroy()
  418. Tool.GripForward = Vector3.new(-1,0,0)
  419. Tool.GripRight = Vector3.new(0,1,0)
  420. Tool.GripUp = Vector3.new(0,0,1)
  421.  
  422. wait(5)
  423.  
  424. attack()
  425.  
  426. wait(5)
  427. attack()
  428. attack()
  429. attack()
  430. attack()
  431. attack()
  432. attack()
  433. attack()
  434. attack()
  435. attack()
  436. attack()
  437.  
  438. if workspace.Darkness.Sound.SoundId== "rbxassetid://1310017688"then
  439. bomb = Instance.new("Part")
  440. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  441. bomb.Position = Tool.Handle.Position
  442. bomb.Material = "Neon"
  443. bomb.Shape = "0"
  444. bomb.BrickColor = BrickColor.Red()
  445. bomb.Name = "Explosion"
  446. bomb.Anchored = true
  447. bomb.Parent = workspace
  448. local anim = Instance.new("Animation")
  449. anim.AnimationId = "rbxassetid://973866387"
  450.  
  451.  
  452. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  453. playAnim:Play()
  454.  
  455. for n = 1,20 do
  456. wait()
  457. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  458. bomb.Transparency = bomb.Transparency + 0.01
  459. bomb.CanCollide = false
  460.  
  461.  
  462. end
  463.  
  464. bomb:Destroy()
  465. anim:Destroy()
  466. Tool.GripForward = Vector3.new(-1,0,0)
  467. Tool.GripRight = Vector3.new(0,1,0)
  468. Tool.GripUp = Vector3.new(0,0,1)
  469.  
  470. attack()
  471. attack()
  472. attack()
  473. attack()
  474. attack()
  475. attack()
  476. attack()
  477. attack()
  478. attack()
  479. attack()
  480. bomb = Instance.new("Part")
  481. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  482. bomb.Position = Tool.Handle.Position
  483. bomb.Material = "Neon"
  484. bomb.Shape = "0"
  485. bomb.BrickColor = BrickColor.Red()
  486. bomb.Name = "Explosion"
  487. bomb.Anchored = true
  488. bomb.Parent = workspace
  489. local anim = Instance.new("Animation")
  490. anim.AnimationId = "rbxassetid://973866387"
  491.  
  492.  
  493. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  494. playAnim:Play()
  495.  
  496. for n = 1,20 do
  497. wait()
  498. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  499. bomb.Transparency = bomb.Transparency + 0.01
  500. bomb.CanCollide = false
  501.  
  502.  
  503. end
  504.  
  505. bomb:Destroy()
  506. anim:Destroy()
  507. Tool.GripForward = Vector3.new(-1,0,0)
  508. Tool.GripRight = Vector3.new(0,1,0)
  509. Tool.GripUp = Vector3.new(0,0,1)
  510. attack()
  511. attack()
  512. attack()
  513. attack()
  514. attack()
  515. attack()
  516. attack()
  517. attack()
  518. attack()
  519. attack()
  520. bomb = Instance.new("Part")
  521. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  522. bomb.Position = Tool.Handle.Position
  523. bomb.Material = "Neon"
  524. bomb.Shape = "0"
  525. bomb.BrickColor = BrickColor.Red()
  526. bomb.Name = "Explosion"
  527. bomb.Anchored = true
  528. bomb.Parent = workspace
  529. local anim = Instance.new("Animation")
  530. anim.AnimationId = "rbxassetid://973866387"
  531.  
  532.  
  533. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  534. playAnim:Play()
  535.  
  536. for n = 1,20 do
  537. wait()
  538. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  539. bomb.Transparency = bomb.Transparency + 0.01
  540. bomb.CanCollide = false
  541.  
  542.  
  543. end
  544.  
  545. bomb:Destroy()
  546. anim:Destroy()
  547. Tool.GripForward = Vector3.new(-1,0,0)
  548. Tool.GripRight = Vector3.new(0,1,0)
  549. Tool.GripUp = Vector3.new(0,0,1)
  550. attack()
  551. attack()
  552. attack()
  553. attack()
  554. attack()
  555. attack()
  556. attack()
  557. attack()
  558. attack()
  559. attack()
  560. bomb = Instance.new("Part")
  561. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  562. bomb.Position = Tool.Handle.Position
  563. bomb.Material = "Neon"
  564. bomb.Shape = "0"
  565. bomb.BrickColor = BrickColor.Red()
  566. bomb.Name = "Explosion"
  567. bomb.Anchored = true
  568. bomb.Parent = workspace
  569. local anim = Instance.new("Animation")
  570. anim.AnimationId = "rbxassetid://973866387"
  571.  
  572.  
  573. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  574. playAnim:Play()
  575.  
  576. for n = 1,20 do
  577. wait()
  578. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  579. bomb.Transparency = bomb.Transparency + 0.01
  580. bomb.CanCollide = false
  581.  
  582.  
  583. end
  584.  
  585. bomb:Destroy()
  586. anim:Destroy()
  587. Tool.GripForward = Vector3.new(-1,0,0)
  588. Tool.GripRight = Vector3.new(0,1,0)
  589. Tool.GripUp = Vector3.new(0,0,1)
  590.  
  591. end
  592. end
  593.  
  594. end))
  595. BodyVelocity100.Parent = Script99
  596. BodyVelocity100.Velocity = Vector3.new(0, 0, 0)
  597. BodyVelocity100.velocity = Vector3.new(0, 0, 0)
  598. LocalScript98.Name = "Local Gui"
  599. LocalScript98.Parent = Tool97
  600. table.insert(cors,sandbox(LocalScript98,function()
  601. local Tool = script.Parent;
  602.  
  603. enabled = true
  604. function onButton1Down(mouse)
  605. if not enabled then
  606. return
  607. end
  608.  
  609. enabled = false
  610. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  611.  
  612. wait(1)
  613. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  614. enabled = true
  615.  
  616. end
  617.  
  618. function onEquippedLocal(mouse)
  619.  
  620. if mouse == nil then
  621. print("Mouse not found")
  622. return
  623. end
  624.  
  625. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  626. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  627. end
  628.  
  629.  
  630. Tool.Equipped:connect(onEquippedLocal)
  631.  
  632. end))
  633. Part101.Name = "Handle"
  634. Part101.Parent = Tool97
  635. Part101.BrickColor = BrickColor.new("Really black")
  636. Part101.Rotation = Vector3.new(90, 90, 0)
  637. Part101.CanCollide = false
  638. Part101.Size = Vector3.new(3.1400001, 1.898, 6.28399992)
  639. Part101.CFrame = CFrame.new(-7.29670906, 3.1299367, -19.070673, -6.79974422e-22, 4.49431016e-21, 1, 0.999999881, 4.72251821e-22, 6.79974523e-22, -4.7225177e-22, 1, -4.49431016e-21)
  640. Part101.BottomSurface = Enum.SurfaceType.Smooth
  641. Part101.TopSurface = Enum.SurfaceType.Smooth
  642. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  643. Part101.Position = Vector3.new(-7.29670906, 3.1299367, -19.070673)
  644. Part101.Orientation = Vector3.new(0, 90, 90)
  645. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  646. Sound102.Name = "Boss"
  647. Sound102.Parent = Part101
  648. Sound102.Volume = 2
  649. SpecialMesh103.Parent = Part101
  650. SpecialMesh103.MeshId = "rbxassetid://15924243"
  651. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  652. SpecialMesh103.MeshType = Enum.MeshType.FileMesh
  653. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  654. Sound96.Name = "Moan"
  655. Sound96.Parent = Model59
  656. Sound96.Pitch = 0.15000000596046
  657. Sound96.SoundId = "http://www.roblox.com/asset/?id=12222242"
  658. Sound96.Volume = 0.050000000745058
  659. Sound105.Parent = Model59
  660. Sound105.SoundId = "rbxassetid://233363838"
  661. Sound105.Volume = 5
  662. Sound105.Looped = true
  663. Script78.Name = "Animate"
  664. Script78.Parent = Model59
  665. table.insert(cors,sandbox(Script78,function()
  666. function waitForChild(parent, childName)
  667. local child = parent:findFirstChild(childName)
  668. if child then return child end
  669. while true do
  670. child = parent.ChildAdded:wait()
  671. if child.Name==childName then return child end
  672. end
  673. end
  674.  
  675. local Figure = script.Parent
  676. local Torso = waitForChild(Figure, "Torso")
  677. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  678. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  679. local RightHip = waitForChild(Torso, "Right Hip")
  680. local LeftHip = waitForChild(Torso, "Left Hip")
  681. local Neck = waitForChild(Torso, "Neck")
  682. local Humanoid = waitForChild(Figure, "Humanoid")
  683. local pose = "Standing"
  684.  
  685. local currentAnim = ""
  686. local currentAnimTrack = nil
  687. local currentAnimKeyframeHandler = nil
  688. local currentAnimSpeed = 25
  689. local animTable = {}
  690. local animNames = {
  691. idle = {
  692. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  693. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  694. },
  695. walk = {
  696. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  697. },
  698. run = {
  699. { id = "run.xml", weight = 10 }
  700. },
  701. jump = {
  702. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  703. },
  704. fall = {
  705. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  706. },
  707. climb = {
  708. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  709. },
  710. toolnone = {
  711. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  712. },
  713. toolslash = {
  714. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  715. -- { id = "slash.xml", weight = 10 }
  716. },
  717. toollunge = {
  718. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  719. },
  720. wave = {
  721. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  722. },
  723. point = {
  724. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  725. },
  726. dance = {
  727. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  728. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  729. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  730. },
  731. dance2 = {
  732. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  733. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  734. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  735. },
  736. dance3 = {
  737. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  738. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  739. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  740. },
  741. laugh = {
  742. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  743. },
  744. cheer = {
  745. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  746. },
  747. }
  748.  
  749. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  750. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  751.  
  752. math.randomseed(tick())
  753.  
  754. function configureAnimationSet(name, fileList)
  755. if (animTable[name] ~= nil) then
  756. for _, connection in pairs(animTable[name].connections) do
  757. connection:disconnect()
  758. end
  759. end
  760. animTable[name] = {}
  761. animTable[name].count = 0
  762. animTable[name].totalWeight = 0
  763. animTable[name].connections = {}
  764.  
  765. -- check for config values
  766. local config = script:FindFirstChild(name)
  767. if (config ~= nil) then
  768. -- print("Loading anims " .. name)
  769. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  770. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  771. local idx = 1
  772. for _, childPart in pairs(config:GetChildren()) do
  773. if (childPart:IsA("Animation")) then
  774. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  775. animTable[name][idx] = {}
  776. animTable[name][idx].anim = childPart
  777. local weightObject = childPart:FindFirstChild("Weight")
  778. if (weightObject == nil) then
  779. animTable[name][idx].weight = 1
  780. else
  781. animTable[name][idx].weight = weightObject.Value
  782. end
  783. animTable[name].count = animTable[name].count + 1
  784. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  785. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  786. idx = idx + 1
  787. end
  788. end
  789. end
  790.  
  791. -- fallback to defaults
  792. if (animTable[name].count <= 0) then
  793. for idx, anim in pairs(fileList) do
  794. animTable[name][idx] = {}
  795. animTable[name][idx].anim = Instance.new("Animation")
  796. animTable[name][idx].anim.Name = name
  797. animTable[name][idx].anim.AnimationId = anim.id
  798. animTable[name][idx].weight = anim.weight
  799. animTable[name].count = animTable[name].count + 1
  800. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  801. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  802. end
  803. end
  804. end
  805.  
  806. -- Setup animation objects
  807. function scriptChildModified(child)
  808. local fileList = animNames[child.Name]
  809. if (fileList ~= nil) then
  810. configureAnimationSet(child.Name, fileList)
  811. end
  812. end
  813.  
  814. script.ChildAdded:connect(scriptChildModified)
  815. script.ChildRemoved:connect(scriptChildModified)
  816.  
  817.  
  818. for name, fileList in pairs(animNames) do
  819. configureAnimationSet(name, fileList)
  820. end
  821.  
  822. -- ANIMATION
  823.  
  824. -- declarations
  825. local toolAnim = "None"
  826. local toolAnimTime = 0
  827.  
  828. local jumpAnimTime = 0
  829. local jumpAnimDuration = 0.3
  830.  
  831. local toolTransitionTime = 0.1
  832. local fallTransitionTime = 0.3
  833. local jumpMaxLimbVelocity = 0.75
  834.  
  835. -- functions
  836.  
  837. function stopAllAnimations()
  838. local oldAnim = currentAnim
  839.  
  840. -- return to idle if finishing an emote
  841. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  842. oldAnim = "idle"
  843. end
  844.  
  845. currentAnim = ""
  846. if (currentAnimKeyframeHandler ~= nil) then
  847. currentAnimKeyframeHandler:disconnect()
  848. end
  849.  
  850. if (currentAnimTrack ~= nil) then
  851. currentAnimTrack:Stop()
  852. currentAnimTrack:Destroy()
  853. currentAnimTrack = nil
  854. end
  855. return oldAnim
  856. end
  857.  
  858. function setAnimationSpeed(speed)
  859. if speed ~= currentAnimSpeed then
  860. currentAnimSpeed = speed
  861. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  862. end
  863. end
  864.  
  865. function keyFrameReachedFunc(frameName)
  866. if (frameName == "End") then
  867. -- print("Keyframe : ".. frameName)
  868. local repeatAnim = stopAllAnimations()
  869. local animSpeed = currentAnimSpeed
  870. playAnimation(repeatAnim, 0.0, Humanoid)
  871. setAnimationSpeed(animSpeed)
  872. end
  873. end
  874.  
  875. -- Preload animations
  876. function playAnimation(animName, transitionTime, humanoid)
  877. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  878. if (animName ~= currentAnim and not idleFromEmote) then
  879.  
  880. if (currentAnimTrack ~= nil) then
  881. currentAnimTrack:Stop(transitionTime)
  882. currentAnimTrack:Destroy()
  883. end
  884.  
  885. currentAnimSpeed = 1.0
  886. local roll = math.random(1, animTable[animName].totalWeight)
  887. local origRoll = roll
  888. local idx = 1
  889. while (roll > animTable[animName][idx].weight) do
  890. roll = roll - animTable[animName][idx].weight
  891. idx = idx + 1
  892. end
  893. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  894. local anim = animTable[animName][idx].anim
  895.  
  896. -- load it to the humanoid; get AnimationTrack
  897. currentAnimTrack = humanoid:LoadAnimation(anim)
  898.  
  899. -- play the animation
  900. currentAnimTrack:Play(transitionTime)
  901. currentAnim = animName
  902.  
  903. -- set up keyframe name triggers
  904. if (currentAnimKeyframeHandler ~= nil) then
  905. currentAnimKeyframeHandler:disconnect()
  906. end
  907. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  908. end
  909. end
  910.  
  911. -------------------------------------------------------------------------------------------
  912. -------------------------------------------------------------------------------------------
  913.  
  914. local toolAnimName = ""
  915. local toolAnimTrack = nil
  916. local currentToolAnimKeyframeHandler = nil
  917.  
  918. function toolKeyFrameReachedFunc(frameName)
  919. if (frameName == "End") then
  920. -- print("Keyframe : ".. frameName)
  921. local repeatAnim = stopToolAnimations()
  922. playToolAnimation(repeatAnim, 0.0, Humanoid)
  923. end
  924. end
  925.  
  926.  
  927. function playToolAnimation(animName, transitionTime, humanoid)
  928. if (animName ~= toolAnimName) then
  929.  
  930. if (toolAnimTrack ~= nil) then
  931. toolAnimTrack:Stop()
  932. toolAnimTrack:Destroy()
  933. transitionTime = 0
  934. end
  935.  
  936. local roll = math.random(1, animTable[animName].totalWeight)
  937. local origRoll = roll
  938. local idx = 1
  939. while (roll > animTable[animName][idx].weight) do
  940. roll = roll - animTable[animName][idx].weight
  941. idx = idx + 1
  942. end
  943. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  944. local anim = animTable[animName][idx].anim
  945.  
  946. -- load it to the humanoid; get AnimationTrack
  947. toolAnimTrack = humanoid:LoadAnimation(anim)
  948.  
  949. -- play the animation
  950. toolAnimTrack:Play(transitionTime)
  951. toolAnimName = animName
  952.  
  953. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  954. end
  955. end
  956.  
  957. function stopToolAnimations()
  958. local oldAnim = toolAnimName
  959.  
  960. if (currentToolAnimKeyframeHandler ~= nil) then
  961. currentToolAnimKeyframeHandler:disconnect()
  962. end
  963.  
  964. toolAnimName = ""
  965. if (toolAnimTrack ~= nil) then
  966. toolAnimTrack:Stop()
  967. toolAnimTrack:Destroy()
  968. toolAnimTrack = nil
  969. end
  970.  
  971.  
  972. return oldAnim
  973. end
  974.  
  975. -------------------------------------------------------------------------------------------
  976. -------------------------------------------------------------------------------------------
  977.  
  978.  
  979. function onRunning(speed)
  980. if speed>0.01 then
  981. playAnimation("walk", 0.1, Humanoid)
  982. pose = "Running"
  983. else
  984. playAnimation("idle", 0.1, Humanoid)
  985. pose = "Standing"
  986. end
  987. end
  988.  
  989. function onDied()
  990. pose = "Dead"
  991. end
  992.  
  993. function onJumping()
  994. playAnimation("jump", 0.1, Humanoid)
  995. jumpAnimTime = jumpAnimDuration
  996. pose = "Jumping"
  997. end
  998.  
  999. function onClimbing(speed)
  1000. playAnimation("climb", 0.1, Humanoid)
  1001. setAnimationSpeed(speed / 12.0)
  1002. pose = "Climbing"
  1003. end
  1004.  
  1005. function onGettingUp()
  1006. pose = "GettingUp"
  1007. end
  1008.  
  1009. function onFreeFall()
  1010. if (jumpAnimTime <= 0) then
  1011. playAnimation("fall", fallTransitionTime, Humanoid)
  1012. end
  1013. pose = "FreeFall"
  1014. end
  1015.  
  1016. function onFallingDown()
  1017. pose = "FallingDown"
  1018. end
  1019.  
  1020. function onSeated()
  1021. pose = "Seated"
  1022. end
  1023.  
  1024. function onPlatformStanding()
  1025. pose = "PlatformStanding"
  1026. end
  1027.  
  1028. function onSwimming(speed)
  1029. if speed>0 then
  1030. pose = "Running"
  1031. else
  1032. pose = "Standing"
  1033. end
  1034. end
  1035.  
  1036. function getTool()
  1037. for _, kid in ipairs(Figure:GetChildren()) do
  1038. if kid.className == "Tool" then return kid end
  1039. end
  1040. return nil
  1041. end
  1042.  
  1043. function getToolAnim(tool)
  1044. for _, c in ipairs(tool:GetChildren()) do
  1045. if c.Name == "toolanim" and c.className == "StringValue" then
  1046. return c
  1047. end
  1048. end
  1049. return nil
  1050. end
  1051.  
  1052. function animateTool()
  1053.  
  1054. if (toolAnim == "None") then
  1055. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  1056. return
  1057. end
  1058.  
  1059. if (toolAnim == "Slash") then
  1060. playToolAnimation("toolslash", 0, Humanoid)
  1061. return
  1062. end
  1063.  
  1064. if (toolAnim == "Lunge") then
  1065. playToolAnimation("toollunge", 0, Humanoid)
  1066. return
  1067. end
  1068. end
  1069.  
  1070. function moveSit()
  1071. RightShoulder.MaxVelocity = 0.15
  1072. LeftShoulder.MaxVelocity = 0.15
  1073. RightShoulder:SetDesiredAngle(3.14 /2)
  1074. LeftShoulder:SetDesiredAngle(-3.14 /2)
  1075. RightHip:SetDesiredAngle(3.14 /2)
  1076. LeftHip:SetDesiredAngle(-3.14 /2)
  1077. end
  1078.  
  1079. local lastTick = 0
  1080.  
  1081. function move(time)
  1082. local amplitude = 1
  1083. local frequency = 1
  1084. local deltaTime = time - lastTick
  1085. lastTick = time
  1086.  
  1087. local climbFudge = 0
  1088. local setAngles = false
  1089.  
  1090. if (jumpAnimTime > 0) then
  1091. jumpAnimTime = jumpAnimTime - deltaTime
  1092. end
  1093.  
  1094. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  1095. playAnimation("fall", fallTransitionTime, Humanoid)
  1096. elseif (pose == "Seated") then
  1097. stopAllAnimations()
  1098. moveSit()
  1099. return
  1100. elseif (pose == "Running") then
  1101. playAnimation("walk", 0.1, Humanoid)
  1102. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  1103. -- print("Wha " .. pose)
  1104. amplitude = 0.1
  1105. frequency = 1
  1106. setAngles = true
  1107. end
  1108.  
  1109. if (setAngles) then
  1110. desiredAngle = amplitude * math.sin(time * frequency)
  1111.  
  1112. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  1113. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  1114. RightHip:SetDesiredAngle(-desiredAngle)
  1115. LeftHip:SetDesiredAngle(-desiredAngle)
  1116. end
  1117.  
  1118. -- Tool Animation handling
  1119. local tool = getTool()
  1120. if tool then
  1121.  
  1122. animStringValueObject = getToolAnim(tool)
  1123.  
  1124. if animStringValueObject then
  1125. toolAnim = animStringValueObject.Value
  1126. -- message recieved, delete StringValue
  1127. animStringValueObject.Parent = nil
  1128. toolAnimTime = time + .3
  1129. end
  1130.  
  1131. if time > toolAnimTime then
  1132. toolAnimTime = 0
  1133. toolAnim = "None"
  1134. end
  1135.  
  1136. animateTool()
  1137. else
  1138. stopToolAnimations()
  1139. toolAnim = "None"
  1140. toolAnimTime = 0
  1141. end
  1142. end
  1143.  
  1144. -- connect events
  1145. Humanoid.Died:connect(onDied)
  1146. Humanoid.Running:connect(onRunning)
  1147. Humanoid.Jumping:connect(onJumping)
  1148. Humanoid.Climbing:connect(onClimbing)
  1149. Humanoid.GettingUp:connect(onGettingUp)
  1150. Humanoid.FreeFalling:connect(onFreeFall)
  1151. Humanoid.FallingDown:connect(onFallingDown)
  1152. Humanoid.Seated:connect(onSeated)
  1153. Humanoid.PlatformStanding:connect(onPlatformStanding)
  1154. Humanoid.Swimming:connect(onSwimming)
  1155.  
  1156. -- main program
  1157.  
  1158. local runService = game:service("RunService");
  1159.  
  1160. -- initialize to idle
  1161. playAnimation("idle", 0.1, Humanoid)
  1162. pose = "Standing"
  1163.  
  1164. while Figure.Parent~=nil do
  1165. local _, time = wait(0.1)
  1166. move(time)
  1167. end
  1168.  
  1169.  
  1170.  
  1171. end))
  1172. StringValue79.Name = "climb"
  1173. StringValue79.Parent = Script78
  1174. Animation80.Name = "ClimbAnim"
  1175. Animation80.Parent = StringValue79
  1176. Animation80.AnimationId = "http://www.roblox.com/asset/?id=125750800"
  1177. StringValue81.Name = "fall"
  1178. StringValue81.Parent = Script78
  1179. Animation82.Name = "FallAnim"
  1180. Animation82.Parent = StringValue81
  1181. Animation82.AnimationId = "http://www.roblox.com/asset/?id=125750759"
  1182. StringValue83.Name = "idle"
  1183. StringValue83.Parent = Script78
  1184. Animation84.Name = "Animation1"
  1185. Animation84.Parent = StringValue83
  1186. Animation84.AnimationId = "http://www.roblox.com/asset/?id=125750544"
  1187. NumberValue85.Name = "Weight"
  1188. NumberValue85.Parent = Animation84
  1189. NumberValue85.Value = 9
  1190. Animation86.Name = "Animation2"
  1191. Animation86.Parent = StringValue83
  1192. Animation86.AnimationId = "http://www.roblox.com/asset/?id=125750618"
  1193. NumberValue87.Name = "Weight"
  1194. NumberValue87.Parent = Animation86
  1195. NumberValue87.Value = 1
  1196. StringValue88.Name = "jump"
  1197. StringValue88.Parent = Script78
  1198. Animation89.Name = "JumpAnim"
  1199. Animation89.Parent = StringValue88
  1200. Animation89.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  1201. StringValue90.Name = "run"
  1202. StringValue90.Parent = Script78
  1203. Animation91.Name = "RunAnim"
  1204. Animation91.Parent = StringValue90
  1205. Animation91.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  1206. StringValue92.Name = "toolnone"
  1207. StringValue92.Parent = Script78
  1208. Animation93.Name = "ToolNoneAnim"
  1209. Animation93.Parent = StringValue92
  1210. Animation93.AnimationId = "http://www.roblox.com/asset/?id=125750867"
  1211. StringValue94.Name = "walk"
  1212. StringValue94.Parent = Script78
  1213. Animation95.Name = "WalkAnim"
  1214. Animation95.Parent = StringValue94
  1215. Animation95.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  1216. BoolValue104.Name = "CanAttack"
  1217. BoolValue104.Parent = Model59
  1218. Tool97.Name = "Epic Hammer"
  1219. Tool97.Parent = Model59
  1220. Tool97.GripForward = Vector3.new(-1, -0, -0)
  1221. Tool97.GripPos = Vector3.new(0, 0, -1)
  1222. Tool97.GripRight = Vector3.new(0, 1, 0)
  1223. Tool97.GripUp = Vector3.new(0, 0, 1)
  1224. Tool97.ToolTip = "This can make you dash"
  1225. LocalScript98.Name = "Local Gui"
  1226. LocalScript98.Parent = Tool97
  1227. table.insert(cors,sandbox(LocalScript98,function()
  1228. local Tool = script.Parent;
  1229.  
  1230. enabled = true
  1231. function onButton1Down(mouse)
  1232. if not enabled then
  1233. return
  1234. end
  1235.  
  1236. enabled = false
  1237. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  1238.  
  1239. wait(1)
  1240. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1241. enabled = true
  1242.  
  1243. end
  1244.  
  1245. function onEquippedLocal(mouse)
  1246.  
  1247. if mouse == nil then
  1248. print("Mouse not found")
  1249. return
  1250. end
  1251.  
  1252. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  1253. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1254. end
  1255.  
  1256.  
  1257. Tool.Equipped:connect(onEquippedLocal)
  1258.  
  1259. end))
  1260. Script99.Name = "IceHammer"
  1261. Script99.Parent = Tool97
  1262. table.insert(cors,sandbox(Script99,function()
  1263. -------- OMG HAX
  1264.  
  1265. at2 = 0
  1266. debris = game:GetService("Debris")
  1267. r = game:service("RunService")
  1268.  
  1269. cool = 5
  1270.  
  1271. mod = Instance.new("Model")
  1272. mod.Parent = script.Parent
  1273. h = Instance.new("Humanoid")
  1274. h.Parent = mod
  1275. h.MaxHealth = 0
  1276. head = Instance.new("Part")
  1277. head.Name = "Head"
  1278. head.Transparency = 0.989
  1279. head.BrickColor = BrickColor.new("Really black")
  1280. head.formFactor = "Custom"
  1281. head.Size = Vector3.new(0.2,0.2,0.2)
  1282. head.TopSurface = 0
  1283. head.BottomSurface = 0
  1284. head.Anchored = true
  1285. head.Parent = mod
  1286.  
  1287. local damage = 7
  1288.  
  1289.  
  1290. local slash_damage = 3
  1291.  
  1292.  
  1293. sword = script.Parent.Handle
  1294. Tool = script.Parent
  1295.  
  1296.  
  1297. local SlashSound = Instance.new("Sound")
  1298. SlashSound.SoundId = "http://www.roblox.com/asset/?id=926058764"
  1299. SlashSound.Parent = sword
  1300. SlashSound.Pitch = 1
  1301. SlashSound.Volume = 10
  1302.  
  1303.  
  1304. local UnsheathSound = Instance.new("Sound")
  1305. UnsheathSound.SoundId = "http://www.roblox.com/asset/?id=15933756"
  1306. UnsheathSound.Parent = sword
  1307. UnsheathSound.Volume = 1
  1308.  
  1309. --local blues = {"Really blue", "Really black", "Black", "Bright blue"}
  1310.  
  1311.  
  1312. function isTurbo(character)
  1313. return character:FindFirstChild("WingwsHeaddess") ~= nil
  1314. end
  1315.  
  1316. function allThatIce(pos, isTurbo)
  1317.  
  1318. local count = 1
  1319. if (isTurbo == true) then count = 1 end
  1320.  
  1321. for i=1,count do
  1322. local p = Instance.new("Part")
  1323. --p.BrickColor = BrickColor.new(blues[math.random(#blues)])
  1324. p.formFactor = "Symmetric"
  1325. p.Name = "ICEY NOOB"
  1326. p.Size = Vector3.new(5,5,1)
  1327. p.BrickColor = BrickColor.new("New Yeller")
  1328. p.TopSurface = 0
  1329. p.Material = "Neon"
  1330. p.Transparency = 0.5
  1331. p.CanCollide = false
  1332. --p.Shape = 0
  1333. p.Friction = 0
  1334. p.Elasticity = 0
  1335. p.BottomSurface = 0
  1336.  
  1337. local a = math.random() * 6.28
  1338. local d = Vector3.new(math.cos(a), 0, math.sin(a)).unit
  1339. bv = script.BodyVelocity:clone()
  1340. bv.Parent = p
  1341. --p.RotVelocity = d * 1000
  1342. p.CFrame = CFrame.new(pos + Vector3.new(0, 0, 0) + (d * 0), Tool.Parent.Torso.CFrame.lookVector * -9999999999)
  1343. --p.CFrame = CFrame.new(p.Position, Tool.Parent.Torso.Position)
  1344. p.Parent = game.Workspace
  1345.  
  1346. debris:AddItem(p, 0.1)
  1347. wait()
  1348. end
  1349.  
  1350. end
  1351.  
  1352.  
  1353. function blow(hit)
  1354. local humanoid = hit.Parent:findFirstChild("Humanoid")
  1355. local vCharacter = Tool.Parent
  1356. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  1357. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  1358.  
  1359.  
  1360.  
  1361. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  1362. -- final check, make sure sword is in-hand
  1363.  
  1364. local right_arm = vCharacter:FindFirstChild("Right Arm")
  1365. if (right_arm ~= nil) then
  1366. local joint = right_arm:FindFirstChild("RightGrip")
  1367. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  1368. tagHumanoid(humanoid, vPlayer)
  1369. if (isTurbo(vCharacter) == true) then
  1370. humanoid:TakeDamage(damage * 1.2)
  1371. else
  1372. humanoid:TakeDamage(damage)
  1373. end
  1374. end
  1375. end
  1376.  
  1377.  
  1378. end
  1379. end
  1380.  
  1381.  
  1382. function tagHumanoid(humanoid, player)
  1383. local creator_tag = Instance.new("ObjectValue")
  1384. creator_tag.Value = player
  1385. creator_tag.Name = "creator"
  1386. creator_tag.Parent = humanoid
  1387. debris:AddItem(creator_tag, 1)
  1388. end
  1389.  
  1390.  
  1391.  
  1392.  
  1393. function attack()
  1394. CHARACTER =script.Parent.Parent
  1395. for i = 1,5 do
  1396. allThatIce(CHARACTER.Torso.Position + (CHARACTER.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(CHARACTER))
  1397. end
  1398.  
  1399. SlashSound:play()
  1400. local anim = Instance.new("StringValue")
  1401. anim.Name = "toolanim"
  1402. anim.Value = "Slash"
  1403. anim.Parent = Tool
  1404. lol = script.Parent.Parent.Torso
  1405. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  1406. wait(0.1)
  1407. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  1408. wait(0.1)
  1409. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 50 -- Foward Dash
  1410. wait(0.1)
  1411.  
  1412. end
  1413.  
  1414.  
  1415.  
  1416.  
  1417. function swordUp()
  1418. Tool.GripForward = Vector3.new(-1,0,0)
  1419. Tool.GripRight = Vector3.new(0,1,0)
  1420. Tool.GripUp = Vector3.new(0,0,1)
  1421. end
  1422.  
  1423. function swordOut()
  1424. Tool.GripForward = Vector3.new(0,0,1)
  1425. Tool.GripRight = Vector3.new(0,-1,0)
  1426. Tool.GripUp = Vector3.new(-1,0,0)
  1427. end
  1428.  
  1429.  
  1430.  
  1431. Tool.Enabled = true
  1432.  
  1433.  
  1434.  
  1435.  
  1436. function onActivated()
  1437.  
  1438. if not Tool.Enabled then
  1439. return
  1440. end
  1441.  
  1442. Tool.Enabled = false
  1443.  
  1444. local character = Tool.Parent;
  1445. local humanoid = character.Humanoid
  1446. if humanoid == nil then
  1447. print("Humanoid not found")
  1448. return
  1449. end
  1450.  
  1451.  
  1452.  
  1453. if cool >= 1 then
  1454. attack()
  1455. if character.Torso.Velocity.y * -1 < 3 then
  1456. damage = 10
  1457. cool = cool - 1
  1458. b = script.BodyVelocity:clone()
  1459. b.velocity = character.Torso.CFrame.lookVector * 200
  1460. b.Parent = character.Torso
  1461. game:GetService("Debris"):AddItem(b,0.4)
  1462. for i = 1,5 do
  1463. allThatIce(character.Torso.Position + (character.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(character))
  1464. end
  1465. damage = 5
  1466. b.velocity = Vector3.new(0,0,0)
  1467. end
  1468. end
  1469. mod.Name = "" .. cool .. ""
  1470. mod.Head.Position = Tool.Handle.Position + Vector3.new(0,10,0)
  1471. wait(0.5)
  1472. Tool.Enabled = true
  1473. end
  1474.  
  1475.  
  1476. function onEquipped()
  1477. UnsheathSound:play()
  1478. script.Parent.Handle.Boss:Play()
  1479. end
  1480.  
  1481. function Stopmusic()
  1482. script.Parent.Handle.Boss:Stop()
  1483. end
  1484.  
  1485. script.Parent.Activated:connect(onActivated)
  1486. script.Parent.Equipped:connect(onEquipped)
  1487. script.Parent.Unequipped:connect(Stopmusic)
  1488.  
  1489. connection = sword.Touched:connect(blow)
  1490.  
  1491. while true do
  1492.  
  1493. wait(0.0000001)
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509. attack()
  1510.  
  1511.  
  1512.  
  1513.  
  1514. wait(4)
  1515.  
  1516. swordUp()
  1517.  
  1518.  
  1519.  
  1520. bomb = Instance.new("Part")
  1521. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  1522. bomb.Position = Tool.Handle.Position
  1523. bomb.Material = "Neon"
  1524. bomb.Shape = "0"
  1525. bomb.BrickColor = BrickColor.Red()
  1526. bomb.Name = "Explosion"
  1527. bomb.Anchored = true
  1528. bomb.Parent = workspace
  1529. local anim = Instance.new("Animation")
  1530. anim.AnimationId = "rbxassetid://973866387"
  1531.  
  1532.  
  1533. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  1534. playAnim:Play()
  1535.  
  1536. for n = 1,20 do
  1537. wait()
  1538. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  1539. bomb.Transparency = bomb.Transparency + 0.01
  1540. bomb.CanCollide = false
  1541.  
  1542.  
  1543. end
  1544.  
  1545. bomb:Destroy()
  1546. anim:Destroy()
  1547. Tool.GripForward = Vector3.new(-1,0,0)
  1548. Tool.GripRight = Vector3.new(0,1,0)
  1549. Tool.GripUp = Vector3.new(0,0,1)
  1550.  
  1551. wait(5)
  1552.  
  1553. attack()
  1554.  
  1555. wait(5)
  1556. attack()
  1557. attack()
  1558. attack()
  1559. attack()
  1560. attack()
  1561. attack()
  1562. attack()
  1563. attack()
  1564. attack()
  1565. attack()
  1566.  
  1567. if workspace.Darkness.Sound.SoundId== "rbxassetid://1310017688"then
  1568. bomb = Instance.new("Part")
  1569. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  1570. bomb.Position = Tool.Handle.Position
  1571. bomb.Material = "Neon"
  1572. bomb.Shape = "0"
  1573. bomb.BrickColor = BrickColor.Red()
  1574. bomb.Name = "Explosion"
  1575. bomb.Anchored = true
  1576. bomb.Parent = workspace
  1577. local anim = Instance.new("Animation")
  1578. anim.AnimationId = "rbxassetid://973866387"
  1579.  
  1580.  
  1581. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  1582. playAnim:Play()
  1583.  
  1584. for n = 1,20 do
  1585. wait()
  1586. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  1587. bomb.Transparency = bomb.Transparency + 0.01
  1588. bomb.CanCollide = false
  1589.  
  1590.  
  1591. end
  1592.  
  1593. bomb:Destroy()
  1594. anim:Destroy()
  1595. Tool.GripForward = Vector3.new(-1,0,0)
  1596. Tool.GripRight = Vector3.new(0,1,0)
  1597. Tool.GripUp = Vector3.new(0,0,1)
  1598.  
  1599. attack()
  1600. attack()
  1601. attack()
  1602. attack()
  1603. attack()
  1604. attack()
  1605. attack()
  1606. attack()
  1607. attack()
  1608. attack()
  1609. bomb = Instance.new("Part")
  1610. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  1611. bomb.Position = Tool.Handle.Position
  1612. bomb.Material = "Neon"
  1613. bomb.Shape = "0"
  1614. bomb.BrickColor = BrickColor.Red()
  1615. bomb.Name = "Explosion"
  1616. bomb.Anchored = true
  1617. bomb.Parent = workspace
  1618. local anim = Instance.new("Animation")
  1619. anim.AnimationId = "rbxassetid://973866387"
  1620.  
  1621.  
  1622. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  1623. playAnim:Play()
  1624.  
  1625. for n = 1,20 do
  1626. wait()
  1627. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  1628. bomb.Transparency = bomb.Transparency + 0.01
  1629. bomb.CanCollide = false
  1630.  
  1631.  
  1632. end
  1633.  
  1634. bomb:Destroy()
  1635. anim:Destroy()
  1636. Tool.GripForward = Vector3.new(-1,0,0)
  1637. Tool.GripRight = Vector3.new(0,1,0)
  1638. Tool.GripUp = Vector3.new(0,0,1)
  1639. attack()
  1640. attack()
  1641. attack()
  1642. attack()
  1643. attack()
  1644. attack()
  1645. attack()
  1646. attack()
  1647. attack()
  1648. attack()
  1649. bomb = Instance.new("Part")
  1650. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  1651. bomb.Position = Tool.Handle.Position
  1652. bomb.Material = "Neon"
  1653. bomb.Shape = "0"
  1654. bomb.BrickColor = BrickColor.Red()
  1655. bomb.Name = "Explosion"
  1656. bomb.Anchored = true
  1657. bomb.Parent = workspace
  1658. local anim = Instance.new("Animation")
  1659. anim.AnimationId = "rbxassetid://973866387"
  1660.  
  1661.  
  1662. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  1663. playAnim:Play()
  1664.  
  1665. for n = 1,20 do
  1666. wait()
  1667. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  1668. bomb.Transparency = bomb.Transparency + 0.01
  1669. bomb.CanCollide = false
  1670.  
  1671.  
  1672. end
  1673.  
  1674. bomb:Destroy()
  1675. anim:Destroy()
  1676. Tool.GripForward = Vector3.new(-1,0,0)
  1677. Tool.GripRight = Vector3.new(0,1,0)
  1678. Tool.GripUp = Vector3.new(0,0,1)
  1679. attack()
  1680. attack()
  1681. attack()
  1682. attack()
  1683. attack()
  1684. attack()
  1685. attack()
  1686. attack()
  1687. attack()
  1688. attack()
  1689. bomb = Instance.new("Part")
  1690. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  1691. bomb.Position = Tool.Handle.Position
  1692. bomb.Material = "Neon"
  1693. bomb.Shape = "0"
  1694. bomb.BrickColor = BrickColor.Red()
  1695. bomb.Name = "Explosion"
  1696. bomb.Anchored = true
  1697. bomb.Parent = workspace
  1698. local anim = Instance.new("Animation")
  1699. anim.AnimationId = "rbxassetid://973866387"
  1700.  
  1701.  
  1702. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  1703. playAnim:Play()
  1704.  
  1705. for n = 1,20 do
  1706. wait()
  1707. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  1708. bomb.Transparency = bomb.Transparency + 0.01
  1709. bomb.CanCollide = false
  1710.  
  1711.  
  1712. end
  1713.  
  1714. bomb:Destroy()
  1715. anim:Destroy()
  1716. Tool.GripForward = Vector3.new(-1,0,0)
  1717. Tool.GripRight = Vector3.new(0,1,0)
  1718. Tool.GripUp = Vector3.new(0,0,1)
  1719.  
  1720. end
  1721. end
  1722.  
  1723. end))
  1724. BodyVelocity100.Parent = Script99
  1725. BodyVelocity100.Velocity = Vector3.new(0, 0, 0)
  1726. BodyVelocity100.velocity = Vector3.new(0, 0, 0)
  1727. Part101.Name = "Handle"
  1728. Part101.Parent = Tool97
  1729. Part101.BrickColor = BrickColor.new("Really black")
  1730. Part101.Rotation = Vector3.new(90, 90, 0)
  1731. Part101.CanCollide = false
  1732. Part101.Size = Vector3.new(3.1400001, 1.898, 6.28399992)
  1733. Part101.CFrame = CFrame.new(-7.29670906, 3.1299367, -19.070673, -6.79974422e-22, 4.49431016e-21, 1, 0.999999881, 4.72251821e-22, 6.79974523e-22, -4.7225177e-22, 1, -4.49431016e-21)
  1734. Part101.BottomSurface = Enum.SurfaceType.Smooth
  1735. Part101.TopSurface = Enum.SurfaceType.Smooth
  1736. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1737. Part101.Position = Vector3.new(-7.29670906, 3.1299367, -19.070673)
  1738. Part101.Orientation = Vector3.new(0, 90, 90)
  1739. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1740. Sound102.Name = "Boss"
  1741. Sound102.Parent = Part101
  1742. Sound102.Volume = 2
  1743. SpecialMesh103.Parent = Part101
  1744. SpecialMesh103.MeshId = "rbxassetid://15924243"
  1745. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  1746. SpecialMesh103.MeshType = Enum.MeshType.FileMesh
  1747. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  1748. Script106.Name = "Follow"
  1749. Script106.Parent = Model59
  1750. table.insert(cors,sandbox(Script106,function()
  1751. local larm = script.Parent:FindFirstChild("Left Arm")
  1752. local rarm = script.Parent:FindFirstChild("Right Arm")
  1753.  
  1754. function findNearestTorso(pos)
  1755. local list = game.Workspace:children()
  1756. local torso = nil
  1757. local dist = 455
  1758. local temp = nil
  1759. local human = nil
  1760. local temp2 = nil
  1761. for x = 1, #list do
  1762. temp2 = list[x]
  1763. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  1764. temp = temp2:findFirstChild("Torso")
  1765. human = temp2:findFirstChild("Humanoid")
  1766. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1767. if (temp.Position - pos).magnitude < dist then
  1768. torso = temp
  1769. dist = (temp.Position - pos).magnitude
  1770. end
  1771. end
  1772. end
  1773. end
  1774. return torso
  1775. end
  1776.  
  1777. while true do
  1778.  
  1779. wait(0.1)
  1780. local target = findNearestTorso(script.Parent.Torso.Position)
  1781.  
  1782. if target ~= nil then
  1783.  
  1784. script.Parent.Humanoid:MoveTo(target.Position, target)
  1785. elseif script.Parent.CanAttack == false then
  1786.  
  1787. script.Parent.CanAttack = true
  1788.  
  1789. end
  1790.  
  1791.  
  1792.  
  1793. end
  1794. end))
  1795. Humanoid77.Parent = Model59
  1796. Humanoid77.RightLeg = Part70
  1797. Humanoid77.LeftLeg = Part69
  1798. Humanoid77.Torso = Part60
  1799. Humanoid77.Health = 34353544
  1800. Humanoid77.MaxHealth = 34353544
  1801. Humanoid77.WalkSpeed = 25
  1802. Script108.Parent = Model59
  1803. table.insert(cors,sandbox(Script108,function()
  1804. wait(180)
  1805.  
  1806.  
  1807. soundy = script.Parent.Sound
  1808.  
  1809.  
  1810. for s = 1,20 do
  1811. wait(0.1)
  1812. soundy.Volume = soundy.Volume - 0.3
  1813. end
  1814.  
  1815. soundy.SoundId= "rbxassetid://316889671"
  1816.  
  1817. for s = 1,30 do
  1818. wait(0.1)
  1819. soundy.Volume = soundy.Volume + 0.2
  1820. end
  1821.  
  1822.  
  1823.  
  1824. wait(2)
  1825. soundy.SoundId= "rbxassetid://1310017688"
  1826.  
  1827. bossfight2 = game.Lighting
  1828.  
  1829. bossfight2.ColorCorrection.Enabled = true
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854. end))
  1855. StringValue111.Parent = Model59
  1856. Part74.Name = "Head"
  1857. Part74.Parent = Model59
  1858. Part74.BrickColor = BrickColor.new("Black")
  1859. Part74.Rotation = Vector3.new(0, -90, 0)
  1860. Part74.FormFactor = Enum.FormFactor.Symmetric
  1861. Part74.Size = Vector3.new(2.75328374, 1.37664187, 1.37664187)
  1862. Part74.CFrame = CFrame.new(-8.29670906, 6.19489956, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  1863. Part74.BottomSurface = Enum.SurfaceType.Smooth
  1864. Part74.TopSurface = Enum.SurfaceType.Smooth
  1865. Part74.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1866. Part74.Position = Vector3.new(-8.29670906, 6.19489956, -21.1356354)
  1867. Part74.Orientation = Vector3.new(0, -90, 0)
  1868. Part74.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1869. Decal75.Name = "Face"
  1870. Decal75.Parent = Part74
  1871. Decal75.Texture = "http://www.roblox.com/asset/?id=7074882"
  1872. SpecialMesh76.Parent = Part74
  1873. SpecialMesh76.Scale = Vector3.new(1.25, 1.25, 1.25)
  1874. SpecialMesh76.Scale = Vector3.new(1.25, 1.25, 1.25)
  1875. Part60.Name = "HumanoidRootPart"
  1876. Part60.Parent = Model59
  1877. Part60.BrickColor = BrickColor.new("Earth green")
  1878. Part60.Transparency = 1
  1879. Part60.Rotation = Vector3.new(0, -90, 0)
  1880. Part60.FormFactor = Enum.FormFactor.Symmetric
  1881. Part60.Size = Vector3.new(2.75328374, 2.75328374, 1.37664187)
  1882. Part60.CFrame = CFrame.new(-8.29670906, 4.1299367, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  1883. Part60.BottomSurface = Enum.SurfaceType.Smooth
  1884. Part60.TopSurface = Enum.SurfaceType.Smooth
  1885. Part60.Color = Color3.new(0.152941, 0.27451, 0.176471)
  1886. Part60.Position = Vector3.new(-8.29670906, 4.1299367, -21.1356354)
  1887. Part60.Orientation = Vector3.new(0, -90, 0)
  1888. Part60.Color = Color3.new(0.152941, 0.27451, 0.176471)
  1889. Motor6D61.Name = "Root Hip"
  1890. Motor6D61.Parent = Part60
  1891. Motor6D61.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1892. Motor6D61.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1893. Motor6D61.Part0 = Part60
  1894. Motor6D61.Part1 = Part62
  1895. Motor6D61.MaxVelocity = 0.10000000149012
  1896. Part71.Name = "Left Arm"
  1897. Part71.Parent = Model59
  1898. Part71.BrickColor = BrickColor.new("Black")
  1899. Part71.Rotation = Vector3.new(0, -90, 0)
  1900. Part71.CanCollide = false
  1901. Part71.FormFactor = Enum.FormFactor.Symmetric
  1902. Part71.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  1903. Part71.CFrame = CFrame.new(-8.29670906, 4.1299367, -23.2005978, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  1904. Part71.BottomSurface = Enum.SurfaceType.Smooth
  1905. Part71.TopSurface = Enum.SurfaceType.Smooth
  1906. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1907. Part71.Position = Vector3.new(-8.29670906, 4.1299367, -23.2005978)
  1908. Part71.Orientation = Vector3.new(0, -90, 0)
  1909. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1910. Part69.Name = "Left Leg"
  1911. Part69.Parent = Model59
  1912. Part69.BrickColor = BrickColor.new("Black")
  1913. Part69.Rotation = Vector3.new(0, -90, 0)
  1914. Part69.CanCollide = false
  1915. Part69.FormFactor = Enum.FormFactor.Symmetric
  1916. Part69.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  1917. Part69.CFrame = CFrame.new(-8.29670906, 1.37665319, -21.8239555, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  1918. Part69.BottomSurface = Enum.SurfaceType.Smooth
  1919. Part69.TopSurface = Enum.SurfaceType.Smooth
  1920. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1921. Part69.Position = Vector3.new(-8.29670906, 1.37665319, -21.8239555)
  1922. Part69.Orientation = Vector3.new(0, -90, 0)
  1923. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1924. Part72.Name = "Right Arm"
  1925. Part72.Parent = Model59
  1926. Part72.BrickColor = BrickColor.new("Black")
  1927. Part72.Rotation = Vector3.new(0, -90, 0)
  1928. Part72.CanCollide = false
  1929. Part72.FormFactor = Enum.FormFactor.Symmetric
  1930. Part72.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  1931. Part72.CFrame = CFrame.new(-8.29670906, 4.1299367, -19.070673, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  1932. Part72.BottomSurface = Enum.SurfaceType.Smooth
  1933. Part72.TopSurface = Enum.SurfaceType.Smooth
  1934. Part72.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1935. Part72.Position = Vector3.new(-8.29670906, 4.1299367, -19.070673)
  1936. Part72.Orientation = Vector3.new(0, -90, 0)
  1937. Part72.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1938. Weld73.Name = "RightGrip"
  1939. Weld73.Parent = Part72
  1940. Weld73.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  1941. Weld73.C1 = CFrame.new(0, 0, -1, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  1942. Weld73.Part0 = Part72
  1943. Weld73.Part1 = Part101
  1944. Part70.Name = "Right Leg"
  1945. Part70.Parent = Model59
  1946. Part70.BrickColor = BrickColor.new("Black")
  1947. Part70.Rotation = Vector3.new(0, -90, 0)
  1948. Part70.CanCollide = false
  1949. Part70.FormFactor = Enum.FormFactor.Symmetric
  1950. Part70.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  1951. Part70.CFrame = CFrame.new(-8.29670906, 1.37665319, -20.4473152, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  1952. Part70.BottomSurface = Enum.SurfaceType.Smooth
  1953. Part70.TopSurface = Enum.SurfaceType.Smooth
  1954. Part70.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1955. Part70.Position = Vector3.new(-8.29670906, 1.37665319, -20.4473152)
  1956. Part70.Orientation = Vector3.new(0, -90, 0)
  1957. Part70.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1958. Part62.Name = "Torso"
  1959. Part62.Parent = Model59
  1960. Part62.BrickColor = BrickColor.new("Smoky grey")
  1961. Part62.Rotation = Vector3.new(0, -90, 0)
  1962. Part62.FormFactor = Enum.FormFactor.Symmetric
  1963. Part62.Size = Vector3.new(2.75328374, 2.75328374, 1.37664187)
  1964. Part62.CFrame = CFrame.new(-8.29670906, 4.1299367, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  1965. Part62.BottomSurface = Enum.SurfaceType.Smooth
  1966. Part62.TopSurface = Enum.SurfaceType.Smooth
  1967. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  1968. Part62.Position = Vector3.new(-8.29670906, 4.1299367, -21.1356354)
  1969. Part62.Orientation = Vector3.new(0, -90, 0)
  1970. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  1971. BodyForce63.Name = "RepulsionForce"
  1972. BodyForce63.Parent = Part62
  1973. BodyForce63.force = Vector3.new(0, 0, 0)
  1974. Motor6D64.Name = "Left Hip"
  1975. Motor6D64.Parent = Part62
  1976. Motor6D64.C0 = CFrame.new(-1.37664187, -1.37664187, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  1977. Motor6D64.C1 = CFrame.new(-0.688320935, 1.37664187, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  1978. Motor6D64.Part0 = Part62
  1979. Motor6D64.Part1 = Part69
  1980. Motor6D64.MaxVelocity = 0.10000000149012
  1981. Motor6D65.Name = "Right Hip"
  1982. Motor6D65.Parent = Part62
  1983. Motor6D65.C0 = CFrame.new(1.37664187, -1.37664187, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1984. Motor6D65.C1 = CFrame.new(0.688320935, 1.37664187, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1985. Motor6D65.Part0 = Part62
  1986. Motor6D65.Part1 = Part70
  1987. Motor6D65.MaxVelocity = 0.10000000149012
  1988. Motor6D66.Name = "Left Shoulder"
  1989. Motor6D66.Parent = Part62
  1990. Motor6D66.C0 = CFrame.new(-1.37664187, 0.688320935, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  1991. Motor6D66.C1 = CFrame.new(0.688320935, 0.688320935, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  1992. Motor6D66.Part0 = Part62
  1993. Motor6D66.Part1 = Part71
  1994. Motor6D66.MaxVelocity = 0.10000000149012
  1995. Motor6D67.Name = "Right Shoulder"
  1996. Motor6D67.Parent = Part62
  1997. Motor6D67.C0 = CFrame.new(1.37664187, 0.688320935, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1998. Motor6D67.C1 = CFrame.new(-0.688320935, 0.688320935, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  1999. Motor6D67.Part0 = Part62
  2000. Motor6D67.Part1 = Part72
  2001. Motor6D67.MaxVelocity = 0.10000000149012
  2002. Motor6D68.Name = "Neck"
  2003. Motor6D68.Parent = Part62
  2004. Motor6D68.C0 = CFrame.new(0, 1.37664187, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2005. Motor6D68.C1 = CFrame.new(0, -0.688320935, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2006. Motor6D68.Part0 = Part62
  2007. Motor6D68.Part1 = Part74
  2008. Motor6D68.MaxVelocity = 0.10000000149012
  2009. BillboardGui109.Parent = Model59
  2010. BillboardGui109.Size = UDim2.new(0, 100, 0, 30)
  2011. BillboardGui109.StudsOffset = Vector3.new(0, 5, 0)
  2012. TextLabel110.Parent = BillboardGui109
  2013. TextLabel110.Size = UDim2.new(1, 0, 1, 0)
  2014. TextLabel110.Text = "Idle"
  2015. TextLabel110.Visible = false
  2016. TextLabel110.BackgroundColor3 = Color3.new(1, 1, 1)
  2017. TextLabel110.Font = Enum.Font.SourceSansBold
  2018. TextLabel110.FontSize = Enum.FontSize.Size24
  2019. Configuration107.Name = "Pack"
  2020. Configuration107.Parent = Model59
  2021. LocalScript58.Name = "CamShake"
  2022. LocalScript58.Parent = mas
  2023. table.insert(cors,sandbox(LocalScript58,function()
  2024. local cam = game.Workspace.CurrentCamera
  2025. while true do
  2026. wait(0.012)
  2027. if workspace.Darkness.Sound.SoundId== "rbxassetid://1310017688"then
  2028. wait(0.032)
  2029. for i = 1, 2 do
  2030. wait(0.078)
  2031. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-10, 10)/10, math.random(-10, 10)/10, 0)
  2032. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  2033. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(math.random(-123, 123)/4000, math.random(-123, 123)/4000, 0)
  2034. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  2035. end
  2036. end
  2037. end
  2038.  
  2039.  
  2040. end))
  2041. Model59.Name = "Darkness"
  2042. Model59.Parent = mas
  2043. Part60.Name = "HumanoidRootPart"
  2044. Part60.Parent = Model59
  2045. Part60.BrickColor = BrickColor.new("Earth green")
  2046. Part60.Transparency = 1
  2047. Part60.Rotation = Vector3.new(0, -90, 0)
  2048. Part60.FormFactor = Enum.FormFactor.Symmetric
  2049. Part60.Size = Vector3.new(2.75328374, 2.75328374, 1.37664187)
  2050. Part60.CFrame = CFrame.new(-8.29670906, 4.1299367, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  2051. Part60.BottomSurface = Enum.SurfaceType.Smooth
  2052. Part60.TopSurface = Enum.SurfaceType.Smooth
  2053. Part60.Color = Color3.new(0.152941, 0.27451, 0.176471)
  2054. Part60.Position = Vector3.new(-8.29670906, 4.1299367, -21.1356354)
  2055. Part60.Orientation = Vector3.new(0, -90, 0)
  2056. Part60.Color = Color3.new(0.152941, 0.27451, 0.176471)
  2057. Motor6D61.Name = "Root Hip"
  2058. Motor6D61.Parent = Part60
  2059. Motor6D61.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2060. Motor6D61.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2061. Motor6D61.Part0 = Part60
  2062. Motor6D61.Part1 = Part62
  2063. Motor6D61.MaxVelocity = 0.10000000149012
  2064. Part62.Name = "Torso"
  2065. Part62.Parent = Model59
  2066. Part62.BrickColor = BrickColor.new("Smoky grey")
  2067. Part62.Rotation = Vector3.new(0, -90, 0)
  2068. Part62.FormFactor = Enum.FormFactor.Symmetric
  2069. Part62.Size = Vector3.new(2.75328374, 2.75328374, 1.37664187)
  2070. Part62.CFrame = CFrame.new(-8.29670906, 4.1299367, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  2071. Part62.BottomSurface = Enum.SurfaceType.Smooth
  2072. Part62.TopSurface = Enum.SurfaceType.Smooth
  2073. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  2074. Part62.Position = Vector3.new(-8.29670906, 4.1299367, -21.1356354)
  2075. Part62.Orientation = Vector3.new(0, -90, 0)
  2076. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  2077. BodyForce63.Name = "RepulsionForce"
  2078. BodyForce63.Parent = Part62
  2079. BodyForce63.force = Vector3.new(0, 0, 0)
  2080. Motor6D64.Name = "Left Hip"
  2081. Motor6D64.Parent = Part62
  2082. Motor6D64.C0 = CFrame.new(-1.37664187, -1.37664187, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  2083. Motor6D64.C1 = CFrame.new(-0.688320935, 1.37664187, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  2084. Motor6D64.Part0 = Part62
  2085. Motor6D64.Part1 = Part69
  2086. Motor6D64.MaxVelocity = 0.10000000149012
  2087. Motor6D65.Name = "Right Hip"
  2088. Motor6D65.Parent = Part62
  2089. Motor6D65.C0 = CFrame.new(1.37664187, -1.37664187, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  2090. Motor6D65.C1 = CFrame.new(0.688320935, 1.37664187, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  2091. Motor6D65.Part0 = Part62
  2092. Motor6D65.Part1 = Part70
  2093. Motor6D65.MaxVelocity = 0.10000000149012
  2094. Motor6D66.Name = "Left Shoulder"
  2095. Motor6D66.Parent = Part62
  2096. Motor6D66.C0 = CFrame.new(-1.37664187, 0.688320935, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  2097. Motor6D66.C1 = CFrame.new(0.688320935, 0.688320935, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  2098. Motor6D66.Part0 = Part62
  2099. Motor6D66.Part1 = Part71
  2100. Motor6D66.MaxVelocity = 0.10000000149012
  2101. Motor6D67.Name = "Right Shoulder"
  2102. Motor6D67.Parent = Part62
  2103. Motor6D67.C0 = CFrame.new(1.37664187, 0.688320935, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  2104. Motor6D67.C1 = CFrame.new(-0.688320935, 0.688320935, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  2105. Motor6D67.Part0 = Part62
  2106. Motor6D67.Part1 = Part72
  2107. Motor6D67.MaxVelocity = 0.10000000149012
  2108. Motor6D68.Name = "Neck"
  2109. Motor6D68.Parent = Part62
  2110. Motor6D68.C0 = CFrame.new(0, 1.37664187, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2111. Motor6D68.C1 = CFrame.new(0, -0.688320935, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  2112. Motor6D68.Part0 = Part62
  2113. Motor6D68.Part1 = Part74
  2114. Motor6D68.MaxVelocity = 0.10000000149012
  2115. Part69.Name = "Left Leg"
  2116. Part69.Parent = Model59
  2117. Part69.BrickColor = BrickColor.new("Black")
  2118. Part69.Rotation = Vector3.new(0, -90, 0)
  2119. Part69.CanCollide = false
  2120. Part69.FormFactor = Enum.FormFactor.Symmetric
  2121. Part69.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  2122. Part69.CFrame = CFrame.new(-8.29670906, 1.37665319, -21.8239555, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  2123. Part69.BottomSurface = Enum.SurfaceType.Smooth
  2124. Part69.TopSurface = Enum.SurfaceType.Smooth
  2125. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2126. Part69.Position = Vector3.new(-8.29670906, 1.37665319, -21.8239555)
  2127. Part69.Orientation = Vector3.new(0, -90, 0)
  2128. Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2129. Part70.Name = "Right Leg"
  2130. Part70.Parent = Model59
  2131. Part70.BrickColor = BrickColor.new("Black")
  2132. Part70.Rotation = Vector3.new(0, -90, 0)
  2133. Part70.CanCollide = false
  2134. Part70.FormFactor = Enum.FormFactor.Symmetric
  2135. Part70.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  2136. Part70.CFrame = CFrame.new(-8.29670906, 1.37665319, -20.4473152, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  2137. Part70.BottomSurface = Enum.SurfaceType.Smooth
  2138. Part70.TopSurface = Enum.SurfaceType.Smooth
  2139. Part70.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2140. Part70.Position = Vector3.new(-8.29670906, 1.37665319, -20.4473152)
  2141. Part70.Orientation = Vector3.new(0, -90, 0)
  2142. Part70.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2143. Part71.Name = "Left Arm"
  2144. Part71.Parent = Model59
  2145. Part71.BrickColor = BrickColor.new("Black")
  2146. Part71.Rotation = Vector3.new(0, -90, 0)
  2147. Part71.CanCollide = false
  2148. Part71.FormFactor = Enum.FormFactor.Symmetric
  2149. Part71.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  2150. Part71.CFrame = CFrame.new(-8.29670906, 4.1299367, -23.2005978, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  2151. Part71.BottomSurface = Enum.SurfaceType.Smooth
  2152. Part71.TopSurface = Enum.SurfaceType.Smooth
  2153. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2154. Part71.Position = Vector3.new(-8.29670906, 4.1299367, -23.2005978)
  2155. Part71.Orientation = Vector3.new(0, -90, 0)
  2156. Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2157. Part72.Name = "Right Arm"
  2158. Part72.Parent = Model59
  2159. Part72.BrickColor = BrickColor.new("Black")
  2160. Part72.Rotation = Vector3.new(0, -90, 0)
  2161. Part72.CanCollide = false
  2162. Part72.FormFactor = Enum.FormFactor.Symmetric
  2163. Part72.Size = Vector3.new(1.37664187, 2.75328374, 1.37664187)
  2164. Part72.CFrame = CFrame.new(-8.29670906, 4.1299367, -19.070673, 4.49431016e-21, -6.79974422e-22, -1, 4.72251821e-22, 0.999999881, -6.79974523e-22, 1, -4.7225177e-22, 4.49431016e-21)
  2165. Part72.BottomSurface = Enum.SurfaceType.Smooth
  2166. Part72.TopSurface = Enum.SurfaceType.Smooth
  2167. Part72.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2168. Part72.Position = Vector3.new(-8.29670906, 4.1299367, -19.070673)
  2169. Part72.Orientation = Vector3.new(0, -90, 0)
  2170. Part72.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2171. Weld73.Name = "RightGrip"
  2172. Weld73.Parent = Part72
  2173. Weld73.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  2174. Weld73.C1 = CFrame.new(0, 0, -1, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  2175. Weld73.Part0 = Part72
  2176. Weld73.Part1 = Part101
  2177. Part74.Name = "Head"
  2178. Part74.Parent = Model59
  2179. Part74.BrickColor = BrickColor.new("Black")
  2180. Part74.Rotation = Vector3.new(0, -90, 0)
  2181. Part74.FormFactor = Enum.FormFactor.Symmetric
  2182. Part74.Size = Vector3.new(2.75328374, 1.37664187, 1.37664187)
  2183. Part74.CFrame = CFrame.new(-8.29670906, 6.19489956, -21.1356354, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21)
  2184. Part74.BottomSurface = Enum.SurfaceType.Smooth
  2185. Part74.TopSurface = Enum.SurfaceType.Smooth
  2186. Part74.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2187. Part74.Position = Vector3.new(-8.29670906, 6.19489956, -21.1356354)
  2188. Part74.Orientation = Vector3.new(0, -90, 0)
  2189. Part74.Color = Color3.new(0.105882, 0.164706, 0.207843)
  2190. Decal75.Name = "Face"
  2191. Decal75.Parent = Part74
  2192. Decal75.Texture = "http://www.roblox.com/asset/?id=7074882"
  2193. SpecialMesh76.Parent = Part74
  2194. SpecialMesh76.Scale = Vector3.new(1.25, 1.25, 1.25)
  2195. SpecialMesh76.Scale = Vector3.new(1.25, 1.25, 1.25)
  2196. Humanoid77.Parent = Model59
  2197. Humanoid77.RightLeg = Part70
  2198. Humanoid77.LeftLeg = Part69
  2199. Humanoid77.Torso = Part60
  2200. Humanoid77.Health = 34353544
  2201. Humanoid77.MaxHealth = 34353544
  2202. Humanoid77.WalkSpeed = 25
  2203. Script78.Name = "Animate"
  2204. Script78.Parent = Model59
  2205. table.insert(cors,sandbox(Script78,function()
  2206. function waitForChild(parent, childName)
  2207. local child = parent:findFirstChild(childName)
  2208. if child then return child end
  2209. while true do
  2210. child = parent.ChildAdded:wait()
  2211. if child.Name==childName then return child end
  2212. end
  2213. end
  2214.  
  2215. local Figure = script.Parent
  2216. local Torso = waitForChild(Figure, "Torso")
  2217. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  2218. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  2219. local RightHip = waitForChild(Torso, "Right Hip")
  2220. local LeftHip = waitForChild(Torso, "Left Hip")
  2221. local Neck = waitForChild(Torso, "Neck")
  2222. local Humanoid = waitForChild(Figure, "Humanoid")
  2223. local pose = "Standing"
  2224.  
  2225. local currentAnim = ""
  2226. local currentAnimTrack = nil
  2227. local currentAnimKeyframeHandler = nil
  2228. local currentAnimSpeed = 1.0
  2229. local animTable = {}
  2230. local animNames = {
  2231. idle = {
  2232. { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
  2233. { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
  2234. },
  2235. walk = {
  2236. { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
  2237. },
  2238. run = {
  2239. { id = "run.xml", weight = 10 }
  2240. },
  2241. jump = {
  2242. { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
  2243. },
  2244. fall = {
  2245. { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
  2246. },
  2247. climb = {
  2248. { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
  2249. },
  2250. toolnone = {
  2251. { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
  2252. },
  2253. toolslash = {
  2254. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  2255. -- { id = "slash.xml", weight = 10 }
  2256. },
  2257. toollunge = {
  2258. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  2259. },
  2260. wave = {
  2261. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  2262. },
  2263. point = {
  2264. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  2265. },
  2266. dance = {
  2267. { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
  2268. { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
  2269. { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
  2270. },
  2271. dance2 = {
  2272. { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
  2273. { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
  2274. { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
  2275. },
  2276. dance3 = {
  2277. { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
  2278. { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
  2279. { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
  2280. },
  2281. laugh = {
  2282. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  2283. },
  2284. cheer = {
  2285. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  2286. },
  2287. }
  2288.  
  2289. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  2290. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  2291.  
  2292. math.randomseed(tick())
  2293.  
  2294. function configureAnimationSet(name, fileList)
  2295. if (animTable[name] ~= nil) then
  2296. for _, connection in pairs(animTable[name].connections) do
  2297. connection:disconnect()
  2298. end
  2299. end
  2300. animTable[name] = {}
  2301. animTable[name].count = 0
  2302. animTable[name].totalWeight = 0
  2303. animTable[name].connections = {}
  2304.  
  2305. -- check for config values
  2306. local config = script:FindFirstChild(name)
  2307. if (config ~= nil) then
  2308. -- print("Loading anims " .. name)
  2309. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  2310. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  2311. local idx = 1
  2312. for _, childPart in pairs(config:GetChildren()) do
  2313. if (childPart:IsA("Animation")) then
  2314. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  2315. animTable[name][idx] = {}
  2316. animTable[name][idx].anim = childPart
  2317. local weightObject = childPart:FindFirstChild("Weight")
  2318. if (weightObject == nil) then
  2319. animTable[name][idx].weight = 1
  2320. else
  2321. animTable[name][idx].weight = weightObject.Value
  2322. end
  2323. animTable[name].count = animTable[name].count + 1
  2324. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  2325. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  2326. idx = idx + 1
  2327. end
  2328. end
  2329. end
  2330.  
  2331. -- fallback to defaults
  2332. if (animTable[name].count <= 0) then
  2333. for idx, anim in pairs(fileList) do
  2334. animTable[name][idx] = {}
  2335. animTable[name][idx].anim = Instance.new("Animation")
  2336. animTable[name][idx].anim.Name = name
  2337. animTable[name][idx].anim.AnimationId = anim.id
  2338. animTable[name][idx].weight = anim.weight
  2339. animTable[name].count = animTable[name].count + 1
  2340. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  2341. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  2342. end
  2343. end
  2344. end
  2345.  
  2346. -- Setup animation objects
  2347. function scriptChildModified(child)
  2348. local fileList = animNames[child.Name]
  2349. if (fileList ~= nil) then
  2350. configureAnimationSet(child.Name, fileList)
  2351. end
  2352. end
  2353.  
  2354. script.ChildAdded:connect(scriptChildModified)
  2355. script.ChildRemoved:connect(scriptChildModified)
  2356.  
  2357.  
  2358. for name, fileList in pairs(animNames) do
  2359. configureAnimationSet(name, fileList)
  2360. end
  2361.  
  2362. -- ANIMATION
  2363.  
  2364. -- declarations
  2365. local toolAnim = "None"
  2366. local toolAnimTime = 0
  2367.  
  2368. local jumpAnimTime = 0
  2369. local jumpAnimDuration = 0.3
  2370.  
  2371. local toolTransitionTime = 0.1
  2372. local fallTransitionTime = 0.3
  2373. local jumpMaxLimbVelocity = 0.75
  2374.  
  2375. -- functions
  2376.  
  2377. function stopAllAnimations()
  2378. local oldAnim = currentAnim
  2379.  
  2380. -- return to idle if finishing an emote
  2381. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  2382. oldAnim = "idle"
  2383. end
  2384.  
  2385. currentAnim = ""
  2386. if (currentAnimKeyframeHandler ~= nil) then
  2387. currentAnimKeyframeHandler:disconnect()
  2388. end
  2389.  
  2390. if (currentAnimTrack ~= nil) then
  2391. currentAnimTrack:Stop()
  2392. currentAnimTrack:Destroy()
  2393. currentAnimTrack = nil
  2394. end
  2395. return oldAnim
  2396. end
  2397.  
  2398. function setAnimationSpeed(speed)
  2399. if speed ~= currentAnimSpeed then
  2400. currentAnimSpeed = speed
  2401. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  2402. end
  2403. end
  2404.  
  2405. function keyFrameReachedFunc(frameName)
  2406. if (frameName == "End") then
  2407. -- print("Keyframe : ".. frameName)
  2408. local repeatAnim = stopAllAnimations()
  2409. local animSpeed = currentAnimSpeed
  2410. playAnimation(repeatAnim, 0.0, Humanoid)
  2411. setAnimationSpeed(animSpeed)
  2412. end
  2413. end
  2414.  
  2415. -- Preload animations
  2416. function playAnimation(animName, transitionTime, humanoid)
  2417. local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
  2418. if (animName ~= currentAnim and not idleFromEmote) then
  2419.  
  2420. if (currentAnimTrack ~= nil) then
  2421. currentAnimTrack:Stop(transitionTime)
  2422. currentAnimTrack:Destroy()
  2423. end
  2424.  
  2425. currentAnimSpeed = 1.0
  2426. local roll = math.random(1, animTable[animName].totalWeight)
  2427. local origRoll = roll
  2428. local idx = 1
  2429. while (roll > animTable[animName][idx].weight) do
  2430. roll = roll - animTable[animName][idx].weight
  2431. idx = idx + 1
  2432. end
  2433. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  2434. local anim = animTable[animName][idx].anim
  2435.  
  2436. -- load it to the humanoid; get AnimationTrack
  2437. currentAnimTrack = humanoid:LoadAnimation(anim)
  2438.  
  2439. -- play the animation
  2440. currentAnimTrack:Play(transitionTime)
  2441. currentAnim = animName
  2442.  
  2443. -- set up keyframe name triggers
  2444. if (currentAnimKeyframeHandler ~= nil) then
  2445. currentAnimKeyframeHandler:disconnect()
  2446. end
  2447. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  2448. end
  2449. end
  2450.  
  2451. -------------------------------------------------------------------------------------------
  2452. -------------------------------------------------------------------------------------------
  2453.  
  2454. local toolAnimName = ""
  2455. local toolAnimTrack = nil
  2456. local currentToolAnimKeyframeHandler = nil
  2457.  
  2458. function toolKeyFrameReachedFunc(frameName)
  2459. if (frameName == "End") then
  2460. -- print("Keyframe : ".. frameName)
  2461. local repeatAnim = stopToolAnimations()
  2462. playToolAnimation(repeatAnim, 0.0, Humanoid)
  2463. end
  2464. end
  2465.  
  2466.  
  2467. function playToolAnimation(animName, transitionTime, humanoid)
  2468. if (animName ~= toolAnimName) then
  2469.  
  2470. if (toolAnimTrack ~= nil) then
  2471. toolAnimTrack:Stop()
  2472. toolAnimTrack:Destroy()
  2473. transitionTime = 0
  2474. end
  2475.  
  2476. local roll = math.random(1, animTable[animName].totalWeight)
  2477. local origRoll = roll
  2478. local idx = 1
  2479. while (roll > animTable[animName][idx].weight) do
  2480. roll = roll - animTable[animName][idx].weight
  2481. idx = idx + 1
  2482. end
  2483. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  2484. local anim = animTable[animName][idx].anim
  2485.  
  2486. -- load it to the humanoid; get AnimationTrack
  2487. toolAnimTrack = humanoid:LoadAnimation(anim)
  2488.  
  2489. -- play the animation
  2490. toolAnimTrack:Play(transitionTime)
  2491. toolAnimName = animName
  2492.  
  2493. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  2494. end
  2495. end
  2496.  
  2497. function stopToolAnimations()
  2498. local oldAnim = toolAnimName
  2499.  
  2500. if (currentToolAnimKeyframeHandler ~= nil) then
  2501. currentToolAnimKeyframeHandler:disconnect()
  2502. end
  2503.  
  2504. toolAnimName = ""
  2505. if (toolAnimTrack ~= nil) then
  2506. toolAnimTrack:Stop()
  2507. toolAnimTrack:Destroy()
  2508. toolAnimTrack = nil
  2509. end
  2510.  
  2511.  
  2512. return oldAnim
  2513. end
  2514.  
  2515. -------------------------------------------------------------------------------------------
  2516. -------------------------------------------------------------------------------------------
  2517.  
  2518.  
  2519. function onRunning(speed)
  2520. if speed>0.01 then
  2521. playAnimation("walk", 0.1, Humanoid)
  2522. pose = "Running"
  2523. else
  2524. playAnimation("idle", 0.1, Humanoid)
  2525. pose = "Standing"
  2526. end
  2527. end
  2528.  
  2529. function onDied()
  2530. pose = "Dead"
  2531. end
  2532.  
  2533. function onJumping()
  2534. playAnimation("jump", 0.1, Humanoid)
  2535. jumpAnimTime = jumpAnimDuration
  2536. pose = "Jumping"
  2537. end
  2538.  
  2539. function onClimbing(speed)
  2540. playAnimation("climb", 0.1, Humanoid)
  2541. setAnimationSpeed(speed / 12.0)
  2542. pose = "Climbing"
  2543. end
  2544.  
  2545. function onGettingUp()
  2546. pose = "GettingUp"
  2547. end
  2548.  
  2549. function onFreeFall()
  2550. if (jumpAnimTime <= 0) then
  2551. playAnimation("fall", fallTransitionTime, Humanoid)
  2552. end
  2553. pose = "FreeFall"
  2554. end
  2555.  
  2556. function onFallingDown()
  2557. pose = "FallingDown"
  2558. end
  2559.  
  2560. function onSeated()
  2561. pose = "Seated"
  2562. end
  2563.  
  2564. function onPlatformStanding()
  2565. pose = "PlatformStanding"
  2566. end
  2567.  
  2568. function onSwimming(speed)
  2569. if speed>0 then
  2570. pose = "Running"
  2571. else
  2572. pose = "Standing"
  2573. end
  2574. end
  2575.  
  2576. function getTool()
  2577. for _, kid in ipairs(Figure:GetChildren()) do
  2578. if kid.className == "Tool" then return kid end
  2579. end
  2580. return nil
  2581. end
  2582.  
  2583. function getToolAnim(tool)
  2584. for _, c in ipairs(tool:GetChildren()) do
  2585. if c.Name == "toolanim" and c.className == "StringValue" then
  2586. return c
  2587. end
  2588. end
  2589. return nil
  2590. end
  2591.  
  2592. function animateTool()
  2593.  
  2594. if (toolAnim == "None") then
  2595. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  2596. return
  2597. end
  2598.  
  2599. if (toolAnim == "Slash") then
  2600. playToolAnimation("toolslash", 0, Humanoid)
  2601. return
  2602. end
  2603.  
  2604. if (toolAnim == "Lunge") then
  2605. playToolAnimation("toollunge", 0, Humanoid)
  2606. return
  2607. end
  2608. end
  2609.  
  2610. function moveSit()
  2611. RightShoulder.MaxVelocity = 0.15
  2612. LeftShoulder.MaxVelocity = 0.15
  2613. RightShoulder:SetDesiredAngle(3.14 /2)
  2614. LeftShoulder:SetDesiredAngle(-3.14 /2)
  2615. RightHip:SetDesiredAngle(3.14 /2)
  2616. LeftHip:SetDesiredAngle(-3.14 /2)
  2617. end
  2618.  
  2619. local lastTick = 0
  2620.  
  2621. function move(time)
  2622. local amplitude = 1
  2623. local frequency = 1
  2624. local deltaTime = time - lastTick
  2625. lastTick = time
  2626.  
  2627. local climbFudge = 0
  2628. local setAngles = false
  2629.  
  2630. if (jumpAnimTime > 0) then
  2631. jumpAnimTime = jumpAnimTime - deltaTime
  2632. end
  2633.  
  2634. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  2635. playAnimation("fall", fallTransitionTime, Humanoid)
  2636. elseif (pose == "Seated") then
  2637. stopAllAnimations()
  2638. moveSit()
  2639. return
  2640. elseif (pose == "Running") then
  2641. playAnimation("walk", 0.1, Humanoid)
  2642. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  2643. -- print("Wha " .. pose)
  2644. amplitude = 0.1
  2645. frequency = 1
  2646. setAngles = true
  2647. end
  2648.  
  2649. if (setAngles) then
  2650. desiredAngle = amplitude * math.sin(time * frequency)
  2651.  
  2652. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  2653. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  2654. RightHip:SetDesiredAngle(-desiredAngle)
  2655. LeftHip:SetDesiredAngle(-desiredAngle)
  2656. end
  2657.  
  2658. -- Tool Animation handling
  2659. local tool = getTool()
  2660. if tool then
  2661.  
  2662. animStringValueObject = getToolAnim(tool)
  2663.  
  2664. if animStringValueObject then
  2665. toolAnim = animStringValueObject.Value
  2666. -- message recieved, delete StringValue
  2667. animStringValueObject.Parent = nil
  2668. toolAnimTime = time + .3
  2669. end
  2670.  
  2671. if time > toolAnimTime then
  2672. toolAnimTime = 0
  2673. toolAnim = "None"
  2674. end
  2675.  
  2676. animateTool()
  2677. else
  2678. stopToolAnimations()
  2679. toolAnim = "None"
  2680. toolAnimTime = 0
  2681. end
  2682. end
  2683.  
  2684. -- connect events
  2685. Humanoid.Died:connect(onDied)
  2686. Humanoid.Running:connect(onRunning)
  2687. Humanoid.Jumping:connect(onJumping)
  2688. Humanoid.Climbing:connect(onClimbing)
  2689. Humanoid.GettingUp:connect(onGettingUp)
  2690. Humanoid.FreeFalling:connect(onFreeFall)
  2691. Humanoid.FallingDown:connect(onFallingDown)
  2692. Humanoid.Seated:connect(onSeated)
  2693. Humanoid.PlatformStanding:connect(onPlatformStanding)
  2694. Humanoid.Swimming:connect(onSwimming)
  2695.  
  2696. -- main program
  2697.  
  2698. local runService = game:service("RunService");
  2699.  
  2700. -- initialize to idle
  2701. playAnimation("idle", 0.1, Humanoid)
  2702. pose = "Standing"
  2703.  
  2704. while Figure.Parent~=nil do
  2705. local _, time = wait(0.1)
  2706. move(time)
  2707. end
  2708.  
  2709.  
  2710.  
  2711. end))
  2712. StringValue79.Name = "climb"
  2713. StringValue79.Parent = Script78
  2714. Animation80.Name = "ClimbAnim"
  2715. Animation80.Parent = StringValue79
  2716. Animation80.AnimationId = "http://www.roblox.com/asset/?id=125750800"
  2717. StringValue81.Name = "fall"
  2718. StringValue81.Parent = Script78
  2719. Animation82.Name = "FallAnim"
  2720. Animation82.Parent = StringValue81
  2721. Animation82.AnimationId = "http://www.roblox.com/asset/?id=125750759"
  2722. StringValue83.Name = "idle"
  2723. StringValue83.Parent = Script78
  2724. Animation84.Name = "Animation1"
  2725. Animation84.Parent = StringValue83
  2726. Animation84.AnimationId = "http://www.roblox.com/asset/?id=125750544"
  2727. NumberValue85.Name = "Weight"
  2728. NumberValue85.Parent = Animation84
  2729. NumberValue85.Value = 9
  2730. Animation86.Name = "Animation2"
  2731. Animation86.Parent = StringValue83
  2732. Animation86.AnimationId = "http://www.roblox.com/asset/?id=125750618"
  2733. NumberValue87.Name = "Weight"
  2734. NumberValue87.Parent = Animation86
  2735. NumberValue87.Value = 1
  2736. StringValue88.Name = "jump"
  2737. StringValue88.Parent = Script78
  2738. Animation89.Name = "JumpAnim"
  2739. Animation89.Parent = StringValue88
  2740. Animation89.AnimationId = "http://www.roblox.com/asset/?id=125750702"
  2741. StringValue90.Name = "run"
  2742. StringValue90.Parent = Script78
  2743. Animation91.Name = "RunAnim"
  2744. Animation91.Parent = StringValue90
  2745. Animation91.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  2746. StringValue92.Name = "toolnone"
  2747. StringValue92.Parent = Script78
  2748. Animation93.Name = "ToolNoneAnim"
  2749. Animation93.Parent = StringValue92
  2750. Animation93.AnimationId = "http://www.roblox.com/asset/?id=125750867"
  2751. StringValue94.Name = "walk"
  2752. StringValue94.Parent = Script78
  2753. Animation95.Name = "WalkAnim"
  2754. Animation95.Parent = StringValue94
  2755. Animation95.AnimationId = "http://www.roblox.com/asset/?id=125749145"
  2756. Sound96.Name = "Moan"
  2757. Sound96.Parent = Model59
  2758. Sound96.Pitch = 0.15000000596046
  2759. Sound96.SoundId = "http://www.roblox.com/asset/?id=12222242"
  2760. Sound96.Volume = 0.050000000745058
  2761. Tool97.Name = "Epic Hammer"
  2762. Tool97.Parent = Model59
  2763. Tool97.GripForward = Vector3.new(-1, -0, -0)
  2764. Tool97.GripPos = Vector3.new(0, 0, -1)
  2765. Tool97.GripRight = Vector3.new(0, 1, 0)
  2766. Tool97.GripUp = Vector3.new(0, 0, 1)
  2767. Tool97.ToolTip = "This can make you dash"
  2768. LocalScript98.Name = "Local Gui"
  2769. LocalScript98.Parent = Tool97
  2770. table.insert(cors,sandbox(LocalScript98,function()
  2771. local Tool = script.Parent;
  2772.  
  2773. enabled = true
  2774. function onButton1Down(mouse)
  2775. if not enabled then
  2776. return
  2777. end
  2778.  
  2779. enabled = false
  2780. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  2781.  
  2782. wait(1)
  2783. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2784. enabled = true
  2785.  
  2786. end
  2787.  
  2788. function onEquippedLocal(mouse)
  2789.  
  2790. if mouse == nil then
  2791. print("Mouse not found")
  2792. return
  2793. end
  2794.  
  2795. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2796. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  2797. end
  2798.  
  2799.  
  2800. Tool.Equipped:connect(onEquippedLocal)
  2801.  
  2802. end))
  2803. Script99.Name = "IceHammer"
  2804. Script99.Parent = Tool97
  2805. table.insert(cors,sandbox(Script99,function()
  2806. -------- OMG HAX
  2807.  
  2808. at2 = 0
  2809. debris = game:GetService("Debris")
  2810. r = game:service("RunService")
  2811.  
  2812. cool = 5
  2813.  
  2814. mod = Instance.new("Model")
  2815. mod.Parent = script.Parent
  2816. h = Instance.new("Humanoid")
  2817. h.Parent = mod
  2818. h.MaxHealth = 0
  2819. head = Instance.new("Part")
  2820. head.Name = "Head"
  2821. head.Transparency = 0.989
  2822. head.BrickColor = BrickColor.new("Really black")
  2823. head.formFactor = "Custom"
  2824. head.Size = Vector3.new(0.2,0.2,0.2)
  2825. head.TopSurface = 0
  2826. head.BottomSurface = 0
  2827. head.Anchored = true
  2828. head.Parent = mod
  2829.  
  2830. local damage = 7
  2831.  
  2832.  
  2833. local slash_damage = 3
  2834.  
  2835.  
  2836. sword = script.Parent.Handle
  2837. Tool = script.Parent
  2838.  
  2839.  
  2840. local SlashSound = Instance.new("Sound")
  2841. SlashSound.SoundId = "http://www.roblox.com/asset/?id=926058764"
  2842. SlashSound.Parent = sword
  2843. SlashSound.Pitch = 1
  2844. SlashSound.Volume = 10
  2845.  
  2846.  
  2847. local UnsheathSound = Instance.new("Sound")
  2848. UnsheathSound.SoundId = "http://www.roblox.com/asset/?id=15933756"
  2849. UnsheathSound.Parent = sword
  2850. UnsheathSound.Volume = 1
  2851.  
  2852. --local blues = {"Really blue", "Really black", "Black", "Bright blue"}
  2853.  
  2854.  
  2855. function isTurbo(character)
  2856. return character:FindFirstChild("WingwsHeaddess") ~= nil
  2857. end
  2858.  
  2859. function allThatIce(pos, isTurbo)
  2860.  
  2861. local count = 1
  2862. if (isTurbo == true) then count = 1 end
  2863.  
  2864. for i=1,count do
  2865. local p = Instance.new("Part")
  2866. --p.BrickColor = BrickColor.new(blues[math.random(#blues)])
  2867. p.formFactor = "Symmetric"
  2868. p.Name = "ICEY NOOB"
  2869. p.Size = Vector3.new(5,5,1)
  2870. p.BrickColor = BrickColor.new("New Yeller")
  2871. p.TopSurface = 0
  2872. p.Material = "Neon"
  2873. p.Transparency = 0.5
  2874. p.CanCollide = false
  2875. --p.Shape = 0
  2876. p.Friction = 0
  2877. p.Elasticity = 0
  2878. p.BottomSurface = 0
  2879.  
  2880. local a = math.random() * 6.28
  2881. local d = Vector3.new(math.cos(a), 0, math.sin(a)).unit
  2882. bv = script.BodyVelocity:clone()
  2883. bv.Parent = p
  2884. --p.RotVelocity = d * 1000
  2885. p.CFrame = CFrame.new(pos + Vector3.new(0, 0, 0) + (d * 0), Tool.Parent.Torso.CFrame.lookVector * -9999999999)
  2886. --p.CFrame = CFrame.new(p.Position, Tool.Parent.Torso.Position)
  2887. p.Parent = game.Workspace
  2888.  
  2889. debris:AddItem(p, 0.1)
  2890. wait()
  2891. end
  2892.  
  2893. end
  2894.  
  2895.  
  2896. function blow(hit)
  2897. local humanoid = hit.Parent:findFirstChild("Humanoid")
  2898. local vCharacter = Tool.Parent
  2899. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2900. local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
  2901.  
  2902.  
  2903.  
  2904. if humanoid~=nil and humanoid ~= hum and hum ~= nil then
  2905. -- final check, make sure sword is in-hand
  2906.  
  2907. local right_arm = vCharacter:FindFirstChild("Right Arm")
  2908. if (right_arm ~= nil) then
  2909. local joint = right_arm:FindFirstChild("RightGrip")
  2910. if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then
  2911. tagHumanoid(humanoid, vPlayer)
  2912. if (isTurbo(vCharacter) == true) then
  2913. humanoid:TakeDamage(damage * 1.2)
  2914. else
  2915. humanoid:TakeDamage(damage)
  2916. end
  2917. end
  2918. end
  2919.  
  2920.  
  2921. end
  2922. end
  2923.  
  2924.  
  2925. function tagHumanoid(humanoid, player)
  2926. local creator_tag = Instance.new("ObjectValue")
  2927. creator_tag.Value = player
  2928. creator_tag.Name = "creator"
  2929. creator_tag.Parent = humanoid
  2930. debris:AddItem(creator_tag, 1)
  2931. end
  2932.  
  2933.  
  2934.  
  2935.  
  2936. function attack()
  2937. CHARACTER =script.Parent.Parent
  2938. for i = 1,5 do
  2939. allThatIce(CHARACTER.Torso.Position + (CHARACTER.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(CHARACTER))
  2940. end
  2941.  
  2942. SlashSound:play()
  2943. local anim = Instance.new("StringValue")
  2944. anim.Name = "toolanim"
  2945. anim.Value = "Slash"
  2946. anim.Parent = Tool
  2947. lol = script.Parent.Parent.Torso
  2948. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  2949. wait(0.1)
  2950. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 150 -- Foward Dash
  2951. wait(0.1)
  2952. lol.Velocity = script.Parent.Parent.Head.CFrame.lookVector * 50 -- Foward Dash
  2953. wait(0.1)
  2954.  
  2955. end
  2956.  
  2957.  
  2958.  
  2959.  
  2960. function swordUp()
  2961. Tool.GripForward = Vector3.new(-1,0,0)
  2962. Tool.GripRight = Vector3.new(0,1,0)
  2963. Tool.GripUp = Vector3.new(0,0,1)
  2964. end
  2965.  
  2966. function swordOut()
  2967. Tool.GripForward = Vector3.new(0,0,1)
  2968. Tool.GripRight = Vector3.new(0,-1,0)
  2969. Tool.GripUp = Vector3.new(-1,0,0)
  2970. end
  2971.  
  2972.  
  2973.  
  2974. Tool.Enabled = true
  2975.  
  2976.  
  2977.  
  2978.  
  2979. function onActivated()
  2980.  
  2981. if not Tool.Enabled then
  2982. return
  2983. end
  2984.  
  2985. Tool.Enabled = false
  2986.  
  2987. local character = Tool.Parent;
  2988. local humanoid = character.Humanoid
  2989. if humanoid == nil then
  2990. print("Humanoid not found")
  2991. return
  2992. end
  2993.  
  2994.  
  2995.  
  2996. if cool >= 1 then
  2997. attack()
  2998. if character.Torso.Velocity.y * -1 < 3 then
  2999. damage = 10
  3000. cool = cool - 1
  3001. b = script.BodyVelocity:clone()
  3002. b.velocity = character.Torso.CFrame.lookVector * 200
  3003. b.Parent = character.Torso
  3004. game:GetService("Debris"):AddItem(b,0.4)
  3005. for i = 1,5 do
  3006. allThatIce(character.Torso.Position + (character.Torso.CFrame.lookVector * 0) - Vector3.new(0,0,0), isTurbo(character))
  3007. end
  3008. damage = 5
  3009. b.velocity = Vector3.new(0,0,0)
  3010. end
  3011. end
  3012. mod.Name = "" .. cool .. ""
  3013. mod.Head.Position = Tool.Handle.Position + Vector3.new(0,10,0)
  3014. wait(0.5)
  3015. Tool.Enabled = true
  3016. end
  3017.  
  3018.  
  3019. function onEquipped()
  3020. UnsheathSound:play()
  3021. script.Parent.Handle.Boss:Play()
  3022. end
  3023.  
  3024. function Stopmusic()
  3025. script.Parent.Handle.Boss:Stop()
  3026. end
  3027.  
  3028. script.Parent.Activated:connect(onActivated)
  3029. script.Parent.Equipped:connect(onEquipped)
  3030. script.Parent.Unequipped:connect(Stopmusic)
  3031.  
  3032. connection = sword.Touched:connect(blow)
  3033.  
  3034. while true do
  3035.  
  3036. wait(0.0000001)
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052. attack()
  3053.  
  3054.  
  3055.  
  3056.  
  3057. wait(4)
  3058.  
  3059. swordUp()
  3060.  
  3061.  
  3062.  
  3063. bomb = Instance.new("Part")
  3064. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  3065. bomb.Position = Tool.Handle.Position
  3066. bomb.Material = "Neon"
  3067. bomb.Shape = "0"
  3068. bomb.BrickColor = BrickColor.Red()
  3069. bomb.Name = "Explosion"
  3070. bomb.Anchored = true
  3071. bomb.Parent = workspace
  3072. local anim = Instance.new("Animation")
  3073. anim.AnimationId = "rbxassetid://973866387"
  3074.  
  3075.  
  3076. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  3077. playAnim:Play()
  3078.  
  3079. for n = 1,20 do
  3080. wait()
  3081. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  3082. bomb.Transparency = bomb.Transparency + 0.01
  3083. bomb.CanCollide = false
  3084.  
  3085.  
  3086. end
  3087.  
  3088. bomb:Destroy()
  3089. anim:Destroy()
  3090. Tool.GripForward = Vector3.new(-1,0,0)
  3091. Tool.GripRight = Vector3.new(0,1,0)
  3092. Tool.GripUp = Vector3.new(0,0,1)
  3093.  
  3094. wait(5)
  3095.  
  3096. attack()
  3097.  
  3098. wait(5)
  3099. attack()
  3100. attack()
  3101. attack()
  3102. attack()
  3103. attack()
  3104. attack()
  3105. attack()
  3106. attack()
  3107. attack()
  3108. attack()
  3109.  
  3110. if workspace.Darkness.Sound.SoundId== "rbxassetid://1310017688"then
  3111. bomb = Instance.new("Part")
  3112. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  3113. bomb.Position = Tool.Handle.Position
  3114. bomb.Material = "Neon"
  3115. bomb.Shape = "0"
  3116. bomb.BrickColor = BrickColor.Red()
  3117. bomb.Name = "Explosion"
  3118. bomb.Anchored = true
  3119. bomb.Parent = workspace
  3120. local anim = Instance.new("Animation")
  3121. anim.AnimationId = "rbxassetid://973866387"
  3122.  
  3123.  
  3124. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  3125. playAnim:Play()
  3126.  
  3127. for n = 1,20 do
  3128. wait()
  3129. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  3130. bomb.Transparency = bomb.Transparency + 0.01
  3131. bomb.CanCollide = false
  3132.  
  3133.  
  3134. end
  3135.  
  3136. bomb:Destroy()
  3137. anim:Destroy()
  3138. Tool.GripForward = Vector3.new(-1,0,0)
  3139. Tool.GripRight = Vector3.new(0,1,0)
  3140. Tool.GripUp = Vector3.new(0,0,1)
  3141.  
  3142. attack()
  3143. attack()
  3144. attack()
  3145. attack()
  3146. attack()
  3147. attack()
  3148. attack()
  3149. attack()
  3150. attack()
  3151. attack()
  3152. bomb = Instance.new("Part")
  3153. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  3154. bomb.Position = Tool.Handle.Position
  3155. bomb.Material = "Neon"
  3156. bomb.Shape = "0"
  3157. bomb.BrickColor = BrickColor.Red()
  3158. bomb.Name = "Explosion"
  3159. bomb.Anchored = true
  3160. bomb.Parent = workspace
  3161. local anim = Instance.new("Animation")
  3162. anim.AnimationId = "rbxassetid://973866387"
  3163.  
  3164.  
  3165. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  3166. playAnim:Play()
  3167.  
  3168. for n = 1,20 do
  3169. wait()
  3170. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  3171. bomb.Transparency = bomb.Transparency + 0.01
  3172. bomb.CanCollide = false
  3173.  
  3174.  
  3175. end
  3176.  
  3177. bomb:Destroy()
  3178. anim:Destroy()
  3179. Tool.GripForward = Vector3.new(-1,0,0)
  3180. Tool.GripRight = Vector3.new(0,1,0)
  3181. Tool.GripUp = Vector3.new(0,0,1)
  3182. attack()
  3183. attack()
  3184. attack()
  3185. attack()
  3186. attack()
  3187. attack()
  3188. attack()
  3189. attack()
  3190. attack()
  3191. attack()
  3192. bomb = Instance.new("Part")
  3193. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  3194. bomb.Position = Tool.Handle.Position
  3195. bomb.Material = "Neon"
  3196. bomb.Shape = "0"
  3197. bomb.BrickColor = BrickColor.Red()
  3198. bomb.Name = "Explosion"
  3199. bomb.Anchored = true
  3200. bomb.Parent = workspace
  3201. local anim = Instance.new("Animation")
  3202. anim.AnimationId = "rbxassetid://973866387"
  3203.  
  3204.  
  3205. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  3206. playAnim:Play()
  3207.  
  3208. for n = 1,20 do
  3209. wait()
  3210. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  3211. bomb.Transparency = bomb.Transparency + 0.01
  3212. bomb.CanCollide = false
  3213.  
  3214.  
  3215. end
  3216.  
  3217. bomb:Destroy()
  3218. anim:Destroy()
  3219. Tool.GripForward = Vector3.new(-1,0,0)
  3220. Tool.GripRight = Vector3.new(0,1,0)
  3221. Tool.GripUp = Vector3.new(0,0,1)
  3222. attack()
  3223. attack()
  3224. attack()
  3225. attack()
  3226. attack()
  3227. attack()
  3228. attack()
  3229. attack()
  3230. attack()
  3231. attack()
  3232. bomb = Instance.new("Part")
  3233. bomb.CFrame = CFrame.fromEulerAnglesXYZ(0,math.pi/20,10)
  3234. bomb.Position = Tool.Handle.Position
  3235. bomb.Material = "Neon"
  3236. bomb.Shape = "0"
  3237. bomb.BrickColor = BrickColor.Red()
  3238. bomb.Name = "Explosion"
  3239. bomb.Anchored = true
  3240. bomb.Parent = workspace
  3241. local anim = Instance.new("Animation")
  3242. anim.AnimationId = "rbxassetid://973866387"
  3243.  
  3244.  
  3245. local playAnim = Tool.Parent.Humanoid:LoadAnimation(anim)
  3246. playAnim:Play()
  3247.  
  3248. for n = 1,20 do
  3249. wait()
  3250. bomb.Size = bomb.Size + Vector3.new(1,1,1)
  3251. bomb.Transparency = bomb.Transparency + 0.01
  3252. bomb.CanCollide = false
  3253.  
  3254.  
  3255. end
  3256.  
  3257. bomb:Destroy()
  3258. anim:Destroy()
  3259. Tool.GripForward = Vector3.new(-1,0,0)
  3260. Tool.GripRight = Vector3.new(0,1,0)
  3261. Tool.GripUp = Vector3.new(0,0,1)
  3262.  
  3263. end
  3264. end
  3265.  
  3266. end))
  3267. BodyVelocity100.Parent = Script99
  3268. BodyVelocity100.Velocity = Vector3.new(0, 0, 0)
  3269. BodyVelocity100.velocity = Vector3.new(0, 0, 0)
  3270. Part101.Name = "Handle"
  3271. Part101.Parent = Tool97
  3272. Part101.BrickColor = BrickColor.new("Really black")
  3273. Part101.Rotation = Vector3.new(90, 90, 0)
  3274. Part101.CanCollide = false
  3275. Part101.Size = Vector3.new(3.1400001, 1.898, 6.28399992)
  3276. Part101.CFrame = CFrame.new(-7.29670906, 3.1299367, -19.070673, -6.79974422e-22, 4.49431016e-21, 1, 0.999999881, 4.72251821e-22, 6.79974523e-22, -4.7225177e-22, 1, -4.49431016e-21)
  3277. Part101.BottomSurface = Enum.SurfaceType.Smooth
  3278. Part101.TopSurface = Enum.SurfaceType.Smooth
  3279. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3280. Part101.Position = Vector3.new(-7.29670906, 3.1299367, -19.070673)
  3281. Part101.Orientation = Vector3.new(0, 90, 90)
  3282. Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  3283. Sound102.Name = "Boss"
  3284. Sound102.Parent = Part101
  3285. Sound102.Volume = 2
  3286. SpecialMesh103.Parent = Part101
  3287. SpecialMesh103.MeshId = "rbxassetid://15924243"
  3288. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  3289. SpecialMesh103.MeshType = Enum.MeshType.FileMesh
  3290. SpecialMesh103.Scale = Vector3.new(2, 2, 2)
  3291. BoolValue104.Name = "CanAttack"
  3292. BoolValue104.Parent = Model59
  3293. Sound105.Parent = Model59
  3294. Sound105.SoundId = "rbxassetid://233363838"
  3295. Sound105.Volume = 5
  3296. Sound105.Looped = true
  3297. Sound105:Play()
  3298. Script106.Name = "Follow"
  3299. Script106.Parent = Model59
  3300. table.insert(cors,sandbox(Script106,function()
  3301. local larm = script.Parent:FindFirstChild("Left Arm")
  3302. local rarm = script.Parent:FindFirstChild("Right Arm")
  3303.  
  3304. function findNearestTorso(pos)
  3305. local list = game.Workspace:children()
  3306. local torso = nil
  3307. local dist = 455
  3308. local temp = nil
  3309. local human = nil
  3310. local temp2 = nil
  3311. for x = 1, #list do
  3312. temp2 = list[x]
  3313. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  3314. temp = temp2:findFirstChild("Torso")
  3315. human = temp2:findFirstChild("Humanoid")
  3316. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3317. if (temp.Position - pos).magnitude < dist then
  3318. torso = temp
  3319. dist = (temp.Position - pos).magnitude
  3320. end
  3321. end
  3322. end
  3323. end
  3324. return torso
  3325. end
  3326.  
  3327. while true do
  3328.  
  3329. wait(0.1)
  3330. local target = findNearestTorso(script.Parent.Torso.Position)
  3331.  
  3332. if target ~= nil then
  3333.  
  3334. script.Parent.Humanoid:MoveTo(target.Position, target)
  3335. elseif script.Parent.CanAttack == false then
  3336.  
  3337. script.Parent.CanAttack = true
  3338.  
  3339. end
  3340.  
  3341.  
  3342.  
  3343. end
  3344. end))
  3345. Configuration107.Name = "Pack"
  3346. Configuration107.Parent = Model59
  3347. Script108.Parent = Model59
  3348. table.insert(cors,sandbox(Script108,function()
  3349. wait(180)
  3350.  
  3351.  
  3352. soundy = script.Parent.Sound
  3353.  
  3354.  
  3355. for s = 1,20 do
  3356. wait(0.1)
  3357. soundy.Volume = soundy.Volume - 0.3
  3358. end
  3359.  
  3360. soundy.SoundId= "rbxassetid://316889671"
  3361.  
  3362. for s = 1,30 do
  3363. wait(0.1)
  3364. soundy.Volume = soundy.Volume + 0.2
  3365. end
  3366.  
  3367.  
  3368.  
  3369. wait(2)
  3370. soundy.SoundId= "rbxassetid://1310017688"
  3371.  
  3372. bossfight2 = game.Lighting
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399. end))
  3400. BillboardGui109.Parent = Model59
  3401. BillboardGui109.Size = UDim2.new(0, 100, 0, 30)
  3402. BillboardGui109.StudsOffset = Vector3.new(0, 5, 0)
  3403. TextLabel110.Parent = BillboardGui109
  3404. TextLabel110.Size = UDim2.new(1, 0, 1, 0)
  3405. TextLabel110.Text = "Idle"
  3406. TextLabel110.Visible = false
  3407. TextLabel110.BackgroundColor3 = Color3.new(1, 1, 1)
  3408. TextLabel110.Font = Enum.Font.SourceSansBold
  3409. TextLabel110.FontSize = Enum.FontSize.Size24
  3410. StringValue111.Parent = Model59
  3411. for i,v in pairs(mas:GetChildren()) do
  3412. v.Parent = workspace
  3413. pcall(function() v:MakeJoints() end)
  3414. end
  3415. mas:Destroy()
  3416. for i,v in pairs(cors) do
  3417. spawn(function()
  3418. pcall(v)
  3419. end)
  3420. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement