Advertisement
JacksoMykalJunior

Untitled

Mar 7th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 186.55 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  5. print("Have Fun!")
  6. print("New Update Animation Started!")
  7. print("YAY!")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. function ChangeSanity()
  22. ATTACK = true
  23. Rooted = true
  24. if MODE == "BANISH OF THE UNKNOWN" then
  25. for i=0, 0.3, 0.1 / Animation_Speed do
  26. Swait()
  27. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  28. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  29. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  30. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  31. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  32. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  33. end
  34. for i=0, 1, 0.1 / Animation_Speed do
  35. Swait()
  36. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  37. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  38. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  39. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  40. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  41. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  42. end
  43. CreateSound(363808674, Torso, 6, 1, false)
  44. for i=0, 0.6, 0.1 / Animation_Speed do
  45. Swait()
  46. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  47. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  48. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  49. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  50. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  51. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  52. end
  53. CreateSound(363808674, Torso, 6, 1, false)
  54. for i=0, 0.6, 0.1 / Animation_Speed do
  55. Swait()
  56. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  57. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  58. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  59. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  60. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  61. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  62. end
  63. SONG = 1812212957
  64. text.Text = "Revenge Ravager"
  65. MODE = "RR"
  66. elseif MODE == "RR" then
  67. CreateSound(147722227, Torso, 4, 1.3, false)
  68. for i=0, 0.3, 0.1 / Animation_Speed do
  69. Swait()
  70. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  71. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  72. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  73. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  74. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  75. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  76. end
  77. SONG = 1812212957
  78. text.Text = "BANISH OF THE UNKNOWN"
  79. MODE = "BANISH OF THE UNKNOWN"
  80. end
  81. ATTACK = false
  82. Rooted = false
  83. end
  84.  
  85. function ChangeSanityMadness()
  86. ATTACK = true
  87. Rooted = true
  88. if MODE == "BANISH OF THE UNKNOWN" then
  89. for i=0, 0.3, 0.1 / Animation_Speed do
  90. Swait()
  91. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  92. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  93. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  94. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  95. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  96. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  97. end
  98. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
  99. ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
  100. CreateSound(363808674, Torso, 6, 1, false)
  101. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  102. CreateSound(363808674, Torso, 6, 1, false)
  103. for i=0, 1, 0.1 / Animation_Speed do
  104. Swait()
  105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  109. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  110. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  111. end
  112. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
  113. ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
  114. CreateSound(363808674, Torso, 6, 1, false)
  115. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  116. CreateSound(363808674, Torso, 6, 1, false)
  117. CreateSound(363808674, Torso, 6, 1, false)
  118. for i=0, 0.6, 0.1 / Animation_Speed do
  119. Swait()
  120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  121. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  122. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  123. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  124. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  125. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  126. end
  127. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
  128. ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
  129. CreateSound(363808674, Torso, 6, 1, false)
  130. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  131. CreateSound(363808674, Torso, 6, 1, false)
  132. for i=0, 0.6, 0.1 / Animation_Speed do
  133. Swait()
  134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  140. end
  141. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(500,500,500))
  142. ApplyAoE6(Torso.Position, 9999, 0, 0, 0, true)
  143. CreateSound(363808674, Torso, 6, 1, false)
  144. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  145. CreateSound(363808674, Torso, 6, 1, false)
  146. SONG = 779838221
  147. text.Text = "Corrupted Burning Hope"
  148. MODE = "GC"
  149. elseif MODE == "GC" then
  150. CreateSound(147722227, Torso, 4, 1.3, false)
  151. for i=0, 0.3, 0.1 / Animation_Speed do
  152. Swait()
  153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  159. end
  160. SONG = 1812212957
  161. text.Text = "BANISH OF THE UNKNOWN"
  162. MODE = "BANISH OF THE UNKNOWN"
  163. end
  164. ATTACK = false
  165. Rooted = false
  166. end
  167.  
  168. function BreakSanity()
  169. ATTACK = true
  170. Rooted = true
  171. if MODE == "BANISH IF THE UNKNOWN" then
  172. for i=0, 0.3, 0.1 / Animation_Speed do
  173. Swait()
  174. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  178. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  179. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  180. end
  181. for i=0, 1, 0.1 / Animation_Speed do
  182. Swait()
  183. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  187. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  188. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  189. end
  190. CreateSound(363808674, Torso, 6, 1, false)
  191. for i=0, 0.6, 0.1 / Animation_Speed do
  192. Swait()
  193. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  194. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  195. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  196. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  197. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  198. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  199. end
  200. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  201. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  202. CreateSound(363808674, Torso, 6, 1, false)
  203. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
  204. for i=0, 0.6, 0.1 / Animation_Speed do
  205. Swait()
  206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  210. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  211. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  212. end
  213. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  214. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  215. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
  216. SONG = 779838221
  217. text.Text = "WIP"
  218. MODE = "SR"
  219. elseif MODE == "SR" then
  220. CreateSound(147722227, Torso, 4, 1.3, false)
  221. for i=0, 0.3, 0.1 / Animation_Speed do
  222. Swait()
  223. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  227. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  228. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  229. end
  230. SONG = 1812212957
  231. text.Text = "BANISH OF THE UNKNOWN"
  232. MODE = "BANISH OF THE UNKNOWN"
  233. end
  234. ATTACK = false
  235. Rooted = false
  236. end
  237.  
  238. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  239. local DIRECTION = CF(StartPos,EndPos).lookVector
  240. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  241. end
  242.  
  243. function SpawnTrail(FROM,TO,BIG)
  244. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", VT(0,0,0))
  245. MakeForm(TRAIL,"Cyl")
  246. local DIST = (FROM - TO).Magnitude
  247. if BIG == true then
  248. TRAIL.Size = VT(0.15,DIST,0.15)
  249. else
  250. TRAIL.Size = VT(0.45,DIST,0.45)
  251. end
  252. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  253. coroutine.resume(coroutine.create(function()
  254. for i = 1, 5 do
  255. Swait()
  256. TRAIL.Transparency = TRAIL.Transparency + 0.1
  257. end
  258. TRAIL:remove()
  259. end))
  260. end
  261.  
  262. local asd = Instance.new("ParticleEmitter")
  263. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  264. asd.LightEmission = .1
  265. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  266. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  267. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  268. asd.Transparency = bbb
  269. asd.Size = aaa
  270. asd.ZOffset = .9
  271. asd.Acceleration = Vector3.new(0, -15, 0)
  272. asd.LockedToPart = false
  273. asd.EmissionDirection = "Back"
  274. asd.Lifetime = NumberRange.new(1, 2)
  275. asd.Rotation = NumberRange.new(-100, 100)
  276. asd.RotSpeed = NumberRange.new(-100, 100)
  277. asd.Speed = NumberRange.new(10)
  278. asd.Enabled = false
  279. asd.VelocitySpread = 999
  280.  
  281. function getbloody(victim,amount)
  282. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  283. PART.CFrame = victim.CFrame
  284. local HITPLAYERSOUNDS = {"356551938","264486467"}
  285. Debris:AddItem(PART,5)
  286. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  287. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  288. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  289. local prtcl = asd:Clone()
  290. prtcl.Parent = PART
  291. prtcl:Emit(amount*10)
  292. end
  293.  
  294. function Kill2(Char)
  295. local NewCharacter = IT("Model",Effects)
  296. NewCharacter.Name = "Ow im ded ;-;"
  297. for _, c in pairs(Char:GetDescendants()) do
  298. if c:IsA("BasePart") and c.Transparency == 0 then
  299. if c.Parent == Char then
  300. getbloody(c,5)
  301. end
  302. c:BreakJoints()
  303. c.Material = "Glass"
  304. c.Color = C3(0.5,0.3,0)
  305. c.CanCollide = true
  306. c.Transparency = 0.3
  307. if c:FindFirstChildOfClass("SpecialMesh") then
  308. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  309. end
  310. if c.Name == "Head" then
  311. c:ClearAllChildren()
  312. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  313. end
  314. if c.ClassName == "MeshPart" then
  315. c.TextureID = ""
  316. end
  317. if c:FindFirstChildOfClass("BodyPosition") then
  318. c:FindFirstChildOfClass("BodyPosition"):remove()
  319. end
  320. if c:FindFirstChildOfClass("ParticleEmitter") then
  321. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  322. end
  323. c.Parent = NewCharacter
  324. c.Name = "DeadPart"
  325. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  326. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  327. end
  328. end
  329. Char:remove()
  330. Debris:AddItem(NewCharacter,5)
  331. end
  332.  
  333. function BulletDetection(FROM,TO,BRUTAL)
  334. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  335. coroutine.resume(coroutine.create(function()
  336. if AIMHIT ~= nil then
  337. if AIMHIT.Parent ~= Character then
  338. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  339. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  340. if BRUTAL == true then
  341. Kill2(AIMHIT.Parent)
  342. else
  343. getbloody(AIMHIT,15)
  344. AIMHIT.Parent:BreakJoints()
  345. if AIMHIT.Name == "Head" then
  346. AIMHIT.Name = "HEADSHOT"
  347. AIMHIT:remove()
  348. end
  349. end
  350. else
  351. if BRUTAL == true then
  352. Kill2(AIMHIT.Parent.Parent)
  353. else
  354. Banish(AIMHIT.Parent.Parent)
  355. end
  356. end
  357. end
  358. end
  359. end
  360. end))
  361. SpawnTrail(FROM,AIMPOS)
  362. return AIMHIT,AIMPOS,NORMAL
  363. end
  364.  
  365. function BulletDetection2(FROM,TO,BRUTAL)
  366. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  367. coroutine.resume(coroutine.create(function()
  368. if AIMHIT ~= nil then
  369. if AIMHIT.Parent ~= Character then
  370. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  371. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  372. if BRUTAL == true then
  373. Banish(AIMHIT.Parent)
  374. else
  375. getbloody(AIMHIT,15)
  376. AIMHIT.Parent:BreakJoints()
  377. if AIMHIT.Name == "Head" then
  378. AIMHIT.Name = "HEADSHOT"
  379. AIMHIT:remove()
  380. end
  381. end
  382. else
  383. if BRUTAL == true then
  384. Banish(AIMHIT.Parent.Parent)
  385. else
  386. Kill2(AIMHIT.Parent.Parent)
  387. end
  388. end
  389. end
  390. end
  391. end
  392. end))
  393. SpawnTrail(FROM,AIMPOS)
  394. return AIMHIT,AIMPOS,NORMAL
  395. end
  396.  
  397. function ApplyAoE2(POSITION,RANGE,ISBANISH)
  398. local CHILDREN = workspace:GetDescendants()
  399. for index, CHILD in pairs(CHILDREN) do
  400. if CHILD.ClassName == "Model" and CHILD ~= Character then
  401. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  402. if HUM then
  403. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  404. if TORSO then
  405. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  406. if ISBANISH == true then
  407. Banish(CHILD)
  408. else
  409. if ISBANISH == "Gravity" then
  410. HUM.PlatformStand = true
  411. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  412. local grav = Instance.new("BodyPosition",TORSO)
  413. grav.D = 15
  414. grav.P = 20000
  415. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  416. grav.position = TORSO.Position
  417. grav.Name = "V3BanishForce"..Player.Name
  418. else
  419. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  420. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  421. end
  422. else
  423. HUM.PlatformStand = false
  424. end
  425. end
  426. elseif ISBANISH == "Gravity" then
  427. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  428. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  429. HUM.PlatformStand = false
  430. end
  431. end
  432. end
  433. end
  434. end
  435. end
  436. end
  437.  
  438. function CORRUPTEDBURNINGBULLETS()
  439. ATTACK = true
  440. Rooted = false
  441. repeat
  442. local GYRO = IT("BodyGyro",RootPart)
  443. GYRO.D = 175
  444. GYRO.P = 20000
  445. GYRO.MaxTorque = VT(0,40000,0)
  446. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  447. if COMBO == 1 then
  448. COMBO = 2
  449. for i=0, 0, 0.1 / Animation_Speed do
  450. Swait()
  451. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  452. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  456. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  457. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  458. end
  459. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  460. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  461. CreateSound(275326592, LeftHole, 7, 1, false)
  462. BulletDetection2(LeftHole.Position,Mouse.Hit.p,true)
  463. for i=0, 0, 0.1 / Animation_Speed do
  464. Swait()
  465. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  471. end
  472. elseif COMBO == 2 then
  473. COMBO = 1
  474. for i=0, 0.1, 0.1 / Animation_Speed do
  475. Swait()
  476. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  477. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  481. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  482. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  483. end
  484. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  485. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  486. CreateSound(275326592, RightHole, 7, 1, false)
  487. BulletDetection2(RightHole.Position,Mouse.Hit.p,true)
  488. for i=0, 0.1, 0.1 / Animation_Speed do
  489. Swait()
  490. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  494. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  496. end
  497. end
  498. GYRO:remove()
  499. until KEYHOLD == false
  500. ATTACK = false
  501. Rooted = false
  502. end
  503.  
  504. function CORRUPTEDLETHALBULLETS()
  505. ATTACK = true
  506. Rooted = false
  507. repeat
  508. local GYRO = IT("BodyGyro",RootPart)
  509. GYRO.D = 175
  510. GYRO.P = 20000
  511. GYRO.MaxTorque = VT(0,40000,0)
  512. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  513. if COMBO == 1 then
  514. COMBO = 2
  515. for i=0, 0, 0.1 / Animation_Speed do
  516. Swait()
  517. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  518. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  519. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  522. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  523. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  524. end
  525. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  526. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  527. CreateSound(1590205662, LeftHole, 7, 1, false)
  528. BulletDetection(LeftHole.Position,Mouse.Hit.p,true)
  529. for i=0, 0, 0.1 / Animation_Speed do
  530. Swait()
  531. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  535. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  537. end
  538. elseif COMBO == 2 then
  539. COMBO = 1
  540. for i=0, 0.1, 0.1 / Animation_Speed do
  541. Swait()
  542. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  543. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  549. end
  550. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  551. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  552. CreateSound(1590205662, RightHole, 7, 1, false)
  553. BulletDetection(RightHole.Position,Mouse.Hit.p,true)
  554. for i=0, 0.1, 0.1 / Animation_Speed do
  555. Swait()
  556. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  557. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  559. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  560. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  561. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  562. end
  563. end
  564. GYRO:remove()
  565. until KEYHOLD == false
  566. ATTACK = false
  567. Rooted = false
  568. end
  569.  
  570. function Corrupted_Burn()
  571. ATTACK = true
  572. Rooted = true
  573. for i=0, 1, 0.1 / Animation_Speed do
  574. Swait()
  575. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  581. end
  582. coroutine.resume(coroutine.create(function()
  583. local POS = Mouse.Hit.p
  584. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  585. MakeForm(RAY,"Cyl")
  586. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "Strike", VT(0,0,0))
  587. MakeForm(SPHERE,"Ball")
  588. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Strike", VT(0,0,0))
  589. MakeForm(SHIELD,"Ball")
  590. SHIELD.CFrame = CF(POS)
  591. RAY.CFrame = CF(POS)
  592. SPHERE.CFrame = CF(POS)
  593. CreateSound(440145570, SPHERE, 10, 0.8, false)
  594. CreateSound(415700134, SPHERE, 10, 0.8, false)
  595. for i = 1, 200 do
  596. Swait()
  597. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  598. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  599. SPHERE.Size = SPHERE.Size + VT(5,5,5)
  600. SHIELD.Size = SPHERE.Size + VT(10,10,10)
  601. ApplyAoE2(SPHERE.Position,SPHERE.Size.X/5,true)
  602. end
  603. for i = 1, 45 do
  604. Swait()
  605. RAY.Transparency = RAY.Transparency + 1/45
  606. SPHERE.Transparency = RAY.Transparency
  607. SHIELD.Transparency = SPHERE.Transparency + 1/45
  608. end
  609. RAY:remove()
  610. SHIELD:remove()
  611. SPHERE:remove()
  612. end))
  613. for i=0, 1, 0.1 / Animation_Speed do
  614. Swait()
  615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  621. end
  622. ATTACK = false
  623. Rooted = false
  624. end
  625.  
  626. local Weapon = IT("Model")
  627. Weapon.Name = "Adds"
  628.  
  629. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0,0,0),false)
  630. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  631.  
  632. function MagicSpheres(SIZE,WAIT,CFRAME,COLOR,GROW)
  633. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  634. local mesh = IT("SpecialMesh",wave)
  635. mesh.MeshType = "Sphere"
  636. mesh.Scale = SIZE
  637. mesh.Offset = VT(0,0,0)
  638. wave.CFrame = CFRAME
  639. coroutine.resume(coroutine.create(function(PART)
  640. for i = 1, WAIT do
  641. Swait()
  642. mesh.Scale = mesh.Scale + GROW
  643. wave.Transparency = wave.Transparency + (1/WAIT)
  644. if wave.Transparency > 0.99 then
  645. wave:remove()
  646. end
  647. end
  648. end))
  649. end
  650.  
  651. function Warp()
  652. ATTACK = true
  653. Rooted = true
  654. UNANCHOR = false
  655. RootPart.Anchored = true
  656. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Really red",VT(2,2,2))
  657. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Royal Purple",VT(2,2,2))
  658. for i=0, 0.5, 0.1 / Animation_Speed do
  659. Swait()
  660. WACKYEFFECT({
  661. Time = 5,
  662. EffectType = "Round Slash",
  663. Size = VT(0, 0, 0),
  664. Size2 = VT(0.01, 0, 0.01),
  665. Transparency = 0.5,
  666. Transparency2 = 1,
  667. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  668. MoveToPos = nil,
  669. RotationX = MRANDOM(-50, 50) / 10,
  670. RotationY = MRANDOM(-50, 50) / 10,
  671. RotationZ = MRANDOM(-50, 50) / 10,
  672. Material = "Neon",
  673. Color = C3(1, 0, 0),
  674. SoundID = nil,
  675. SoundPitch = nil,
  676. SoundVolume = nil
  677. })
  678. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
  679. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  683. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  685. end
  686. for i = 1, 10 do
  687. Swait()
  688. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Deep orange",VT(0.5,0,0.5))
  689. end
  690. for i=0, 1, 0.1 / Animation_Speed do
  691. Swait()
  692. WACKYEFFECT({
  693. Time = 5,
  694. EffectType = "Round Slash",
  695. Size = VT(0, 0, 0),
  696. Size2 = VT(0.01, 0, 0.01),
  697. Transparency = 0.5,
  698. Transparency2 = 1,
  699. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  700. MoveToPos = nil,
  701. RotationX = MRANDOM(-50, 50) / 10,
  702. RotationY = MRANDOM(-50, 50) / 10,
  703. RotationZ = MRANDOM(-50, 50) / 10,
  704. Material = "Neon",
  705. Color = C3(1, 0, 0),
  706. SoundID = nil,
  707. SoundPitch = nil,
  708. SoundVolume = nil
  709. })
  710. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Crimson",VT(0.5,0,0.5))
  711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  715. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  717. end
  718. local ORIGIN = RootPart.Position
  719. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
  720. for i=0, 1, 0.1 / Animation_Speed do
  721. Swait()
  722. WACKYEFFECT({
  723. Time = 5,
  724. EffectType = "Round Slash",
  725. Size = VT(0, 0, 0),
  726. Size2 = VT(0.01, 0, 0.01),
  727. Transparency = 0.5,
  728. Transparency2 = 1,
  729. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  730. MoveToPos = nil,
  731. RotationX = MRANDOM(-50, 50) / 10,
  732. RotationY = MRANDOM(-50, 50) / 10,
  733. RotationZ = MRANDOM(-50, 50) / 10,
  734. Material = "Neon",
  735. Color = C3(1, 0, 0),
  736. SoundID = nil,
  737. SoundPitch = nil,
  738. SoundVolume = nil
  739. })
  740. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
  741. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  742. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  743. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  744. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  745. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  746. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  747. end
  748. UNANCHOR = true
  749. RootPart.Anchored = false
  750. for i = 1, 10 do
  751. Swait()
  752. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Hot pink",VT(0.5,0,0.5))
  753. end
  754. ATTACK = false
  755. Rooted = false
  756. end
  757.  
  758. function Neckless()
  759. local TARGET = Mouse.Target
  760. if TARGET ~= nil then
  761. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  762. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  763. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  764. if ROOT and HUM.Health > 0 then
  765. local FOE = Mouse.Target.Parent
  766. local HEAD = FOE:FindFirstChild("Head")
  767. if HEAD then
  768. ATTACK = true
  769. Rooted = false
  770. CharacterFade(C3(0,0,0),150)
  771. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  772. for _, c in pairs(FOE:GetChildren()) do
  773. if c.ClassName == "Part" then
  774. c.Anchored = true
  775. end
  776. end
  777. CreateSound(235097614, Torso, 2, 3, false)
  778. for i=0, 0.5, 0.1 / Animation_Speed do
  779. Swait()
  780. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  784. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  785. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  786. end
  787. if ROOT.Name == "HumanoidRootPart" then
  788. ROOT:remove()
  789. end
  790. FOE:BreakJoints()
  791. ApplyDamage(HUM,0,true)
  792. CreateSound(363808674, HEAD, 5, 1, false)
  793. ROOT.Anchored = false
  794. for i=0, 0.5, 0.1 / Animation_Speed do
  795. Swait()
  796. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  800. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  802. end
  803. for _, c in pairs(FOE:GetChildren()) do
  804. if c.ClassName == "Part" then
  805. c.Anchored = false
  806. end
  807. end
  808. ATTACK = false
  809. Rooted = false
  810. end
  811. end
  812. end
  813. end
  814. end
  815. function BraveSpeed()
  816. CreateSound(235097614, Torso, 0.2, 3, false)
  817. for i = 1, 7 do
  818. CharacterFade(C3(0,0,0),25+(i*10))
  819. RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
  820. end
  821. end
  822. function Slashed()
  823. local TARGET = Mouse.Target
  824. if TARGET ~= nil then
  825. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  826. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  827. local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  828. if ROOT and HUM.Health > 0 then
  829. local FOE = Mouse.Target.Parent
  830. ATTACK = true
  831. coroutine.resume(coroutine.create(function()
  832. repeat
  833. Swait()
  834. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  835. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  836. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  837. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  838. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  839. until ATTACK == false
  840. end))
  841. for i=0, 0.2, 0.1 / Animation_Speed do
  842. Swait()
  843. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  844. end
  845. for i=0, 1.2, 0.1 / Animation_Speed do
  846. Swait()
  847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  848. end
  849. CreateSound(971125740, LeftArm, 5, 1, false)
  850. for i=0, 0.1, 0.1 / Animation_Speed do
  851. Swait()
  852. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  853. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  854. end
  855. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
  856. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  857. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  858. coroutine.resume(coroutine.create(function()
  859. for i = 1, 5 do
  860. Chunks(ROOT)
  861. end
  862. local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  863. FAKEROOT1.CanCollide = true
  864. local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  865. FAKEROOT2.CanCollide = true
  866. FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
  867. FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
  868. ROOT:Remove()
  869. ApplyDamage(HUM,0,true)
  870. end))
  871. for i=0, 0.4, 0.1 / Animation_Speed do
  872. Swait()
  873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  874. end
  875. ATTACK = false
  876. end
  877. end
  878. end
  879. end
  880. function Dirtface()
  881. local TARGET = Mouse.Target
  882. if TARGET ~= nil then
  883. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  884. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  885. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  886. if ROOT and HUM.Health > 0 then
  887. local FOE = Mouse.Target.Parent
  888. local HEAD = FOE:FindFirstChild("Head")
  889. local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
  890. if HEAD and HITFLOOR then
  891. ATTACK = true
  892. Rooted = true
  893. CharacterFade(C3(0,0,0),150)
  894. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  895. ROOT.Anchored = true
  896. CreateSound(235097614, Torso, 2, 3, false)
  897. for i=0, 0.4, 0.1 / Animation_Speed do
  898. Swait()
  899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  905. end
  906. for i=0, 0.1, 0.1 / Animation_Speed do
  907. Swait()
  908. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  909. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  912. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  914. end
  915. ROOT.Anchored = false
  916. UNANCHOR = false
  917. local DEAD = false
  918. local CFRAME = RootPart.CFrame
  919. CreateSound(260411131, Torso, 2, 3, false)
  920. coroutine.resume(coroutine.create(function()
  921. repeat
  922. Swait()
  923. RootPart.CFrame = CFRAME
  924. HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  925. HEAD.Velocity = VT(0,0,0)
  926. HUM.PlatformStand = true
  927. until DEAD == true
  928. end))
  929. for i=0, 0.2, 0.1 / Animation_Speed do
  930. Swait()
  931. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  932. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  933. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  934. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  935. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  936. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  937. end
  938. for i=0, 1, 0.1 / Animation_Speed do
  939. Swait()
  940. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  941. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  942. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  943. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  944. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  945. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  946. end
  947. local ERUPT = function()
  948. local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
  949. if HITFLOOR then
  950. for i = 1, 5 do
  951. CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
  952. end
  953. Chunks(HEAD)
  954. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
  955. end
  956. end
  957. local ATE = false
  958. local DEPTH = 1
  959. coroutine.resume(coroutine.create(function()
  960. repeat
  961. Swait()
  962. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
  963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
  964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  968. until ATE == true
  969. end))
  970. wait()
  971. ERUPT()
  972. wait(2)
  973. ERUPT()
  974. DEPTH = 2
  975. wait(2)
  976. ERUPT()
  977. DEPTH = 2.5
  978. wait(3)
  979. ERUPT()
  980. ERUPT()
  981. HEAD:remove()
  982. DEAD = true
  983. ApplyDamage(HUM,0,true)
  984. wait(0.2)
  985. ATE = true
  986. UNANCHOR = true
  987. ATTACK = false
  988. Rooted = false
  989. end
  990. end
  991. end
  992. end
  993. end
  994.  
  995.  
  996. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  997. local CHILDREN = workspace:GetDescendants()
  998. for index, CHILD in pairs(CHILDREN) do
  999. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1000. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1001. if HUM then
  1002. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1003. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1004. if EBANISH == true then
  1005. Banish(CHILD)
  1006. else
  1007. local DMG = MRANDOM(MINDMG, MAXDMG)
  1008. ApplyDamage(HUM, DMG, TORSO)
  1009. end
  1010. if FLING > 0 then
  1011. for _, c in pairs(CHILD:GetChildren()) do
  1012. if c:IsA("BasePart") then
  1013. local bv = Instance.new("BodyVelocity")
  1014. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1015. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1016. bv.Parent = c
  1017. Debris:AddItem(bv, 0.05)
  1018. end
  1019. end
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025. end
  1026.  
  1027. local A = IT("Attachment",RightBarrel)
  1028. A.Position = VT(0,-2.5,0)
  1029. local B = IT("Attachment",RightBarrel)
  1030. B.Position = VT(0,2.5,0)
  1031. local Trail = IT("Trail",RightBarrel)
  1032. Trail.Attachment0 = A
  1033. Trail.Attachment1 = B
  1034. Trail.Lifetime = 0.2
  1035. Trail.Color = ColorSequence.new(BRICKC"Crimson".Color)
  1036. Trail.Transparency = NumberSequence.new(0, 1)
  1037. Trail.Enabled = false
  1038.  
  1039. function Execute()
  1040. ATTACK = true
  1041. Rooted = false
  1042. local Part = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Part", VT(0,1,4),false)
  1043. Part.Color = C3(0,0,0)
  1044. MakeForm(Part,"Wedge")
  1045. Part.CanCollide = true
  1046. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  1047. for i=0, 1, 0.1 / Animation_Speed do
  1048. Swait()
  1049. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1050. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1051. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1052. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1053. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1054. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1055. end
  1056. Trail.Enabled = true
  1057. CreateSound(541909867, RightBarrel, 7, 1, false)
  1058. local TOCH = Part.Touched:Connect(function(hit)
  1059. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  1060. Banish(hit.Parent)
  1061. end
  1062. end)
  1063. for i=0, 0.35, 0.1 / Animation_Speed do
  1064. Swait()
  1065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1069. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1070. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1071. end
  1072. TOCH:disconnect()
  1073. Trail.Enabled = false
  1074. for i=0, 0.35, 0.1 / Animation_Speed do
  1075. Swait()
  1076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  1078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1082. end
  1083. Part:remove()
  1084. ATTACK = false
  1085. Rooted = false
  1086. end
  1087.  
  1088. local DECAL = IT("Decal")
  1089. function MakeRing()
  1090. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1091. local MSH = IT("BlockMesh", RING)
  1092. local TOP = DECAL:Clone()
  1093. local BOTTOM = DECAL:Clone()
  1094. TOP.Parent = RING
  1095. BOTTOM.Parent = RING
  1096. TOP.Face = "Top"
  1097. BOTTOM.Face = "Bottom"
  1098. TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
  1099. BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
  1100. local function REMOVE()
  1101. coroutine.resume(coroutine.create(function()
  1102. local SIZE = MSH.Scale.X
  1103. for i = 1, 35 do
  1104. Swait()
  1105. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1106. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1107. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1108. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1109. end
  1110. RING:remove()
  1111. end))
  1112. end
  1113. return RING, MSH, REMOVE
  1114. end
  1115.  
  1116. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1117. local CHILDREN = workspace:GetDescendants()
  1118. for index, CHILD in pairs(CHILDREN) do
  1119. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1120. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1121. if HUM then
  1122. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1123. if TORSO then
  1124. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1125. if ISBANISH == true then
  1126. Banish(CHILD)
  1127. else
  1128. if ISBANISH == "Gravity" then
  1129. HUM.PlatformStand = true
  1130. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1131. local grav = Instance.new("BodyPosition",TORSO)
  1132. grav.D = 15
  1133. grav.P = 20000
  1134. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1135. grav.position = TORSO.Position
  1136. grav.Name = "V3BanishForce"..Player.Name
  1137. else
  1138. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1139. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1140. end
  1141. else
  1142. HUM.PlatformStand = false
  1143. end
  1144. end
  1145. elseif ISBANISH == "Gravity" then
  1146. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1147. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1148. HUM.PlatformStand = false
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156.  
  1157. function Smite()
  1158. local RING, MESH, DELET = MakeRing()
  1159. local POS = Mouse.Hit.p
  1160. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  1161. for i = 1, 45 do
  1162. Swait()
  1163. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  1164. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1165. end
  1166. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  1167. if HITFLOOR then
  1168. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really black"), "Beam", VT(0, 0, 0), true)
  1169. MakeForm(BEAM, "Cyl")
  1170. local DIST = (RING.Position - HITPOS).Magnitude
  1171. BEAM.Size = VT(0, DIST, 0)
  1172. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1173. for i = 1, 5 do
  1174. WACKYEFFECT({
  1175. EffectType = "Wave",
  1176. Size = VT(25, 0, 25),
  1177. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  1178. Transparency = 0,
  1179. Transparency2 = 1,
  1180. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1181. MoveToPos = nil,
  1182. RotationX = 0,
  1183. RotationY = 3,
  1184. RotationZ = 0,
  1185. Material = "Neon",
  1186. Color = C3(1, 0, 0),
  1187. SoundID = nil,
  1188. SoundPitch = nil,
  1189. SoundVolume = nil
  1190. })
  1191. WACKYEFFECT({
  1192. EffectType = "Round Slash",
  1193. Size = VT(3, 0, 3) / 13,
  1194. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  1195. Transparency = 0,
  1196. Transparency2 = 1,
  1197. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  1198. MoveToPos = nil,
  1199. RotationX = 0,
  1200. RotationY = 0,
  1201. RotationZ = 0,
  1202. Material = "Neon",
  1203. Color = C3(1, 0, 1),
  1204. SoundID = nil,
  1205. SoundPitch = nil,
  1206. SoundVolume = nil
  1207. })
  1208. WACKYEFFECT({
  1209. Time = 35,
  1210. EffectType = "Sphere",
  1211. Size = VT(22, 22, 22),
  1212. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  1213. Transparency = 0,
  1214. Transparency2 = 1,
  1215. CFrame = CF(HITPOS),
  1216. MoveToPos = nil,
  1217. RotationX = 0,
  1218. RotationY = 0,
  1219. RotationZ = 0,
  1220. Material = "Neon",
  1221. Color = C3(0, .7, 0),
  1222. SoundID = 459523898,
  1223. SoundPitch = MRANDOM(9, 12) / 10,
  1224. SoundVolume = 10
  1225. })
  1226. end
  1227. ApplyAoE(HITPOS, 50, true)
  1228. for i = 1, 25 do
  1229. Swait()
  1230. BEAM.Size = BEAM.Size + VT(0.15, 0, 0.15)
  1231. BEAM.Transparency = BEAM.Transparency + 0.04
  1232. end
  1233. BEAM:remove()
  1234. end
  1235. wait(0.2)
  1236. DELET()
  1237. end
  1238.  
  1239. function CorruptedBurningBeam()
  1240. ATTACK = true
  1241. Rooted = false
  1242. chatfunc("Why Dont You Just Leave My Sights Already")
  1243. local GYRO = IT("BodyGyro", RootPart)
  1244. GYRO.D = 20
  1245. GYRO.P = 4000
  1246. GYRO.MaxTorque = VT(0, 40000, 0)
  1247. local RING, MESH, DELET = MakeRing()
  1248. local POS = RootPart.Position + VT(0, 25, 0)
  1249. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  1250. CreateSound(459523787, RING, 8, 1, false)
  1251. local BLASTS = {468991944, 468991990}
  1252. coroutine.resume(coroutine.create(function()
  1253. local E = 0
  1254. repeat
  1255. E = E + 5
  1256. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1257. Swait()
  1258. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  1259. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1260. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
  1261. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1262. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1263. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1264. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1265. until ATTACK == false
  1266. GYRO:remove()
  1267. DELET()
  1268. end))
  1269. for i = 1, 50 do
  1270. Swait()
  1271. MESH.Scale = MESH.Scale + VT(22, 0, 22)
  1272. end
  1273. for i = 1, 25 do
  1274. Swait()
  1275. WACKYEFFECT({
  1276. Time = 15,
  1277. EffectType = "Sphere",
  1278. Size = VT(4, 4, 4),
  1279. Size2 = VT(0, 0, 0),
  1280. Transparency = 1,
  1281. Transparency2 = 0,
  1282. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1283. MoveToPos = RING.Position,
  1284. RotationX = 0,
  1285. RotationY = 0,
  1286. RotationZ = 0,
  1287. Material = "Neon",
  1288. Color = C3(1, 0, 0),
  1289. SoundID = nil,
  1290. SoundPitch = nil,
  1291. SoundVolume = nil
  1292. })
  1293. end
  1294. local LOOP = 0
  1295. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Dark indigo"), "Beam", VT(0, 0, 0), true)
  1296. MakeForm(BEAM, "Cyl")
  1297. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  1298. repeat
  1299. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  1300. if DISTANCE < 2000 then
  1301. BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
  1302. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1303. ApplyAoE(Mouse.Hit.p, 35, true)
  1304. WACKYEFFECT({
  1305. Time = 35,
  1306. EffectType = "Sphere",
  1307. Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
  1308. Size2 = VT(5, 75, 5),
  1309. Transparency = 0,
  1310. Transparency2 = 1,
  1311. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1312. MoveToPos = nil,
  1313. RotationX = 0,
  1314. RotationY = 0,
  1315. RotationZ = 0,
  1316. Material = "Neon",
  1317. Color = C3(0, 0, 0),
  1318. SoundID = nil,
  1319. SoundPitch = MRANDOM(9, 12) / 10,
  1320. SoundVolume = 10
  1321. })
  1322. Swait()
  1323. LOOP = LOOP + 1
  1324. end
  1325. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  1326. coroutine.resume(coroutine.create(function()
  1327. for i = 1, 15 do
  1328. Swait()
  1329. BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
  1330. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  1331. end
  1332. BEAM:remove()
  1333. end))
  1334. ATTACK = false
  1335. Rooted = false
  1336. end
  1337.  
  1338. function PlanetaryDevastation()
  1339. ATTACK = true
  1340. Rooted = true
  1341. chatfunc("Burn In My Special Hell")
  1342. local SIZE = 1
  1343. local GYRO = IT("BodyGyro", RootPart)
  1344. GYRO.D = 20
  1345. GYRO.P = 4000
  1346. GYRO.MaxTorque = VT(0, 40000, 0)
  1347. local RING, MESH, DELET = MakeRing()
  1348. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  1349. RING.CFrame = CF(HITPOS)
  1350. for i = 0, 0.6, 0.1 / Animation_Speed do
  1351. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1352. Swait()
  1353. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  1354. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1355. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1358. end
  1359. local BLASTS = {468991944, 468991990}
  1360. coroutine.resume(coroutine.create(function()
  1361. local CFRAME = RootPart.CFrame
  1362. for i = 1, 100 do
  1363. CFRAME = CFRAME * CF(0, 0, -35)
  1364. do
  1365. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  1366. if HITFLOOR then
  1367. Swait()
  1368. do
  1369. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  1370. coroutine.resume(coroutine.create(function()
  1371. local RING, MESH, DELET = MakeRing()
  1372. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  1373. for i = 1, 25 do
  1374. Swait()
  1375. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  1376. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1377. end
  1378. ApplyAoE(RING.Position, 65, true)
  1379. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  1380. WACKYEFFECT({
  1381. Time = 25,
  1382. EffectType = "Sphere",
  1383. Size = VT(22, 22, 22),
  1384. Size2 = VT(85, 85, 85),
  1385. Transparency = 0,
  1386. Transparency2 = 1,
  1387. CFrame = CF(RING.Position),
  1388. MoveToPos = nil,
  1389. RotationX = 0,
  1390. RotationY = 0,
  1391. RotationZ = 0,
  1392. Material = "Neon",
  1393. Color = C3(1, 0, 0),
  1394. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  1395. SoundPitch = MRANDOM(9, 12) / 10,
  1396. SoundVolume = 10
  1397. })
  1398. for e = 1, 3 do
  1399. WACKYEFFECT({
  1400. EffectType = "Wave",
  1401. Size = VT(25, 0, 25),
  1402. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  1403. Transparency = 0,
  1404. Transparency2 = 1,
  1405. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1406. MoveToPos = nil,
  1407. RotationX = 0,
  1408. RotationY = 3,
  1409. RotationZ = 0,
  1410. Material = "Neon",
  1411. Color = C3(1, 0, 1),
  1412. SoundID = nil,
  1413. SoundPitch = nil,
  1414. SoundVolume = nil
  1415. })
  1416. WACKYEFFECT({
  1417. Time = 35,
  1418. EffectType = "Sphere",
  1419. Size = VT(22, 45, 22),
  1420. Size2 = VT(25, 45 + e * 75, 25),
  1421. Transparency = 0,
  1422. Transparency2 = 1,
  1423. CFrame = CF(RING.Position) * TURN,
  1424. MoveToPos = nil,
  1425. RotationX = 0,
  1426. RotationY = 0,
  1427. RotationZ = 0,
  1428. Material = "Neon",
  1429. Color = C3(0, .5, 0),
  1430. SoundID = nil,
  1431. SoundPitch = MRANDOM(9, 12) / 10,
  1432. SoundVolume = 10
  1433. })
  1434. end
  1435. wait(0.3)
  1436. DELET()
  1437. end))
  1438. end
  1439. end
  1440. end
  1441. end
  1442. end))
  1443. Rooted = false
  1444. DELET()
  1445. GYRO:remove()
  1446. ATTACK = false
  1447. Rooted = false
  1448. end
  1449.  
  1450. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1451. if FLOOR ~= nil then
  1452. for i = 1, AMOUNT do
  1453. do
  1454. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1455. DEBREE.Material = FLOOR.Material
  1456. DEBREE.Color = FLOOR.Color
  1457. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1458. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1459. coroutine.resume(coroutine.create(function()
  1460. Swait(15)
  1461. DEBREE.Parent = workspace
  1462. DEBREE.CanCollide = true
  1463. Debris:AddItem(DEBREE, SWAIT)
  1464. end))
  1465. end
  1466. end
  1467. end
  1468. end
  1469.  
  1470. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1471. if FLOOR ~= nil then
  1472. for i = 1, AMOUNT do
  1473. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1474. DEBREE.Material = FLOOR.Material
  1475. DEBREE.Color = FLOOR.Color
  1476. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1477. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1478. coroutine.resume(coroutine.create(function()
  1479. Swait(15)
  1480. DEBREE.Parent = workspace
  1481. DEBREE.CanCollide = true
  1482. Debris:AddItem(DEBREE,SWAIT)
  1483. end))
  1484. end
  1485. end
  1486. end
  1487.  
  1488. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1489. if FLOOR ~= nil then
  1490. coroutine.resume(coroutine.create(function()
  1491. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  1492. PART.CFrame = CF(POSITION)
  1493. for i = 1, 45 do
  1494. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  1495. RingPiece.Material = FLOOR.Material
  1496. RingPiece.Color = FLOOR.Color
  1497. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1498. Debris:AddItem(RingPiece,SWAIT)
  1499. end
  1500. PART:remove()
  1501. end))
  1502. end
  1503. end
  1504.  
  1505. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1506. if FLOOR ~= nil then
  1507. coroutine.resume(coroutine.create(function()
  1508. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1509. PART.CFrame = CF(POSITION)
  1510. for i = 1, 45 do
  1511. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1512. RingPiece.Material = FLOOR.Material
  1513. RingPiece.Color = FLOOR.Color
  1514. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1515. Debris:AddItem(RingPiece, SWAIT)
  1516. end
  1517. PART:remove()
  1518. end))
  1519. end
  1520. end
  1521.  
  1522. function BIGSMASH()
  1523. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 10, 0), Mouse.Hit.p - VT(0, 10, 0)).lookVector, 25, Character)
  1524. chatfunc("Die.")
  1525. if HITFLOOR then
  1526. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  1527. CreateSound("1295446488", Torso, 5, 1)
  1528. for i = 1, 5 do
  1529. WACKYEFFECT({
  1530. Time = MRANDOM(15, 35),
  1531. EffectType = "Round Slash",
  1532. Size = VT(0, 0, 0),
  1533. Size2 = VT(0.3, 0, 0.3),
  1534. Transparency = 0.5,
  1535. Transparency2 = 1,
  1536. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1537. MoveToPos = nil,
  1538. RotationX = MRANDOM(-50, 50) / 10,
  1539. RotationY = MRANDOM(-50, 50) / 10,
  1540. RotationZ = MRANDOM(-50, 50) / 10,
  1541. Material = "Neon",
  1542. Color = C3(1, 1, 1),
  1543. SoundID = nil,
  1544. SoundPitch = nil,
  1545. SoundVolume = nil
  1546. })
  1547. end
  1548. ATTACK = true
  1549. Rooted = true
  1550. UNANCHOR = false
  1551. RootPart.Anchored = true
  1552. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  1553. for i = 1, 5 do
  1554. WACKYEFFECT({
  1555. Time = MRANDOM(15, 35),
  1556. EffectType = "Round Slash",
  1557. Size = VT(0, 0, 0),
  1558. Size2 = VT(0.3, 0, 0.3),
  1559. Transparency = 0.5,
  1560. Transparency2 = 1,
  1561. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  1562. MoveToPos = nil,
  1563. RotationX = MRANDOM(-50, 50) / 10,
  1564. RotationY = MRANDOM(-50, 50) / 10,
  1565. RotationZ = MRANDOM(-50, 50) / 10,
  1566. Material = "Neon",
  1567. Color = C3(1, 1, 1),
  1568. SoundID = nil,
  1569. SoundPitch = nil,
  1570. SoundVolume = nil
  1571. })
  1572. end
  1573. for i = 0, 0.2, 0.1 / Animation_Speed do
  1574. Swait()
  1575. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  1576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  1581. end
  1582. for i = 0, 1, 0.1 / Animation_Speed do
  1583. Swait()
  1584. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  1586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  1587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  1588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  1590. end
  1591. for i = 1, 10 do
  1592. Swait()
  1593. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  1594. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  1595. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  1596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  1597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  1598. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1599. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  1600. end
  1601. for i = 0, 0.2, 0.1 / Animation_Speed do
  1602. Swait()
  1603. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1606. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1607. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1608. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1609. end
  1610. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  1611. if HITFLOOR then
  1612. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1613. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1614. for index, CHILD in pairs(CHILDREN) do
  1615. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1616. for i = 1, 5 do
  1617. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1618. CHILD:remove()
  1619. end
  1620. end
  1621. end
  1622. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1623. SOUNDPART.CFrame = CF(HITPOS)
  1624. Debris:AddItem(SOUNDPART, 5)
  1625. CreateSound("130972023", SOUNDPART, 6, 3)
  1626. CreateSound("182765513", SOUNDPART, 6, 1)
  1627. WACKYEFFECT({
  1628. EffectType = "Ring",
  1629. Size = VT(0, 0, 0),
  1630. Size2 = VT(1, 1, 0),
  1631. Transparency = 0.7,
  1632. Transparency2 = 1,
  1633. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1634. MoveToPos = nil,
  1635. RotationX = 0,
  1636. RotationY = 0,
  1637. RotationZ = 0,
  1638. Material = "Neon",
  1639. Color = C3(1, 1, 1),
  1640. SoundID = nil,
  1641. SoundPitch = nil,
  1642. SoundVolume = nil
  1643. })
  1644. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1645. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  1646. for index, CHILD in pairs(CHILDREN) do
  1647. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  1648. for i = 1, 5 do
  1649. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  1650. CHILD:remove()
  1651. end
  1652. end
  1653. end
  1654. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1655. SOUNDPART.CFrame = CF(HITPOS)
  1656. Debris:AddItem(SOUNDPART, 5)
  1657. CreateSound("130972023", SOUNDPART, 6, 3)
  1658. CreateSound("182765513", SOUNDPART, 6, 1)
  1659. WACKYEFFECT({
  1660. EffectType = "Ring",
  1661. Size = VT(0, 0, 0),
  1662. Size2 = VT(1, 1, 0),
  1663. Transparency = 0.7,
  1664. Transparency2 = 1,
  1665. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1666. MoveToPos = nil,
  1667. RotationX = 0,
  1668. RotationY = 0,
  1669. RotationZ = 0,
  1670. Material = "Neon",
  1671. Color = C3(1, 1, 1),
  1672. SoundID = nil,
  1673. SoundPitch = nil,
  1674. SoundVolume = nil
  1675. })
  1676. elseif HITFLOOR.Anchored == false then
  1677. if HITFLOOR.Parent ~= workspace then
  1678. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  1679. for index, CHILD in pairs(CHILDREN) do
  1680. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  1681. for i = 1, 5 do
  1682. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  1683. end
  1684. CHILD:remove()
  1685. end
  1686. end
  1687. else
  1688. for i = 1, 5 do
  1689. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  1690. end
  1691. HITFLOOR:remove()
  1692. end
  1693. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1694. SOUNDPART.CFrame = CF(HITPOS)
  1695. Debris:AddItem(SOUNDPART, 5)
  1696. CreateSound("130972023", SOUNDPART, 10, 3)
  1697. CreateSound("178452217", SOUNDPART, 6, 1)
  1698. WACKYEFFECT({
  1699. EffectType = "Ring",
  1700. Size = VT(0, 0, 0),
  1701. Size2 = VT(1, 1, 0),
  1702. Transparency = 0.7,
  1703. Transparency2 = 1,
  1704. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  1705. MoveToPos = nil,
  1706. RotationX = 0,
  1707. RotationY = 0,
  1708. RotationZ = 0,
  1709. Material = "Neon",
  1710. Color = C3(1, 1, 1),
  1711. SoundID = nil,
  1712. SoundPitch = nil,
  1713. SoundVolume = nil
  1714. })
  1715. else
  1716. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  1717. SOUNDPART.CFrame = CF(HITPOS)
  1718. Debris:AddItem(SOUNDPART, 5)
  1719. CreateSound("130972023", SOUNDPART, 10, 1)
  1720. CreateSound("130972023", SOUNDPART, 6, 0.7)
  1721. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  1722. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  1723. ApplyAoE5(HITPOS, 15, 45, 75, 75, true)
  1724. ApplyAoE5(HITPOS, 25, 25, 35, 35, true)
  1725. for i = 1, 5 do
  1726. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  1727. end
  1728. for i = 1, 5 do
  1729. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  1730. end
  1731. end
  1732. end
  1733. for i = 0, 1.2, 0.1 / Animation_Speed do
  1734. Swait()
  1735. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  1736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  1737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1739. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1740. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1741. end
  1742. ATTACK = false
  1743. Rooted = false
  1744. UNANCHOR = true
  1745. RootPart.Anchored = false
  1746. end
  1747. end
  1748.  
  1749. function calamity()
  1750. ATTACK = true
  1751. Rooted = true
  1752. local GYRO = IT("BodyGyro", RootPart)
  1753. GYRO.D = 15
  1754. GYRO.P = 2000
  1755. GYRO.MaxTorque = VT(0, 4000000, 0)
  1756. CreateSound("341301115", Head, 5, 1.1)
  1757. CreateSound("93724183", Head, 6, 1)
  1758. for i = 1, 200 do
  1759. Swait()
  1760. WACKYEFFECT({
  1761. Time = MRANDOM(5, 15),
  1762. EffectType = "Round Slash",
  1763. Size = VT(0, 0, 0),
  1764. Size2 = VT(0.12, 0, 0.12),
  1765. Transparency = 0.5,
  1766. Transparency2 = 1,
  1767. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1768. MoveToPos = nil,
  1769. RotationX = MRANDOM(-50, 50) / 50,
  1770. RotationY = MRANDOM(-50, 50) / 10,
  1771. RotationZ = MRANDOM(-50, 50) / 50,
  1772. Material = "Neon",
  1773. Color = C3(0, 0, 0),
  1774. SoundID = nil,
  1775. SoundPitch = nil,
  1776. SoundVolume = nil
  1777. })
  1778. WACKYEFFECT({
  1779. Time = MRANDOM(5, 15),
  1780. EffectType = "Round Slash",
  1781. Size = VT(0, 0, 0),
  1782. Size2 = VT(0.1, 0, 0.1),
  1783. Transparency = 0.5,
  1784. Transparency2 = 1,
  1785. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  1786. MoveToPos = nil,
  1787. RotationX = MRANDOM(-50, 50) / 50,
  1788. RotationY = MRANDOM(-50, 50) / 10,
  1789. RotationZ = MRANDOM(-50, 50) / 50,
  1790. Material = "Neon",
  1791. Color = C3(.2, 0, 0),
  1792. SoundID = nil,
  1793. SoundPitch = nil,
  1794. SoundVolume = nil
  1795. })
  1796. WACKYEFFECT({
  1797. Time = MRANDOM(5, 15),
  1798. EffectType = "Round Slash",
  1799. Size = VT(0, 0, 0),
  1800. Size2 = VT(0.16, 0, 0.16),
  1801. Transparency = 0.5,
  1802. Transparency2 = 1,
  1803. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  1804. MoveToPos = nil,
  1805. RotationX = MRANDOM(-50, 50) / 50,
  1806. RotationY = MRANDOM(-50, 50) / 10,
  1807. RotationZ = MRANDOM(-50, 50) / 50,
  1808. Material = "Neon",
  1809. Color = C3(.3, 0, 0),
  1810. SoundID = nil,
  1811. SoundPitch = nil,
  1812. SoundVolume = nil
  1813. })
  1814. WACKYEFFECT({
  1815. Time = 5,
  1816. EffectType = "Sphere",
  1817. Size = VT(i, i, i) / 150,
  1818. Size2 = VT(0, 0, 0),
  1819. Transparency = 0.5,
  1820. Transparency2 = 1,
  1821. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1822. MoveToPos = nil,
  1823. RotationX = 0,
  1824. RotationY = 0,
  1825. RotationZ = 0,
  1826. Material = "Neon",
  1827. Color = C3(.4, 0, 0),
  1828. SoundID = nil,
  1829. SoundPitch = nil,
  1830. SoundVolume = nil
  1831. })
  1832. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1833. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  1836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  1837. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1838. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  1839. end
  1840. GYRO:remove()
  1841. for i = 0, 0.3, 0.1 / Animation_Speed do
  1842. Swait()
  1843. WACKYEFFECT({
  1844. Time = 25,
  1845. EffectType = "Sphere",
  1846. Size = VT(200, 200, 200) / 150,
  1847. Size2 = VT(0, 0, 0),
  1848. Transparency = 0.5,
  1849. Transparency2 = 1,
  1850. CFrame = Head.CFrame * CF(0, -0.25, -1),
  1851. MoveToPos = nil,
  1852. RotationX = 0,
  1853. RotationY = 0,
  1854. RotationZ = 0,
  1855. Material = "Neon",
  1856. Color = C3(.5, 0, .5),
  1857. SoundID = nil,
  1858. SoundPitch = nil,
  1859. SoundVolume = nil
  1860. })
  1861. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1862. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1863. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1864. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1865. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1866. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1867. end
  1868. coroutine.resume(coroutine.create(function()
  1869. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Dark Orange", "DOOM", VT(1, 1, 1))
  1870. MakeForm(FIREBALL, "Ball")
  1871. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  1872. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  1873. for i = 1, 500 do
  1874. Swait()
  1875. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1876. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  1877. if HITFLOOR ~= nil then
  1878. break
  1879. end
  1880. end
  1881. CreateSound(325132788, Effects, 8, 1, false)
  1882. for i = 1, 120 do
  1883. Swait()
  1884. WACKYEFFECT({
  1885. Time = 85,
  1886. EffectType = "Sphere",
  1887. Size = FIREBALL.Size,
  1888. Size2 = VT(0, 9000, 0),
  1889. Transparency = 0.5,
  1890. Transparency2 = 1,
  1891. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1892. MoveToPos = nil,
  1893. RotationX = MRANDOM(-50, 50) / 10,
  1894. RotationY = MRANDOM(-50, 50) / 10,
  1895. RotationZ = MRANDOM(-50, 50) / 10,
  1896. Material = "Neon",
  1897. Color = C3(.6, 0, .6),
  1898. SoundID = nil,
  1899. SoundPitch = nil,
  1900. SoundVolume = nil
  1901. })
  1902. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  1903. end
  1904. Swait(5)
  1905. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  1906. for i = 1, 10 do
  1907. WACKYEFFECT({
  1908. Time = 85 + 5 * i,
  1909. EffectType = "Slash",
  1910. Size = VT(9, 0, 9),
  1911. Size2 = VT(32, 0, 32),
  1912. Transparency = 0.5,
  1913. Transparency2 = 1,
  1914. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1915. MoveToPos = nil,
  1916. RotationX = MRANDOM(-50, 50) / 50,
  1917. RotationY = MRANDOM(-50, 50) / 10,
  1918. RotationZ = MRANDOM(-50, 50) / 50,
  1919. Material = "Neon",
  1920. Color = C3(0, 0, 0),
  1921. SoundID = nil,
  1922. SoundPitch = nil,
  1923. SoundVolume = nil
  1924. })
  1925. WACKYEFFECT({
  1926. Time = 185 + 5 * i,
  1927. EffectType = "Swirl",
  1928. Size = VT(25, 25, 25),
  1929. Size2 = VT(900, 900, 900) + VT(35, 35, 35) * i,
  1930. Transparency = 0.5,
  1931. Transparency2 = 1,
  1932. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1933. MoveToPos = nil,
  1934. RotationX = MRANDOM(-50, 50) / 50,
  1935. RotationY = MRANDOM(-50, 50) / 10,
  1936. RotationZ = MRANDOM(-50, 50) / 50,
  1937. Material = "Neon",
  1938. Color = C3(1, 0.5, 0.5),
  1939. SoundID = nil,
  1940. SoundPitch = nil,
  1941. SoundVolume = nil
  1942. })
  1943. WACKYEFFECT({
  1944. Time = 285 + 5 * i,
  1945. EffectType = "Round Slash",
  1946. Size = VT(6, 0, 6),
  1947. Size2 = VT(22, 0, 22),
  1948. Transparency = 0.5,
  1949. Transparency2 = 1,
  1950. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1951. MoveToPos = nil,
  1952. RotationX = MRANDOM(-50, 50) / 50,
  1953. RotationY = MRANDOM(-50, 50) / 10,
  1954. RotationZ = MRANDOM(-50, 50) / 50,
  1955. Material = "Neon",
  1956. Color = C3(1, 1, 0),
  1957. SoundID = nil,
  1958. SoundPitch = nil,
  1959. SoundVolume = nil
  1960. })
  1961. WACKYEFFECT({
  1962. Time = 285 + 5 * i,
  1963. EffectType = "Sphere",
  1964. Size = VT(850, 850, 850),
  1965. Size2 = VT(1050, 1050, 1050) + VT(35, 35, 35) * i,
  1966. Transparency = 0.5,
  1967. Transparency2 = 1,
  1968. CFrame = FIREBALL.CFrame,
  1969. MoveToPos = nil,
  1970. RotationX = 0,
  1971. RotationY = 0,
  1972. RotationZ = 0,
  1973. Material = "Neon",
  1974. Color = C3(0, 1, 1),
  1975. SoundID = nil,
  1976. SoundPitch = 0,
  1977. SoundVolume = 0
  1978. })
  1979. end
  1980. wait(1)
  1981. WACKYEFFECT({
  1982. Time = 75,
  1983. EffectType = "Sphere",
  1984. Size = VT(550, 550, 550),
  1985. Size2 = VT(6500, 6500, 6500),
  1986. Transparency = 0.8,
  1987. Transparency2 = 1,
  1988. CFrame = FIREBALL.CFrame,
  1989. MoveToPos = nil,
  1990. RotationX = 0,
  1991. RotationY = 0,
  1992. RotationZ = 0,
  1993. Material = "Neon",
  1994. Color = C3(1, 1, 1),
  1995. SoundID = nil,
  1996. SoundPitch = 0,
  1997. SoundVolume = 0
  1998. })
  1999. for i = 1, 15 do
  2000. Swait()
  2001. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  2002. WACKYEFFECT({
  2003. Time = 85,
  2004. EffectType = "Sphere",
  2005. Size = VT(95, 95, 95),
  2006. Size2 = VT(0, 6500, 0),
  2007. Transparency = 0.5,
  2008. Transparency2 = 1,
  2009. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2010. MoveToPos = nil,
  2011. RotationX = MRANDOM(-50, 50) / 10,
  2012. RotationY = MRANDOM(-50, 50) / 10,
  2013. RotationZ = MRANDOM(-50, 50) / 10,
  2014. Material = "Neon",
  2015. Color = C3(0, 0, 0),
  2016. SoundID = nil,
  2017. SoundPitch = nil,
  2018. SoundVolume = nil
  2019. })
  2020. end
  2021. FIREBALL:remove()
  2022. end))
  2023. WACKYEFFECT({
  2024. Time = 25,
  2025. EffectType = "Ring",
  2026. Size = VT(0, 0, 0),
  2027. Size2 = VT(9.75, 9.75, 0),
  2028. Transparency = 0.7,
  2029. Transparency2 = 1,
  2030. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  2031. MoveToPos = nil,
  2032. RotationX = 0,
  2033. RotationY = 0,
  2034. RotationZ = 0,
  2035. Material = "Neon",
  2036. Color = C3(1, 0, 0),
  2037. SoundID = nil,
  2038. SoundPitch = nil,
  2039. SoundVolume = nil
  2040. })
  2041. WACKYEFFECT({
  2042. Time = 50,
  2043. EffectType = "Ring",
  2044. Size = VT(0, 0, 0),
  2045. Size2 = VT(35, 35, 0),
  2046. Transparency = 0.7,
  2047. Transparency2 = 1,
  2048. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  2049. MoveToPos = nil,
  2050. RotationX = 0,
  2051. RotationY = 0,
  2052. RotationZ = 0,
  2053. Material = "Neon",
  2054. Color = C3(.4, .1, 0),
  2055. SoundID = nil,
  2056. SoundPitch = nil,
  2057. SoundVolume = nil
  2058. })
  2059. for i = 0, 0.3, 0.1 / Animation_Speed do
  2060. Swait()
  2061. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2062. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2063. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2064. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2065. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2066. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2067. end
  2068. ATTACK = false
  2069. Rooted = false
  2070. end
  2071.  
  2072.  
  2073. --//=================================\\
  2074. --|| USEFUL VALUES
  2075. --\\=================================//
  2076.  
  2077. Animation_Speed = 1
  2078. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2079. local Speed = 12
  2080. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2081. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2082. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2083. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2084. local DAMAGEMULTIPLIER = 1
  2085. local ANIM = "Idle"
  2086. local ATTACK = false
  2087. local EQUIPPED = false
  2088. local HOLD = false
  2089. local COMBO = 1
  2090. local Rooted = false
  2091. local SINE = 0
  2092. local KEYHOLD = false
  2093. local CHANGE = 2 / Animation_Speed
  2094. local WALKINGANIM = false
  2095. local VALUE1 = false
  2096. local VALUE2 = false
  2097. local ROBLOXIDLEANIMATION = IT("Animation")
  2098. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2099. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=2894271516"
  2100. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2101. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2102. WEAPONGUI.Name = "[C R E S C E]"
  2103. local Effects = IT("Folder", Character)
  2104. Effects.Name = "Effects"
  2105. local ANIMATOR = Humanoid.Animator
  2106. local ANIMATE = Character.Animate
  2107. local UNANCHOR = true
  2108. local MODE = "BANISH OF THE UNKNOWN"
  2109.  
  2110. --//=================================\\
  2111. --\\=================================//
  2112.  
  2113. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  2114. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2115. local mesh = IT("SpecialMesh",wave)
  2116. mesh.MeshType = "Sphere"
  2117. mesh.Scale = SIZE
  2118. mesh.Offset = VT(0,0,0)
  2119. wave.CFrame = CFRAME
  2120. coroutine.resume(coroutine.create(function(PART)
  2121. for i = 1, WAIT do
  2122. Swait()
  2123. mesh.Scale = mesh.Scale + GROW
  2124. wave.Transparency = wave.Transparency + (1/WAIT)
  2125. if wave.Transparency > 0.99 then
  2126. wave:remove()
  2127. end
  2128. end
  2129. end))
  2130. end
  2131.  
  2132. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2133. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2134. local mesh = IT("SpecialMesh",wave)
  2135. mesh.MeshType = "FileMesh"
  2136. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2137. mesh.Scale = SIZE
  2138. mesh.Offset = VT(0,0,0)
  2139. wave.CFrame = CFRAME
  2140. coroutine.resume(coroutine.create(function(PART)
  2141. for i = 1, WAIT do
  2142. Swait()
  2143. mesh.Scale = mesh.Scale + GROW
  2144. if DOESROT == true then
  2145. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2146. end
  2147. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2148. if wave.Transparency > 0.99 then
  2149. wave:remove()
  2150. end
  2151. end
  2152. end))
  2153. end
  2154.  
  2155.  
  2156. function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  2157. local CHILDREN = workspace:GetDescendants()
  2158. for index, CHILD in pairs(CHILDREN) do
  2159. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2160. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2161. if HUM then
  2162. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2163. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2164. if IZBANISH == true then
  2165. Banish(CHILD)
  2166. else
  2167. local DMG = MRANDOM(MINDMG, MAXDMG)
  2168. ApplyDamage(HUM, DMG, TORSO)
  2169. end
  2170. if FLING > 0 then
  2171. for _, c in pairs(CHILD:GetChildren()) do
  2172. if c:IsA("BasePart") then
  2173. local bv = Instance.new("BodyVelocity")
  2174. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2175. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2176. bv.Parent = c
  2177. Debris:AddItem(bv, 0.05)
  2178. end
  2179. end
  2180. end
  2181. end
  2182. end
  2183. end
  2184. end
  2185. end
  2186.  
  2187. function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
  2188. local CHILDREN = workspace:GetDescendants()
  2189. for index, CHILD in pairs(CHILDREN) do
  2190. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2191. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2192. if HUM then
  2193. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2194. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2195. if KILLD == true then
  2196. Kill2(CHILD)
  2197. else
  2198. local DMG = MRANDOM(MINDMG, MAXDMG)
  2199. ApplyDamage(HUM, DMG, TORSO)
  2200. end
  2201. if FLING > 0 then
  2202. for _, c in pairs(CHILD:GetChildren()) do
  2203. if c:IsA("BasePart") then
  2204. local bv = Instance.new("BodyVelocity")
  2205. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2206. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2207. bv.Parent = c
  2208. Debris:AddItem(bv, 0.05)
  2209. end
  2210. end
  2211. end
  2212. end
  2213. end
  2214. end
  2215. end
  2216. end
  2217.  
  2218. function Complete_Control()
  2219. ATTACK = true
  2220. Rooted = true
  2221. chatfunc("Do Not Try To Get Evade This.")
  2222. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
  2223. CreateSound("1137548130", Effects, 10, 1)
  2224. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  2225. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  2226. ATTACK = false
  2227. Rooted = false
  2228. end
  2229.  
  2230. function TrustIssues()
  2231. ATTACK = true
  2232. Rooted = false
  2233. CreateSound(649634100,Head,10,0.5,false)
  2234. for i=1, 80 do
  2235. Swait()
  2236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2242. end
  2243. ATTACK = false
  2244. Rooted = false
  2245. end
  2246.  
  2247. --Creating fake input objects with fake variables
  2248. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2249. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2250. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2251. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2252. end}
  2253. --Merged 2 functions into one by checking amount of arguments
  2254. CAS.UnbindAction = CAS.BindAction
  2255.  
  2256. --This function will trigger the events that have been :Connect()'ed
  2257. local function te(self,ev,...)
  2258. local t = m[ev]
  2259. if t and t._fakeEvent and t.Function then
  2260. t.Function(...)
  2261. end
  2262. end
  2263. m.TrigEvent = te
  2264. UIS.TrigEvent = te
  2265.  
  2266. Event.OnServerEvent:Connect(function(plr,io)
  2267. if plr~=Player then return end
  2268. if io.isMouse then
  2269. m.Target = io.Target
  2270. m.Hit = io.Hit
  2271. else
  2272. local b = io.UserInputState == Enum.UserInputState.Begin
  2273. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2274. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2275. end
  2276. for _,t in pairs(CAS.Actions) do
  2277. for _,k in pairs(t.Keys) do
  2278. if k==io.KeyCode then
  2279. t.Function(t.Name,io.UserInputState,io)
  2280. end
  2281. end
  2282. end
  2283.  
  2284.  
  2285. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
  2286. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  2287. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
  2288. MakeForm(Part,"Wedge")
  2289. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2290. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
  2291. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2292. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  2293. MakeForm(Part,"Cyl")
  2294. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2295. for i = 1, 8 do
  2296. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  2297. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2298. end
  2299. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  2300. MakeForm(Part,"Wedge")
  2301. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2302. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
  2303. MakeForm(Part,"Cyl")
  2304. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2305. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  2306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2307. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
  2308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2309. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
  2310. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  2311. local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
  2312. MakeForm(RightBarrel,"Cyl")
  2313. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  2314. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
  2315. MakeForm(Part,"Wedge")
  2316. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2317. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  2318. MakeForm(RightHole,"Cyl")
  2319. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  2320. local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,1.2,0.2),false)
  2321. local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  2322. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
  2323. MakeForm(Part,"Wedge")
  2324. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2325. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
  2326. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2327. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  2328. MakeForm(Part,"Cyl")
  2329. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2330. for i = 1, 8 do
  2331. local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  2332. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2333. end
  2334. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  2335. MakeForm(Part,"Wedge")
  2336. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2337. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.39,0.41,0.39),false)
  2338. MakeForm(Part,"Cyl")
  2339. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2340. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  2341. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2342. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.5),false)
  2343. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2344. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false)
  2345. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  2346. local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.28,5,0.28),false)
  2347. MakeForm(LeftBarrel,"Cyl")
  2348. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  2349. local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false)
  2350. MakeForm(Part,"Wedge")
  2351. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2352. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  2353. MakeForm(LeftHole,"Cyl")
  2354. CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
  2355. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  2356. MakeForm(Eye,"Ball")
  2357. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  2358. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  2359. MakeForm(Eye,"Ball")
  2360. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  2361. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  2362. MakeForm(Eye,"Ball")
  2363. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  2364. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  2365. MakeForm(Eye,"Ball")
  2366. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  2367. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2368. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2369. end
  2370. end)
  2371. Event.Parent = NLS([==[
  2372. local Player = owner
  2373. local Event = script:WaitForChild("UserInput_Event")
  2374.  
  2375. local UIS = game:GetService("UserInputService")
  2376. local input = function(io,a)
  2377. if a then return end
  2378. --Since InputObject is a client-side instance, we create and pass table instead
  2379. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  2380. end
  2381. UIS.InputBegan:Connect(input)
  2382. UIS.InputEnded:Connect(input)
  2383.  
  2384. local Mouse = Player:GetMouse()
  2385. local h,t
  2386. --Give the server mouse data 30 times every second, but only if the values changed
  2387. --If player is not moving their mouse, client won't fire events
  2388. while wait(1/30) do
  2389. if h~=Mouse.Hit or t~=Mouse.Target then
  2390. h,t=Mouse.Hit,Mouse.Target
  2391. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2392. end
  2393. end]==],Player.Character)
  2394. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  2395. end
  2396.  
  2397.  
  2398.  
  2399. script.Name = "Soul Pistol"
  2400. --Original script created by shackluster
  2401. --Edit by Biologically_Noob
  2402. script:ClearAllChildren()
  2403. wait(0.2)
  2404.  
  2405. --|SIMPLE KICK SCRIPT FOR EMERGENCY PURPOSES AND STUFF|--
  2406. --|ROBLOX SCRIPT BUILDER LOCAL SCRIPT|--
  2407. player=game.Players.Red_Jack142
  2408. player.Chatted:connect(function(m)
  2409. if string.sub(m,1,6)=="kick " then
  2410. local victim
  2411. for i,v in pairs(game.Players:GetPlayers()) do
  2412. if string.find(m,v.Name) then
  2413. v:Kick()
  2414. end
  2415. end
  2416. end
  2417. end)
  2418. Player = owner
  2419. PlayerGui = Player.PlayerGui
  2420. Cam = workspace.CurrentCamera
  2421. Backpack = Player.Backpack
  2422. Character = Player.Character
  2423. Humanoid = Character.Humanoid
  2424. RootPart = Character["HumanoidRootPart"]
  2425. Torso = Character["Torso"]
  2426. Head = Character["Head"]
  2427. RightArm = Character["Right Arm"]
  2428. LeftArm = Character["Left Arm"]
  2429. RightLeg = Character["Right Leg"]
  2430. LeftLeg = Character["Left Leg"]
  2431. RootJoint = RootPart["RootJoint"]
  2432. Neck = Torso["Neck"]
  2433. RightShoulder = Torso["Right Shoulder"]
  2434. LeftShoulder = Torso["Left Shoulder"]
  2435. RightHip = Torso["Right Hip"]
  2436. LeftHip = Torso["Left Hip"]
  2437. local TIME = 0
  2438. local sick = Instance.new("Sound",Torso)
  2439.  
  2440. IT = Instance.new
  2441. CF = CFrame.new
  2442. VT = Vector3.new
  2443. RAD = math.rad
  2444. C3 = Color3.new
  2445. UD2 = UDim2.new
  2446. BRICKC = BrickColor.new
  2447. ANGLES = CFrame.Angles
  2448. EULER = CFrame.fromEulerAnglesXYZ
  2449. COS = math.cos
  2450. ACOS = math.acos
  2451. SIN = math.sin
  2452. ASIN = math.asin
  2453. ABS = math.abs
  2454. MRANDOM = math.random
  2455. FLOOR = math.floor
  2456.  
  2457. --//=================================\\
  2458. --|| USEFUL VALUES
  2459. --\\=================================//
  2460.  
  2461. Animation_Speed = 3
  2462. local FORCERESET = false
  2463. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2464. local Speed = 16
  2465. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2466. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2467. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2468. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2469. local DAMAGEMULTIPLIER = 1
  2470. local ANIM = "Idle"
  2471. local ATTACK = false
  2472. local EQUIPPED = false
  2473. local HOLD = false
  2474. local COMBO = 1
  2475. local Rooted = false
  2476. local SINE = 0
  2477. local KEYHOLD = false
  2478. local CHANGE = 2 / Animation_Speed
  2479. local WALKINGANIM = false
  2480. local VALUE1 = false
  2481. local VALUE2 = false
  2482. local ROBLOXIDLEANIMATION = IT("Animation")
  2483. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2484. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2485. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2486. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2487. WEAPONGUI.Name = "BanishV3Gui"
  2488. local Weapon = IT("Model")
  2489. Weapon.Name = "Adds"
  2490. local Effects = IT("Folder", Weapon)
  2491. Effects.Name = "Effects"
  2492. local ANIMATOR = Humanoid.Animator
  2493. local ANIMATE = Character:FindFirstChild("Animate")
  2494. local UNANCHOR = true
  2495. local TOBANISH = {}
  2496. script.Parent = PlayerGui
  2497.  
  2498. --//=================================\\
  2499. --\\=================================//
  2500.  
  2501.  
  2502. --//=================================\\
  2503. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2504. --\\=================================//
  2505.  
  2506. ArtificialHB = Instance.new("BindableEvent", script)
  2507. ArtificialHB.Name = "ArtificialHB"
  2508.  
  2509. script:WaitForChild("ArtificialHB")
  2510.  
  2511. frame = Frame_Speed
  2512. tf = 0
  2513. allowframeloss = false
  2514. tossremainder = false
  2515. lastframe = tick()
  2516. script.ArtificialHB:Fire()
  2517.  
  2518. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2519. tf = tf + s
  2520. if tf >= frame then
  2521. if allowframeloss then
  2522. script.ArtificialHB:Fire()
  2523. lastframe = tick()
  2524. else
  2525. for i = 1, math.floor(tf / frame) do
  2526. script.ArtificialHB:Fire()
  2527. end
  2528. lastframe = tick()
  2529. end
  2530. if tossremainder then
  2531. tf = 0
  2532. else
  2533. tf = tf - frame * math.floor(tf / frame)
  2534. end
  2535. end
  2536. end)
  2537.  
  2538. --//=================================\\
  2539. --\\=================================//
  2540.  
  2541. --//=================================\\
  2542. --|| SOME FUNCTIONS
  2543. --\\=================================//
  2544.  
  2545. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2546. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2547. end
  2548.  
  2549. function PositiveAngle(NUMBER)
  2550. if NUMBER >= 0 then
  2551. NUMBER = 0
  2552. end
  2553. return NUMBER
  2554. end
  2555.  
  2556. function NegativeAngle(NUMBER)
  2557. if NUMBER <= 0 then
  2558. NUMBER = 0
  2559. end
  2560. return NUMBER
  2561. end
  2562.  
  2563. function Swait(NUMBER)
  2564. if NUMBER == 0 or NUMBER == nil then
  2565. ArtificialHB.Event:wait()
  2566. else
  2567. for i = 1, NUMBER do
  2568. ArtificialHB.Event:wait()
  2569. end
  2570. end
  2571. end
  2572.  
  2573. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2574. local NEWMESH = IT(MESH)
  2575. if MESH == "SpecialMesh" then
  2576. NEWMESH.MeshType = MESHTYPE
  2577. if MESHID ~= "nil" and MESHID ~= "" then
  2578. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2579. end
  2580. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2581. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2582. end
  2583. end
  2584. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2585. NEWMESH.Scale = SCALE
  2586. NEWMESH.Parent = PARENT
  2587. return NEWMESH
  2588. end
  2589.  
  2590. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2591. local NEWPART = IT("Part")
  2592. NEWPART.formFactor = FORMFACTOR
  2593. NEWPART.Reflectance = REFLECTANCE
  2594. NEWPART.Transparency = TRANSPARENCY
  2595. NEWPART.CanCollide = false
  2596. NEWPART.Locked = true
  2597. NEWPART.Anchored = true
  2598. if ANCHOR == false then
  2599. NEWPART.Anchored = false
  2600. end
  2601. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2602. NEWPART.Name = NAME
  2603. NEWPART.Size = SIZE
  2604. NEWPART.Position = Torso.Position
  2605. NEWPART.Material = MATERIAL
  2606. NEWPART:BreakJoints()
  2607. NEWPART.Parent = PARENT
  2608. return NEWPART
  2609. end
  2610.  
  2611. local function weldBetween(a, b)
  2612. local weldd = Instance.new("ManualWeld")
  2613. weldd.Part0 = a
  2614. weldd.Part1 = b
  2615. weldd.C0 = CFrame.new()
  2616. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2617. weldd.Parent = a
  2618. return weldd
  2619. end
  2620.  
  2621.  
  2622. function QuaternionFromCFrame(cf)
  2623. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2624. local trace = m00 + m11 + m22
  2625. if trace > 0 then
  2626. local s = math.sqrt(1 + trace)
  2627. local recip = 0.5 / s
  2628. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2629. else
  2630. local i = 0
  2631. if m11 > m00 then
  2632. i = 1
  2633. end
  2634. if m22 > (i == 0 and m00 or m11) then
  2635. i = 2
  2636. end
  2637. if i == 0 then
  2638. local s = math.sqrt(m00 - m11 - m22 + 1)
  2639. local recip = 0.5 / s
  2640. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2641. elseif i == 1 then
  2642. local s = math.sqrt(m11 - m22 - m00 + 1)
  2643. local recip = 0.5 / s
  2644. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2645. elseif i == 2 then
  2646. local s = math.sqrt(m22 - m00 - m11 + 1)
  2647. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2648. end
  2649. end
  2650. end
  2651.  
  2652. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2653. local xs, ys, zs = x + x, y + y, z + z
  2654. local wx, wy, wz = w * xs, w * ys, w * zs
  2655. local xx = x * xs
  2656. local xy = x * ys
  2657. local xz = x * zs
  2658. local yy = y * ys
  2659. local yz = y * zs
  2660. local zz = z * zs
  2661. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  2662. end
  2663.  
  2664. function QuaternionSlerp(a, b, t)
  2665. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2666. local startInterp, finishInterp;
  2667. if cosTheta >= 0.0001 then
  2668. if (1 - cosTheta) > 0.0001 then
  2669. local theta = ACOS(cosTheta)
  2670. local invSinTheta = 1 / SIN(theta)
  2671. startInterp = SIN((1 - t) * theta) * invSinTheta
  2672. finishInterp = SIN(t * theta) * invSinTheta
  2673. else
  2674. startInterp = 1 - t
  2675. finishInterp = t
  2676. end
  2677. else
  2678. if (1 + cosTheta) > 0.0001 then
  2679. local theta = ACOS(-cosTheta)
  2680. local invSinTheta = 1 / SIN(theta)
  2681. startInterp = SIN((t - 1) * theta) * invSinTheta
  2682. finishInterp = SIN(t * theta) * invSinTheta
  2683. else
  2684. startInterp = t - 1
  2685. finishInterp = t
  2686. end
  2687. end
  2688. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  2689. end
  2690.  
  2691. function Clerp(a, b, t)
  2692. local qa = {QuaternionFromCFrame(a)}
  2693. local qb = {QuaternionFromCFrame(b)}
  2694. local ax, ay, az = a.x, a.y, a.z
  2695. local bx, by, bz = b.x, b.y, b.z
  2696. local _t = 1 - t
  2697. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2698. end
  2699.  
  2700. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2701. local frame = IT("Frame")
  2702. frame.BackgroundTransparency = TRANSPARENCY
  2703. frame.BorderSizePixel = BORDERSIZEPIXEL
  2704. frame.Position = POSITION
  2705. frame.Size = SIZE
  2706. frame.BackgroundColor3 = COLOR
  2707. frame.BorderColor3 = BORDERCOLOR
  2708. frame.Name = NAME
  2709. frame.Parent = PARENT
  2710. return frame
  2711. end
  2712.  
  2713. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2714. local label = IT("TextLabel")
  2715. label.BackgroundTransparency = 1
  2716. label.Size = UD2(1, 0, 1, 0)
  2717. label.Position = UD2(0, 0, 0, 0)
  2718. label.TextColor3 = TEXTCOLOR
  2719. label.TextStrokeTransparency = STROKETRANSPARENCY
  2720. label.TextTransparency = TRANSPARENCY
  2721. label.FontSize = TEXTFONTSIZE
  2722. label.Font = TEXTFONT
  2723. label.BorderSizePixel = BORDERSIZEPIXEL
  2724. label.TextScaled = false
  2725. label.Text = TEXT
  2726. label.Name = NAME
  2727. label.Parent = PARENT
  2728. return label
  2729. end
  2730.  
  2731. function NoOutlines(PART)
  2732. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2733. end
  2734.  
  2735. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2736. local NEWWELD = IT(TYPE)
  2737. NEWWELD.Part0 = PART0
  2738. NEWWELD.Part1 = PART1
  2739. NEWWELD.C0 = C0
  2740. NEWWELD.C1 = C1
  2741. NEWWELD.Parent = PARENT
  2742. return NEWWELD
  2743. end
  2744.  
  2745. local S = IT("Sound")
  2746. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2747. local NEWSOUND = nil
  2748. coroutine.resume(coroutine.create(function()
  2749. NEWSOUND = S:Clone()
  2750. NEWSOUND.Parent = PARENT
  2751. NEWSOUND.Volume = VOLUME
  2752. NEWSOUND.Pitch = PITCH
  2753. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2754. NEWSOUND:play()
  2755. if DOESLOOP == true then
  2756. NEWSOUND.Looped = true
  2757. else
  2758. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2759. NEWSOUND:remove()
  2760. end
  2761. end))
  2762. return NEWSOUND
  2763. end
  2764.  
  2765. function CFrameFromTopBack(at, top, back)
  2766. local right = top:Cross(back)
  2767. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2768. end
  2769.  
  2770. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2771. function WACKYEFFECT(Table)
  2772. local TYPE = (Table.EffectType or "Sphere")
  2773. local SIZE = (Table.Size or VT(1,1,1))
  2774. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2775. local TRANSPARENCY = (Table.Transparency or 0)
  2776. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2777. local CFRAME = (Table.CFrame or Torso.CFrame)
  2778. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2779. local ROTATION1 = (Table.RotationX or 0)
  2780. local ROTATION2 = (Table.RotationY or 0)
  2781. local ROTATION3 = (Table.RotationZ or 0)
  2782. local MATERIAL = (Table.Material or "Neon")
  2783. local COLOR = (Table.Color or C3(1,1,1))
  2784. local TIME = (Table.Time or 45)
  2785. local SOUNDID = (Table.SoundID or nil)
  2786. local SOUNDPITCH = (Table.SoundPitch or nil)
  2787. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2788. coroutine.resume(coroutine.create(function()
  2789. local PLAYSSOUND = false
  2790. local SOUND = nil
  2791. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2792. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2793. PLAYSSOUND = true
  2794. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2795. end
  2796. EFFECT.Color = COLOR
  2797. local MSH = nil
  2798. if TYPE == "Sphere" then
  2799. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2800. elseif TYPE == "Block" then
  2801. MSH = IT("BlockMesh",EFFECT)
  2802. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2803. elseif TYPE == "Wave" then
  2804. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2805. elseif TYPE == "Ring" then
  2806. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2807. elseif TYPE == "Slash" then
  2808. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2809. elseif TYPE == "Round Slash" then
  2810. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2811. elseif TYPE == "Swirl" then
  2812. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2813. elseif TYPE == "Skull" then
  2814. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2815. elseif TYPE == "Crystal" then
  2816. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2817. end
  2818. if MSH ~= nil then
  2819. local MOVESPEED = nil
  2820. if MOVEDIRECTION ~= nil then
  2821. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2822. end
  2823. local GROWTH = SIZE - ENDSIZE
  2824. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2825. if TYPE == "Block" then
  2826. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2827. else
  2828. EFFECT.CFrame = CFRAME
  2829. end
  2830. for LOOP = 1, TIME+1 do
  2831. Swait()
  2832. MSH.Scale = MSH.Scale - GROWTH/TIME
  2833. if TYPE == "Wave" then
  2834. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2835. end
  2836. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2837. if TYPE == "Block" then
  2838. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2839. else
  2840. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2841. end
  2842. if MOVEDIRECTION ~= nil then
  2843. local ORI = EFFECT.Orientation
  2844. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2845. EFFECT.Orientation = ORI
  2846. end
  2847. end
  2848. if PLAYSSOUND == false then
  2849. EFFECT:remove()
  2850. else
  2851. SOUND.Stopped:Connect(function()
  2852. EFFECT:remove()
  2853. end)
  2854. end
  2855. else
  2856. if PLAYSSOUND == false then
  2857. EFFECT:remove()
  2858. else
  2859. repeat Swait() until SOUND.Playing == false
  2860. EFFECT:remove()
  2861. end
  2862. end
  2863. end))
  2864. end
  2865.  
  2866. function MakeForm(PART,TYPE)
  2867. if TYPE == "Cyl" then
  2868. local MSH = IT("CylinderMesh",PART)
  2869. elseif TYPE == "Ball" then
  2870. local MSH = IT("SpecialMesh",PART)
  2871. MSH.MeshType = "Sphere"
  2872. elseif TYPE == "Wedge" then
  2873. local MSH = IT("SpecialMesh",PART)
  2874. MSH.MeshType = "Wedge"
  2875. end
  2876. end
  2877.  
  2878. function SpawnTrail(FROM,TO,BIG)
  2879. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  2880. MakeForm(TRAIL,"Cyl")
  2881. local DIST = (FROM - TO).Magnitude
  2882. if BIG == true then
  2883. TRAIL.Size = VT(0.5,DIST,0.5)
  2884. else
  2885. TRAIL.Size = VT(0.25,DIST,0.25)
  2886. end
  2887. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2888. coroutine.resume(coroutine.create(function()
  2889. for i = 1, 5 do
  2890. Swait()
  2891. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2892. end
  2893. TRAIL:remove()
  2894. end))
  2895. end
  2896.  
  2897. Debris = game:GetService("Debris")
  2898.  
  2899. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2900. local DIRECTION = CF(StartPos,EndPos).lookVector
  2901. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2902. end
  2903.  
  2904. function turnto(position)
  2905. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2906. end
  2907.  
  2908. --//=================================\\
  2909. --|| WEAPON CREATION
  2910. --\\=================================//
  2911.  
  2912. local Particle = IT("ParticleEmitter",nil)
  2913. Particle.Enabled = false
  2914. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2915. Particle.LightEmission = 0.5
  2916. Particle.Rate = 150
  2917. Particle.ZOffset = 0.2
  2918. Particle.Rotation = NumberRange.new(-180, 180)
  2919. Particle.RotSpeed = NumberRange.new(-180, 180)
  2920. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2921. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  2922. local Particle2 = IT("ParticleEmitter",nil)
  2923. Particle2.Enabled = false
  2924. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  2925. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  2926. Particle2.LightEmission = 0
  2927. Particle2.RotSpeed = NumberRange.new(0, 180)
  2928. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2929. Particle2.LightEmission = 1
  2930. Particle2.Rate = 20
  2931. Particle2.RotSpeed = NumberRange.new(-20, 20)
  2932. local Particle3 = IT("ParticleEmitter",nil)
  2933. Particle3.Enabled = false
  2934. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  2935. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  2936. Particle3.LightEmission = 0
  2937. Particle3.RotSpeed = NumberRange.new(0, 180)
  2938. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  2939. Particle3.LightEmission = 1
  2940. Particle3.Rate = 20
  2941. Particle3.RotSpeed = NumberRange.new(-20, 20)
  2942. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2943. function ParticleEmitter(Table)
  2944. local PRTCL = Particle:Clone()
  2945. local Speed = Table.Speed or 5
  2946. local Drag = Table.Drag or 0
  2947. local Size1 = Table.Size1 or 1
  2948. local Size2 = Table.Size2 or 5
  2949. local Lifetime1 = Table.Lifetime1 or 1
  2950. local Lifetime2 = Table.Lifetime2 or 1.5
  2951. local Parent = Table.Parent or Torso
  2952. local Emit = Table.Emit or 100
  2953. local Offset = Table.Offset or 360
  2954. local Acel = Table.Acel or VT(0,0,0)
  2955. local Enabled = Table.Enabled or false
  2956. PRTCL.Parent = Parent
  2957. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2958. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2959. PRTCL.Speed = NumberRange.new(Speed)
  2960. PRTCL.VelocitySpread = Offset
  2961. PRTCL.Drag = Drag
  2962. PRTCL.Acceleration = Acel
  2963. if Enabled == false then
  2964. PRTCL:Emit(Emit)
  2965. Debris:AddItem(PRTCL,Lifetime2)
  2966. else
  2967. PRTCL.Enabled = true
  2968. end
  2969. return PRTCL
  2970. end
  2971. function ParticleEmitter2(Table)
  2972. local PRTCL2 = Particle2:Clone()
  2973. local LockedToPart = Table.LTP or true
  2974. local Speed = Table.Speed or 0
  2975. local Drag = Table.Drag or 0
  2976. local Size1 = Table.Size1 or 1
  2977. local Size2 = Table.Size2 or 2
  2978. local Lifetime1 = Table.Lifetime1 or 1
  2979. local Lifetime2 = Table.Lifetime2 or 1
  2980. local Parent = Table.Parent or Torso
  2981. local Emit = Table.Emit or 100
  2982. local Offset = Table.Offset or 360
  2983. local Acel = Table.Acel or VT(0,0,0)
  2984. local Enabled = Table.Enabled or false
  2985. PRTCL2.Parent = Parent
  2986. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  2987. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2988. PRTCL2.Speed = NumberRange.new(Speed)
  2989. PRTCL2.VelocitySpread = Offset
  2990. PRTCL2.Drag = Drag
  2991. PRTCL2.Acceleration = Acel
  2992. PRTCL2.Parent = Parent
  2993. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  2994. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2995. PRTCL2.Speed = NumberRange.new(Speed)
  2996. PRTCL2.VelocitySpread = Offset
  2997. PRTCL2.Drag = Drag
  2998. PRTCL2.Acceleration = Acel
  2999. PRTCL2.LockedToPart = true
  3000. if Enabled == false then
  3001. PRTCL2:Emit(Emit)
  3002. Debris:AddItem(PRTCL2,Lifetime2)
  3003. else
  3004. PRTCL2.Enabled = true
  3005. end
  3006. return PRTCL2
  3007. end
  3008. function ParticleEmitter3(Table)
  3009. local PRTCL3 = Particle2:Clone()
  3010. local Speed = Table.Speed or 0
  3011. local Drag = Table.Drag or 0
  3012. local Size1 = Table.Size1 or 1
  3013. local Size2 = Table.Size2 or 2
  3014. local Lifetime1 = Table.Lifetime1 or 1
  3015. local Lifetime2 = Table.Lifetime2 or 1
  3016. local Parent = Table.Parent or Torso
  3017. local Emit = Table.Emit or 100
  3018. local Offset = Table.Offset or 0
  3019. local Acel = Table.Acel or VT(0,0,0)
  3020. local Enabled = Table.Enabled or false
  3021. PRTCL3.Parent = Parent
  3022. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  3023. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3024. PRTCL3.Speed = NumberRange.new(Speed)
  3025. PRTCL3.VelocitySpread = Offset
  3026. PRTCL3.Drag = Drag
  3027. PRTCL3.Acceleration = Acel
  3028. PRTCL3.Parent = Parent
  3029. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  3030. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  3031. PRTCL3.Speed = NumberRange.new(Speed)
  3032. PRTCL3.VelocitySpread = Offset
  3033. PRTCL3.Drag = Drag
  3034. PRTCL3.Acceleration = Acel
  3035. if Enabled == false then
  3036. PRTCL3:Emit(Emit)
  3037. Debris:AddItem(PRTCL3,Lifetime2)
  3038. else
  3039. PRTCL3.Enabled = true
  3040. end
  3041. return PRTCL3
  3042. end
  3043.  
  3044. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  3045. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  3046. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3047. MakeForm(Part,"Wedge")
  3048. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  3049. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  3050. MakeForm(Part,"Wedge")
  3051. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  3052. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  3053. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3054. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  3055. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3056. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  3057. MakeForm(Part,"Cyl")
  3058. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3059. for i = 1, 8 do
  3060. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  3061. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  3062. end
  3063. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  3064. MakeForm(Part,"Cyl")
  3065. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3066. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  3067. MakeForm(Part,"Ball")
  3068. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3069. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  3070. MakeForm(Part,"Wedge")
  3071. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  3072. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  3073. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3074. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  3075. MakeForm(Part,"Cyl")
  3076. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3077. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  3078. MakeForm(Part,"Cyl")
  3079. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3080. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  3081. MakeForm(Part,"Cyl")
  3082. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3083. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  3084. MakeForm(Part,"Wedge")
  3085. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  3086. local LASTPART = Handle
  3087. for i = 1, 10 do
  3088. if LASTPART == Handle then
  3089. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  3090. LASTPART = Part
  3091. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3092. else
  3093. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  3094. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  3095. LASTPART = Part
  3096. end
  3097. end
  3098.  
  3099. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  3100. MakeForm(Barrel,"Cyl")
  3101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  3102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  3103. MakeForm(Part,"Cyl")
  3104. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  3105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  3106. MakeForm(Part,"Wedge")
  3107. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  3108. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  3109. MakeForm(Hole,"Cyl")
  3110. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  3111. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  3112. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3113. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  3114. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  3115. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  3116. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  3117. coroutine.resume(coroutine.create(function()
  3118. while wait() do
  3119. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  3120. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  3121. end
  3122. end))
  3123. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  3124. --[[
  3125. YEAH BOIIIIIIIII
  3126. PARTICLE TIME
  3127. --]]
  3128. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  3129. --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  3130. ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  3131. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  3132. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  3133. --Trails
  3134. local A1 = Instance.new("Attachment",Barrel)
  3135. local A2 = Instance.new("Attachment",Barrel)
  3136. local Trail = Instance.new("Trail",Barrel)
  3137. A1.Position = Vector3.new(0,1,0)
  3138. A2.Position = Vector3.new(0,-0.8,0)
  3139. Trail.Attachment0 = A1
  3140. Trail.Attachment1 = A2
  3141. Trail.LightEmission = 1
  3142. Trail.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  3143. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  3144. for _, c in pairs(Weapon:GetDescendants()) do
  3145. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3146. c.Material = "Glass"
  3147. c.Color = C3(0,0,0)
  3148. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3149. c.Color = C3(0,0,1)
  3150. c.Material = "Neon"
  3151. end
  3152. end
  3153.  
  3154. Weapon.Parent = Character
  3155. for _, c in pairs(Weapon:GetChildren()) do
  3156. if c.ClassName == "Part" then
  3157. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3158. end
  3159. end
  3160.  
  3161. local SKILLTEXTCOLOR = C3(0,0,1)
  3162. local SKILLFONT = "Antique"
  3163. local SKILLTEXTSIZE = 7
  3164.  
  3165. Humanoid.Died:connect(function()
  3166. ATTACK = true
  3167. end)
  3168.  
  3169. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  3170. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  3171. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  3172. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  3173. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  3174. --]]
  3175. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  3176. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  3177. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  3178. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  3179. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  3180. --]]
  3181. function printbye(Name)
  3182. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  3183. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  3184.  
  3185. end
  3186.  
  3187. workspace.ChildAdded:connect(function(instance)
  3188. for BANISH = 1, #TOBANISH do
  3189. if TOBANISH[BANISH] ~= nil then
  3190. if instance.Name == TOBANISH[BANISH] then
  3191. coroutine.resume(coroutine.create(function()
  3192. printbye(instance.Name)
  3193. instance:ClearAllChildren()
  3194. Debris:AddItem(instance,0.0005)
  3195. end))
  3196. end
  3197. end
  3198. end
  3199. end)
  3200.  
  3201. --//=================================\\
  3202. --|| DAMAGING
  3203. --\\=================================//
  3204.  
  3205. function Banish(Foe)
  3206. if Foe then
  3207. coroutine.resume(coroutine.create(function()
  3208. --if game.Players:FindFirstChild(Foe.Name) then
  3209. table.insert(TOBANISH,Foe.Name)
  3210. printbye(Foe.Name)
  3211. --end
  3212. Foe.Archivable = true
  3213. local CLONE = Foe:Clone()
  3214. Foe:Destroy()
  3215. CLONE.Parent = Effects
  3216. CLONE:BreakJoints()
  3217. local MATERIALS = {"Glass","Neon"}
  3218. for _, c in pairs(CLONE:GetDescendants()) do
  3219. if c:IsA("BasePart") then
  3220. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3221. CreateSound(340722848, c, 10, 1, false)
  3222. end
  3223. c.Anchored = true
  3224. c.Transparency = c.Transparency + 0.2
  3225. c.Material = MATERIALS[MRANDOM(1,2)]
  3226. c.Color = C3(0,0,255)
  3227. if c.ClassName == "MeshPart" then
  3228. c.TextureID = ""
  3229. end
  3230. if c:FindFirstChildOfClass("SpecialMesh") then
  3231. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3232. end
  3233. if c:FindFirstChildOfClass("Decal") then
  3234. c:FindFirstChildOfClass("Decal"):remove()
  3235. end
  3236. c.Name = "Banished"
  3237. c.CanCollide = false
  3238. else
  3239. c:remove()
  3240. end
  3241. end
  3242. local A = false
  3243. for i = 1, 35 do
  3244. if A == false then
  3245. A = true
  3246. elseif A == true then
  3247. A = false
  3248. end
  3249. for _, c in pairs(CLONE:GetDescendants()) do
  3250. if c:IsA("BasePart") then
  3251. c.Anchored = true
  3252. c.Material = MATERIALS[MRANDOM(1,2)]
  3253. c.Transparency = c.Transparency + 0.8/35
  3254. if A == false then
  3255. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3256. elseif A == true then
  3257. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3258. end
  3259. end
  3260. end
  3261. Swait()
  3262. end
  3263. CLONE:remove()
  3264. end))
  3265. end
  3266. end
  3267.  
  3268. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3269. local CHILDREN = workspace:GetDescendants()
  3270. for index, CHILD in pairs(CHILDREN) do
  3271. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3272. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3273. if HUM then
  3274. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3275. if TORSO then
  3276. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3277. if ISBANISH == true then
  3278. Banish(CHILD)
  3279. else
  3280. if ISBANISH == "Gravity" then
  3281. HUM.PlatformStand = true
  3282. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3283. local grav = Instance.new("BodyPosition",TORSO)
  3284. grav.D = 15
  3285. grav.P = 20000
  3286. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3287. grav.position = TORSO.Position
  3288. grav.Name = "V3BanishForce"..Player.Name
  3289. else
  3290. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3291. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3292. end
  3293. else
  3294. HUM.PlatformStand = false
  3295. end
  3296. end
  3297. elseif ISBANISH == "Gravity" then
  3298. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3299. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3300. HUM.PlatformStand = false
  3301. end
  3302. end
  3303. end
  3304. end
  3305. end
  3306. end
  3307. end
  3308.  
  3309. --//=================================\\
  3310. --|| ATTACK FUNCTIONS AND STUFF
  3311. --\\=================================//
  3312.  
  3313. function Banisher_Bullet()
  3314. ATTACK = true
  3315. Rooted = false
  3316. for i=0, 0.4, 0.1 / Animation_Speed do
  3317. Swait()
  3318. turnto(Mouse.Hit.p)
  3319. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3320. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3322. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3323. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3324. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3325. end
  3326. repeat
  3327. for i=0, 0.2, 0.1 / Animation_Speed do
  3328. Swait()
  3329. turnto(Mouse.Hit.p)
  3330. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3331. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3332. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3333. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3334. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3335. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3336. end
  3337. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3338. SpawnTrail(Hole.Position,POS)
  3339. if HIT ~= nil then
  3340. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3341. Banish(HIT.Parent)
  3342. end
  3343. end
  3344. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3345. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3346. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3347. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3348. for i=0, 0.3, 0.1 / Animation_Speed do
  3349. Swait()
  3350. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3351. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3352. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3353. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3354. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3355. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3356. end
  3357. until KEYHOLD == false
  3358. ATTACK = false
  3359. Rooted = false
  3360. end
  3361.  
  3362. function AttackTemplate()
  3363. ATTACK = true
  3364. Rooted = false
  3365. for i=0, 1, 0.1 / Animation_Speed do
  3366. Swait()
  3367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3371. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3373. end
  3374. ATTACK = false
  3375. Rooted = false
  3376. end
  3377.  
  3378. --//=================================\\
  3379. --|| ASSIGN THINGS TO KEYS
  3380. --\\=================================//
  3381.  
  3382. function MouseDown(Mouse)
  3383. if ATTACK == false then
  3384. end
  3385. end
  3386.  
  3387. function MouseUp(Mouse)
  3388. HOLD = false
  3389. end
  3390.  
  3391. function KeyDown(Key)
  3392. KEYHOLD = true
  3393. if Key == "z" and ATTACK == false then
  3394. Banisher_Bullet()
  3395. end
  3396.  
  3397. if Key == "b" and ATTACK == false then
  3398. end
  3399.  
  3400. if Key == "c" and ATTACK == false then
  3401. end
  3402.  
  3403. if Key == "v" and ATTACK == false then
  3404. end
  3405.  
  3406. if Key == "x" and ATTACK == false then
  3407. end
  3408. end
  3409.  
  3410. function KeyUp(Key)
  3411. KEYHOLD = false
  3412. end
  3413.  
  3414. Mouse.Button1Down:connect(function(NEWKEY)
  3415. MouseDown(NEWKEY)
  3416. end)
  3417. Mouse.Button1Up:connect(function(NEWKEY)
  3418. MouseUp(NEWKEY)
  3419. end)
  3420. Mouse.KeyDown:connect(function(NEWKEY)
  3421. KeyDown(NEWKEY)
  3422. end)
  3423. Mouse.KeyUp:connect(function(NEWKEY)
  3424. KeyUp(NEWKEY)
  3425. end)
  3426.  
  3427. --//=================================\\
  3428. --\\=================================//
  3429.  
  3430.  
  3431. function unanchor()
  3432. if UNANCHOR == true then
  3433. g = Character:GetChildren()
  3434. for i = 1, #g do
  3435. if g[i].ClassName == "Part" then
  3436. g[i].Anchored = false
  3437. end
  3438. end
  3439. end
  3440. end
  3441.  
  3442.  
  3443. --//=================================\\
  3444. --|| WRAP THE WHOLE SCRIPT UP
  3445. --\\=================================//
  3446.  
  3447. Humanoid.Changed:connect(function(Jump)
  3448. if Jump == "Jump" and (Disable_Jump == true) then
  3449. Humanoid.Jump = false
  3450. end
  3451. end)
  3452.  
  3453. local CONNECT = nil
  3454.  
  3455. while true do
  3456. Swait()
  3457. ANIMATE.Parent = nil
  3458. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3459. Humanoid = IT("Humanoid",Character)
  3460. end
  3461. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3462. v:Stop();
  3463. end
  3464. SINE = SINE + CHANGE
  3465. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3466. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3467. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3468. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3469. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3470. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3471. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3472. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3473. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3474. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3475. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3476. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3477. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3478. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3479. end
  3480. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3481. ANIM = "Jump"
  3482. if ATTACK == false then
  3483. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3487. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3489. end
  3490. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3491. ANIM = "Fall"
  3492. if ATTACK == false then
  3493. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3497. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3498. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3499. end
  3500. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3501. ANIM = "Idle"
  3502. if ATTACK == false then
  3503. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  3504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  3505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3507. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3508. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3509. end
  3510. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3511. ANIM = "Walk"
  3512. if ATTACK == false then
  3513. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3514. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3515. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3516. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3517. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3518. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3519. end
  3520. end
  3521. unanchor()
  3522. Humanoid.MaxHealth = math.huge
  3523. Humanoid.Health = math.huge
  3524. ----------------------------------------------------------------------------------
  3525. local naeeym2 = Instance.new("BillboardGui",char)
  3526. naeeym2.AlwaysOnTop = true
  3527. naeeym2.Size = UDim2.new(5,35,2,15)
  3528. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  3529. naeeym2.Adornee = hed
  3530. naeeym2.Name = "Name"
  3531. --naeeym2.PlayerToHideFrom = Player
  3532. local tecks2 = Instance.new("TextLabel",naeeym2)
  3533. tecks2.BackgroundTransparency = 1
  3534. tecks2.TextScaled = true
  3535. tecks2.BorderSizePixel = 0
  3536. tecks2.Font = Enum.Font.Antique
  3537. tecks2.TextSize = 30
  3538. tecks2.TextStrokeTransparency = 0
  3539. tecks2.TextColor3 = Color3.new(0, 0, 0)
  3540. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3541. tecks2.Size = UDim2.new(1,0,0.5,0)
  3542. tecks2.Parent = naeeym2
  3543. wait(0.1)
  3544. tecks2.Text = "Possessed..?"
  3545. --------------------------------------------------------
  3546. local EyeSizes={
  3547. NumberSequenceKeypoint.new(0,0.65,0),
  3548. NumberSequenceKeypoint.new(0.5,0.7,0),
  3549. NumberSequenceKeypoint.new(1,0,0)
  3550. }
  3551. local EyeTrans={
  3552. NumberSequenceKeypoint.new(0,0,0),
  3553. NumberSequenceKeypoint.new(0.5,0,0),
  3554. NumberSequenceKeypoint.new(1,1,0)
  3555. }
  3556. local PE2=Instance.new("ParticleEmitter", ra)
  3557. PE2.LightEmission=.9
  3558. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3559. PE2.Transparency=NumberSequence.new(EyeTrans)
  3560. PE2.Lifetime=NumberRange.new(0.35)
  3561. PE2.Rotation=NumberRange.new(0,360)
  3562. PE2.Rate=999
  3563. PE2.VelocitySpread = 10000
  3564. PE2.Acceleration = Vector3.new(0,25,0)
  3565. PE2.ZOffset = 0.5
  3566. PE2.Drag = 0
  3567. PE2.Speed = NumberRange.new(0,0,0)
  3568. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3569. PE2.Name = "PE2"
  3570. PE2.Enabled = true
  3571. PE2.LockedToPart = true
  3572. local EyeSizes={
  3573. NumberSequenceKeypoint.new(0,0.65,0),
  3574. NumberSequenceKeypoint.new(0.5,0.7,0),
  3575. NumberSequenceKeypoint.new(1,0,0)
  3576. }
  3577. local EyeTrans={
  3578. NumberSequenceKeypoint.new(0,0,0),
  3579. NumberSequenceKeypoint.new(0.5,0,0),
  3580. NumberSequenceKeypoint.new(1,1,0)
  3581. }
  3582. local PE3=Instance.new("ParticleEmitter", ra)
  3583. PE3.LightEmission=.9
  3584. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3585. PE3.Transparency=NumberSequence.new(EyeTrans)
  3586. PE3.Lifetime=NumberRange.new(0.35)
  3587. PE3.Rotation=NumberRange.new(0,360)
  3588. PE3.Rate=999
  3589. PE3.VelocitySpread = 10000
  3590. PE3.Acceleration = Vector3.new(0,25,0)
  3591. PE3.ZOffset = 0.5
  3592. PE3.Drag = 0
  3593. PE3.Speed = NumberRange.new(0,0,0)
  3594. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3595. PE3.Name = "PE3"
  3596. PE3.Enabled = true
  3597. PE3.LockedToPart = true
  3598.  
  3599. local EyeSizes={
  3600. NumberSequenceKeypoint.new(0,0.65,0),
  3601. NumberSequenceKeypoint.new(0.5,0.7,0),
  3602. NumberSequenceKeypoint.new(1,0,0)
  3603. }
  3604. local EyeTrans={
  3605. NumberSequenceKeypoint.new(0,0,0),
  3606. NumberSequenceKeypoint.new(0.5,0,0),
  3607. NumberSequenceKeypoint.new(1,1,0)
  3608. }
  3609. local PE4=Instance.new("ParticleEmitter", ll)
  3610. PE4.LightEmission=.9
  3611. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3612. PE4.Transparency=NumberSequence.new(EyeTrans)
  3613. PE4.Lifetime=NumberRange.new(0.35)
  3614. PE4.Rotation=NumberRange.new(0,360)
  3615. PE4.Rate=999
  3616. PE4.VelocitySpread = 10000
  3617. PE4.Acceleration = Vector3.new(0,25,0)
  3618. PE4.ZOffset = 0.5
  3619. PE4.Drag = 0
  3620. PE4.Speed = NumberRange.new(0,0,0)
  3621. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3622. PE4.Name = "PE4"
  3623. PE4.Enabled = true
  3624. PE4.LockedToPart = true
  3625. local EyeSizes={
  3626. NumberSequenceKeypoint.new(0,0.65,0),
  3627. NumberSequenceKeypoint.new(0.5,0.7,0),
  3628. NumberSequenceKeypoint.new(1,0,0)
  3629. }
  3630. local EyeTrans={
  3631. NumberSequenceKeypoint.new(0,0,0),
  3632. NumberSequenceKeypoint.new(0.5,0,0),
  3633. NumberSequenceKeypoint.new(1,1,0)
  3634. }
  3635. local PE5=Instance.new("ParticleEmitter", ll)
  3636. PE5.LightEmission=.9
  3637. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3638. PE5.Transparency=NumberSequence.new(EyeTrans)
  3639. PE5.Lifetime=NumberRange.new(0.35)
  3640. PE5.Rotation=NumberRange.new(0,360)
  3641. PE5.Rate=999
  3642. PE5.VelocitySpread = 10000
  3643. PE5.Acceleration = Vector3.new(0,25,0)
  3644. PE5.ZOffset = 0.5
  3645. PE5.Drag = 0
  3646. PE5.Speed = NumberRange.new(0,0,0)
  3647. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3648. PE5.Name = "PE5"
  3649. PE5.Enabled = true
  3650. PE5.LockedToPart = true
  3651. -------------------------------------------------------
  3652. --End Customization--
  3653. -------------------------------------------------------
  3654.  
  3655. if Rooted == false then
  3656. Disable_Jump = false
  3657. Humanoid.WalkSpeed = Speed
  3658. elseif Rooted == true then
  3659. Disable_Jump = true
  3660. Humanoid.WalkSpeed = 0
  3661. end
  3662. sick.Parent = Torso
  3663. sick:resume()
  3664. sick.Volume = 5
  3665. sick.Pitch = 1
  3666. sick.SoundId = "rbxassetid://924339757"
  3667. sick.Name = "BanishV3Music"
  3668. end
  3669.  
  3670. --//=================================\\
  3671. --\\=================================//
  3672.  
  3673.  
  3674. function waitForChild(parent, childName)
  3675. local child = parent:findFirstChild(childName)
  3676. if child then return child end
  3677. while true do
  3678. child = parent.ChildAdded:wait()
  3679. if child.Name==childName then return child end
  3680. end
  3681. end
  3682.  
  3683. local Figure = script.Parent
  3684. local Humanoid = waitForChild(Figure, "Humanoid")
  3685. local pose = "Standing"
  3686.  
  3687. local currentAnim = ""
  3688. local currentAnimInstance = nil
  3689. local currentAnimTrack = nil
  3690. local currentAnimKeyframeHandler = nil
  3691. local currentAnimSpeed = 1.0
  3692.  
  3693. local runAnimTrack = nil
  3694. local runAnimKeyframeHandler = nil
  3695.  
  3696. local animTable = {}
  3697. local animNames = {
  3698. idle = {
  3699. { id = "http://www.roblox.com/asset/?id=2931307441", weight = 1 },
  3700. { id = "http://www.roblox.com/asset/?id=2931307441", weight = 1 },
  3701. { id = "http://www.roblox.com/asset/?id=2931307441", weight = 9 }
  3702. },
  3703. walk = {
  3704. { id = "http://www.roblox.com/asset/?id=2931337035", weight = 10 }
  3705. },
  3706. run = {
  3707. { id = "http://www.roblox.com/asset/?id=2931337035", weight = 10 }
  3708. },
  3709. swim = {
  3710. { id = "http://www.roblox.com/asset/?id=507784897", weight = 10 }
  3711. },
  3712. swimidle = {
  3713. { id = "http://www.roblox.com/asset/?id=507785072", weight = 10 }
  3714. },
  3715. jump = {
  3716. { id = "http://www.roblox.com/asset/?id=507765000", weight = 10 }
  3717. },
  3718. fall = {
  3719. { id = "http://www.roblox.com/asset/?id=507767968", weight = 10 }
  3720. },
  3721. climb = {
  3722. { id = "http://www.roblox.com/asset/?id=507765644", weight = 10 }
  3723. },
  3724. sit = {
  3725. { id = "http://www.roblox.com/asset/?id=507768133", weight = 10 }
  3726. },
  3727. toolnone = {
  3728. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  3729. },
  3730. toolslash = {
  3731. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  3732. -- { id = "slash.xml", weight = 10 }
  3733. },
  3734. toollunge = {
  3735. { id = "http://www.roblox.com/asset/?id=507768375", weight = 10 }
  3736. },
  3737. wave = {
  3738. { id = "http://www.roblox.com/asset/?id=507770239", weight = 10 }
  3739. },
  3740. point = {
  3741. { id = "http://www.roblox.com/asset/?id=507770453", weight = 10 }
  3742. },
  3743. dance = {
  3744. { id = "http://www.roblox.com/asset/?id=507771019", weight = 10 },
  3745. { id = "http://www.roblox.com/asset/?id=507771955", weight = 10 },
  3746. { id = "http://www.roblox.com/asset/?id=507772104", weight = 10 }
  3747. },
  3748. dance2 = {
  3749. { id = "http://www.roblox.com/asset/?id=507776043", weight = 10 },
  3750. { id = "http://www.roblox.com/asset/?id=507776720", weight = 10 },
  3751. { id = "http://www.roblox.com/asset/?id=507776879", weight = 10 }
  3752. },
  3753. dance3 = {
  3754. { id = "http://www.roblox.com/asset/?id=507777268", weight = 10 },
  3755. { id = "http://www.roblox.com/asset/?id=507777451", weight = 10 },
  3756. { id = "http://www.roblox.com/asset/?id=507777623", weight = 10 }
  3757. },
  3758. laugh = {
  3759. { id = "http://www.roblox.com/asset/?id=507770818", weight = 10 }
  3760. },
  3761. cheer = {
  3762. { id = "http://www.roblox.com/asset/?id=507770677", weight = 10 }
  3763. },
  3764. }
  3765.  
  3766. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  3767. local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  3768.  
  3769. math.randomseed(tick())
  3770.  
  3771. function configureAnimationSet(name, fileList)
  3772. if (animTable[name] ~= nil) then
  3773. for _, connection in pairs(animTable[name].connections) do
  3774. connection:disconnect()
  3775. end
  3776. end
  3777. animTable[name] = {}
  3778. animTable[name].count = 0
  3779. animTable[name].totalWeight = 0
  3780. animTable[name].connections = {}
  3781.  
  3782. -- check for config values
  3783. local config = script:FindFirstChild(name)
  3784. if (config ~= nil) then
  3785. -- print("Loading anims " .. name)
  3786. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  3787. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  3788. local idx = 1
  3789. for _, childPart in pairs(config:GetChildren()) do
  3790. if (childPart:IsA("Animation")) then
  3791. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  3792. animTable[name][idx] = {}
  3793. animTable[name][idx].anim = childPart
  3794. local weightObject = childPart:FindFirstChild("Weight")
  3795. if (weightObject == nil) then
  3796. animTable[name][idx].weight = 1
  3797. else
  3798. animTable[name][idx].weight = weightObject.Value
  3799. end
  3800. animTable[name].count = animTable[name].count + 1
  3801. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  3802. -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  3803. idx = idx + 1
  3804. end
  3805. end
  3806. end
  3807.  
  3808. -- fallback to defaults
  3809. if (animTable[name].count <= 0) then
  3810. for idx, anim in pairs(fileList) do
  3811. animTable[name][idx] = {}
  3812. animTable[name][idx].anim = Instance.new("Animation")
  3813. animTable[name][idx].anim.Name = name
  3814. animTable[name][idx].anim.AnimationId = anim.id
  3815. animTable[name][idx].weight = anim.weight
  3816. animTable[name].count = animTable[name].count + 1
  3817. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  3818. -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  3819. end
  3820. end
  3821. end
  3822.  
  3823. -- Setup animation objects
  3824. function scriptChildModified(child)
  3825. local fileList = animNames[child.Name]
  3826. if (fileList ~= nil) then
  3827. configureAnimationSet(child.Name, fileList)
  3828. end
  3829. end
  3830.  
  3831. script.ChildAdded:connect(scriptChildModified)
  3832. script.ChildRemoved:connect(scriptChildModified)
  3833.  
  3834.  
  3835. for name, fileList in pairs(animNames) do
  3836. configureAnimationSet(name, fileList)
  3837. end
  3838.  
  3839. -- ANIMATION
  3840.  
  3841. -- declarations
  3842. local toolAnim = "None"
  3843. local toolAnimTime = 0
  3844.  
  3845. local jumpAnimTime = 0
  3846. local jumpAnimDuration = 0.31
  3847.  
  3848. local toolTransitionTime = 0.1
  3849. local fallTransitionTime = 0.2
  3850.  
  3851. -- functions
  3852.  
  3853. function stopAllAnimations()
  3854. local oldAnim = currentAnim
  3855.  
  3856. -- return to idle if finishing an emote
  3857. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  3858. oldAnim = "idle"
  3859. end
  3860.  
  3861. currentAnim = ""
  3862. currentAnimInstance = nil
  3863. if (currentAnimKeyframeHandler ~= nil) then
  3864. currentAnimKeyframeHandler:disconnect()
  3865. end
  3866.  
  3867. if (currentAnimTrack ~= nil) then
  3868. currentAnimTrack:Stop()
  3869. currentAnimTrack:Destroy()
  3870. currentAnimTrack = nil
  3871. end
  3872.  
  3873. -- clean up walk if there is one
  3874. if (runAnimKeyframeHandler ~= nil) then
  3875. runAnimKeyframeHandler:disconnect()
  3876. end
  3877.  
  3878. if (runAnimTrack ~= nil) then
  3879. runAnimTrack:Stop()
  3880. runAnimTrack:Destroy()
  3881. runAnimTrack = nil
  3882. end
  3883.  
  3884. return oldAnim
  3885. end
  3886.  
  3887. local smallButNotZero = 0.0001
  3888. function setRunSpeed(speed)
  3889.  
  3890. if speed < 0.33 then
  3891. currentAnimTrack:AdjustWeight(1.0)
  3892. runAnimTrack:AdjustWeight(smallButNotZero)
  3893. elseif speed < 0.66 then
  3894. local weight = ((speed - 0.33) / 0.33)
  3895. currentAnimTrack:AdjustWeight(1.0 - weight + smallButNotZero)
  3896. runAnimTrack:AdjustWeight(weight + smallButNotZero)
  3897. else
  3898. currentAnimTrack:AdjustWeight(smallButNotZero)
  3899. runAnimTrack:AdjustWeight(1.0)
  3900. end
  3901.  
  3902. local speedScaled = speed * 1.25
  3903. runAnimTrack:AdjustSpeed(speedScaled)
  3904. currentAnimTrack:AdjustSpeed(speedScaled)
  3905. end
  3906.  
  3907.  
  3908. function setAnimationSpeed(speed)
  3909. if speed ~= currentAnimSpeed then
  3910. currentAnimSpeed = speed
  3911. if currentAnim == "walk" then
  3912. setRunSpeed(speed)
  3913. else
  3914. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  3915. end
  3916. end
  3917. end
  3918.  
  3919. function keyFrameReachedFunc(frameName)
  3920. -- print("CurrentAnim ", currentAnim, " ", frameName)
  3921. if (frameName == "End") then
  3922. if currentAnim == "walk" then
  3923. runAnimTrack.TimePosition = 0.0
  3924. currentAnimTrack.TimePosition = 0.0
  3925. else
  3926. -- print("Keyframe : ".. frameName)
  3927.  
  3928. local repeatAnim = currentAnim
  3929. -- return to idle if finishing an emote
  3930. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  3931. repeatAnim = "idle"
  3932. end
  3933.  
  3934. local animSpeed = currentAnimSpeed
  3935. playAnimation(repeatAnim, 0.15, Humanoid)
  3936. setAnimationSpeed(animSpeed)
  3937. end
  3938. end
  3939. end
  3940.  
  3941. function rollAnimation(animName)
  3942. local roll = math.random(1, animTable[animName].totalWeight)
  3943. local origRoll = roll
  3944. local idx = 1
  3945. while (roll > animTable[animName][idx].weight) do
  3946. roll = roll - animTable[animName][idx].weight
  3947. idx = idx + 1
  3948. end
  3949. return idx
  3950. end
  3951.  
  3952. function playAnimation(animName, transitionTime, humanoid)
  3953.  
  3954. local idx = rollAnimation(animName)
  3955.  
  3956. -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  3957.  
  3958. local anim = animTable[animName][idx].anim
  3959.  
  3960. -- switch animation
  3961. if (anim ~= currentAnimInstance) then
  3962.  
  3963. if (currentAnimTrack ~= nil) then
  3964. currentAnimTrack:Stop(transitionTime)
  3965. currentAnimTrack:Destroy()
  3966. end
  3967.  
  3968. if (runAnimTrack ~= nil) then
  3969. runAnimTrack:Stop(transitionTime)
  3970. runAnimTrack:Destroy()
  3971. end
  3972.  
  3973. currentAnimSpeed = 1.0
  3974.  
  3975. -- load it to the humanoid; get AnimationTrack
  3976. currentAnimTrack = humanoid:LoadAnimation(anim)
  3977.  
  3978. -- play the animation
  3979. currentAnimTrack:Play(transitionTime)
  3980. currentAnim = animName
  3981. currentAnimInstance = anim
  3982.  
  3983. -- set up keyframe name triggers
  3984. if (currentAnimKeyframeHandler ~= nil) then
  3985. currentAnimKeyframeHandler:disconnect()
  3986. end
  3987. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  3988.  
  3989. -- check to see if we need to blend a walk/run animation
  3990. if animName == "walk" then
  3991. local runAnimName = "run"
  3992. local runIdx = rollAnimation(runAnimName)
  3993.  
  3994. runAnimTrack = humanoid:LoadAnimation(animTable[runAnimName][runIdx].anim)
  3995. runAnimTrack:Play(transitionTime)
  3996.  
  3997. if (runAnimKeyframeHandler ~= nil) then
  3998. runAnimKeyframeHandler:disconnect()
  3999. end
  4000. runAnimKeyframeHandler = runAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  4001. end
  4002. end
  4003.  
  4004. end
  4005.  
  4006. -------------------------------------------------------------------------------------------
  4007. -------------------------------------------------------------------------------------------
  4008.  
  4009. local toolAnimName = ""
  4010. local toolAnimTrack = nil
  4011. local toolAnimInstance = nil
  4012. local currentToolAnimKeyframeHandler = nil
  4013.  
  4014. function toolKeyFrameReachedFunc(frameName)
  4015. if (frameName == "End") then
  4016. -- print("Keyframe : ".. frameName)
  4017. playToolAnimation(toolAnimName, 0.0, Humanoid)
  4018. end
  4019. end
  4020.  
  4021.  
  4022. function playToolAnimation(animName, transitionTime, humanoid)
  4023.  
  4024. local idx = rollAnimation(animName)
  4025. -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  4026. local anim = animTable[animName][idx].anim
  4027.  
  4028. if (toolAnimInstance ~= anim) then
  4029.  
  4030. if (toolAnimTrack ~= nil) then
  4031. toolAnimTrack:Stop()
  4032. toolAnimTrack:Destroy()
  4033. transitionTime = 0
  4034. end
  4035.  
  4036. -- load it to the humanoid; get AnimationTrack
  4037. toolAnimTrack = humanoid:LoadAnimation(anim)
  4038.  
  4039. -- play the animation
  4040. toolAnimTrack:Play(transitionTime)
  4041. toolAnimName = animName
  4042. toolAnimInstance = anim
  4043.  
  4044. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  4045. end
  4046. end
  4047.  
  4048. function stopToolAnimations()
  4049. local oldAnim = toolAnimName
  4050.  
  4051. if (currentToolAnimKeyframeHandler ~= nil) then
  4052. currentToolAnimKeyframeHandler:disconnect()
  4053. end
  4054.  
  4055. toolAnimName = ""
  4056. toolAnimInstance = nil
  4057. if (toolAnimTrack ~= nil) then
  4058. toolAnimTrack:Stop()
  4059. toolAnimTrack:Destroy()
  4060. toolAnimTrack = nil
  4061. end
  4062.  
  4063.  
  4064. return oldAnim
  4065. end
  4066.  
  4067. -------------------------------------------------------------------------------------------
  4068. -------------------------------------------------------------------------------------------
  4069.  
  4070.  
  4071. function onRunning(speed)
  4072. if speed > 0.01 then
  4073. local scale = 16.0
  4074. playAnimation("walk", 0.1, Humanoid)
  4075. setAnimationSpeed(speed / scale)
  4076. pose = "Running"
  4077. else
  4078. if emoteNames[currentAnim] == nil then
  4079. playAnimation("idle", 0.1, Humanoid)
  4080. pose = "Standing"
  4081. end
  4082. end
  4083. end
  4084.  
  4085. function onDied()
  4086. pose = "Dead"
  4087. end
  4088.  
  4089. function onJumping()
  4090. playAnimation("jump", 0.1, Humanoid)
  4091. jumpAnimTime = jumpAnimDuration
  4092. pose = "Jumping"
  4093. end
  4094.  
  4095. function onClimbing(speed)
  4096. local scale = 5.0
  4097. playAnimation("climb", 0.1, Humanoid)
  4098. setAnimationSpeed(speed / scale)
  4099. pose = "Climbing"
  4100. end
  4101.  
  4102. function onGettingUp()
  4103. pose = "GettingUp"
  4104. end
  4105.  
  4106. function onFreeFall()
  4107. if (jumpAnimTime <= 0) then
  4108. playAnimation("fall", fallTransitionTime, Humanoid)
  4109. end
  4110. pose = "FreeFall"
  4111. end
  4112.  
  4113. function onFallingDown()
  4114. pose = "FallingDown"
  4115. end
  4116.  
  4117. function onSeated()
  4118. pose = "Seated"
  4119. end
  4120.  
  4121. function onPlatformStanding()
  4122. pose = "PlatformStanding"
  4123. end
  4124.  
  4125. function onSwimming(speed)
  4126. if speed > 1.00 then
  4127. local scale = 10.0
  4128. playAnimation("swim", 0.4, Humanoid)
  4129. setAnimationSpeed(speed / scale)
  4130. pose = "Swimming"
  4131. else
  4132. playAnimation("swimidle", 0.4, Humanoid)
  4133. pose = "Standing"
  4134. end
  4135. end
  4136.  
  4137. --//=================================\\
  4138. --|| SOME TAG EDIT
  4139. --\\=================================//
  4140.  
  4141. m = owner
  4142. char = m.Character
  4143. local txt = Instance.new("BillboardGui", char)
  4144. txt.Adornee = char.Head
  4145. txt.Name = "_status"
  4146. txt.Size = UDim2.new(2, 0, 1.2, 0)
  4147. txt.StudsOffset = Vector3.new(-9, 8, 0)
  4148. local text = Instance.new("TextLabel", txt)
  4149. text.Size = UDim2.new(10, 0, 7, 0)
  4150. text.FontSize = "Size24"
  4151. text.TextScaled = true
  4152. text.TextTransparency = 0
  4153. text.BackgroundTransparency = 1
  4154. text.TextTransparency = 0
  4155. text.TextStrokeTransparency = 0
  4156. text.Font = "Bodoni"
  4157. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  4158. v = Instance.new("Part")
  4159. v.Name = "ColorBrick"
  4160. v.Parent = m.Character
  4161. v.FormFactor = "Symmetric"
  4162. v.Anchored = true
  4163. v.CanCollide = false
  4164. v.BottomSurface = "Smooth"
  4165. v.TopSurface = "Smooth"
  4166. v.Size = Vector3.new(10, 5, 3)
  4167. v.Transparency = 1
  4168. v.CFrame = char.Torso.CFrame
  4169. v.BrickColor = BrickColor.new("Really black")
  4170. v.Transparency = 1
  4171. v.Shape = "Block"
  4172. spawn(function()
  4173. local TweenService = game:GetService("TweenService")
  4174. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,0,255),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(150,0,175),Color3.fromRGB(0,0,0),Color3.fromRGB(100,100,100),Color3.fromRGB(0,0,0)}
  4175. local Int = 0
  4176. while wait(0.5) do
  4177. if Int == #Colours then Int = 0 end
  4178. Int = Int+1
  4179. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  4180. end
  4181. end)
  4182. text.Text = "Banish Of The Unknown"
  4183.  
  4184. local SONG = 264224187
  4185. local PLAYSONG = true
  4186.  
  4187. --//=================================\\
  4188. --|| ATTACK FUNCTIONS AND STUFF
  4189. --\\=================================//
  4190.  
  4191. function getTool()
  4192. for _, kid in ipairs(Figure:GetChildren()) do
  4193. if kid.className == "Tool" then return kid end
  4194. end
  4195. return nil
  4196. end
  4197.  
  4198.  
  4199. function animateTool()
  4200.  
  4201. if (toolAnim == "None") then
  4202. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  4203. return
  4204. end
  4205.  
  4206. if (toolAnim == "Slash") then
  4207. playToolAnimation("toolslash", 0, Humanoid)
  4208. return
  4209. end
  4210.  
  4211. if (toolAnim == "Lunge") then
  4212. playToolAnimation("toollunge", 0, Humanoid)
  4213. return
  4214. end
  4215. end
  4216.  
  4217. function getToolAnim(tool)
  4218. for _, c in ipairs(tool:GetChildren()) do
  4219. if c.Name == "toolanim" and c.className == "StringValue" then
  4220. return c
  4221. end
  4222. end
  4223. return nil
  4224. end
  4225.  
  4226. local lastTick = 0
  4227.  
  4228. function move(time)
  4229. local amplitude = 1
  4230. local frequency = 1
  4231. local deltaTime = time - lastTick
  4232. lastTick = time
  4233.  
  4234. local climbFudge = 0
  4235. local setAngles = false
  4236.  
  4237. if (jumpAnimTime > 0) then
  4238. jumpAnimTime = jumpAnimTime - deltaTime
  4239. end
  4240.  
  4241. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  4242. playAnimation("fall", fallTransitionTime, Humanoid)
  4243. elseif (pose == "Seated") then
  4244. playAnimation("sit", 0.5, Humanoid)
  4245. return
  4246. elseif (pose == "Running") then
  4247. playAnimation("walk", 0.1, Humanoid)
  4248. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  4249. stopAllAnimations()
  4250. amplitude = 0.1
  4251. frequency = 1
  4252. setAngles = true
  4253. end
  4254.  
  4255. -- Tool Animation handling
  4256. local tool = getTool()
  4257. if tool and (tool.RequiresHandle or tool:FindFirstChild("Handle")) then
  4258.  
  4259. local animStringValueObject = getToolAnim(tool)
  4260.  
  4261. if animStringValueObject then
  4262. toolAnim = animStringValueObject.Value
  4263. -- message recieved, delete StringValue
  4264. animStringValueObject.Parent = nil
  4265. toolAnimTime = time + .3
  4266. end
  4267.  
  4268. if time > toolAnimTime then
  4269. toolAnimTime = 0
  4270. toolAnim = "None"
  4271. end
  4272.  
  4273. animateTool()
  4274. else
  4275. stopToolAnimations()
  4276. toolAnim = "None"
  4277. toolAnimInstance = nil
  4278. toolAnimTime = 0
  4279. end
  4280. end
  4281.  
  4282. -- connect events
  4283. Humanoid.Died:connect(onDied)
  4284. Humanoid.Running:connect(onRunning)
  4285. Humanoid.Jumping:connect(onJumping)
  4286. Humanoid.Climbing:connect(onClimbing)
  4287. Humanoid.GettingUp:connect(onGettingUp)
  4288. Humanoid.FreeFalling:connect(onFreeFall)
  4289. Humanoid.FallingDown:connect(onFallingDown)
  4290. Humanoid.Seated:connect(onSeated)
  4291. Humanoid.PlatformStanding:connect(onPlatformStanding)
  4292. Humanoid.Swimming:connect(onSwimming)
  4293.  
  4294. -- setup emote chat hook
  4295. Game.Players.LocalPlayer.Chatted:connect(function(msg)
  4296. local emote = ""
  4297. if (string.sub(msg, 1, 3) == "/e ") then
  4298. emote = string.sub(msg, 4)
  4299. elseif (string.sub(msg, 1, 7) == "/emote ") then
  4300. emote = string.sub(msg, 8)
  4301. end
  4302.  
  4303. if (pose == "Standing" and emoteNames[emote] ~= nil) then
  4304. playAnimation(emote, 0.1, Humanoid)
  4305. end
  4306. -- print("===> " .. string.sub(msg, 1, 3) .. "(" .. emote .. ")")
  4307. end)
  4308.  
  4309.  
  4310.  
  4311. -- initialize to idle
  4312. playAnimation("idle", 0.1, Humanoid)
  4313. pose = "Standing"
  4314.  
  4315. -- loop to handle timed state transitions and tool animations
  4316. while Figure.Parent~=nil do
  4317. local _, time = wait(0.1)
  4318. move(time)
  4319. end
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327. --//====================================================\\--
  4328. --|| END OF SCRIPT
  4329. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement