Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.53 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. local Player = game:GetService("Players").TheCraftNCreator
  5. local FakeMouse = script.FakeMouse:Clone();
  6. FakeMouse.Parent = Player.Character;
  7. script.FakeMouse:Destroy()
  8. do
  9. local GUID = {}
  10. do
  11. GUID.IDs = {};
  12. function GUID:new(len)
  13. local id;
  14. if(not len)then
  15. id = (tostring(function() end))
  16. id = id:gsub("function: ","")
  17. else
  18. local function genID(len)
  19. local newID = ""
  20. for i = 1,len do
  21. newID = newID..string.char(math.random(48,90))
  22. end
  23. return newID
  24. end
  25. repeat id = genID(len) until not GUID.IDs[id]
  26. local oid = id;
  27. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  28. GUID.IDs[oid]=true;
  29. end
  30. return id
  31. end
  32. end
  33.  
  34. local AHB = Instance.new("BindableEvent")
  35.  
  36. local FPS = 30
  37.  
  38. local TimeFrame = 0
  39.  
  40. local LastFrame = tick()
  41. local Frame = 1/FPS
  42.  
  43. game:service'RunService'.Heartbeat:connect(function(s,p)
  44. TimeFrame = TimeFrame + s
  45. if(TimeFrame >= Frame)then
  46. for i = 1,math.floor(TimeFrame/Frame) do
  47. AHB:Fire()
  48. end
  49. LastFrame=tick()
  50. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  51. end
  52. end)
  53.  
  54.  
  55. function swait(dur)
  56. if(dur == 0 or typeof(dur) ~= 'number')then
  57. AHB.Event:wait()
  58. else
  59. for i = 1, dur*FPS do
  60. AHB.Event:wait()
  61. end
  62. end
  63. end
  64.  
  65. local oPlayer = Player
  66. local Player = oPlayer
  67.  
  68. local loudnesses={}
  69. script.Parent = Player.Character
  70. local CoAS = {Actions={}}
  71. local Event = Instance.new("RemoteEvent")
  72. Event.Name = "UserInputEvent"
  73. Event.Parent = Player.Character
  74. local Func = Instance.new("RemoteFunction")
  75. Func.Name = "GetClientProperty"
  76. Func.Parent = Player.Character
  77. local fakeEvent = function()
  78. local t = {_fakeEvent=true,Waited={},Connected={}}
  79. t.Connect = function(self,f)
  80. local ft={}
  81. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  82. ft.Disconnect=ft.disconnect
  83.  
  84. ft.Func=function(...)
  85. for id,_ in next, t.Waited do
  86. t.Waited[id] = true
  87. end
  88. return f(...)
  89. end;
  90.  
  91. table.insert(self.Connected,ft)
  92. return ft;
  93. end
  94. t.connect = t.Connect
  95. t.Wait = function()
  96. local guid = GUID:new(25)
  97. local waitingId = guid:Get()
  98. t.Waited[waitingId]=false
  99. repeat swait() until t.Waited[waitingId]==true
  100. t.Waited[waitingId]=nil;
  101. guid:Trash()
  102. end
  103. t.wait = t.Wait
  104. return t
  105. end
  106. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  107. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  108. local Run = {RenderStepped=fakeEvent()}
  109.  
  110. function CoAS:BindAction(name,fun,touch,...)
  111. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  112. end
  113. function CoAS:UnbindAction(name)
  114. CoAS.Actions[name] = nil
  115. end
  116. local function te(self,ev,...)
  117. local t = self[ev]
  118. if t and t._fakeEvent and t.Connected then
  119. for i,v in next, t.Connected do
  120. if(v.Func and not v.Disconnected)then
  121. v.Func(...)
  122. else
  123. t.Connected[i]=nil
  124. end
  125. end
  126. end
  127. end
  128. m.TrigEvent = te
  129. UsIS.TrigEvent = te
  130. Run.TrigEvent = te
  131. Event.OnServerEvent:Connect(function(plr,io)
  132. if plr~=Player then return end
  133. --[[table.foreach(io,print)
  134. print'---']]
  135. if io.Mouse then
  136. m.Target = io.Target
  137. m.Hit = io.Hit
  138. elseif io.KeyEvent then
  139. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  140. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  141. if io.UserInputState == Enum.UserInputState.Begin then
  142. m:TrigEvent("Button1Down")
  143. else
  144. m:TrigEvent("Button1Up")
  145. end
  146. end
  147. if(not io.KeyEvent and not io.Mouse)then
  148.  
  149. for n,t in pairs(CoAS.Actions) do
  150. for _,k in pairs(t.Keys) do
  151. if k==io.KeyCode then
  152. t.Function(t.Name,io.UserInputState,io)
  153. end
  154. end
  155. end
  156. if io.UserInputState == Enum.UserInputState.Begin then
  157. UsIS:TrigEvent("InputBegan",io,false)
  158. else
  159. UsIS:TrigEvent("InputEnded",io,false)
  160. end
  161. end
  162. end)
  163.  
  164. Func.OnServerInvoke = function(plr,inst,play)
  165. if plr~=Player then return end
  166. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  167. loudnesses[inst]=play
  168. end
  169. end
  170.  
  171. function GetClientProperty(inst,prop)
  172. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  173. return loudnesses[inst]
  174. elseif(prop == 'PlaybackLoudness')then
  175. return Func:InvokeClient(Player,'RegSound',inst)
  176. end
  177. return Func:InvokeClient(Player,inst,prop)
  178. end
  179. local oldGame = game;
  180. function GetFakePlayer()
  181. local oldPlayer = Player;
  182. local fakePlayer = newproxy(true)
  183. getmetatable(fakePlayer).__index = function(s,i)
  184. if(i == 'GetMouse')then
  185. return function() return m; end
  186. end
  187. return Player[i]
  188. end
  189. getmetatable(fakePlayer).__newindex = function(s,i,v)
  190. Player[i]=v
  191. end
  192. getmetatable(fakePlayer).__call=function(self,...)
  193. if(self == fakePlayer)then self = Player end
  194. local wh = {...}
  195. local name = table.remove(wh,1)
  196. for i,v in next, wh do
  197. wh[i]=v
  198. end
  199. if(name == 'GetMouse')then
  200. return m;
  201. end
  202. return self(name,unpack(wh))
  203. end
  204. getmetatable(fakePlayer).__namecall=function(self,...)
  205. if(self == fakePlayer)then self = Player end
  206. local tuple={...}
  207. local name = table.remove(tuple,#tuple)
  208.  
  209. if(name == 'GetMouse')then
  210. return m;
  211. else
  212. return self[name](self,unpack(tuple))
  213. end
  214. end
  215.  
  216. return fakePlayer
  217. end
  218. local oll = LoadLibrary;
  219. function LoadLibrary(libtard)
  220. local libtarddestroyed=oll(libtard)
  221. if(libtard=='RbxUtility')then
  222. local library={Create=function(obj)
  223. local inst = Instance.new(obj)
  224. return function(props)
  225. for prop,valu in next, props do
  226. inst[prop]=valu
  227. end
  228. return inst
  229. end
  230. end}
  231. setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
  232.  
  233. return library
  234. else
  235. return libtarddestroyed
  236. end
  237. end
  238. fakePlayer = GetFakePlayer()
  239. local function GetService(s,i)
  240. local service = s:GetService(i)
  241. if(i == 'Players')then
  242. local oldService = service;
  243. local fakeService = newproxy(true)
  244. getmetatable(fakeService).__index = function(s,i)
  245. if(s == fakeService)then s=oldService end
  246. if(i == 'LocalPlayer' or i == 'localPlayer')then
  247. return fakePlayer
  248. elseif(i == 'oPlayer')then
  249. return oPlayer
  250. else
  251. return s[i]
  252. end
  253. end
  254. getmetatable(fakeService).__newindex = function(s,i,v)
  255. if(s == fakeService)then s=oldService end
  256. s[i]=v
  257. end
  258. getmetatable(fakeService).__call=function(self,...)
  259. if(self == fakeService)then self = oldService end
  260. local wh = {...}
  261. local name = table.remove(wh,1)
  262. for i,v in next, wh do
  263. wh[i]=v
  264. end
  265. return self(name,unpack(wh))
  266. end
  267. getmetatable(fakeService).__namecall=function(self,...)
  268. if(self == fakeService)then self = oldService end
  269. local tuple={...}
  270. local name = table.remove(tuple,#tuple)
  271.  
  272. return self[name](self,unpack(tuple))
  273. end
  274. getmetatable(fakeService).__metatable = 'gay'
  275. return fakeService
  276. elseif(i == 'RunService')then
  277. local oldService = service;
  278. local fakeService = newproxy(true)
  279. getmetatable(fakeService).__index = function(s,i)
  280. if(s == fakeService)then s=oldService end
  281. return Run[i] or s[i]
  282. end
  283. getmetatable(fakeService).__newindex = function(s,i,v)
  284. if(s == fakeService)then s=oldService end
  285. s[i]=v
  286. end
  287. getmetatable(fakeService).__call=function(self,...)
  288. if(self == fakeService)then self = oldService end
  289. local wh = {...}
  290. local name = table.remove(wh,1)
  291. for i,v in next, wh do
  292. wh[i]=v
  293. end
  294. return self(name,unpack(wh))
  295. end
  296. getmetatable(fakeService).__namecall=function(self,...)
  297. if(self == fakeService)then self = oldService end
  298. local tuple={...}
  299. local name = table.remove(tuple,#tuple)
  300.  
  301. return self[name](self,unpack(tuple))
  302. end
  303. getmetatable(fakeService).__metatable = 'gay'
  304. return fakeService
  305. elseif(i == 'UserInputService')then
  306. return UsIS
  307. elseif(i == 'ContextActionService')then
  308. return CoAS;
  309. else
  310. return service
  311. end
  312. end
  313.  
  314. local new = Instance.new;
  315. Instance = {}
  316. Instance.new = function(inst,obje)
  317. local lp = GetService(oldGame,'Players').localPlayer
  318. local instance = new(inst)
  319. if(inst=='ObjectValue')then
  320. local fake = newproxy(true)
  321. getmetatable(fake).__index=function(self,index)
  322. if(self==fake)then self=instance end
  323. return self[index]
  324. end
  325. getmetatable(fake).__newindex=function(self,index,value)
  326. if(self==fake)then self=instance end
  327. if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
  328. self[index]=oPlayer
  329. else
  330. self[index]=value
  331. end
  332. end
  333. getmetatable(fake).__call=function(self,...)
  334. if(self == fake)then self = instance end
  335. local wh = {...}
  336. local name = table.remove(wh,1)
  337. for i,v in next, wh do
  338. if(v == fake)then v = instance end
  339. wh[i]=v
  340. end
  341. return self(name,unpack(wh))
  342. end
  343. getmetatable(fake). __namecall=function(self,...)
  344. if(self == fake)then self = instance end
  345. local tuple={...}
  346. local name = table.remove(tuple,#tuple)
  347. return self[name](self,unpack(tuple))
  348. end
  349. return fake
  350. else
  351. instance.Parent = obje
  352. return instance;
  353. end
  354.  
  355. end
  356. local serviceFunctions={
  357. service=true,
  358. GetService=true,
  359. }
  360. local fakeGame = newproxy(true)
  361. getmetatable(fakeGame).__index = function(s,i)
  362. if(s == fakeGame)then s=oldGame end
  363. local serv = GetService(oldGame,i)
  364. if serviceFunctions[i] then
  365. return GetService
  366. elseif(serv)then
  367. return serv
  368. else
  369. return s[i]
  370. end
  371. end
  372. getmetatable(fakeGame).__newindex = function(s,i,v)
  373. if(s == fakeGame)then s=oldGame end
  374. s[i]=v
  375. end
  376. getmetatable(fakeGame).__call=function(self,...)
  377. if(self == fakeGame)then self = oldGame end
  378. local wh = {...}
  379. local name = table.remove(wh,1)
  380. for i,v in next, wh do
  381. if(v == fakeGame)then v = oldGame end
  382. wh[i]=v
  383. end
  384. if serviceFunctions[name] then
  385. return GetService(self,unpack(wh))
  386. else
  387. return self(name,unpack(wh))
  388. end
  389. end
  390. getmetatable(fakeGame). __namecall=function(self,...)
  391. if(self == fakeGame)then self = oldGame end
  392. local tuple={...}
  393. local name = table.remove(tuple,#tuple)
  394.  
  395. local funcToCall=self[name]
  396.  
  397. if serviceFunctions[name] then
  398. return GetService(self,unpack(tuple))
  399. else
  400. return self[name](self,unpack(tuple))
  401. end
  402. end
  403. getmetatable(fakeGame).__metatable = 'gay'
  404.  
  405. coroutine.wrap(function()
  406. while true do
  407. Run:TrigEvent('RenderStepped')
  408. swait()
  409. end
  410. end)()
  411. game=fakeGame
  412. UserInputService,ContextActionService = UsIS,CoAS
  413. end
  414.  
  415. wait(0.2)
  416.  
  417. Player = game:GetService("Players").LocalPlayer
  418. PlayerGui = Player.PlayerGui
  419. Cam = workspace.CurrentCamera
  420. Backpack = Player.Backpack
  421. Character = Player.Character
  422. Humanoid = Character.Humanoid
  423. Mouse = Player:GetMouse()
  424. RootPart = Character["HumanoidRootPart"]
  425. Torso = Character["Torso"]
  426. Head = Character["Head"]
  427. RightArm = Character["Right Arm"]
  428. LeftArm = Character["Left Arm"]
  429. RightLeg = Character["Right Leg"]
  430. LeftLeg = Character["Left Leg"]
  431. RootJoint = RootPart["RootJoint"]
  432. Neck = Torso["Neck"]
  433. RightShoulder = Torso["Right Shoulder"]
  434. LeftShoulder = Torso["Left Shoulder"]
  435. RightHip = Torso["Right Hip"]
  436. LeftHip = Torso["Left Hip"]
  437. local sick = Instance.new("Sound",Character)
  438.  
  439. IT = Instance.new
  440. CF = CFrame.new
  441. VT = Vector3.new
  442. RAD = math.rad
  443. C3 = Color3.new
  444. UD2 = UDim2.new
  445. BRICKC = BrickColor.new
  446. ANGLES = CFrame.Angles
  447. EULER = CFrame.fromEulerAnglesXYZ
  448. COS = math.cos
  449. ACOS = math.acos
  450. SIN = math.sin
  451. ASIN = math.asin
  452. ABS = math.abs
  453. MRANDOM = math.random
  454. FLOOR = math.floor
  455.  
  456. --//=================================\\
  457. --|| USEFUL VALUES
  458. --\\=================================//
  459.  
  460. Animation_Speed = 3
  461. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  462. local Speed = 46
  463. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  464. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  465. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  466. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  467. local DAMAGEMULTIPLIER = 1
  468. local ANIM = "Idle"
  469. local ATTACK = false
  470. local EQUIPPED = false
  471. local HOLD = false
  472. local COMBO = 1
  473. local Rooted = false
  474. local SINE = 0
  475. local KEYHOLD = false
  476. local CHANGE = 2 / Animation_Speed
  477. local WALKINGANIM = false
  478. local VALUE1 = false
  479. local VALUE2 = false
  480. local ROBLOXIDLEANIMATION = IT("Animation")
  481. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  482. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  483. --ROBLOXIDLEANIMATION.Parent = Humanoid
  484. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  485. WEAPONGUI.Name = "ReaperGUI"
  486. local Effects = IT("Folder", Character)
  487. Effects.Name = "Effects"
  488. local ANIMATOR = Humanoid.Animator
  489. local ANIMATE = Character.Animate
  490. local UNANCHOR = true
  491.  
  492. --//=================================\\
  493. --\\=================================//
  494.  
  495.  
  496. --//=================================\\
  497. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  498. --\\=================================//
  499.  
  500. ArtificialHB = Instance.new("BindableEvent", script)
  501. ArtificialHB.Name = "ArtificialHB"
  502.  
  503. script:WaitForChild("ArtificialHB")
  504.  
  505. frame = Frame_Speed
  506. tf = 0
  507. allowframeloss = false
  508. tossremainder = false
  509. lastframe = tick()
  510. script.ArtificialHB:Fire()
  511.  
  512. game:GetService("RunService").Heartbeat:connect(function(s, p)
  513. tf = tf + s
  514. if tf >= frame then
  515. if allowframeloss then
  516. script.ArtificialHB:Fire()
  517. lastframe = tick()
  518. else
  519. for i = 1, math.floor(tf / frame) do
  520. script.ArtificialHB:Fire()
  521. end
  522. lastframe = tick()
  523. end
  524. if tossremainder then
  525. tf = 0
  526. else
  527. tf = tf - frame * math.floor(tf / frame)
  528. end
  529. end
  530. end)
  531.  
  532. --//=================================\\
  533. --\\=================================//
  534.  
  535. --//=================================\\
  536. --|| SOME FUNCTIONS
  537. --\\=================================//
  538.  
  539. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  540. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  541. end
  542.  
  543. function PositiveAngle(NUMBER)
  544. if NUMBER >= 0 then
  545. NUMBER = 0
  546. end
  547. return NUMBER
  548. end
  549.  
  550. function NegativeAngle(NUMBER)
  551. if NUMBER <= 0 then
  552. NUMBER = 0
  553. end
  554. return NUMBER
  555. end
  556.  
  557. function Swait(NUMBER)
  558. if NUMBER == 0 or NUMBER == nil then
  559. ArtificialHB.Event:wait()
  560. else
  561. for i = 1, NUMBER do
  562. ArtificialHB.Event:wait()
  563. end
  564. end
  565. end
  566.  
  567. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  568. local NEWMESH = IT(MESH)
  569. if MESH == "SpecialMesh" then
  570. NEWMESH.MeshType = MESHTYPE
  571. if MESHID ~= "nil" and MESHID ~= "" then
  572. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  573. end
  574. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  575. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  576. end
  577. end
  578. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  579. NEWMESH.Scale = SCALE
  580. NEWMESH.Parent = PARENT
  581. return NEWMESH
  582. end
  583.  
  584. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  585. local NEWPART = IT("Part")
  586. NEWPART.formFactor = FORMFACTOR
  587. NEWPART.Reflectance = REFLECTANCE
  588. NEWPART.Transparency = TRANSPARENCY
  589. NEWPART.CanCollide = false
  590. NEWPART.Locked = true
  591. NEWPART.Anchored = true
  592. if ANCHOR == false then
  593. NEWPART.Anchored = false
  594. end
  595. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  596. NEWPART.Name = NAME
  597. NEWPART.Size = SIZE
  598. NEWPART.Position = Torso.Position
  599. NEWPART.Material = MATERIAL
  600. NEWPART:BreakJoints()
  601. NEWPART.Parent = PARENT
  602. return NEWPART
  603. end
  604.  
  605. local function weldBetween(a, b)
  606. local weldd = Instance.new("ManualWeld")
  607. weldd.Part0 = a
  608. weldd.Part1 = b
  609. weldd.C0 = CFrame.new()
  610. weldd.C1 = b.CFrame:inverse() * a.CFrame
  611. weldd.Parent = a
  612. return weldd
  613. end
  614.  
  615.  
  616. function QuaternionFromCFrame(cf)
  617. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  618. local trace = m00 + m11 + m22
  619. if trace > 0 then
  620. local s = math.sqrt(1 + trace)
  621. local recip = 0.5 / s
  622. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  623. else
  624. local i = 0
  625. if m11 > m00 then
  626. i = 1
  627. end
  628. if m22 > (i == 0 and m00 or m11) then
  629. i = 2
  630. end
  631. if i == 0 then
  632. local s = math.sqrt(m00 - m11 - m22 + 1)
  633. local recip = 0.5 / s
  634. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  635. elseif i == 1 then
  636. local s = math.sqrt(m11 - m22 - m00 + 1)
  637. local recip = 0.5 / s
  638. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  639. elseif i == 2 then
  640. local s = math.sqrt(m22 - m00 - m11 + 1)
  641. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  642. end
  643. end
  644. end
  645.  
  646. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  647. local xs, ys, zs = x + x, y + y, z + z
  648. local wx, wy, wz = w * xs, w * ys, w * zs
  649. local xx = x * xs
  650. local xy = x * ys
  651. local xz = x * zs
  652. local yy = y * ys
  653. local yz = y * zs
  654. local zz = z * zs
  655. 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))
  656. end
  657.  
  658. function QuaternionSlerp(a, b, t)
  659. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  660. local startInterp, finishInterp;
  661. if cosTheta >= 0.0001 then
  662. if (1 - cosTheta) > 0.0001 then
  663. local theta = ACOS(cosTheta)
  664. local invSinTheta = 1 / SIN(theta)
  665. startInterp = SIN((1 - t) * theta) * invSinTheta
  666. finishInterp = SIN(t * theta) * invSinTheta
  667. else
  668. startInterp = 1 - t
  669. finishInterp = t
  670. end
  671. else
  672. if (1 + cosTheta) > 0.0001 then
  673. local theta = ACOS(-cosTheta)
  674. local invSinTheta = 1 / SIN(theta)
  675. startInterp = SIN((t - 1) * theta) * invSinTheta
  676. finishInterp = SIN(t * theta) * invSinTheta
  677. else
  678. startInterp = t - 1
  679. finishInterp = t
  680. end
  681. end
  682. 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
  683. end
  684.  
  685. function Clerp(a, b, t)
  686. local qa = {QuaternionFromCFrame(a)}
  687. local qb = {QuaternionFromCFrame(b)}
  688. local ax, ay, az = a.x, a.y, a.z
  689. local bx, by, bz = b.x, b.y, b.z
  690. local _t = 1 - t
  691. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  692. end
  693.  
  694. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  695. local frame = IT("Frame")
  696. frame.BackgroundTransparency = TRANSPARENCY
  697. frame.BorderSizePixel = BORDERSIZEPIXEL
  698. frame.Position = POSITION
  699. frame.Size = SIZE
  700. frame.BackgroundColor3 = COLOR
  701. frame.BorderColor3 = BORDERCOLOR
  702. frame.Name = NAME
  703. frame.Parent = PARENT
  704. return frame
  705. end
  706.  
  707. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  708. local label = IT("TextLabel")
  709. label.BackgroundTransparency = 1
  710. label.Size = UD2(1, 0, 1, 0)
  711. label.Position = UD2(0, 0, 0, 0)
  712. label.TextColor3 = TEXTCOLOR
  713. label.TextStrokeTransparency = STROKETRANSPARENCY
  714. label.TextTransparency = TRANSPARENCY
  715. label.FontSize = TEXTFONTSIZE
  716. label.Font = TEXTFONT
  717. label.BorderSizePixel = BORDERSIZEPIXEL
  718. label.TextScaled = false
  719. label.Text = TEXT
  720. label.Name = NAME
  721. label.Parent = PARENT
  722. return label
  723. end
  724.  
  725. function NoOutlines(PART)
  726. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  727. end
  728.  
  729. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  730. local NEWWELD = IT(TYPE)
  731. NEWWELD.Part0 = PART0
  732. NEWWELD.Part1 = PART1
  733. NEWWELD.C0 = C0
  734. NEWWELD.C1 = C1
  735. NEWWELD.Parent = PARENT
  736. return NEWWELD
  737. end
  738.  
  739. local S = IT("Sound")
  740. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  741. local NEWSOUND = nil
  742. coroutine.resume(coroutine.create(function()
  743. NEWSOUND = S:Clone()
  744. NEWSOUND.Parent = PARENT
  745. NEWSOUND.Volume = VOLUME
  746. NEWSOUND.Pitch = PITCH
  747. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  748. NEWSOUND:play()
  749. if DOESLOOP == true then
  750. NEWSOUND.Looped = true
  751. else
  752. local REPOSITION = NEWSOUND.AncestryChanged:Connect(function()
  753. NEWSOUND.Parent = PARENT
  754. end)
  755. repeat wait(1) until NEWSOUND.Playing == false
  756. REPOSITION:disconnect()
  757. NEWSOUND:remove()
  758. end
  759. end))
  760. return NEWSOUND
  761. end
  762.  
  763. function CFrameFromTopBack(at, top, back)
  764. local right = top:Cross(back)
  765. 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)
  766. end
  767.  
  768. --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})
  769. function WACKYEFFECT(Table)
  770. local TYPE = (Table.EffectType or "Sphere")
  771. local SIZE = (Table.Size or VT(1,1,1))
  772. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  773. local TRANSPARENCY = (Table.Transparency or 0)
  774. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  775. local CFRAME = (Table.CFrame or Torso.CFrame)
  776. local MOVEDIRECTION = (Table.MoveToPos or nil)
  777. local ROTATION1 = (Table.RotationX or 0)
  778. local ROTATION2 = (Table.RotationY or 0)
  779. local ROTATION3 = (Table.RotationZ or 0)
  780. local MATERIAL = (Table.Material or "Neon")
  781. local COLOR = (Table.Color or C3(1,1,1))
  782. local TIME = (Table.Time or 45)
  783. local SOUNDID = (Table.SoundID or nil)
  784. local SOUNDPITCH = (Table.SoundPitch or nil)
  785. local SOUNDVOLUME = (Table.SoundVolume or nil)
  786. coroutine.resume(coroutine.create(function()
  787. local PLAYSSOUND = false
  788. local SOUND = nil
  789. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  790. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  791. PLAYSSOUND = true
  792. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  793. end
  794. EFFECT.Color = COLOR
  795. local MSH = nil
  796. if TYPE == "Sphere" then
  797. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  798. elseif TYPE == "Block" then
  799. MSH = IT("BlockMesh",EFFECT)
  800. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  801. elseif TYPE == "Wave" then
  802. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  803. elseif TYPE == "Ring" then
  804. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  805. elseif TYPE == "Slash" then
  806. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  807. elseif TYPE == "Round Slash" then
  808. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  809. elseif TYPE == "Swirl" then
  810. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  811. elseif TYPE == "Skull" then
  812. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  813. elseif TYPE == "Crystal" then
  814. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  815. end
  816. if MSH ~= nil then
  817. local MOVESPEED = nil
  818. if MOVEDIRECTION ~= nil then
  819. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  820. end
  821. local GROWTH = SIZE - ENDSIZE
  822. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  823. if TYPE == "Block" then
  824. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  825. else
  826. EFFECT.CFrame = CFRAME
  827. end
  828. for LOOP = 1, TIME+1 do
  829. Swait()
  830. MSH.Scale = MSH.Scale - GROWTH/TIME
  831. if TYPE == "Wave" then
  832. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  833. end
  834. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  835. if TYPE == "Block" then
  836. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  837. else
  838. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  839. end
  840. if MOVEDIRECTION ~= nil then
  841. local ORI = EFFECT.Orientation
  842. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  843. EFFECT.Orientation = ORI
  844. end
  845. end
  846. EFFECT.Transparency = 1
  847. if PLAYSSOUND == false then
  848. EFFECT:remove()
  849. else
  850. repeat Swait() until SOUND.Playing == false
  851. EFFECT:remove()
  852. end
  853. else
  854. if PLAYSSOUND == false then
  855. EFFECT:remove()
  856. else
  857. repeat Swait() until SOUND.Playing == false
  858. EFFECT:remove()
  859. end
  860. end
  861. end))
  862. end
  863.  
  864. function Shatter(Part)
  865. if Part.Transparency < 1 then
  866. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  867. Debris:AddItem(SOUNDPART,5)
  868. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  869. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  870. local SIZESET = SIZE/4
  871. local XOffset = Part.Size.X*1.5/SIZESET
  872. local YOffset = Part.Size.Y*1.5/SIZESET
  873. local ZOffset = Part.Size.Z*1.5/SIZESET
  874. for x = 1, math.ceil(XOffset) do
  875. for y = 1, math.ceil(YOffset) do
  876. for z = 1, math.ceil(ZOffset) do
  877. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  878. SHARD.CanCollide = true
  879. 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))
  880. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  881. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  882. for _, c in pairs(Part:GetChildren()) do
  883. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  884. c:Clone().Parent = SHARD
  885. end
  886. end
  887. end
  888. end
  889. end
  890. end
  891. Part:remove()
  892. end
  893.  
  894. --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})
  895. function Lightning(Table)
  896. local Color = Table.Color or C3(1,1,1)
  897. local StartPos = Table.Start or Torso.Position
  898. local EndPos = Table.End or Mouse.Hit.p
  899. local SegmentLength = Table.SegmentL or 2
  900. local Thickness = Table.Thickness or 0.1
  901. local Dissapear = Table.DoesFade or false
  902. local Parent = Table.Ignore or Character
  903. local MaxDist = Table.MaxDist or 400
  904. local Branches = Table.Branches or false
  905. local Thicken = Table.Thicken or false
  906. local FadeTime = Table.FadeTime or 15
  907. local FadeIn = Table.FadeIn or false
  908. local Material = Table.Material or "Neon"
  909. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  910. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  911. local LIGHTNINGMODEL = IT("Model",Effects)
  912. LIGHTNINGMODEL.Name = "Lightning"
  913. local LastBolt = nil
  914. for E = 1, DISTANCE do
  915. local ExtraSize = 0
  916. if Thicken == true then
  917. ExtraSize = (DISTANCE-E)/15
  918. end
  919. local TRANSPARENCY = 0
  920. if FadeIn == true then
  921. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  922. if TRANSPARENCY < 0 then
  923. TRANSPARENCY = 0
  924. end
  925. end
  926. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  927. PART.Color = Color
  928. MakeForm(PART,"Cyl")
  929. if LastBolt == nil then
  930. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  931. else
  932. 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)
  933. end
  934. LastBolt = PART
  935. if Branches == true and E < (DISTANCE-5) then
  936. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  937. if CHOICE == 1 then
  938. local LASTBRANCH = nil
  939. for i = 1, MRANDOM(2,5) do
  940. local ExtraSize2 = 0
  941. if Thicken == true then
  942. ExtraSize = ((DISTANCE-E)/25)/i
  943. end
  944. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  945. PART.Color = Color
  946. MakeForm(PART,"Cyl")
  947. if LASTBRANCH == nil then
  948. 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)
  949. else
  950. 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)
  951. end
  952. LASTBRANCH = PART
  953. end
  954. end
  955. end
  956. end
  957. if Dissapear == true then
  958. coroutine.resume(coroutine.create(function()
  959. for i = 1, FadeTime do
  960. Swait()
  961. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  962. if c.ClassName == "Part" then
  963. c.Transparency = c.Transparency + (i/FadeTime)/10
  964. end
  965. end
  966. end
  967. LIGHTNINGMODEL:remove()
  968. end))
  969. elseif Dissapear == false then
  970. Debris:AddItem(LIGHTNINGMODEL,0.1)
  971. end
  972. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  973. end
  974.  
  975. function MakeForm(PART,TYPE)
  976. if TYPE == "Cyl" then
  977. local MSH = IT("CylinderMesh",PART)
  978. elseif TYPE == "Ball" then
  979. local MSH = IT("SpecialMesh",PART)
  980. MSH.MeshType = "Sphere"
  981. elseif TYPE == "Wedge" then
  982. local MSH = IT("SpecialMesh",PART)
  983. MSH.MeshType = "Wedge"
  984. end
  985. end
  986.  
  987. Debris = game:GetService("Debris")
  988.  
  989. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  990. local DIRECTION = CF(StartPos,EndPos).lookVector
  991. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  992. end
  993.  
  994. function turnto(position)
  995. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  996. end
  997.  
  998. --//=================================\\
  999. --|| WEAPON CREATION
  1000. --\\=================================//
  1001.  
  1002. local BASECOLOR = C3(50/255, 25/255, 25/255)
  1003. local BONE = script.SpinePart
  1004. BONE.Parent = nil
  1005.  
  1006. Head:ClearAllChildren()
  1007.  
  1008. for _, c in pairs(Character:GetChildren()) do
  1009. if script:FindFirstChild(c.Name) then
  1010. local Part = script[c.Name]
  1011. Part.Parent = Character
  1012. Part.Base.Anchored = false
  1013. Part:SetPrimaryPartCFrame(c.CFrame)
  1014. weldBetween(c,Part.Base)
  1015. c.Transparency = 1
  1016. for _, e in pairs(Part:GetChildren()) do
  1017. if e:IsA("BasePart") then
  1018. e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1019. end
  1020. end
  1021. end
  1022. end
  1023.  
  1024. local SCYTHE = script.ThrowScythe
  1025. SCYTHE.Parent = nil
  1026.  
  1027. local GUN = script.Gun
  1028. GUN.Parent = Character
  1029. GUN.Grip.Anchored = false
  1030. GUN:SetPrimaryPartCFrame(RightArm.CFrame*CF(0,-1,0))
  1031. local GRIP = weldBetween(RightArm,GUN.Grip)
  1032.  
  1033. local TAIL = {}
  1034. local LASTPART = Torso
  1035. local SIZE = BONE.Size
  1036. for i = 1, 16 do
  1037. local PART = BONE:Clone()
  1038. PART.Anchored = false
  1039. PART.Parent = Character
  1040. PART.Size = SIZE*((19-i)/10)/1.25
  1041. if LASTPART == Torso then
  1042. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1.2,0.16), CF(0, 0, 0))
  1043. LASTPART = PART
  1044. table.insert(TAIL,WELD)
  1045. else
  1046. local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y,0), CF(0, 0, 0))
  1047. LASTPART = PART
  1048. table.insert(TAIL,WELD)
  1049. end
  1050. end
  1051. RightLeg:remove()
  1052. LeftLeg:remove()
  1053. Torso.Transparency = 1
  1054. Head.Transparency = 1
  1055.  
  1056. Humanoid.DisplayDistanceType = "None"
  1057.  
  1058. Humanoid.HipHeight = 2
  1059.  
  1060. local SKILLFONT = "Antique"
  1061. local SKILLTEXTSIZE = 7
  1062.  
  1063. Humanoid.Died:connect(function()
  1064. workspace:ClearAllChildren()
  1065. end)
  1066.  
  1067. 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")
  1068. 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")
  1069. 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")
  1070. 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")
  1071. --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")
  1072.  
  1073. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1074. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1075. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1076. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1077. --local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", BASECOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1078.  
  1079. --//=================================\\
  1080. --|| DAMAGING
  1081. --\\=================================//
  1082.  
  1083. function ApplyDamage(Humanoid,Damage)
  1084. Damage = Damage * DAMAGEMULTIPLIER
  1085. if Humanoid.Health ~= 0 then
  1086. Humanoid.Health = Humanoid.Health - Damage
  1087. end
  1088. end
  1089.  
  1090. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  1091. local CHILDREN = workspace:GetDescendants()
  1092. for index, CHILD in pairs(CHILDREN) do
  1093. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1094. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1095. if HUM then
  1096. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1097. if TORSO then
  1098. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1099. if INSTAKILL == true then
  1100. CHILD:BreakJoints()
  1101. if OPTION ~= nil then
  1102. Kill(CHILD,OPTION)
  1103. end
  1104. else
  1105. local DMG = MRANDOM(MINDMG,MAXDMG)
  1106. ApplyDamage(HUM,DMG)
  1107. end
  1108. if FLING ~= 0 then
  1109. for _, c in pairs(CHILD:GetChildren()) do
  1110. if c:IsA("BasePart") then
  1111. local bv = Instance.new("BodyVelocity")
  1112. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1113. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1114. bv.Parent = c
  1115. Debris:AddItem(bv,0.05)
  1116. end
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end
  1122. end
  1123. end
  1124. end
  1125.  
  1126. function Kill(Victim,Fire)
  1127. coroutine.resume(coroutine.create(function()
  1128. local NIL = script.TotalNil:Clone()
  1129. NIL.Parent = Victim
  1130. NIL.Disabled = false
  1131. if Fire ~= true then
  1132. Victim:BreakJoints()
  1133. for _, c in pairs(Victim:GetChildren()) do
  1134. if c:IsA("BasePart") then
  1135. c.Anchored = true
  1136. end
  1137. end
  1138. for _, c in pairs(Victim:GetChildren()) do
  1139. if c:IsA("BasePart") then
  1140. Shatter(c)
  1141. end
  1142. end
  1143. else
  1144. Victim:BreakJoints()
  1145. local FIRES = {}
  1146. for _, e in pairs(Victim:GetDescendants()) do
  1147. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  1148. e.Transparency = 1
  1149. e:ClearAllChildren()
  1150. local FIRE = script.HellFire:Clone()
  1151. FIRE.Parent = e
  1152. FIRE.Enabled = true
  1153. table.insert(FIRES,FIRE)
  1154. elseif e.ClassName == "Decal" then
  1155. e:remove()
  1156. end
  1157. end
  1158. for i = 1, 50 do
  1159. Victim:BreakJoints()
  1160. wait()
  1161. end
  1162. for i = 1, #FIRES do
  1163. FIRES[i].Enabled = false
  1164. end
  1165. wait(1.1)
  1166. Victim:remove()
  1167. end
  1168. end))
  1169. end
  1170.  
  1171. --//=================================\\
  1172. --|| ATTACK FUNCTIONS AND STUFF
  1173. --\\=================================//
  1174.  
  1175. function Bullet()
  1176. ATTACK = true
  1177. Rooted = false
  1178. local GYRO = IT("BodyGyro",RootPart)
  1179. GYRO.D = 750
  1180. GYRO.P = 20000
  1181. GYRO.MaxTorque = VT(0,40000000,0)
  1182. local LOCKED = true
  1183. local SHOT = false
  1184. coroutine.resume(coroutine.create(function()
  1185. for i=0, 1, 0.1 / Animation_Speed do
  1186. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1187. Swait()
  1188. 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)
  1189. 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)
  1190. 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)
  1191. 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)
  1192. end
  1193. LOCKED = false
  1194. SHOT = true
  1195. repeat
  1196. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1197. Swait()
  1198. 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)
  1199. 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)
  1200. 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)
  1201. 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)
  1202. until HOLD == false and SHOT == false
  1203. for i=0, 0.3, 0.1 / Animation_Speed do
  1204. Swait()
  1205. 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)
  1206. 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)
  1207. 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)
  1208. 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)
  1209. end
  1210. for i=0, 0.3, 0.1 / Animation_Speed do
  1211. Swait()
  1212. 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)
  1213. 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)
  1214. 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)
  1215. 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)
  1216. end
  1217. GYRO:remove()
  1218. ATTACK = false
  1219. Rooted = false
  1220. end))
  1221. repeat wait() until LOCKED == false
  1222. repeat
  1223. SHOT = true
  1224. wait(0.2)
  1225. SHOT = false
  1226. 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})
  1227. local HIT = BULLET.Hit
  1228. local HITPOS = BULLET.End
  1229. if HIT then
  1230. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1231. Kill(HIT.Parent)
  1232. end
  1233. end
  1234. 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})
  1235. 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})
  1236. 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})
  1237. 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})
  1238. until HOLD == false
  1239. end
  1240.  
  1241. function ScytheThrow()
  1242. ATTACK = true
  1243. Rooted = false
  1244. local GYRO = IT("BodyGyro",RootPart)
  1245. GYRO.D = 750
  1246. GYRO.P = 20000
  1247. GYRO.MaxTorque = VT(0,40000000,0)
  1248. local BLADE = SCYTHE:Clone()
  1249. CreateSound(402981977, BLADE, 3, MRANDOM(12,15)/10, false)
  1250. BLADE.Parent = Effects
  1251. BLADE.Anchored = false
  1252. BLADE.CFrame = LeftArm.CFrame* CF(0, 3.4, 0.529) * ANGLES(RAD(0), RAD(180),RAD(0))
  1253. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, BLADE, CF(0, -2.2, 0) * ANGLES(RAD(180), RAD(90),RAD(0)), CF(0, 0, 0))
  1254. for i=1, 25 do
  1255. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1256. Swait()
  1257. BLADE.Transparency = BLADE.Transparency - 1/25
  1258. 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)
  1259. 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)
  1260. 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)
  1261. 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)
  1262. end
  1263. for _, c in pairs(BLADE:GetDescendants()) do
  1264. if c.ClassName == "ParticleEmitter" then
  1265. c.Enabled = true
  1266. end
  1267. end
  1268. for i=0, 0.5, 0.1 / Animation_Speed do
  1269. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1270. Swait()
  1271. 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)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. end
  1276. for i=0, 0.1, 0.1 / Animation_Speed do
  1277. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1278. Swait()
  1279. 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)
  1280. 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)
  1281. 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)
  1282. 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)
  1283. end
  1284. coroutine.resume(coroutine.create(function()
  1285. WELD:remove()
  1286. BLADE.Anchored = true
  1287. BLADE.Orientation = VT(0,BLADE.Orientation.Y,90)
  1288. local DISSAPEAR = false
  1289. local TOPOS = nil
  1290. local TARGET = nil
  1291. coroutine.resume(coroutine.create(function()
  1292. local ORI = BLADE.Orientation.Y
  1293. repeat
  1294. wait()
  1295. ORI = BLADE.Orientation.Y
  1296. if TOPOS == nil then
  1297. BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  1298. else
  1299. BLADE.CFrame = CF(CF(BLADE.Position,TOPOS)*CF(0,0,-1).p) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  1300. if TARGET ~= nil then
  1301. if (BLADE.Position - TARGET.Position).Magnitude < 5 then
  1302. Kill(TARGET.Parent,true)
  1303. TARGET = nil
  1304. end
  1305. end
  1306. if (BLADE.Position - TOPOS).Magnitude < 5 then
  1307. TOPOS = nil
  1308. end
  1309. end
  1310. ORI = BLADE.Orientation.Y
  1311. until DISSAPEAR == true
  1312. for i = 1, 35 do
  1313. wait()
  1314. ORI = BLADE.Orientation.Y
  1315. BLADE.CFrame = CF(BLADE.Position) * ANGLES(RAD(0), RAD(ORI - 15), RAD(90))
  1316. BLADE.Transparency = BLADE.Transparency + 1/35
  1317. ORI = BLADE.Orientation.Y
  1318. end
  1319. for _, c in pairs(BLADE:GetDescendants()) do
  1320. if c.ClassName == "ParticleEmitter" then
  1321. c.Enabled = false
  1322. end
  1323. end
  1324. Debris:AddItem(BLADE,5)
  1325. end))
  1326. TOPOS = RootPart.CFrame*CF(0,-3,-15).p
  1327. for i = 1, 7 do
  1328. wait(1)
  1329. local DISTANCE = 100
  1330. local HUMAN = nil
  1331. for _, c in pairs(workspace:GetChildren()) do
  1332. if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  1333. local HUM = c:FindFirstChildOfClass("Humanoid")
  1334. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1335. if TORSO and HUM.Health > 0 then
  1336. if (TORSO.Position - BLADE.Position).Magnitude < DISTANCE then
  1337. DISTANCE = (TORSO.Position - BLADE.Position).Magnitude
  1338. TARGET = TORSO
  1339. HUMAN = HUM
  1340. end
  1341. end
  1342. end
  1343. end
  1344. if TARGET then
  1345. TOPOS = CF(TARGET.Position,BLADE.Position)*CF(0,0,15).p
  1346. local HITFLOOR,HITPOS = Raycast(BLADE.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1347. if HITFLOOR then
  1348. 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})
  1349. end
  1350. end
  1351. repeat wait(1) until TOPOS == nil
  1352. end
  1353. DISSAPEAR = true
  1354. end))
  1355. for i=0, 0.4, 0.1 / Animation_Speed do
  1356. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1357. Swait()
  1358. 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)
  1359. 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)
  1360. 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)
  1361. 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)
  1362. end
  1363. GYRO:remove()
  1364. ATTACK = false
  1365. Rooted = false
  1366. end
  1367.  
  1368. function FingerMagic()
  1369. ATTACK = true
  1370. Rooted = false
  1371. for i=0, 0.1, 0.1 / Animation_Speed do
  1372. Swait()
  1373. 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)
  1374. 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)
  1375. 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)
  1376. 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)
  1377. end
  1378. for i=0, 1, 0.1 / Animation_Speed do
  1379. Swait()
  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(0 + 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(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1382. 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)
  1383. 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)
  1384. end
  1385. 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})
  1386. for i = 1, 5 do
  1387. 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})
  1388. end
  1389. CreateSound(217767125, LeftArm, 10, 1, false)
  1390. coroutine.resume(coroutine.create(function()
  1391. local EXPLODED = false
  1392. for i = 1, 3 do
  1393. coroutine.resume(coroutine.create(function()
  1394. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1395. if HITFLOOR then
  1396. local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0))
  1397. for i = 1, 35 do
  1398. wait()
  1399. for _, c in pairs(workspace:GetChildren()) do
  1400. if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  1401. local HUM = c:FindFirstChildOfClass("Humanoid")
  1402. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1403. if TORSO and HUM.Health > 0 then
  1404. if (TORSO.Position - CFRAME.p).Magnitude < 10 then
  1405. EXPLODED = true
  1406. coroutine.resume(coroutine.create(function()
  1407. for i = 1, 15 do
  1408. ApplyAoE(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false)
  1409. wait(0.2)
  1410. 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})
  1411. 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})
  1412. 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})
  1413. end
  1414. 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})
  1415. wait(1)
  1416. 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})
  1417. local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1418. PART.CFrame = CFRAME*CF(0,10,0)
  1419. Debris:AddItem(PART,10)
  1420. local PARTICLES = script.Explode:Clone()
  1421. PARTICLES.Parent = PART
  1422. PARTICLES:Emit(500)
  1423. ApplyAoE(CFRAME*CF(0,10,0).p,45*2,0,0,350,true)
  1424. 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})
  1425. 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})
  1426. 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})
  1427. end))
  1428. end
  1429. end
  1430. end
  1431. end
  1432. if EXPLODED == true then
  1433. break
  1434. end
  1435. CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3)
  1436. 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})
  1437. 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})
  1438. end
  1439. end
  1440. end))
  1441. end
  1442. end))
  1443. for i=0, 1, 0.1 / Animation_Speed do
  1444. Swait()
  1445. 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)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. end
  1450. ATTACK = false
  1451. Rooted = false
  1452. end
  1453.  
  1454. function PainlessRain()
  1455. ATTACK = true
  1456. Rooted = true
  1457. local SPOTS = {}
  1458. local BULLETS = 0
  1459. repeat
  1460. BULLETS = BULLETS + 1
  1461. for i = 1, 15 do
  1462. Swait()
  1463. 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)
  1464. 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)
  1465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1466. 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)
  1467. end
  1468. 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})
  1469. until KEYHOLD == false
  1470. for i = 1, BULLETS do
  1471. for i=0, 0.5, 0.1 / Animation_Speed do
  1472. Swait()
  1473. GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1474. 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)
  1475. 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)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1477. 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)
  1478. end
  1479. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  1480. table.insert(SPOTS,HITPOS)
  1481. CreateSound(145080998, GUN.Barrel, 2, 1, false)
  1482. 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})
  1483. for i=0, 0.35, 0.1 / Animation_Speed do
  1484. Swait()
  1485. GRIP.C1 = Clerp(GRIP.C1, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1486. 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)
  1487. 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)
  1488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1489. 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)
  1490. end
  1491. end
  1492. coroutine.resume(coroutine.create(function()
  1493. for i = 1, #SPOTS do
  1494. wait(0.1)
  1495. coroutine.resume(coroutine.create(function()
  1496. local SPOT = SPOTS[i]
  1497. 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})
  1498. local POSITION = BOLT.Pos
  1499. ApplyAoE(POSITION,75/2,0,0,350,true)
  1500. 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})
  1501. 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})
  1502. 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})
  1503. end))
  1504. end
  1505. end))
  1506. ATTACK = false
  1507. Rooted = false
  1508. end
  1509.  
  1510. function ShadowRush()
  1511. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1512. if HITFLOOR then
  1513. ATTACK = true
  1514. Rooted = true
  1515. local A = false
  1516. coroutine.resume(coroutine.create(function()
  1517. for i=0, 0.2, 0.1 / Animation_Speed do
  1518. Swait()
  1519. 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)
  1520. 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)
  1521. 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)
  1522. 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)
  1523. end
  1524. A = true
  1525. repeat
  1526. Swait()
  1527. 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)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. until ATTACK == false
  1532. end))
  1533. repeat wait() until A == true
  1534. local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(15,0,15))
  1535. ZONE.Color = C3(0,0,0)
  1536. MakeForm(ZONE,"Cyl")
  1537. ZONE.CFrame = CF(HITPOS)
  1538. local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true)
  1539. for i =1, 45 do
  1540. Swait()
  1541. AURA.Volume = AURA.Volume + 10/45
  1542. ZONE.Transparency = ZONE.Transparency - 1/45
  1543. ZONE.Size = ZONE.Size + VT(0.3,0,0.3)
  1544. end
  1545. local SIZE = ZONE.Size
  1546. local BARRAGE = true
  1547. local ZAPS = {224339201,168586621,168586586}
  1548. coroutine.resume(coroutine.create(function()
  1549. local LOOP = 0
  1550. repeat
  1551. Swait()
  1552. 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})
  1553. AURA.Parent = ZONE
  1554. LOOP = LOOP + 1
  1555. if MRANDOM(1,15) == 1 then
  1556. CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false)
  1557. local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15))
  1558. 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})
  1559. --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})
  1560. end
  1561. ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12))
  1562. until BARRAGE == false
  1563. for i = 1, 35 do
  1564. Swait()
  1565. --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})
  1566. AURA.Parent = ZONE
  1567. LOOP = LOOP + 1
  1568. if MRANDOM(1,15) == 1 then
  1569. CreateSound(ZAPS[MRANDOM(1,#ZAPS)], ZONE, 5, MRANDOM(8,12)/10, false)
  1570. local CFRAME = ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,-4,MRANDOM(10,15))
  1571. 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})
  1572. --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})
  1573. end
  1574. ZONE.Size = SIZE + VT(1 * COS(LOOP / 12),0,1 * COS(LOOP / 12))
  1575. end
  1576. for i =1, 45 do
  1577. Swait()
  1578. AURA.Volume = AURA.Volume - 10/45
  1579. ZONE.Transparency = ZONE.Transparency + 1/45
  1580. ZONE.Size = ZONE.Size - VT(0.3,0,0.3)
  1581. end
  1582. Debris:AddItem(ZONE,10)
  1583. end))
  1584. repeat
  1585. wait(0.25)
  1586. coroutine.resume(coroutine.create(function()
  1587. local BLOD = CreatePart(3, Effects, "Neon", 0, 0, C3(0,0,0), "Shade Blod", VT(10,0,10))
  1588. BLOD.Color = C3(0,0,0)
  1589. MakeForm(BLOD,"Cyl")
  1590. local DIRECTION = CF(ZONE.Position,ZONE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,1).p)
  1591. BLOD.CFrame = DIRECTION
  1592. for i = 1, 40 do
  1593. Swait()
  1594. BLOD.CFrame = BLOD.CFrame * CF(0,0,-0.6)
  1595. end
  1596. local TOPOS = VT(Mouse.Hit.p.X,BLOD.Position.Y,Mouse.Hit.p.Z)
  1597. BLOD.CFrame = CF(BLOD.Position,TOPOS)
  1598. local DISTANCE = 15
  1599. for i = 1, 500 do
  1600. Swait()
  1601. BLOD.CFrame = BLOD.CFrame * CF(0,0,-1)
  1602. DISTANCE = (BLOD.Position-TOPOS).Magnitude
  1603. if DISTANCE <= 2 then
  1604. break
  1605. end
  1606. end
  1607. ApplyAoE(BLOD.Position,15,0,0,50,true,true)
  1608. 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})
  1609. 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})
  1610. for i = 1, 45 do
  1611. Swait()
  1612. BLOD.Size = BLOD.Size + VT(0.25,0,0.25)
  1613. BLOD.Transparency = BLOD.Transparency + 1/45
  1614. end
  1615. BLOD:remove()
  1616. end))
  1617. until KEYHOLD == false
  1618. BARRAGE = false
  1619. ATTACK = false
  1620. Rooted = false
  1621. end
  1622. end
  1623.  
  1624. function AttackTemplate()
  1625. ATTACK = true
  1626. Rooted = false
  1627. for i=0, 1, 0.1 / Animation_Speed do
  1628. Swait()
  1629. 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)
  1630. 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)
  1631. 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)
  1632. 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)
  1633. end
  1634. ATTACK = false
  1635. Rooted = false
  1636. end
  1637.  
  1638. --//=================================\\
  1639. --|| MISC
  1640. --\\=================================//
  1641.  
  1642. function TAUNT1()
  1643. ATTACK = true
  1644. Rooted = false
  1645. CreateSound(865772398, Torso, 6, 1, false)
  1646. for i=0, 0.1, 0.1 / Animation_Speed do
  1647. Swait()
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. end
  1653. for i=0, 1, 0.1 / Animation_Speed do
  1654. Swait()
  1655. 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)
  1656. 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)
  1657. 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)
  1658. 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)
  1659. end
  1660. for i=0, 1, 0.1 / Animation_Speed do
  1661. Swait()
  1662. 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)
  1663. 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)
  1664. 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)
  1665. 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)
  1666. end
  1667. ATTACK = false
  1668. Rooted = false
  1669. end
  1670.  
  1671. function TAUNT2()
  1672. ATTACK = true
  1673. Rooted = false
  1674. for i=0, 1, 0.1 / Animation_Speed do
  1675. Swait()
  1676. 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)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. end
  1681. ATTACK = false
  1682. Rooted = false
  1683. end
  1684.  
  1685. function EMOTE()
  1686. ATTACK = true
  1687. Rooted = false
  1688. local LOOP = 0
  1689. for i=0, 0.1, 0.1 / Animation_Speed do
  1690. Swait()
  1691. 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)
  1692. 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)
  1693. 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)
  1694. 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)
  1695. end
  1696. for i=0, 3, 0.1 / Animation_Speed do
  1697. Swait()
  1698. LOOP = LOOP + 1
  1699. 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)
  1700. 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)
  1701. 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)
  1702. 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)
  1703. end
  1704. for i=0, 0.1, 0.1 / Animation_Speed do
  1705. Swait()
  1706. 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)
  1707. 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)
  1708. 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)
  1709. 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)
  1710. end
  1711. ATTACK = false
  1712. Rooted = false
  1713. end
  1714.  
  1715. --//=================================\\
  1716. --|| ASSIGN THINGS TO KEYS
  1717. --\\=================================//
  1718.  
  1719. function MouseDown(Mouse)
  1720. HOLD = true
  1721. if ATTACK == false then
  1722. Bullet()
  1723. end
  1724. end
  1725.  
  1726. function MouseUp(Mouse)
  1727. HOLD = false
  1728. end
  1729.  
  1730. function KeyDown(Key)
  1731. KEYHOLD = true
  1732. if Key == "z" and ATTACK == false then
  1733. ScytheThrow()
  1734. end
  1735.  
  1736. if Key == "b" and ATTACK == false then
  1737. FingerMagic()
  1738. end
  1739.  
  1740. if Key == "c" and ATTACK == false then
  1741. PainlessRain()
  1742. end
  1743.  
  1744. if Key == "v" and ATTACK == false then
  1745. ShadowRush()
  1746. end
  1747.  
  1748. if Key == "x" and ATTACK == false then
  1749. end
  1750.  
  1751. if Key == "t" and ATTACK == false then
  1752. TAUNT1()
  1753. end
  1754.  
  1755. if Key == "p" and ATTACK == false then
  1756. EMOTE()
  1757. end
  1758. end
  1759.  
  1760. function KeyUp(Key)
  1761. KEYHOLD = false
  1762. end
  1763.  
  1764. Mouse.Button1Down:connect(function(NEWKEY)
  1765. MouseDown(NEWKEY)
  1766. end)
  1767. Mouse.Button1Up:connect(function(NEWKEY)
  1768. MouseUp(NEWKEY)
  1769. end)
  1770. Mouse.KeyDown:connect(function(NEWKEY)
  1771. KeyDown(NEWKEY)
  1772. end)
  1773. Mouse.KeyUp:connect(function(NEWKEY)
  1774. KeyUp(NEWKEY)
  1775. end)
  1776.  
  1777. --//=================================\\
  1778. --\\=================================//
  1779.  
  1780. function unanchor()
  1781. if UNANCHOR == true then
  1782. for _, c in pairs(Character:GetDescendants()) do
  1783. if c:IsA("BasePart") and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1784. c.Anchored = false
  1785. end
  1786. end
  1787. end
  1788. end
  1789.  
  1790. --//=================================\\
  1791. --|| WRAP THE WHOLE SCRIPT UP
  1792. --\\=================================//
  1793.  
  1794. Humanoid.Changed:connect(function(Jump)
  1795. if Jump == "Jump" and (Disable_Jump == true) then
  1796. Humanoid.Jump = false
  1797. end
  1798. end)
  1799.  
  1800. sick.AncestryChanged:Connect(function()
  1801. sick.Parent = Character
  1802. end)
  1803.  
  1804. while true do
  1805. Swait()
  1806. script.Parent = WEAPONGUI
  1807. ANIMATE.Parent = nil
  1808. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1809. v:Stop();
  1810. end
  1811. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1812. Humanoid = IT("Humanoid",Character)
  1813. end
  1814. Humanoid.HipHeight = 5
  1815. SINE = SINE + CHANGE
  1816. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1817. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1818. if ATTACK == false then
  1819. if TORSOVELOCITY < 1 then
  1820. 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)
  1821. 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)
  1822. 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)
  1823. 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)
  1824. elseif TORSOVELOCITY > 1 then
  1825. 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)
  1826. 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)
  1827. 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)
  1828. 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)
  1829. end
  1830. end
  1831. for E = 1, #TAIL do
  1832. TAIL[E].Parent.Parent = Character
  1833. 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)
  1834. end
  1835. unanchor()
  1836. Humanoid.MaxHealth = "inf"
  1837. Humanoid.Health = "inf"
  1838. if Rooted == false then
  1839. Disable_Jump = false
  1840. Humanoid.WalkSpeed = Speed
  1841. elseif Rooted == true then
  1842. Disable_Jump = true
  1843. Humanoid.WalkSpeed = 0
  1844. end
  1845. for _, c in pairs(Character:GetChildren()) do
  1846. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1847. c.Material = "Neon"
  1848. if c:FindFirstChildOfClass("ParticleEmitter") then
  1849. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1850. end
  1851. c.Color = C3(0,0,0)
  1852. if c == Head then
  1853. if c:FindFirstChild("face") then
  1854. c.face:remove()
  1855. end
  1856. end
  1857. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1858. c:remove()
  1859. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1860. c:remove()
  1861. end
  1862. end
  1863. sick.SoundId = "rbxassetid://292773785"
  1864. sick.Looped = true
  1865. sick.Pitch = 1
  1866. sick.Volume = 1.5
  1867. sick.Playing = true
  1868. sick.Parent = Character
  1869. --refit()
  1870. Humanoid.Name = "Grim"
  1871. Humanoid.PlatformStand = false
  1872. end
  1873.  
  1874. --//=================================\\
  1875. --\\=================================//
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881. --//====================================================\\--
  1882. --|| END OF SCRIPT
  1883. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement