Advertisement
Freightus2

Blade Magician Leak Void Script Builder

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