Advertisement
MrSlakyx

g

Jul 11th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.68 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6. wait(0.2)
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. PlayerGui = Player.PlayerGui
  10. Cam = workspace.CurrentCamera
  11. Backpack = Player.Backpack
  12. Character = Player.Character
  13. Humanoid = Character.Humanoid
  14. Mouse = Player:GetMouse()
  15. RootPart = Character["HumanoidRootPart"]
  16. Torso = Character["Torso"]
  17. Head = Character["Head"]
  18. RightArm = Character["Right Arm"]
  19. LeftArm = Character["Left Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LeftLeg = Character["Left Leg"]
  22. RootJoint = RootPart["RootJoint"]
  23. Neck = Torso["Neck"]
  24. RightShoulder = Torso["Right Shoulder"]
  25. LeftShoulder = Torso["Left Shoulder"]
  26. RightHip = Torso["Right Hip"]
  27. LeftHip = Torso["Left Hip"]
  28. local sick = Instance.new("Sound",Character)
  29.  
  30. IT = Instance.new
  31. CF = CFrame.new
  32. VT = Vector3.new
  33. RAD = math.rad
  34. C3 = Color3.new
  35. UD2 = UDim2.new
  36. BRICKC = BrickColor.new
  37. ANGLES = CFrame.Angles
  38. EULER = CFrame.fromEulerAnglesXYZ
  39. COS = math.cos
  40. ACOS = math.acos
  41. SIN = math.sin
  42. ASIN = math.asin
  43. ABS = math.abs
  44. MRANDOM = math.random
  45. FLOOR = math.floor
  46.  
  47. --//=================================\\
  48. --|| USEFUL VALUES
  49. --\\=================================//
  50.  
  51. Animation_Speed = 3
  52. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  53. local Speed = 46
  54. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  56. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  57. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  58. local DAMAGEMULTIPLIER = 1
  59. local ANIM = "Idle"
  60. local ATTACK = false
  61. local EQUIPPED = false
  62. local HOLD = false
  63. local COMBO = 1
  64. local Rooted = false
  65. local SINE = 0
  66. local KEYHOLD = false
  67. local CHANGE = 2 / Animation_Speed
  68. local WALKINGANIM = false
  69. local VALUE1 = false
  70. local VALUE2 = false
  71. local ROBLOXIDLEANIMATION = IT("Animation")
  72. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  73. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  74. --ROBLOXIDLEANIMATION.Parent = Humanoid
  75. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  76. WEAPONGUI.Name = "ReaperGUI"
  77. local Effects = IT("Folder", Character)
  78. Effects.Name = "Effects"
  79. local ANIMATOR = Humanoid.Animator
  80. local ANIMATE = Character.Animate
  81. local UNANCHOR = true
  82.  
  83. --//=================================\\
  84. --\\=================================//
  85.  
  86.  
  87. --//=================================\\
  88. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  89. --\\=================================//
  90.  
  91. ArtificialHB = Instance.new("BindableEvent", script)
  92. ArtificialHB.Name = "ArtificialHB"
  93.  
  94. script:WaitForChild("ArtificialHB")
  95.  
  96. frame = Frame_Speed
  97. tf = 0
  98. allowframeloss = false
  99. tossremainder = false
  100. lastframe = tick()
  101. script.ArtificialHB:Fire()
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.ArtificialHB:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.ArtificialHB:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122.  
  123. --//=================================\\
  124. --\\=================================//
  125.  
  126. --//=================================\\
  127. --|| SOME FUNCTIONS
  128. --\\=================================//
  129.  
  130. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  131. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  132. end
  133.  
  134. function PositiveAngle(NUMBER)
  135. if NUMBER >= 0 then
  136. NUMBER = 0
  137. end
  138. return NUMBER
  139. end
  140.  
  141. function NegativeAngle(NUMBER)
  142. if NUMBER <= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function Swait(NUMBER)
  149. if NUMBER == 0 or NUMBER == nil then
  150. ArtificialHB.Event:wait()
  151. else
  152. for i = 1, NUMBER do
  153. ArtificialHB.Event:wait()
  154. end
  155. end
  156. end
  157.  
  158. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  159. local NEWMESH = IT(MESH)
  160. if MESH == "SpecialMesh" then
  161. NEWMESH.MeshType = MESHTYPE
  162. if MESHID ~= "nil" and MESHID ~= "" then
  163. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  164. end
  165. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  166. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  167. end
  168. end
  169. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  170. NEWMESH.Scale = SCALE
  171. NEWMESH.Parent = PARENT
  172. return NEWMESH
  173. end
  174.  
  175. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  176. local NEWPART = IT("Part")
  177. NEWPART.formFactor = FORMFACTOR
  178. NEWPART.Reflectance = REFLECTANCE
  179. NEWPART.Transparency = TRANSPARENCY
  180. NEWPART.CanCollide = false
  181. NEWPART.Locked = true
  182. NEWPART.Anchored = true
  183. if ANCHOR == false then
  184. NEWPART.Anchored = false
  185. end
  186. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  187. NEWPART.Name = NAME
  188. NEWPART.Size = SIZE
  189. NEWPART.Position = Torso.Position
  190. NEWPART.Material = MATERIAL
  191. NEWPART:BreakJoints()
  192. NEWPART.Parent = PARENT
  193. return NEWPART
  194. end
  195.  
  196. local function weldBetween(a, b)
  197. local weldd = Instance.new("ManualWeld")
  198. weldd.Part0 = a
  199. weldd.Part1 = b
  200. weldd.C0 = CFrame.new()
  201. weldd.C1 = b.CFrame:inverse() * a.CFrame
  202. weldd.Parent = a
  203. return weldd
  204. end
  205.  
  206.  
  207. function QuaternionFromCFrame(cf)
  208. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  209. local trace = m00 + m11 + m22
  210. if trace > 0 then
  211. local s = math.sqrt(1 + trace)
  212. local recip = 0.5 / s
  213. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  214. else
  215. local i = 0
  216. if m11 > m00 then
  217. i = 1
  218. end
  219. if m22 > (i == 0 and m00 or m11) then
  220. i = 2
  221. end
  222. if i == 0 then
  223. local s = math.sqrt(m00 - m11 - m22 + 1)
  224. local recip = 0.5 / s
  225. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  226. elseif i == 1 then
  227. local s = math.sqrt(m11 - m22 - m00 + 1)
  228. local recip = 0.5 / s
  229. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  230. elseif i == 2 then
  231. local s = math.sqrt(m22 - m00 - m11 + 1)
  232. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  233. end
  234. end
  235. end
  236.  
  237. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  238. local xs, ys, zs = x + x, y + y, z + z
  239. local wx, wy, wz = w * xs, w * ys, w * zs
  240. local xx = x * xs
  241. local xy = x * ys
  242. local xz = x * zs
  243. local yy = y * ys
  244. local yz = y * zs
  245. local zz = z * zs
  246. 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))
  247. end
  248.  
  249. function QuaternionSlerp(a, b, t)
  250. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  251. local startInterp, finishInterp;
  252. if cosTheta >= 0.0001 then
  253. if (1 - cosTheta) > 0.0001 then
  254. local theta = ACOS(cosTheta)
  255. local invSinTheta = 1 / SIN(theta)
  256. startInterp = SIN((1 - t) * theta) * invSinTheta
  257. finishInterp = SIN(t * theta) * invSinTheta
  258. else
  259. startInterp = 1 - t
  260. finishInterp = t
  261. end
  262. else
  263. if (1 + cosTheta) > 0.0001 then
  264. local theta = ACOS(-cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((t - 1) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = t - 1
  270. finishInterp = t
  271. end
  272. end
  273. 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
  274. end
  275.  
  276. function Clerp(a, b, t)
  277. local qa = {QuaternionFromCFrame(a)}
  278. local qb = {QuaternionFromCFrame(b)}
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284.  
  285. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  286. local frame = IT("Frame")
  287. frame.BackgroundTransparency = TRANSPARENCY
  288. frame.BorderSizePixel = BORDERSIZEPIXEL
  289. frame.Position = POSITION
  290. frame.Size = SIZE
  291. frame.BackgroundColor3 = COLOR
  292. frame.BorderColor3 = BORDERCOLOR
  293. frame.Name = NAME
  294. frame.Parent = PARENT
  295. return frame
  296. end
  297.  
  298. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  299. local label = IT("TextLabel")
  300. label.BackgroundTransparency = 1
  301. label.Size = UD2(1, 0, 1, 0)
  302. label.Position = UD2(0, 0, 0, 0)
  303. label.TextColor3 = TEXTCOLOR
  304. label.TextStrokeTransparency = STROKETRANSPARENCY
  305. label.TextTransparency = TRANSPARENCY
  306. label.FontSize = TEXTFONTSIZE
  307. label.Font = TEXTFONT
  308. label.BorderSizePixel = BORDERSIZEPIXEL
  309. label.TextScaled = false
  310. label.Text = TEXT
  311. label.Name = NAME
  312. label.Parent = PARENT
  313. return label
  314. end
  315.  
  316. function NoOutlines(PART)
  317. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  318. end
  319.  
  320. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  321. local NEWWELD = IT(TYPE)
  322. NEWWELD.Part0 = PART0
  323. NEWWELD.Part1 = PART1
  324. NEWWELD.C0 = C0
  325. NEWWELD.C1 = C1
  326. NEWWELD.Parent = PARENT
  327. return NEWWELD
  328. end
  329.  
  330. local S = IT("Sound")
  331. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  332. local NEWSOUND = nil
  333. coroutine.resume(coroutine.create(function()
  334. NEWSOUND = S:Clone()
  335. NEWSOUND.Parent = PARENT
  336. NEWSOUND.Volume = VOLUME
  337. NEWSOUND.Pitch = PITCH
  338. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  339. NEWSOUND:play()
  340. if DOESLOOP == true then
  341. NEWSOUND.Looped = true
  342. else
  343. local REPOSITION = NEWSOUND.AncestryChanged:Connect(function()
  344. NEWSOUND.Parent = PARENT
  345. end)
  346. repeat wait(1) until NEWSOUND.Playing == false
  347. REPOSITION:disconnect()
  348. NEWSOUND:remove()
  349. end
  350. end))
  351. return NEWSOUND
  352. end
  353.  
  354. function CFrameFromTopBack(at, top, back)
  355. local right = top:Cross(back)
  356. 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)
  357. end
  358.  
  359. --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})
  360. function WACKYEFFECT(Table)
  361. local TYPE = (Table.EffectType or "Sphere")
  362. local SIZE = (Table.Size or VT(1,1,1))
  363. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  364. local TRANSPARENCY = (Table.Transparency or 0)
  365. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  366. local CFRAME = (Table.CFrame or Torso.CFrame)
  367. local MOVEDIRECTION = (Table.MoveToPos or nil)
  368. local ROTATION1 = (Table.RotationX or 0)
  369. local ROTATION2 = (Table.RotationY or 0)
  370. local ROTATION3 = (Table.RotationZ or 0)
  371. local MATERIAL = (Table.Material or "Neon")
  372. local COLOR = (Table.Color or C3(1,1,1))
  373. local TIME = (Table.Time or 45)
  374. local SOUNDID = (Table.SoundID or nil)
  375. local SOUNDPITCH = (Table.SoundPitch or nil)
  376. local SOUNDVOLUME = (Table.SoundVolume or nil)
  377. coroutine.resume(coroutine.create(function()
  378. local PLAYSSOUND = false
  379. local SOUND = nil
  380. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  381. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  382. PLAYSSOUND = true
  383. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  384. end
  385. EFFECT.Color = COLOR
  386. local MSH = nil
  387. if TYPE == "Sphere" then
  388. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  389. elseif TYPE == "Block" then
  390. MSH = IT("BlockMesh",EFFECT)
  391. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  392. elseif TYPE == "Wave" then
  393. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  394. elseif TYPE == "Ring" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  396. elseif TYPE == "Slash" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  398. elseif TYPE == "Round Slash" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  400. elseif TYPE == "Swirl" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  402. elseif TYPE == "Skull" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  404. elseif TYPE == "Crystal" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  406. end
  407. if MSH ~= nil then
  408. local MOVESPEED = nil
  409. if MOVEDIRECTION ~= nil then
  410. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  411. end
  412. local GROWTH = SIZE - ENDSIZE
  413. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  414. if TYPE == "Block" then
  415. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  416. else
  417. EFFECT.CFrame = CFRAME
  418. end
  419. for LOOP = 1, TIME+1 do
  420. Swait()
  421. MSH.Scale = MSH.Scale - GROWTH/TIME
  422. if TYPE == "Wave" then
  423. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  424. end
  425. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  426. if TYPE == "Block" then
  427. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  428. else
  429. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  430. end
  431. if MOVEDIRECTION ~= nil then
  432. local ORI = EFFECT.Orientation
  433. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  434. EFFECT.Orientation = ORI
  435. end
  436. end
  437. EFFECT.Transparency = 1
  438. if PLAYSSOUND == false then
  439. EFFECT:remove()
  440. else
  441. repeat Swait() until SOUND.Playing == false
  442. EFFECT:remove()
  443. end
  444. else
  445. if PLAYSSOUND == false then
  446. EFFECT:remove()
  447. else
  448. repeat Swait() until SOUND.Playing == false
  449. EFFECT:remove()
  450. end
  451. end
  452. end))
  453. end
  454.  
  455. function Shatter(Part)
  456. if Part.Transparency < 1 then
  457. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  458. Debris:AddItem(SOUNDPART,5)
  459. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  460. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  461. local SIZESET = SIZE/4
  462. local XOffset = Part.Size.X*1.5/SIZESET
  463. local YOffset = Part.Size.Y*1.5/SIZESET
  464. local ZOffset = Part.Size.Z*1.5/SIZESET
  465. for x = 1, math.ceil(XOffset) do
  466. for y = 1, math.ceil(YOffset) do
  467. for z = 1, math.ceil(ZOffset) do
  468. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  469. SHARD.CanCollide = true
  470. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  471. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  472. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  473. for _, c in pairs(Part:GetChildren()) do
  474. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  475. c:Clone().Parent = SHARD
  476. end
  477. end
  478. end
  479. end
  480. end
  481. end
  482. Part:remove()
  483. end
  484.  
  485. --Lightning({Material = "Neon", FadeIn = false, 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, FadeTime = 15, Thicken = false})
  486. function Lightning(Table)
  487. local Color = Table.Color or C3(1,1,1)
  488. local StartPos = Table.Start or Torso.Position
  489. local EndPos = Table.End or Mouse.Hit.p
  490. local SegmentLength = Table.SegmentL or 2
  491. local Thickness = Table.Thickness or 0.1
  492. local Dissapear = Table.DoesFade or false
  493. local Parent = Table.Ignore or Character
  494. local MaxDist = Table.MaxDist or 400
  495. local Branches = Table.Branches or false
  496. local Thicken = Table.Thicken or false
  497. local FadeTime = Table.FadeTime or 15
  498. local FadeIn = Table.FadeIn or false
  499. local Material = Table.Material or "Neon"
  500. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  501. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  502. local LIGHTNINGMODEL = IT("Model",Effects)
  503. LIGHTNINGMODEL.Name = "Lightning"
  504. local LastBolt = nil
  505. for E = 1, DISTANCE do
  506. local ExtraSize = 0
  507. if Thicken == true then
  508. ExtraSize = (DISTANCE-E)/15
  509. end
  510. local TRANSPARENCY = 0
  511. if FadeIn == true then
  512. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  513. if TRANSPARENCY < 0 then
  514. TRANSPARENCY = 0
  515. end
  516. end
  517. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  518. PART.Color = Color
  519. MakeForm(PART,"Cyl")
  520. if LastBolt == nil then
  521. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  522. else
  523. 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,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  524. end
  525. LastBolt = PART
  526. if Branches == true and E < (DISTANCE-5) then
  527. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  528. if CHOICE == 1 then
  529. local LASTBRANCH = nil
  530. for i = 1, MRANDOM(2,5) do
  531. local ExtraSize2 = 0
  532. if Thicken == true then
  533. ExtraSize = ((DISTANCE-E)/25)/i
  534. end
  535. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  536. PART.Color = Color
  537. MakeForm(PART,"Cyl")
  538. if LASTBRANCH == nil then
  539. 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)
  540. else
  541. 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)
  542. end
  543. LASTBRANCH = PART
  544. end
  545. end
  546. end
  547. end
  548. if Dissapear == true then
  549. coroutine.resume(coroutine.create(function()
  550. for i = 1, FadeTime do
  551. Swait()
  552. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  553. if c.ClassName == "Part" then
  554. c.Transparency = c.Transparency + (i/FadeTime)/10
  555. end
  556. end
  557. end
  558. LIGHTNINGMODEL:remove()
  559. end))
  560. elseif Dissapear == false then
  561. Debris:AddItem(LIGHTNINGMODEL,0.1)
  562. end
  563. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  564. end
  565.  
  566. function MakeForm(PART,TYPE)
  567. if TYPE == "Cyl" then
  568. local MSH = IT("CylinderMesh",PART)
  569. elseif TYPE == "Ball" then
  570. local MSH = IT("SpecialMesh",PART)
  571. MSH.MeshType = "Sphere"
  572. elseif TYPE == "Wedge" then
  573. local MSH = IT("SpecialMesh",PART)
  574. MSH.MeshType = "Wedge"
  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. --//=================================\\
  590. --|| WEAPON CREATION
  591. --\\=================================//
  592.  
  593. local BASECOLOR = C3(50/255, 25/255, 25/255)
  594. local BONE = script.SpinePart
  595. BONE.Parent = nil
  596.  
  597. Head:ClearAllChildren()
  598.  
  599. for _, c in pairs(Character:GetChildren()) do
  600. if script:FindFirstChild(c.Name) then
  601. local Part = script[c.Name]
  602. Part.Parent = Character
  603. Part.Base.Anchored = false
  604. Part:SetPrimaryPartCFrame(c.CFrame)
  605. weldBetween(c,Part.Base)
  606. c.Transparency = 1
  607. for _, e in pairs(Part:GetChildren()) do
  608. if e:IsA("BasePart") then
  609. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  610. end
  611. end
  612. end
  613. end
  614.  
  615. local SCYTHE = script.ThrowScythe
  616. SCYTHE.Parent = nil
  617.  
  618. local GUN = script.Gun
  619. GUN.Parent = Character
  620. GUN.Grip.Anchored = false
  621. GUN:SetPrimaryPartCFrame(RightArm.CFrame*CF(0,-1,0))
  622. local GRIP = weldBetween(RightArm,GUN.Grip)
  623.  
  624. local TAIL = {}
  625. local LASTPART = Torso
  626. local SIZE = BONE.Size
  627. for i = 1, 16 do
  628. local PART = BONE:Clone()
  629. PART.Anchored = false
  630. PART.Parent = Character
  631. PART.Size = SIZE*((19-i)/10)/1.25
  632. if LASTPART == Torso then
  633. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1.2,0.16), CF(0, 0, 0))
  634. LASTPART = PART
  635. table.insert(TAIL,WELD)
  636. else
  637. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y,0), CF(0, 0, 0))
  638. LASTPART = PART
  639. table.insert(TAIL,WELD)
  640. end
  641. end
  642. RightLeg:remove()
  643. LeftLeg:remove()
  644. Torso.Transparency = 1
  645. Head.Transparency = 1
  646.  
  647. Humanoid.DisplayDistanceType = "None"
  648.  
  649. Humanoid.HipHeight = 2
  650.  
  651. local SKILLFONT = "Antique"
  652. local SKILLTEXTSIZE = 7
  653.  
  654. Humanoid.Died:connect(function()
  655. workspace:ClearAllChildren()
  656. end)
  657.  
  658. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  659. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  660. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  661. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  662. --local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  663.  
  664. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  665. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  666. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  667. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  668. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  669.  
  670. --//=================================\\
  671. --|| DAMAGING
  672. --\\=================================//
  673.  
  674. function ApplyDamage(Humanoid,Damage)
  675. Damage = Damage * DAMAGEMULTIPLIER
  676. if Humanoid.Health ~= 0 then
  677. Humanoid.Health = Humanoid.Health - Damage
  678. end
  679. end
  680.  
  681. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  682. local CHILDREN = workspace:GetDescendants()
  683. for index, CHILD in pairs(CHILDREN) do
  684. if CHILD.ClassName == "Model" and CHILD ~= Character then
  685. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  686. if HUM then
  687. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  688. if TORSO then
  689. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  690. if INSTAKILL == true then
  691. CHILD:BreakJoints()
  692. if OPTION ~= nil then
  693. Kill(CHILD,OPTION)
  694. end
  695. else
  696. local DMG = MRANDOM(MINDMG,MAXDMG)
  697. ApplyDamage(HUM,DMG)
  698. end
  699. if FLING ~= 0 then
  700. for _, c in pairs(CHILD:GetChildren()) do
  701. if c:IsA("BasePart") then
  702. local bv = Instance.new("BodyVelocity")
  703. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  704. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  705. bv.Parent = c
  706. Debris:AddItem(bv,0.05)
  707. end
  708. end
  709. end
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716.  
  717. function Kill(Victim,Fire)
  718. coroutine.resume(coroutine.create(function()
  719. local NIL = script.TotalNil:Clone()
  720. NIL.Parent = Victim
  721. NIL.Disabled = false
  722. if Fire ~= true then
  723. Victim:BreakJoints()
  724. for _, c in pairs(Victim:GetChildren()) do
  725. if c:IsA("BasePart") then
  726. c.Anchored = true
  727. end
  728. end
  729. for _, c in pairs(Victim:GetChildren()) do
  730. if c:IsA("BasePart") then
  731. Shatter(c)
  732. end
  733. end
  734. else
  735. Victim:BreakJoints()
  736. local FIRES = {}
  737. for _, e in pairs(Victim:GetDescendants()) do
  738. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  739. e.Transparency = 1
  740. e:ClearAllChildren()
  741. local FIRE = script.HellFire:Clone()
  742. FIRE.Parent = e
  743. FIRE.Enabled = true
  744. table.insert(FIRES,FIRE)
  745. elseif e.ClassName == "Decal" then
  746. e:remove()
  747. end
  748. end
  749. for i = 1, 50 do
  750. Victim:BreakJoints()
  751. wait()
  752. end
  753. for i = 1, #FIRES do
  754. FIRES[i].Enabled = false
  755. end
  756. wait(1.1)
  757. Victim:remove()
  758. end
  759. end))
  760. end
  761.  
  762. --//=================================\\
  763. --|| ATTACK FUNCTIONS AND STUFF
  764. --\\=================================//
  765.  
  766. function Bullet()
  767. ATTACK = true
  768. Rooted = false
  769. local GYRO = IT("BodyGyro",RootPart)
  770. GYRO.D = 750
  771. GYRO.P = 20000
  772. GYRO.MaxTorque = VT(0,40000000,0)
  773. local LOCKED = true
  774. local SHOT = false
  775. coroutine.resume(coroutine.create(function()
  776. for i=0, 1, 0.1 / Animation_Speed do
  777. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  778. Swait()
  779. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  780. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  781. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  782. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  783. end
  784. LOCKED = false
  785. SHOT = true
  786. repeat
  787. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  788. Swait()
  789. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  790. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  793. until HOLD == false and SHOT == false
  794. for i=0, 0.3, 0.1 / Animation_Speed do
  795. Swait()
  796. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  800. end
  801. for i=0, 0.3, 0.1 / Animation_Speed do
  802. Swait()
  803. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  804. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  805. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  806. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  807. end
  808. GYRO:remove()
  809. ATTACK = false
  810. Rooted = false
  811. end))
  812. repeat wait() until LOCKED == false
  813. repeat
  814. SHOT = true
  815. wait(0.2)
  816. SHOT = false
  817. local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(1,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  818. local HIT = BULLET.Hit
  819. local HITPOS = BULLET.End
  820. if HIT then
  821. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  822. Kill(HIT.Parent)
  823. end
  824. end
  825. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
  826. WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
  827. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  828. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = GUN.Barrel.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  829. until HOLD == false
  830. end
  831.  
  832. function ScytheThrow()
  833. ATTACK = true
  834. Rooted = false
  835. local GYRO = IT("BodyGyro",RootPart)
  836. GYRO.D = 750
  837. GYRO.P = 20000
  838. GYRO.MaxTorque = VT(0,40000000,0)
  839. local BLADE = SCYTHE:Clone()
  840. CreateSound(402981977, BLADE, 3, MRANDOM(12,15)/10, false)
  841. BLADE.Parent = Effects
  842. BLADE.Anchored = false
  843. BLADE.CFrame = LeftArm.CFrame* CF(0, 3.4, 0.529) * ANGLES(RAD(0), RAD(180),RAD(0))
  844. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, BLADE, CF(0, -2.2, 0) * ANGLES(RAD(180), RAD(90),RAD(0)), CF(0, 0, 0))
  845. for i=1, 25 do
  846. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  847. Swait()
  848. BLADE.Transparency = BLADE.Transparency - 1/25
  849. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  850. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  851. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  852. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-55 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  853. end
  854. for _, c in pairs(BLADE:GetDescendants()) do
  855. if c.ClassName == "ParticleEmitter" then
  856. c.Enabled = true
  857. end
  858. end
  859. for i=0, 0.5, 0.1 / Animation_Speed do
  860. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  861. Swait()
  862. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-55 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  866. end
  867. for i=0, 0.1, 0.1 / Animation_Speed do
  868. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  869. Swait()
  870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  874. end
  875. coroutine.resume(coroutine.create(function()
  876. WELD:remove()
  877. BLADE.Anchored = true
  878. BLADE.Orientation = VT(0,BLADE.Orientation.Y,90)
  879. local DISSAPEAR = false
  880. local TOPOS = nil
  881. local TARGET = nil
  882. coroutine.resume(coroutine.create(function()
  883. local ORI = BLADE.Orientation.Y
  884. repeat
  885. wait()
  886. ORI = BLADE.Orientation.Y
  887. if TOPOS == nil then
  888. BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  889. else
  890. BLADE.CFrame = CF(CF(BLADE.Position,TOPOS)*CF(0,0,-1).p) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  891. if TARGET ~= nil then
  892. if (BLADE.Position - TARGET.Position).Magnitude < 5 then
  893. Kill(TARGET.Parent,true)
  894. TARGET = nil
  895. end
  896. end
  897. if (BLADE.Position - TOPOS).Magnitude < 5 then
  898. TOPOS = nil
  899. end
  900. end
  901. ORI = BLADE.Orientation.Y
  902. until DISSAPEAR == true
  903. for i = 1, 35 do
  904. wait()
  905. ORI = BLADE.Orientation.Y
  906. BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  907. BLADE.Transparency = BLADE.Transparency + 1/35
  908. ORI = BLADE.Orientation.Y
  909. end
  910. for _, c in pairs(BLADE:GetDescendants()) do
  911. if c.ClassName == "ParticleEmitter" then
  912. c.Enabled = false
  913. end
  914. end
  915. Debris:AddItem(BLADE,5)
  916. end))
  917. TOPOS = RootPart.CFrame*CF(0,-3,-15).p
  918. for i = 1, 7 do
  919. wait(1)
  920. local DISTANCE = 100
  921. local HUMAN = nil
  922. for _, c in pairs(workspace:GetChildren()) do
  923. if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  924. local HUM = c:FindFirstChildOfClass("Humanoid")
  925. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  926. if TORSO and HUM.Health > 0 then
  927. if (TORSO.Position - BLADE.Position).Magnitude < DISTANCE then
  928. DISTANCE = (TORSO.Position - BLADE.Position).Magnitude
  929. TARGET = TORSO
  930. HUMAN = HUM
  931. end
  932. end
  933. end
  934. end
  935. if TARGET then
  936. TOPOS = CF(TARGET.Position,BLADE.Position)*CF(0,0,15).p
  937. local HITFLOOR,HITPOS = Raycast(BLADE.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  938. if HITFLOOR then
  939. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,1,35), Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 233856115, SoundPitch = 1, SoundVolume = 7})
  940. end
  941. end
  942. repeat wait(1) until TOPOS == nil
  943. end
  944. DISSAPEAR = true
  945. end))
  946. for i=0, 0.4, 0.1 / Animation_Speed do
  947. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  948. Swait()
  949. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(35 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  953. end
  954. GYRO:remove()
  955. ATTACK = false
  956. Rooted = false
  957. end
  958.  
  959. function FingerMagic()
  960. ATTACK = true
  961. Rooted = false
  962. for i=0, 0.1, 0.1 / Animation_Speed do
  963. Swait()
  964. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  965. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  968. end
  969. for i=0, 1, 0.1 / Animation_Speed do
  970. Swait()
  971. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  975. end
  976. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  977. for i = 1, 5 do
  978. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1})
  979. end
  980. CreateSound(217767125, LeftArm, 10, 1, false)
  981. coroutine.resume(coroutine.create(function()
  982. local EXPLODED = false
  983. for i = 1, 3 do
  984. coroutine.resume(coroutine.create(function()
  985. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  986. if HITFLOOR then
  987. local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0))
  988. for i = 1, 35 do
  989. wait()
  990. for _, c in pairs(workspace:GetChildren()) do
  991. if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  992. local HUM = c:FindFirstChildOfClass("Humanoid")
  993. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  994. if TORSO and HUM.Health > 0 then
  995. if (TORSO.Position - CFRAME.p).Magnitude < 10 then
  996. EXPLODED = true
  997. coroutine.resume(coroutine.create(function()
  998. for i = 1, 15 do
  999. ApplyAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false)
  1000. wait(0.2)
  1001. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1002. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  1003. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1})
  1004. end
  1005. WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  1006. wait(1)
  1007. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10})
  1008. local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1009. PART.CFrame = CFRAME*CF(0,10,0)
  1010. Debris:AddItem(PART,10)
  1011. local PARTICLES = script.Explode:Clone()
  1012. PARTICLES.Parent = PART
  1013. PARTICLES:Emit(500)
  1014. ApplyAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true)
  1015. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  1016. WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1017. WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1018. end))
  1019. end
  1020. end
  1021. end
  1022. end
  1023. if EXPLODED == true then
  1024. break
  1025. end
  1026. CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3)
  1027. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1028. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1029. end
  1030. end
  1031. end))
  1032. end
  1033. end))
  1034. for i=0, 1, 0.1 / Animation_Speed do
  1035. Swait()
  1036. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1037. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1038. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1039. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1040. end
  1041. ATTACK = false
  1042. Rooted = false
  1043. end
  1044.  
  1045. function PainlessRain()
  1046. ATTACK = true
  1047. Rooted = true
  1048. local SPOTS = {}
  1049. local BULLETS = 0
  1050. repeat
  1051. BULLETS = BULLETS + 1
  1052. for i = 1, 15 do
  1053. Swait()
  1054. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1058. end
  1059. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = GUN.Body.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1060. until KEYHOLD == false
  1061. for i = 1, BULLETS do
  1062. for i=0, 0.5, 0.1 / Animation_Speed do
  1063. Swait()
  1064. GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1065. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1066. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1067. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1068. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1069. end
  1070. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1071. table.insert(SPOTS,HITPOS)
  1072. CreateSound(145080998, GUN.Barrel, 2, 1, false)
  1073. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = GUN.Barrel.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  1074. for i=0, 0.35, 0.1 / Animation_Speed do
  1075. Swait()
  1076. GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1077. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1081. end
  1082. end
  1083. coroutine.resume(coroutine.create(function()
  1084. for i = 1, #SPOTS do
  1085. wait(0.1)
  1086. coroutine.resume(coroutine.create(function()
  1087. local SPOT = SPOTS[i]
  1088. local BOLT = Lightning({Material = "Neon", FadeIn = true, Color = C3(1,0,0), Start = SPOT+VT(0,150,0), End = SPOT, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 125, Thicken = true})
  1089. local POSITION = BOLT.Pos
  1090. ApplyAoE(POSITION,75/2,0,0,350,true)
  1091. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,150,50), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  1092. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(75,5,75), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 165970126, SoundPitch = 1, SoundVolume = 4})
  1093. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(35,15,35), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1094. end))
  1095. end
  1096. end))
  1097. ATTACK = false
  1098. Rooted = false
  1099. end
  1100.  
  1101. function ShadowRush()
  1102. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1103. if HITFLOOR then
  1104. ATTACK = true
  1105. Rooted = true
  1106. local A = false
  1107. coroutine.resume(coroutine.create(function()
  1108. for i=0, 0.2, 0.1 / Animation_Speed do
  1109. Swait()
  1110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1114. end
  1115. A = true
  1116. repeat
  1117. Swait()
  1118. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1120. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1121. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1122. until ATTACK == false
  1123. end))
  1124. repeat wait() until A == true
  1125. local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(15,0,15))
  1126. ZONE.Color = C3(0,0,0)
  1127. MakeForm(ZONE,"Cyl")
  1128. ZONE.CFrame = CF(HITPOS)
  1129. local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true)
  1130. for i =1, 45 do
  1131. Swait()
  1132. AURA.Volume = AURA.Volume + 10/45
  1133. ZONE.Transparency = ZONE.Transparency - 1/45
  1134. ZONE.Size = ZONE.Size + VT(0.3,0,0.3)
  1135. end
  1136. local SIZE = ZONE.Size
  1137. local BARRAGE = true
  1138. local ZAPS = {224339201,168586621,168586586}
  1139. coroutine.resume(coroutine.create(function()
  1140. local LOOP = 0
  1141. repeat
  1142. Swait()
  1143. Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = ZONE.Position, SegmentL = 1, Thickness = 0.05, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 20, Thicken = false})
  1144. AURA.Parent = ZONE
  1145. LOOP = LOOP + 1
  1146. if MRANDOM(1,15) == 1 then
  1147. CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false)
  1148. local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15))
  1149. Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0.5,0,0.15), Start = CFRAME.p+VT(0,90,0), End = CFRAME.p, SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 100, Branches = true, FadeTime = 20, Thicken = true})
  1150. --WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1151. end
  1152. ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12))
  1153. until BARRAGE == false
  1154. for i = 1, 35 do
  1155. Swait()
  1156. --Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0,0,0), Start = GUN.Barrel.CFrame*CF(0, 1, 0.045).p, End = ZONE.Position, SegmentL = 1, Thickness = 0.05, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 20, Thicken = false})
  1157. AURA.Parent = ZONE
  1158. LOOP = LOOP + 1
  1159. if MRANDOM(1,15) == 1 then
  1160. CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false)
  1161. local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15))
  1162. Lightning({Ignore = workspace, Material = "Neon", FadeIn = true, Color = C3(0.5,0,0.15), Start = CFRAME.p+VT(0,90,0), End = CFRAME.p, SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 100, Branches = true, FadeTime = 20, Thicken = true})
  1163. --WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1164. end
  1165. ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12))
  1166. end
  1167. for i =1, 45 do
  1168. Swait()
  1169. AURA.Volume = AURA.Volume - 10/45
  1170. ZONE.Transparency = ZONE.Transparency + 1/45
  1171. ZONE.Size = ZONE.Size - VT(0.3,0,0.3)
  1172. end
  1173. Debris:AddItem(ZONE,10)
  1174. end))
  1175. repeat
  1176. wait(0.25)
  1177. coroutine.resume(coroutine.create(function()
  1178. local BLOD = CreatePart(3, Effects, "Neon", 0, 0, C3(0,0,0), "Shade Blod", VT(10,0,10))
  1179. BLOD.Color = C3(0,0,0)
  1180. MakeForm(BLOD,"Cyl")
  1181. local DIRECTION = CF(ZONE.Position,ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,1).p)
  1182. BLOD.CFrame = DIRECTION
  1183. for i = 1, 40 do
  1184. Swait()
  1185. BLOD.CFrame = BLOD.CFrame * CF(0,0,-0.6)
  1186. end
  1187. local TOPOS = VT(Mouse.Hit.p.X,BLOD.Position.Y,Mouse.Hit.p.Z)
  1188. BLOD.CFrame = CF(BLOD.Position,TOPOS)
  1189. local DISTANCE = 15
  1190. for i = 1, 500 do
  1191. Swait()
  1192. BLOD.CFrame = BLOD.CFrame * CF(0,0,-1)
  1193. DISTANCE = (BLOD.Position-TOPOS).Magnitude
  1194. if DISTANCE <= 2 then
  1195. break
  1196. end
  1197. end
  1198. ApplyAoE(BLOD.Position,15,0,0,50,true,true)
  1199. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = BLOD.Size/1.5, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(BLOD.Position), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(2,4), RotationZ = 0, Material = "Neon", Color = BLOD.Color, SoundID = 304999618, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
  1200. Lightning({Ignore = workspace, Material = "Neon", FadeIn = false, Color = C3(0.5/2,0,0.15/2), Start = BLOD.Position, End = BLOD.Position+VT(0,15,0), SegmentL = 1, Thickness = 0.05, DoesFade = true, MaxDist = 45, Branches = false, FadeTime = 20, Thicken = true})
  1201. for i = 1, 45 do
  1202. Swait()
  1203. BLOD.Size = BLOD.Size + VT(0.25,0,0.25)
  1204. BLOD.Transparency = BLOD.Transparency + 1/45
  1205. end
  1206. BLOD:remove()
  1207. end))
  1208. until KEYHOLD == false
  1209. BARRAGE = false
  1210. ATTACK = false
  1211. Rooted = false
  1212. end
  1213. end
  1214.  
  1215. function AttackTemplate()
  1216. ATTACK = true
  1217. Rooted = false
  1218. for i=0, 1, 0.1 / Animation_Speed do
  1219. Swait()
  1220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1224. end
  1225. ATTACK = false
  1226. Rooted = false
  1227. end
  1228.  
  1229. --//=================================\\
  1230. --|| MISC
  1231. --\\=================================//
  1232.  
  1233. function TAUNT1()
  1234. ATTACK = true
  1235. Rooted = false
  1236. CreateSound(865772398, Torso, 6, 1, false)
  1237. for i=0, 0.1, 0.1 / Animation_Speed do
  1238. Swait()
  1239. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1241. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1243. end
  1244. for i=0, 1, 0.1 / Animation_Speed do
  1245. Swait()
  1246. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.4) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(25), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1250. end
  1251. for i=0, 1, 0.1 / Animation_Speed do
  1252. Swait()
  1253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1257. end
  1258. ATTACK = false
  1259. Rooted = false
  1260. end
  1261.  
  1262. function TAUNT2()
  1263. ATTACK = true
  1264. Rooted = false
  1265. for i=0, 1, 0.1 / Animation_Speed do
  1266. Swait()
  1267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1271. end
  1272. ATTACK = false
  1273. Rooted = false
  1274. end
  1275.  
  1276. function EMOTE()
  1277. ATTACK = true
  1278. Rooted = false
  1279. local LOOP = 0
  1280. for i=0, 0.1, 0.1 / Animation_Speed do
  1281. Swait()
  1282. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1286. end
  1287. for i=0, 3, 0.1 / Animation_Speed do
  1288. Swait()
  1289. LOOP = LOOP + 1
  1290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1294. end
  1295. for i=0, 0.1, 0.1 / Animation_Speed do
  1296. Swait()
  1297. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1298. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1301. end
  1302. ATTACK = false
  1303. Rooted = false
  1304. end
  1305.  
  1306. --//=================================\\
  1307. --|| ASSIGN THINGS TO KEYS
  1308. --\\=================================//
  1309.  
  1310. function MouseDown(Mouse)
  1311. HOLD = true
  1312. if ATTACK == false then
  1313. Bullet()
  1314. end
  1315. end
  1316.  
  1317. function MouseUp(Mouse)
  1318. HOLD = false
  1319. end
  1320.  
  1321. function KeyDown(Key)
  1322. KEYHOLD = true
  1323. if Key == "z" and ATTACK == false then
  1324. ScytheThrow()
  1325. end
  1326.  
  1327. if Key == "b" and ATTACK == false then
  1328. FingerMagic()
  1329. end
  1330.  
  1331. if Key == "c" and ATTACK == false then
  1332. PainlessRain()
  1333. end
  1334.  
  1335. if Key == "v" and ATTACK == false then
  1336. ShadowRush()
  1337. end
  1338.  
  1339. if Key == "x" and ATTACK == false then
  1340. end
  1341.  
  1342. if Key == "t" and ATTACK == false then
  1343. TAUNT1()
  1344. end
  1345.  
  1346. if Key == "p" and ATTACK == false then
  1347. EMOTE()
  1348. end
  1349. end
  1350.  
  1351. function KeyUp(Key)
  1352. KEYHOLD = false
  1353. end
  1354.  
  1355. Mouse.Button1Down:connect(function(NEWKEY)
  1356. MouseDown(NEWKEY)
  1357. end)
  1358. Mouse.Button1Up:connect(function(NEWKEY)
  1359. MouseUp(NEWKEY)
  1360. end)
  1361. Mouse.KeyDown:connect(function(NEWKEY)
  1362. KeyDown(NEWKEY)
  1363. end)
  1364. Mouse.KeyUp:connect(function(NEWKEY)
  1365. KeyUp(NEWKEY)
  1366. end)
  1367.  
  1368. --//=================================\\
  1369. --\\=================================//
  1370.  
  1371. function unanchor()
  1372. if UNANCHOR == true then
  1373. for _, c in pairs(Character:GetDescendants()) do
  1374. if c:IsA("BasePart") and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1375. c.Anchored = false
  1376. end
  1377. end
  1378. end
  1379. end
  1380.  
  1381. --//=================================\\
  1382. --|| WRAP THE WHOLE SCRIPT UP
  1383. --\\=================================//
  1384.  
  1385. Humanoid.Changed:connect(function(Jump)
  1386. if Jump == "Jump" and (Disable_Jump == true) then
  1387. Humanoid.Jump = false
  1388. end
  1389. end)
  1390.  
  1391. sick.AncestryChanged:Connect(function()
  1392. sick.Parent = Character
  1393. end)
  1394.  
  1395. while true do
  1396. Swait()
  1397. script.Parent = WEAPONGUI
  1398. ANIMATE.Parent = nil
  1399. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1400. v:Stop();
  1401. end
  1402. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1403. Humanoid = IT("Humanoid",Character)
  1404. end
  1405. Humanoid.HipHeight = 5
  1406. SINE = SINE + CHANGE
  1407. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1408. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1409. if ATTACK == false then
  1410. if TORSOVELOCITY < 1 then
  1411. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1412. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1413. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1414. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1415. elseif TORSOVELOCITY > 1 then
  1416. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1417. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.6) * ANGLES(RAD(165), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1420. end
  1421. end
  1422. for E = 1, #TAIL do
  1423. TAIL[E].Parent.Parent = Character
  1424. TAIL[E].C1 = Clerp(TAIL[E].C1,CF(0, 0, 0) * ANGLES(RAD(-2 * COS(SINE / 48) + 1 * SIN(SINE / 12)), RAD(0), RAD(1 * SIN(SINE / 24))), 1 / Animation_Speed)
  1425. end
  1426. unanchor()
  1427. Humanoid.MaxHealth = "inf"
  1428. Humanoid.Health = "inf"
  1429. if Rooted == false then
  1430. Disable_Jump = false
  1431. Humanoid.WalkSpeed = Speed
  1432. elseif Rooted == true then
  1433. Disable_Jump = true
  1434. Humanoid.WalkSpeed = 0
  1435. end
  1436. for _, c in pairs(Character:GetChildren()) do
  1437. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1438. c.Material = "Neon"
  1439. if c:FindFirstChildOfClass("ParticleEmitter") then
  1440. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1441. end
  1442. c.Color = C3(0,0,0)
  1443. if c == Head then
  1444. if c:FindFirstChild("face") then
  1445. c.face:remove()
  1446. end
  1447. end
  1448. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1449. c:remove()
  1450. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1451. c:remove()
  1452. end
  1453. end
  1454. sick.SoundId = "rbxassetid://292773785"
  1455. sick.Looped = true
  1456. sick.Pitch = 1
  1457. sick.Volume = 1.5
  1458. sick.Playing = true
  1459. sick.Parent = Character
  1460. --refit()
  1461. Humanoid.Name = "Grim"
  1462. Humanoid.PlatformStand = false
  1463. end
  1464.  
  1465. --//=================================\\
  1466. --\\=================================//
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472. --//====================================================\\--
  1473. --|| END OF SCRIPT
  1474. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement