Advertisement
saba1517

idk

Jun 29th, 2018
559
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.04 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  5. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  6. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  7. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  8. local dmg = math.random(min,max)
  9. if humanoid.Health > 0 then
  10. if beserk == true then
  11. humanoid.Health = 0
  12. else
  13. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  14. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  15. if math.random(1,100) < critrate+ 1 then
  16. humanoid.Health = humanoid.Health - dmg*critmultiplier
  17. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  18. else
  19. humanoid.Health = humanoid.Health - dmg
  20. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  21. end
  22. local defence = Instance.new("BoolValue",hit.Parent)
  23. defence.Name = ("HitBy"..Player.Name)
  24. game:GetService("Debris"):AddItem(defence, 0.5)
  25. end
  26. end
  27. end
  28. end
  29. function turnto(position)
  30. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  31. end
  32. local LAUGHS = {834001699,834001752,834001797,834001828}
  33. Player = game:GetService("Players").LocalPlayer
  34. PlayerGui = Player.PlayerGui
  35. Cam = workspace.CurrentCamera
  36. Backpack = Player.Backpack
  37. Character = Player.Character
  38. Humanoid = Character.Humanoid
  39. Humanoid.Name = "Hi :):"
  40. Mouse = Player:GetMouse()
  41. RootPart = Character["HumanoidRootPart"]
  42. Torso = Character["Torso"]
  43. Head = Character["Head"]
  44. RightArm = Character["Right Arm"]
  45. LeftArm = Character["Left Arm"]
  46. RightLeg = Character["Right Leg"]
  47. LeftLeg = Character["Left Leg"]
  48. RootJoint = RootPart["RootJoint"]
  49. Neck = Torso["Neck"]
  50. RightShoulder = Torso["Right Shoulder"]
  51. LeftShoulder = Torso["Left Shoulder"]
  52. RightHip = Torso["Right Hip"]
  53. LeftHip = Torso["Left Hip"]
  54. local sick = Instance.new("Sound",Character)
  55. sick.SoundId = "rbxassetid://1140435341"
  56. sick.Looped = true
  57. sick.Pitch = 1
  58. sick.Volume = 50
  59. sick:Play()
  60.  
  61.  
  62. IT = Instance.new
  63. CF = CFrame.new
  64. VT = Vector3.new
  65. RAD = math.rad
  66. C3 = Color3.new
  67. UD2 = UDim2.new
  68. BRICKC = BrickColor.new
  69. ANGLES = CFrame.Angles
  70. EULER = CFrame.fromEulerAnglesXYZ
  71. COS = math.cos
  72. ACOS = math.acos
  73. SIN = math.sin
  74. ASIN = math.asin
  75. ABS = math.abs
  76. MRANDOM = math.random
  77. FLOOR = math.floor
  78.  
  79. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  80. local NEWMESH = IT(MESH)
  81. if MESH == "SpecialMesh" then
  82. NEWMESH.MeshType = MESHTYPE
  83. if MESHID ~= "nil" and MESHID ~= "" then
  84. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  85. end
  86. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  87. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  88. end
  89. end
  90. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  91. NEWMESH.Scale = SCALE
  92. NEWMESH.Parent = PARENT
  93. return NEWMESH
  94. end
  95.  
  96. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  97. local NEWPART = IT("Part")
  98. NEWPART.formFactor = FORMFACTOR
  99. NEWPART.Reflectance = REFLECTANCE
  100. NEWPART.Transparency = TRANSPARENCY
  101. NEWPART.CanCollide = false
  102. NEWPART.Locked = true
  103. NEWPART.Anchored = true
  104. if ANCHOR == false then
  105. NEWPART.Anchored = false
  106. end
  107. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  108. NEWPART.Name = NAME
  109. NEWPART.Size = SIZE
  110. NEWPART.Position = Torso.Position
  111. NEWPART.Material = MATERIAL
  112. NEWPART:BreakJoints()
  113. NEWPART.Parent = PARENT
  114. return NEWPART
  115. end
  116.  
  117.  
  118. --//=================================\\
  119. --|| CUSTOMIZATION
  120. --\\=================================//
  121.  
  122. Player_Size = 1 --Size of the player.
  123. Animation_Speed = 3
  124. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  125.  
  126. local Speed = 16
  127. local Effects2 = {}
  128.  
  129. --//=================================\\
  130. --|| END OF CUSTOMIZATION
  131. --\\=================================//
  132.  
  133. local function weldBetween(a, b)
  134. local weldd = Instance.new("ManualWeld")
  135. weldd.Part0 = a
  136. weldd.Part1 = b
  137. weldd.C0 = CFrame.new()
  138. weldd.C1 = b.CFrame:inverse() * a.CFrame
  139. weldd.Parent = a
  140. return weldd
  141. end
  142.  
  143. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  144. local acs = Instance.new("Part")
  145. acs.CanCollide = false
  146. acs.Anchored = false
  147. acs.Size = Vector3.new(0,0,0)
  148. acs.CFrame = attachmentpart.CFrame
  149. acs.Parent = Character
  150. acs.BrickColor = color
  151. local meshs = Instance.new("SpecialMesh")
  152. meshs.MeshId = mesh
  153. meshs.TextureId = texture
  154. meshs.Parent = acs
  155. meshs.Scale = scale
  156. meshs.Offset = offset
  157. weldBetween(attachmentpart,acs)
  158. end
  159.  
  160. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  161. if TYPE == "Gem" then
  162. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  163. acs.Anchored = false
  164. acs.CanCollide = false
  165. acs.CFrame = PART.CFrame
  166. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  167. weldBetween(PART,acs)
  168. elseif TYPE == "Skull" then
  169. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  170. acs.Anchored = false
  171. acs.CanCollide = false
  172. acs.CFrame = PART.CFrame
  173. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  174. weldBetween(PART,acs)
  175. elseif TYPE == "Eye" then
  176. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  177. acs.Anchored = false
  178. acs.CanCollide = false
  179. acs.CFrame = PART.CFrame
  180. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  181. weldBetween(PART,acs)
  182. end
  183. end
  184.  
  185. --//=================================\\
  186. --|| USEFUL VALUES
  187. --\\=================================//
  188.  
  189. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  191. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  192. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  193. local CHANGEDEFENSE = 0
  194. local CHANGEDAMAGE = 0
  195. local CHANGEMOVEMENT = 0
  196. local ANIM = "Idle"
  197. local ATTACK = false
  198. local EQUIPPED = false
  199. local HOLD = false
  200. local COMBO = 1
  201. local Rooted = false
  202. local SINE = 0
  203. local KEYHOLD = false
  204. local CHANGE = 2 / Animation_Speed
  205. local WALKINGANIM = false
  206. local WALK = 0
  207. local VALUE1 = false
  208. local VALUE2 = false
  209.  
  210. local ROBLOXIDLEANIMATION = IT("Animation")
  211. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  212. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  213. --ROBLOXIDLEANIMATION.Parent = Humanoid
  214. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  215. WEAPONGUI.Name = "Weapon GUI"
  216. local Weapon = IT("Model")
  217. Weapon.Name = "Adds"
  218. local Effects = IT("Folder", Weapon)
  219. Effects.Name = "Effects"
  220. local ANIMATOR = Humanoid.Animator
  221. local ANIMATE = Character.Animate
  222. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  223. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  224. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  225. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  226. local UNANCHOR = true
  227.  
  228. local SKILLTEXTCOLOR = C3(0,0,0)
  229. local CHOSENBRICK = "Royal purple"
  230.  
  231. --//=================================\\
  232. --\\=================================//
  233.  
  234. local slashsound3 = Instance.new("Sound", hed)
  235. slashsound3.SoundId = "rbxassetid://1535995263"
  236. slashsound3.Volume = 100000
  237.  
  238. --//=================================\\
  239. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  240. --\\=================================//
  241.  
  242. ArtificialHB = Instance.new("BindableEvent", script)
  243. ArtificialHB.Name = "ArtificialHB"
  244.  
  245. script:WaitForChild("ArtificialHB")
  246.  
  247. frame = Frame_Speed
  248. tf = 0
  249. allowframeloss = false
  250. tossremainder = false
  251. lastframe = tick()
  252. script.ArtificialHB:Fire()
  253.  
  254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  255. tf = tf + s
  256. if tf >= frame then
  257. if allowframeloss then
  258. script.ArtificialHB:Fire()
  259. lastframe = tick()
  260. else
  261. for i = 1, math.floor(tf / frame) do
  262. script.ArtificialHB:Fire()
  263. end
  264. lastframe = tick()
  265. end
  266. if tossremainder then
  267. tf = 0
  268. else
  269. tf = tf - frame * math.floor(tf / frame)
  270. end
  271. end
  272. end)
  273.  
  274. --//=================================\\
  275. --\\=================================//
  276.  
  277.  
  278.  
  279.  
  280.  
  281. --//=================================\\
  282. --|| SOME FUNCTIONS
  283. --\\=================================//
  284.  
  285. function ScrewThis()
  286. ATTACK = true
  287. Rooted = true
  288. local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Part", VT(2, 0.4, 0.4)/2,false)
  289. SCREW.CanCollide = true
  290. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  291. CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
  292. for i=0, 0.4, 0.1 / Animation_Speed do
  293. Swait()
  294. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  296. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  298. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  300. end
  301. SCREW.Transparency = 0
  302. for i=0, 0.1, 0.1 / Animation_Speed do
  303. Swait()
  304. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  310. end
  311. for i=0, 1, 0.1 / Animation_Speed do
  312. Swait()
  313. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  314. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  315. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  316. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  317. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  319. end
  320. for i = 1, 3 do
  321. for i=0, 0.3, 0.1 / Animation_Speed do
  322. Swait()
  323. WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
  324. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  325. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  326. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  327. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  328. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  329. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  330. end
  331. for i=0, 1, 0.1 / Animation_Speed do
  332. Swait()
  333. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  334. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  337. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  338. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  339. end
  340. end
  341. if MRANDOM(1, 5) == 1 then
  342. WELD:remove()
  343. CreateSound(328460122, RightArm, 3, 1, false)
  344. SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
  345. Debris:AddItem(SCREW,6)
  346. for i=0, 3, 0.1 / Animation_Speed do
  347. Swait()
  348. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  349. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  350. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  351. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  352. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  353. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  354. end
  355. for i = 1, 3 do
  356. for i=0, 0.35, 0.1 / Animation_Speed do
  357. Swait()
  358. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  361. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  362. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  364. end
  365. for i=0, 0.35, 0.1 / Animation_Speed do
  366. Swait()
  367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  371. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  373. end
  374. end
  375. else
  376. for i=0, 0.5, 0.1 / Animation_Speed do
  377. Swait()
  378. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  379. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  380. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  381. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  382. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  383. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  384. end
  385. WELD:remove()
  386. for i=0, 0.15, 0.1 / Animation_Speed do
  387. Swait()
  388. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  394. end
  395. Debris:AddItem(SCREW,6)
  396. end
  397. ATTACK = false
  398. Rooted = false
  399. end
  400.  
  401. function DeathAgreement()
  402. ATTACK = true
  403. Rooted = false
  404. local SPEED = Speed
  405. Speed = 10
  406. CreateSound("357202141", RightArm, 10, 1.1)
  407. for i=0, 0, 0.1 / Animation_Speed do
  408. Swait()
  409. turnto(Mouse.Hit.p)
  410. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
  411. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
  412. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  413. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  414. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  415. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  416. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  417. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  418. end
  419. for i=0, 0.15, 0.1 / Animation_Speed do
  420. Swait()
  421. turnto(Mouse.Hit.p)
  422. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  423. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  424. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  425. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  426. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  427. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  428. end
  429. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really red", "Punch", VT(50,50,50),false)
  430. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  431. PART.Shape = "Ball"
  432. local bv = Instance.new("BodyVelocity")
  433. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  434. bv.velocity = RootPart.CFrame.lookVector*600
  435. bv.Parent = PART
  436. bv.Name = "PROJECTILEVELOCITY"
  437. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2.5,0.2,2.5))
  438. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(3,0.2,3))
  439. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really red",VT(2,0.6,2))
  440. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(2.2,0.6,2.2))
  441. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  442. coroutine.resume(coroutine.create(function()
  443. for i = 1, 10 do
  444. Swait()
  445. PART.Transparency = PART.Transparency + 0.2/10
  446. PART.Size = PART.Size + VT(5,5,5)
  447. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  448. end
  449. PART:Destroy()
  450. end))
  451. for i=0, 1, 0.1 / Animation_Speed do
  452. Swait()
  453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  457. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  459. end
  460. Speed = SPEED
  461. ATTACK = false
  462. Rooted = false
  463. end
  464.  
  465. function GreenUltimate()
  466. ATTACK = true
  467. Rooted = true
  468. CreateSound("358080470", RightArm, 10, 0.8)
  469. for i=0, 8, 0.1 / Animation_Speed do
  470. Swait()
  471. turnto(Mouse.Hit.p)
  472. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Really red",VT(0.2,0,0.2))
  473. Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1.1)
  474. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"New Yeller",VT(0.001,0.001,1),0)
  475. MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Lime green",VT(0.001,0.001,2),0)
  476. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-1/15,-1/15,-1/15))
  477. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15))
  478. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  479. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  482. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  483. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  484. end
  485. for i=0, 0.15, 0.1 / Animation_Speed do
  486. Swait()
  487. turnto(Mouse.Hit.p)
  488. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  489. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  490. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  491. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  492. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  493. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  494. end
  495. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Really red",VT(-0.04,-0.04,-0.04))
  496. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  497. coroutine.resume(coroutine.create(function()
  498. Swait(100)
  499. for i = 1, 5 do
  500. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Really red",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  501. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4.5*i,0.2,4.5*i))
  502. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5*i,0.2,5*i))
  503. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(4*i,0.6,4*i))
  504. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(5.2*i,0.6,5.2*i))
  505. end
  506. killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
  507. for i = 1, 5 do
  508. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  509. CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10)
  510. end
  511. coroutine.resume(coroutine.create(function()
  512. for i = 1, 50 do
  513. Swait()
  514. for i = 1, 1 do
  515. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  516. end
  517. for i = 1, 2 do
  518. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/3)
  519. end
  520. end
  521. end))
  522. end))
  523. for i=0, 4, 0.1 / Animation_Speed do
  524. Swait()
  525. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  529. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  530. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  531. end
  532. ATTACK = false
  533. Rooted = false
  534. end
  535.  
  536. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  537. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  538. end
  539.  
  540. function PositiveAngle(NUMBER)
  541. if NUMBER >= 0 then
  542. NUMBER = 0
  543. end
  544. return NUMBER
  545. end
  546.  
  547. function NegativeAngle(NUMBER)
  548. if NUMBER <= 0 then
  549. NUMBER = 0
  550. end
  551. return NUMBER
  552. end
  553.  
  554. function Swait(NUMBER)
  555. if NUMBER == 0 or NUMBER == nil then
  556. ArtificialHB.Event:wait()
  557. else
  558. for i = 1, NUMBER do
  559. ArtificialHB.Event:wait()
  560. end
  561. end
  562. end
  563.  
  564. function QuaternionFromCFrame(cf)
  565. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  566. local trace = m00 + m11 + m22
  567. if trace > 0 then
  568. local s = math.sqrt(1 + trace)
  569. local recip = 0.5 / s
  570. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  571. else
  572. local i = 0
  573. if m11 > m00 then
  574. i = 1
  575. end
  576. if m22 > (i == 0 and m00 or m11) then
  577. i = 2
  578. end
  579. if i == 0 then
  580. local s = math.sqrt(m00 - m11 - m22 + 1)
  581. local recip = 0.5 / s
  582. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  583. elseif i == 1 then
  584. local s = math.sqrt(m11 - m22 - m00 + 1)
  585. local recip = 0.5 / s
  586. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  587. elseif i == 2 then
  588. local s = math.sqrt(m22 - m00 - m11 + 1)
  589. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  590. end
  591. end
  592. end
  593.  
  594. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  595. local xs, ys, zs = x + x, y + y, z + z
  596. local wx, wy, wz = w * xs, w * ys, w * zs
  597. local xx = x * xs
  598. local xy = x * ys
  599. local xz = x * zs
  600. local yy = y * ys
  601. local yz = y * zs
  602. local zz = z * zs
  603. 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))
  604. end
  605.  
  606. function QuaternionSlerp(a, b, t)
  607. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  608. local startInterp, finishInterp;
  609. if cosTheta >= 0.0001 then
  610. if (1 - cosTheta) > 0.0001 then
  611. local theta = ACOS(cosTheta)
  612. local invSinTheta = 1 / SIN(theta)
  613. startInterp = SIN((1 - t) * theta) * invSinTheta
  614. finishInterp = SIN(t * theta) * invSinTheta
  615. else
  616. startInterp = 1 - t
  617. finishInterp = t
  618. end
  619. else
  620. if (1 + cosTheta) > 0.0001 then
  621. local theta = ACOS(-cosTheta)
  622. local invSinTheta = 1 / SIN(theta)
  623. startInterp = SIN((t - 1) * theta) * invSinTheta
  624. finishInterp = SIN(t * theta) * invSinTheta
  625. else
  626. startInterp = t - 1
  627. finishInterp = t
  628. end
  629. end
  630. 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
  631. end
  632.  
  633. function Clerp(a, b, t)
  634. local qa = {QuaternionFromCFrame(a)}
  635. local qb = {QuaternionFromCFrame(b)}
  636. local ax, ay, az = a.x, a.y, a.z
  637. local bx, by, bz = b.x, b.y, b.z
  638. local _t = 1 - t
  639. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  640. end
  641.  
  642. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  643. local frame = IT("Frame")
  644. frame.BackgroundTransparency = TRANSPARENCY
  645. frame.BorderSizePixel = BORDERSIZEPIXEL
  646. frame.Position = POSITION
  647. frame.Size = SIZE
  648. frame.BackgroundColor3 = COLOR
  649. frame.BorderColor3 = BORDERCOLOR
  650. frame.Name = NAME
  651. frame.Parent = PARENT
  652. return frame
  653. end
  654.  
  655. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  656. local label = IT("TextLabel")
  657. label.BackgroundTransparency = 1
  658. label.Size = UD2(1, 0, 1, 0)
  659. label.Position = UD2(0, 0, 0, 0)
  660. label.TextColor3 = TEXTCOLOR
  661. label.TextStrokeTransparency = STROKETRANSPARENCY
  662. label.TextTransparency = TRANSPARENCY
  663. label.FontSize = TEXTFONTSIZE
  664. label.Font = TEXTFONT
  665. label.BorderSizePixel = BORDERSIZEPIXEL
  666. label.TextScaled = false
  667. label.Text = TEXT
  668. label.Name = NAME
  669. label.Parent = PARENT
  670. return label
  671. end
  672.  
  673. function NoOutlines(PART)
  674. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  675. end
  676.  
  677.  
  678. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  679. local NEWWELD = IT(TYPE)
  680. NEWWELD.Part0 = PART0
  681. NEWWELD.Part1 = PART1
  682. NEWWELD.C0 = C0
  683. NEWWELD.C1 = C1
  684. NEWWELD.Parent = PARENT
  685. return NEWWELD
  686. end
  687.  
  688.  
  689. function CreateSound(ID, PARENT, VOLUME, PITCH)
  690. local NEWSOUND = nil
  691. coroutine.resume(coroutine.create(function()
  692. NEWSOUND = IT("Sound", PARENT)
  693. NEWSOUND.Volume = VOLUME
  694. NEWSOUND.Pitch = PITCH
  695. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  696. Swait()
  697. NEWSOUND:play()
  698. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  699. end))
  700. return NEWSOUND
  701. end
  702.  
  703. function CFrameFromTopBack(at, top, back)
  704. local right = top:Cross(back)
  705. 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)
  706. end
  707.  
  708. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  709. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  710. local mesh = IT("SpecialMesh",wave)
  711. mesh.MeshType = "FileMesh"
  712. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  713. mesh.Scale = SIZE
  714. mesh.Offset = VT(0,0,-SIZE.X/8)
  715. wave.CFrame = CFRAME
  716. coroutine.resume(coroutine.create(function(PART)
  717. for i = 1, WAIT do
  718. Swait()
  719. mesh.Scale = mesh.Scale + GROW
  720. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  721. if DOESROT == true then
  722. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  723. end
  724. wave.Transparency = wave.Transparency + (0.5/WAIT)
  725. if wave.Transparency > 0.99 then
  726. wave:remove()
  727. end
  728. end
  729. end))
  730. end
  731.  
  732. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  733. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  734. local mesh = IT("SpecialMesh",wave)
  735. mesh.MeshType = "FileMesh"
  736. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  737. mesh.Scale = SIZE
  738. mesh.Offset = VT(0,0,-SIZE.X/8)
  739. wave.CFrame = CFRAME
  740. coroutine.resume(coroutine.create(function(PART)
  741. for i = 1, WAIT do
  742. Swait()
  743. mesh.Scale = mesh.Scale + GROW
  744. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  745. if DOESROT == true then
  746. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  747. end
  748. wave.Transparency = wave.Transparency + (0.5/WAIT)
  749. if wave.Transparency > 0.99 then
  750. wave:remove()
  751. end
  752. end
  753. end))
  754. end
  755.  
  756. function clerp(a, b, t)
  757. return a:lerp(b, t)
  758. end
  759.  
  760. function newBezier(startpos, pos2, pos3, endpos, t)
  761. local A = clerp(startpos, pos2, t)
  762. local B = clerp(pos2, pos3, t)
  763. local C = clerp(pos3, endpos, t)
  764. local lerp1 = clerp(A, B, t)
  765. local lerp2 = clerp(B, C, t)
  766. local cubic = clerp(lerp1, lerp2, t)
  767. return cubic
  768. end
  769.  
  770. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  771. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  772. local mesh = IT("SpecialMesh",wave)
  773. mesh.MeshType = "FileMesh"
  774. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  775. mesh.Scale = SIZE
  776. mesh.Offset = VT(0,0,-SIZE.X/8)
  777. wave.CFrame = CFRAME
  778. coroutine.resume(coroutine.create(function(PART)
  779. for i = 1, WAIT do
  780. Swait()
  781. mesh.Scale = mesh.Scale + GROW
  782. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  783. if DOESROT == true then
  784. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  785. end
  786. wave.Transparency = wave.Transparency + (0.5/WAIT)
  787. if wave.Transparency > 0.99 then
  788. wave:remove()
  789. end
  790. end
  791. end))
  792. end
  793.  
  794. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  795. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  796. local mesh = IT("SpecialMesh",wave)
  797. mesh.MeshType = "FileMesh"
  798. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  799. mesh.Scale = SIZE
  800. mesh.Offset = VT(0,0,-SIZE.X/8)
  801. wave.CFrame = CFRAME
  802. coroutine.resume(coroutine.create(function(PART)
  803. for i = 1, WAIT do
  804. Swait()
  805. mesh.Scale = mesh.Scale + GROW
  806. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  807. if DOESROT == true then
  808. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  809. end
  810. wave.Transparency = wave.Transparency + (0.5/WAIT)
  811. if wave.Transparency > 0.99 then
  812. wave:remove()
  813. end
  814. end
  815. end))
  816. end
  817.  
  818. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  819. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  820. local mesh = IT("SpecialMesh",wave)
  821. mesh.MeshType = "FileMesh"
  822. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  823. mesh.Scale = SIZE
  824. wave.CFrame = CFRAME
  825. coroutine.resume(coroutine.create(function(PART)
  826. for i = 1, WAIT do
  827. Swait()
  828. mesh.Scale = mesh.Scale + GROW
  829. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  830. if DOESROT == true then
  831. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  832. end
  833. wave.Transparency = wave.Transparency + (0.5/WAIT)
  834. if wave.Transparency > 0.99 then
  835. wave:remove()
  836. end
  837. end
  838. end))
  839. end
  840.  
  841. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  842. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  843. local mesh = IT("SpecialMesh",wave)
  844. mesh.MeshType = "FileMesh"
  845. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  846. mesh.Scale = SIZE
  847. wave.CFrame = CFRAME
  848. coroutine.resume(coroutine.create(function(PART)
  849. for i = 1, WAIT do
  850. Swait()
  851. mesh.Scale = mesh.Scale + GROW
  852. if DOESROT == true then
  853. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  854. end
  855. wave.Transparency = wave.Transparency + (0.5/WAIT)
  856. if wave.Transparency > 0.99 then
  857. wave:remove()
  858. end
  859. end
  860. end))
  861. end
  862.  
  863. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  864. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  865. local mesh = IT("SpecialMesh",wave)
  866. mesh.MeshType = "FileMesh"
  867. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  868. mesh.Scale = SIZE
  869. mesh.Offset = VT(0,0,0)
  870. wave.CFrame = CFRAME
  871. coroutine.resume(coroutine.create(function(PART)
  872. for i = 1, WAIT do
  873. Swait()
  874. mesh.Scale = mesh.Scale + GROW
  875. if DOESROT == true then
  876. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  877. end
  878. wave.Transparency = wave.Transparency + (0.5/WAIT)
  879. if wave.Transparency > 0.99 then
  880. wave:remove()
  881. end
  882. end
  883. end))
  884. end
  885.  
  886. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  887. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  888. local mesh = IT("SpecialMesh",wave)
  889. mesh.MeshType = "Sphere"
  890. mesh.Scale = SIZE
  891. mesh.Offset = VT(0,0,0)
  892. wave.CFrame = CFRAME
  893. coroutine.resume(coroutine.create(function(PART)
  894. for i = 1, WAIT do
  895. Swait()
  896. mesh.Scale = mesh.Scale + GROW
  897. wave.Transparency = wave.Transparency + (1/WAIT)
  898. if wave.Transparency > 0.99 then
  899. wave:remove()
  900. end
  901. end
  902. end))
  903. end
  904.  
  905. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  906. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  907. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  908. wave.CFrame = CFRAME
  909. coroutine.resume(coroutine.create(function(PART)
  910. for i = 1, WAIT do
  911. Swait()
  912. mesh.Scale = mesh.Scale * GROW
  913. wave.Transparency = wave.Transparency + (0.5/WAIT)
  914. if wave.Transparency > 0.99 then
  915. wave:remove()
  916. end
  917. end
  918. end))
  919. end
  920.  
  921. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  922. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  923. local mesh = IT("BlockMesh",wave)
  924. wave.CFrame = CFRAME
  925. coroutine.resume(coroutine.create(function(PART)
  926. for i = 1, WAIT do
  927. Swait()
  928. mesh.Scale = mesh.Scale + GROW
  929. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  930. wave.Transparency = wave.Transparency + (1/WAIT)
  931. if wave.Transparency > 0.99 then
  932. wave:remove()
  933. end
  934. end
  935. end))
  936. end
  937.  
  938. function MakeForm(PART,TYPE)
  939. if TYPE == "Cyl" then
  940. local MSH = IT("CylinderMesh",PART)
  941. elseif TYPE == "Ball" then
  942. local MSH = IT("SpecialMesh",PART)
  943. MSH.MeshType = "Sphere"
  944. elseif TYPE == "Wedge" then
  945. local MSH = IT("SpecialMesh",PART)
  946. MSH.MeshType = "Wedge"
  947. end
  948. end
  949.  
  950. function CheckTableForString(Table, String)
  951. for i, v in pairs(Table) do
  952. if string.find(string.lower(String), string.lower(v)) then
  953. return true
  954. end
  955. end
  956. return false
  957. end
  958.  
  959. function CheckIntangible(Hit)
  960. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  961. if Hit and Hit.Parent then
  962. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  963. return true
  964. end
  965. end
  966. return false
  967. end
  968.  
  969. Debris = game:GetService("Debris")
  970.  
  971. function SpawnTrail(FROM,TO,BIG)
  972. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
  973. MakeForm(TRAIL,"Cyl")
  974. local DIST = (FROM - TO).Magnitude
  975. if BIG == true then
  976. TRAIL.Size = VT(0.5,DIST,0.5)
  977. else
  978. TRAIL.Size = VT(0.25,DIST,0.25)
  979. end
  980. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  981. coroutine.resume(coroutine.create(function()
  982. for i = 1, 5 do
  983. Swait()
  984. TRAIL.Transparency = TRAIL.Transparency + 0.1
  985. end
  986. TRAIL:remove()
  987. end))
  988. end
  989.  
  990. --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})
  991. function WACKYEFFECT(Table)
  992. local TYPE = (Table.EffectType or "Sphere")
  993. local SIZE = (Table.Size or VT(1,1,1))
  994. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  995. local TRANSPARENCY = (Table.Transparency or 0)
  996. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  997. local CFRAME = (Table.CFrame or Torso.CFrame)
  998. local MOVEDIRECTION = (Table.MoveToPos or nil)
  999. local ROTATION1 = (Table.RotationX or 0)
  1000. local ROTATION2 = (Table.RotationY or 0)
  1001. local ROTATION3 = (Table.RotationZ or 0)
  1002. local MATERIAL = (Table.Material or "Neon")
  1003. local COLOR = (Table.Color or C3(1,1,1))
  1004. local TIME = (Table.Time or 45)
  1005. local SOUNDID = (Table.SoundID or nil)
  1006. local SOUNDPITCH = (Table.SoundPitch or nil)
  1007. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1008. coroutine.resume(coroutine.create(function()
  1009. local PLAYSSOUND = false
  1010. local SOUND = nil
  1011. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1012. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1013. PLAYSSOUND = true
  1014. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1015. end
  1016. EFFECT.Color = COLOR
  1017. local MSH = nil
  1018. if TYPE == "Sphere" then
  1019. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1020. elseif TYPE == "Block" then
  1021. MSH = IT("BlockMesh",EFFECT)
  1022. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1023. elseif TYPE == "Wave" then
  1024. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1025. elseif TYPE == "Ring" then
  1026. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1027. elseif TYPE == "Slash" then
  1028. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1029. elseif TYPE == "Round Slash" then
  1030. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1031. elseif TYPE == "Swirl" then
  1032. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1033. elseif TYPE == "Skull" then
  1034. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1035. elseif TYPE == "Crystal" then
  1036. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1037. end
  1038. if MSH ~= nil then
  1039. local MOVESPEED = nil
  1040. if MOVEDIRECTION ~= nil then
  1041. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1042. end
  1043. local GROWTH = SIZE - ENDSIZE
  1044. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1045. if TYPE == "Block" then
  1046. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1047. else
  1048. EFFECT.CFrame = CFRAME
  1049. end
  1050. for LOOP = 1, TIME+1 do
  1051. Swait()
  1052. MSH.Scale = MSH.Scale - GROWTH/TIME
  1053. if TYPE == "Wave" then
  1054. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1055. end
  1056. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1057. if TYPE == "Block" then
  1058. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1059. else
  1060. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1061. end
  1062. if MOVEDIRECTION ~= nil then
  1063. local ORI = EFFECT.Orientation
  1064. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1065. EFFECT.Orientation = ORI
  1066. end
  1067. end
  1068. if PLAYSSOUND == false then
  1069. EFFECT:remove()
  1070. else
  1071. SOUND.Stopped:Connect(function()
  1072. EFFECT:remove()
  1073. end)
  1074. end
  1075. else
  1076. if PLAYSSOUND == false then
  1077. EFFECT:remove()
  1078. else
  1079. repeat Swait() until SOUND.Playing == false
  1080. EFFECT:remove()
  1081. end
  1082. end
  1083. end))
  1084. end
  1085.  
  1086. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1087. local Direction = CFrame.new(StartPos, Vec).lookVector
  1088. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1089. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1090. if RayHit and CheckIntangible(RayHit) then
  1091. if DelayIfHit then
  1092. wait()
  1093. end
  1094. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1095. end
  1096. return RayHit, RayPos, RayNormal
  1097. end
  1098.  
  1099. function turnto(position)
  1100. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1101. end
  1102.  
  1103. --//=================================\\
  1104. --|| WEAPON CREATION
  1105. --\\=================================//
  1106.  
  1107. local Particle = IT("ParticleEmitter",nil)
  1108. Particle.Enabled = false
  1109. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1110. Particle.LightEmission = 0.5
  1111. Particle.Rate = 150
  1112. Particle.ZOffset = 0.2
  1113. Particle.Rotation = NumberRange.new(-180, 180)
  1114. Particle.RotSpeed = NumberRange.new(-180, 180)
  1115. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1116. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1117.  
  1118. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1119. function ParticleEmitter(Table)
  1120. local PRTCL = Particle:Clone()
  1121. local Speed = Table.Speed or 5
  1122. local Drag = Table.Drag or 0
  1123. local Size1 = Table.Size1 or 1
  1124. local Size2 = Table.Size2 or 5
  1125. local Lifetime1 = Table.Lifetime1 or 1
  1126. local Lifetime2 = Table.Lifetime2 or 1.5
  1127. local Parent = Table.Parent or Torso
  1128. local Emit = Table.Emit or 100
  1129. local Offset = Table.Offset or 360
  1130. local Acel = Table.Acel or VT(0,0,0)
  1131. local Enabled = Table.Enabled or false
  1132. PRTCL.Parent = Parent
  1133. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1134. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1135. PRTCL.Speed = NumberRange.new(Speed)
  1136. PRTCL.VelocitySpread = Offset
  1137. PRTCL.Drag = Drag
  1138. PRTCL.Acceleration = Acel
  1139. if Enabled == false then
  1140. PRTCL:Emit(Emit)
  1141. Debris:AddItem(PRTCL,Lifetime2)
  1142. else
  1143. PRTCL.Enabled = true
  1144. end
  1145. return PRTCL
  1146. end
  1147.  
  1148. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
  1149. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
  1151. MakeForm(Part,"Wedge")
  1152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
  1154. MakeForm(Part,"Wedge")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
  1157. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
  1159. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
  1161. MakeForm(Part,"Cyl")
  1162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1163. for i = 1, 8 do
  1164. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
  1165. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1166. end
  1167. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
  1168. MakeForm(Part,"Cyl")
  1169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1170. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
  1171. MakeForm(Part,"Ball")
  1172. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1173. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
  1174. MakeForm(Part,"Wedge")
  1175. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1176. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
  1177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1178. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
  1179. MakeForm(Part,"Cyl")
  1180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
  1182. MakeForm(Part,"Cyl")
  1183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1184. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
  1185. MakeForm(Part,"Cyl")
  1186. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1187. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
  1188. MakeForm(Part,"Wedge")
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1190. local LASTPART = Handle
  1191. for i = 1, 10 do
  1192. if LASTPART == Handle then
  1193. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
  1194. LASTPART = Part
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. else
  1197. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1199. LASTPART = Part
  1200. end
  1201. end
  1202.  
  1203. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
  1204. MakeForm(Barrel,"Cyl")
  1205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
  1207. MakeForm(Part,"Cyl")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
  1210. MakeForm(Part,"Wedge")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1212. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
  1213. MakeForm(Hole,"Cyl")
  1214. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
  1216. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1217. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1218. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
  1219. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1220. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1221. coroutine.resume(coroutine.create(function()
  1222. while wait() do
  1223. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1224. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1225. end
  1226. end))
  1227.  
  1228. 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)})
  1229. --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)})
  1230.  
  1231. for _, c in pairs(Weapon:GetDescendants()) do
  1232. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1233. c.Material = "Glass"
  1234. c.Color = C3(0,0,0)
  1235. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1236. c.Color = C3(1,0,0)
  1237. c.Material = "Neon"
  1238. end
  1239. end
  1240.  
  1241. Weapon.Parent = Character
  1242. for _, c in pairs(Weapon:GetChildren()) do
  1243. if c.ClassName == "Part" then
  1244. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1245. end
  1246. end
  1247.  
  1248. local SKILLTEXTCOLOR = C3(1,0,0)
  1249. local SKILLFONT = "Antique"
  1250. local SKILLTEXTSIZE = 7
  1251.  
  1252. Humanoid.Died:connect(function()
  1253. ATTACK = true
  1254. end)
  1255.  
  1256. ----------
  1257. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1258. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1259. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1260. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1261.  
  1262. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1263. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1264. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1265. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1266. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1267. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1268. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1269. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1270.  
  1271. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1272. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1273. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1274. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1275. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1276. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1277. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1278. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1279. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1280. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1281.  
  1282.  
  1283. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1284. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1285. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1286. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1287.  
  1288. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1289. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1290. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1291. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1292. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1293. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1294. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1295. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1296.  
  1297. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1298. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1299. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1300. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1301. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1302. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1303. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1304. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1305. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1306. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1307.  
  1308. for _, c in pairs(Weapon:GetChildren()) do
  1309. if c.ClassName == "Part" then
  1310. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1311. end
  1312. end
  1313.  
  1314. Weapon.Parent = Character
  1315.  
  1316. Humanoid.Died:connect(function()
  1317. ATTACK = true
  1318. end)
  1319. ---------
  1320.  
  1321. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  1322. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(15)), CF(0, 0, 0))
  1323. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  1324. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1325. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Flame", VT(0.65,1.4,0.65),false)
  1326. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1327. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  1328. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1329.  
  1330. local DECAL = IT("Decal",Part)
  1331. DECAL.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1332. DECAL.Face = "Top"
  1333.  
  1334. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  1335. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(15)), CF(0, 0, 0))
  1336. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  1337. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1338. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Earth green", "Radioactive", VT(0.45,1.4,0.45),false)
  1339. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1340. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  1341. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1342.  
  1343. local DECAL = IT("Decal",Part)
  1344. DECAL.Texture = "http://www.roblox.com/asset/?id=1172964487"
  1345. DECAL.Face = "Top"
  1346.  
  1347. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  1348. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(15)), CF(0, 0, 0))
  1349. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  1350. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1351. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Light", VT(0.35,1.4,0.35),false)
  1352. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1353. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  1354. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1355.  
  1356. local DECAL = IT("Decal",Part)
  1357. DECAL.Texture = "http://www.roblox.com/asset/?id=68854060"
  1358. DECAL.Face = "Top"
  1359.  
  1360. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  1361. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1362. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  1363. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1364. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  1365. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
  1366. MakeForm(Part,"Wedge")
  1367.  
  1368. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  1369. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1370. MakeForm(Part,"Wedge")
  1371.  
  1372. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  1373. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1374. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1375. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1376. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1377. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1378. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  1379. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1380. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  1381. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1382.  
  1383. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  1384. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(-0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1385. MakeForm(Part,"Ball")
  1386. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  1387. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1388. MakeForm(Part,"Ball")
  1389.  
  1390. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  1391. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(-15)), CF(0, 0, 0))
  1392. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  1393. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1394. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Carnation pink", "Love", VT(0.65,1.4,0.65),false)
  1395. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1396. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  1397. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1398.  
  1399. local FAKECHARACTER = IT("Model",Effects)
  1400. FAKECHARACTER.Name = "NeonDoll"
  1401. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1402. CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0.5,0), CF(0,0,0))
  1403. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1404. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(15)), CF(0,0.15,0))
  1405. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1406. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(-15)), CF(0,0.15,0))
  1407. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1408. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  1409. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1410. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  1411. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1412. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1413.  
  1414. local DECAL = IT("Decal",Part)
  1415. DECAL.Texture = "http://www.roblox.com/asset/?id=301069998"
  1416. DECAL.Face = "Top"
  1417.  
  1418. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  1419. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(-15)), CF(0, 0, 0))
  1420. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  1421. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1422. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Dark Matter", VT(0.10,1.4,0.10),false)
  1423. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1424. local FAKECHARACTER = IT("Model",Effects)
  1425. FAKECHARACTER.Name = "NeonDoll"
  1426.  
  1427. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1428. CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0,0), CF(0,0,0))
  1429. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1430. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1431. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1432. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1433. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1434. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(10)), CF(0,0.15,0))
  1435. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1436. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-10)), CF(0,0.15,0))
  1437. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1438. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1439. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  1440. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1441.  
  1442. local DECAL = IT("Decal",Part)
  1443. DECAL.Texture = "http://www.roblox.com/asset/?id=332392312"
  1444. DECAL.Face = "Top"
  1445.  
  1446. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  1447. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
  1448. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  1449. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1450. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Light", VT(0.35,1.4,0.35),false)
  1451. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1452. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  1453. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1454.  
  1455. local DECAL = IT("Decal",Part)
  1456. DECAL.Texture = "http://www.roblox.com/asset/?id=50184258"
  1457. DECAL.Face = "Top"
  1458.  
  1459. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  1460. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1461. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  1462. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1463. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  1464. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0.28, 0, 0) * ANGLES(RAD(-180), RAD(-90), RAD(0)), CF(0, 0, 0))
  1465. MakeForm(Part,"Wedge")
  1466.  
  1467. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  1468. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0.75, 0.51, 0) * ANGLES(RAD(-180), RAD(90), RAD(0)), CF(0, 0, 0))
  1469. MakeForm(Part,"Wedge")
  1470.  
  1471. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  1472. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1473. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1474. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1475. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  1476. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1477. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  1478. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1479. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  1480. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1481.  
  1482. for _, c in pairs(Weapon:GetChildren()) do
  1483. if c.ClassName == "Part" then
  1484. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1485. end
  1486. end
  1487.  
  1488.  
  1489. Weapon.Parent = Character
  1490.  
  1491. Humanoid.Died:connect(function()
  1492. ATTACK = true
  1493. end)
  1494.  
  1495. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1496. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1497. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1498.  
  1499. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[B] Ability 1", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  1500. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Z] Ability 2", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  1501. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle tanks", C3(0,0,0), 8, "SciFi", 0, 2, 1, "Text 3")
  1502. --//=================================\\
  1503. --|| DAMAGE FUNCTIONS
  1504. --\\=================================//
  1505.  
  1506. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1507. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1508. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1509. local BODYGYRO = IT("BodyGyro", STATPART)
  1510. local BODYPOSITION = IT("BodyPosition", STATPART)
  1511. BODYPOSITION.P = 2000
  1512. BODYPOSITION.D = 100
  1513. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1514. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1515. game:GetService("Debris"):AddItem(STATPART ,5)
  1516. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1517. BILLBOARDGUI.Adornee = STATPART
  1518. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1519. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1520. BILLBOARDGUI.AlwaysOnTop = false
  1521. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1522. TEXTLABEL.BackgroundTransparency = 1
  1523. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1524. TEXTLABEL.Text = TEXT
  1525. TEXTLABEL.Font = "SciFi"
  1526. TEXTLABEL.FontSize="Size42"
  1527. TEXTLABEL.TextColor3 = COLOR
  1528. TEXTLABEL.TextStrokeTransparency = 1
  1529. TEXTLABEL.TextScaled = true
  1530. TEXTLABEL.TextWrapped = true
  1531. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1532. if LABELTYPE == "Normal" then
  1533. for i = 1, 30 do
  1534. Swait()
  1535. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1536. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1537. end
  1538. elseif LABELTYPE == "Debuff" then
  1539. for i = 1, 30 do
  1540. Swait()
  1541. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1542. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1543. end
  1544. elseif LABELTYPE == "Shock" then
  1545. local ORIGIN = STATPART.Position
  1546. for i = 1, 30 do
  1547. Swait()
  1548. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1549. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1550. end
  1551. end
  1552. THEPART.Parent = nil
  1553. end),STATPART, BODYPOSITION, TEXTLABEL)
  1554. end
  1555.  
  1556. --//=================================\\
  1557. --|| DAMAGING
  1558. --\\=================================//
  1559.  
  1560. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1561. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1562. defence.Name = ("HitBy"..Player.Name)
  1563. game:GetService("Debris"):AddItem(defence, 0.5)
  1564. Humanoid.Health = Humanoid.Health - Damage
  1565. if Humanoid.Parent:FindFirstChild("Head") then
  1566. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1567. end
  1568. end
  1569.  
  1570.  
  1571. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1572. local dmg = math.random(min,max)
  1573. for i,v in ipairs(workspace:GetChildren()) do
  1574. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1575. local body = v:GetChildren()
  1576. for part = 1, #body do
  1577. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1578. if(body[part].Position - position).Magnitude < radius then
  1579. if v.ClassName == "Model" then
  1580. if v:FindFirstChildOfClass("Humanoid") then
  1581. if CanBeDodgedByJumping == true then
  1582. if body[part].Position.Y < position.Y+5 then
  1583. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1584. end
  1585. else
  1586. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1587. end
  1588. local bv = Instance.new("BodyVelocity")
  1589. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1590. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1591. bv.Parent = body[part]
  1592. Debris:AddItem(bv,0.2)
  1593. end
  1594. end
  1595. end
  1596. end
  1597. end
  1598. end
  1599. if v:FindFirstChild("HitBy"..Player.Name) then
  1600. v:FindFirstChild("HitBy"..Player.Name):remove()
  1601. end
  1602. end
  1603. end
  1604.  
  1605. function AoEStun(POS,RANGE,LAST)
  1606. for i,v in ipairs(workspace:GetChildren()) do
  1607. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1608. local body = v:GetChildren()
  1609. for part = 1, #body do
  1610. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1611. if(body[part].Position - POS).Magnitude < RANGE then
  1612. if v.ClassName == "Model" then
  1613. if v:FindFirstChild("Humanoid") then
  1614. if v.Humanoid.Health ~= 0 then
  1615. Stun(v.Humanoid,LAST)
  1616. local defence = Instance.new("BoolValue",v)
  1617. defence.Name = ("StunnedBy"..Player.Name)
  1618. game:GetService("Debris"):AddItem(defence, 0.1)
  1619. end
  1620. end
  1621. end
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627. end
  1628.  
  1629. function Stun(HUMANOID,LAST)
  1630. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1631. HUMANOID.PlatformStand = true
  1632. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1633. defence.Name = ("StunnedBy"..Player.Name)
  1634. game:GetService("Debris"):AddItem(defence, LAST)
  1635. if HUMANOID.Parent:FindFirstChild("Head") then
  1636. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1637. end
  1638. coroutine.resume(coroutine.create(function()
  1639. Swait(LAST*100)
  1640. HUMANOID.PlatformStand = false
  1641. end))
  1642. end
  1643. end
  1644.  
  1645. function Poison(HUMANOID,LAST,DAMAGE)
  1646. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  1647. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1648. defence.Name = ("PoisonedBy"..Player.Name)
  1649. game:GetService("Debris"):AddItem(defence, LAST)
  1650. coroutine.resume(coroutine.create(function()
  1651. for i = 1, LAST/2 do
  1652. if HUMANOID.Parent:FindFirstChild("Head") then
  1653. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  1654. end
  1655. Swait(2)
  1656. HUMANOID.Health = HUMANOID.Health - DAMAGE
  1657. end
  1658. end))
  1659. end
  1660. end
  1661.  
  1662. function killnearest(position,range,maxstrength)
  1663. for i,v in ipairs(workspace:GetChildren()) do
  1664. local body = v:GetChildren()
  1665. for part = 1, #body do
  1666. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1667. if(body[part].Position - position).Magnitude < range then
  1668. if v.ClassName == "Model" then
  1669. v:BreakJoints()
  1670. end
  1671. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1672. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1673. end
  1674. end
  1675. end
  1676. if v.ClassName == "Part" then
  1677. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1678. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1679. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1680. end
  1681. end
  1682. end
  1683. end
  1684.  
  1685. function Banish(Foe)
  1686. if Foe then
  1687. coroutine.resume(coroutine.create(function()
  1688. --if game.Players:FindFirstChild(Foe.Name) then
  1689. table.insert(TOBANISH,Foe.Name)
  1690. printbye(Foe.Name)
  1691. --end
  1692. Foe.Archivable = true
  1693. local CLONE = Foe:Clone()
  1694. Foe:Destroy()
  1695. CLONE.Parent = Effects
  1696. CLONE:BreakJoints()
  1697. local MATERIALS = {"Glass","Neon"}
  1698. for _, c in pairs(CLONE:GetDescendants()) do
  1699. if c:IsA("BasePart") then
  1700. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1701. CreateSound(340722848, c, 10, 1, false)
  1702. end
  1703. c.Anchored = true
  1704. c.Transparency = c.Transparency + 0.2
  1705. c.Material = MATERIALS[MRANDOM(1,2)]
  1706. c.Color = C3(1,0,0)
  1707. if c.ClassName == "MeshPart" then
  1708. c.TextureID = ""
  1709. end
  1710. if c:FindFirstChildOfClass("SpecialMesh") then
  1711. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1712. end
  1713. if c:FindFirstChildOfClass("Decal") then
  1714. c:FindFirstChildOfClass("Decal"):remove()
  1715. end
  1716. c.Name = "Banished"
  1717. c.CanCollide = false
  1718. else
  1719. c:remove()
  1720. end
  1721. end
  1722. local A = false
  1723. for i = 1, 35 do
  1724. if A == false then
  1725. A = true
  1726. elseif A == true then
  1727. A = false
  1728. end
  1729. for _, c in pairs(CLONE:GetDescendants()) do
  1730. if c:IsA("BasePart") then
  1731. c.Anchored = true
  1732. c.Material = MATERIALS[MRANDOM(1,2)]
  1733. c.Transparency = c.Transparency + 0.8/35
  1734. if A == false then
  1735. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1736. elseif A == true then
  1737. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1738. end
  1739. end
  1740. end
  1741. Swait()
  1742. end
  1743. CLONE:remove()
  1744. end))
  1745. end
  1746. end
  1747.  
  1748. --//=================================\\
  1749. --|| ATTACK FUNCTIONS AND STUFF
  1750. --\\=================================//
  1751.  
  1752.  
  1753. function Banisher_Bullet()
  1754. ATTACK = true
  1755. Rooted = false
  1756. for i=0, 0.4, 0.1 / Animation_Speed do
  1757. Swait()
  1758. turnto(Mouse.Hit.p)
  1759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1765. end
  1766. repeat
  1767. for i=0, 0.2, 0.1 / Animation_Speed do
  1768. Swait()
  1769. turnto(Mouse.Hit.p)
  1770. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1771. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1773. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1774. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1775. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1776. end
  1777. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1778. SpawnTrail(Hole.Position,POS)
  1779. if HIT ~= nil then
  1780. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1781. Banish(HIT.Parent)
  1782. end
  1783. end
  1784. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1785. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1786. 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(255,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1787. 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(255,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1788. for i=0, 0.3, 0.1 / Animation_Speed do
  1789. Swait()
  1790. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1794. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1795. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1796. end
  1797. until KEYHOLD == false
  1798. ATTACK = false
  1799. Rooted = false
  1800. end
  1801.  
  1802. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1803. if DoesCourontine == false then
  1804. local Direction = CF(Part.Position,ToLocation)
  1805. local Distance = (Part.Position - ToLocation).magnitude
  1806. for i = 1, AmountOfTime do
  1807. Swait()
  1808. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1809. Direction = Part.CFrame
  1810. end
  1811. elseif DoesCourontine == true then
  1812. coroutine.resume(coroutine.create(function()
  1813. local Direction = CF(Part.Position,ToLocation)
  1814. local Distance = (Part.Position - ToLocation).magnitude
  1815. for i = 1, AmountOfTime do
  1816. Swait()
  1817. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1818. Direction = Part.CFrame
  1819. end
  1820. end))
  1821. end
  1822. end
  1823.  
  1824. function impale(chain,hit)
  1825. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1826. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1827. if humanoid.Health ~= 0 then
  1828. hit.Parent:BreakJoints()
  1829. getbloody(hit,15)
  1830. local prtcl = asd:Clone()
  1831. prtcl.Parent = chain
  1832. prtcl.Enabled = true
  1833. prtcl.Speed = NumberRange.new(0)
  1834. prtcl.Size = NumberSequence.new(0.2)
  1835. end
  1836. end
  1837. end
  1838.  
  1839. function CreateMagicCircle()
  1840. local sinkhole = IT("Part")
  1841. sinkhole.Size = VT(0,0,0)
  1842. sinkhole.Parent = Effects
  1843. sinkhole.Material = "Neon"
  1844. sinkhole.Color = C3(0,0,0)
  1845. sinkhole.Anchored = true
  1846. sinkhole.CanCollide = false
  1847. sinkhole.Transparency = 1
  1848. local decal = IT("Decal",sinkhole)
  1849. decal.Face = "Top"
  1850. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1851. local decal2 = IT("Decal",sinkhole)
  1852. decal2.Face = "Bottom"
  1853. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1854. return sinkhole
  1855. end
  1856.  
  1857. function Chain()
  1858. ATTACK = true
  1859. Rooted = false
  1860. for i=0, 2, 0.1 / Animation_Speed do
  1861. turnto(Mouse.Hit.p)
  1862. Swait()
  1863. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  1865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1866. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1867. 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)
  1868. 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)
  1869. end
  1870. CreateSound("1208650519", RightArm, 10, 2)
  1871. local RING = CreateMagicCircle()
  1872. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1873. for i = 1, 5 do
  1874. turnto(Mouse.Hit.p)
  1875. Swait()
  1876. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1877. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1878. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1879. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1880. RING.Size = RING.Size + VT(1,0,1)
  1881. end
  1882. coroutine.resume(coroutine.create(function()
  1883. local POS = Mouse.Hit.p
  1884. local A = IT("Attachment",RING)
  1885. for i = 1, 15 do
  1886. Swait(MRANDOM(0,5))
  1887. coroutine.resume(coroutine.create(function()
  1888. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1889. --print("Chain start")
  1890. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1891. Front.CanCollide = true
  1892. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1893. local B = IT("Attachment",Front)
  1894. local ChainLink = IT("Beam",RING)
  1895. ChainLink.Texture = "rbxassetid://1262544869"
  1896. ChainLink.TextureSpeed = 0
  1897. ChainLink.FaceCamera = true
  1898. ChainLink.Width0 = 3
  1899. ChainLink.Attachment0 = A
  1900. ChainLink.Attachment1 = B
  1901. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1902. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1903. ChainLink.TextureMode = "Static"
  1904. local bv = Instance.new("BodyVelocity")
  1905. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1906. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1907. bv.Parent = Front
  1908. bv.Name = "MOVE"
  1909. --print("Chain made")
  1910. coroutine.resume(coroutine.create(function()
  1911. Swait(50)
  1912. bv:remove()
  1913. local POS = Front.Position
  1914. Front.CanCollide = false
  1915. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1916. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1917. for i = 0, 1, 0.07 do
  1918. Swait()
  1919. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1920. end
  1921. Front:remove()
  1922. ChainLink:remove()
  1923. end))
  1924. local harm = Front.Touched:Connect(function(hit)
  1925. impale(Front,hit)
  1926. end)
  1927. end))
  1928. end
  1929. Swait(60)
  1930. for i = 1, 5 do
  1931. Swait()
  1932. RING.Size = RING.Size - VT(1,0,1)
  1933. end
  1934. RING:remove()
  1935. end))
  1936. ATTACK = false
  1937. Rooted = false
  1938. end
  1939.  
  1940. function MegaChain()
  1941. ATTACK = true
  1942. Rooted = true
  1943. for i=0, 1, 0.1 / Animation_Speed do
  1944. Swait()
  1945. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  1949. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  1950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  1951. end
  1952. local RING = CreateMagicCircle()
  1953. CreateSound("1208650519", RING, 10, 1.5)
  1954. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  1955. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  1956. for i = 1, 75 do
  1957. Swait()
  1958. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1959. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1960. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1961. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  1962. RING.Size = RING.Size + VT(1,0,1)
  1963. end
  1964. coroutine.resume(coroutine.create(function()
  1965. for i = 1, 450 do
  1966. Swait(2)
  1967. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  1968. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1969. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1970. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  1971. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  1972. local A = IT("Attachment",RING)
  1973. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  1974. coroutine.resume(coroutine.create(function()
  1975. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1976. --print("Chain start")
  1977. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1978. Front.CanCollide = false
  1979. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  1980. local B = IT("Attachment",Front)
  1981. local ChainLink = IT("Beam",RING)
  1982. ChainLink.Texture = "rbxassetid://1262544869"
  1983. ChainLink.TextureSpeed = 0
  1984. ChainLink.FaceCamera = true
  1985. ChainLink.Width0 = 3
  1986. ChainLink.Attachment0 = A
  1987. ChainLink.Attachment1 = B
  1988. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1989. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1990. ChainLink.TextureMode = "Static"
  1991. local bv = Instance.new("BodyVelocity")
  1992. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1993. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1994. bv.Parent = Front
  1995. bv.Name = "MOVE"
  1996. --print("Chain made")
  1997. coroutine.resume(coroutine.create(function()
  1998. Swait(50)
  1999. bv:remove()
  2000. local POS = Front.Position
  2001. Front.CanCollide = false
  2002. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  2003. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  2004. for i = 0, 1, 0.07 do
  2005. Swait()
  2006. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  2007. end
  2008. Front:remove()
  2009. ChainLink:remove()
  2010. end))
  2011. local harm = Front.Touched:Connect(function(hit)
  2012. impale(Front,hit)
  2013. end)
  2014. end))
  2015. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  2016. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  2017. end
  2018. Swait(65)
  2019. for i = 1, 75 do
  2020. Swait()
  2021. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  2022. RING.Size = RING.Size - VT(1,0,1)
  2023. end
  2024. RING:remove()
  2025. end))
  2026. ATTACK = false
  2027. Rooted = false
  2028. end
  2029.  
  2030. function PowerOutburst()
  2031. ATTACK = true
  2032. Rooted = false
  2033. for i=0, 1, 0.1 / Animation_Speed do
  2034. Swait()
  2035. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2039. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2041. end
  2042. Head.face.Texture = "rbxassetid://1297068763"
  2043. for i=0, 0.2, 0.1 / Animation_Speed do
  2044. Swait()
  2045. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2049. 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)), 3 / Animation_Speed)
  2050. 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)),3 / Animation_Speed)
  2051. end
  2052. for i=0, 3, 0.1 / Animation_Speed do
  2053. local COLORS = {"Earth green","Lime green","New Yeller"}
  2054. coroutine.resume(coroutine.create(function()
  2055. local FIRE = CreatePart(3, Effects, "Neon", 0, 0.8, COLORS[MRANDOM(1,#COLORS)], "FirePart", VT(0,0,0))
  2056. FIRE.CFrame = Head.CFrame*CF(0,-0.25,-0.5)
  2057. MakeForm(FIRE,"Ball")
  2058. for i = 1, 25 do
  2059. Swait()
  2060. FIRE.CFrame = FIRE.CFrame*CF(0,0,-0.1)
  2061. FIRE.Transparency = FIRE.Transparency + (0.2/25)
  2062. FIRE.Size = FIRE.Size * 1.35
  2063. end
  2064. AoEDamage(FIRE.Position,FIRE.Size.Y/2.5,2,3,0,6,1.5,false)
  2065. FIRE:remove()
  2066. end))
  2067. Slice(0.6,15,Head.CFrame*CF(0,-0.25,-1.5)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS[MRANDOM(1,#COLORS)],1.15)
  2068. Swait()
  2069. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  2070. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2071. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2072. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2073. 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)), 3 / Animation_Speed)
  2074. 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)),3 / Animation_Speed)
  2075. end
  2076. ATTACK = false
  2077. Rooted = false
  2078. end
  2079.  
  2080. function RadioactiveSludge()
  2081. ATTACK = true
  2082. Rooted = false
  2083. local COLORS = {"Earth green","Slime green"}
  2084. local COLOR = COLORS[MRANDOM(1,#COLORS)]
  2085. local FIRE = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  2086. MakeForm(FIRE,"Ball")
  2087. FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  2088. local LIGHT = IT("PointLight",FIRE)
  2089. LIGHT.Range = 0.05
  2090. LIGHT.Brightness = 100
  2091. LIGHT.Color = C3(0,1,0)
  2092. for i=0, 1.5, 0.1 / Animation_Speed do
  2093. Swait()
  2094. turnto(Mouse.Hit.p)
  2095. FIRE.Size = FIRE.Size * 1.1
  2096. FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  2097. LIGHT.Range = LIGHT.Range * 1.1
  2098. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  2099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2102. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  2103. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  2104. end
  2105. Rooted = true
  2106. coroutine.resume(coroutine.create(function()
  2107. local COLORS2 = {"Earth green","Lime green","New Yeller"}
  2108. FireArc(FIRE,Mouse.Hit.p,30,7,false)
  2109. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  2110. local HIT, POS = Raycast(FIRE.Position, CF(FIRE.Position,FIRE.Position+VT(0,-1,0)).lookVector, 2, Character)
  2111. MakeForm(FLOOR,"Cyl")
  2112. FLOOR.CFrame = CF(POS)
  2113. LIGHT.Parent = FLOOR
  2114. for i = 1, 50 do
  2115. Swait()
  2116. LIGHT.Range = LIGHT.Range + 0.3
  2117. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  2118. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  2119. FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  2120. FLOOR.Size = FLOOR.Size + VT(0.7,0,0.7)
  2121. end
  2122. FIRE:remove()
  2123. for i = 1, 300 do
  2124. Swait()
  2125. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  2126. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  2127. end
  2128. for i = 1, 25 do
  2129. Swait()
  2130. LIGHT.Range = LIGHT.Range - 0.8
  2131. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  2132. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  2133. FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  2134. FLOOR.Size = FLOOR.Size - VT(1.4,0,1.4)
  2135. end
  2136. FLOOR:remove()
  2137. end))
  2138. for i=0, 0.5, 0.1 / Animation_Speed do
  2139. Swait()
  2140. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  2141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  2142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2144. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  2145. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  2146. end
  2147. ATTACK = false
  2148. Rooted = false
  2149. end
  2150.  
  2151. function CastProperRay(StartPos, Vec, Length, Ignore)
  2152. local Direction = CFrame.new(StartPos, Vec).lookVector
  2153. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  2154. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2155. return RayHit, RayPos, RayNormal
  2156. end
  2157.  
  2158. function BanishBullet()
  2159. ATTACK = true
  2160. Rooted = false
  2161. for i = 0, 0.4, 0.1 / Animation_Speed do
  2162. Swait()
  2163. turnto(Mouse.Hit.p)
  2164. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2168. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2169. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2170. end
  2171. repeat
  2172. for i = 0, 0.2, 0.1 / Animation_Speed do
  2173. Swait()
  2174. turnto(Mouse.Hit.p)
  2175. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2176. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2177. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2178. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2179. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2180. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2181. end
  2182. CreateSound("238353911", RightArm, 10, MRANDOM(9, 11) / 10)
  2183. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.1, 0.1, 0.1))
  2184. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.05, 0.05, 0.05))
  2185. local RayHit, Way = CastProperRay(RightArm.Position, Mouse.Hit.p, 1500, Character)
  2186. local distance = (RightArm.Position - Way).magnitude
  2187. for i = 1, 5 do
  2188. local laser = Instance.new("Part", Effects)
  2189. laser.Transparency = 0
  2190. laser.CanCollide = false
  2191. laser.Anchored = true
  2192. laser.Color = C3(1, 0, 0)
  2193. laser.Material = "Neon"
  2194. laser.formFactor = Enum.FormFactor.Custom
  2195. laser.Size = Vector3.new(0.15, 0.15, distance)
  2196. laser.CFrame = CFrame.new(RightArm.Position, Way) * CFrame.new(0, 0, -distance / 2)
  2197. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Crimson", VT(0.05, 0.05, 0.05))
  2198. for i = 1, 5 do
  2199. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Crimson", VT(0.001, 0.001, 0), 0.5)
  2200. end
  2201. table.insert(Effects2, {
  2202. laser,
  2203. "Disappear",
  2204. 0.1,
  2205. 1,
  2206. 1,
  2207. 1,
  2208. 2
  2209. })
  2210. if RayHit ~= nil then
  2211. local v = RayHit.Parent
  2212. if v ~= nil and v.ClassName == "Model" then
  2213. CastWarpOutlines(v)
  2214. v.Parent = nil
  2215. if game.Players:FindFirstChild(v.Name) then
  2216. local Value = IT("BoolValue", Delete)
  2217. Value.Name = v.Name
  2218. end
  2219. end
  2220. end
  2221. end
  2222. for i = 0, 0.3, 0.1 / Animation_Speed do
  2223. Swait()
  2224. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2227. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2228. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2229. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2230. end
  2231. until KEYHOLD == false
  2232. ATTACK = false
  2233. Rooted = false
  2234. end
  2235. function Dark_blade()
  2236. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  2237. if HITFLOOR ~= nil then
  2238. ATTACK = true
  2239. Rooted = true
  2240. local GYRO = IT("BodyGyro",RootPart)
  2241. GYRO.D = 100
  2242. GYRO.P = 2000
  2243. GYRO.MaxTorque = VT(0,4000000,0)
  2244. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2245. CreateSound("429459101", RightArm, 10, 0.8)
  2246. for i=0, 3.5, 0.1 / Animation_Speed do
  2247. Swait()
  2248. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2249. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  2250. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2251. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2252. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2253. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2254. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2255. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2256. end
  2257. GYRO:remove()
  2258. for i=0, 0.15, 0.1 / Animation_Speed do
  2259. Swait()
  2260. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2261. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  2262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2268. end
  2269. local BOMBSPOTS = {}
  2270. for i = 1, 25 do
  2271. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
  2272. SPOT.Color = SKILLTEXTCOLOR
  2273. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  2274. table.insert(BOMBSPOTS,SPOT)
  2275. MakeForm(SPOT,"Cyl")
  2276. end
  2277. for i=0, 0.2, 0.1 / Animation_Speed do
  2278. Swait()
  2279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2283. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2284. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2285. end
  2286. ATTACK = false
  2287. Rooted = false
  2288. coroutine.resume(coroutine.create(function()
  2289. Swait(3)
  2290. for i = 1, #BOMBSPOTS do
  2291. if BOMBSPOTS[i] ~= nil then
  2292. local E = BOMBSPOTS[i]
  2293. coroutine.resume(coroutine.create(function()
  2294. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
  2295. BLADE.Color = SKILLTEXTCOLOR
  2296. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  2297. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  2298. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  2299. for i = 1, 10 do
  2300. Swait()
  2301. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  2302. killnearest(BLADE.Position,6,80)
  2303. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  2304. BLADE.Transparency = BLADE.Transparency - 0.1
  2305. end
  2306. Swait(45)
  2307. for i = 1, 100 do
  2308. Swait()
  2309. BLADE.Transparency = BLADE.Transparency + 0.01
  2310. E.Transparency = E.Transparency + 0.01
  2311. end
  2312. BLADE:remove()
  2313. E:remove()
  2314. end))
  2315. end
  2316. end
  2317. end))
  2318. end
  2319. end
  2320.  
  2321. function CreateGUICircle(TARGET)
  2322. local GUI = Instance.new("BillboardGui",Character)
  2323. GUI.Size = UDim2.new(0,0,0,0)
  2324. GUI.Adornee = TARGET
  2325. local GUI2 = IT("ImageLabel",GUI)
  2326. GUI2.BackgroundTransparency = 1
  2327. GUI2.BorderSizePixel = 0
  2328. GUI2.Size = UDim2.new(1,0,1,0)
  2329. GUI2.SizeConstraint = "RelativeYY"
  2330. GUI.AlwaysOnTop = true
  2331. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  2332. return GUI,GUI2
  2333. end
  2334.  
  2335. function CastWarpOutlines(TARGET)
  2336. coroutine.resume(coroutine.create(function()
  2337. local T = TARGET:GetChildren()
  2338. for i = 1, # T do
  2339. local child = T[i]
  2340. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  2341. local clone = child:Clone()
  2342. clone.Parent = Effects
  2343. clone.Anchored = true
  2344. clone.CanCollide = false
  2345. clone:ClearAllChildren()
  2346. clone.CFrame = child.CFrame
  2347. if clone.Name == "Head" then
  2348. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  2349. end
  2350. if clone.ClassName == "MeshPart" then
  2351. clone.TextureID = ""
  2352. end
  2353. clone.BrickColor = BRICKC"Black"
  2354. clone.Material = "Neon"
  2355. coroutine.resume(coroutine.create(function()
  2356. for i = 1, 200 do
  2357. Swait()
  2358. clone.Transparency = clone.Transparency + 0.005
  2359. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  2360. end
  2361. clone:remove()
  2362. end))
  2363. end
  2364. end
  2365. end))
  2366. end
  2367.  
  2368. function Sink(position,radius)
  2369. for i,v in ipairs(workspace:GetChildren()) do
  2370. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  2371. local body = v:GetChildren()
  2372. for part = 1, #body do
  2373. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2374. if(body[part].Position - position).Magnitude < radius then
  2375. if v.ClassName == "Model" then
  2376. if v:FindFirstChild("Humanoid") then
  2377. local defence = Instance.new("BoolValue",v)
  2378. defence.Name = ("Hit2By"..Player.Name)
  2379. if v.Humanoid.Health ~= 0 then
  2380. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2381. if TORS ~= nil then
  2382. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  2383. coroutine.resume(coroutine.create(function()
  2384. if HITFLOOR2 ~= nil then
  2385. TORS.Anchored = true
  2386. table.insert(Effects2,{v})
  2387. repeat
  2388. Swait()
  2389. TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  2390. until TORS.Position.Y<position.Y-4
  2391. v:remove()
  2392. end
  2393. end))
  2394. end
  2395. end
  2396. end
  2397. end
  2398. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2399. end
  2400. end
  2401. end
  2402. end
  2403. end
  2404. end
  2405.  
  2406. function Shadowpuddle()
  2407. ATTACK = true
  2408. Rooted = true
  2409. CreateSound(ALONE, Head, 10, 1)
  2410. for i=0, 2, 0.1 / Animation_Speed do
  2411. Swait()
  2412. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2413. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2414. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2415. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2416. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2417. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2418. end
  2419. CreateSound("1075001850", RootPart, 10, 3)
  2420. UNANCHOR = false
  2421. RootPart.Anchored = true
  2422. local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
  2423. MakeForm(GATE,"Cyl")
  2424. GATE.Color = C3(0,0,0)
  2425. GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  2426. for i=1, 250 do
  2427. Swait()
  2428. UNANCHOR = false
  2429. GATE.Size = GATE.Size + VT(1,0,1)
  2430. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  2431. RootPart.Anchored = true
  2432. Sink(GATE.Position,GATE.Size.Z/2.2)
  2433. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2437. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2439. end
  2440. repeat Swait() until #Effects2 == 0
  2441. for i=1, 25 do
  2442. Swait()
  2443. GATE.Size = GATE.Size - VT(10,0,10)
  2444. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  2445. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2449. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2451. end
  2452. GATE:remove()
  2453. RootPart.Anchored = false
  2454. UNANCHOR = true
  2455. ATTACK = false
  2456. Rooted = false
  2457. end
  2458.  
  2459. function Mortar(Target)
  2460. local newball = Instance.new("Part", workspace)
  2461. newball.Anchored = true
  2462. newball.Shape = "Ball"
  2463. newball.Material = "Neon"
  2464. newball.Size = Vector3.new(0,0,0)
  2465. newball.CanCollide = false
  2466. newball.CFrame = CF(Target)
  2467. newball.Color = C3(1,1,1)
  2468. newball.Transparency = 1
  2469. local POS = Mouse.Hit.p
  2470. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2471. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2472. local A1 = IT("Attachment",newball)
  2473. A1.Position = Vector3.new(0, 2.5, 0)
  2474. local A2 = IT("Attachment",newball)
  2475. A2.Position = Vector3.new(0, -2.5, 0)
  2476. local Trail = IT("Trail",newball)
  2477. Trail.LightEmission = 1
  2478. Trail.FaceCamera = true
  2479. Trail.Texture = "rbxassetid://945758042"
  2480. Trail.Attachment0 = A1
  2481. Trail.Attachment1 = A2
  2482. Trail.Lifetime = 1
  2483. Trail.MinLength = 0
  2484. Trail.Transparency = NumberSequence.new(0, 1)
  2485. Trail.Color = ColorSequence.new(newball.Color)
  2486. coroutine.resume(coroutine.create(function()
  2487. for i = 0, 1, 0.07 do
  2488. Swait()
  2489. MagicSphere(VT(2,2,2),50,newball.CFrame,"Pearl",VT(-0.01,-0.01,-0.01))
  2490. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  2491. end
  2492. AoEDamage(newball.Position,5,5,8,0,false,2,2,false,true)
  2493. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], newball, 10, 1)
  2494. MagicSphere(VT(0,0,0),55,newball.CFrame,"Pearl",VT(0.06,0.5,0.06))
  2495. for i = 1, 10 do
  2496. MagicSphere(VT(0.5,0.5,3),50,CF(newball.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,newball.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  2497. end
  2498. game:GetService("Debris"):AddItem(newball, 5)
  2499. end))
  2500. end
  2501.  
  2502.  
  2503. function LightArray()
  2504. ATTACK = true
  2505. Rooted = false
  2506. for i=0, 1, 0.1 / Animation_Speed do
  2507. Swait()
  2508. turnto(Mouse.Hit.p)
  2509. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  2511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2513. 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)
  2514. 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)
  2515. end
  2516. local LOOP = 0
  2517. for i = 1, 30 do
  2518. Swait()
  2519. turnto(Mouse.Hit.p)
  2520. LOOP = LOOP + 1
  2521. if LOOP == 10 then
  2522. LOOP = 0
  2523. Mortar(LeftArm.CFrame*CF(0,-1,0).p)
  2524. end
  2525. end
  2526. ATTACK = false
  2527. Rooted = false
  2528. end
  2529.  
  2530. function Oblivion()
  2531. ATTACK = true
  2532. Rooted = true
  2533. for i=0, 2, 0.1 / Animation_Speed do
  2534. Swait()
  2535. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2537. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2538. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2539. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2540. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2541. end
  2542. for i=0, 0.5, 0.1 / Animation_Speed do
  2543. Swait()
  2544. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2545. 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.5 / Animation_Speed)
  2546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2548. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2550. end
  2551. for i = 1, 75 do
  2552. Swait()
  2553. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  2554. end
  2555. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2556. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2557. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  2558. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Pearl",VT(5,5,5))
  2559. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Pearl",VT(2.5,2.5,2.5))
  2560. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  2561. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  2562. ATTACK = false
  2563. Rooted = false
  2564. end
  2565.  
  2566. function kiss()
  2567. ATTACK = true
  2568. Rooted = false
  2569. local HASGRABBED = false
  2570. local GRABTARGET = nil
  2571. local TORS = nil
  2572. local WELD = nil
  2573. for i=0, 1, 0.1 / Animation_Speed do
  2574. Swait()
  2575. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2577. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2581. end
  2582. local GRAB1 = RightArm.Touched:Connect(function(hit)
  2583. if hit.Parent:FindFirstChild("Humanoid") then
  2584. if hit.Parent.Humanoid.Health ~= 0 then
  2585. UNANCHOR = false
  2586. RootPart.Anchored = true
  2587. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2588. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2589. WELD = weldBetween(RootPart,TORS)
  2590. HASGRABBED = true
  2591. Rooted = true
  2592. end
  2593. end
  2594. end)
  2595. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2596. if hit.Parent:FindFirstChild("Humanoid") then
  2597. if hit.Parent.Humanoid.Health ~= 0 then
  2598. UNANCHOR = false
  2599. RootPart.Anchored = true
  2600. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2601. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2602. WELD = weldBetween(RootPart,TORS)
  2603. HASGRABBED = true
  2604. Rooted = true
  2605. end
  2606. end
  2607. end)
  2608. for i=0, 1, 0.1 / Animation_Speed do
  2609. Swait()
  2610. if HASGRABBED == true then
  2611. break
  2612. end
  2613. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2614. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2615. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2616. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2617. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2618. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2619. end
  2620. GRAB1:disconnect()
  2621. GRAB2:disconnect()
  2622. if HASGRABBED == true then
  2623. TORS.Anchored = false
  2624. GRABTARGET = TORS.Parent
  2625. HED = GRABTARGET:FindFirstChild("Head")
  2626. for i=0, 2, 0.1 / Animation_Speed do
  2627. Swait()
  2628. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2629. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2630. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2631. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2632. 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)
  2633. 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)
  2634. end
  2635. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  2636. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2637. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2638. local ECH = 0
  2639. CreateSound("247269322", Head, 10, 0.8)
  2640. Head.face.Texture = "rbxassetid://47425887"
  2641. for i=0, 8, 0.1 / Animation_Speed do
  2642. Swait()
  2643. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2644. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  2645. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2647. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2648. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2649. end
  2650. WELD:remove()
  2651. end
  2652. UNANCHOR = true
  2653. ATTACK = false
  2654. Rooted = false
  2655. end
  2656.  
  2657. function friend()
  2658. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2659. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2660. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2661. local ARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightUpperArm")
  2662. if TORSO and ARM then
  2663. ATTACK = true
  2664. local FAKECHARACTER = IT("Model",Effects)
  2665. FAKECHARACTER.Name = "NeonDoll"
  2666. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  2667. CreateWeldOrSnapOrMotor("Weld", HUM, ARM, TORS, CF(0,1.2,0), CF(0,0,0))
  2668. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2669. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(15)), CF(0,0.15,0))
  2670. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2671. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(-15)), CF(0,0.15,0))
  2672. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2673. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  2674. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2675. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  2676. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  2677. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2678. ATTACK = false
  2679. repeat
  2680. wait(1)
  2681. ApplyDamage(HUM,5,5,2,5)
  2682. until HUM.health == 0
  2683. end
  2684. end
  2685. end
  2686.  
  2687. function Debree(POS, SWAIT)
  2688. coroutine.resume(coroutine.create(function()
  2689. local HOLDER = IT("Model", Effects)
  2690. HOLDER.Name = "Debree"
  2691. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  2692. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2693. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2694. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2695. repeat
  2696. Swait()
  2697. until HITFLOOR ~= nil
  2698. local O = 0
  2699. for i = 1, 18 do
  2700. do
  2701. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2702. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2703. O = O - 2.25 + i / 4
  2704. coroutine.resume(coroutine.create(function()
  2705. Swait(SWAIT)
  2706. for i = 1, 60 do
  2707. Swait()
  2708. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2709. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2710. end
  2711. for i = 1, 50 do
  2712. Swait()
  2713. Part.Size = Part.Size * 0.9
  2714. end
  2715. end))
  2716. end
  2717. end
  2718. local O = 0
  2719. for i = 1, 18 do
  2720. do
  2721. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2722. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2723. O = O + 2.25 - i / 4
  2724. coroutine.resume(coroutine.create(function()
  2725. Swait(SWAIT)
  2726. for i = 1, 60 do
  2727. Swait()
  2728. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2729. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2730. end
  2731. for i = 1, 50 do
  2732. Swait()
  2733. Part.Size = Part.Size * 0.9
  2734. end
  2735. end))
  2736. end
  2737. end
  2738. Swait(SWAIT + 110)
  2739. HOLDER:remove()
  2740. end))
  2741. end
  2742.  
  2743. function Banishtele()
  2744. ATTACK = true
  2745. Rooted = true
  2746. for i = 0, 1, 0.1 / Animation_Speed do
  2747. Swait()
  2748. 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)
  2749. 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)
  2750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2752. 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)
  2753. 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)
  2754. end
  2755. Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  2756. UNANCHOR = false
  2757. RootPart.Anchored = true
  2758. for i = 0, 2, 0.1 / Animation_Speed do
  2759. Swait()
  2760. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2761. 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)
  2762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2763. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2764. 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)
  2765. 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)
  2766. end
  2767. local POS = RootPart.Position
  2768. RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  2769. Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  2770. for i = 0, 2, 0.1 / Animation_Speed do
  2771. Swait()
  2772. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2773. 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)
  2774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2776. 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)
  2777. 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)
  2778. end
  2779. ATTACK = false
  2780. Rooted = false
  2781. end
  2782.  
  2783. function Taunt()
  2784. attack = true
  2785. CreateSound("160212892", hed, 10, 0.5)
  2786. for i = 0, 6, 0.1 do
  2787. Swait()
  2788. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.05)
  2789. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-25 - 6.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.05)
  2790. RH.C0 = clerp(RH.C0, CF(1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-8.5), Rad(0), Rad(-15)), 0.05)
  2791. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.3* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-8.5), Rad(15), Rad(45)), 0.05)
  2792. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  2793. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.08 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-75)), 0.05)
  2794. end
  2795. attack = false
  2796. end
  2797.  
  2798. --//=================================\\
  2799. --|| ASSIGN THINGS TO KEYS
  2800. --\\=================================//
  2801.  
  2802. function MouseDown(Mouse)
  2803. if ATTACK == false then
  2804. end
  2805. end
  2806.  
  2807. function MouseUp(Mouse)
  2808. HOLD = false
  2809. end
  2810.  
  2811.  
  2812.  
  2813.  
  2814. function KeyDown(Key)
  2815. KEYHOLD = true
  2816. if Key == "b" and ATTACK == false then
  2817. if CHOSENBRICK == "Royal purple" then
  2818. Chain()
  2819. elseif CHOSENBRICK == "Earth green" then
  2820. PowerOutburst()
  2821. elseif CHOSENBRICK == "Crimson" then
  2822. BanishBullet()
  2823. elseif CHOSENBRICK == "Carnation pink" then
  2824. kiss()
  2825. elseif CHOSENBRICK == "Really black" then
  2826. Dark_blade()
  2827. elseif CHOSENBRICK == "White" then
  2828. LightArray()
  2829. end
  2830. end
  2831.  
  2832. if Key == "v" and ATTACK == false then
  2833. if CHOSENBRICK == "Royal purple" then
  2834. MegaChain()
  2835. elseif CHOSENBRICK == "Earth green" then
  2836. RadioactiveSludge()
  2837. elseif CHOSENBRICK == "Crimson" then
  2838. Banishtele()
  2839. elseif CHOSENBRICK == "Carnation pink" then
  2840. friend()
  2841. elseif CHOSENBRICK == "Really black" then
  2842. Shadowpuddle()
  2843. elseif CHOSENBRICK == "White" then
  2844. Oblivion()
  2845. return
  2846. end
  2847. end
  2848.  
  2849. if Key == "x" and ATTACK == false then
  2850. if CHOSENBRICK == "Crimson" then
  2851. Delete:ClearAllChildren()
  2852. end
  2853. end
  2854. if Key == "c" and ATTACK == false then
  2855. if CHOSENBRICK == "Royal purple" then
  2856. CHOSENBRICK = "Earth green"
  2857. elseif CHOSENBRICK == "Earth green" then
  2858. CHOSENBRICK = "Crimson"
  2859. elseif CHOSENBRICK == "Crimson" then
  2860. CHOSENBRICK = "Carnation pink"
  2861. elseif CHOSENBRICK == "Carnation pink" then
  2862. CHOSENBRICK = "Really black"
  2863. elseif CHOSENBRICK == "Really black" then
  2864. CHOSENBRICK = "White"
  2865. elseif CHOSENBRICK == "White" then
  2866. CHOSENBRICK = "Royal purple"
  2867. end
  2868. end
  2869.  
  2870. if Key == "t" and ATTACK == false then
  2871. Taunt()
  2872. end
  2873. if Key == "p" and ATTACK == false then
  2874. GreenUltimate()
  2875. end
  2876. if Key == "l" and ATTACK == false then
  2877. DeathAgreement()
  2878. end
  2879. if Key == "m" and ATTACK == false then
  2880. ScrewThis()
  2881. end
  2882. if Key == "z" and ATTACK == false then
  2883. Banisher_Bullet()
  2884. end
  2885. end
  2886.  
  2887. function laugh(key)
  2888. key = key:lower()
  2889. if key == "n" then
  2890. slashsound3:Play()
  2891. end
  2892. end
  2893.  
  2894. function KeyUp(Key)
  2895. KEYHOLD = false
  2896. end
  2897.  
  2898. Mouse.Button1Down:connect(function(NEWKEY)
  2899. MouseDown(NEWKEY)
  2900. end)
  2901. Mouse.Button1Up:connect(function(NEWKEY)
  2902. MouseUp(NEWKEY)
  2903. end)
  2904. Mouse.KeyDown:connect(function(NEWKEY)
  2905. KeyDown(NEWKEY)
  2906. end)
  2907. Mouse.KeyUp:connect(function(NEWKEY)
  2908. KeyUp(NEWKEY)
  2909. end)
  2910.  
  2911. --//=================================\\
  2912. --\\=================================//
  2913.  
  2914.  
  2915. function unanchor()
  2916. if UNANCHOR == true then
  2917. g = Character:GetChildren()
  2918. for i = 1, #g do
  2919. if g[i].ClassName == "Part" then
  2920. g[i].Anchored = false
  2921. end
  2922. end
  2923. end
  2924. end
  2925.  
  2926.  
  2927. --//=================================\\
  2928. --|| WRAP THE WHOLE SCRIPT UP
  2929. --\\=================================//
  2930. Humanoid.Changed:connect(function(Jump)
  2931. if Jump == "Jump" and (Disable_Jump == true) then
  2932. Humanoid.Jump = false
  2933. end
  2934. end)
  2935.  
  2936. while true do
  2937. Swait()
  2938. ANIMATE.Parent = nil
  2939. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2940. IDLEANIMATION:Play()
  2941. SINE = SINE + CHANGE
  2942. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2943. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2944. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2945. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2946. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2947. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2948. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2949. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2950. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2951. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2952. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2953. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2954. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2955. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2956. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2957. end
  2958. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2959. ANIM = "Jump"
  2960. if ATTACK == false then
  2961. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2962. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2965. 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)
  2966. 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)
  2967. end
  2968. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2969. ANIM = "Fall"
  2970. if ATTACK == false then
  2971. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2975. 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)
  2976. 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)
  2977. end
  2978. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2979. ANIM = "Idle"
  2980. if ATTACK == false then
  2981. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2982. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2985. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2986. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2987. end
  2988. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2989. ANIM = "Walk"
  2990. WALK = WALK + 1 / Animation_Speed
  2991. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2992. WALK = 0
  2993. if WALKINGANIM == true then
  2994. WALKINGANIM = false
  2995. elseif WALKINGANIM == false then
  2996. WALKINGANIM = true
  2997. end
  2998. end
  2999. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3000. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3001. if ATTACK == false then
  3002. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3006. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3007. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3008. end
  3009. end
  3010. unanchor()
  3011. Humanoid.MaxHealth = "inf"
  3012. Humanoid.Health = "inf"
  3013. if Rooted == false then
  3014. Disable_Jump = false
  3015. Humanoid.WalkSpeed = Speed
  3016. elseif Rooted == true then
  3017. Disable_Jump = true
  3018. Humanoid.WalkSpeed = 0
  3019. end
  3020. sick.Parent = Character
  3021.  
  3022. if Head:FindFirstChild("face") and ATTACK == false then
  3023. Head.face.Texture = "rbxassetid://1297067294"
  3024. end
  3025. for _, c in pairs(Weapon:GetChildren()) do
  3026. if c.Name == "Eon" then
  3027. c.BrickColor = BRICKC(CHOSENBRICK)
  3028. end
  3029. end
  3030. SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  3031. SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  3032. if CHOSENBRICK == "Royal purple" then
  3033. SKILL1TEXT.Text = "[B] Void Chain"
  3034. SKILL2TEXT.Text = "[V] Mega Chain"
  3035. sick.SoundId = "rbxassetid://1369353534"
  3036. elseif CHOSENBRICK == "Earth green" then
  3037. SKILL1TEXT.Text = "[B] Power Outburst"
  3038. SKILL2TEXT.Text = "[V] Radioactive Sludge"
  3039. sick.SoundId = "rbxassetid://968287483"
  3040. elseif CHOSENBRICK == "Crimson" then
  3041. SKILL1TEXT.Text = "[B] Limited Banish"
  3042. SKILL2TEXT.Text = "[V] Banish Teleport"
  3043. sick.SoundId = "rbxassetid://1140442110"
  3044. elseif CHOSENBRICK == "Carnation pink" then
  3045. SKILL1TEXT.Text = "[B] Loving Kizzu"
  3046. SKILL2TEXT.Text = "[V] Heart Friend"
  3047. sick.SoundId = "rbxassetid://1131624146"
  3048. elseif CHOSENBRICK == "Really black" then
  3049. SKILL1TEXT.Text = "[B] Dark Blades"
  3050. SKILL2TEXT.Text = "[V] Black Hole Puddle"
  3051. sick.SoundId = "rbxassetid://342929664"
  3052. elseif CHOSENBRICK == "White" then
  3053. SKILL1TEXT.Text = "[B] Light Array"
  3054. SKILL2TEXT.Text = "[V] Oblivion"
  3055. sick.SoundId = "rbxassetid://395351949"
  3056. end
  3057. end
  3058.  
  3059. --//=================================\\
  3060. --\\=================================//
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066. --//====================================================\\--
  3067. --|| END OF SCRIPT
  3068. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement