Advertisement
SonicrixLP

ginT 4

Jul 16th, 2018
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 113.17 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(0,0,0)
  18. text.Text = "Justice God"
  19.  
  20. --//====================================================\\--
  21. --|| EDIT BY VOYQGO
  22. --\\====================================================//--
  23.  
  24. script:ClearAllChildren()
  25. wait(0.2)
  26.  
  27. Player = game:GetService("Players").LocalPlayer
  28. PlayerGui = Player.PlayerGui
  29. Cam = workspace.CurrentCamera
  30. Backpack = Player.Backpack
  31. Character = Player.Character
  32. Humanoid = Character.Humanoid
  33. Mouse = Player:GetMouse()
  34. RootPart = Character["HumanoidRootPart"]
  35. Torso = Character["Torso"]
  36. Head = Character["Head"]
  37. RightArm = Character["Right Arm"]
  38. LeftArm = Character["Left Arm"]
  39. RightLeg = Character["Right Leg"]
  40. LeftLeg = Character["Left Leg"]
  41. RootJoint = RootPart["RootJoint"]
  42. Neck = Torso["Neck"]
  43. RightShoulder = Torso["Right Shoulder"]
  44. LeftShoulder = Torso["Left Shoulder"]
  45. RightHip = Torso["Right Hip"]
  46. LeftHip = Torso["Left Hip"]
  47. local TIME = 0
  48. local sick = Instance.new("Sound",Torso)
  49.  
  50. IT = Instance.new
  51. CF = CFrame.new
  52. VT = Vector3.new
  53. RAD = math.rad
  54. C3 = Color3.new
  55. UD2 = UDim2.new
  56. BRICKC = BrickColor.new
  57. ANGLES = CFrame.Angles
  58. EULER = CFrame.fromEulerAnglesXYZ
  59. COS = math.cos
  60. ACOS = math.acos
  61. SIN = math.sin
  62. ASIN = math.asin
  63. ABS = math.abs
  64. MRANDOM = math.random
  65. FLOOR = math.floor
  66.  
  67. --//=================================\\
  68. --|| USEFUL VALUES
  69. --\\=================================//
  70.  
  71. Animation_Speed = 3
  72. local FORCERESET = false
  73. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  74. local Speed = 16
  75. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  76. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  77. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  78. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  79. local DAMAGEMULTIPLIER = 1
  80. local ANIM = "Idle"
  81. local ATTACK = false
  82. local EQUIPPED = false
  83. local HOLD = false
  84. local COMBO = 1
  85. local Rooted = false
  86. local SINE = 0
  87. local KEYHOLD = false
  88. local CHANGE = 2 / Animation_Speed
  89. local WALKINGANIM = false
  90. local VALUE1 = false
  91. local VALUE2 = false
  92. local ROBLOXIDLEANIMATION = IT("Animation")
  93. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  94. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  95. --ROBLOXIDLEANIMATION.Parent = Humanoid
  96. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  97. WEAPONGUI.Name = "BanishV3Gui"
  98. local Weapon = IT("Model")
  99. Weapon.Name = "Adds"
  100. local Effects = IT("Folder", Weapon)
  101. Effects.Name = "Effects"
  102. local ANIMATOR = Humanoid.Animator
  103. local ANIMATE = Character:FindFirstChild("Animate")
  104. local UNANCHOR = true
  105. local TOBANISH = {}
  106. script.Parent = PlayerGui
  107.  
  108. --//=================================\\
  109. --\\=================================//
  110.  
  111.  
  112. --//=================================\\
  113. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  114. --\\=================================//
  115.  
  116. ArtificialHB = Instance.new("BindableEvent", script)
  117. ArtificialHB.Name = "ArtificialHB"
  118.  
  119. script:WaitForChild("ArtificialHB")
  120.  
  121. frame = Frame_Speed
  122. tf = 0
  123. allowframeloss = false
  124. tossremainder = false
  125. lastframe = tick()
  126. script.ArtificialHB:Fire()
  127.  
  128. game:GetService("RunService").Heartbeat:connect(function(s, p)
  129. tf = tf + s
  130. if tf >= frame then
  131. if allowframeloss then
  132. script.ArtificialHB:Fire()
  133. lastframe = tick()
  134. else
  135. for i = 1, math.floor(tf / frame) do
  136. script.ArtificialHB:Fire()
  137. end
  138. lastframe = tick()
  139. end
  140. if tossremainder then
  141. tf = 0
  142. else
  143. tf = tf - frame * math.floor(tf / frame)
  144. end
  145. end
  146. end)
  147.  
  148. --//=================================\\
  149. --\\=================================//
  150.  
  151. --//=================================\\
  152. --|| SOME FUNCTIONS
  153. --\\=================================//
  154.  
  155. function refit()
  156. Character.Parent = workspace
  157. for e = 1, #BODY do
  158. if BODY[e] ~= nil then
  159. local STUFF = BODY[e]
  160. local PART = STUFF[1]
  161. local PARENT = STUFF[2]
  162. local MATERIAL = STUFF[3]
  163. local COLOR = STUFF[4]
  164. local TRANSPARENCY = STUFF[5]
  165. if PART.ClassName == "Part" and PART ~= RootPart then
  166. PART.Material = MATERIAL
  167. PART.Color = COLOR
  168. PART.Transparency = TRANSPARENCY
  169. end
  170. if PART.Parent ~= PARENT then
  171. Humanoid:remove()
  172. PART.Parent = PARENT
  173. Humanoid = IT("Humanoid",Character)
  174. end
  175. end
  176. end
  177. end
  178. function GoombaStomp(OBJECT)
  179. for _, c in pairs(OBJECT:GetChildren()) do
  180. if c:IsA("BasePart") then
  181. c.Size = VT(c.Size.X,0,c.Size.Z)
  182. end
  183. end
  184. end
  185.  
  186. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  187. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  188. end
  189.  
  190. function PositiveAngle(NUMBER)
  191. if NUMBER >= 0 then
  192. NUMBER = 0
  193. end
  194. return NUMBER
  195. end
  196.  
  197. function NegativeAngle(NUMBER)
  198. if NUMBER <= 0 then
  199. NUMBER = 0
  200. end
  201. return NUMBER
  202. end
  203.  
  204. function Swait(NUMBER)
  205. if NUMBER == 0 or NUMBER == nil then
  206. ArtificialHB.Event:wait()
  207. else
  208. for i = 1, NUMBER do
  209. ArtificialHB.Event:wait()
  210. end
  211. end
  212. end
  213.  
  214. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  215. local NEWMESH = IT(MESH)
  216. if MESH == "SpecialMesh" then
  217. NEWMESH.MeshType = MESHTYPE
  218. if MESHID ~= "nil" and MESHID ~= "" then
  219. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  220. end
  221. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  222. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  223. end
  224. end
  225. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  226. NEWMESH.Scale = SCALE
  227. NEWMESH.Parent = PARENT
  228. return NEWMESH
  229. end
  230.  
  231. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  232. local NEWPART = IT("Part")
  233. NEWPART.formFactor = FORMFACTOR
  234. NEWPART.Reflectance = REFLECTANCE
  235. NEWPART.Transparency = TRANSPARENCY
  236. NEWPART.CanCollide = false
  237. NEWPART.Locked = true
  238. NEWPART.Anchored = true
  239. if ANCHOR == false then
  240. NEWPART.Anchored = false
  241. end
  242. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  243. NEWPART.Name = NAME
  244. NEWPART.Size = SIZE
  245. NEWPART.Position = Torso.Position
  246. NEWPART.Material = MATERIAL
  247. NEWPART:BreakJoints()
  248. NEWPART.Parent = PARENT
  249. return NEWPART
  250. end
  251.  
  252. local function weldBetween(a, b)
  253. local weldd = Instance.new("ManualWeld")
  254. weldd.Part0 = a
  255. weldd.Part1 = b
  256. weldd.C0 = CFrame.new()
  257. weldd.C1 = b.CFrame:inverse() * a.CFrame
  258. weldd.Parent = a
  259. return weldd
  260. end
  261.  
  262.  
  263. function QuaternionFromCFrame(cf)
  264. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  265. local trace = m00 + m11 + m22
  266. if trace > 0 then
  267. local s = math.sqrt(1 + trace)
  268. local recip = 0.5 / s
  269. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  270. else
  271. local i = 0
  272. if m11 > m00 then
  273. i = 1
  274. end
  275. if m22 > (i == 0 and m00 or m11) then
  276. i = 2
  277. end
  278. if i == 0 then
  279. local s = math.sqrt(m00 - m11 - m22 + 1)
  280. local recip = 0.5 / s
  281. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  282. elseif i == 1 then
  283. local s = math.sqrt(m11 - m22 - m00 + 1)
  284. local recip = 0.5 / s
  285. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  286. elseif i == 2 then
  287. local s = math.sqrt(m22 - m00 - m11 + 1)
  288. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  289. end
  290. end
  291. end
  292.  
  293. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  294. local xs, ys, zs = x + x, y + y, z + z
  295. local wx, wy, wz = w * xs, w * ys, w * zs
  296. local xx = x * xs
  297. local xy = x * ys
  298. local xz = x * zs
  299. local yy = y * ys
  300. local yz = y * zs
  301. local zz = z * zs
  302. 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))
  303. end
  304.  
  305. function QuaternionSlerp(a, b, t)
  306. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  307. local startInterp, finishInterp;
  308. if cosTheta >= 0.0001 then
  309. if (1 - cosTheta) > 0.0001 then
  310. local theta = ACOS(cosTheta)
  311. local invSinTheta = 1 / SIN(theta)
  312. startInterp = SIN((1 - t) * theta) * invSinTheta
  313. finishInterp = SIN(t * theta) * invSinTheta
  314. else
  315. startInterp = 1 - t
  316. finishInterp = t
  317. end
  318. else
  319. if (1 + cosTheta) > 0.0001 then
  320. local theta = ACOS(-cosTheta)
  321. local invSinTheta = 1 / SIN(theta)
  322. startInterp = SIN((t - 1) * theta) * invSinTheta
  323. finishInterp = SIN(t * theta) * invSinTheta
  324. else
  325. startInterp = t - 1
  326. finishInterp = t
  327. end
  328. end
  329. 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
  330. end
  331.  
  332. function Clerp(a, b, t)
  333. local qa = {QuaternionFromCFrame(a)}
  334. local qb = {QuaternionFromCFrame(b)}
  335. local ax, ay, az = a.x, a.y, a.z
  336. local bx, by, bz = b.x, b.y, b.z
  337. local _t = 1 - t
  338. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  339. end
  340.  
  341. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  342. local frame = IT("Frame")
  343. frame.BackgroundTransparency = TRANSPARENCY
  344. frame.BorderSizePixel = BORDERSIZEPIXEL
  345. frame.Position = POSITION
  346. frame.Size = SIZE
  347. frame.BackgroundColor3 = COLOR
  348. frame.BorderColor3 = BORDERCOLOR
  349. frame.Name = NAME
  350. frame.Parent = PARENT
  351. return frame
  352. end
  353.  
  354. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  355. local label = IT("TextLabel")
  356. label.BackgroundTransparency = 1
  357. label.Size = UD2(1, 0, 1, 0)
  358. label.Position = UD2(0, 0, 0, 0)
  359. label.TextColor3 = TEXTCOLOR
  360. label.TextStrokeTransparency = STROKETRANSPARENCY
  361. label.TextTransparency = TRANSPARENCY
  362. label.FontSize = TEXTFONTSIZE
  363. label.Font = TEXTFONT
  364. label.BorderSizePixel = BORDERSIZEPIXEL
  365. label.TextScaled = false
  366. label.Text = TEXT
  367. label.Name = NAME
  368. label.Parent = PARENT
  369. return label
  370. end
  371.  
  372. function NoOutlines(PART)
  373. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  374. end
  375.  
  376. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  377. local NEWWELD = IT(TYPE)
  378. NEWWELD.Part0 = PART0
  379. NEWWELD.Part1 = PART1
  380. NEWWELD.C0 = C0
  381. NEWWELD.C1 = C1
  382. NEWWELD.Parent = PARENT
  383. return NEWWELD
  384. end
  385.  
  386. local S = IT("Sound")
  387. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  388. local NEWSOUND = nil
  389. coroutine.resume(coroutine.create(function()
  390. NEWSOUND = S:Clone()
  391. NEWSOUND.Parent = PARENT
  392. NEWSOUND.Volume = VOLUME
  393. NEWSOUND.Pitch = PITCH
  394. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  395. NEWSOUND:play()
  396. if DOESLOOP == true then
  397. NEWSOUND.Looped = true
  398. else
  399. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  400. NEWSOUND:remove()
  401. end
  402. end))
  403. return NEWSOUND
  404. end
  405.  
  406. function CFrameFromTopBack(at, top, back)
  407. local right = top:Cross(back)
  408. 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)
  409. end
  410.  
  411. --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})
  412. function WACKYEFFECT(Table)
  413. local TYPE = (Table.EffectType or "Sphere")
  414. local SIZE = (Table.Size or VT(1,1,1))
  415. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  416. local TRANSPARENCY = (Table.Transparency or 0)
  417. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  418. local CFRAME = (Table.CFrame or Torso.CFrame)
  419. local MOVEDIRECTION = (Table.MoveToPos or nil)
  420. local ROTATION1 = (Table.RotationX or 0)
  421. local ROTATION2 = (Table.RotationY or 0)
  422. local ROTATION3 = (Table.RotationZ or 0)
  423. local MATERIAL = (Table.Material or "Neon")
  424. local COLOR = (Table.Color or C3(1,1,1))
  425. local TIME = (Table.Time or 45)
  426. local SOUNDID = (Table.SoundID or nil)
  427. local SOUNDPITCH = (Table.SoundPitch or nil)
  428. local SOUNDVOLUME = (Table.SoundVolume or nil)
  429. coroutine.resume(coroutine.create(function()
  430. local PLAYSSOUND = false
  431. local SOUND = nil
  432. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  433. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  434. PLAYSSOUND = true
  435. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  436. end
  437. EFFECT.Color = COLOR
  438. local MSH = nil
  439. if TYPE == "Sphere" then
  440. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  441. elseif TYPE == "Block" then
  442. MSH = IT("BlockMesh",EFFECT)
  443. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  444. elseif TYPE == "Wave" then
  445. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  446. elseif TYPE == "Ring" then
  447. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  448. elseif TYPE == "Slash" then
  449. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  450. elseif TYPE == "Round Slash" then
  451. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  452. elseif TYPE == "Swirl" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  454. elseif TYPE == "Skull" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  456. elseif TYPE == "Crystal" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  458. end
  459. if MSH ~= nil then
  460. local MOVESPEED = nil
  461. if MOVEDIRECTION ~= nil then
  462. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  463. end
  464. local GROWTH = SIZE - ENDSIZE
  465. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  466. if TYPE == "Block" then
  467. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  468. else
  469. EFFECT.CFrame = CFRAME
  470. end
  471. for LOOP = 1, TIME+1 do
  472. Swait()
  473. MSH.Scale = MSH.Scale - GROWTH/TIME
  474. if TYPE == "Wave" then
  475. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  476. end
  477. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  478. if TYPE == "Block" then
  479. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  480. else
  481. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  482. end
  483. if MOVEDIRECTION ~= nil then
  484. local ORI = EFFECT.Orientation
  485. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  486. EFFECT.Orientation = ORI
  487. end
  488. end
  489. if PLAYSSOUND == false then
  490. EFFECT:remove()
  491. else
  492. SOUND.Stopped:Connect(function()
  493. EFFECT:remove()
  494. end)
  495. end
  496. else
  497. if PLAYSSOUND == false then
  498. EFFECT:remove()
  499. else
  500. repeat Swait() until SOUND.Playing == false
  501. EFFECT:remove()
  502. end
  503. end
  504. end))
  505. end
  506. function MakeForm(PART,TYPE)
  507. if TYPE == "Cyl" then
  508. local MSH = IT("CylinderMesh",PART)
  509. elseif TYPE == "Ball" then
  510. local MSH = IT("SpecialMesh",PART)
  511. MSH.MeshType = "Sphere"
  512. elseif TYPE == "Wedge" then
  513. local MSH = IT("SpecialMesh",PART)
  514. MSH.MeshType = "Wedge"
  515. end
  516. end
  517.  
  518. function SpawnTrail(FROM,TO,BIG)
  519. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  520. MakeForm(TRAIL,"Cyl")
  521. local DIST = (FROM - TO).Magnitude
  522. if BIG == true then
  523. TRAIL.Size = VT(0.5,DIST,0.5)
  524. else
  525. TRAIL.Size = VT(0.25,DIST,0.25)
  526. end
  527. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  528. coroutine.resume(coroutine.create(function()
  529. for i = 1, 5 do
  530. Swait()
  531. TRAIL.Transparency = TRAIL.Transparency + 0.1
  532. end
  533. TRAIL:remove()
  534. end))
  535. end
  536.  
  537. Debris = game:GetService("Debris")
  538.  
  539. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  540. local DIRECTION = CF(StartPos,EndPos).lookVector
  541. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  542. end
  543.  
  544. function turnto(position)
  545. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  546. end
  547. function MakeForm(PART,TYPE)
  548. if TYPE == "Cyl" then
  549. local MSH = IT("CylinderMesh",PART)
  550. elseif TYPE == "Ball" then
  551. local MSH = IT("SpecialMesh",PART)
  552. MSH.MeshType = "Sphere"
  553. elseif TYPE == "Wedge" then
  554. local MSH = IT("SpecialMesh",PART)
  555. MSH.MeshType = "Wedge"
  556. end
  557. end
  558.  
  559. function SpawnTrail(FROM,TO,BIG)
  560. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  561. MakeForm(TRAIL,"Cyl")
  562. local DIST = (FROM - TO).Magnitude
  563. if BIG == true then
  564. TRAIL.Size = VT(0.5,DIST,0.5)
  565. else
  566. TRAIL.Size = VT(0.25,DIST,0.25)
  567. end
  568. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  569. coroutine.resume(coroutine.create(function()
  570. for i = 1, 5 do
  571. Swait()
  572. TRAIL.Transparency = TRAIL.Transparency + 0.1
  573. end
  574. TRAIL:remove()
  575. end))
  576. end
  577.  
  578. Debris = game:GetService("Debris")
  579.  
  580. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  581. local DIRECTION = CF(StartPos,EndPos).lookVector
  582. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  583. end
  584.  
  585. function turnto(position)
  586. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  587. end
  588.  
  589. local asd = Instance.new("ParticleEmitter")
  590. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  591. asd.LightEmission = .1
  592. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  593. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  594. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  595. asd.Transparency = bbb
  596. asd.Size = aaa
  597. asd.ZOffset = .9
  598. asd.Acceleration = Vector3.new(0, -15, 0)
  599. asd.LockedToPart = false
  600. asd.EmissionDirection = "Back"
  601. asd.Lifetime = NumberRange.new(1, 2)
  602. asd.Rotation = NumberRange.new(-100, 100)
  603. asd.RotSpeed = NumberRange.new(-100, 100)
  604. asd.Speed = NumberRange.new(10)
  605. asd.Enabled = false
  606. asd.VelocitySpread = 999
  607.  
  608. function getbloody(victim,amount)
  609. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  610. PART.CFrame = victim.CFrame
  611. local HITPLAYERSOUNDS = {"356551938","264486467"}
  612. Debris:AddItem(PART,5)
  613. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  614. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  615. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  616. local prtcl = asd:Clone()
  617. prtcl.Parent = PART
  618. prtcl:Emit(amount*10)
  619. end
  620.  
  621. local Particle = IT("ParticleEmitter",nil)
  622. Particle.Enabled = false
  623. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  624. Particle.LightEmission = 0.5
  625. Particle.Rate = 150
  626. Particle.ZOffset = 1
  627. Particle.Rotation = NumberRange.new(-180, 180)
  628. Particle.RotSpeed = NumberRange.new(-180, 180)
  629. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  630. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  631.  
  632. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  633. function ParticleEmitter(Table)
  634. local PRTCL = Particle:Clone()
  635. local Speed = Table.Speed or 5
  636. local Drag = Table.Drag or 0
  637. local Size1 = Table.Size1 or 1
  638. local Size2 = Table.Size2 or 5
  639. local Lifetime1 = Table.Lifetime1 or 1
  640. local Lifetime2 = Table.Lifetime2 or 1.5
  641. local Parent = Table.Parent or Torso
  642. local Emit = Table.Emit or 100
  643. local Offset = Table.Offset or 360
  644. local Acel = Table.Acel or VT(0,0,0)
  645. local Enabled = Table.Enabled or false
  646. PRTCL.Parent = Parent
  647. PRTCL.Size = NumberSequence.new(Size1,Size2)
  648. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  649. PRTCL.Speed = NumberRange.new(Speed)
  650. PRTCL.VelocitySpread = Offset
  651. PRTCL.Drag = Drag
  652. PRTCL.Acceleration = Acel
  653. if Enabled == false then
  654. PRTCL:Emit(Emit)
  655. Debris:AddItem(PRTCL,Lifetime2)
  656. else
  657. PRTCL.Enabled = true
  658. end
  659. return PRTCL
  660. end
  661. function MakeForm(PART,TYPE)
  662. if TYPE == "Cyl" then
  663. local MSH = IT("CylinderMesh",PART)
  664. elseif TYPE == "Ball" then
  665. local MSH = IT("SpecialMesh",PART)
  666. MSH.MeshType = "Sphere"
  667. elseif TYPE == "Wedge" then
  668. local MSH = IT("SpecialMesh",PART)
  669. MSH.MeshType = "Wedge"
  670. end
  671. end
  672.  
  673. Debris = game:GetService("Debris")
  674.  
  675. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  676. local DIRECTION = CF(StartPos,EndPos).lookVector
  677. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  678. end
  679.  
  680. local HATWELD = nil
  681. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  682. PLAYMAINANIM = false
  683. if WhichPose == "Cast1" then
  684. for i=0, Time, 0.1 / Animation_Speed do
  685. Swait()
  686. if Magic == true then
  687. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  688. end
  689. if Gyro ~= nil and Gyro ~= false then
  690. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  691. end
  692. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  693. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  694. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  695. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  696. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  697. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  698. end
  699. elseif WhichPose == "Cast2" then
  700. for i=0, Time, 0.1 / Animation_Speed do
  701. Swait()
  702. if Magic == true then
  703. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  704. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  705. end
  706. if Gyro ~= nil and Gyro ~= false then
  707. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  708. end
  709. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  710. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  713. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  715. end
  716. elseif WhichPose == "RightArmUp" then
  717. for i=0, Time, 0.1 / Animation_Speed do
  718. Swait()
  719. if Magic == true then
  720. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  721. end
  722. if Gyro ~= nil and Gyro ~= false then
  723. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  724. end
  725. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  726. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  727. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  729. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  730. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  731. end
  732. elseif WhichPose == "Taunt" then
  733. for i=0, Time, 0.1 / Animation_Speed do
  734. Swait()
  735. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  736. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  737. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  738. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  739. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  740. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  741. end
  742. HATWELD.Part0 = RightArm
  743. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  744. CreateSound(221057812,Torso,10,1,false)
  745. for i=0, Time*2, 0.1 / Animation_Speed do
  746. Swait()
  747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  751. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  753. end
  754. for i=0, Time, 0.1 / Animation_Speed do
  755. Swait()
  756. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  757. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  758. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  759. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  760. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  761. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  762. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  763. end
  764. HATWELD.Part0 = Head
  765. HATWELD.C0 = CF(0,0.35,0)
  766. elseif WhichPose == "Prepare key" then
  767. for i=0, Time, 0.1 / Animation_Speed do
  768. Swait()
  769. if Gyro ~= nil and Gyro ~= false then
  770. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  771. end
  772. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  778. end
  779. elseif WhichPose == "Turn key" then
  780. for i=0, Time, 0.1 / Animation_Speed do
  781. Swait()
  782. if Gyro ~= nil and Gyro ~= false then
  783. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  784. end
  785. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  786. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  787. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  788. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  789. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  790. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  791. end
  792. end
  793. PLAYMAINANIM = true
  794. end
  795.  
  796. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  797. function Lightning(Table)
  798. local Color = Table.Color or C3(1,1,1)
  799. local StartPos = Table.Start or Torso.Position
  800. local EndPos = Table.End or Mouse.Hit.p
  801. local SegmentLength = Table.SegmentL or 2
  802. local Thickness = Table.Thickness or 0.1
  803. local Dissapear = Table.DoesFade or false
  804. local Parent = Table.Ignore or Character
  805. local MaxDist = Table.MaxDist or 400
  806. local Branches = Table.Branches or false
  807. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  808. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  809. local LIGHTNINGMODEL = IT("Model",Effects)
  810. LIGHTNINGMODEL.Name = "Lightning"
  811. local LastBolt = nil
  812. for E = 1, DISTANCE do
  813. local ExtraSize = (DISTANCE-E)/15
  814. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  815. PART.Color = Color
  816. MakeForm(PART,"Cyl")
  817. if LastBolt == nil then
  818. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  819. else
  820. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  821. end
  822. LastBolt = PART
  823. if Branches == true then
  824. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  825. if CHOICE == 1 then
  826. local LASTBRANCH = nil
  827. for i = 1, MRANDOM(2,5) do
  828. local ExtraSize2 = ((DISTANCE-E)/25)/i
  829. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  830. PART.Color = Color
  831. MakeForm(PART,"Cyl")
  832. if LASTBRANCH == nil then
  833. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  834. else
  835. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  836. end
  837. LASTBRANCH = PART
  838. end
  839. end
  840. end
  841. end
  842. if Dissapear == true then
  843. coroutine.resume(coroutine.create(function()
  844. for i = 1, 10 do
  845. Swait()
  846. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  847. if c.ClassName == "Part" then
  848. c.Transparency = i/10
  849. end
  850. end
  851. end
  852. LIGHTNINGMODEL:remove()
  853. end))
  854. elseif Dissapear == false then
  855. Debris:AddItem(LIGHTNINGMODEL,0.1)
  856. end
  857. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  858. end
  859.  
  860. --//=================================\\
  861. --|| WEAPON CREATION
  862. --\\=================================//
  863.  
  864. for i = 1, 15 do
  865. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  866. FACE.Color = C3(0,0,0)
  867. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  868. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  869. end
  870. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(2,0.2,2),false)
  871. MakeForm(HAT1,"Cyl")
  872. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  873. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(2.01,0.15,2.01),false)
  874. BELT.Color = C3(15/255,15/255,15/255)
  875. MakeForm(BELT,"Cyl")
  876. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  877. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.3,2.2,1.3),false)
  878. MakeForm(HAT2,"Cyl")
  879. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  880. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "RReally red", "Hat", VT(1.31,0.2,1.31),false)
  881. BELT.Color = C3(15/255,15/255,15/255)
  882. MakeForm(BELT,"Cyl")
  883. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  884. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.25,0.25,0.1),false)
  885. MakeForm(GEM,"Ball")
  886. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  887. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.25,0.25,0.1),false)
  888. MakeForm(GEM,"Ball")
  889. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  890. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.1,0.25,0.25),false)
  891. MakeForm(GEM,"Ball")
  892. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  893. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Lavender", "Really red", VT(0.1,0.25,0.25),false)
  894. MakeForm(GEM,"Ball")
  895. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  896. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
  897. BELT.Color = C3(15/255,15/255,15/255)
  898. MakeForm(BELT,"Cyl")
  899. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  900. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
  901. BELT.Color = C3(15/255,15/255,15/255)
  902. MakeForm(BELT,"Cyl")
  903. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  904. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
  905. BELT.Color = C3(15/255,15/255,15/255)
  906. MakeForm(BELT,"Cyl")
  907. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  908. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.31,0.1,1.31),false)
  909. BELT.Color = C3(15/255,15/255,15/255)
  910. MakeForm(BELT,"Cyl")
  911. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  912. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really red", "Hat", VT(1.3,0.5,1.3),false)
  913. MakeForm(BELT,"Ball")
  914. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  915.  
  916.  
  917.  
  918. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  919. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  920. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  921. MakeForm(Part,"Wedge")
  922. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  923. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  924. MakeForm(Part,"Wedge")
  925. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  926. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  927. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  928. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  931. MakeForm(Part,"Cyl")
  932. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  933. for i = 1, 8 do
  934. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  935. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  936. end
  937. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  938. MakeForm(Part,"Cyl")
  939. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  940. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  941. MakeForm(Part,"Ball")
  942. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  943. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  944. MakeForm(Part,"Wedge")
  945. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  946. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  947. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  948. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  949. MakeForm(Part,"Cyl")
  950. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  951. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  952. MakeForm(Part,"Cyl")
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  955. MakeForm(Part,"Cyl")
  956. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  957. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  958. MakeForm(Part,"Wedge")
  959. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  960. local LASTPART = Handle
  961. for i = 1, 10 do
  962. if LASTPART == Handle then
  963. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  964. LASTPART = Part
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  966. else
  967. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  968. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  969. LASTPART = Part
  970. end
  971. end
  972.  
  973. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  974. MakeForm(Barrel,"Cyl")
  975. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  976. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  977. MakeForm(Part,"Cyl")
  978. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  979. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  980. MakeForm(Part,"Wedge")
  981. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  982. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  983. MakeForm(Hole,"Cyl")
  984. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  985. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  986. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  987. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  988. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  989. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  990. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  991. coroutine.resume(coroutine.create(function()
  992. while wait() do
  993. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  994. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  995. end
  996. end))
  997.  
  998. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.15,0.15,0.15),false)
  999. MakeForm(EYE,"Ball")
  1000. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
  1001. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Lilac", "FaceGradient", VT(0.05,0.14,0.05),false)
  1002. EYE.Color = C3(0,0,0)
  1003. MakeForm(EYE,"Ball")
  1004. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
  1005.  
  1006. local A = IT("Attachment",Torso)
  1007. A.Position = VT(1,1.3,0)
  1008. A.Orientation = VT(-0.098, -89.999, 0.227)
  1009. local B = IT("Attachment",Torso)
  1010. B.Position = VT(-1.3,-0.6,0)
  1011. B.Orientation = VT(-88.911, -68.808, 158.782)
  1012. local ChainLink = IT("Beam",Torso)
  1013. ChainLink.Texture = "rbxassetid://343533707"
  1014. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1015. ChainLink.TextureSpeed = 1
  1016. ChainLink.FaceCamera = true
  1017. ChainLink.Width0 = 1
  1018. ChainLink.Width1 = 1
  1019. ChainLink.TextureLength = 3
  1020. ChainLink.Attachment0 = A
  1021. ChainLink.Attachment1 = B
  1022. ChainLink.CurveSize0 = 1.6
  1023. ChainLink.CurveSize1 = 1.6
  1024. ChainLink.FaceCamera = true
  1025. ChainLink.Transparency = NumberSequence.new(0)
  1026. local ChainLink = IT("Beam",Torso)
  1027. ChainLink.Texture = "rbxassetid://343533707"
  1028. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1029. ChainLink.TextureSpeed = 1
  1030. ChainLink.FaceCamera = true
  1031. ChainLink.Width0 = 1
  1032. ChainLink.Width1 = 1
  1033. ChainLink.TextureLength = 3
  1034. ChainLink.Attachment0 = B
  1035. ChainLink.Attachment1 = A
  1036. ChainLink.CurveSize0 = 1.6
  1037. ChainLink.CurveSize1 = 1.6
  1038. ChainLink.FaceCamera = true
  1039. ChainLink.Transparency = NumberSequence.new(0)
  1040. local A = IT("Attachment",Torso)
  1041. A.Position = VT(1.3,-0.85,0)
  1042. A.Orientation = VT(-0.098, -89.999, 0.227)
  1043. local B = IT("Attachment",Torso)
  1044. B.Position = VT(-1,2,0)
  1045. B.Orientation = VT(-88.911, -68.808, 158.782)
  1046. local ChainLink = IT("Beam",Torso)
  1047. ChainLink.Texture = "rbxassetid://343533707"
  1048. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1049. ChainLink.TextureSpeed = 1
  1050. ChainLink.FaceCamera = true
  1051. ChainLink.Width0 = 1
  1052. ChainLink.Width1 = 1
  1053. ChainLink.TextureLength = 3
  1054. ChainLink.Attachment0 = A
  1055. ChainLink.Attachment1 = B
  1056. ChainLink.CurveSize0 = 1.3
  1057. ChainLink.CurveSize1 = 1.3
  1058. ChainLink.FaceCamera = true
  1059. ChainLink.Transparency = NumberSequence.new(0)
  1060. local ChainLink = IT("Beam",Torso)
  1061. ChainLink.Texture = "rbxassetid://343533707"
  1062. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1063. ChainLink.TextureSpeed = 1
  1064. ChainLink.FaceCamera = true
  1065. ChainLink.Width0 = 1
  1066. ChainLink.Width1 = 1
  1067. ChainLink.TextureLength = 3
  1068. ChainLink.Attachment0 = B
  1069. ChainLink.Attachment1 = A
  1070. ChainLink.CurveSize0 = 1.3
  1071. ChainLink.CurveSize1 = 1.3
  1072. ChainLink.FaceCamera = true
  1073. ChainLink.Transparency = NumberSequence.new(0)
  1074.  
  1075. local A = IT("Attachment",RightBarrel)
  1076. A.Position = VT(0,-2.5,0)
  1077. local B = IT("Attachment",RightBarrel)
  1078. B.Position = VT(0,2.5,0)
  1079. local Trail = IT("Trail",RightBarrel)
  1080. Trail.Attachment0 = A
  1081. Trail.Attachment1 = B
  1082. Trail.Lifetime = 0.2
  1083. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1084. Trail.Transparency = NumberSequence.new(0, 1)
  1085. Trail.Enabled = false
  1086.  
  1087. for _, c in pairs(Weapon:GetDescendants()) do
  1088. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1089. c.Material = "Glass"
  1090. c.Color = C3(0,0,0)
  1091. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1092. c.Color = C3(1,0,0)
  1093. c.Material = "Neon"
  1094. end
  1095. end
  1096.  
  1097. Weapon.Parent = Character
  1098. for _, c in pairs(Weapon:GetChildren()) do
  1099. if c.ClassName == "Part" then
  1100. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1101. end
  1102. end
  1103.  
  1104. local SKILLTEXTCOLOR = C3(1,0,0)
  1105. local SKILLFONT = "Antique"
  1106. local SKILLTEXTSIZE = 7
  1107.  
  1108. Humanoid.Died:connect(function()
  1109. refit()
  1110. end)
  1111.  
  1112. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1113. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1114. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1115. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1116. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1117. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1118. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1119.  
  1120. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ultimate shot", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  1121. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Equivalent Pain", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  1122. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Smite", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1123. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] VoidWarp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1124. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Meteor_Shower", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  1125. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] Pitiful", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1126. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1127.  
  1128. function printbye(Name)
  1129. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1130. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1131. end
  1132.  
  1133. workspace.ChildAdded:connect(function(instance)
  1134. for BANISH = 1, #TOBANISH do
  1135. if TOBANISH[BANISH] ~= nil then
  1136. if instance.Name == TOBANISH[BANISH] then
  1137. coroutine.resume(coroutine.create(function()
  1138. printbye(instance.Name)
  1139. instance:ClearAllChildren()
  1140. Debris:AddItem(instance,0.0005)
  1141. end))
  1142. end
  1143. end
  1144. end
  1145. end)
  1146.  
  1147. --//=================================\\
  1148. --|| DAMAGING
  1149. --\\=================================//
  1150.  
  1151. function Banish(Foe)
  1152. if Foe then
  1153. coroutine.resume(coroutine.create(function()
  1154. --if game.Players:FindFirstChild(Foe.Name) then
  1155. table.insert(TOBANISH,Foe.Name)
  1156. printbye(Foe.Name)
  1157. --end
  1158. Foe.Archivable = true
  1159. local CLONE = Foe:Clone()
  1160. Foe:Destroy()
  1161. CLONE.Parent = Effects
  1162. CLONE:BreakJoints()
  1163. local MATERIALS = {"Glass","Neon"}
  1164. for _, c in pairs(CLONE:GetDescendants()) do
  1165. if c:IsA("BasePart") then
  1166. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1167. CreateSound(340722848, c, 10, 1, false)
  1168. end
  1169. c.Anchored = true
  1170. c.Transparency = c.Transparency + 0.2
  1171. c.Material = MATERIALS[MRANDOM(1,2)]
  1172. c.Color = C3(1,0,0)
  1173. if c.ClassName == "MeshPart" then
  1174. c.TextureID = ""
  1175. end
  1176. if c:FindFirstChildOfClass("SpecialMesh") then
  1177. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1178. end
  1179. if c:FindFirstChildOfClass("Decal") then
  1180. c:FindFirstChildOfClass("Decal"):remove()
  1181. end
  1182. c.Name = "Banished"
  1183. c.CanCollide = false
  1184. else
  1185. c:remove()
  1186. end
  1187. end
  1188. local A = false
  1189. for i = 1, 35 do
  1190. if A == false then
  1191. A = true
  1192. elseif A == true then
  1193. A = false
  1194. end
  1195. for _, c in pairs(CLONE:GetDescendants()) do
  1196. if c:IsA("BasePart") then
  1197. c.Anchored = true
  1198. c.Material = MATERIALS[MRANDOM(1,2)]
  1199. c.Transparency = c.Transparency + 0.8/35
  1200. if A == false then
  1201. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1202. elseif A == true then
  1203. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1204. end
  1205. end
  1206. end
  1207. Swait()
  1208. end
  1209. CLONE:remove()
  1210. end))
  1211. end
  1212. end
  1213.  
  1214. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1215. local CHILDREN = workspace:GetDescendants()
  1216. for index, CHILD in pairs(CHILDREN) do
  1217. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1218. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1219. if HUM then
  1220. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1221. if TORSO then
  1222. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1223. if ISBANISH == true then
  1224. Banish(CHILD)
  1225. else
  1226. if ISBANISH == "Gravity" then
  1227. HUM.PlatformStand = true
  1228. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1229. local grav = Instance.new("BodyPosition",TORSO)
  1230. grav.D = 15
  1231. grav.P = 20000
  1232. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1233. grav.position = TORSO.Position
  1234. grav.Name = "V3BanishForce"..Player.Name
  1235. else
  1236. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1237. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1238. end
  1239. else
  1240. HUM.PlatformStand = false
  1241. end
  1242. end
  1243. elseif ISBANISH == "Gravity" then
  1244. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1245. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1246. HUM.PlatformStand = false
  1247. end
  1248. end
  1249. end
  1250. end
  1251. end
  1252. end
  1253. end
  1254. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1255. if FLOOR ~= nil then
  1256. coroutine.resume(coroutine.create(function()
  1257. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1258. PART.CFrame = CF(POSITION)
  1259. for i = 1, 45 do
  1260. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1261. RingPiece.Material = FLOOR.Material
  1262. RingPiece.Color = FLOOR.Color
  1263. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1264. Debris:AddItem(RingPiece,SWAIT)
  1265. end
  1266. PART:remove()
  1267. end))
  1268. end
  1269. end
  1270. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1271. if FLOOR ~= nil then
  1272. for i = 1, AMOUNT do
  1273. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1274. DEBREE.Material = FLOOR.Material
  1275. DEBREE.Color = FLOOR.Color
  1276. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1277. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1278. coroutine.resume(coroutine.create(function()
  1279. Swait(15)
  1280. DEBREE.Parent = workspace
  1281. DEBREE.CanCollide = true
  1282. Debris:AddItem(DEBREE,SWAIT)
  1283. end))
  1284. end
  1285. end
  1286. end
  1287. function Debree(POS,SWAIT)
  1288. coroutine.resume(coroutine.create(function()
  1289. local HOLDER = IT("Model",Effects)
  1290. HOLDER.Name = "Debree"
  1291. local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1292. MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1293. MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1294. MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1295. repeat Swait() until HITFLOOR ~= nil
  1296. local O = 0
  1297. for i = 1, 18 do
  1298. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  1299. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1300. O = O - (45/4)/5+i/4
  1301. coroutine.resume(coroutine.create(function()
  1302. Swait(SWAIT)
  1303. for i = 1, 60 do
  1304. Swait()
  1305. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  1306. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1307. end
  1308. for i = 1, 50 do
  1309. Swait()
  1310. Part.Size = Part.Size * 0.9
  1311. end
  1312. end))
  1313. end
  1314. local O = 0
  1315. for i = 1, 18 do
  1316. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  1317. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1318. O = O + (45/4)/5-i/4
  1319. coroutine.resume(coroutine.create(function()
  1320. Swait(SWAIT)
  1321. for i = 1, 60 do
  1322. Swait()
  1323. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  1324. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1325. end
  1326. for i = 1, 50 do
  1327. Swait()
  1328. Part.Size = Part.Size * 0.9
  1329. end
  1330. end))
  1331. end
  1332. Swait(SWAIT+110)
  1333. HOLDER:remove()
  1334. end))
  1335. end
  1336. function Kill(Char)
  1337. local NewCharacter = IT("Model",Effects)
  1338. NewCharacter.Name = "Ow im ded ;-;"
  1339. for _, c in pairs(Char:GetDescendants()) do
  1340. if c:IsA("BasePart") and c.Transparency == 0 then
  1341. if c.Parent == Char then
  1342. getbloody(c,5)
  1343. end
  1344. c:BreakJoints()
  1345. c.Material = "Glass"
  1346. c.Color = C3(0.5,0,0)
  1347. c.CanCollide = true
  1348. c.Transparency = 0.3
  1349. if c:FindFirstChildOfClass("SpecialMesh") then
  1350. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1351. end
  1352. if c.Name == "Head" then
  1353. c:ClearAllChildren()
  1354. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1355. end
  1356. if c.ClassName == "MeshPart" then
  1357. c.TextureID = ""
  1358. end
  1359. if c:FindFirstChildOfClass("BodyPosition") then
  1360. c:FindFirstChildOfClass("BodyPosition"):remove()
  1361. end
  1362. if c:FindFirstChildOfClass("ParticleEmitter") then
  1363. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1364. end
  1365. c.Parent = NewCharacter
  1366. c.Name = "DeadPart"
  1367. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1368. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1369. end
  1370. end
  1371. Char:remove()
  1372. Debris:AddItem(NewCharacter,5)
  1373. end
  1374. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1375. local CHILDREN = workspace:GetDescendants()
  1376. for index, CHILD in pairs(CHILDREN) do
  1377. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1378. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1379. if HUM then
  1380. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1381. if TORSO then
  1382. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1383. if BRUTAL == true then
  1384. Kill(CHILD)
  1385. else
  1386. CHILD:BreakJoints()
  1387. end
  1388. end
  1389. end
  1390. end
  1391. end
  1392. end
  1393. end
  1394. function WaveParticles(Position,Size,Color)
  1395. local BASE = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Shockwave", VT(0,0,0), true)
  1396. BASE.CFrame = CF(Position)
  1397. local A = IT("Attachment",BASE)
  1398. local WAVE = script.Wave:Clone()
  1399. WAVE.Parent = A
  1400. WAVE.Size = NumberSequence.new(0,Size)
  1401. WAVE.Color = ColorSequence.new(Color)
  1402. Debris:AddItem(BASE,0.5)
  1403. WAVE:Emit(1)
  1404. end
  1405. function SpawnSmite(POS)
  1406. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1407. local EMITPOS = HITPOS
  1408. if HITFLOOR ~= nil then
  1409. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1410. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1411. EMITPOS = HITPOS
  1412. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1413. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1414. EMITPOS = HITPOS
  1415. end
  1416. end
  1417. if HITFLOOR ~= nil then
  1418. ApplyAoE(EMITPOS,10)
  1419. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1420. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1421. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1422. for i = 1, 5 do
  1423. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1424. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1425. end
  1426. end
  1427. end
  1428.  
  1429. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1430. coroutine.resume(coroutine.create(function()
  1431. local METEOR = IT("Model",Effects)
  1432. METEOR.Name = "Meteorite"
  1433. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1434. METEOR.PrimaryPart = CENTER
  1435. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1436. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1437. for i = 1, 15 do
  1438. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1439. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1440. end
  1441. if ISDEBREE ~= true then
  1442. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1443. else
  1444. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1445. end
  1446. local IMPACT = false
  1447. CreateSound(463593339, CENTER, 10, 0.6)
  1448. if SIZE >= 3.5 then
  1449. for i = 1, MRANDOM(3,7) do
  1450. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1451. end
  1452. end
  1453. for i = 1, 200 do
  1454. Swait()
  1455. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1456. if HITFLOOR == nil then
  1457. local ORI = CENTER.Orientation
  1458. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1459. else
  1460. if HITFLOOR.Anchored == true then
  1461. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1462. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1463. end
  1464. IMPACT = true
  1465. break
  1466. end
  1467. end
  1468. if IMPACT == true then
  1469. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1470. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1471. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1472. ApplyAoE(CENTER.Position,30*SIZE)
  1473. end
  1474. METEOR:remove()
  1475. end))
  1476. end
  1477. function Warp(Victim,WarpToVoid)
  1478. print("Warping "..Victim.Name.."...")
  1479. Victim.Anchored = true
  1480. coroutine.resume(coroutine.create(function()
  1481. local GUI,GUI2 = CreateGUICircle(Victim)
  1482. CreateSound("1208650519", Victim, 10, 1)
  1483. for i = 1, 100 do
  1484. Swait()
  1485. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  1486. GUI2.Rotation = GUI2.Rotation + 4
  1487. end
  1488. CastWarpOutlines(Victim.Parent)
  1489. if WarpToVoid == false then
  1490. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1491. CreateSound("1177785010", Victim, 10, 1)
  1492. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1493. if HUMANOID ~= nil then
  1494. local dmg = MRANDOM(75,95)
  1495. HUMANOID.Health = HUMANOID.Health - dmg
  1496. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1497. end
  1498. for i = 1, 50 do
  1499. Swait()
  1500. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1501. GUI2.Rotation = GUI2.Rotation - 8
  1502. end
  1503. Victim.Anchored = false
  1504. GUI:remove()
  1505. elseif WarpToVoid == true then
  1506. CastWarpOutlines(Victim.Parent)
  1507. q = Victim.Parent:GetChildren()
  1508. for i = 1, #q do
  1509. if q[i] ~= Victim then
  1510. q[i]:remove()
  1511. end
  1512. end
  1513. CreateSound("1177785010", Victim, 10, 1)
  1514. Victim.Transparency = 1
  1515. for i = 1, 50 do
  1516. Swait()
  1517. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1518. GUI2.Rotation = GUI2.Rotation - 8
  1519. end
  1520. Victim.Parent:remove()
  1521. end
  1522. end))
  1523. end
  1524. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  1525. local dmg = math.random(min,max)
  1526. for i,v in ipairs(workspace:GetChildren()) do
  1527. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1528. local body = v:GetChildren()
  1529. for part = 1, #body do
  1530. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1531. if(body[part].Position - position).Magnitude < radius then
  1532. if v.ClassName == "Model" then
  1533. if v:FindFirstChildOfClass("Humanoid") then
  1534. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  1535. if HUMAN.Health ~= 0 then
  1536. if HasChain == true then
  1537. local defence = Instance.new("BoolValue",v)
  1538. defence.Name = ("HitBy"..Player.Name)
  1539. game:GetService("Debris"):AddItem(defence, 1)
  1540. coroutine.resume(coroutine.create(function()
  1541. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1542. if TORSO then
  1543. --print("Found "..v.Name.."'s Torso")
  1544. local PART = IT("Part",Effects)
  1545. PART.Anchored = true
  1546. PART.CanCollide = false
  1547. PART.Transparency = 1
  1548. PART.CFrame = CF(position)
  1549. Debris:AddItem(PART,15)
  1550. local A = IT("Attachment",PART)
  1551. --TORSO.Anchored = true
  1552. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1553. --print("Chain start")
  1554. Front.CFrame = CF(position)
  1555. Front.CanCollide = true
  1556. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1557. local B = IT("Attachment",Front)
  1558. local ChainLink = IT("Beam",Effects)
  1559. ChainLink.Texture = "rbxassetid://1262544869"
  1560. ChainLink.TextureSpeed = 0
  1561. ChainLink.FaceCamera = true
  1562. ChainLink.Width0 = 3
  1563. ChainLink.Attachment0 = A
  1564. ChainLink.Attachment1 = B
  1565. ChainLink.TextureMode = "Static"
  1566. local bv = Instance.new("BodyVelocity")
  1567. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1568. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  1569. bv.Parent = Front
  1570. bv.Name = "MOVE"
  1571. --print("Chain made")
  1572. coroutine.resume(coroutine.create(function()
  1573. Swait(30)
  1574. bv:remove()
  1575. local POS = Front.Position
  1576. Front.CanCollide = false
  1577. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  1578. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  1579. for i = 0, 1, 0.07 do
  1580. Swait()
  1581. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  1582. end
  1583. Front:remove()
  1584. ChainLink:remove()
  1585. end))
  1586. local harm = Front.Touched:Connect(function(hit)
  1587. impale(Front,hit)
  1588. end)
  1589. end
  1590. end))
  1591. elseif DoesWarp == true then
  1592. local defence = Instance.new("BoolValue",v)
  1593. defence.Name = ("HitBy"..Player.Name)
  1594. game:GetService("Debris"):AddItem(defence, 0.001)
  1595. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1596. Warp(TORSO,Instakill)
  1597. else
  1598. if CanBeDodgedByJumping == true then
  1599. if body[part].Position.Y < position.Y+5 then
  1600. if math.random(1,100) < critrate+1 then
  1601. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1602. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1603. else
  1604. HUMAN.Health = HUMAN.Health - dmg
  1605. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1606. end
  1607. local defence = Instance.new("BoolValue",v)
  1608. defence.Name = ("HitBy"..Player.Name)
  1609. game:GetService("Debris"):AddItem(defence, 0.01)
  1610. end
  1611. else
  1612. if beserk == true then
  1613. HUMAN.Health = 0
  1614. end
  1615. if math.random(1,100) < critrate+1 then
  1616. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  1617. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1618. else
  1619. HUMAN.Health = HUMAN.Health - dmg
  1620. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1621. end
  1622. local defence = Instance.new("BoolValue",v)
  1623. defence.Name = ("HitBy"..Player.Name)
  1624. game:GetService("Debris"):AddItem(defence, 0.01)
  1625. end
  1626. end
  1627. end
  1628. end
  1629. end
  1630. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1631. end
  1632. end
  1633. end
  1634. if v.ClassName == "Part" then
  1635. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1636. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. function CreateGUICircle(TARGET)
  1643. local GUI = Instance.new("BillboardGui",Character)
  1644. GUI.Size = UDim2.new(0,0,0,0)
  1645. GUI.Adornee = TARGET
  1646. local GUI2 = IT("ImageLabel",GUI)
  1647. GUI2.BackgroundTransparency = 1
  1648. GUI2.BorderSizePixel = 0
  1649. GUI2.Size = UDim2.new(1,0,1,0)
  1650. GUI2.SizeConstraint = "RelativeYY"
  1651. GUI.AlwaysOnTop = true
  1652. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1653. return GUI,GUI2
  1654. end
  1655. function CastWarpOutlines(TARGET)
  1656. coroutine.resume(coroutine.create(function()
  1657. local T = TARGET:GetChildren()
  1658. for i = 1, # T do
  1659. local child = T[i]
  1660. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1661. local clone = child:Clone()
  1662. clone.Parent = Effects
  1663. clone.Anchored = true
  1664. clone.CanCollide = false
  1665. clone:ClearAllChildren()
  1666. clone.CFrame = child.CFrame
  1667. if clone.Name == "Head" then
  1668. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1669. end
  1670. if clone.ClassName == "MeshPart" then
  1671. clone.TextureID = ""
  1672. end
  1673. clone.BrickColor = BRICKC"Black"
  1674. clone.Material = "Neon"
  1675. coroutine.resume(coroutine.create(function()
  1676. for i = 1, 200 do
  1677. Swait()
  1678. clone.Transparency = clone.Transparency + 0.005
  1679. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1680. end
  1681. clone:remove()
  1682. end))
  1683. end
  1684. end
  1685. end))
  1686. end
  1687. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1688. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1689. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1690. local BODYGYRO = IT("BodyGyro", STATPART)
  1691. local BODYPOSITION = IT("BodyPosition", STATPART)
  1692. BODYPOSITION.P = 2000
  1693. BODYPOSITION.D = 100
  1694. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1695. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1696. game:GetService("Debris"):AddItem(STATPART ,5)
  1697. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1698. BILLBOARDGUI.Adornee = STATPART
  1699. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1700. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1701. BILLBOARDGUI.AlwaysOnTop = false
  1702. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1703. TEXTLABEL.BackgroundTransparency = 1
  1704. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1705. TEXTLABEL.Text = TEXT
  1706. TEXTLABEL.Font = "SciFi"
  1707. TEXTLABEL.FontSize="Size42"
  1708. TEXTLABEL.TextColor3 = COLOR
  1709. TEXTLABEL.TextStrokeTransparency = 1
  1710. TEXTLABEL.TextScaled = true
  1711. TEXTLABEL.TextWrapped = true
  1712. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1713. if LABELTYPE == "Normal" then
  1714. for i = 1, 20 do
  1715. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1716. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1717. end
  1718. elseif LABELTYPE == "Debuff" then
  1719. for i = 1, 20 do
  1720. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1721. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1722. end
  1723. elseif LABELTYPE == "Shock" then
  1724. local ORIGIN = STATPART.Position
  1725. for i = 1, 20 do
  1726. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1727. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  1728. end
  1729. end
  1730. THEPART.Parent = nil
  1731. end),STATPART, BODYPOSITION, TEXTLABEL)
  1732. end
  1733. local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1734. MakeForm(Eye,"Ball")
  1735. --//=================================\\
  1736. --|| ATTACK FUNCTIONS AND STUFF
  1737. --\\=================================//
  1738.  
  1739. function Colorful_Death()
  1740. ATTACK = true
  1741. Rooted = false
  1742. for i=0, 0.05, 0.1 / Animation_Speed do
  1743. Swait()
  1744. turnto(Mouse.Hit.p)
  1745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1749. 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)
  1750. 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)
  1751. end
  1752. repeat
  1753. for i=0, 0.05, 0.1 / Animation_Speed do
  1754. Swait()
  1755. turnto(Mouse.Hit.p)
  1756. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1757. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1758. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1759. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1760. 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)
  1761. 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)
  1762. end
  1763. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1764. SpawnTrail(Hole.Position,POS)
  1765. if HIT ~= nil then
  1766. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1767. Banish(HIT.Parent)
  1768. end
  1769. end
  1770. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1771. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1772. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1773. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1774. for i=0, 0.05, 0.1 / Animation_Speed do
  1775. Swait()
  1776. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1777. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1780. 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)
  1781. 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)
  1782. end
  1783. until KEYHOLD == false
  1784. ATTACK = false
  1785. Rooted = false
  1786. end
  1787.  
  1788. function AttackTemplate()
  1789. ATTACK = true
  1790. Rooted = false
  1791. for i=0, 1, 0.1 / Animation_Speed do
  1792. Swait()
  1793. 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)
  1794. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1797. 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)
  1798. 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)
  1799. end
  1800. ATTACK = false
  1801. Rooted = false
  1802. end
  1803. function Equivalent_Pain()
  1804. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1805. if HITFLOOR then
  1806. ATTACK = true
  1807. Rooted = true
  1808. FULL = true
  1809. local GYRO = IT("BodyGyro",RootPart)
  1810. GYRO.D = 25
  1811. GYRO.P = 20000
  1812. GYRO.MaxTorque = VT(0,math.huge,0)
  1813. for i=0, 0.3, 0.1 / Animation_Speed do
  1814. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1820. 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(-35)), 1 / Animation_Speed)
  1821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  1822. end
  1823. GYRO:remove()
  1824. CreateSound(12222200, RightArm, 10, 1)
  1825. for i=0, 0.4, 0.1 / Animation_Speed do
  1826. Swait()
  1827. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1828. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1829. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1830. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1831. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1832. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1833. end
  1834. CreateSound(289842971, RightArm, 10, 1)
  1835. coroutine.resume(coroutine.create(function()
  1836. local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  1837. local ECHO = POS
  1838. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1839. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1840. ECHO = POS
  1841. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1842. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1843. ECHO = POS
  1844. end
  1845. if ECHO.Y == HITPOS.Y then
  1846. local DISTANCE = (HITPOS - ECHO).Magnitude/3
  1847. local CFRAME = CF(HITPOS,ECHO)
  1848. local RANGE = math.ceil(DISTANCE)
  1849. for i = 1, RANGE-1 do
  1850. Swait(3)
  1851. local A = CFRAME*CF(0,0,-i*3)
  1852. ApplyAoE(A.p,4)
  1853. CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65)
  1854. end
  1855. local SIZE = 3
  1856. local POS = CFRAME*CF(0,0,-RANGE*3).p
  1857. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  1858. WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1859. WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1860. for i = 1, 9 do
  1861. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1862. end
  1863. for i = 1, 9 do
  1864. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1865. end
  1866. ApplyAoE(POS,30*SIZE)
  1867. CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  1868. CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  1869. end
  1870. end))
  1871. for i=0, 0.6, 0.1 / Animation_Speed do
  1872. Swait()
  1873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1874. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1877. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1879. end
  1880. FULL = false
  1881. ATTACK = false
  1882. Rooted = false
  1883. end
  1884. end
  1885. function Debree(POS,SWAIT)
  1886. coroutine.resume(coroutine.create(function()
  1887. local HOLDER = IT("Model",Effects)
  1888. HOLDER.Name = "Debree"
  1889. local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1890. MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1891. MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1892. MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
  1893. repeat Swait() until HITFLOOR ~= nil
  1894. local O = 0
  1895. for i = 1, 18 do
  1896. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  1897. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1898. O = O - (45/4)/5+i/4
  1899. coroutine.resume(coroutine.create(function()
  1900. Swait(SWAIT)
  1901. for i = 1, 60 do
  1902. Swait()
  1903. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  1904. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1905. end
  1906. for i = 1, 50 do
  1907. Swait()
  1908. Part.Size = Part.Size * 0.9
  1909. end
  1910. end))
  1911. end
  1912. local O = 0
  1913. for i = 1, 18 do
  1914. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
  1915. Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1916. O = O + (45/4)/5-i/4
  1917. coroutine.resume(coroutine.create(function()
  1918. Swait(SWAIT)
  1919. for i = 1, 60 do
  1920. Swait()
  1921. local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
  1922. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1923. end
  1924. for i = 1, 50 do
  1925. Swait()
  1926. Part.Size = Part.Size * 0.9
  1927. end
  1928. end))
  1929. end
  1930. Swait(SWAIT+110)
  1931. HOLDER:remove()
  1932. end))
  1933. end
  1934.  
  1935.  
  1936.  
  1937. function TakeOnMe()
  1938. Speed = 5
  1939. local MEME = CreateSound(1890957836, Effects, 2, 1, false)
  1940. ATTACK = true
  1941. Rooted = false
  1942. local DANCE = true
  1943. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1944. if NEWKEY == "p" then
  1945. DANCE = false
  1946. end
  1947. end)
  1948. PLAYSONG = false
  1949. while true do
  1950. for i = 1, 15 do
  1951. Swait()
  1952. MEME.Parent = Effects
  1953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1957. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1959. end
  1960. if DANCE == false then
  1961. break
  1962. end
  1963. for i = 1, 15 do
  1964. Swait()
  1965. MEME.Parent = Effects
  1966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1970. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1972. end
  1973. end
  1974. PLAYSONG = true
  1975. KEY:Disconnect()
  1976. MEME:remove()
  1977. Speed = 25
  1978. ATTACK = false
  1979. Rooted = false
  1980. end
  1981. function Smite()
  1982. ATTACK = true
  1983. Rooted = false
  1984. CreateSound(1368573150, RightArm, 3, 1.5)
  1985. for i=0, 0.6, 0.1 / Animation_Speed do
  1986. Swait()
  1987. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1990. end
  1991. local POWER = 0
  1992. repeat
  1993. Swait()
  1994. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1995. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1997. POWER = POWER + 0.5
  1998. if POWER >= 85 then
  1999. POWER = 85
  2000. end
  2001. until KEYHOLD == false
  2002. if POWER < 0.6 then
  2003. SpawnSmite(Mouse.Hit.p)
  2004. else
  2005. if POWER < 15 then
  2006. POWER = 15
  2007. end
  2008. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2009. end
  2010. ATTACK = false
  2011. Rooted = false
  2012. end
  2013. function RTaunt()
  2014. ATTACK = true
  2015. Rooted = true
  2016. local TAUNT = CreateSound(135017578, Torso, 7, 1, false)
  2017. repeat
  2018. Swait()
  2019. TAUNT.Parent = Torso
  2020. TAUNT.Playing = true
  2021. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2022. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2023. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2024. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2025. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2026. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2027. until TAUNT.TimePosition >= 1.25
  2028. for i=0, 1.6, 0.1 / Animation_Speed do
  2029. Swait()
  2030. TAUNT.Parent = Torso
  2031. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  2032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2035. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2036. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2037. end
  2038. ATTACK = false
  2039. Rooted = false
  2040. end
  2041. function Taunt()
  2042. ATTACK = true
  2043. Rooted = true
  2044. CreateSound("907330011", Head, 10, 1.1)
  2045. for i=0, 1, 0.1 / Animation_Speed do
  2046. Swait()
  2047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(170), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2051. 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)), 2 / Animation_Speed)
  2052. 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)), 2 / Animation_Speed)
  2053. end
  2054. for i=0, 2, 0.1 / Animation_Speed do
  2055. Swait()
  2056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
  2058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2060. 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)), 2 / Animation_Speed)
  2061. 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)), 2 / Animation_Speed)
  2062. end
  2063. ATTACK = false
  2064. Rooted = false
  2065. end
  2066. function VoidWarp()
  2067. ATTACK = true
  2068. Rooted = false
  2069. for i=0, 0.2, 0.1 / Animation_Speed do
  2070. Swait()
  2071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2072. 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.5 / Animation_Speed)
  2073. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2076. 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.5 / Animation_Speed)
  2077. 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.5 / Animation_Speed)
  2078. end
  2079. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  2080. CreateSound("1208650519", Torso, 10, 2.5)
  2081. local GUI,GUI2 = CreateGUICircle(Torso)
  2082. for i = 1, 50 do
  2083. Swait()
  2084. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  2085. GUI2.Rotation = GUI2.Rotation + i/10
  2086. end
  2087. CastWarpOutlines(Character)
  2088. local POS = Torso.Position
  2089. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  2090. Swait()
  2091. CreateSound("1177785010", Torso, 10, 1)
  2092. coroutine.resume(coroutine.create(function()
  2093. for i = 1, 50 do
  2094. Swait()
  2095. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  2096. GUI2.Rotation = GUI2.Rotation - i/10
  2097. end
  2098. end))
  2099. ATTACK = false
  2100. Rooted = false
  2101. end
  2102.  
  2103. local asd = Instance.new("ParticleEmitter")
  2104. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2105. asd.LightEmission = .1
  2106. asd.Size = NumberSequence.new(0.2)
  2107. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2108. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2109. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2110. asd.Transparency = bbb
  2111. asd.Size = aaa
  2112. asd.ZOffset = .9
  2113. asd.Acceleration = Vector3.new(0, -15, 0)
  2114. asd.LockedToPart = false
  2115. asd.EmissionDirection = "Back"
  2116. asd.Lifetime = NumberRange.new(1, 2)
  2117. asd.Rotation = NumberRange.new(-100, 100)
  2118. asd.RotSpeed = NumberRange.new(-100, 100)
  2119. asd.Speed = NumberRange.new(25,35)
  2120. asd.Enabled = false
  2121. asd.VelocitySpread = 5
  2122.  
  2123. function getbloody(victim,amount)
  2124. local PART = IT("Part",Effects)
  2125. PART.Transparency = 1
  2126. PART.Size = victim.Size
  2127. PART.Anchored = true
  2128. PART.CanCollide = false
  2129. PART.CFrame = CF(victim.Position,Torso.Position)
  2130. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2131. Debris:AddItem(PART,5)
  2132. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2133. local prtcl = asd:Clone()
  2134. prtcl.Parent = PART
  2135. prtcl:Emit(amount*10)
  2136. end
  2137.  
  2138. function impale(chain,hit)
  2139. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  2140. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2141. if humanoid.Health ~= 0 then
  2142. hit.Parent:BreakJoints()
  2143. getbloody(hit,15)
  2144. local prtcl = asd:Clone()
  2145. prtcl.Parent = chain
  2146. prtcl.Enabled = true
  2147. prtcl.Speed = NumberRange.new(0)
  2148. prtcl.Size = NumberSequence.new(0.2)
  2149. end
  2150. end
  2151. end
  2152.  
  2153. function clerp(a, b, t)
  2154. return a:lerp(b, t)
  2155. end
  2156.  
  2157. function newBezier(startpos, pos2, pos3, endpos, t)
  2158. local A = clerp(startpos, pos2, t)
  2159. local B = clerp(pos2, pos3, t)
  2160. local C = clerp(pos3, endpos, t)
  2161. local lerp1 = clerp(A, B, t)
  2162. local lerp2 = clerp(B, C, t)
  2163. local cubic = clerp(lerp1, lerp2, t)
  2164. return cubic
  2165. end
  2166. function Meteor_Shower()
  2167. ATTACK = true
  2168. Rooted = false
  2169. CreateSound(1368573150, RightArm, 3, 0.8)
  2170. CreateSound(649634100, Torso, 10, 0.8)
  2171. for i=0, 1.2, 0.1 / Animation_Speed do
  2172. Swait()
  2173. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2174. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2175. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2176. end
  2177. local POS = Mouse.Hit.p
  2178. CreateSound(463593339, Effects, 3, 1)
  2179. coroutine.resume(coroutine.create(function()
  2180. for i = 1, 35 do
  2181. wait(MRANDOM(5,150)/100)
  2182. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  2183. end
  2184. end))
  2185. ATTACK = false
  2186. Rooted = false
  2187. end
  2188. --//=================================\\
  2189. --|| ASSIGN THINGS TO KEYS
  2190. --\\=================================//
  2191.  
  2192. function MouseDown(Mouse)
  2193. if ATTACK == false then
  2194. end
  2195. end
  2196.  
  2197. function MouseUp(Mouse)
  2198. HOLD = false
  2199. end
  2200.  
  2201. function KeyDown(Key)
  2202. KEYHOLD = true
  2203. if Key == "z" and ATTACK == false then
  2204. Colorful_Death()
  2205. end
  2206.  
  2207. if Key == "v" and ATTACK == false then
  2208. Equivalent_Pain()
  2209. end
  2210.  
  2211. if Key == "b" and ATTACK == false then
  2212. RTaunt()
  2213. end
  2214.  
  2215. if Key == "n" and ATTACK == false then
  2216. TakeOnMe()
  2217. end
  2218.  
  2219. if Key == "q" and ATTACK == false then
  2220. Meteor_Shower()
  2221. end
  2222.  
  2223. if Key == "t" and ATTACK == false then
  2224. Taunt()
  2225. end
  2226.  
  2227. if Key == "x" and ATTACK == false then
  2228. Smite()
  2229. end
  2230.  
  2231. if Key == "c" and ATTACK == false then
  2232. VoidWarp()
  2233. end
  2234. end
  2235.  
  2236. function KeyUp(Key)
  2237. KEYHOLD = false
  2238. end
  2239.  
  2240. Mouse.Button1Down:connect(function(NEWKEY)
  2241. MouseDown(NEWKEY)
  2242. end)
  2243. Mouse.Button1Up:connect(function(NEWKEY)
  2244. MouseUp(NEWKEY)
  2245. end)
  2246. Mouse.KeyDown:connect(function(NEWKEY)
  2247. KeyDown(NEWKEY)
  2248. end)
  2249. Mouse.KeyUp:connect(function(NEWKEY)
  2250. KeyUp(NEWKEY)
  2251. end)
  2252.  
  2253. function KeyUp(Key)
  2254. KEYHOLD = false
  2255. end
  2256.  
  2257. Mouse.Button1Down:connect(function(NEWKEY)
  2258. MouseDown(NEWKEY)
  2259. end)
  2260. Mouse.Button1Up:connect(function(NEWKEY)
  2261. MouseUp(NEWKEY)
  2262. end)
  2263. Mouse.KeyDown:connect(function(NEWKEY)
  2264. KeyDown(NEWKEY)
  2265. end)
  2266. Mouse.KeyUp:connect(function(NEWKEY)
  2267. KeyUp(NEWKEY)
  2268. end)
  2269.  
  2270. --//=================================\\
  2271. --\\=================================//
  2272.  
  2273.  
  2274. function unanchor()
  2275. if UNANCHOR == true then
  2276. g = Character:GetChildren()
  2277. for i = 1, #g do
  2278. if g[i].ClassName == "Part" then
  2279. g[i].Anchored = false
  2280. end
  2281. end
  2282. end
  2283. end
  2284.  
  2285.  
  2286. --//=================================\\
  2287. --|| WRAP THE WHOLE SCRIPT UP
  2288. --\\=================================//
  2289.  
  2290. Humanoid.Changed:connect(function(Jump)
  2291. if Jump == "Jump" and (Disable_Jump == true) then
  2292. Humanoid.Jump = false
  2293. end
  2294. end)
  2295.  
  2296. local CONNECT = nil
  2297.  
  2298. while true do
  2299. Swait()
  2300. ANIMATE.Parent = nil
  2301. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2302. Humanoid = IT("Humanoid",Character)
  2303. end
  2304. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2305. v:Stop();
  2306. end
  2307. SINE = SINE + CHANGE
  2308. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2309. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2310. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2311. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2312. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2313. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2314. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2315. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2316. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2317. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2318. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2319. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2320. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2321. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2322. end
  2323. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2324. ANIM = "Jump"
  2325. if ATTACK == false then
  2326. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2330. 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)
  2331. 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)
  2332. end
  2333. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2334. ANIM = "Fall"
  2335. if ATTACK == false then
  2336. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2340. 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)
  2341. 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)
  2342. end
  2343. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2344. ANIM = "Idle"
  2345. if ATTACK == false then
  2346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2352. end
  2353. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2354. ANIM = "Walk"
  2355. if ATTACK == false then
  2356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2360. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2362. end
  2363. end
  2364. unanchor()
  2365. Humanoid.MaxHealth = "inf"
  2366. Humanoid.Health = "inf"
  2367. if Rooted == false then
  2368. Disable_Jump = false
  2369. Humanoid.WalkSpeed = Speed
  2370. elseif Rooted == true then
  2371. Disable_Jump = true
  2372. Humanoid.WalkSpeed = 0
  2373. end
  2374. sick.Parent = Torso
  2375. sick:resume()
  2376. sick.Volume = 5
  2377. sick.Pitch = 1
  2378. sick.SoundId = "rbxassetid://848439234"
  2379. sick.Name = ""
  2380. end
  2381.  
  2382. --//=================================\\
  2383. --\\=================================//
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389. --//====================================================\\--
  2390. --|| END OF SCRIPT
  2391. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement