Advertisement
adrianascripter

gun test

Oct 28th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 181.30 KB | None | 0 0
  1. --//=================================\\
  2. --|| WEAPON CREATION
  3. --\\=================================//
  4.  
  5. local SIZE = 1.25
  6.  
  7. local Particle = IT("ParticleEmitter",nil)
  8. Particle.Enabled = false
  9. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  10. Particle.LightEmission = 0.5
  11. Particle.Rate = 150
  12. Particle.ZOffset = 0.2
  13. Particle.Rotation = NumberRange.new(-180, 180)
  14. Particle.RotSpeed = NumberRange.new(-180, 180)
  15. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  16. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  17.  
  18. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  19. function ParticleEmitter(Table)
  20. local PRTCL = Particle:Clone()
  21. local Speed = Table.Speed or 5
  22. local Drag = Table.Drag or 0
  23. local Size1 = Table.Size1 or 1
  24. local Size2 = Table.Size2 or 5
  25. local Lifetime1 = Table.Lifetime1 or 1
  26. local Lifetime2 = Table.Lifetime2 or 1.5
  27. local Parent = Table.Parent or Torso
  28. local Emit = Table.Emit or 100
  29. local Offset = Table.Offset or 360
  30. local Acel = Table.Acel or VT(0,0,0)
  31. local Enabled = Table.Enabled or false
  32. PRTCL.Parent = Parent
  33. PRTCL.Size = NumberSequence.new(Size1,Size2)
  34. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  35. PRTCL.Speed = NumberRange.new(Speed)
  36. PRTCL.VelocitySpread = Offset
  37. PRTCL.Drag = Drag
  38. PRTCL.Acceleration = Acel
  39. if Enabled == false then
  40. PRTCL:Emit(Emit)
  41. Debris:AddItem(PRTCL,Lifetime2)
  42. else
  43. PRTCL.Enabled = true
  44. end
  45. return PRTCL
  46. end
  47.  
  48. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  49. PRT.Color = C3(1,1,1)
  50. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  51. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  52. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  53. PRT.Color = C3(0, 111, 0)
  54. MakeForm(PRT,"Ball")
  55. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  56. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  57. PRT.Color = C3(0, 111, 0)
  58. MakeForm(PRT,"Ball")
  59. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  60. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  61. PRT.Color = C3(0, 111, 0)
  62. MakeForm(PRT,"Ball")
  63. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  64. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  65. PRT.Color = C3(0, 111, 0)
  66. MakeForm(PRT,"Ball")
  67. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  68. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  69. PRT.Color = C3(0, 111, 0)
  70. MakeForm(PRT,"Ball")
  71. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  72. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  73. PRT.Color = C3(0, 111, 0)
  74. MakeForm(PRT,"Ball")
  75. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  76.  
  77.  
  78.  
  79.  
  80. local LASTPART = Head
  81. for i = 1, 20 do
  82. local MATH = (1-(i/25))
  83. if LASTPART == Head then
  84. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  85. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  86. LASTPART = Horn
  87. Horn.Color = C3((i*3-3)/0,0,0)
  88. else
  89. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  90. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  91. LASTPART = Horn
  92. Horn.Color = C3((i*3-3)/0,127,0)
  93. end
  94. end
  95. local LASTPART = Head
  96. for i = 1, 20 do
  97. local MATH = (1-(i/25))
  98. if LASTPART == Head then
  99. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  100. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  101. LASTPART = Horn
  102. Horn.Color = C3((i*3-3)/0,0,0)
  103. else
  104. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  105. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  106. LASTPART = Horn
  107. Horn.Color = C3((i*3-3)/0,127,0)
  108. end
  109. end
  110.  
  111. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  112. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  113. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  114. MakeForm(Part,"Wedge")
  115. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  116. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  117. MakeForm(Part,"Wedge")
  118. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  119. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  120. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  121. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  122. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  123. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  124. MakeForm(Part,"Cyl")
  125. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  126. for i = 1, 8 do
  127. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  128. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  129. end
  130. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  131. MakeForm(Part,"Cyl")
  132. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  133. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  134. MakeForm(Part,"Ball")
  135. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  136. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  137. MakeForm(Part,"Wedge")
  138. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  139. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  141. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  142. MakeForm(Part,"Cyl")
  143. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  145. MakeForm(Part,"Cyl")
  146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  147. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  148. MakeForm(Part,"Cyl")
  149. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  151. MakeForm(Part,"Wedge")
  152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  153. local LASTPART = Handle
  154. for i = 1, 10 do
  155. if LASTPART == Handle then
  156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  157. LASTPART = Part
  158. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  159. else
  160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  161. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  162. LASTPART = Part
  163. end
  164. end
  165.  
  166. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  167. MakeForm(Barrel,"Cyl")
  168. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  169. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  170. MakeForm(Part,"Cyl")
  171. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  172. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  173. MakeForm(Part,"Wedge")
  174. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  175. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  176. MakeForm(Hole2,"Cyl")
  177. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  178. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  179. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  180. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  181. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  182. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  183. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  184. coroutine.resume(coroutine.create(function()
  185. while wait() do
  186. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  187. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  188. end
  189. end))
  190.  
  191. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  192. --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)})
  193.  
  194. for _, c in pairs(Weapon:GetDescendants()) do
  195. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  196. c.Material = "Glass"
  197. c.Color = C3(0,0,0)
  198. elseif c.ClassName == "Part" and c.Name == "Eye" then
  199. c.Color = C3(0,1,0)
  200. c.Material = "Neon"
  201. end
  202. end
  203.  
  204. Weapon.Parent = Character
  205. for _, c in pairs(Weapon:GetChildren()) do
  206. if c.ClassName == "Part" then
  207. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  208. end
  209. end
  210.  
  211. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  212. PRT.Color = C3(0,0,0)
  213. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  214. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  215.  
  216. if Character:FindFirstChildOfClass("Accessory") then
  217. Character:FindFirstChildOfClass("Accessory"):remove()
  218. elseif Character:FindFirstChildOfClass("Hat") then
  219. Character:FindFirstChildOfClass("Hat"):remove()
  220. end
  221. if Head:FindFirstChild("face") then
  222. Head.face.Texture = "rbxassetid://403870689"
  223. if Character:FindFirstChildOfClass("Accessory") then
  224. Character:FindFirstChildOfClass("Accessory"):remove()
  225. elseif Character:FindFirstChildOfClass("Hat") then
  226. Character:FindFirstChildOfClass("Hat"):remove()
  227. end
  228. if Character:FindFirstChildOfClass("Accessory") then
  229. Character:FindFirstChildOfClass("Accessory"):remove()
  230. elseif Character:FindFirstChildOfClass("Hat") then
  231. Character:FindFirstChildOfClass("Hat"):remove()
  232. end
  233. if Character:FindFirstChildOfClass("Accessory") then
  234. Character:FindFirstChildOfClass("Accessory"):remove()
  235. elseif Character:FindFirstChildOfClass("Hat") then
  236. Character:FindFirstChildOfClass("Hat"):remove()
  237. end
  238. if Character:FindFirstChildOfClass("Accessory") then
  239. Character:FindFirstChildOfClass("Accessory"):remove()
  240. elseif Character:FindFirstChildOfClass("Hat") then
  241. Character:FindFirstChildOfClass("Hat"):remove()
  242. end
  243. if Character:FindFirstChildOfClass("Accessory") then
  244. Character:FindFirstChildOfClass("Accessory"):remove()
  245. elseif Character:FindFirstChildOfClass("Hat") then
  246. Character:FindFirstChildOfClass("Hat"):remove()
  247. end
  248. end
  249.  
  250. function ParticleEmitter(Table)
  251. local PRTCL = Particle:Clone()
  252. local Speed = Table.Speed or 5
  253. local Drag = Table.Drag or 0
  254. local Size1 = Table.Size1 or 1
  255. local Size2 = Table.Size2 or 5
  256. local Lifetime1 = Table.Lifetime1 or 1
  257. local Lifetime2 = Table.Lifetime2 or 1.5
  258. local Parent = Table.Parent or Torso
  259. local Emit = Table.Emit or 100
  260. local Offset = Table.Offset or 360
  261. local Acel = Table.Acel or VT(0,0,0)
  262. local Enabled = Table.Enabled or false
  263. PRTCL.Parent = Parent
  264. PRTCL.Size = NumberSequence.new(Size1,Size2)
  265. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  266. PRTCL.Speed = NumberRange.new(Speed)
  267. PRTCL.VelocitySpread = Offset
  268. PRTCL.Drag = Drag
  269. PRTCL.Acceleration = Acel
  270. if Enabled == false then
  271. PRTCL:Emit(Emit)
  272. Debris:AddItem(PRTCL,Lifetime2)
  273. else
  274. PRTCL.Enabled = true
  275. end
  276. return PRTCL
  277. end
  278.  
  279. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  280. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  281. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  282. MakeForm(Part,"Wedge")
  283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  284. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  285. MakeForm(Part,"Wedge")
  286. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  287. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  288. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  289. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  290. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  291. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  292. MakeForm(Part,"Cyl")
  293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  294. for i = 1, 8 do
  295. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  296. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  297. end
  298. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  299. MakeForm(Part,"Cyl")
  300. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  301. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  302. MakeForm(Part,"Ball")
  303. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  304. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  305. MakeForm(Part,"Wedge")
  306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  307. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  308. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  309. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  310. MakeForm(Part,"Cyl")
  311. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  312. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  313. MakeForm(Part,"Cyl")
  314. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  316. MakeForm(Part,"Cyl")
  317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  318. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  319. MakeForm(Part,"Wedge")
  320. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  321. local LASTPART = Handle
  322. for i = 1, 10 do
  323. if LASTPART == Handle then
  324. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  325. LASTPART = Part
  326. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  327. else
  328. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  329. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  330. LASTPART = Part
  331. end
  332. end
  333.  
  334. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  335. MakeForm(Barrel,"Cyl")
  336. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  337. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  338. MakeForm(Part,"Cyl")
  339. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  340. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  341. MakeForm(Part,"Wedge")
  342. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  343. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  344. MakeForm(Hole,"Cyl")
  345. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  346. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  347. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  348. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  349. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  350. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  351. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  352. coroutine.resume(coroutine.create(function()
  353. while wait() do
  354. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  355. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  356. end
  357. end))
  358.  
  359. 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)})
  360. --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)})
  361.  
  362. for _, c in pairs(Weapon:GetDescendants()) do
  363. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  364. c.Material = "Glass"
  365. c.Color = C3(0.05,0.05,0.05)
  366. elseif c.ClassName == "Part" and c.Name == "Eye" then
  367. c.Color = C3(0,1,0)
  368. c.Material = "Neon"
  369. end
  370. end
  371.  
  372. Weapon.Parent = Character
  373. for _, c in pairs(Weapon:GetChildren()) do
  374. if c.ClassName == "Part" then
  375. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  376. end
  377. end
  378.  
  379. local SKILLTEXTCOLOR = C3(0,1,0)
  380. local SKILLFONT = "Antique"
  381. local SKILLTEXTSIZE = 7
  382.  
  383. Humanoid.Died:connect(function()
  384. ATTACK = true
  385. end)
  386.  
  387.  
  388. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  389. --[[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")
  390. 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")
  391. 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")
  392. 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")
  393. ]]
  394. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  395. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  396. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  397. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  398. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  399. ]]
  400. function printbye(Name)
  401. 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, "}
  402. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  403. end
  404.  
  405. workspace.ChildAdded:connect(function(instance)
  406. for BANISH = 1, #TOBANISH do
  407. if TOBANISH[BANISH] ~= nil then
  408. if instance.Name == TOBANISH[BANISH] then
  409. coroutine.resume(coroutine.create(function()
  410. printbye(instance.Name)
  411. instance:ClearAllChildren()
  412. Debris:AddItem(instance,0.0005)
  413. end))
  414. end
  415. end
  416. end
  417. end)
  418.  
  419. --//=================================\\
  420. --|| DAMAGING
  421. --\\=================================//
  422.  
  423. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  424. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  425. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  426. wave.CFrame = CFRAME
  427. coroutine.resume(coroutine.create(function(PART)
  428. for i = 1, WAIT do
  429. Swait()
  430. mesh.Scale = mesh.Scale + GROW
  431. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  432. if DOESROT == true then
  433. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  434. end
  435. wave.Transparency = wave.Transparency + (0.5/WAIT)
  436. if wave.Transparency > 0.99 then
  437. wave:remove()
  438. end
  439. end
  440. end))
  441. end
  442.  
  443. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  444. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  445. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  446. wave.CFrame = CFRAME
  447. coroutine.resume(coroutine.create(function(PART)
  448. for i = 1, WAIT do
  449. Swait()
  450. mesh.Scale = mesh.Scale + GROW
  451. if DOESROT == true then
  452. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  453. end
  454. wave.Transparency = wave.Transparency + (0.5/WAIT)
  455. if wave.Transparency > 0.99 then
  456. wave:remove()
  457. end
  458. end
  459. end))
  460. end
  461.  
  462. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  463. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  464. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  465. wave.CFrame = CFRAME
  466. coroutine.resume(coroutine.create(function(PART)
  467. for i = 1, WAIT do
  468. Swait()
  469. mesh.Scale = mesh.Scale + GROW
  470. wave.Transparency = wave.Transparency + (1/WAIT)
  471. if wave.Transparency > 0.99 then
  472. wave:remove()
  473. end
  474. end
  475. end))
  476. end
  477.  
  478. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  479. local mesh = nil
  480. if KIND == "Base" then
  481. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  482. elseif KIND == "Thin" then
  483. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  484. elseif KIND == "Round" then
  485. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  486. end
  487. wave.CFrame = CFRAME
  488. coroutine.resume(coroutine.create(function(PART)
  489. for i = 1, WAIT do
  490. Swait()
  491. mesh.Scale = mesh.Scale + GROW/10
  492. wave.Transparency = wave.Transparency + (0.5/WAIT)
  493. if wave.Transparency > 0.99 then
  494. wave:remove()
  495. end
  496. end
  497. end))
  498. end
  499.  
  500. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  501. local svch = Character2
  502. Character2:BreakJoints()
  503. local hum = Character2:findFirstChild("Humanoid")
  504. local q = Character2:GetChildren()
  505. local CLONE = IT("Model", Effects)
  506. for i = 1, #q do
  507. if q[i].ClassName == "Accessory" and Headless == true then
  508. q[i]:remove()
  509. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  510. q[i].Parent = CLONE
  511. elseif q[i].ClassName ~= "Humanoid" then
  512. q[i]:remove()
  513. end
  514. end
  515. local chrclone = CLONE
  516. local ch = chrclone:GetChildren()
  517. local i
  518. for i = 1, #ch do
  519. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  520. ch[i]:remove()
  521. end
  522. end
  523. local function Scan(ch)
  524. local e
  525. for e = 1, #ch do
  526. Scan(ch[e]:GetChildren())
  527. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  528. ch[e]:remove()
  529. end
  530. end
  531. end
  532. Character2:remove()
  533. local NEWHUM = IT("Humanoid")
  534. NEWHUM.Name = "Corpse"
  535. NEWHUM.Health = 0
  536. NEWHUM.MaxHealth = 0
  537. NEWHUM.PlatformStand = true
  538. NEWHUM.Parent = CLONE
  539. NEWHUM.DisplayDistanceType = "None"
  540. Scan(chrclone:GetChildren())
  541. local ch = Character2:GetChildren()
  542. local i
  543. for i = 1, #ch do
  544. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  545. ch[i]:remove()
  546. end
  547. end
  548. local ch = Character2:GetChildren()
  549. local i
  550. for i = 1, #ch do
  551. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  552. ch[i]:remove()
  553. end
  554. end
  555. Character2 = chrclone
  556. local Torso2 = Character2.Torso
  557. local movevector = Vector3.new()
  558. if Torso2 then
  559. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  560. local Head = Character2:FindFirstChild("Head")
  561. if Head then
  562. local Neck = Instance.new("Weld")
  563. Neck.Name = "Neck"
  564. Neck.Part0 = Torso2
  565. Neck.Part1 = Head
  566. Neck.C0 = CFrame.new(0, 1.5, 0)
  567. Neck.C1 = CFrame.new()
  568. Neck.Parent = Torso2
  569. if Headless == true then
  570. Head.Transparency = 1
  571. Head:ClearAllChildren()
  572. end
  573. end
  574. local Limb = Character2:FindFirstChild("Right Arm")
  575. if Limb then
  576. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  577. local Joint = Instance.new("Glue")
  578. Joint.Name = "RightShoulder"
  579. Joint.Part0 = Torso2
  580. Joint.Part1 = Limb
  581. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  582. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  583. Joint.Parent = Torso2
  584. local B = Instance.new("Part")
  585. B.TopSurface = 0
  586. B.BottomSurface = 0
  587. B.formFactor = "Symmetric"
  588. B.Size = Vector3.new(1, 1, 1)
  589. B.Transparency = 1
  590. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  591. B.Parent = Character2
  592. local W = Instance.new("Weld")
  593. W.Part0 = Limb
  594. W.Part1 = B
  595. W.C0 = CFrame.new(0, -0.5, 0)
  596. W.Parent = Limb
  597. end
  598. local Limb = Character2:FindFirstChild("Left Arm")
  599. if Limb then
  600. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  601. local Joint = Instance.new("Glue")
  602. Joint.Name = "LeftShoulder"
  603. Joint.Part0 = Torso2
  604. Joint.Part1 = Limb
  605. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  606. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  607. Joint.Parent = Torso2
  608. local B = Instance.new("Part")
  609. B.TopSurface = 0
  610. B.BottomSurface = 0
  611. B.formFactor = "Symmetric"
  612. B.Size = Vector3.new(1, 1, 1)
  613. B.Transparency = 1
  614. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  615. B.Parent = Character2
  616. local W = Instance.new("Weld")
  617. W.Part0 = Limb
  618. W.Part1 = B
  619. W.C0 = CFrame.new(0, -0.5, 0)
  620. W.Parent = Limb
  621. end
  622. local Limb = Character2:FindFirstChild("Right Leg")
  623. if Limb then
  624. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  625. local Joint = Instance.new("Glue")
  626. Joint.Name = "RightHip"
  627. Joint.Part0 = Torso2
  628. Joint.Part1 = Limb
  629. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  630. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  631. Joint.Parent = Torso2
  632. local B = Instance.new("Part")
  633. B.TopSurface = 0
  634. B.BottomSurface = 0
  635. B.formFactor = "Symmetric"
  636. B.Size = Vector3.new(1, 1, 1)
  637. B.Transparency = 1
  638. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  639. B.Parent = Character2
  640. local W = Instance.new("Weld")
  641. W.Part0 = Limb
  642. W.Part1 = B
  643. W.C0 = CFrame.new(0, -0.5, 0)
  644. W.Parent = Limb
  645. end
  646. local Limb = Character2:FindFirstChild("Left Leg")
  647. if Limb then
  648. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  649. local Joint = Instance.new("Glue")
  650. Joint.Name = "LeftHip"
  651. Joint.Part0 = Torso2
  652. Joint.Part1 = Limb
  653. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  654. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  655. Joint.Parent = Torso2
  656. local B = Instance.new("Part")
  657. B.TopSurface = 0
  658. B.BottomSurface = 0
  659. B.formFactor = "Symmetric"
  660. B.Size = Vector3.new(1, 1, 1)
  661. B.Transparency = 1
  662. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  663. B.Parent = Character2
  664. local W = Instance.new("Weld")
  665. W.Part0 = Limb
  666. W.Part1 = B
  667. W.C0 = CFrame.new(0, -0.5, 0)
  668. W.Parent = Limb
  669. end
  670. local Bar = Instance.new("Part")
  671. Bar.TopSurface = 0
  672. Bar.BottomSurface = 0
  673. Bar.formFactor = "Symmetric"
  674. Bar.Size = Vector3.new(1, 1, 1)
  675. Bar.Transparency = 1
  676. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  677. Bar.Parent = Character2
  678. local Weld = Instance.new("Weld")
  679. Weld.Part0 = Torso2
  680. Weld.Part1 = Bar
  681. Weld.C0 = CFrame.new(0, 0.5, 0)
  682. Weld.Parent = Torso2
  683. end
  684. Character2.Parent = Weapon
  685. if movevector ~= Vector3.new() then
  686. for i = 1, 10 do
  687. Torso2.Velocity = movevector * Velocity
  688. end
  689. end
  690. Character2.Name = "Corpse"
  691. return Character2, Torso2
  692. end
  693.  
  694. function Banish(Foe)
  695. if Foe then
  696. coroutine.resume(coroutine.create(function()
  697. --if game.Players:FindFirstChild(Foe.Name) then
  698. table.insert(TOBANISH,Foe.Name)
  699. printbye(Foe.Name)
  700. --end
  701. Foe.Archivable = true
  702. local CLONE = Foe:Clone()
  703. Foe:Destroy()
  704. CLONE.Parent = Effects
  705. CLONE:BreakJoints()
  706. local MATERIALS = {"Glass","Neon"}
  707. for _, c in pairs(CLONE:GetDescendants()) do
  708. if c:IsA("BasePart") then
  709. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  710. CreateSound(340722848, c, 10, 1, false)
  711. end
  712. c.Anchored = true
  713. c.Transparency = c.Transparency + 0.2
  714. c.Material = MATERIALS[MRANDOM(1,2)]
  715. c.Color = C3(0,1,0)
  716. if c.ClassName == "MeshPart" then
  717. c.TextureID = ""
  718. end
  719. if c:FindFirstChildOfClass("SpecialMesh") then
  720. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  721. end
  722. if c:FindFirstChildOfClass("Decal") then
  723. c:FindFirstChildOfClass("Decal"):remove()
  724. end
  725. c.Name = "Banished"
  726. c.CanCollide = false
  727. else
  728. c:remove()
  729. end
  730. end
  731. local A = false
  732. for i = 1, 35 do
  733. if A == false then
  734. A = true
  735. elseif A == true then
  736. A = false
  737. end
  738. for _, c in pairs(CLONE:GetDescendants()) do
  739. if c:IsA("BasePart") then
  740. c.Anchored = true
  741. c.Material = MATERIALS[MRANDOM(1,2)]
  742. c.Transparency = c.Transparency + 0.8/35
  743. if A == false then
  744. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  745. elseif A == true then
  746. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  747. end
  748. end
  749. end
  750. Swait()
  751. end
  752. CLONE:remove()
  753. end))
  754. end
  755. end
  756.  
  757. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  758. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  759. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  760. if HITFLOOR.Name == "BloodPuddle" then
  761. local DIST = (Position - HITFLOOR.Position).Magnitude
  762. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  763. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  764. end
  765. elseif HITFLOOR.Anchored == true then
  766. do
  767. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  768. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  769. MakeForm(BLOOD, "Cyl")
  770. coroutine.resume(coroutine.create(function()
  771. Swait(75)
  772. while true do
  773. Swait()
  774. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  775. if BLOOD.Size.Z < 0.051 then
  776. BLOOD:remove()
  777. break
  778. end
  779. end
  780. end))
  781. end
  782. end
  783. end
  784. end
  785.  
  786. function SprayBlood(POSITION, DIRECTION, BloodSize)
  787. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  788. BLOOD.CFrame = CF(POSITION)
  789. MakeForm(BLOOD, "Ball")
  790. local bv = Instance.new("BodyVelocity", BLOOD)
  791. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  792. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  793. bv.Name = "MOVE"
  794. Debris:AddItem(bv, 0.05)
  795. coroutine.resume(coroutine.create(function()
  796. local HASTOUCHEDGROUND = false
  797. local HIT = BLOOD.Touched:Connect(function(hit)
  798. if hit.Anchored == true then
  799. HASTOUCHEDGROUND = true
  800. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  801. end
  802. end)
  803. wait(5)
  804. if HASTOUCHEDGROUND == false then
  805. BLOOD:remove()
  806. end
  807. end))
  808. end
  809. function ApplyDamage(Humanoid, Damage, TorsoPart)
  810. local defence = Instance.new("BoolValue", Humanoid.Parent)
  811. defence.Name = "HitBy" .. Player.Name
  812. game:GetService("Debris"):AddItem(defence, 0.001)
  813. Damage = Damage * DAMAGEMULTIPLIER
  814. if Humanoid.Health ~= 0 then
  815. local CritChance = MRANDOM(1, 100)
  816. if Damage > Humanoid.Health then
  817. Damage = math.ceil(Humanoid.Health)
  818. if Damage == 0 then
  819. Damage = 0.1
  820. end
  821. end
  822. Humanoid.Health = Humanoid.Health - Damage
  823. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  824. end
  825. end
  826.  
  827. function ApplyAoE(POSITION,RANGE,ISBANISH)
  828. local CHILDREN = workspace:GetDescendants()
  829. for index, CHILD in pairs(CHILDREN) do
  830. if CHILD.ClassName == "Model" and CHILD ~= Character then
  831. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  832. if HUM then
  833. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  834. if TORSO then
  835. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  836. if ISBANISH == true then
  837. Banish(CHILD)
  838. else
  839. if ISBANISH == "Gravity" then
  840. HUM.PlatformStand = true
  841. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  842. local grav = Instance.new("BodyPosition",TORSO)
  843. grav.D = 15
  844. grav.P = 20000
  845. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  846. grav.position = TORSO.Position
  847. grav.Name = "V3BanishForce"..Player.Name
  848. else
  849. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  850. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  851. end
  852. else
  853. HUM.PlatformStand = false
  854. end
  855. end
  856. elseif ISBANISH == "Gravity" then
  857. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  858. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  859. HUM.PlatformStand = false
  860. end
  861. end
  862. end
  863. end
  864. end
  865. end
  866. end
  867.  
  868. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  869. local dmg = math.random(min,max)
  870. for i,v in ipairs(workspace:GetChildren()) do
  871. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  872. local body = v:GetChildren()
  873. for part = 1, #body do
  874. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  875. if(body[part].Position - position).Magnitude < radius then
  876. if v.ClassName == "Model" then
  877. if v:FindFirstChildOfClass("Humanoid") then
  878. if CanBeDodgedByJumping == true then
  879. if body[part].Position.Y < position.Y+5 then
  880. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  881. end
  882. else
  883. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  884. end
  885. local bv = Instance.new("BodyVelocity")
  886. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  887. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  888. bv.Parent = body[part]
  889. Debris:AddItem(bv,0.2)
  890. end
  891. end
  892. end
  893. end
  894. end
  895. end
  896. if v:FindFirstChild("HitBy"..Player.Name) then
  897. v:FindFirstChild("HitBy"..Player.Name):remove()
  898. end
  899. end
  900. end
  901.  
  902.  
  903. --//=================================\\
  904. --|| ATTACK FUNCTIONS AND STUFF
  905. --\\=================================//
  906.  
  907. function ShadowCloak()
  908. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  909. ATTACK = true
  910. Rooted = false
  911. UNANCHOR = false
  912. FADERS = false
  913. coroutine.resume(coroutine.create(function()
  914. coroutine.resume(coroutine.create(function()
  915. for i=1, 25 do
  916. Swait()
  917. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  918. end
  919. end))
  920. repeat
  921. Swait()
  922. BLADE.Transparency = Torso.Transparency
  923. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  924. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  925. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  926. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  927. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  928. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  929. until ATTACK == false
  930. end))
  931. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  932. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  933. for i = 1, 50 do
  934. Swait()
  935. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  936. for index, CHILD in pairs(Character:GetChildren()) do
  937. if CHILD:IsA("BasePart") then
  938. CHILD.Transparency = CHILD.Transparency + 1/50
  939. elseif CHILD:IsA("Accessory") then
  940. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  941. end
  942. end
  943. end
  944. for i = 1, 25 do
  945. Swait()
  946. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  947. end
  948. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  949. for i = 1, 5 do
  950. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  951. end
  952. ApplyAoE(Torso.Position,15,12,22,150,false)
  953. CreateSound(331666014,Torso,5,1,false)
  954. for i = 1, 12 do
  955. Swait()
  956. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  957. end
  958. for i = 1, 50 do
  959. Swait()
  960. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  961. for index, CHILD in pairs(Character:GetChildren()) do
  962. if CHILD:IsA("BasePart") then
  963. CHILD.Transparency = CHILD.Transparency - 1/50
  964. elseif CHILD:IsA("Accessory") then
  965. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  966. end
  967. end
  968. end
  969. UNANCHOR = true
  970. ATTACK = false
  971. Rooted = false
  972. FADERS = true
  973. end
  974. end
  975.  
  976. function Neck_Snap()
  977. ATTACK = true
  978. Rooted = false
  979. local TARGET, HUM, WLD
  980. local HIT = RightArm.Touched:Connect(function(hit)
  981. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  982. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  983. if H.Health > 0 then
  984. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  985. if TORSO then
  986. HUM = H
  987. TARGET = TORSO
  988. H.PlatformStand = true
  989. CreateSound("260411131", TORSO, 10, 1)
  990. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  991. end
  992. end
  993. end
  994. end)
  995. for i = 0, 1, 0.1 / Animation_Speed do
  996. Swait()
  997. if TARGET ~= nil then
  998. break
  999. end
  1000. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1004. if ANIM == "Idle" then
  1005. 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.5 / Animation_Speed)
  1006. 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.5 / Animation_Speed)
  1007. elseif ANIM == "Walk" then
  1008. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1010. elseif ANIM == "Jump" or ANIM == "Fall" then
  1011. 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)
  1012. 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)
  1013. end
  1014. end
  1015. HIT:disconnect()
  1016. if TARGET ~= nil then
  1017. if TARGET.Name == "Torso" then
  1018. for i = 0, 2, 0.1 / Animation_Speed do
  1019. Swait()
  1020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1024. if ANIM == "Idle" then
  1025. 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.5 / Animation_Speed)
  1026. 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.5 / Animation_Speed)
  1027. elseif ANIM == "Walk" then
  1028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1030. elseif ANIM == "Jump" or ANIM == "Fall" then
  1031. 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)
  1032. 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)
  1033. end
  1034. end
  1035. WLD:remove()
  1036. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1037. if HEAD then
  1038. UNANCHOR = false
  1039. RootPart.Anchored = true
  1040. local HD = HEAD:Clone()
  1041. HD.Name = "FakeHead"
  1042. for i = 1, 7 do
  1043. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1044. end
  1045. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1046. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1047. HD.Parent = RAGDOLL
  1048. CreateSound("264486467", RAGTORSO, 10, 1)
  1049. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1050. for i = 0, 2, 0.1 / Animation_Speed do
  1051. Swait()
  1052. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1053. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1054. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1055. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1056. if ANIM == "Idle" then
  1057. 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.5 / Animation_Speed)
  1058. 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.5 / Animation_Speed)
  1059. elseif ANIM == "Walk" then
  1060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1062. elseif ANIM == "Jump" or ANIM == "Fall" then
  1063. 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)
  1064. 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)
  1065. end
  1066. end
  1067. HEADWELD:remove()
  1068. for i = 0, 0.5, 0.1 / Animation_Speed do
  1069. Swait()
  1070. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1074. if ANIM == "Idle" then
  1075. 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.5 / Animation_Speed)
  1076. 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.5 / Animation_Speed)
  1077. elseif ANIM == "Walk" then
  1078. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1079. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1080. elseif ANIM == "Jump" or ANIM == "Fall" then
  1081. 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)
  1082. 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)
  1083. end
  1084. end
  1085. CreateSound("907333406", Torso, 10, 1)
  1086. for i = 0, 0.25, 0.1 / Animation_Speed do
  1087. Swait()
  1088. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1089. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1090. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1091. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1092. if ANIM == "Idle" then
  1093. 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.5 / Animation_Speed)
  1094. 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.5 / Animation_Speed)
  1095. elseif ANIM == "Walk" then
  1096. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1098. elseif ANIM == "Jump" or ANIM == "Fall" then
  1099. 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)
  1100. 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)
  1101. end
  1102. end
  1103. RAGWELD:remove()
  1104. local bv = Instance.new("BodyVelocity")
  1105. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1106. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1107. bv.Parent = RAGTORSO
  1108. Debris:AddItem(bv, 0.05)
  1109. Debris:AddItem(RAGDOLL, 5)
  1110. for i = 0, 0.15, 0.1 / Animation_Speed do
  1111. Swait()
  1112. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1113. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1116. if ANIM == "Idle" then
  1117. 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.5 / Animation_Speed)
  1118. 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.5 / Animation_Speed)
  1119. elseif ANIM == "Walk" then
  1120. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1122. elseif ANIM == "Jump" or ANIM == "Fall" then
  1123. 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)
  1124. 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)
  1125. end
  1126. end
  1127. UNANCHOR = true
  1128. RootPart.Anchored = false
  1129. end
  1130. else
  1131. UNANCHOR = false
  1132. RootPart.Anchored = true
  1133. for i = 0, 0.5, 0.1 / Animation_Speed do
  1134. Swait()
  1135. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1139. if ANIM == "Idle" then
  1140. 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.5 / Animation_Speed)
  1141. 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.5 / Animation_Speed)
  1142. elseif ANIM == "Walk" then
  1143. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1144. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1145. elseif ANIM == "Jump" or ANIM == "Fall" then
  1146. 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)
  1147. 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)
  1148. end
  1149. end
  1150. for i = 0, 0.25, 0.1 / Animation_Speed do
  1151. Swait()
  1152. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1156. if ANIM == "Idle" then
  1157. 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.5 / Animation_Speed)
  1158. 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.5 / Animation_Speed)
  1159. elseif ANIM == "Walk" then
  1160. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1162. elseif ANIM == "Jump" or ANIM == "Fall" then
  1163. 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)
  1164. 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)
  1165. end
  1166. end
  1167. WLD:remove()
  1168. TARGET.Parent:BreakJoints()
  1169. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1170. if c:IsA("BasePart") then
  1171. local bv = Instance.new("BodyVelocity")
  1172. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1173. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1174. bv.Parent = c
  1175. Debris:AddItem(bv, 0.05)
  1176. end
  1177. end
  1178. for i = 0, 0.15, 0.1 / Animation_Speed do
  1179. Swait()
  1180. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1184. if ANIM == "Idle" then
  1185. 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.5 / Animation_Speed)
  1186. 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.5 / Animation_Speed)
  1187. elseif ANIM == "Walk" then
  1188. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1189. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1190. elseif ANIM == "Jump" or ANIM == "Fall" then
  1191. 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)
  1192. 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)
  1193. end
  1194. end
  1195. UNANCHOR = true
  1196. RootPart.Anchored = false
  1197. end
  1198. end
  1199. ATTACK = false
  1200. Rooted = false
  1201. end
  1202.  
  1203. function Banisher_Bullet()
  1204. ATTACK = true
  1205. Rooted = false
  1206. for i=0, 0.4, 0.1 / Animation_Speed do
  1207. Swait()
  1208. turnto(Mouse.Hit.p)
  1209. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1210. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1213. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1214. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1215. end
  1216. repeat
  1217. for i=0, 0.2, 0.1 / Animation_Speed do
  1218. Swait()
  1219. turnto(Mouse.Hit.p)
  1220. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1221. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1224. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1226. end
  1227. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1228. SpawnTrail(Hole2.Position,POS)
  1229. if HIT ~= nil then
  1230. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1231. Banish(HIT.Parent)
  1232. end
  1233. end
  1234. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1235. SpawnTrail(Hole.Position,POS)
  1236. if HIT ~= nil then
  1237. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1238. Banish(HIT.Parent)
  1239. end
  1240. end
  1241. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1242. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1243. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1244. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1245. for i=0, 0.3, 0.1 / Animation_Speed do
  1246. Swait()
  1247. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1248. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1249. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1250. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1251. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1252. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1253. end
  1254. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1255. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1256. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1257. 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1258. until KEYHOLD == false
  1259. ATTACK = false
  1260. Rooted = false
  1261. end
  1262.  
  1263. function AttackTemplate()
  1264. ATTACK = true
  1265. Rooted = false
  1266. for i=0, 1, 0.1 / Animation_Speed do
  1267. Swait()
  1268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1269. 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)
  1270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1272. 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)
  1273. 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)
  1274. end
  1275. ATTACK = false
  1276. Rooted = false
  1277. end
  1278.  
  1279. --//=================================\\
  1280. --|| ASSIGN THINGS TO KEYS
  1281. --\\=================================//
  1282.  
  1283. function MouseDown(Mouse)
  1284. if ATTACK == false then
  1285. end
  1286. end
  1287.  
  1288. function MouseUp(Mouse)
  1289. HOLD = false
  1290. end
  1291.  
  1292. function KeyDown(Key)
  1293. KEYHOLD = true
  1294. if Key == "z" and ATTACK == false then
  1295. Banisher_Bullet()
  1296. end
  1297.  
  1298. if Key == "b" and ATTACK == false then
  1299. Neck_Snap()
  1300. end
  1301.  
  1302. if Key == "c" and ATTACK == false then
  1303. ShadowCloak()
  1304. end
  1305.  
  1306. if Key == "v" and ATTACK == false then
  1307. end
  1308.  
  1309. if Key == "x" and ATTACK == false then
  1310. end
  1311. end
  1312.  
  1313. function KeyUp(Key)
  1314. KEYHOLD = false
  1315. end
  1316.  
  1317. Mouse.Button1Down:connect(function(NEWKEY)
  1318. MouseDown(NEWKEY)
  1319. end)
  1320. Mouse.Button1Up:connect(function(NEWKEY)
  1321. MouseUp(NEWKEY)
  1322. end)
  1323. Mouse.KeyDown:connect(function(NEWKEY)
  1324. KeyDown(NEWKEY)
  1325. end)
  1326. Mouse.KeyUp:connect(function(NEWKEY)
  1327. KeyUp(NEWKEY)
  1328. end)
  1329.  
  1330. --//=================================\\
  1331. --\\=================================//
  1332.  
  1333.  
  1334. function unanchor()
  1335. if UNANCHOR == true then
  1336. g = Character:GetChildren()
  1337. for i = 1, #g do
  1338. if g[i].ClassName == "Part" then
  1339. g[i].Anchored = false
  1340. end
  1341. end
  1342. end
  1343. end
  1344.  
  1345.  
  1346. --//=================================\\
  1347. --|| WRAP THE WHOLE SCRIPT UP
  1348. --\\=================================//
  1349.  
  1350. Humanoid.Changed:connect(function(Jump)
  1351. if Jump == "Jump" and (Disable_Jump == true) then
  1352. Humanoid.Jump = false
  1353. end
  1354. end)
  1355.  
  1356. local CONNECT = nil
  1357.  
  1358. while true do
  1359. Swait()
  1360. ANIMATE.Parent = nil
  1361. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1362. Humanoid = IT("Humanoid",Character)
  1363. end
  1364. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1365. v:Stop();
  1366. end
  1367. SINE = SINE + CHANGE
  1368. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1369. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1370. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1371. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1372. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1373. 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)
  1374. 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)
  1375. 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)
  1376. 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)
  1377. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1378. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1379. 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)
  1380. 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)
  1381. 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)
  1382. end
  1383. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1384. ANIM = "Jump"
  1385. if ATTACK == false then
  1386. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1387. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1388. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1389. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1390. 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)
  1391. 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)
  1392. end
  1393. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1394. ANIM = "Fall"
  1395. if ATTACK == false then
  1396. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1397. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1400. 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)
  1401. 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)
  1402. end
  1403. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1404. ANIM = "Idle"
  1405. if ATTACK == false then
  1406. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1407. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1410. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1412. end
  1413. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1414. ANIM = "Walk"
  1415. if ATTACK == false then
  1416. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1417. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1420. 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)
  1421. 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)
  1422. end
  1423. end
  1424. unanchor()
  1425. Humanoid.MaxHealth = "inf"
  1426. Humanoid.Health = "inf"
  1427. if Rooted == false then
  1428. Disable_Jump = false
  1429. Humanoid.WalkSpeed = Speed
  1430. elseif Rooted == true then
  1431. Disable_Jump = true
  1432. Humanoid.WalkSpeed = 0
  1433. end
  1434. sick.Parent = Torso
  1435. sick:resume()
  1436. sick.Volume = 5
  1437. sick.Pitch = 1
  1438. sick.SoundId = "rbxassetid://933032912"
  1439. sick.Name = "BanishV3Music"
  1440. end
  1441.  
  1442. --//=================================\\
  1443. --\\=================================//
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449. --//====================================================\\--
  1450. --|| END OF SCRIPT
  1451. --\\====================================================//--
  1452. RAW Paste Data
  1453.  
  1454. Player = game.Players.LocalPlayer
  1455. Character = Player.Character
  1456. local txt = Instance.new("BillboardGui", Character)
  1457. txt.Adornee = Character.Head
  1458. txt.Name = "_status"
  1459. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1460. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1461. local text = Instance.new("TextLabel", txt)
  1462. text.Size = UDim2.new(10, 0, 7, 0)
  1463. text.FontSize = "Size24"
  1464. text.TextScaled = true
  1465. text.TextTransparency = 0
  1466. text.BackgroundTransparency = 1
  1467. text.TextTransparency = 0
  1468. text.TextStrokeTransparency = 0
  1469. text.Font = "Antique"
  1470. text.TextStrokeColor3 = Color3.new(20,50,80)
  1471. text.Text = "PANDORA GREEN BANISH"
  1472. print("Edited by Penien23")
  1473. --//====================================================\\--
  1474. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  1475. --\\====================================================//--
  1476.  
  1477. script:ClearAllChildren()
  1478. wait(0.2)
  1479.  
  1480. Player = game:GetService("Players").LocalPlayer
  1481. PlayerGui = Player.PlayerGui
  1482. Cam = workspace.CurrentCamera
  1483. Backpack = Player.Backpack
  1484. Character = Player.Character
  1485. Humanoid = Character.Humanoid
  1486. Mouse = Player:GetMouse()
  1487. RootPart = Character["HumanoidRootPart"]
  1488. Torso = Character["Torso"]
  1489. Head = Character["Head"]
  1490. RightArm = Character["Right Arm"]
  1491. LeftArm = Character["Left Arm"]
  1492. RightLeg = Character["Right Leg"]
  1493. LeftLeg = Character["Left Leg"]
  1494. RootJoint = RootPart["RootJoint"]
  1495. Neck = Torso["Neck"]
  1496. RightShoulder = Torso["Right Shoulder"]
  1497. LeftShoulder = Torso["Left Shoulder"]
  1498. RightHip = Torso["Right Hip"]
  1499. LeftHip = Torso["Left Hip"]
  1500. local TIME = 0
  1501. local sick = Instance.new("Sound",Torso)
  1502.  
  1503. IT = Instance.new
  1504. CF = CFrame.new
  1505. VT = Vector3.new
  1506. RAD = math.rad
  1507. C3 = Color3.new
  1508. UD2 = UDim2.new
  1509. BRICKC = BrickColor.new
  1510. ANGLES = CFrame.Angles
  1511. EULER = CFrame.fromEulerAnglesXYZ
  1512. COS = math.cos
  1513. ACOS = math.acos
  1514. SIN = math.sin
  1515. ASIN = math.asin
  1516. ABS = math.abs
  1517. MRANDOM = math.random
  1518. FLOOR = math.floor
  1519.  
  1520. --//=================================\\
  1521. --|| USEFUL VALUES
  1522. --\\=================================//
  1523.  
  1524. Animation_Speed = 3
  1525. local FORCERESET = false
  1526. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1527. local Speed = 16
  1528. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1529. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1530. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1531. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1532. local DAMAGEMULTIPLIER = 1
  1533. local ANIM = "Idle"
  1534. local ATTACK = false
  1535. local EQUIPPED = false
  1536. local HOLD = false
  1537. local COMBO = 1
  1538. local Rooted = false
  1539. local SINE = 0
  1540. local KEYHOLD = false
  1541. local CHANGE = 2 / Animation_Speed
  1542. local WALKINGANIM = false
  1543. local VALUE1 = false
  1544. local VALUE2 = false
  1545. local ROBLOXIDLEANIMATION = IT("Animation")
  1546. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1547. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1548. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1549. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1550. WEAPONGUI.Name = "BanishV3Gui"
  1551. local Weapon = IT("Model")
  1552. Weapon.Name = "Adds"
  1553. local Effects = IT("Folder", Weapon)
  1554. Effects.Name = "Effects"
  1555. local ANIMATOR = Humanoid.Animator
  1556. local ANIMATE = Character:FindFirstChild("Animate")
  1557. local UNANCHOR = true
  1558. local TOBANISH = {}
  1559. script.Parent = PlayerGui
  1560.  
  1561. --//=================================\\
  1562. --\\=================================//
  1563.  
  1564.  
  1565. --//=================================\\
  1566. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1567. --\\=================================//
  1568.  
  1569. ArtificialHB = Instance.new("BindableEvent", script)
  1570. ArtificialHB.Name = "ArtificialHB"
  1571.  
  1572. script:WaitForChild("ArtificialHB")
  1573.  
  1574. frame = Frame_Speed
  1575. tf = 0
  1576. allowframeloss = false
  1577. tossremainder = false
  1578. lastframe = tick()
  1579. script.ArtificialHB:Fire()
  1580.  
  1581. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1582. tf = tf + s
  1583. if tf >= frame then
  1584. if allowframeloss then
  1585. script.ArtificialHB:Fire()
  1586. lastframe = tick()
  1587. else
  1588. for i = 1, math.floor(tf / frame) do
  1589. script.ArtificialHB:Fire()
  1590. end
  1591. lastframe = tick()
  1592. end
  1593. if tossremainder then
  1594. tf = 0
  1595. else
  1596. tf = tf - frame * math.floor(tf / frame)
  1597. end
  1598. end
  1599. end)
  1600.  
  1601. --//=================================\\
  1602. --\\=================================//
  1603.  
  1604. --//=================================\\
  1605. --|| SOME FUNCTIONS
  1606. --\\=================================//
  1607.  
  1608. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1609. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1610. end
  1611.  
  1612. function PositiveAngle(NUMBER)
  1613. if NUMBER >= 0 then
  1614. NUMBER = 0
  1615. end
  1616. return NUMBER
  1617. end
  1618.  
  1619. function NegativeAngle(NUMBER)
  1620. if NUMBER <= 0 then
  1621. NUMBER = 0
  1622. end
  1623. return NUMBER
  1624. end
  1625.  
  1626. function Swait(NUMBER)
  1627. if NUMBER == 0 or NUMBER == nil then
  1628. ArtificialHB.Event:wait()
  1629. else
  1630. for i = 1, NUMBER do
  1631. ArtificialHB.Event:wait()
  1632. end
  1633. end
  1634. end
  1635.  
  1636. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1637. local NEWMESH = IT(MESH)
  1638. if MESH == "SpecialMesh" then
  1639. NEWMESH.MeshType = MESHTYPE
  1640. if MESHID ~= "nil" and MESHID ~= "" then
  1641. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1642. end
  1643. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1644. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1645. end
  1646. end
  1647. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1648. NEWMESH.Scale = SCALE
  1649. NEWMESH.Parent = PARENT
  1650. return NEWMESH
  1651. end
  1652.  
  1653. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1654. local NEWPART = IT("Part")
  1655. NEWPART.formFactor = FORMFACTOR
  1656. NEWPART.Reflectance = REFLECTANCE
  1657. NEWPART.Transparency = TRANSPARENCY
  1658. NEWPART.CanCollide = false
  1659. NEWPART.Locked = true
  1660. NEWPART.Anchored = true
  1661. if ANCHOR == false then
  1662. NEWPART.Anchored = false
  1663. end
  1664. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1665. NEWPART.Name = NAME
  1666. NEWPART.Size = SIZE
  1667. NEWPART.Position = Torso.Position
  1668. NEWPART.Material = MATERIAL
  1669. NEWPART:BreakJoints()
  1670. NEWPART.Parent = PARENT
  1671. return NEWPART
  1672. end
  1673.  
  1674. local function weldBetween(a, b)
  1675. local weldd = Instance.new("ManualWeld")
  1676. weldd.Part0 = a
  1677. weldd.Part1 = b
  1678. weldd.C0 = CFrame.new()
  1679. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1680. weldd.Parent = a
  1681. return weldd
  1682. end
  1683.  
  1684.  
  1685. function QuaternionFromCFrame(cf)
  1686. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1687. local trace = m00 + m11 + m22
  1688. if trace > 0 then
  1689. local s = math.sqrt(1 + trace)
  1690. local recip = 0.5 / s
  1691. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1692. else
  1693. local i = 0
  1694. if m11 > m00 then
  1695. i = 1
  1696. end
  1697. if m22 > (i == 0 and m00 or m11) then
  1698. i = 2
  1699. end
  1700. if i == 0 then
  1701. local s = math.sqrt(m00 - m11 - m22 + 1)
  1702. local recip = 0.5 / s
  1703. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1704. elseif i == 1 then
  1705. local s = math.sqrt(m11 - m22 - m00 + 1)
  1706. local recip = 0.5 / s
  1707. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1708. elseif i == 2 then
  1709. local s = math.sqrt(m22 - m00 - m11 + 1)
  1710. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1711. end
  1712. end
  1713. end
  1714.  
  1715. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1716. local xs, ys, zs = x + x, y + y, z + z
  1717. local wx, wy, wz = w * xs, w * ys, w * zs
  1718. local xx = x * xs
  1719. local xy = x * ys
  1720. local xz = x * zs
  1721. local yy = y * ys
  1722. local yz = y * zs
  1723. local zz = z * zs
  1724. 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))
  1725. end
  1726.  
  1727. function QuaternionSlerp(a, b, t)
  1728. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1729. local startInterp, finishInterp;
  1730. if cosTheta >= 0.0001 then
  1731. if (1 - cosTheta) > 0.0001 then
  1732. local theta = ACOS(cosTheta)
  1733. local invSinTheta = 1 / SIN(theta)
  1734. startInterp = SIN((1 - t) * theta) * invSinTheta
  1735. finishInterp = SIN(t * theta) * invSinTheta
  1736. else
  1737. startInterp = 1 - t
  1738. finishInterp = t
  1739. end
  1740. else
  1741. if (1 + cosTheta) > 0.0001 then
  1742. local theta = ACOS(-cosTheta)
  1743. local invSinTheta = 1 / SIN(theta)
  1744. startInterp = SIN((t - 1) * theta) * invSinTheta
  1745. finishInterp = SIN(t * theta) * invSinTheta
  1746. else
  1747. startInterp = t - 1
  1748. finishInterp = t
  1749. end
  1750. end
  1751. 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
  1752. end
  1753.  
  1754. function Clerp(a, b, t)
  1755. local qa = {QuaternionFromCFrame(a)}
  1756. local qb = {QuaternionFromCFrame(b)}
  1757. local ax, ay, az = a.x, a.y, a.z
  1758. local bx, by, bz = b.x, b.y, b.z
  1759. local _t = 1 - t
  1760. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1761. end
  1762.  
  1763. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1764. local frame = IT("Frame")
  1765. frame.BackgroundTransparency = TRANSPARENCY
  1766. frame.BorderSizePixel = BORDERSIZEPIXEL
  1767. frame.Position = POSITION
  1768. frame.Size = SIZE
  1769. frame.BackgroundColor3 = COLOR
  1770. frame.BorderColor3 = BORDERCOLOR
  1771. frame.Name = NAME
  1772. frame.Parent = PARENT
  1773. return frame
  1774. end
  1775.  
  1776. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1777. local label = IT("TextLabel")
  1778. label.BackgroundTransparency = 1
  1779. label.Size = UD2(1, 0, 1, 0)
  1780. label.Position = UD2(0, 0, 0, 0)
  1781. label.TextColor3 = TEXTCOLOR
  1782. label.TextStrokeTransparency = STROKETRANSPARENCY
  1783. label.TextTransparency = TRANSPARENCY
  1784. label.FontSize = TEXTFONTSIZE
  1785. label.Font = TEXTFONT
  1786. label.BorderSizePixel = BORDERSIZEPIXEL
  1787. label.TextScaled = false
  1788. label.Text = TEXT
  1789. label.Name = NAME
  1790. label.Parent = PARENT
  1791. return label
  1792. end
  1793.  
  1794. function NoOutlines(PART)
  1795. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1796. end
  1797.  
  1798. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1799. local NEWWELD = IT(TYPE)
  1800. NEWWELD.Part0 = PART0
  1801. NEWWELD.Part1 = PART1
  1802. NEWWELD.C0 = C0
  1803. NEWWELD.C1 = C1
  1804. NEWWELD.Parent = PARENT
  1805. return NEWWELD
  1806. end
  1807.  
  1808. local S = IT("Sound")
  1809. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1810. local NEWSOUND = nil
  1811. coroutine.resume(coroutine.create(function()
  1812. NEWSOUND = S:Clone()
  1813. NEWSOUND.Parent = PARENT
  1814. NEWSOUND.Volume = VOLUME
  1815. NEWSOUND.Pitch = PITCH
  1816. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1817. NEWSOUND:play()
  1818. if DOESLOOP == true then
  1819. NEWSOUND.Looped = true
  1820. else
  1821. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1822. NEWSOUND:remove()
  1823. end
  1824. end))
  1825. return NEWSOUND
  1826. end
  1827.  
  1828. function CFrameFromTopBack(at, top, back)
  1829. local right = top:Cross(back)
  1830. 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)
  1831. end
  1832.  
  1833. --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})
  1834. function WACKYEFFECT(Table)
  1835. local TYPE = (Table.EffectType or "Sphere")
  1836. local SIZE = (Table.Size or VT(1,1,1))
  1837. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1838. local TRANSPARENCY = (Table.Transparency or 0)
  1839. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1840. local CFRAME = (Table.CFrame or Torso.CFrame)
  1841. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1842. local ROTATION1 = (Table.RotationX or 0)
  1843. local ROTATION2 = (Table.RotationY or 0)
  1844. local ROTATION3 = (Table.RotationZ or 0)
  1845. local MATERIAL = (Table.Material or "Neon")
  1846. local COLOR = (Table.Color or C3(1,1,1))
  1847. local TIME = (Table.Time or 45)
  1848. local SOUNDID = (Table.SoundID or nil)
  1849. local SOUNDPITCH = (Table.SoundPitch or nil)
  1850. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1851. coroutine.resume(coroutine.create(function()
  1852. local PLAYSSOUND = false
  1853. local SOUND = nil
  1854. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1855. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1856. PLAYSSOUND = true
  1857. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1858. end
  1859. EFFECT.Color = COLOR
  1860. local MSH = nil
  1861. if TYPE == "Sphere" then
  1862. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1863. elseif TYPE == "Block" then
  1864. MSH = IT("BlockMesh",EFFECT)
  1865. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1866. elseif TYPE == "Wave" then
  1867. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1868. elseif TYPE == "Ring" then
  1869. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1870. elseif TYPE == "Slash" then
  1871. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1872. elseif TYPE == "Round Slash" then
  1873. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1874. elseif TYPE == "Swirl" then
  1875. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1876. elseif TYPE == "Skull" then
  1877. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1878. elseif TYPE == "Crystal" then
  1879. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1880. end
  1881. if MSH ~= nil then
  1882. local MOVESPEED = nil
  1883. if MOVEDIRECTION ~= nil then
  1884. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1885. end
  1886. local GROWTH = SIZE - ENDSIZE
  1887. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1888. if TYPE == "Block" then
  1889. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1890. else
  1891. EFFECT.CFrame = CFRAME
  1892. end
  1893. for LOOP = 1, TIME+1 do
  1894. Swait()
  1895. MSH.Scale = MSH.Scale - GROWTH/TIME
  1896. if TYPE == "Wave" then
  1897. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1898. end
  1899. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1900. if TYPE == "Block" then
  1901. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1902. else
  1903. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1904. end
  1905. if MOVEDIRECTION ~= nil then
  1906. local ORI = EFFECT.Orientation
  1907. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1908. EFFECT.Orientation = ORI
  1909. end
  1910. end
  1911. if PLAYSSOUND == false then
  1912. EFFECT:remove()
  1913. else
  1914. SOUND.Stopped:Connect(function()
  1915. EFFECT:remove()
  1916. end)
  1917. end
  1918. else
  1919. if PLAYSSOUND == false then
  1920. EFFECT:remove()
  1921. else
  1922. repeat Swait() until SOUND.Playing == false
  1923. EFFECT:remove()
  1924. end
  1925. end
  1926. end))
  1927. end
  1928.  
  1929. function MakeForm(PART,TYPE)
  1930. if TYPE == "Cyl" then
  1931. local MSH = IT("CylinderMesh",PART)
  1932. elseif TYPE == "Ball" then
  1933. local MSH = IT("SpecialMesh",PART)
  1934. MSH.MeshType = "Sphere"
  1935. elseif TYPE == "Wedge" then
  1936. local MSH = IT("SpecialMesh",PART)
  1937. MSH.MeshType = "Wedge"
  1938. end
  1939. end
  1940.  
  1941. function SpawnTrail(FROM,TO,BIG)
  1942. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  1943. MakeForm(TRAIL,"Cyl")
  1944. local DIST = (FROM - TO).Magnitude
  1945. if BIG == true then
  1946. TRAIL.Size = VT(5,DIST,5)
  1947. else
  1948. TRAIL.Size = VT(5,DIST,5)
  1949. end
  1950. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1951. coroutine.resume(coroutine.create(function()
  1952. for i = 1, 5 do
  1953. Swait()
  1954. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1955. end
  1956. TRAIL:remove()
  1957. end))
  1958. end
  1959.  
  1960. Debris = game:GetService("Debris")
  1961.  
  1962. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1963. local DIRECTION = CF(StartPos,EndPos).lookVector
  1964. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1965. end
  1966.  
  1967. function turnto(position)
  1968. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1969. end
  1970. local asd = Instance.new("ParticleEmitter")
  1971. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1972. asd.LightEmission = .1
  1973. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1974. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1975. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1976. asd.Transparency = bbb
  1977. asd.Size = aaa
  1978. asd.ZOffset = .9
  1979. asd.Acceleration = Vector3.new(0, -15, 0)
  1980. asd.LockedToPart = false
  1981. asd.EmissionDirection = "Back"
  1982. asd.Lifetime = NumberRange.new(1, 2)
  1983. asd.Rotation = NumberRange.new(-100, 100)
  1984. asd.RotSpeed = NumberRange.new(-100, 100)
  1985. asd.Speed = NumberRange.new(10)
  1986. asd.Enabled = false
  1987. asd.VelocitySpread = 999
  1988.  
  1989. function getbloody(victim,amount)
  1990. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1991. PART.CFrame = victim.CFrame
  1992. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1993. Debris:AddItem(PART,5)
  1994. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1995. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1996. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1997. local prtcl = asd:Clone()
  1998. prtcl.Parent = PART
  1999. prtcl:Emit(amount*10)
  2000. end
  2001.  
  2002. local Particle = IT("ParticleEmitter",nil)
  2003. Particle.Enabled = false
  2004. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  2005. Particle.LightEmission = 0.5
  2006. Particle.Rate = 150
  2007. Particle.ZOffset = 1
  2008. Particle.Rotation = NumberRange.new(-180, 180)
  2009. Particle.RotSpeed = NumberRange.new(-180, 180)
  2010. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2011. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  2012.  
  2013. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2014. function ParticleEmitter(Table)
  2015. local PRTCL = Particle:Clone()
  2016. local Speed = Table.Speed or 5
  2017. local Drag = Table.Drag or 0
  2018. local Size1 = Table.Size1 or 1
  2019. local Size2 = Table.Size2 or 5
  2020. local Lifetime1 = Table.Lifetime1 or 1
  2021. local Lifetime2 = Table.Lifetime2 or 1.5
  2022. local Parent = Table.Parent or Torso
  2023. local Emit = Table.Emit or 100
  2024. local Offset = Table.Offset or 360
  2025. local Acel = Table.Acel or VT(0,0,0)
  2026. local Enabled = Table.Enabled or false
  2027. PRTCL.Parent = Parent
  2028. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2029. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2030. PRTCL.Speed = NumberRange.new(Speed)
  2031. PRTCL.VelocitySpread = Offset
  2032. PRTCL.Drag = Drag
  2033. PRTCL.Acceleration = Acel
  2034. if Enabled == false then
  2035. PRTCL:Emit(Emit)
  2036. Debris:AddItem(PRTCL,Lifetime2)
  2037. else
  2038. PRTCL.Enabled = true
  2039. end
  2040. return PRTCL
  2041. end
  2042.  
  2043. function R_RANDOM(CFRAME,DIST)
  2044. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  2045. end
  2046.  
  2047. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  2048. coroutine.resume(coroutine.create(function()
  2049. local FADE = IT("Model",Effects)
  2050. if PARENT ~= nil then
  2051. FADE.Parent = PARENT
  2052. end
  2053. FADE.Name = "FadingEffect"
  2054. for _, c in pairs(Character:GetChildren()) do
  2055. if c.ClassName == "Part" then
  2056. c.CanCollide = false
  2057. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Lime green"), c.Name, c.Size, true)
  2058. FADER.CFrame = c.CFrame
  2059. FADER.Color = COLOR
  2060. if FADER.Name == "Head" then
  2061. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  2062. elseif FADER.Name == "HumanoidRootPart" then
  2063. FADE.PrimaryPart = FADER
  2064. FADER.Transparency = 1
  2065. end
  2066. end
  2067. end
  2068. local TRANS = 0.25/TIMER
  2069. local DIST = nil
  2070. if MOVEDIRECTION ~= nil then
  2071. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  2072. end
  2073. for i = 1, TIMER do
  2074. Swait()
  2075. for _, c in pairs(FADE:GetChildren()) do
  2076. if c.ClassName == "Part" then
  2077. c.Transparency = c.Transparency + TRANS
  2078. end
  2079. end
  2080. if MOVEDIRECTION ~= nil then
  2081. local ORI = FADE.PrimaryPart.Orientation
  2082. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  2083. end
  2084. end
  2085. FADE:remove()
  2086. end))
  2087. end
  2088.  
  2089.  
  2090. --//=================================\\
  2091. --|| WEAPON CREATION
  2092. --\\=================================//
  2093.  
  2094. local SIZE = 1.25
  2095.  
  2096. local Particle = IT("ParticleEmitter",nil)
  2097. Particle.Enabled = false
  2098. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2099. Particle.LightEmission = 0.5
  2100. Particle.Rate = 150
  2101. Particle.ZOffset = 0.2
  2102. Particle.Rotation = NumberRange.new(-180, 180)
  2103. Particle.RotSpeed = NumberRange.new(-180, 180)
  2104. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2105. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  2106.  
  2107. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2108. function ParticleEmitter(Table)
  2109. local PRTCL = Particle:Clone()
  2110. local Speed = Table.Speed or 5
  2111. local Drag = Table.Drag or 0
  2112. local Size1 = Table.Size1 or 1
  2113. local Size2 = Table.Size2 or 5
  2114. local Lifetime1 = Table.Lifetime1 or 1
  2115. local Lifetime2 = Table.Lifetime2 or 1.5
  2116. local Parent = Table.Parent or Torso
  2117. local Emit = Table.Emit or 100
  2118. local Offset = Table.Offset or 360
  2119. local Acel = Table.Acel or VT(0,0,0)
  2120. local Enabled = Table.Enabled or false
  2121. PRTCL.Parent = Parent
  2122. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2123. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2124. PRTCL.Speed = NumberRange.new(Speed)
  2125. PRTCL.VelocitySpread = Offset
  2126. PRTCL.Drag = Drag
  2127. PRTCL.Acceleration = Acel
  2128. if Enabled == false then
  2129. PRTCL:Emit(Emit)
  2130. Debris:AddItem(PRTCL,Lifetime2)
  2131. else
  2132. PRTCL.Enabled = true
  2133. end
  2134. return PRTCL
  2135. end
  2136.  
  2137. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  2138. PRT.Color = C3(1,1,1)
  2139. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2140. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  2141. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  2142. PRT.Color = C3(0, 111, 0)
  2143. MakeForm(PRT,"Ball")
  2144. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2145. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  2146. PRT.Color = C3(0, 111, 0)
  2147. MakeForm(PRT,"Ball")
  2148. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  2149. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2150. PRT.Color = C3(0, 111, 0)
  2151. MakeForm(PRT,"Ball")
  2152. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2153. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2154. PRT.Color = C3(0, 111, 0)
  2155. MakeForm(PRT,"Ball")
  2156. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2157. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  2158. PRT.Color = C3(0, 111, 0)
  2159. MakeForm(PRT,"Ball")
  2160. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  2161. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  2162. PRT.Color = C3(0, 111, 0)
  2163. MakeForm(PRT,"Ball")
  2164. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  2165.  
  2166.  
  2167.  
  2168.  
  2169. local LASTPART = Head
  2170. for i = 1, 20 do
  2171. local MATH = (1-(i/25))
  2172. if LASTPART == Head then
  2173. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2174. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  2175. LASTPART = Horn
  2176. Horn.Color = C3((i*3-3)/0,0,0)
  2177. else
  2178. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2179. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  2180. LASTPART = Horn
  2181. Horn.Color = C3((i*3-3)/0,127,0)
  2182. end
  2183. end
  2184. local LASTPART = Head
  2185. for i = 1, 20 do
  2186. local MATH = (1-(i/25))
  2187. if LASTPART == Head then
  2188. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2189. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  2190. LASTPART = Horn
  2191. Horn.Color = C3((i*3-3)/0,0,0)
  2192. else
  2193. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2194. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  2195. LASTPART = Horn
  2196. Horn.Color = C3((i*3-3)/0,127,0)
  2197. end
  2198. end
  2199.  
  2200. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2201. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2202. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2203. MakeForm(Part,"Wedge")
  2204. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2205. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2206. MakeForm(Part,"Wedge")
  2207. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2208. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2209. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2210. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2213. MakeForm(Part,"Cyl")
  2214. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2215. for i = 1, 8 do
  2216. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2217. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2218. end
  2219. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2220. MakeForm(Part,"Cyl")
  2221. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2222. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2223. MakeForm(Part,"Ball")
  2224. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2225. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2226. MakeForm(Part,"Wedge")
  2227. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2228. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2229. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2230. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2231. MakeForm(Part,"Cyl")
  2232. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2233. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2234. MakeForm(Part,"Cyl")
  2235. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2236. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2237. MakeForm(Part,"Cyl")
  2238. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2239. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2240. MakeForm(Part,"Wedge")
  2241. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2242. local LASTPART = Handle
  2243. for i = 1, 10 do
  2244. if LASTPART == Handle then
  2245. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2246. LASTPART = Part
  2247. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2248. else
  2249. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2250. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2251. LASTPART = Part
  2252. end
  2253. end
  2254.  
  2255. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2256. MakeForm(Barrel,"Cyl")
  2257. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2258. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2259. MakeForm(Part,"Cyl")
  2260. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2261. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2262. MakeForm(Part,"Wedge")
  2263. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2264. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2265. MakeForm(Hole2,"Cyl")
  2266. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  2267. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2268. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2269. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2270. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2271. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2272. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2273. coroutine.resume(coroutine.create(function()
  2274. while wait() do
  2275. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2276. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2277. end
  2278. end))
  2279.  
  2280. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2281. --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)})
  2282.  
  2283. for _, c in pairs(Weapon:GetDescendants()) do
  2284. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2285. c.Material = "Glass"
  2286. c.Color = C3(0,0,0)
  2287. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2288. c.Color = C3(0,1,0)
  2289. c.Material = "Neon"
  2290. end
  2291. end
  2292.  
  2293. Weapon.Parent = Character
  2294. for _, c in pairs(Weapon:GetChildren()) do
  2295. if c.ClassName == "Part" then
  2296. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2297. end
  2298. end
  2299.  
  2300. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  2301. PRT.Color = C3(0,0,0)
  2302. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  2303. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  2304.  
  2305. if Character:FindFirstChildOfClass("Accessory") then
  2306. Character:FindFirstChildOfClass("Accessory"):remove()
  2307. elseif Character:FindFirstChildOfClass("Hat") then
  2308. Character:FindFirstChildOfClass("Hat"):remove()
  2309. end
  2310. if Head:FindFirstChild("face") then
  2311. Head.face.Texture = "rbxassetid://403870689"
  2312. if Character:FindFirstChildOfClass("Accessory") then
  2313. Character:FindFirstChildOfClass("Accessory"):remove()
  2314. elseif Character:FindFirstChildOfClass("Hat") then
  2315. Character:FindFirstChildOfClass("Hat"):remove()
  2316. end
  2317. if Character:FindFirstChildOfClass("Accessory") then
  2318. Character:FindFirstChildOfClass("Accessory"):remove()
  2319. elseif Character:FindFirstChildOfClass("Hat") then
  2320. Character:FindFirstChildOfClass("Hat"):remove()
  2321. end
  2322. if Character:FindFirstChildOfClass("Accessory") then
  2323. Character:FindFirstChildOfClass("Accessory"):remove()
  2324. elseif Character:FindFirstChildOfClass("Hat") then
  2325. Character:FindFirstChildOfClass("Hat"):remove()
  2326. end
  2327. if Character:FindFirstChildOfClass("Accessory") then
  2328. Character:FindFirstChildOfClass("Accessory"):remove()
  2329. elseif Character:FindFirstChildOfClass("Hat") then
  2330. Character:FindFirstChildOfClass("Hat"):remove()
  2331. end
  2332. if Character:FindFirstChildOfClass("Accessory") then
  2333. Character:FindFirstChildOfClass("Accessory"):remove()
  2334. elseif Character:FindFirstChildOfClass("Hat") then
  2335. Character:FindFirstChildOfClass("Hat"):remove()
  2336. end
  2337. end
  2338.  
  2339. function ParticleEmitter(Table)
  2340. local PRTCL = Particle:Clone()
  2341. local Speed = Table.Speed or 5
  2342. local Drag = Table.Drag or 0
  2343. local Size1 = Table.Size1 or 1
  2344. local Size2 = Table.Size2 or 5
  2345. local Lifetime1 = Table.Lifetime1 or 1
  2346. local Lifetime2 = Table.Lifetime2 or 1.5
  2347. local Parent = Table.Parent or Torso
  2348. local Emit = Table.Emit or 100
  2349. local Offset = Table.Offset or 360
  2350. local Acel = Table.Acel or VT(0,0,0)
  2351. local Enabled = Table.Enabled or false
  2352. PRTCL.Parent = Parent
  2353. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2354. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2355. PRTCL.Speed = NumberRange.new(Speed)
  2356. PRTCL.VelocitySpread = Offset
  2357. PRTCL.Drag = Drag
  2358. PRTCL.Acceleration = Acel
  2359. if Enabled == false then
  2360. PRTCL:Emit(Emit)
  2361. Debris:AddItem(PRTCL,Lifetime2)
  2362. else
  2363. PRTCL.Enabled = true
  2364. end
  2365. return PRTCL
  2366. end
  2367.  
  2368. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2369. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2370. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2371. MakeForm(Part,"Wedge")
  2372. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2373. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2374. MakeForm(Part,"Wedge")
  2375. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2376. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2377. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2378. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2379. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2380. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2381. MakeForm(Part,"Cyl")
  2382. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2383. for i = 1, 8 do
  2384. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2385. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2386. end
  2387. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2388. MakeForm(Part,"Cyl")
  2389. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2390. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2391. MakeForm(Part,"Ball")
  2392. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2393. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2394. MakeForm(Part,"Wedge")
  2395. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2396. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2397. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2398. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2399. MakeForm(Part,"Cyl")
  2400. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2401. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2402. MakeForm(Part,"Cyl")
  2403. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2404. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2405. MakeForm(Part,"Cyl")
  2406. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2407. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2408. MakeForm(Part,"Wedge")
  2409. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2410. local LASTPART = Handle
  2411. for i = 1, 10 do
  2412. if LASTPART == Handle then
  2413. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2414. LASTPART = Part
  2415. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2416. else
  2417. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2418. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2419. LASTPART = Part
  2420. end
  2421. end
  2422.  
  2423. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2424. MakeForm(Barrel,"Cyl")
  2425. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2426. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2427. MakeForm(Part,"Cyl")
  2428. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2429. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2430. MakeForm(Part,"Wedge")
  2431. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2432. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2433. MakeForm(Hole,"Cyl")
  2434. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2435. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2436. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2437. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2438. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2439. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2440. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2441. coroutine.resume(coroutine.create(function()
  2442. while wait() do
  2443. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2444. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2445. end
  2446. end))
  2447.  
  2448. 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)})
  2449. --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)})
  2450.  
  2451. for _, c in pairs(Weapon:GetDescendants()) do
  2452. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2453. c.Material = "Glass"
  2454. c.Color = C3(0.05,0.05,0.05)
  2455. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2456. c.Color = C3(0,1,0)
  2457. c.Material = "Neon"
  2458. end
  2459. end
  2460.  
  2461. Weapon.Parent = Character
  2462. for _, c in pairs(Weapon:GetChildren()) do
  2463. if c.ClassName == "Part" then
  2464. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2465. end
  2466. end
  2467.  
  2468. local SKILLTEXTCOLOR = C3(0,1,0)
  2469. local SKILLFONT = "Antique"
  2470. local SKILLTEXTSIZE = 7
  2471.  
  2472. Humanoid.Died:connect(function()
  2473. ATTACK = true
  2474. end)
  2475.  
  2476.  
  2477. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2478. --[[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")
  2479. 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")
  2480. 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")
  2481. 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")
  2482. ]]
  2483. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2484. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2485. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2486. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2487. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2488. ]]
  2489. function printbye(Name)
  2490. 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, "}
  2491. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2492. end
  2493.  
  2494. workspace.ChildAdded:connect(function(instance)
  2495. for BANISH = 1, #TOBANISH do
  2496. if TOBANISH[BANISH] ~= nil then
  2497. if instance.Name == TOBANISH[BANISH] then
  2498. coroutine.resume(coroutine.create(function()
  2499. printbye(instance.Name)
  2500. instance:ClearAllChildren()
  2501. Debris:AddItem(instance,0.0005)
  2502. end))
  2503. end
  2504. end
  2505. end
  2506. end)
  2507.  
  2508. --//=================================\\
  2509. --|| DAMAGING
  2510. --\\=================================//
  2511.  
  2512. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2513. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2514. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2515. wave.CFrame = CFRAME
  2516. coroutine.resume(coroutine.create(function(PART)
  2517. for i = 1, WAIT do
  2518. Swait()
  2519. mesh.Scale = mesh.Scale + GROW
  2520. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2521. if DOESROT == true then
  2522. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2523. end
  2524. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2525. if wave.Transparency > 0.99 then
  2526. wave:remove()
  2527. end
  2528. end
  2529. end))
  2530. end
  2531.  
  2532. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2533. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2534. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  2535. wave.CFrame = CFRAME
  2536. coroutine.resume(coroutine.create(function(PART)
  2537. for i = 1, WAIT do
  2538. Swait()
  2539. mesh.Scale = mesh.Scale + GROW
  2540. if DOESROT == true then
  2541. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2542. end
  2543. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2544. if wave.Transparency > 0.99 then
  2545. wave:remove()
  2546. end
  2547. end
  2548. end))
  2549. end
  2550.  
  2551. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2552. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2553. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  2554. wave.CFrame = CFRAME
  2555. coroutine.resume(coroutine.create(function(PART)
  2556. for i = 1, WAIT do
  2557. Swait()
  2558. mesh.Scale = mesh.Scale + GROW
  2559. wave.Transparency = wave.Transparency + (1/WAIT)
  2560. if wave.Transparency > 0.99 then
  2561. wave:remove()
  2562. end
  2563. end
  2564. end))
  2565. end
  2566.  
  2567. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  2568. local mesh = nil
  2569. if KIND == "Base" then
  2570. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2571. elseif KIND == "Thin" then
  2572. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2573. elseif KIND == "Round" then
  2574. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2575. end
  2576. wave.CFrame = CFRAME
  2577. coroutine.resume(coroutine.create(function(PART)
  2578. for i = 1, WAIT do
  2579. Swait()
  2580. mesh.Scale = mesh.Scale + GROW/10
  2581. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2582. if wave.Transparency > 0.99 then
  2583. wave:remove()
  2584. end
  2585. end
  2586. end))
  2587. end
  2588.  
  2589. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  2590. local svch = Character2
  2591. Character2:BreakJoints()
  2592. local hum = Character2:findFirstChild("Humanoid")
  2593. local q = Character2:GetChildren()
  2594. local CLONE = IT("Model", Effects)
  2595. for i = 1, #q do
  2596. if q[i].ClassName == "Accessory" and Headless == true then
  2597. q[i]:remove()
  2598. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  2599. q[i].Parent = CLONE
  2600. elseif q[i].ClassName ~= "Humanoid" then
  2601. q[i]:remove()
  2602. end
  2603. end
  2604. local chrclone = CLONE
  2605. local ch = chrclone:GetChildren()
  2606. local i
  2607. for i = 1, #ch do
  2608. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2609. ch[i]:remove()
  2610. end
  2611. end
  2612. local function Scan(ch)
  2613. local e
  2614. for e = 1, #ch do
  2615. Scan(ch[e]:GetChildren())
  2616. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2617. ch[e]:remove()
  2618. end
  2619. end
  2620. end
  2621. Character2:remove()
  2622. local NEWHUM = IT("Humanoid")
  2623. NEWHUM.Name = "Corpse"
  2624. NEWHUM.Health = 0
  2625. NEWHUM.MaxHealth = 0
  2626. NEWHUM.PlatformStand = true
  2627. NEWHUM.Parent = CLONE
  2628. NEWHUM.DisplayDistanceType = "None"
  2629. Scan(chrclone:GetChildren())
  2630. local ch = Character2:GetChildren()
  2631. local i
  2632. for i = 1, #ch do
  2633. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2634. ch[i]:remove()
  2635. end
  2636. end
  2637. local ch = Character2:GetChildren()
  2638. local i
  2639. for i = 1, #ch do
  2640. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2641. ch[i]:remove()
  2642. end
  2643. end
  2644. Character2 = chrclone
  2645. local Torso2 = Character2.Torso
  2646. local movevector = Vector3.new()
  2647. if Torso2 then
  2648. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  2649. local Head = Character2:FindFirstChild("Head")
  2650. if Head then
  2651. local Neck = Instance.new("Weld")
  2652. Neck.Name = "Neck"
  2653. Neck.Part0 = Torso2
  2654. Neck.Part1 = Head
  2655. Neck.C0 = CFrame.new(0, 1.5, 0)
  2656. Neck.C1 = CFrame.new()
  2657. Neck.Parent = Torso2
  2658. if Headless == true then
  2659. Head.Transparency = 1
  2660. Head:ClearAllChildren()
  2661. end
  2662. end
  2663. local Limb = Character2:FindFirstChild("Right Arm")
  2664. if Limb then
  2665. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2666. local Joint = Instance.new("Glue")
  2667. Joint.Name = "RightShoulder"
  2668. Joint.Part0 = Torso2
  2669. Joint.Part1 = Limb
  2670. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2671. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2672. Joint.Parent = Torso2
  2673. local B = Instance.new("Part")
  2674. B.TopSurface = 0
  2675. B.BottomSurface = 0
  2676. B.formFactor = "Symmetric"
  2677. B.Size = Vector3.new(1, 1, 1)
  2678. B.Transparency = 1
  2679. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2680. B.Parent = Character2
  2681. local W = Instance.new("Weld")
  2682. W.Part0 = Limb
  2683. W.Part1 = B
  2684. W.C0 = CFrame.new(0, -0.5, 0)
  2685. W.Parent = Limb
  2686. end
  2687. local Limb = Character2:FindFirstChild("Left Arm")
  2688. if Limb then
  2689. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2690. local Joint = Instance.new("Glue")
  2691. Joint.Name = "LeftShoulder"
  2692. Joint.Part0 = Torso2
  2693. Joint.Part1 = Limb
  2694. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2695. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2696. Joint.Parent = Torso2
  2697. local B = Instance.new("Part")
  2698. B.TopSurface = 0
  2699. B.BottomSurface = 0
  2700. B.formFactor = "Symmetric"
  2701. B.Size = Vector3.new(1, 1, 1)
  2702. B.Transparency = 1
  2703. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2704. B.Parent = Character2
  2705. local W = Instance.new("Weld")
  2706. W.Part0 = Limb
  2707. W.Part1 = B
  2708. W.C0 = CFrame.new(0, -0.5, 0)
  2709. W.Parent = Limb
  2710. end
  2711. local Limb = Character2:FindFirstChild("Right Leg")
  2712. if Limb then
  2713. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2714. local Joint = Instance.new("Glue")
  2715. Joint.Name = "RightHip"
  2716. Joint.Part0 = Torso2
  2717. Joint.Part1 = Limb
  2718. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2719. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2720. Joint.Parent = Torso2
  2721. local B = Instance.new("Part")
  2722. B.TopSurface = 0
  2723. B.BottomSurface = 0
  2724. B.formFactor = "Symmetric"
  2725. B.Size = Vector3.new(1, 1, 1)
  2726. B.Transparency = 1
  2727. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2728. B.Parent = Character2
  2729. local W = Instance.new("Weld")
  2730. W.Part0 = Limb
  2731. W.Part1 = B
  2732. W.C0 = CFrame.new(0, -0.5, 0)
  2733. W.Parent = Limb
  2734. end
  2735. local Limb = Character2:FindFirstChild("Left Leg")
  2736. if Limb then
  2737. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2738. local Joint = Instance.new("Glue")
  2739. Joint.Name = "LeftHip"
  2740. Joint.Part0 = Torso2
  2741. Joint.Part1 = Limb
  2742. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2743. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2744. Joint.Parent = Torso2
  2745. local B = Instance.new("Part")
  2746. B.TopSurface = 0
  2747. B.BottomSurface = 0
  2748. B.formFactor = "Symmetric"
  2749. B.Size = Vector3.new(1, 1, 1)
  2750. B.Transparency = 1
  2751. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2752. B.Parent = Character2
  2753. local W = Instance.new("Weld")
  2754. W.Part0 = Limb
  2755. W.Part1 = B
  2756. W.C0 = CFrame.new(0, -0.5, 0)
  2757. W.Parent = Limb
  2758. end
  2759. local Bar = Instance.new("Part")
  2760. Bar.TopSurface = 0
  2761. Bar.BottomSurface = 0
  2762. Bar.formFactor = "Symmetric"
  2763. Bar.Size = Vector3.new(1, 1, 1)
  2764. Bar.Transparency = 1
  2765. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2766. Bar.Parent = Character2
  2767. local Weld = Instance.new("Weld")
  2768. Weld.Part0 = Torso2
  2769. Weld.Part1 = Bar
  2770. Weld.C0 = CFrame.new(0, 0.5, 0)
  2771. Weld.Parent = Torso2
  2772. end
  2773. Character2.Parent = Weapon
  2774. if movevector ~= Vector3.new() then
  2775. for i = 1, 10 do
  2776. Torso2.Velocity = movevector * Velocity
  2777. end
  2778. end
  2779. Character2.Name = "Corpse"
  2780. return Character2, Torso2
  2781. end
  2782.  
  2783. function Banish(Foe)
  2784. if Foe then
  2785. coroutine.resume(coroutine.create(function()
  2786. --if game.Players:FindFirstChild(Foe.Name) then
  2787. table.insert(TOBANISH,Foe.Name)
  2788. printbye(Foe.Name)
  2789. --end
  2790. Foe.Archivable = true
  2791. local CLONE = Foe:Clone()
  2792. Foe:Destroy()
  2793. CLONE.Parent = Effects
  2794. CLONE:BreakJoints()
  2795. local MATERIALS = {"Glass","Neon"}
  2796. for _, c in pairs(CLONE:GetDescendants()) do
  2797. if c:IsA("BasePart") then
  2798. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2799. CreateSound(340722848, c, 10, 1, false)
  2800. end
  2801. c.Anchored = true
  2802. c.Transparency = c.Transparency + 0.2
  2803. c.Material = MATERIALS[MRANDOM(1,2)]
  2804. c.Color = C3(0,1,0)
  2805. if c.ClassName == "MeshPart" then
  2806. c.TextureID = ""
  2807. end
  2808. if c:FindFirstChildOfClass("SpecialMesh") then
  2809. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2810. end
  2811. if c:FindFirstChildOfClass("Decal") then
  2812. c:FindFirstChildOfClass("Decal"):remove()
  2813. end
  2814. c.Name = "Banished"
  2815. c.CanCollide = false
  2816. else
  2817. c:remove()
  2818. end
  2819. end
  2820. local A = false
  2821. for i = 1, 35 do
  2822. if A == false then
  2823. A = true
  2824. elseif A == true then
  2825. A = false
  2826. end
  2827. for _, c in pairs(CLONE:GetDescendants()) do
  2828. if c:IsA("BasePart") then
  2829. c.Anchored = true
  2830. c.Material = MATERIALS[MRANDOM(1,2)]
  2831. c.Transparency = c.Transparency + 0.8/35
  2832. if A == false then
  2833. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2834. elseif A == true then
  2835. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2836. end
  2837. end
  2838. end
  2839. Swait()
  2840. end
  2841. CLONE:remove()
  2842. end))
  2843. end
  2844. end
  2845.  
  2846. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  2847. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  2848. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  2849. if HITFLOOR.Name == "BloodPuddle" then
  2850. local DIST = (Position - HITFLOOR.Position).Magnitude
  2851. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  2852. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  2853. end
  2854. elseif HITFLOOR.Anchored == true then
  2855. do
  2856. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  2857. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2858. MakeForm(BLOOD, "Cyl")
  2859. coroutine.resume(coroutine.create(function()
  2860. Swait(75)
  2861. while true do
  2862. Swait()
  2863. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  2864. if BLOOD.Size.Z < 0.051 then
  2865. BLOOD:remove()
  2866. break
  2867. end
  2868. end
  2869. end))
  2870. end
  2871. end
  2872. end
  2873. end
  2874.  
  2875. function SprayBlood(POSITION, DIRECTION, BloodSize)
  2876. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  2877. BLOOD.CFrame = CF(POSITION)
  2878. MakeForm(BLOOD, "Ball")
  2879. local bv = Instance.new("BodyVelocity", BLOOD)
  2880. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2881. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  2882. bv.Name = "MOVE"
  2883. Debris:AddItem(bv, 0.05)
  2884. coroutine.resume(coroutine.create(function()
  2885. local HASTOUCHEDGROUND = false
  2886. local HIT = BLOOD.Touched:Connect(function(hit)
  2887. if hit.Anchored == true then
  2888. HASTOUCHEDGROUND = true
  2889. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  2890. end
  2891. end)
  2892. wait(5)
  2893. if HASTOUCHEDGROUND == false then
  2894. BLOOD:remove()
  2895. end
  2896. end))
  2897. end
  2898. function ApplyDamage(Humanoid, Damage, TorsoPart)
  2899. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2900. defence.Name = "HitBy" .. Player.Name
  2901. game:GetService("Debris"):AddItem(defence, 0.001)
  2902. Damage = Damage * DAMAGEMULTIPLIER
  2903. if Humanoid.Health ~= 0 then
  2904. local CritChance = MRANDOM(1, 100)
  2905. if Damage > Humanoid.Health then
  2906. Damage = math.ceil(Humanoid.Health)
  2907. if Damage == 0 then
  2908. Damage = 0.1
  2909. end
  2910. end
  2911. Humanoid.Health = Humanoid.Health - Damage
  2912. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2913. end
  2914. end
  2915.  
  2916. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2917. local CHILDREN = workspace:GetDescendants()
  2918. for index, CHILD in pairs(CHILDREN) do
  2919. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2920. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2921. if HUM then
  2922. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2923. if TORSO then
  2924. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2925. if ISBANISH == true then
  2926. Banish(CHILD)
  2927. else
  2928. if ISBANISH == "Gravity" then
  2929. HUM.PlatformStand = true
  2930. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2931. local grav = Instance.new("BodyPosition",TORSO)
  2932. grav.D = 15
  2933. grav.P = 20000
  2934. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2935. grav.position = TORSO.Position
  2936. grav.Name = "V3BanishForce"..Player.Name
  2937. else
  2938. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2939. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2940. end
  2941. else
  2942. HUM.PlatformStand = false
  2943. end
  2944. end
  2945. elseif ISBANISH == "Gravity" then
  2946. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2947. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2948. HUM.PlatformStand = false
  2949. end
  2950. end
  2951. end
  2952. end
  2953. end
  2954. end
  2955. end
  2956.  
  2957. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  2958. local dmg = math.random(min,max)
  2959. for i,v in ipairs(workspace:GetChildren()) do
  2960. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  2961. local body = v:GetChildren()
  2962. for part = 1, #body do
  2963. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2964. if(body[part].Position - position).Magnitude < radius then
  2965. if v.ClassName == "Model" then
  2966. if v:FindFirstChildOfClass("Humanoid") then
  2967. if CanBeDodgedByJumping == true then
  2968. if body[part].Position.Y < position.Y+5 then
  2969. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2970. end
  2971. else
  2972. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2973. end
  2974. local bv = Instance.new("BodyVelocity")
  2975. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2976. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  2977. bv.Parent = body[part]
  2978. Debris:AddItem(bv,0.2)
  2979. end
  2980. end
  2981. end
  2982. end
  2983. end
  2984. end
  2985. if v:FindFirstChild("HitBy"..Player.Name) then
  2986. v:FindFirstChild("HitBy"..Player.Name):remove()
  2987. end
  2988. end
  2989. end
  2990.  
  2991.  
  2992. --//=================================\\
  2993. --|| ATTACK FUNCTIONS AND STUFF
  2994. --\\=================================//
  2995.  
  2996. function ShadowCloak()
  2997. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  2998. ATTACK = true
  2999. Rooted = false
  3000. UNANCHOR = false
  3001. FADERS = false
  3002. coroutine.resume(coroutine.create(function()
  3003. coroutine.resume(coroutine.create(function()
  3004. for i=1, 25 do
  3005. Swait()
  3006. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  3007. end
  3008. end))
  3009. repeat
  3010. Swait()
  3011. BLADE.Transparency = Torso.Transparency
  3012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3013. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  3014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3015. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3016. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  3017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  3018. until ATTACK == false
  3019. end))
  3020. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  3021. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  3022. for i = 1, 50 do
  3023. Swait()
  3024. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  3025. for index, CHILD in pairs(Character:GetChildren()) do
  3026. if CHILD:IsA("BasePart") then
  3027. CHILD.Transparency = CHILD.Transparency + 1/50
  3028. elseif CHILD:IsA("Accessory") then
  3029. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  3030. end
  3031. end
  3032. end
  3033. for i = 1, 25 do
  3034. Swait()
  3035. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  3036. end
  3037. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  3038. for i = 1, 5 do
  3039. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  3040. end
  3041. ApplyAoE(Torso.Position,15,12,22,150,false)
  3042. CreateSound(331666014,Torso,5,1,false)
  3043. for i = 1, 12 do
  3044. Swait()
  3045. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  3046. end
  3047. for i = 1, 50 do
  3048. Swait()
  3049. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  3050. for index, CHILD in pairs(Character:GetChildren()) do
  3051. if CHILD:IsA("BasePart") then
  3052. CHILD.Transparency = CHILD.Transparency - 1/50
  3053. elseif CHILD:IsA("Accessory") then
  3054. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  3055. end
  3056. end
  3057. end
  3058. UNANCHOR = true
  3059. ATTACK = false
  3060. Rooted = false
  3061. FADERS = true
  3062. end
  3063. end
  3064.  
  3065. function Neck_Snap()
  3066. ATTACK = true
  3067. Rooted = false
  3068. local TARGET, HUM, WLD
  3069. local HIT = RightArm.Touched:Connect(function(hit)
  3070. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  3071. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  3072. if H.Health > 0 then
  3073. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  3074. if TORSO then
  3075. HUM = H
  3076. TARGET = TORSO
  3077. H.PlatformStand = true
  3078. CreateSound("260411131", TORSO, 10, 1)
  3079. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  3080. end
  3081. end
  3082. end
  3083. end)
  3084. for i = 0, 1, 0.1 / Animation_Speed do
  3085. Swait()
  3086. if TARGET ~= nil then
  3087. break
  3088. end
  3089. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  3090. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  3091. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3092. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3093. if ANIM == "Idle" then
  3094. 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.5 / Animation_Speed)
  3095. 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.5 / Animation_Speed)
  3096. elseif ANIM == "Walk" then
  3097. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3098. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3099. elseif ANIM == "Jump" or ANIM == "Fall" then
  3100. 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)
  3101. 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)
  3102. end
  3103. end
  3104. HIT:disconnect()
  3105. if TARGET ~= nil then
  3106. if TARGET.Name == "Torso" then
  3107. for i = 0, 2, 0.1 / Animation_Speed do
  3108. Swait()
  3109. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3113. if ANIM == "Idle" then
  3114. 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.5 / Animation_Speed)
  3115. 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.5 / Animation_Speed)
  3116. elseif ANIM == "Walk" then
  3117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3119. elseif ANIM == "Jump" or ANIM == "Fall" then
  3120. 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)
  3121. 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)
  3122. end
  3123. end
  3124. WLD:remove()
  3125. local HEAD = TARGET.Parent:FindFirstChild("Head")
  3126. if HEAD then
  3127. UNANCHOR = false
  3128. RootPart.Anchored = true
  3129. local HD = HEAD:Clone()
  3130. HD.Name = "FakeHead"
  3131. for i = 1, 7 do
  3132. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  3133. end
  3134. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  3135. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  3136. HD.Parent = RAGDOLL
  3137. CreateSound("264486467", RAGTORSO, 10, 1)
  3138. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  3139. for i = 0, 2, 0.1 / Animation_Speed do
  3140. Swait()
  3141. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3142. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3143. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3144. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3145. if ANIM == "Idle" then
  3146. 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.5 / Animation_Speed)
  3147. 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.5 / Animation_Speed)
  3148. elseif ANIM == "Walk" then
  3149. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3150. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3151. elseif ANIM == "Jump" or ANIM == "Fall" then
  3152. 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)
  3153. 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)
  3154. end
  3155. end
  3156. HEADWELD:remove()
  3157. for i = 0, 0.5, 0.1 / Animation_Speed do
  3158. Swait()
  3159. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3160. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3163. if ANIM == "Idle" then
  3164. 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.5 / Animation_Speed)
  3165. 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.5 / Animation_Speed)
  3166. elseif ANIM == "Walk" then
  3167. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3168. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3169. elseif ANIM == "Jump" or ANIM == "Fall" then
  3170. 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)
  3171. 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)
  3172. end
  3173. end
  3174. CreateSound("907333406", Torso, 10, 1)
  3175. for i = 0, 0.25, 0.1 / Animation_Speed do
  3176. Swait()
  3177. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3178. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3181. if ANIM == "Idle" then
  3182. 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.5 / Animation_Speed)
  3183. 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.5 / Animation_Speed)
  3184. elseif ANIM == "Walk" then
  3185. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3186. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3187. elseif ANIM == "Jump" or ANIM == "Fall" then
  3188. 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)
  3189. 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)
  3190. end
  3191. end
  3192. RAGWELD:remove()
  3193. local bv = Instance.new("BodyVelocity")
  3194. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3195. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  3196. bv.Parent = RAGTORSO
  3197. Debris:AddItem(bv, 0.05)
  3198. Debris:AddItem(RAGDOLL, 5)
  3199. for i = 0, 0.15, 0.1 / Animation_Speed do
  3200. Swait()
  3201. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3205. if ANIM == "Idle" then
  3206. 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.5 / Animation_Speed)
  3207. 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.5 / Animation_Speed)
  3208. elseif ANIM == "Walk" then
  3209. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3210. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3211. elseif ANIM == "Jump" or ANIM == "Fall" then
  3212. 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)
  3213. 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)
  3214. end
  3215. end
  3216. UNANCHOR = true
  3217. RootPart.Anchored = false
  3218. end
  3219. else
  3220. UNANCHOR = false
  3221. RootPart.Anchored = true
  3222. for i = 0, 0.5, 0.1 / Animation_Speed do
  3223. Swait()
  3224. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3228. if ANIM == "Idle" then
  3229. 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.5 / Animation_Speed)
  3230. 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.5 / Animation_Speed)
  3231. elseif ANIM == "Walk" then
  3232. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3233. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3234. elseif ANIM == "Jump" or ANIM == "Fall" then
  3235. 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)
  3236. 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)
  3237. end
  3238. end
  3239. for i = 0, 0.25, 0.1 / Animation_Speed do
  3240. Swait()
  3241. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3242. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3245. if ANIM == "Idle" then
  3246. 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.5 / Animation_Speed)
  3247. 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.5 / Animation_Speed)
  3248. elseif ANIM == "Walk" then
  3249. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3250. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3251. elseif ANIM == "Jump" or ANIM == "Fall" then
  3252. 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)
  3253. 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)
  3254. end
  3255. end
  3256. WLD:remove()
  3257. TARGET.Parent:BreakJoints()
  3258. for _, c in pairs(TARGET.Parent:GetChildren()) do
  3259. if c:IsA("BasePart") then
  3260. local bv = Instance.new("BodyVelocity")
  3261. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3262. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  3263. bv.Parent = c
  3264. Debris:AddItem(bv, 0.05)
  3265. end
  3266. end
  3267. for i = 0, 0.15, 0.1 / Animation_Speed do
  3268. Swait()
  3269. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3273. if ANIM == "Idle" then
  3274. 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.5 / Animation_Speed)
  3275. 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.5 / Animation_Speed)
  3276. elseif ANIM == "Walk" then
  3277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3279. elseif ANIM == "Jump" or ANIM == "Fall" then
  3280. 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)
  3281. 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)
  3282. end
  3283. end
  3284. UNANCHOR = true
  3285. RootPart.Anchored = false
  3286. end
  3287. end
  3288. ATTACK = false
  3289. Rooted = false
  3290. end
  3291.  
  3292. function Banisher_Bullet()
  3293. ATTACK = true
  3294. Rooted = false
  3295. for i=0, 0.4, 0.1 / Animation_Speed do
  3296. Swait()
  3297. turnto(Mouse.Hit.p)
  3298. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3299. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3302. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3303. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3304. end
  3305. repeat
  3306. for i=0, 0.2, 0.1 / Animation_Speed do
  3307. Swait()
  3308. turnto(Mouse.Hit.p)
  3309. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3310. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3313. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3314. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3315. end
  3316. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  3317. SpawnTrail(Hole2.Position,POS)
  3318. if HIT ~= nil then
  3319. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3320. Banish(HIT.Parent)
  3321. end
  3322. end
  3323. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3324. SpawnTrail(Hole.Position,POS)
  3325. if HIT ~= nil then
  3326. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3327. Banish(HIT.Parent)
  3328. end
  3329. end
  3330. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3331. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3332. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3333. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3334. for i=0, 0.3, 0.1 / Animation_Speed do
  3335. Swait()
  3336. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3337. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3342. end
  3343. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3344. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3345. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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,1,0), SoundID = nil, 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,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3347. until KEYHOLD == false
  3348. ATTACK = false
  3349. Rooted = false
  3350. end
  3351.  
  3352. function AttackTemplate()
  3353. ATTACK = true
  3354. Rooted = false
  3355. for i=0, 1, 0.1 / Animation_Speed do
  3356. Swait()
  3357. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3358. 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)
  3359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3361. 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)
  3362. 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)
  3363. end
  3364. ATTACK = false
  3365. Rooted = false
  3366. end
  3367.  
  3368. --//=================================\\
  3369. --|| ASSIGN THINGS TO KEYS
  3370. --\\=================================//
  3371.  
  3372. function MouseDown(Mouse)
  3373. if ATTACK == false then
  3374. end
  3375. end
  3376.  
  3377. function MouseUp(Mouse)
  3378. HOLD = false
  3379. end
  3380.  
  3381. function KeyDown(Key)
  3382. KEYHOLD = true
  3383. if Key == "z" and ATTACK == false then
  3384. Banisher_Bullet()
  3385. end
  3386.  
  3387. if Key == "b" and ATTACK == false then
  3388. Neck_Snap()
  3389. end
  3390.  
  3391. if Key == "c" and ATTACK == false then
  3392. ShadowCloak()
  3393. end
  3394.  
  3395. if Key == "v" and ATTACK == false then
  3396. end
  3397.  
  3398. if Key == "x" and ATTACK == false then
  3399. end
  3400. end
  3401.  
  3402. function KeyUp(Key)
  3403. KEYHOLD = false
  3404. end
  3405.  
  3406. Mouse.Button1Down:connect(function(NEWKEY)
  3407. MouseDown(NEWKEY)
  3408. end)
  3409. Mouse.Button1Up:connect(function(NEWKEY)
  3410. MouseUp(NEWKEY)
  3411. end)
  3412. Mouse.KeyDown:connect(function(NEWKEY)
  3413. KeyDown(NEWKEY)
  3414. end)
  3415. Mouse.KeyUp:connect(function(NEWKEY)
  3416. KeyUp(NEWKEY)
  3417. end)
  3418.  
  3419. --//=================================\\
  3420. --\\=================================//
  3421.  
  3422.  
  3423. function unanchor()
  3424. if UNANCHOR == true then
  3425. g = Character:GetChildren()
  3426. for i = 1, #g do
  3427. if g[i].ClassName == "Part" then
  3428. g[i].Anchored = false
  3429. end
  3430. end
  3431. end
  3432. end
  3433.  
  3434.  
  3435. --//=================================\\
  3436. --|| WRAP THE WHOLE SCRIPT UP
  3437. --\\=================================//
  3438.  
  3439. Humanoid.Changed:connect(function(Jump)
  3440. if Jump == "Jump" and (Disable_Jump == true) then
  3441. Humanoid.Jump = false
  3442. end
  3443. end)
  3444.  
  3445. local CONNECT = nil
  3446.  
  3447. while true do
  3448. Swait()
  3449. ANIMATE.Parent = nil
  3450. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3451. Humanoid = IT("Humanoid",Character)
  3452. end
  3453. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3454. v:Stop();
  3455. end
  3456. SINE = SINE + CHANGE
  3457. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3458. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3459. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3460. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3461. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3462. 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)
  3463. 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)
  3464. 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)
  3465. 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)
  3466. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3467. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3468. 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)
  3469. 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)
  3470. 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)
  3471. end
  3472. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3473. ANIM = "Jump"
  3474. if ATTACK == false then
  3475. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3476. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3478. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3479. 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)
  3480. 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)
  3481. end
  3482. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3483. ANIM = "Fall"
  3484. if ATTACK == false then
  3485. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3486. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3487. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3488. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3489. 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)
  3490. 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)
  3491. end
  3492. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3493. ANIM = "Idle"
  3494. if ATTACK == false then
  3495. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3496. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3497. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3498. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3499. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3500. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3501. end
  3502. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3503. ANIM = "Walk"
  3504. if ATTACK == false then
  3505. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  3506. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3509. 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)
  3510. 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)
  3511. end
  3512. end
  3513. unanchor()
  3514. Humanoid.MaxHealth = "inf"
  3515. Humanoid.Health = "inf"
  3516. if Rooted == false then
  3517. Disable_Jump = false
  3518. Humanoid.WalkSpeed = Speed
  3519. elseif Rooted == true then
  3520. Disable_Jump = true
  3521. Humanoid.WalkSpeed = 0
  3522. end
  3523. sick.Parent = Torso
  3524. sick:resume()
  3525. sick.Volume = 5
  3526. sick.Pitch = 1
  3527. sick.SoundId = "rbxassetid://933032912"
  3528. sick.Name = "BanishV3Music"
  3529. end
  3530.  
  3531. --//=================================\\
  3532. --\\=================================//
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538. --//====================================================\\--
  3539. --|| END OF SCRIPT
  3540. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement