Advertisement
Rider_Lol

Untitled

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