Advertisement
memberhero

Tokaiyami V2

Jan 29th, 2019
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 135.95 KB | None | 0 0
  1. -- Script Made By Huge_Nazo
  2. -- A remake based off of turdalator's Tokaiyami
  3. -- Version : 0.6
  4.  
  5. --[[
  6. ___________ __ .__ .__ __________ .___
  7. \__ ___/___ | | _______ |__|___.__._____ _____ |__| \______ \ ____ _____ _____ __| _/____
  8. | | / _ \| |/ /\__ \ | < | |\__ \ / \| | | _// __ \ / \\__ \ / __ |/ __ \
  9. | |( <_> ) < / __ \| |\___ | / __ \| Y Y \ | | | \ ___/| Y Y \/ __ \_/ /_/ \ ___/
  10. |____| \____/|__|_ \(____ /__|/ ____|(____ /__|_| /__| |____|_ /\___ >__|_| (____ /\____ |\___ >
  11. \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/
  12. __________ ___ ___ _______
  13. \______ \___.__. / | \ __ __ ____ ____ \ \ _____ ____________
  14. | | _< | | / ~ \ | \/ ___\_/ __ \ / | \\__ \ \___ / _ \
  15. | | \\___ | \ Y / | / /_/ > ___/ / | \/ __ \_/ ( <_> )
  16. |______ // ____| \___|_ /|____/\___ / \___ >____\____|__ (____ /_____ \____/
  17. \/ \/ \/ /_____/ \/_____/ \/ \/ \/
  18.  
  19. --]]
  20. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  21. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  22. do
  23. print("FE Compatibility code by Mokiros")
  24. script.Parent = Player.Character
  25.  
  26. --RemoteEvent for communicating
  27. local Event = Instance.new("RemoteEvent")
  28. Event.Name = "UserInput_Event"
  29.  
  30. --Fake event to make stuff like Mouse.KeyDown work
  31. local function fakeEvent()
  32. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  33. t.connect = t.Connect
  34. return t
  35. end
  36.  
  37. --Creating fake input objects with fake variables
  38. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  39. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  40. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  41. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  42. end}
  43. --Merged 2 functions into one by checking amount of arguments
  44. CAS.UnbindAction = CAS.BindAction
  45.  
  46. --This function will trigger the events that have been :Connect()'ed
  47. local function te(self,ev,...)
  48. local t = m[ev]
  49. if t and t._fakeEvent and t.Function then
  50. t.Function(...)
  51. end
  52. end
  53. m.TrigEvent = te
  54. UIS.TrigEvent = te
  55.  
  56. Event.OnServerEvent:Connect(function(plr,io)
  57. if plr~=Player then return end
  58. if io.isMouse then
  59. m.Target = io.Target
  60. m.Hit = io.Hit
  61. else
  62. local b = io.UserInputState == Enum.UserInputState.Begin
  63. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  64. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  65. end
  66. for _,t in pairs(CAS.Actions) do
  67. for _,k in pairs(t.Keys) do
  68. if k==io.KeyCode then
  69. t.Function(t.Name,io.UserInputState,io)
  70. end
  71. end
  72. end
  73. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  74. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  75. end
  76. end)
  77. Event.Parent = NLS([==[
  78. local Player = game:GetService("Players").LocalPlayer
  79. local Event = script:WaitForChild("UserInput_Event")
  80.  
  81. local UIS = game:GetService("UserInputService")
  82. local input = function(io,a)
  83. if a then return end
  84. --Since InputObject is a client-side instance, we create and pass table instead
  85. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  86. end
  87. UIS.InputBegan:Connect(input)
  88. UIS.InputEnded:Connect(input)
  89.  
  90. local Mouse = Player:GetMouse()
  91. local h,t
  92. --Give the server mouse data 30 times every second, but only if the values changed
  93. --If player is not moving their mouse, client won't fire events
  94. while wait(1/30) do
  95. if h~=Mouse.Hit or t~=Mouse.Target then
  96. h,t=Mouse.Hit,Mouse.Target
  97. Event:FireServer({isMouse=true,Target=t,Hit=h})
  98. end
  99. end]==],Player.Character)
  100. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  101. end
  102. wait(0.2)
  103. local plr = owner
  104. local char = plr.Character
  105. local hume = char:WaitForChild("Humanoid")
  106. local animS = char:WaitForChild("Animate")
  107.  
  108. --
  109. local head = char:WaitForChild("Head")
  110. local tors = char:WaitForChild("Torso")
  111. local rarm = char:WaitForChild("Right Arm")
  112. local larm = char:WaitForChild("Left Arm")
  113. local rleg = char:WaitForChild("Right Leg")
  114. local lleg = char:WaitForChild("Left Leg")
  115. local hrp = char:WaitForChild("HumanoidRootPart")
  116. --
  117. local hw = tors:WaitForChild("Neck")
  118. local tw = hrp:WaitForChild("RootJoint")
  119. local raw = tors:WaitForChild("Right Shoulder")
  120. local law = tors:WaitForChild("Left Shoulder")
  121. local rlw = tors:WaitForChild("Right Hip")
  122. local llw = tors:WaitForChild("Left Hip")
  123. hume.JumpPower = 60
  124. -- Globals --
  125.  
  126. local i_n = Instance.new
  127. local v3 = Vector3.new
  128. local cfn = CFrame.new
  129. local cfa = CFrame.Angles
  130. local cfe = CFrame.fromEulerAnglesXYZ
  131. local bcn = BrickColor.new
  132. local c3 = Color3.new
  133. local ud2 = UDim2.new
  134.  
  135. function newC3(r, g, b)
  136. return c3(r/255, g/255, b/255)
  137. end
  138.  
  139. function newPart(p, name, x, y, z, col, trans, ref, anc, cc, prnt)
  140. local part = i_n("Part")
  141. part.Name = name
  142. part.Size = v3(x, y, z)
  143. part.BrickColor = col
  144. part.Transparency = trans
  145. part.Reflectance = ref
  146. part.Anchored = anc
  147. part.CanCollide = cc
  148. part.Parent = prnt
  149. return part
  150. end
  151.  
  152. function newWeld(a, b, c0, c1)
  153. local w = i_n("ManualWeld")
  154. w.Parent = a
  155. w.Part0 = a; w.Part1 = b
  156. if c0 then w.C0 = c0 end
  157. if c1 then w.C1 = c1 end
  158. return w
  159. end
  160.  
  161. function newAnim(id)
  162. local anim = i_n("Animation")
  163. anim.AnimationId = "http://www.roblox.com/asset/?id="..id
  164. anim = hume:LoadAnimation(anim)
  165. return anim
  166. end
  167.  
  168. function newSound(id, p, vol, pit, loop, por)
  169. local s = i_n("Sound")
  170. s.Parent = p
  171. s.SoundId = "rbxassetid://"..id
  172. s.Volume = vol; s.Pitch = pit
  173. s.Looped = loop; s.PlayOnRemove = por
  174. return s
  175. end
  176.  
  177. ArtificialHB = Instance.new("BindableEvent")
  178. ArtificialHB.Parent = script
  179. ArtificialHB.Name = "Heartbeat"
  180. script:WaitForChild("Heartbeat")
  181. --credit to saz/nym for this pacemaker
  182. frame = 1 / 60
  183. tf = 0
  184. allowframeloss = false
  185. tossremainder = false
  186. lastframe = tick()
  187. script.Heartbeat:Fire()
  188. game:GetService("RunService").Heartbeat:connect(function(s, p)
  189. tf = tf + s
  190. if tf >= frame then
  191. if allowframeloss then
  192. script.Heartbeat:Fire()
  193. lastframe = tick()
  194. else
  195. for i = 1, math.floor(tf / frame) do
  196. script.Heartbeat:Fire()
  197. end
  198. lastframe = tick()
  199. end
  200. if tossremainder then
  201. tf = 0
  202. else
  203. tf = tf - frame * math.floor(tf / frame)
  204. end
  205. end
  206. end)
  207. function swait(num)
  208. if num == 0 or num == nil then
  209. ArtificialHB.Event:wait()
  210. else
  211. for i = 0, num do
  212. ArtificialHB.Event:wait()
  213. end
  214. end
  215. end
  216.  
  217. -- Global Variables --
  218. local ogdefWS = 18
  219. local defWS = 18
  220. local combostep = 1
  221. local combowait = 2
  222. local combotime = tick()
  223.  
  224. local equipped = false
  225. local active = false
  226. local running = false
  227. local jumping = false
  228. local lwoverride = false
  229. local softoverride = false
  230. local wsoverride = false
  231. local mode = "Normal"
  232. local casted = false
  233. local retrieved = false
  234. local dump = Instance.new("Model");dump.Parent = tors;dump.Name = "effects"
  235. local lastpos = cfn()
  236. local recentlyclicked = false
  237. local pausedanims = {}
  238. local bAttacks = {}
  239. local bAbilities = {}
  240. local abilities = {
  241. {["name"] = "Swap Mode ^",
  242. ["cd"] = 0,
  243. ["ccd"] = 0,
  244. ["energycost"] = 0,
  245. ["key"] = "Z",
  246. ["ready"] = true,
  247. },
  248. {["name"] = "Swap Mode v",
  249. ["cd"] = 0,
  250. ["ccd"] = 0,
  251. ["energycost"] = 0,
  252. ["key"] = "X",
  253. ["ready"] = true,
  254. },
  255. {["name"] = "Sword Smash/Dancing Slash/Magic Blast",
  256. ["cd"] = 2,
  257. ["ccd"] = 0,
  258. ["energycost"] = 140,
  259. ["key"] = "Q",
  260. ["ready"] = true,
  261. },
  262. {["name"] = "Heavy Strike/Spikey Fissure/Knive Storm",
  263. ["cd"] = 3,
  264. ["ccd"] = 0,
  265. ["key"] = "E",
  266. ["energycost"] = 40,
  267. ["ready"] = true,
  268. },
  269. {["name"] = "Prickly Thrust/Cerberus Fists/Shadowey Vanquishment",
  270. ["cd"] = 4,
  271. ["ccd"] = 0,
  272. ["key"] = "R",
  273. ["energycost"] = 120,
  274. ["ready"] = true,
  275. },
  276. {["name"] = "nan/nan/S.E.B",
  277. ["cd"] = 20,
  278. ["ccd"] = 0,
  279. ["energycost"] = 300,
  280. ["key"] = "P",
  281. ["ready"] = true,
  282. }
  283. }
  284.  
  285. ----- Instances ------
  286. local bdmg = i_n("NumberValue");bdmg.Parent=script;bdmg.Value = 5;bdmg.Name="BaseDamage"
  287. local energy = i_n("NumberValue");energy.Parent=script;energy.Value = 0;energy.Name="Energy"
  288. local maxenergy = i_n("NumberValue");maxenergy.Parent=script;maxenergy.Value = 300;maxenergy.Name="MaxEnergy"
  289. local rage = i_n("NumberValue");rage.Parent=script;rage.Value = 0;rage.Name="Rage"
  290. local maxrage = 100
  291. local energyregen = i_n("NumberValue");energyregen.Parent=script;energyregen.Value = 1;energyregen.Name="EnergyRegen"
  292. local atkspd = i_n("NumberValue");atkspd.Parent=script;atkspd.Value = 1;atkspd.Name="AtkSpeed"
  293. local atkrange = i_n("NumberValue")atkrange.Parent=script;atkrange.Value = 3;atkrange.Name="AtkRange"
  294. local critc = i_n("NumberValue")critc.Parent=script;critc.Value = 0;critc.Name="CritChance"
  295. local cancastab = i_n("BoolValue")cancastab.Parent=script;cancastab.Name = "CanCastAbilities";cancastab.Value = true
  296. local enraged = false
  297.  
  298. local smoke = Instance.new("ParticleEmitter")
  299. smoke.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  300. smoke.LightEmission = 0
  301. smoke.LightInfluence = 0
  302. smoke.Size = NumberSequence.new({
  303. NumberSequenceKeypoint.new(0,.2,0),
  304. NumberSequenceKeypoint.new(1,6.75,0),
  305. })
  306. smoke.Texture = "rbxassetid://243086902"
  307. smoke.Transparency = NumberSequence.new({
  308. NumberSequenceKeypoint.new(0,0.8,0),
  309. NumberSequenceKeypoint.new(1,1,0),
  310. })
  311. smoke.ZOffset=-1.000
  312. smoke.Name = "smoke"
  313. smoke.Lifetime = NumberRange.new(1,1)
  314. smoke.Rate = 70
  315. smoke.Rotation = NumberRange.new(0,360)
  316. smoke.Speed = NumberRange.new(0)
  317. smoke.Parent = nil
  318.  
  319. local fire = Instance.new("ParticleEmitter")
  320. fire.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1))
  321. fire.LightEmission = 0.95
  322. fire.LightInfluence = 0
  323. fire.Size = NumberSequence.new({
  324. NumberSequenceKeypoint.new(0,2,0),
  325. NumberSequenceKeypoint.new(1,0,0),
  326. })
  327. fire.Texture = "rbxassetid://233069772"
  328. fire.Transparency = NumberSequence.new({
  329. NumberSequenceKeypoint.new(0,1,0),
  330. NumberSequenceKeypoint.new(0.9,0.5,0),
  331. NumberSequenceKeypoint.new(1,1,0),
  332. })
  333. fire.ZOffset=0.000
  334. fire.Name = "fire"
  335. fire.Acceleration = v3(0,5,0)
  336. fire.Lifetime = NumberRange.new(1,1)
  337. fire.Rate = 70
  338. fire.Rotation = NumberRange.new(0,360)
  339. fire.Speed = NumberRange.new(0)
  340. fire.Parent = nil
  341.  
  342. local dfunc = {
  343. function(hitHumanoid, damage, owner, crit)
  344. if hitHumanoid == owner then return end
  345. if hitHumanoid.RigType == "R15" then print'screw off r15';hitHumanoid.Health=0;return end
  346. local head = hitHumanoid.Parent:FindFirstChild("Head")
  347. if head~= nil then
  348. local debris = game:GetService("Debris")
  349. local p=Instance.new("Part");p.Parent=dump;p.CanCollide=false;p.Transparency=1;p.Size=Vector3.new(.2,.2,.2);p.CFrame=hitHumanoid.Parent.Head.CFrame+Vector3.new(math.random(-1,1),math.random(1,2),math.random(-1,1));p.Anchored = true
  350. local g=Instance.new("BillboardGui");g.Parent=p;g.Size=UDim2.new(2.5,0,2.5,0);g.Adornee=p;g.AlwaysOnTop=true
  351. local t=Instance.new("TextLabel");t.Parent=g;t.BackgroundTransparency=1;t.TextStrokeTransparency=0;t.Size=UDim2.new(1,0,1,0);t.TextScaled=true;t.Font= Enum.Font.SourceSansSemibold
  352. local hitnoises = {"199149186","199149137","199149221","199149235","199149269","199149297"}
  353. -- ========================================================================================
  354. if damage <= -1 then -- player is being healed
  355. t:TweenPosition(UDim2.new(0,0,-1,0),'Out','Sine',1.25)
  356. t.Text = "+"..( math.abs( math.floor((damage))).."")
  357. t.TextColor3=BrickColor.new("Lime green").Color
  358. t.TextStrokeColor3=BrickColor.new("Really black").Color
  359. local s=Instance.new("Sound")
  360. s.Parent= hitHumanoid.Parent.Head
  361. s.SoundId="rbxassetid://535405197"
  362. s.Volume = .1
  363. s.Pitch = 1.15
  364. s:Play()
  365. hitHumanoid:TakeDamage(damage)
  366. debris:AddItem(s,1)
  367. debris:AddItem(p,1.45)
  368. spawn(function() for i = 0,1.05,.05 do t.TextTransparency=i;t.TextStrokeTransparency=i;swait();end end)
  369. -- ========================================================================================
  370.  
  371. -- ========================================================================================
  372. elseif hitHumanoid.Parent:FindFirstChild("ForceField") ~= nil or hitHumanoid.Parent:FindFirstChild("Blocking") then -- player is blocking attack or has forcefield
  373. t:TweenPosition(UDim2.new(0,0,-0.1,0),'Out','Sine',2)
  374. t.Text = "Blocked!"
  375. t.TextColor3=BrickColor.new("Really blue").Color
  376. t.TextStrokeColor3=BrickColor.new("Really black").Color
  377. g.Size=UDim2.new(25,0,25,0)
  378. local s=Instance.new("Sound")
  379. s.Parent= hitHumanoid.Parent.Head
  380. s.SoundId="rbxassetid://135436314"
  381. s.Volume = 0.25
  382. s.Pitch = 0.825
  383. s:Play()
  384. debris:AddItem(s,1)
  385. debris:AddItem(p,.95)
  386. spawn(function() for i = 0,1.05,.05 do t.TextTransparency=i;t.TextStrokeTransparency=i;swait();end end)
  387. -- ========================================================================================
  388. elseif crit then -- player dealt critical strike
  389. t:TweenPosition(UDim2.new(0,0,-1,0),'Out','Quart',.9)
  390. t.Text = "-"..( math.abs( math.floor((damage))).."!")
  391. t.TextColor3=BrickColor.new("Deep orange").Color
  392. t.TextStrokeColor3=BrickColor.new("Maroon").Color
  393. t.ZIndex=3
  394. local a=Instance.new("ImageLabel", t)
  395. a.Size = UDim2.new(1,0,1,0)
  396. a.BackgroundTransparency = 1
  397. a.Image = "rbxassetid://649624738"
  398. a.ImageColor3 = BrickColor.new("Deep orange").Color
  399. a.ZIndex=2
  400. local s=Instance.new("Sound", hitHumanoid.Parent.Head)
  401. s.SoundId="rbxassetid://488886309"
  402. s.Volume = .1
  403. s.Pitch = 2.35
  404. s:Play()
  405. hitHumanoid:TakeDamage(damage)
  406. debris:AddItem(s,1)
  407. debris:AddItem(p,.85)
  408. spawn(function() for i = 0,1.05,.05 do t.TextTransparency=i;a.ImageTransparency=i;t.TextStrokeTransparency=i;swait();end end)
  409. -- ========================================================================================
  410. elseif damage >= (hitHumanoid.MaxHealth * .25) then -- player dealt high amount of damage
  411. t:TweenPosition(UDim2.new(0,0,-1,0),'Out','Quint',1)
  412. t.Text = "-"..( math.abs( math.floor((damage))).." !")
  413. t.TextColor3=BrickColor.new("Really red").Color
  414. t.TextStrokeColor3=BrickColor.new("Really black").Color
  415. t.Font = Enum.Font.SourceSansBold
  416. local s=Instance.new("Sound")
  417. s.Parent= hitHumanoid.Parent.Head
  418. s.SoundId="rbxassetid://1343263390"
  419. s.Volume = 0.15
  420. s.Pitch = 1.25
  421. s:Play()
  422. hitHumanoid:TakeDamage(damage)
  423. debris:AddItem(s,1)
  424. debris:AddItem(p,1)
  425. spawn(function() for i = 0,1.05,.05 do t.TextTransparency=i;t.TextStrokeTransparency=i;swait();end end)
  426. -- ========================================================================================
  427. elseif damage <= 0 then -- player dealt high amount of damage
  428. p:Destroy()
  429. -- ========================================================================================
  430. else -- player takes normal damage
  431. local huey = 56
  432. t.Font = Enum.Font.SourceSans
  433. local selectcol = Color3.fromHSV((huey-math.min((damage*10/hitHumanoid.MaxHealth),30))/360,damage/12,huey-huey+1)
  434. t:TweenPosition(UDim2.new(0,0,-1,0),'Out',Enum.EasingStyle.Quint,1)
  435. t.Text = "-"..( math.abs( math.floor((damage))))
  436. t.TextColor3=selectcol
  437. t.TextStrokeColor3=BrickColor.new("Really black").Color
  438. local s=Instance.new("Sound")
  439. s.Parent= hitHumanoid.Parent.Head
  440. s.SoundId="rbxassetid://"..hitnoises[math.random(1,#hitnoises)]
  441. s.Volume = (damage)/(bdmg.Value*5)
  442. s.Pitch = 1
  443. s:Play()
  444. hitHumanoid:TakeDamage(damage)
  445. debris:AddItem(s,1)
  446. debris:AddItem(p,.95)
  447. spawn(function()for i = 0,1.05,.05 do t.TextTransparency=i;t.TextStrokeTransparency=i;swait();end end)
  448. end
  449. end
  450. end
  451. }
  452. --credit to Build-To-Lua by jarredbcv.
  453. -- rlly good plugin like srs
  454. --[[
  455. Thanks for using Build-To-Lua by jarredbcv.
  456. ]]--
  457.  
  458. New = function(Object, Parent, Name, Data)
  459. local Object = Instance.new(Object)
  460. for Index, Value in pairs(Data or {}) do
  461. Object[Index] = Value
  462. end
  463. Object.Parent = Parent
  464. Object.Name = Name
  465. return Object
  466. end
  467. Weapon = New("Model",char,"Weapon",{})
  468. GripSpike = New("Part",Weapon,"GripSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 6.04005527, 6.70000124, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  469. Mesh = New("SpecialMesh",GripSpike,"Mesh",{Scale = Vector3.new(0.275000513, 0.250000477, 0.275000513),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  470. HiltBlock = New("Part",Weapon,"HiltBlock",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000791, 0.100000001, 0.300000787),CFrame = CFrame.new(0, 6.46504402, 6.70000124, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  471. Mesh = New("SpecialMesh",HiltBlock,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  472. HiltBlock = New("Part",Weapon,"HiltBlock",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000791, 0.100000001, 0.300000787),CFrame = CFrame.new(0, 6.46504593, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  473. Mesh = New("SpecialMesh",HiltBlock,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  474. HiltSpike = New("Part",Weapon,"HiltSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 6.36505699, 7.39999056, -1, 0, 0, 0, 0, 1, 0, 1, -0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  475. Mesh = New("SpecialMesh",HiltSpike,"Mesh",{Scale = Vector3.new(0.150000006, 0.349999994, 0.150000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  476. HiltTorso = New("Part",Weapon,"HiltTorso",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.100000009, 0.180000842),CFrame = CFrame.new(0, 6.42004395, 6.70000124, 0, 0, 1, 0, 1, -0, -1, 0, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  477. Mesh = New("SpecialMesh",HiltTorso,"Mesh",{MeshType = Enum.MeshType.Torso,})
  478. HiltSpheres = New("Part",Weapon,"HiltSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000793, 0.200000003, 0.800000787),CFrame = CFrame.new(0, 6.36504364, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  479. Mesh = New("SpecialMesh",HiltSpheres,"Mesh",{Offset = Vector3.new(0, -0.0199999996, 0),Scale = Vector3.new(1, 1.04999995, 0.899999976),MeshType = Enum.MeshType.Sphere,})
  480. HiltTorso = New("Part",Weapon,"HiltTorso",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.25, 0.100000009, 0.260000825),CFrame = CFrame.new(0, 6.34004211, 6.70000124, 0, 0, -1, 0, 1, 0, 1, 0, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  481. Mesh = New("SpecialMesh",HiltTorso,"Mesh",{MeshType = Enum.MeshType.Torso,})
  482. HiltSpike = New("Part",Weapon,"HiltSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 6.36505699, 6.84999943, 1, 0, -0, 0, 0, 1, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  483. Mesh = New("SpecialMesh",HiltSpike,"Mesh",{Scale = Vector3.new(0.150000006, 0.349999994, 0.150000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  484. BlackHiltTop = New("Part",Weapon,"BlackHiltTop",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.25, 0.130000055, 0.329999954),CFrame = CFrame.new(0, 6.41005325, 6.69999313, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  485. Mesh = New("SpecialMesh",BlackHiltTop,"Mesh",{MeshType = Enum.MeshType.Torso,})
  486. PommelSpheres = New("Part",Weapon,"PommelSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000781, 0.400000155, 0.400000781),CFrame = CFrame.new(0, 5.11504602, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  487. Mesh = New("SpecialMesh",PommelSpheres,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  488. HiltSpike = New("Part",Weapon,"HiltSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 6.36505699, 5.95001078, 1, 0, -0, 0, 0, 1, 0, -1, 0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  489. Mesh = New("SpecialMesh",HiltSpike,"Mesh",{Scale = Vector3.new(0.150000006, 0.349999994, 0.150000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  490. HiltSpike = New("Part",Weapon,"HiltSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 6.36505699, 6.49999905, -1, 0, 0, 0, 0, 1, 0, 1, -0),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  491. Mesh = New("SpecialMesh",HiltSpike,"Mesh",{Scale = Vector3.new(0.150000006, 0.349999994, 0.150000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  492. Handle = New("Part",Weapon,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.300000578, 1.00000107, 0.300000578),CFrame = CFrame.new(0, 5.76504517, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  493. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  494. PommelSpheres = New("Part",Weapon,"PommelSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000781, 0.100000151, 0.400000781),CFrame = CFrame.new(0, 5.21504879, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  495. Mesh = New("SpecialMesh",PommelSpheres,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  496. HiltBlock = New("Part",Weapon,"HiltBlock",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.100000001, 0.200000778),CFrame = CFrame.new(0, 6.46504402, 6.6000061, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  497. Mesh = New("SpecialMesh",HiltBlock,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  498. HiltSpheres = New("Part",Weapon,"HiltSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.150000006, 0.0500000007, 0.800000787),CFrame = CFrame.new(0, 6.41504288, 6.70000124, -1, 0, 0, 0, -1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  499. Mesh = New("SpecialMesh",HiltSpheres,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(1, 0.5, 0.899999976),MeshType = Enum.MeshType.Sphere,})
  500. HiltSpheres = New("Part",Weapon,"HiltSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.400000781, 0.100000151, 0.400000781),CFrame = CFrame.new(0, 6.26504517, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  501. Mesh = New("SpecialMesh",HiltSpheres,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  502. HiltSmooth = New("Part",Weapon,"HiltSmooth",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.300000578, 0.100000151, 0.300000578),CFrame = CFrame.new(0, 6.16504288, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  503. Mesh = New("SpecialMesh",HiltSmooth,"Mesh",{Scale = Vector3.new(1.04999995, 1, 1.04999995),MeshType = Enum.MeshType.Sphere,})
  504. PommelSpike = New("Part",Weapon,"PommelSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 4.79006004, 6.70000124, -1, 7.95807864e-13, 7.27595761e-12, 7.95807864e-13, -1, 0, -7.27595761e-12, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  505. Mesh = New("SpecialMesh",PommelSpike,"Mesh",{Scale = Vector3.new(0.275000006, 0.349999994, 0.275000006),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  506. HiltSpheres = New("Part",Weapon,"HiltSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000791, 0.0500000007, 1.00000083),CFrame = CFrame.new(0, 6.44004822, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.054902, 0.0901961, 0.113725),})
  507. Mesh = New("SpecialMesh",HiltSpheres,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  508. HiltBlock = New("Part",Weapon,"HiltBlock",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.100000001, 0.200000778),CFrame = CFrame.new(0, 6.46504593, 6.79998732, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  509. Mesh = New("SpecialMesh",HiltBlock,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  510. Grip = New("Part",Weapon,"Grip",{BrickColor = BrickColor.new("Black metallic"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.300000578, 0.400001109, 0.300000578),CFrame = CFrame.new(0, 5.76504517, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0745098, 0.121569, 0.152941),})
  511. Mesh = New("CylinderMesh",Grip,"Mesh",{Scale = Vector3.new(1.04999995, 1, 1.04999995),})
  512. GripSpike = New("Part",Weapon,"GripSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.300000548, 0.0500000007, 0.300000489),CFrame = CFrame.new(0, 5.4400568, 6.70000124, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  513. Mesh = New("SpecialMesh",GripSpike,"Mesh",{Scale = Vector3.new(0.275000513, 0.250000477, 0.275000513),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  514. HiltSmooth = New("Part",Weapon,"HiltSmooth",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.300000578, 0.100000151, 0.300000578),CFrame = CFrame.new(0, 5.31505108, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  515. Mesh = New("SpecialMesh",HiltSmooth,"Mesh",{Scale = Vector3.new(1.04999995, 1, 1.04999995),MeshType = Enum.MeshType.Sphere,})
  516. HiltSpheres = New("Part",Weapon,"HiltSpheres",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000793, 0.200000167, 0.800000787),CFrame = CFrame.new(0, 6.36504364, 6.70000124, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  517. Mesh = New("SpecialMesh",HiltSpheres,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  518. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.98815584, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  519. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  520. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 8.82003975, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  521. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  522. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 11.771883, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  523. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  524. BladeEnd = New("Part",Weapon,"BladeEnd",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.249995232, 0.0670862198, 0.0500000045),CFrame = CFrame.new(-3.7252903e-09, 12.0737591, 6.67999744, 0, 0, 1, 0, 1, 0, -1, 0, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  525. Mesh = New("SpecialMesh",BladeEnd,"Mesh",{MeshType = Enum.MeshType.Torso,})
  526. Blade = New("Part",Weapon,"Blade",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.25, 5.56825686, 0.329993248),CFrame = CFrame.new(0, 9.25608635, 6.67999744, -1, 0, 0, 0, 1, 0, 0, 0, -1),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  527. Mesh = New("SpecialMesh",Blade,"Mesh",{MeshType = Enum.MeshType.Torso,})
  528. TopSpike = New("Part",Weapon,"TopSpike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0670852661, 0.0500000007),CFrame = CFrame.new(-3.7252903e-09, 12.2414751, 6.68000603, -1, 0, 0, 0, 1, 0, 0, 0, -1),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  529. Mesh = New("SpecialMesh",TopSpike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.268349767, 0.399992079),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  530. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670876503),CFrame = CFrame.new(-3.7252903e-09, 6.45856714, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  531. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  532. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.20994425, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  533. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  534. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 8.39068413, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  535. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  536. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 9.2225647, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  537. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  538. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 9.6250906, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  539. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  540. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 6.83425426, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  541. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  542. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.6124692, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  543. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  544. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 11.771883, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  545. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  546. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 6.83425045, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  547. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  548. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.20994425, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  549. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  550. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.6124692, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  551. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  552. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 8.39068031, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  553. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  554. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 9.6250906, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  555. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  556. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 11.3425236, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  557. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  558. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 10.9131651, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  559. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  560. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 7.98815584, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  561. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  562. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 9.2225647, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  563. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  564. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 8.82003975, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  565. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  566. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 10.0544472, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  567. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  568. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 10.4838085, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  569. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  570. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670876503),CFrame = CFrame.new(-3.7252903e-09, 6.45856714, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  571. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  572. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 10.0544472, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  573. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  574. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670862198),CFrame = CFrame.new(-3.7252903e-09, 10.4838085, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  575. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  576. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 10.9131651, 6.44000483, -1, 0, 0, 0, 0, -1, 0, -1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  577. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  578. Spike = New("Part",Weapon,"Spike",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.15000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.0500000045, 0.0500000007, 0.0670871735),CFrame = CFrame.new(-3.7252903e-09, 11.3425236, 6.9200058, 1, 0, 0, 0, 0, -1, 0, 1, 0),Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0, 0, 0),})
  579. Mesh = New("SpecialMesh",Spike,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0999980196, 0.335437208),MeshId = "http://www.roblox.com/asset/?id=1778999",MeshType = Enum.MeshType.FileMesh,})
  580.  
  581. function weld(x, y)
  582. if x == y then return end
  583. local CJ = CFrame.new(x.Position)
  584. local w = Instance.new("ManualWeld")
  585. w.Part0 = x
  586. w.Part1 = y
  587. w.C0 = x.CFrame:inverse() * CJ
  588. w.C1 = y.CFrame:inverse() * CJ
  589. w.Parent = x
  590. return w
  591. end
  592. local model = Weapon
  593. for _,v in pairs(model:GetChildren()) do
  594. if v:IsA("BasePart") then
  595. weld(model.Handle, v)
  596. v.Anchored = false
  597. v.CanCollide = false
  598. end end
  599. local handle = Weapon:WaitForChild("Handle")
  600. local att1= i_n("Attachment")
  601. att1.Position=v3(0,1,0)
  602. att1.Parent=Blade
  603. local att2= i_n("Attachment")
  604. att2.Position=v3(0,2,0)
  605. att2.Parent=Blade
  606. local trail= i_n("Trail")
  607. trail.Parent=Blade
  608. trail.Enabled = false
  609. trail.Color=ColorSequence.new(c3(0,0,0),c3(0,0,0))
  610. trail.LightEmission=0
  611. trail.Transparency=NumberSequence.new(0,1)
  612. trail.Attachment0=att1
  613. trail.Attachment1=att2
  614. trail.Lifetime=.5
  615. trail.MinLength=0
  616.  
  617. ----- New Instances ------
  618.  
  619. local backweld = newWeld(tors, handle)
  620. backweld.C0 = cfn(1.5, 1.5, .5) * cfa(0, math.rad(90), 0) * cfa(math.rad(-135), 0, 0)
  621.  
  622. local grip = newWeld(rarm, nil, cfn(0, -.95, 0) * cfa(math.rad(-90), 0, 0))
  623.  
  624. local heavy = newSound(216197317, handle, .5, .5, false, false)
  625. local normal = newSound(216197317, handle, .5, 1, false, false)
  626. local bang = newSound(2692477, handle, .5, 1, false, false)
  627. local bangV2 = newSound(2101148, handle, .5, 1.25, false, false)
  628. local swingnorm = newSound(10209645, handle, 1, 1, false, false)--10209640
  629. local swinghigh = newSound(10209645, handle, 1, 1.25, false, false)
  630. local swinglow = newSound(10209645, handle, 1, .75, false, false)
  631. local swinglower = newSound(10209645, handle, 1, .65, false, false)
  632. local swinglowest = newSound(10209645, handle, 1, .55, false, false)
  633. local poof = newSound(3264793, handle, 1, 1, false, false)
  634. local burn = newSound(2122126, handle, .15, 1, true, false)
  635. local disapear = newSound(926890773, handle, 1, 1, false, false)
  636. local reappear = newSound(966888080, rarm, 1, 1, false, false)
  637. local light = newSound(2101148, handle,.45, .85, false, false)
  638. local blastbam = newSound(2101148, head,1,1.15,false,false)
  639. local blastbam2 = newSound(2101148, head,1,1.35,false,false)
  640. local abscond = newSound(2767090, head,1,.8,false,false)
  641. local woosh = newSound(167861918, head,1,1,false,false)
  642. local spiketip= newSound(2801263, TopSpike,.5,1.5,false,false)
  643. local lowlunge= newSound(12222208, handle,1,.65,false,false)
  644. local extra= Instance.new("EchoSoundEffect")
  645. extra.Parent=lowlunge
  646. extra.Delay=0.05
  647. extra.Feedback=0.075
  648. local blinkblink = newSound(535381634, handle, 1,1.25,false,false)
  649. ----- Animation Defaults ------
  650.  
  651. local stand = {
  652. ["head"] = hw.C0,
  653. ["tors"] = tw.C1,
  654. ["rarm"] = raw.C0,
  655. ["larm"] = law.C0,
  656. ["rleg"] = rlw.C0,
  657. ["lleg"] = llw.C0,
  658. ["grip0"] = grip.C0,
  659. ["grip1"] = grip.C1
  660. }
  661.  
  662. local neutral = {
  663. ["head"] = stand.head * cfa(0, 0, math.rad(-10)),
  664. ["tors"] = stand.tors * cfa(0, 0, math.rad(-10)),
  665. ["rarm"] = stand.rarm * cfa(math.rad(-15), math.rad(-25), math.rad(-5)),
  666. ["larm"] = stand.larm * cfa(math.rad(-10), 0, 0),
  667. ["rleg"] = stand.rleg * cfa(0, math.rad(-24), 0),
  668. ["lleg"] = stand.lleg * cfa(0, math.rad(8), 0),
  669. ["grip0"] = stand.grip0,
  670. ["grip1"] = stand.grip1
  671. }
  672.  
  673. local run = {
  674. ["head"] = stand.head * cfa(math.rad(8), 0, 0),
  675. ["tors"] = stand.tors,
  676. ["rarm"] = stand.rarm * cfa(math.rad(-20), math.rad(-15), math.rad(-5)),
  677. ["larm"] = stand.larm * cfa(math.rad(-15), math.rad(-10), math.rad(-5)),
  678. ["rleg"] = stand.rleg,
  679. ["lleg"] = stand.lleg,
  680. ["grip0"] = stand.grip0,
  681. ["grip1"] = stand.grip1 * cfa(math.rad(15), 0, 0)
  682. }
  683.  
  684. local jump = {
  685. ["head"] = stand.head * cfa(math.rad(-15), 0, 0),
  686. ["tors"] = stand.tors,
  687. ["rarm"] = stand.rarm * cfa(0, 0, math.rad(60)),
  688. ["larm"] = stand.larm * cfa(math.rad(-24), 0, 0),
  689. ["rleg"] = stand.rleg * cfn(.5, 0, 0) * cfa(0, 0, math.rad(-15)),
  690. ["lleg"] = stand.lleg * cfn(-1, 1, 0) * cfa(0, 0, math.rad(15)),
  691. ["grip0"] = stand.grip0,
  692. ["grip1"] = stand.grip1
  693. }
  694.  
  695. local fall = {
  696. ["head"] = stand.head * cfa(math.rad(15), 0, 0),
  697. ["tors"] = stand.tors,
  698. ["rarm"] = stand.rarm * cfn(0, -.5, .2) * cfa(math.rad(-70), 0, 0),
  699. ["larm"] = stand.larm * cfn(0, -.5, .2) * cfa(math.rad(-70), 0, 0),
  700. ["rleg"] = stand.rleg * cfa(0, 0, math.rad(9)),
  701. ["lleg"] = stand.lleg * cfn(-1, 1, 0) * cfa(0, 0, math.rad(15)),
  702. ["grip0"] = stand.grip0,
  703. ["grip1"] = stand.grip1
  704. }
  705.  
  706. local stunned = {
  707. ["head"] = stand.head,
  708. ["tors"] = stand.tors * cfn(0, -2.25, 0) *cfa(math.rad(90),0,0),
  709. ["rarm"] = stand.rarm * cfn(0, -.5, .2) * cfa(math.rad(-40), 0, 0),
  710. ["larm"] = stand.larm * cfn(0, -.5, .2) * cfa(math.rad(-40), 0, 0),
  711. ["rleg"] = stand.rleg * cfa(math.rad(-15), 0, 0),
  712. ["lleg"] = stand.lleg * cfa( math.rad(-15), 0, 0),
  713. ["grip0"] = stand.grip0,
  714. ["grip1"] = stand.grip1 * cfa(math.rad(90),0,0)
  715. }
  716. ------ Primary Functions ------
  717. function stopAnims()
  718. pausedanims = {}
  719.  
  720. for _,v in pairs(hume:GetPlayingAnimationTracks()) do v:Stop()
  721. table.insert(pausedanims, v)
  722. end end
  723.  
  724. function resumeAnims()
  725. for _,v in pairs(pausedanims) do v:Play()
  726. end end
  727.  
  728. function resetJoints()
  729. hw.C0 = stand.head; tw.C1 = stand.tors
  730. raw.C0 = stand.rarm; law.C0 = stand.larm
  731. rlw.C0 = stand.rleg; llw.C0 = stand.lleg
  732. grip.C0 = stand.grip0; grip.C1 = stand.grip1
  733. end
  734.  
  735. function equip()
  736. local t = 15
  737. animS.Disabled = true; stopAnims()
  738. resetJoints()
  739.  
  740. for i = 1, t do swait()
  741. raw.C0 = raw.C0:lerp(stand.rarm * cfa(0, 0, math.rad(172)), (i/t)/2)
  742. law.C0 = law.C0:lerp(neutral.larm, i/t)
  743. hw.C0 = hw.C0:lerp(neutral.head, i/t)
  744. tw.C1 = tw.C1:lerp(neutral.tors, i/t)
  745. end
  746.  
  747. backweld.Part1 = nil; grip.Part1 = handle
  748. end
  749.  
  750. function unequip()
  751. local t = 15
  752.  
  753. lwoverride = true
  754.  
  755. for i = 1, t do swait()
  756. raw.C0 = raw.C0:lerp(stand.rarm * cfa(0, 0, math.rad(172)), (i/t)/2)
  757. law.C0 = law.C0:lerp(stand.larm, i/t)
  758. hw.C0 = hw.C0:lerp(stand.head, i/t)
  759. tw.C1 = tw.C1:lerp(stand.tors, i/t)
  760. rlw.C0 = rlw.C0:lerp(stand.rleg, i/t)
  761. llw.C0 = llw.C0:lerp(stand.lleg, i/t)
  762. end
  763.  
  764. grip.Part1 = nil; backweld.Part1 = handle
  765. animS.Disabled = false
  766. resetJoints(); resumeAnims()
  767. lwoverride = false
  768. end
  769.  
  770. function checkPartMag(list, range)
  771. local targets = {}
  772.  
  773. for _,v in pairs(list) do
  774. for _,x in pairs(workspace:GetChildren()) do
  775. local vhume = x:FindFirstChild("Humanoid")
  776. if vhume and vhume:IsA("Humanoid") then
  777. for _,y in pairs(x:GetChildren()) do
  778. if y:IsA("BasePart") and (v.Position - y.Position).magnitude <= range
  779. then table.insert(targets, x); break end
  780. end end end end
  781.  
  782. return targets
  783. end
  784.  
  785. function checkCFNReg(cframe,size)
  786. local CheckPoint = function(region3,poisition)
  787. for i,plane in pairs(region3) do
  788. local normal = plane[1]
  789. local point = plane[2]
  790.  
  791. local relative = poisition - point
  792. if relative:Dot(normal)>0 then
  793. return false
  794. end
  795. end
  796. return true
  797. end
  798. local planes = {}
  799. local center = cframe
  800.  
  801. local right = center:vectorToWorldSpace(Vector3.new(1,0,0))
  802. local left = center:vectorToWorldSpace(Vector3.new(-1,0,0))
  803. local front = center:vectorToWorldSpace(Vector3.new(0,0,-1))
  804. local back = center:vectorToWorldSpace(Vector3.new(0,0,1))
  805. local top = center:vectorToWorldSpace(Vector3.new(0,1,0))
  806. local bottom = center:vectorToWorldSpace(Vector3.new(0,-1,0))
  807.  
  808. local rightPoint = center.p + right * (Vector3.new(1,0,0) * size/2).magnitude
  809. local leftPoint = center.p + left * (Vector3.new(-1,0,0) * size/2).magnitude
  810. local frontPoint = center.p + front * (Vector3.new(0,0,-1) * size/2).magnitude
  811. local backPoint = center.p + back * (Vector3.new(0,0,1) * size/2).magnitude
  812. local topPoint = center.p + top * (Vector3.new(0,1,0) * size/2).magnitude
  813. local bottomPoint = center.p + bottom * (Vector3.new(0,1,0) * size/2).magnitude
  814.  
  815. planes={
  816. {right,rightPoint};
  817. {left,leftPoint};
  818. {front,frontPoint};
  819. {back,backPoint};
  820. {top,topPoint};
  821. {back,backPoint};
  822. }
  823. local targets = {}
  824.  
  825. for _,x in pairs(workspace:GetChildren()) do
  826. local vhume = x:FindFirstChild("Humanoid")
  827. if vhume and vhume:IsA("Humanoid") then
  828. for _,y in pairs(x:GetChildren()) do
  829. if y:IsA("BasePart") and not targets[x] and CheckPoint(planes,y.Position) then
  830. table.insert(targets, x)
  831. break
  832. end
  833. end
  834. end
  835. end
  836.  
  837. return targets
  838. end
  839.  
  840. function checkPosMag(pos, range)
  841. local targets = {}
  842.  
  843. for _,x in pairs(workspace:GetChildren()) do
  844. local vhume = x:FindFirstChild("Humanoid")
  845. if vhume and vhume:IsA("Humanoid") then
  846. for _,y in pairs(x:GetChildren()) do
  847. if y:IsA("BasePart") and (pos - y.Position).magnitude <= range
  848. then table.insert(targets, x) end
  849. end end end
  850.  
  851. return targets
  852. end
  853.  
  854. function rollTheDice(chance, min, max)
  855. local gen = math.random(min, max)
  856. return gen <= chance
  857. end
  858.  
  859. function strike(targ, dmg, critchance)
  860. local moddmg = math.floor(dmg)
  861. local crit = false
  862.  
  863. if targ == char then return end
  864.  
  865. local vhume = targ:FindFirstChild("Humanoid")
  866. if vhume and vhume:IsA("Humanoid") then
  867. moddmg = math.ceil(moddmg * (math.random(75, 150)/100))
  868.  
  869. if rollTheDice(critchance, 1, 100) then
  870. moddmg = moddmg * 2; crit = true
  871. end
  872. dfunc[1](vhume, moddmg, hume, crit)
  873. local bv = Instance.new("BodyVelocity");bv.Parent=targ.Head;bv.MaxForce=v3(math.huge,math.huge,math.huge);
  874. if energy.Value >= maxenergy.Value and rage.Value < maxrage and enraged == false then
  875. rage.Value = rage.Value + moddmg
  876. elseif energy.Value < maxenergy.Value then
  877. energy.Value = energy.Value + moddmg
  878. end
  879. if mode == "Normal" then
  880. bv.Velocity=hrp.CFrame.lookVector*(moddmg/.5);
  881. end
  882. if mode == "Heavy" then
  883. bv.Velocity=hrp.CFrame.lookVector*(moddmg/.15);
  884. end
  885. if mode == "Magic" then
  886. bv:Destroy()
  887. end
  888. game:GetService("Debris"):AddItem(bv,0.05)
  889. end end
  890.  
  891. function cooldown(num)
  892. local ab = abilities[num]
  893. local now = tick()
  894. spawn(function()
  895. ab.ready = false
  896. ab.ccd = ab.cd
  897. while ab.ccd > 0 do swait()
  898. repeat swait() until (tick()-now) >= 1
  899. or ab.ccd <= 0
  900. if ab.ccd > 0 then ab.ccd = ab.ccd - 1; now = tick()
  901. else break
  902. end end
  903. ab.ready = true
  904. end)
  905. end
  906.  
  907. function attack()
  908. if combostep >= #bAttacks then combostep = 1
  909. else combostep = combostep + 1 end
  910.  
  911. combotime = tick(); bAttacks[combostep]()
  912.  
  913. softoverride = false; lwoverride = false
  914. wsoverride = false; hume.WalkSpeed = defWS
  915. end
  916.  
  917. function cast(num)
  918. local ab = abilities[num]
  919. local func = bAbilities[num]
  920. if energy.Value >= ab.energycost and ab.ready and func then
  921. cooldown(num)energy.Value = energy.Value - ab.energycost; func()
  922. softoverride = false; lwoverride = false
  923. wsoverride = false
  924. end end
  925.  
  926. function knockback(targ, power, time)
  927. local vtors = targ:FindFirstChild("Torso")
  928. if vtors and vtors.Parent then
  929. local bv = i_n("BodyVelocity", vtors)
  930. bv.MaxForce = v3(math.huge,math.huge,math.huge)
  931. bv.Velocity = vtors.CFrame.lookVector * power
  932. game:GetService("Debris"):AddItem(bv, time)
  933. end end
  934.  
  935. function checkStatus(targ, status)
  936. local val = targ:FindFirstChild(status)
  937. if val and val:IsA("BoolValue") then
  938. return true
  939. else return false
  940. end end
  941.  
  942. function canMove()
  943. if checkStatus(char, "Stun")
  944. or checkStatus(char, "Knockback")
  945. then return true
  946. else return false
  947. end end
  948.  
  949. function afterimage(rate,color)
  950. char.Archivable = true
  951.  
  952.  
  953. end
  954.  
  955. function makepoof(sizint,cfne,dmg,knbk)
  956. local hitdb = {}
  957. local block = spawn(function()
  958. blastbam2.Pitch = sizint+.25
  959. blastbam2:Play()
  960. local p = Instance.new("Part")
  961. p.Parent = dump
  962. game:GetService("Debris"):AddItem(p,1)
  963. p.Size = v3()
  964. p.CFrame = cfne
  965. p.CFrame = p.CFrame *cfa(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  966. p.Color = Color3.new(0.025,0.025,0.025)
  967. p.Anchored = true
  968. p.CanCollide = false
  969. p.Material="Air"
  970. p.Transparency = .25
  971. local m = Instance.new("SpecialMesh")
  972. m.Parent = p
  973. m.MeshId = "rbxassetid://823962930"
  974. m.Scale = v3(.5*sizint,.5*sizint,.5*sizint)
  975. local transparency = spawn(function()
  976. for i = p.Transparency,1.05,0.05 do swait()
  977. p.Transparency = i
  978. local deg=math.random(-5,5)
  979. local inc=math.random(-100,100)/100
  980. p.CFrame = p.CFrame*cfa(math.rad(deg*2),math.rad(deg*2),math.rad(deg*2))*cfn(0,inc/10,0)
  981. for _,v in pairs(checkPartMag({p}, 4*sizint)) do
  982. if not hitdb[v] then hitdb[v] = true
  983. strike(v, dmg, critc.Value)
  984. if v~=char then
  985. local bv = Instance.new("BodyVelocity");bv.Parent = v.Head;bv.Velocity=hrp.CFrame.lookVector*knbk+v3(0,0,0);bv.MaxForce=v3(math.huge,math.huge,math.huge);game:GetService("Debris"):AddItem(bv,.05)
  986.  
  987. end
  988. end end
  989. end
  990. p:Destroy()
  991. end)
  992. local size = spawn(function()
  993. repeat
  994. m.Scale = m.Scale + v3(0.15*(sizint*.6),0.15*(sizint*.6),0.15*(sizint*.6))
  995. swait()
  996. until p.Transparency > 1
  997. p:Destroy()
  998. end)
  999.  
  1000. end)
  1001.  
  1002. local block2 = spawn(function()
  1003. local p = Instance.new("Part")
  1004. p.Parent = dump
  1005. game:GetService("Debris"):AddItem(p,1)
  1006. p.Size = v3()
  1007. p.CFrame =cfne
  1008. p.CFrame = p.CFrame*cfa(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1009. p.Color = Color3.fromHSV(261/360,1,1)
  1010. p.Anchored = true
  1011. p.CanCollide = false
  1012. p.Transparency = .5
  1013. p.Material="Air"
  1014. local m = Instance.new("SpecialMesh")
  1015. m.Parent = p
  1016. m.MeshId = "rbxassetid://823962930"
  1017. m.Scale = v3(.2*sizint,.2*sizint,.2*sizint)
  1018. local transparency = spawn(function()
  1019. for i = p.Transparency,1.05,0.05 do swait()
  1020. p.Transparency = i
  1021. local deg=math.random(-5,5)
  1022. local inc=math.random(-100,100)/100
  1023. p.CFrame = p.CFrame*cfa(math.rad(deg*2),math.rad(deg*2),math.rad(deg*2))*cfn(0,inc/10,0)
  1024. end
  1025. p:Destroy()
  1026. end)
  1027. local size = spawn(function()
  1028. repeat
  1029. m.Scale = m.Scale + v3(0.15*(sizint*.6),0.15*(sizint*.6),0.15*(sizint*.6))
  1030. swait()
  1031. until p.Transparency > 1
  1032. p:Destroy()
  1033. end)
  1034.  
  1035. end)
  1036. end
  1037.  
  1038. -- Basic Attacks --
  1039. bAttacks = {
  1040. ------------------
  1041. function()
  1042. if mode == "Normal" then
  1043. ----------
  1044. local t = math.ceil(20/atkspd.Value)
  1045. local hitdb= {}
  1046. for i = 1,t do swait()
  1047. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,0,0) * cfa(math.rad(5),math.rad(-25),math.rad(140+(35*(i/t)))),i/t)
  1048. law.C0 = law.C0:lerp(stand.larm * cfn(-.2,-.5,0) * cfa(math.rad(-60),math.rad(0),math.rad(-30)),i/t)
  1049. hw.C0 = hw.C0:lerp(stand.head * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(60)),i/t)
  1050. tw.C1 = tw.C1:lerp(stand.tors * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(60)),i/t)
  1051. grip.C1 = grip.C1:lerp(stand.grip1 * cfn(0,0,0) * cfa(math.rad(-30),math.rad(0),math.rad(30)),i/t)
  1052. if not running then softoverride = true
  1053. llw.C0 = llw.C0:lerp(stand.lleg * cfn(.5,0,.3) * cfa(math.rad(0),math.rad(60),math.rad(0)),i/t)
  1054. rlw.C0 = rlw.C0:lerp(stand.rleg * cfn(.4,0,0) * cfa(math.rad(0),math.rad(0),math.rad(-30)),i/t)
  1055. end
  1056. end
  1057. local t = math.ceil(15/atkspd.Value)
  1058. swinghigh:Play()
  1059. for i = 1,t do swait()
  1060. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,0,0) * cfa(math.rad(0),math.rad(-40),math.rad(38)),i/t)
  1061. law.C0 = law.C0:lerp(stand.larm * cfn(-.2,-.5,0) * cfa(math.rad(-40),math.rad(0),math.rad(30)),i/t)
  1062. hw.C0 = hw.C0:lerp(stand.head * cfn(0,0,0) * cfa(math.rad(5),math.rad(-5),math.rad(-55)),i/t)
  1063. tw.C1 = tw.C1:lerp(stand.tors * cfn(0,0,0) * cfa(math.rad(-5),math.rad(0),math.rad(-55)),i/t)
  1064. grip.C1 = grip.C1:lerp(stand.grip1 * cfn(0,0,0) * cfa(math.rad(60),math.rad(-5),math.rad(0)),i/t)
  1065. if not running then softoverride = true
  1066. llw.C0 = llw.C0:lerp(stand.lleg * cfn(-.3,0,0) * cfa(math.rad(0),math.rad(-55),math.rad(10)),i/t)
  1067. rlw.C0 = rlw.C0:lerp(stand.rleg * cfn(0,0,0) * cfa(math.rad(5),math.rad(-55),math.rad(-10)),i/t)
  1068. end
  1069. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.25)) do --midlehitbox
  1070. if not hitdb[v] then hitdb[v] = true
  1071. strike(v, bdmg.Value*1.5, critc.Value)
  1072. end end
  1073. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.45)) do --bottomhitbox
  1074. if not hitdb[v] then hitdb[v] = true
  1075. strike(v, bdmg.Value*1.5, critc.Value)
  1076. end end
  1077. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.25)) do --middletophitbox
  1078. if not hitdb[v] then hitdb[v] = true
  1079. strike(v, bdmg.Value*1.5, critc.Value)
  1080. end end
  1081. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.25)) do --tophitbox
  1082. if not hitdb[v] then hitdb[v] = true
  1083. strike(v, bdmg.Value*1.5, critc.Value)
  1084. end end
  1085. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,.85)) do --sweetspot
  1086. if not hitdb[v] then hitdb[v] = true
  1087. strike(v, bdmg.Value*2, critc.Value)
  1088. spiketip:Play()
  1089. end end
  1090. end
  1091. ----------
  1092. end
  1093. if mode == "Heavy" then
  1094. ----------
  1095. local t = math.ceil(20/atkspd.Value)
  1096. local hitdb = {}
  1097.  
  1098. for i = 1, t do swait()
  1099. raw.C0 = raw.C0:lerp(stand.rarm*cfn(1,-.5,-1.5)*cfa(math.rad(-135),0,math.rad(-180)), i/t)
  1100. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-60),0,math.rad(40)), i/t)
  1101. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(-60)), i/t)
  1102. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-60)), i/t)
  1103. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(-20),0,0),i/t)
  1104. if not running then softoverride = true
  1105. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(0,0,0.125)*cfa(0,math.rad(-60),math.rad(-15)), i/t)
  1106. llw.C0 = llw.C0:lerp(stand.lleg*cfn(.05,0,0.125)*cfa(0,math.rad(-60),math.rad(5)), i/t)
  1107. end
  1108. end
  1109.  
  1110. swinglowest:Play()
  1111. for i = 1, t do swait()
  1112. raw.C0 = raw.C0:lerp(stand.rarm*cfn(0,0.15,.75)*cfa(math.rad(-125),0,0), i/t)
  1113. law.C0 = law.C0:lerp(stand.larm*cfn(.15,0,0)*cfa(math.rad(-25),0,math.rad(30)), i/t)
  1114. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-5),math.rad(-3),math.rad(30)), i/t)
  1115. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(30)), i/t)
  1116. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(105),0,0),i/t)
  1117. if not running then softoverride = true
  1118. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(0,0,0.15)*cfa(0,math.rad(30),math.rad(-30)), i/t)
  1119. llw.C0 = llw.C0:lerp(stand.lleg*cfn(-0.15,0,0.15)*cfa(0,math.rad(30),math.rad(0)), i/t)
  1120. end
  1121. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.35)) do --midlehitbox
  1122. if not hitdb[v] then hitdb[v] = true
  1123. strike(v, bdmg.Value*1.5, critc.Value)
  1124. end end
  1125. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.65)) do --bottomhitbox
  1126. if not hitdb[v] then hitdb[v] = true
  1127. strike(v, bdmg.Value*1.5, critc.Value)
  1128. end end
  1129. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.35)) do --middletophitbox
  1130. if not hitdb[v] then hitdb[v] = true
  1131. strike(v, bdmg.Value*1.5, critc.Value)
  1132. end end
  1133. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.35)) do --tophitbox
  1134. if not hitdb[v] then hitdb[v] = true
  1135. strike(v, bdmg.Value*1.5, critc.Value)
  1136. end end
  1137. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,1)) do --sweetspot
  1138. if not hitdb[v] then hitdb[v] = true
  1139. strike(v, bdmg.Value*2.25, critc.Value)
  1140. spiketip:Play()
  1141. end end
  1142. end
  1143.  
  1144. ----------
  1145. end
  1146. if mode == "Magic" then
  1147. ----------
  1148. local t = math.ceil(15/atkspd.Value)
  1149. local hitdb={}
  1150. local hitdb2={}
  1151.  
  1152. for i = 1, t do swait()
  1153. raw.C0 = raw.C0:lerp(stand.rarm*cfn(0.5,-0.125,-.25+(.75*(i/t)))*cfa(math.rad(90),math.rad(140),0), i/t)
  1154. law.C0 = law.C0:lerp(stand.larm*cfn(-0.5,-0.25,-.25+(.75*(i/t)))*cfa(math.rad(90),math.rad(-140),0), i/t)
  1155. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-2*(i/t)),0,0), i/t)
  1156. tw.C1 = tw.C1:lerp(stand.tors, i/t)
  1157. if not running then softoverride = true
  1158. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-12),0), i/t)
  1159. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(7),0), i/t)
  1160. end
  1161. end
  1162.  
  1163. lwoverride = true
  1164. softoverride = true
  1165. wsoverride = true
  1166. hume.WalkSpeed = 0.002
  1167. t = 10
  1168.  
  1169. local effects = spawn(function()
  1170. ----------------------------------
  1171. local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
  1172. local hit = workspace:FindPartOnRay(groundcheck, char)
  1173. --[[
  1174. if not hit then
  1175. abscond:Play()
  1176. local beam = spawn(function()
  1177. local ray = Ray.new(char.Torso.CFrame.p,(char.Torso.CFrame*CFrame.new(0,0,-10).p - char.Torso.CFrame.p).unit*100)
  1178. local a = Instance.new("Part")
  1179. game:GetService("Debris"):AddItem(a,3)
  1180. local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {char,a}, true, false)
  1181. local p = Instance.new("Part")
  1182. p.Anchored = true
  1183. p.CanCollide = false
  1184. p.Color = Color3.new()
  1185. p.Material = "SmoothPlastic"
  1186. local dist = (char.Torso.CFrame.p - position).magnitude
  1187. p.Size = Vector3.new(3, 3, dist)
  1188. p.CFrame = CFrame.new(char.Torso.CFrame.p, position) * CFrame.new(0, 0, -dist / 2)*CFrame.Angles(0,0,math.rad(math.random(-360,360)))
  1189. p.Transparency = 0.5
  1190. p.Parent = dump
  1191. local selbo = Instance.new("SelectionBox")
  1192. selbo.Parent = p
  1193. selbo.Adornee = p
  1194. selbo.Color3 = Color3.new(.7,0,1)
  1195. selbo.LineThickness = 0.015
  1196. ------------------
  1197. local poofe = spawn(function()
  1198. if part then
  1199. local hitdb3 = {}
  1200. a.Parent = dump
  1201. a.Anchored = true
  1202. a.CanCollide = false
  1203. a.Color = Color3.new()
  1204. a.Material = "SmoothPlastic"
  1205. a.Size = Vector3.new(2, 2, 2)
  1206. a.CFrame = CFrame.new(position)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1207. a.Transparency = 0.15
  1208. local selbo = Instance.new("SelectionBox")
  1209. selbo.Parent = a
  1210. selbo.Adornee = a
  1211. selbo.Color3 = Color3.new(.7,0,1)
  1212. selbo.LineThickness = 0.01
  1213. local transp2 = spawn(function()
  1214. for i = a.Transparency,1,0.085 do
  1215. a.Transparency = i
  1216. game:GetService("RunService").Stepped:wait()
  1217. end
  1218. a:Destroy()
  1219. end)
  1220. local size2 = spawn(function()
  1221. repeat
  1222. game:GetService("RunService").Stepped:wait()
  1223. a.Size = a.Size + Vector3.new(.85,.85,.85)
  1224. for _,v in pairs(checkPosMag(position, 3)) do
  1225. if not hitdb3[v] then hitdb3[v] = true
  1226. strike(v, bdmg.Value*2, critc.Value)
  1227. end end
  1228.  
  1229. until a.Transparency > 0.95
  1230. end)
  1231. end
  1232. end)
  1233. ------------------
  1234. local transp = spawn(function()
  1235. for i = p.Transparency,1,0.085 do
  1236. p.Transparency = i
  1237. game:GetService("RunService").Stepped:wait()
  1238. end
  1239. p:Destroy()
  1240. end)
  1241. local size = spawn(function()
  1242. repeat
  1243. game:GetService("RunService").Stepped:wait()
  1244. p.Size = p.Size - Vector3.new(0.25,0.25,0)
  1245. until p.Transparency > 0.95
  1246. end)
  1247.  
  1248. end)
  1249. local blast1 = spawn(function()
  1250. local p = Instance.new("Part")
  1251. p.Parent = dump
  1252. game:GetService("Debris"):AddItem(p,5)
  1253. p.Size = v3()
  1254. p.CFrame = hrp.CFrame*cfn(0,-.65,.75)*cfa(math.rad(67),0,0)
  1255. p.Color = Color3.fromHSV(261/360,math.random(80,100)/100,math.random(0,15)/100)
  1256. p.Anchored = true
  1257. p.CanCollide = false
  1258. p.Transparency = .5
  1259. local m = Instance.new("SpecialMesh")
  1260. m.Parent = p
  1261. m.MeshId = "http://www.roblox.com/asset/?id=489387133"
  1262. m.Scale = v3(4,7,4)
  1263. m.Offset = v3(0,4,0)
  1264. local rot = math.random(-2,2)
  1265. local transparency = spawn(function()
  1266. for i = p.Transparency,1.05,0.05 do swait()
  1267. p.Transparency = i
  1268. p.CFrame = p.CFrame*cfa(0,math.rad(rot*5),0)
  1269. end
  1270. p:Destroy()
  1271. end)
  1272. local size = spawn(function()
  1273. repeat
  1274. m.Scale = m.Scale + v3(-0.05,0.75,-0.05)
  1275. swait()
  1276. until p.Transparency > 1
  1277. end)
  1278. end)
  1279. local blast1 = spawn(function()
  1280. local p = Instance.new("Part")
  1281. p.Parent = dump
  1282. game:GetService("Debris"):AddItem(p,5)
  1283. p.Size = v3()
  1284. p.CFrame = hrp.CFrame*cfn(0,-.75,.85)*cfa(math.rad(67),0,0)
  1285. p.Color = Color3.new(0,0,0)
  1286. p.Anchored = true
  1287. p.CanCollide = false
  1288. p.Transparency = .25
  1289. local m = Instance.new("SpecialMesh")
  1290. m.Parent = p
  1291. m.MeshId = "http://www.roblox.com/asset/?id=489415572"
  1292. m.Scale = v3(3,2,3)
  1293. m.Offset = v3(0,-1,0)
  1294. local rot = math.random(-2,2)
  1295. local transparency = spawn(function()
  1296. for i = p.Transparency,1.05,0.05 do swait()
  1297. p.Transparency = i
  1298. p.CFrame = p.CFrame*cfa(0,math.rad(rot*5),0)
  1299. end
  1300. p:Destroy()
  1301. end)
  1302. local size = spawn(function()
  1303. repeat
  1304. m.Scale = m.Scale + v3(.1,0.1,.1)
  1305. swait()
  1306. until p.Transparency > 1
  1307. end)
  1308. end)
  1309. local ring = spawn(function()
  1310. local p = Instance.new("Part")
  1311. p.Parent = dump
  1312. game:GetService("Debris"):AddItem(p,5)
  1313. p.Size = v3()
  1314. p.CFrame = hrp.CFrame*cfn(0,-.75,.85)*cfa(math.rad(-22),0,0)
  1315. p.Color = Color3.new(0,0,0)
  1316. p.Anchored = true
  1317. p.CanCollide = false
  1318. p.Transparency = .45
  1319. local m = Instance.new("SpecialMesh")
  1320. m.Parent = p
  1321. m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1322. m.Scale = v3(1,1,3)
  1323. m.Offset = v3(0,-.15,0)
  1324. local rot = math.random(-2,2)
  1325. local transparency = spawn(function()
  1326. for i = p.Transparency,1.05,0.05 do swait()
  1327. p.Transparency = i
  1328. end
  1329. p:Destroy()
  1330. end)
  1331. local size = spawn(function()
  1332. repeat
  1333. m.Scale = m.Scale + v3(1.75,1.75,.1)
  1334. swait()
  1335. until p.Transparency > 1
  1336. end)
  1337. end)
  1338. end
  1339. --]]
  1340. ----------------------------------
  1341. blastbam:Play()
  1342. local block = spawn(function()
  1343. local p = Instance.new("Part")
  1344. p.Parent = dump
  1345. game:GetService("Debris"):AddItem(p,1)
  1346. p.Size = v3()
  1347. p.CFrame = hrp.CFrame*cfn(0,-2.75,-1.85)*cfa(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1348. p.Color = Color3.new(0.025,0.025,0.025)
  1349. p.Anchored = true
  1350. p.CanCollide = false
  1351. p.Material="Air"
  1352. p.Transparency = .25
  1353. local m = Instance.new("SpecialMesh")
  1354. m.Parent = p
  1355. m.MeshId = "rbxassetid://823962930"
  1356. m.Scale = v3(.5,.5,.5)
  1357. local transparency = spawn(function()
  1358. for i = p.Transparency,1.05,0.05 do swait()
  1359. p.Transparency = i
  1360. local deg=math.random(-5,5)
  1361. local inc=math.random(-100,100)/100
  1362. p.CFrame = p.CFrame*cfa(math.rad(deg*2),math.rad(deg*2),math.rad(deg*2))*cfn(0,inc/10,0)
  1363. for _,v in pairs(checkPartMag({p}, 4)) do
  1364. if not hitdb[v] then hitdb[v] = true
  1365. strike(v, bdmg.Value*1.5, critc.Value)
  1366. if v~=char then
  1367. local bv = Instance.new("BodyVelocity");bv.Parent = v.Head;bv.Velocity=hrp.CFrame.lookVector*15+v3(0,5,0);bv.MaxForce=v3(math.huge,math.huge,math.huge);game:GetService("Debris"):AddItem(bv,.05)
  1368.  
  1369. end
  1370. end end
  1371. end
  1372. p:Destroy()
  1373. end)
  1374. local size = spawn(function()
  1375. repeat
  1376. m.Scale = m.Scale + v3(0.15,0.15,0.15)
  1377. swait()
  1378. until p.Transparency > 1
  1379. p:Destroy()
  1380. end)
  1381.  
  1382. end)
  1383. local block2 = spawn(function()
  1384. local p = Instance.new("Part")
  1385. p.Parent = dump
  1386. game:GetService("Debris"):AddItem(p,1)
  1387. p.Size = v3()
  1388. p.CFrame = hrp.CFrame*cfn(0,-2.75,-1.85)*cfa(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1389. p.Color = Color3.fromHSV(261/360,1,1)
  1390. p.Anchored = true
  1391. p.CanCollide = false
  1392. p.Transparency = .5
  1393. p.Material="Air"
  1394. local m = Instance.new("SpecialMesh")
  1395. m.Parent = p
  1396. m.MeshId = "rbxassetid://823962930"
  1397. m.Scale = v3(.2,.2,.2)
  1398. local transparency = spawn(function()
  1399. for i = p.Transparency,1.05,0.05 do swait()
  1400. p.Transparency = i
  1401. local deg=math.random(-5,5)
  1402. local inc=math.random(-100,100)/100
  1403. p.CFrame = p.CFrame*cfa(math.rad(deg*2),math.rad(deg*2),math.rad(deg*2))*cfn(0,inc/10,0)
  1404. end
  1405. p:Destroy()
  1406. end)
  1407. local size = spawn(function()
  1408. repeat
  1409. m.Scale = m.Scale + v3(0.15,0.15,0.15)
  1410. swait()
  1411. until p.Transparency > 1
  1412. p:Destroy()
  1413. end)
  1414.  
  1415. end)
  1416. local blast2 = spawn(function()
  1417. if hit then
  1418. local p = Instance.new("Part")
  1419. p.Parent = dump
  1420. game:GetService("Debris"):AddItem(p,1)
  1421. p.Size = v3()
  1422. p.CFrame = hrp.CFrame*cfn(0,-2.75,-1.85)*cfa(0,math.rad(math.random(-360,360)),0)
  1423. p.Color =hit.Color
  1424. p.Anchored = true
  1425. p.CanCollide = false
  1426. p.Transparency = .6
  1427. local m = Instance.new("SpecialMesh")
  1428. m.Parent = p
  1429. m.MeshId = "http://www.roblox.com/asset/?id=489415572"
  1430. m.Scale = v3(3.5,1.5,3.5)
  1431. local transparency = spawn(function()
  1432. for i = p.Transparency,1.05,0.05 do swait()
  1433. p.Transparency = i
  1434. end
  1435. p:Destroy()
  1436. end)
  1437. local size = spawn(function()
  1438. repeat
  1439. m.Scale = m.Scale + v3(0.15,0.15,0.15)
  1440. swait()
  1441. until p.Transparency > 1
  1442. p:Destroy()
  1443. end)
  1444. end
  1445. end)
  1446.  
  1447. --pp
  1448. ----------------------------------
  1449. ----------------------------------
  1450. end)
  1451. local bv = Instance.new("BodyVelocity");bv.Parent=hrp;bv.MaxForce=v3(math.huge,math.huge,math.huge);bv.Velocity=hrp.CFrame.lookVector*(-5);game:GetService("Debris"):AddItem(bv,.05)
  1452. for i = 1, t do swait()
  1453. raw.C0 = raw.C0:lerp(stand.rarm*cfn(.45,-.25,-.15)*cfa(0,math.rad(30),math.rad(65)), i/t)
  1454. law.C0 = law.C0:lerp(stand.larm*cfn(-.45,-.25,-.15)*cfa(0,math.rad(-30),math.rad(-65)), i/t)
  1455. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(5),0,0), i/t)
  1456. tw.C1 = tw.C1:lerp(stand.tors*cfa(math.rad(-25),0,0), i/t)
  1457. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(math.rad(-20),0,math.rad(25)), i/t)
  1458. llw.C0 = llw.C0:lerp(stand.lleg*cfa(math.rad(-20),0,math.rad(-25)), i/t)
  1459. end
  1460.  
  1461. lwoverride = false
  1462. softoverride = false
  1463. wsoverride = false
  1464. ----------
  1465. end
  1466. end,
  1467. ------------------
  1468. function()
  1469. if mode == "Normal" then
  1470. ----------
  1471. local t = math.ceil(20/atkspd.Value)
  1472. local hitdb= {}
  1473. for i = 1,t do swait()
  1474. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,-.5,0) * cfa(math.rad(-80),math.rad(0),math.rad(105)),i/t)
  1475. law.C0 = law.C0:lerp(stand.larm * cfn(0,0,0) * cfa(math.rad(0),math.rad(-30),math.rad(-80)),i/t)
  1476. hw.C0 = hw.C0:lerp(stand.head * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(-60)),i/t)
  1477. tw.C1 = tw.C1:lerp(stand.tors * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(-60)),i/t)
  1478. grip.C1 = grip.C1:lerp(stand.grip1 * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(0)),i/t)
  1479. if not running then softoverride = true
  1480. llw.C0 = llw.C0:lerp(stand.lleg * cfn(-.3,0,0) * cfa(math.rad(0),math.rad(-40),math.rad(10)),i/t)
  1481. rlw.C0 = rlw.C0:lerp(stand.rleg * cfn(.4,0,0) * cfa(math.rad(0),math.rad(-25),math.rad(-30)),i/t)
  1482. end
  1483. end
  1484. local t = math.ceil(20/atkspd.Value)
  1485. swingnorm:Play()
  1486. for i = 1,t do swait()
  1487. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,-.5,0) * cfa(math.rad(-80),math.rad(0),math.rad(-55)),i/t)
  1488. law.C0 = law.C0:lerp(stand.larm * cfn(0,-.5,.3) * cfa(math.rad(-90),math.rad(0),math.rad(15)),i/t)
  1489. hw.C0 = hw.C0:lerp(stand.head * cfn(0,0,0) * cfa(math.rad(5),math.rad(0),math.rad(0)),i/t)
  1490. tw.C1 = tw.C1:lerp(stand.tors * cfn(0,0,0) * cfa(math.rad(0),math.rad(0),math.rad(10)),i/t)
  1491. grip.C1 = grip.C1:lerp(stand.grip1 * cfn(0,0,0) * cfa(math.rad(110),math.rad(0),math.rad(0)),i/t)
  1492. if not running then softoverride = true
  1493. llw.C0 = llw.C0:lerp(stand.lleg * cfn(-.5,0,0) * cfa(math.rad(0),math.rad(10),math.rad(10)),i/t)
  1494. rlw.C0 = rlw.C0:lerp(stand.rleg * cfn(-.3,0,0) * cfa(math.rad(0),math.rad(0),math.rad(-30)),i/t)
  1495. end
  1496. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.25)) do --midlehitbox
  1497. if not hitdb[v] then hitdb[v] = true
  1498. strike(v, bdmg.Value*1.5, critc.Value)
  1499. end end
  1500. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.45)) do --bottomhitbox
  1501. if not hitdb[v] then hitdb[v] = true
  1502. strike(v, bdmg.Value*1.5, critc.Value)
  1503. end end
  1504. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.25)) do --middletophitbox
  1505. if not hitdb[v] then hitdb[v] = true
  1506. strike(v, bdmg.Value*1.5, critc.Value)
  1507. end end
  1508. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.25)) do --tophitbox
  1509. if not hitdb[v] then hitdb[v] = true
  1510. strike(v, bdmg.Value*1.5, critc.Value)
  1511. end end
  1512. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,.85)) do --sweetspot
  1513. if not hitdb[v] then hitdb[v] = true
  1514. strike(v, bdmg.Value*2, critc.Value)
  1515. spiketip:Play()
  1516. end end
  1517. end
  1518. ----------
  1519. end
  1520. if mode == "Heavy" then
  1521. ----------
  1522. local t = math.ceil(15/atkspd.Value)
  1523. local hitdb = {}
  1524. for i = 1, t do swait()
  1525. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(-5),math.rad(30+(25*(i/t))),math.rad(150+(32*(i/t)))), i/t)
  1526. law.C0 = law.C0:lerp(stand.larm*cfn(-.25,0,.5)*cfa(math.rad(90),math.rad(-120),0), i/t)
  1527. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(30+(25*(i/t)))), i/t)
  1528. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(30+(25*(i/t)))), i/t)
  1529. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(-15),math.rad(0),math.rad(0)),i/t)
  1530. if not running then softoverride = true
  1531. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(15+(12.5*(i/t))),math.rad(-5)), i/t)
  1532. llw.C0 = llw.C0:lerp(stand.lleg*cfn(-.25,0,0)*cfa(0,math.rad(20),math.rad(15)), i/t)
  1533. end
  1534. end
  1535. t = math.ceil(20/atkspd.Value)
  1536. swinglower:Play()
  1537. for i = 1, t do swait()
  1538. raw.C0 = raw.C0:lerp(stand.rarm*cfn(0.75,-.5,-.85)*cfa(math.rad(15),math.rad(5),math.rad(20)), i/t)
  1539. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-15),0,math.rad(35)), i/t)
  1540. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(15),0,math.rad(5)), i/t)
  1541. tw.C1 = tw.C1:lerp(stand.tors*cfn(0,0,.5)*cfa(0,0,math.rad(5)), i/t)
  1542. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(25),math.rad(0),math.rad(0)),i/t)
  1543. if not running then softoverride = true
  1544. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(0,-.125,0)*cfa(0,math.rad(5),math.rad(-45)), i/t)
  1545. llw.C0 = llw.C0:lerp(stand.lleg*cfn(-.5,.5,0)*cfa(0,math.rad(5),0), i/t)
  1546. end
  1547. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.35)) do --midlehitbox
  1548. if not hitdb[v] then hitdb[v] = true
  1549. strike(v, bdmg.Value*1.5, critc.Value)
  1550. end end
  1551. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.65)) do --bottomhitbox
  1552. if not hitdb[v] then hitdb[v] = true
  1553. strike(v, bdmg.Value*1.5, critc.Value)
  1554. end end
  1555. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.35)) do --middletophitbox
  1556. if not hitdb[v] then hitdb[v] = true
  1557. strike(v, bdmg.Value*1.5, critc.Value)
  1558. end end
  1559. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.35)) do --tophitbox
  1560. if not hitdb[v] then hitdb[v] = true
  1561. strike(v, bdmg.Value*1.5, critc.Value)
  1562. end end
  1563. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,1)) do ----sweetspot
  1564. if not hitdb[v] then hitdb[v] = true
  1565. strike(v, bdmg.Value*2.25, critc.Value)
  1566. spiketip:Play()
  1567. end end
  1568. end
  1569.  
  1570. ----------
  1571. end
  1572. if mode == "Magic" then
  1573. ----------
  1574. local t = math.ceil(10/atkspd.Value)
  1575. local randoangle1 = math.random(-30,10)
  1576. local randoangle2 = math.random(-15,12)
  1577. local randoangle3 = math.random(-2,-1)/2
  1578. for i = 1, t do swait()
  1579. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(25),0,math.rad(-25)), i/t)
  1580. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35+randoangle2),math.rad(5*randoangle3),math.rad(-85+randoangle1)), i/t)
  1581. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(50)), i/t)
  1582. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(50)), i/t)
  1583. if not running then softoverride = true
  1584. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(50),math.rad(-20)), i/t)
  1585. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(50),math.rad(15)), i/t)
  1586. end
  1587. end
  1588. makepoof(math.random(4,11)/10,larm.CFrame*cfn(0,-2.5,0),bdmg.Value*.75,-25)
  1589. local randoangle1 = math.random(-30,10)
  1590. local randoangle2 = math.random(-25,25)
  1591. local randoangle3 = math.random(-2,-1)/4
  1592. for i = 1, t do swait()
  1593. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(25),0,math.rad(-25)), i/t)
  1594. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35+randoangle2),math.rad(0*randoangle3),math.rad(-85+randoangle1)), i/t)
  1595. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(50)), i/t)
  1596. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(50)), i/t)
  1597. if not running then softoverride = true
  1598. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(50),math.rad(-20)), i/t)
  1599. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(50),math.rad(15)), i/t)
  1600. end
  1601. end
  1602. makepoof(math.random(4,11)/10,larm.CFrame*cfn(0,-1.5,0),bdmg.Value*.75,-15)
  1603. local randoangle1 = math.random(-30,10)
  1604. local randoangle2 = math.random(-45,45)
  1605. local randoangle3 = math.random(-2,-1)/8
  1606. for i = 1, t do swait()
  1607. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(25),0,math.rad(-25)), i/t)
  1608. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35+randoangle2),math.rad(-5*randoangle3),math.rad(-85+randoangle1)), i/t)
  1609. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(50)), i/t)
  1610. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(50)), i/t)
  1611. if not running then softoverride = true
  1612. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(50),math.rad(-20)), i/t)
  1613. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(50),math.rad(15)), i/t)
  1614. end
  1615. end
  1616. makepoof(math.random(8,13)/10,larm.CFrame*cfn(0,-.5,0),bdmg.Value*.75,-5)
  1617. local t = math.ceil(15/atkspd.Value)
  1618. for i = 1, t do swait()
  1619. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(-70),0,math.rad(45)), i/t)
  1620. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-25),0,math.rad(25)), i/t)
  1621. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(-50)), i/t)
  1622. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-50)), i/t)
  1623. if not running then softoverride = true
  1624. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-50),math.rad(-10)), i/t)
  1625. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(-50),math.rad(25)), i/t)
  1626. end
  1627. end
  1628. makepoof(math.random(11,16)/10,rarm.CFrame*cfn(0,-1.15,0),bdmg.Value*1.15,45)
  1629.  
  1630. softoverride = false
  1631. ----------
  1632. end
  1633. end,
  1634. ------------------
  1635. function()
  1636. if mode == "Normal" then
  1637. ----------
  1638. local hitdb = {}
  1639. local hitdb2 = {}
  1640. local t = math.ceil(10/atkspd.Value)
  1641. swingnorm:Play()
  1642. for i = 1, t do swait()
  1643. raw.C0 = raw.C0:lerp(stand.rarm*cfa(0,math.rad(-20),math.rad(175*(i/t))), i/t)
  1644. law.C0 = law.C0:lerp(stand.larm*cfa(0,math.rad(0),math.rad(25)), i/t)
  1645. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(-20)), i/t)
  1646. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-20)), i/t)
  1647. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(165),0,0),i/t)
  1648. if not running then softoverride = true
  1649. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(.25,0,0)*cfa(0,math.rad(-20),math.rad(-20)), i/t)
  1650. llw.C0 = llw.C0:lerp(stand.lleg*cfn(.5,0,0)*cfa(0,math.rad(-20),math.rad(15)), i/t)
  1651. end
  1652. end
  1653. hume.AutoRotate = false
  1654. local t = math.ceil(15/atkspd.Value)
  1655. lwoverride = true
  1656. hume.WalkSpeed = 0.01
  1657. swinglow:Play()
  1658. for i = 1, t do swait()
  1659. raw.C0 = raw.C0:lerp(stand.rarm*cfn(.85*(i/t),0,0)*cfa(0,math.rad(-20),math.rad(165+(-45*(i*2/t)))), i/t)
  1660. law.C0 = law.C0:lerp(stand.larm*cfa(0,math.rad(10),math.rad(65)), i/t)
  1661. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(5),math.rad(-3),math.rad(-20)), i/t)
  1662. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-20)), i/t)
  1663. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(170+(10*i/t)),0,0),i/t)
  1664. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(.5,0,0)*cfa(0,math.rad(-20),math.rad(-5)), i/t)
  1665. llw.C0 = llw.C0:lerp(stand.lleg*cfn(.15,0,0)*cfa(0,0,math.rad(30)), i/t)
  1666. hrp.Velocity = hrp.CFrame.lookVector * 60
  1667. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.25)) do --midlehitbox
  1668. if not hitdb[v] then hitdb[v] = true
  1669. strike(v, bdmg.Value*1.5, critc.Value)
  1670. end end
  1671. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.45)) do --bottomhitbox
  1672. if not hitdb[v] then hitdb[v] = true
  1673. strike(v, bdmg.Value*1.5, critc.Value)
  1674. end end
  1675. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.25)) do --middletophitbox
  1676. if not hitdb[v] then hitdb[v] = true
  1677. strike(v, bdmg.Value*1.5, critc.Value)
  1678. end end
  1679. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.25)) do --tophitbox
  1680. if not hitdb[v] then hitdb[v] = true
  1681. strike(v, bdmg.Value*1.5, critc.Value)
  1682. end end
  1683. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,.85)) do --sweetspot
  1684. if not hitdb[v] then hitdb[v] = true
  1685. strike(v, bdmg.Value*2, critc.Value)
  1686. spiketip:Play()
  1687. end end
  1688. end
  1689. local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
  1690. local hit = workspace:FindPartOnRay(groundcheck, char)
  1691. if hit then
  1692. light:Play()
  1693. local ringaoe = spawn(function()
  1694. local p = Instance.new("Part")
  1695. p.Parent = dump
  1696. p.Size = v3()
  1697. p.Transparency = 1
  1698. p.Anchored = true
  1699. p.CanCollide =false
  1700. p.CFrame = rarm.CFrame*cfn(0,-1.75,2.75)*cfa(math.rad(-75),0,0)
  1701. p.Color = Color3.fromRGB(0,0,0)
  1702. p.Transparency = .5
  1703. local m = Instance.new("SpecialMesh")
  1704. m.Parent = p
  1705. m.MeshId="http://www.roblox.com/asset/?id=489415286"
  1706. m.Scale = v3(.45,1,.45)
  1707. local transparency = spawn(function()
  1708. for i = p.Transparency,1.05,0.05 do swait()
  1709. p.Transparency = i
  1710. for _,v in pairs(checkPartMag({Weapon.Blade}, 3)) do
  1711. if not hitdb2[v] then hitdb2[v] = true
  1712. strike(v, bdmg.Value, critc.Value)
  1713. end end
  1714. end
  1715. p:Destroy()
  1716. end)
  1717. local size = spawn(function()
  1718. repeat
  1719. m.Scale = m.Scale + v3(0.25,0.115,0.25)
  1720. swait()
  1721. until p.Transparency > 1
  1722. end)
  1723.  
  1724. end)
  1725. swait(10)
  1726. end
  1727. lwoverride = false
  1728. softoverride = false
  1729. hume.WalkSpeed = defWS
  1730. hume.AutoRotate = true
  1731. hume.JumpPower = 60
  1732. ----------
  1733. end
  1734. if mode == "Heavy" then
  1735. ----------
  1736. local t = math.ceil(25/atkspd.Value)
  1737. local hitdb = {}
  1738. local angle = 0
  1739. lwoverride = true
  1740. wsoverride = true
  1741. hume.WalkSpeed = 0.011
  1742.  
  1743. for i = 1, t do swait()
  1744. raw.C0 = raw.C0:lerp(stand.rarm*cfn(1,-.125,0.25)*cfa(math.rad(-90),0,math.rad(160)), i/t)
  1745. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(5),0,math.rad(30)), i/t)
  1746. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-15),0,math.rad(-35+(-15*(i/t)))), i/t)
  1747. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-35+(-15*(i/t)))), i/t)
  1748. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(100+(75*(i/t))),math.rad(0),math.rad(0)),i/t)
  1749. if not running then softoverride = true
  1750. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(0.15,0,0)*cfa(0,math.rad(-35),math.rad(-15)), i/t)
  1751. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,0,math.rad(5)), i/t)
  1752. end
  1753. end
  1754. t = math.ceil(45/atkspd.Value)
  1755.  
  1756. for i = 1, t do swait()
  1757. raw.C0 = raw.C0:lerp(stand.rarm*cfn(1,-.125,0.25)*cfa(math.rad(-90),0,math.rad(160)), i/t)
  1758. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(5),0,math.rad(30)), i/t)
  1759. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-0),0,math.rad(-50)), i/t)
  1760. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(770 * (i/t))), i/t)
  1761. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(100+(75*(i/t))),math.rad(0),math.rad(0)),i/t)
  1762. angle = angle + (770/t)
  1763. hrp.Velocity = hrp.CFrame.lookVector*40
  1764. if angle >= 192 and i~= t then
  1765. local ringaoe = spawn(function()
  1766. local p = Instance.new("Part")
  1767. p.Parent = dump
  1768. p.Size = v3()
  1769. p.Transparency = 1
  1770. p.Anchored = true
  1771. p.CanCollide =false
  1772. p.CFrame = hrp.CFrame*cfn(0,0.5,0)
  1773. p.Color = Color3.fromRGB(163,163,163)
  1774. p.Transparency = .5
  1775. local m = Instance.new("SpecialMesh")
  1776. m.Parent = p
  1777. m.MeshId="http://www.roblox.com/asset/?id=489415286"
  1778. m.Scale = v3(3,0,3)
  1779. local transparency = spawn(function()
  1780. for i = p.Transparency,1.05,0.05 do swait()
  1781. p.Transparency = i
  1782. p.CFrame = p.CFrame*CFrame.Angles(0,math.rad(-6),0)
  1783. end
  1784. p:Destroy()
  1785. end)
  1786. local size = spawn(function()
  1787. repeat
  1788. m.Scale = m.Scale + v3(0.75,0,0.75)
  1789. swait()
  1790. until p.Transparency > 1
  1791. end)
  1792.  
  1793. end)
  1794.  
  1795. spawn(function() local c = swinglower:Clone();c.Parent=Handle;c.PlayOnRemove=true;c:Remove();end)angle = 0
  1796. for _,v in pairs(checkPartMag({Blade},9)) do --midlehitbox
  1797. if not hitdb[v] then hitdb[v] = true
  1798. strike(v, bdmg.Value*1.25, critc.Value)
  1799. spawn(function() swait(5) hitdb[v] = false end)
  1800. end end
  1801. end
  1802. if not running then softoverride = true
  1803. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(math.rad(15),0,0), i/t)
  1804. llw.C0 = llw.C0:lerp(stand.lleg*cfa(math.rad(15),0,0), i/t)
  1805. end
  1806. end
  1807. lwoverride = false
  1808. wsoverride = false
  1809. ----------
  1810. end
  1811. if mode == "Magic" then
  1812. ----------
  1813. local hitdb = {}
  1814. local t = math.ceil(15/atkspd.Value)
  1815.  
  1816.  
  1817.  
  1818. for i = 1, t do swait()
  1819. raw.C0 = raw.C0:lerp(stand.rarm*cfa(math.rad(0),math.rad(-40),math.rad(-60)), i/t)
  1820. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(30),math.rad(-65),math.rad(-90)), i/t)
  1821. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-2),0,math.rad(-40)), i/t)
  1822. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-40)), i/t)
  1823. if not running then softoverride = true
  1824. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-40),math.rad(-5)), i/t)
  1825. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(-40),math.rad(10)), i/t)
  1826. end
  1827. end
  1828. local dist = 0
  1829. local dist2 = 0
  1830. t = math.ceil(10/atkspd.Value)
  1831. local effectbaaa = spawn(function()
  1832. local p = Instance.new("Part")
  1833. game:GetService("Debris"):AddItem(p,1)
  1834. p.Parent = dump
  1835. p.Size = v3()
  1836. p.CFrame = hrp.CFrame*cfn(-.25,0.75,-2)*cfa(math.rad(-90),0,math.rad(-15))
  1837. p.Color = Color3.new(0,0,0)
  1838. p.Anchored = true
  1839. p.Transparency = .45
  1840. p.CanCollide = false
  1841. local m = Instance.new("SpecialMesh")
  1842. m.Parent = p
  1843. m.MeshId = "rbxassetid://65322375"
  1844. m.Scale = v3(2.4,3.2,3.2)
  1845. local transp = spawn(function()
  1846. for i = p.Transparency,1,0.05 do
  1847. swait()
  1848. p.Transparency = i
  1849. p.CFrame = hrp.CFrame*cfn(-.25,0.75,-2)*cfa(math.rad(-90),0,math.rad(-15))
  1850. end
  1851. p:Destroy()
  1852. end)
  1853. end)
  1854. for i = 1, t do swait()
  1855. raw.C0 = raw.C0:lerp(stand.rarm*cfn(-.5,.25,0)*cfa(math.rad(0),math.rad(50),math.rad(-60)), i/t)
  1856. law.C0 = law.C0:lerp(stand.larm*cfn(-1,0,-.25)*cfa(math.rad(-30),math.rad(35),math.rad(-90)), i/t)
  1857. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(5),0,math.rad(50)), i/t)
  1858. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(50)), i/t)
  1859. for _,v in pairs(checkPartMag({larm},4)) do
  1860. if not hitdb[v] then hitdb[v] = true
  1861. strike(v,bdmg.Value*2,critc.Value)
  1862. if v ~= char then
  1863. local bv = Instance.new("BodyVelocity");bv.Parent=v.Head;bv.MaxForce=v3(math.huge,math.huge,math.huge);bv.Velocity=hrp.CFrame.lookVector*140;game:GetService("Debris"):AddItem(bv,.05)
  1864. end
  1865. end
  1866. end
  1867. if not running then softoverride = true
  1868. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(50),math.rad(-15)), i/t)
  1869. llw.C0 = llw.C0:lerp(stand.lleg*cfn(-.15,0,0.5)*cfa(0,math.rad(50),math.rad(20)), i/t)
  1870. end
  1871. dist = dist + 1
  1872. dist2 = dist2 + 1
  1873. spawn(function()
  1874. hrp.CFrame = hrp.CFrame*cfn(0,0,-1)
  1875. if dist >= 2 then
  1876. --afterimage(0.105,Color3.new(0,0,0))
  1877. dist = 0
  1878. end
  1879. if dist2 >= 1 then
  1880. local effectblst= spawn(function()
  1881. local p = Instance.new("Part")
  1882. game:GetService("Debris"):AddItem(p,1)
  1883. p.Parent = dump
  1884. p.Size = v3()
  1885. p.CFrame = hrp.CFrame*cfn(-.25,0.75,-2)*cfa(math.rad(90),math.rad(math.random(-360,360)),math.rad(5))
  1886. p.Color = Color3.new(0,0,0)
  1887. p.Anchored = true
  1888. p.Transparency = .6
  1889. p.CanCollide = false
  1890. local m = Instance.new("SpecialMesh")
  1891. m.Parent = p
  1892. m.MeshId = "rbxassetid://489415447"
  1893. m.Scale = v3(1.1,.2,1.1)
  1894. local transp = spawn(function()
  1895. for i = p.Transparency,1,0.05 do
  1896. swait()
  1897. p.Transparency = i
  1898. end
  1899. p:Destroy()
  1900. end)
  1901. local siz = spawn(function()
  1902. repeat
  1903. swait()
  1904. m.Scale = m.Scale + Vector3.new(.15,1.1,.15)
  1905. until p.Transparency > .95
  1906. end)
  1907. end)
  1908. dist2 = 0
  1909. end
  1910. end)
  1911. end
  1912.  
  1913.  
  1914.  
  1915. ----------
  1916. end
  1917. end,
  1918. ------------------
  1919. }
  1920.  
  1921. -- Abilities --
  1922.  
  1923. bAbilities = {
  1924.  
  1925. function(Z)
  1926. -------------------------------------------------
  1927. if mode == "Normal" and casted == false then
  1928. casted = true
  1929. local t = 20
  1930. wsoverride= true
  1931. softoverride = true
  1932. hume.WalkSpeed = 0.15
  1933.  
  1934. for i = 1,t do swait()
  1935. raw.C0 = raw.C0:lerp(stand.rarm*cfa(0,math.rad(-45),math.rad(89*((i/t)*2))),i/t)
  1936. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35),math.rad(-15),math.rad(10)), i/t)
  1937. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-15),0,math.rad(-45)), i/t)
  1938. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-45)), i/t)
  1939. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-30),0), i/t)
  1940. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(-10),math.rad(15)), i/t)
  1941. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(90),0,0), i/t)
  1942. end
  1943. heavy:Play()
  1944. local spikeextend = spawn(function()
  1945. for _,v in pairs(Weapon:GetChildren()) do
  1946. if v.Name == "Spike" or v.Name == "TopSpike" then
  1947. local mesh = spawn(function()
  1948. for i = 1,15 do swait()
  1949. v.Mesh.Scale=v.Mesh.Scale+Vector3.new(0.01,0.025,0.015)
  1950. v.Mesh.Offset=v.Mesh.Offset+Vector3.new(0,.021,0)
  1951. end
  1952. end)
  1953. end
  1954. end
  1955. end)
  1956. swait(30)
  1957. mode = "Heavy"
  1958. defWS = 10
  1959. atkspd.Value = atkspd.Value / 1.15
  1960. hume.WalkSpeed = defWS
  1961. wsoverride= false
  1962. softoverride = false
  1963. spawn(function() swait(30) casted=false end)
  1964. end
  1965. -------------------------------------------------
  1966.  
  1967. -------------------------------------------------
  1968. if mode == "Magic" then
  1969. local t = 20
  1970. wsoverride = true
  1971. softoverride = true
  1972. hume.WalkSpeed = 0.05
  1973. retrieved = true
  1974. burn:Pause()
  1975.  
  1976. local effects = spawn(function()
  1977. local blast = spawn(function()
  1978. for i = 1,math.random(2,3) do
  1979. local p = i_n("Part")
  1980. p.Size = v3()
  1981. p.CFrame = lastpos*cfa(0,math.rad(math.random(-360,360)),0)
  1982. p.Transparency = .15
  1983. p.Color = Color3.fromHSV(281/360,1,math.random(5,30)/100)
  1984. p.Anchored = true
  1985. p.CanCollide = false
  1986. p.Material = "Air"
  1987. p.Parent = dump
  1988. local m = i_n("SpecialMesh")
  1989. m.Parent = p
  1990. m.MeshId="rbxassetid://111820358"
  1991. local scale1 = math.random(4,16)
  1992. local scale2 = math.random(10,25)
  1993. m.Scale = v3(scale1,scale2,scale1)
  1994. local transp = spawn(function()
  1995. for i = p.Transparency,1.05,0.025 do swait()
  1996. p.Transparency = i
  1997. end
  1998. p:Destroy()
  1999. end)
  2000. local siz = spawn(function()
  2001. local siz1 = math.random(1,30)/100
  2002. local siz2 = math.random(15,80)/100
  2003. repeat
  2004. m.Scale = m.Scale + v3(siz1,siz2,siz1)
  2005. swait()
  2006. until p.Transparency > 1
  2007. end)
  2008. end
  2009. end)
  2010. disapear:Play()
  2011. end)
  2012.  
  2013. for _,v in pairs(Weapon:GetChildren()) do
  2014. if v:IsA("BasePart") then
  2015. v.CanCollide = false
  2016. v.Anchored = false
  2017. local transparency = spawn(function()
  2018. v.Transparency = 1
  2019. swait(40)
  2020. for i = 1,-0.05,-0.05 do swait()
  2021. v.Transparency = i
  2022. end
  2023. end)
  2024. end
  2025. end
  2026.  
  2027. spawn(function()
  2028. swait(5)
  2029. reappear:Play()
  2030. backweld.Parent=nil
  2031. grip.Parent = handle
  2032. end)
  2033. for i = 1,t do swait()
  2034. raw.C0 = raw.C0:lerp(stand.rarm*cfa(0,math.rad(-45),math.rad(89*((i/t)*2))),i/t)
  2035. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35),math.rad(-15),math.rad(10)), i/t)
  2036. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-15),0,math.rad(-45)), i/t)
  2037. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-45)), i/t)
  2038. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-30),0), i/t)
  2039. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(-10),math.rad(15)), i/t)
  2040. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(90),0,0), i/t)
  2041. end
  2042.  
  2043. swait(30)
  2044. wsoverride = false
  2045. softoverride = false
  2046. defWS = 18
  2047. mode = "Normal"
  2048. end
  2049. -------------------------------------------------
  2050. end,
  2051.  
  2052. function(X)
  2053. -------------------------------------------------
  2054. if mode =="Heavy" and casted== false then
  2055. casted = true
  2056. local t = 20
  2057. wsoverride= true
  2058. softoverride = true
  2059. hume.WalkSpeed = 0.15
  2060.  
  2061. for i = 1,t do swait()
  2062. raw.C0 = raw.C0:lerp(stand.rarm*cfa(0,math.rad(-45),math.rad(89*((i/t)*2))),i/t)
  2063. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-35),math.rad(-15),math.rad(10)), i/t)
  2064. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(-15),0,math.rad(-45)), i/t)
  2065. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(-45)), i/t)
  2066. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-30),0), i/t)
  2067. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(-10),math.rad(15)), i/t)
  2068. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(90),0,0), i/t)
  2069. end
  2070. normal:Play()
  2071. local spikeextend = spawn(function()
  2072. for _,v in pairs(Weapon:GetChildren()) do
  2073. if v.Name == "Spike" or v.Name == "TopSpike" then
  2074. local mesh = spawn(function()
  2075. for i = 1,15 do swait()
  2076. v.Mesh.Scale=v.Mesh.Scale-Vector3.new(0.01,0.025,0.015)
  2077. v.Mesh.Offset=v.Mesh.Offset-Vector3.new(0,.021,0)
  2078. end
  2079. end)
  2080. end
  2081. end
  2082. end)
  2083. swait(30)
  2084. mode = "Normal"
  2085. atkspd.Value = atkspd.Value * 1.15
  2086. defWS = 18
  2087. hume.WalkSpeed = defWS
  2088. wsoverride= false
  2089. softoverride = false
  2090. spawn(function() swait(30) casted=false end)
  2091. end
  2092. -------------------------------------------------
  2093.  
  2094. -------------------------------------------------
  2095. if mode =="Normal" and casted== false then
  2096. local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
  2097. local hit = workspace:FindPartOnRay(groundcheck, char)
  2098. local hitdb = {}
  2099. local hitdb2 = {}
  2100. if hit then
  2101. retrieved = false
  2102. casted = true
  2103. local t =25
  2104. wsoverride= true
  2105. softoverride = true
  2106. hume.WalkSpeed = 0.01
  2107.  
  2108. for i = 1,t do swait()
  2109. raw.C0 = raw.C0:lerp(stand.rarm*cfn(0.75*(i/t),.75*(i/t),0)*cfa(0,0,math.rad(180*(i/t))),i/t)
  2110. law.C0 = law.C0:lerp(stand.larm*cfn(0,0,0)*cfa(0,math.rad(-10),math.rad(-30)), i/t)
  2111. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(4),0,math.rad(-10)), i/t)
  2112. tw.C1 = tw.C1:lerp(stand.tors*cfa(math.rad(7),0,0), i/t)
  2113. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(-10),math.rad(-5)), i/t)
  2114. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(10),math.rad(15)), i/t)
  2115. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(175-(360*(i/t))),0,0), i/t)
  2116. end
  2117. t = 15
  2118. swinglow:Play()
  2119. for i = 1,t do swait()
  2120. raw.C0 = raw.C0:lerp(stand.rarm*cfn(.25,0,0)*cfa(0,0,math.rad(110)),i/t)
  2121. law.C0 = law.C0:lerp(stand.larm*cfn(0,0,0)*cfa(0,math.rad(15),math.rad(55)), i/t)
  2122. hw.C0 = hw.C0:lerp(stand.head*cfa(math.rad(0),0,math.rad(-10)), i/t)
  2123. tw.C1 = tw.C1:lerp(stand.tors*cfa(math.rad(-5),0,0), i/t)
  2124. rlw.C0 = rlw.C0:lerp(stand.rleg*cfn(.45,0,0)*cfa(0,math.rad(-13),math.rad(-15)), i/t)
  2125. llw.C0 = llw.C0:lerp(stand.lleg*cfn(.5,-.1,0)*cfa(0,math.rad(10),math.rad(20)), i/t)
  2126. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(200),0,0), i/t)
  2127. end
  2128. poof:Play()
  2129. bang:Play()
  2130. burn:Play()
  2131.  
  2132. grip.Parent = nil
  2133. backweld.Parent = handle
  2134. backweld.C0 = rarm.CFrame*cfn(0,-2,.5)
  2135. local bladecheck = Ray.new(Blade.Position, ((Blade.CFrame.p - Vector3.new(0, 1, 0)) - Blade.CFrame.p).unit * 4)
  2136. local part, position = workspace:FindPartOnRay(bladecheck, Weapon)
  2137.  
  2138. local effects = spawn(function()
  2139. for _,v in pairs(checkPartMag({Weapon.Blade}, 6)) do
  2140. if not hitdb2[v] then hitdb2[v] = true
  2141. strike(v, bdmg.Value*4, critc.Value)
  2142. end end
  2143. local blast = spawn(function()
  2144. for i = 1,math.random(2,3) do
  2145. local p = i_n("Part")
  2146. lastpos = cfn(position)
  2147. p.Size = v3()
  2148. p.CFrame = cfn(position)*cfa(0,math.rad(math.random(-360,360)),0) -- Blade.CFrame*cfn(0,.45,0)*cfa(0,0,math.rad(180))
  2149. p.Transparency = .15
  2150. p.Color = hit.Color
  2151. p.Anchored = true
  2152. p.CanCollide = false
  2153. p.Material = "SmoothPlastic"
  2154. p.Parent = dump
  2155. local m = i_n("SpecialMesh")
  2156. m.Parent = p
  2157. m.MeshId="http://www.roblox.com/asset/?id=489387133"
  2158. m.Scale = v3(2,2,2)
  2159. local transp = spawn(function()
  2160. for i = p.Transparency,1.05,0.05 do swait()
  2161. p.Transparency = i
  2162. end
  2163. p:Destroy()
  2164. end)
  2165. local siz = spawn(function()
  2166. local siz1 = math.random(1,30)/100
  2167. local siz2 = math.random(15,80)/100
  2168. repeat
  2169. m.Scale = m.Scale + v3(siz1,siz2,siz1)
  2170. swait()
  2171. until p.Transparency > 1
  2172. end)
  2173. end
  2174.  
  2175. end)
  2176.  
  2177. local ring = spawn(function()
  2178. local p = i_n("Part")
  2179. p.Size = v3(6,0,6)
  2180. p.CFrame = cfn(position)*cfn(0,.1,0)-- Blade.CFrame*cfn(0,.45,0)*cfa(0,0,math.rad(180))
  2181. p.Transparency = 1
  2182. p.Anchored = true
  2183. p.CanCollide = false
  2184. p.Material = "SmoothPlastic"
  2185. p.Parent = dump
  2186. local dec1 = Instance.new("Decal")
  2187. dec1.Parent = p
  2188. dec1.Texture="rbxassetid://233069802"
  2189. dec1.Face="Top"
  2190. dec1.Transparency = .75
  2191. --dec1.Color3 = Color3.fromRGB(162, 0, 255)
  2192. local dec2 = Instance.new("Decal")
  2193. dec2.Parent = p
  2194. dec2.Texture="rbxassetid://233069802"
  2195. dec2.Face="Bottom"
  2196. dec2.Transparency = .75
  2197. --dec2.Color3 = Color3.fromRGB(162, 0, 255)
  2198.  
  2199. local p2 = i_n("Part")
  2200. p2.Size = v3(4,0,4)
  2201. p2.CFrame = cfn(position)
  2202. p2.Transparency = 1
  2203. p2.Anchored = true
  2204. p2.CanCollide = false
  2205. p2.Material = "SmoothPlastic"
  2206. p2.Parent = dump
  2207. local dec3 = Instance.new("Decal")
  2208. dec3.Parent = p2
  2209. dec3.Texture="http://www.roblox.com/asset/?id=363839172"
  2210. dec3.Face="Top"
  2211. dec3.Color3 = Color3.new(0,0,0)
  2212. dec3.Transparency = .25
  2213. local dec4 = Instance.new("Decal")
  2214. dec4.Parent = p2
  2215. dec4.Texture="http://www.roblox.com/asset/?id=363839172"
  2216. dec4.Face="Bottom"
  2217. dec4.Color3 = Color3.new(0,0,0)
  2218. dec4.Transparency = .25
  2219. local c= fire:Clone()
  2220. c.Parent = p2
  2221. local c2= smoke:Clone()
  2222. c2.Parent = p2
  2223.  
  2224. local spin = spawn(function()
  2225. while true do
  2226. p.CFrame =p.CFrame*cfa(0,math.rad(2),0)
  2227. p2.CFrame =p2.CFrame*cfa(0,math.rad(-2),0)
  2228. for _,v in pairs(checkPartMag({Weapon.Blade}, 3)) do
  2229. if not hitdb[v] then hitdb[v] = true
  2230. if v.Humanoid.Health >= math.huge then break end
  2231. strike(v, v.Humanoid.Health*.046+bdmg.Value*0.1, critc.Value)
  2232. spawn(function() swait(15) hitdb[v]=false end)
  2233. end end
  2234. swait()
  2235. if retrieved == true then p:Destroy();p2:Destroy() break end
  2236. end
  2237. end)
  2238. end)
  2239. end)
  2240.  
  2241. for _,v in pairs(Weapon:GetChildren()) do
  2242. if v:IsA("BasePart") then
  2243. v.Anchored = true
  2244. v.CanCollide = true
  2245. end
  2246. end
  2247.  
  2248. mode = "Magic"
  2249. defWS = 16
  2250. hume.WalkSpeed = defWS
  2251. wsoverride= false
  2252. softoverride = false
  2253. spawn(function() swait(30) casted=false end)
  2254. end
  2255.  
  2256. end
  2257. -------------------------------------------------
  2258. end,
  2259.  
  2260. function(Q)
  2261. if mode == "Normal" then
  2262. ----------
  2263. local t = 60
  2264. wsoverride = true
  2265. local angle = 0
  2266. local marked = false
  2267. local hitdb = {}
  2268. local multihitd ={}
  2269. local target = nil
  2270. hume.AutoRotate = false
  2271. for i = 1,t do swait()
  2272. hume.WalkSpeed = hume.WalkSpeed - .375
  2273. raw.C0 = raw.C0:lerp(stand.rarm*cfn(1,-.25,-1)*cfa(math.rad(45),math.rad(180),math.rad(-25)),i/t)
  2274. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-25),0,math.rad(25+(3*(i/t)))), i/t)
  2275. hw.C0 = hw.C0:lerp(stand.head, i/t)
  2276. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(0+(720*(i/t)))), i/t)
  2277. rlw.C0 = rlw.C0:lerp(stand.rleg, i/t)
  2278. llw.C0 = llw.C0:lerp(stand.lleg, i/t)
  2279. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(-5),0,0), i/t)
  2280. angle = angle + (720/t)
  2281. if angle >= 180 then
  2282. swingnorm:Play()
  2283. angle=0
  2284. end
  2285. end
  2286.  
  2287. t = 25
  2288. local curframe = 1
  2289. trail.Enabled=true
  2290. lowlunge:Play()
  2291. for i = 1,t do swait()
  2292. curframe=curframe+1
  2293. raw.C0 = raw.C0:lerp(stand.rarm*cfn(0,.25,.5)*cfa(math.rad(65),math.rad(180),math.rad(180)),i/t)
  2294. law.C0 = law.C0:lerp(stand.larm*cfa(math.rad(-25),0,math.rad(25+(3*(i/t)))), i/t)
  2295. hw.C0 = hw.C0:lerp(stand.head*cfa(0,0,math.rad(45)), i/t)
  2296. tw.C1 = tw.C1:lerp(stand.tors*cfa(0,0,math.rad(45)), i/t)
  2297. rlw.C0 = rlw.C0:lerp(stand.rleg*cfa(0,math.rad(45),math.rad(-20)), i/t)
  2298. llw.C0 = llw.C0:lerp(stand.lleg*cfa(0,math.rad(45),math.rad(15)), i/t)
  2299. grip.C1 = grip.C1:lerp(stand.grip1*cfa(math.rad(125),0,0), i/t)
  2300. for _,v in pairs(checkPosMag(Blade.CFrame.p,1.25)) do --midlehitbox
  2301. if not hitdb[v] then hitdb[v] = true
  2302. strike(v, bdmg.Value*1.5, critc.Value)
  2303. marked=true
  2304. target = v
  2305. end end
  2306. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,-1.25,0)).p,1.45)) do --bottomhitbox
  2307. if not hitdb[v] then hitdb[v] = true
  2308. strike(v, bdmg.Value*1.5, critc.Value)
  2309. if v~=char then
  2310. marked=true
  2311. target = v
  2312. end end end
  2313. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1,0)).p,1.25)) do --middletophitbox
  2314. if not hitdb[v] then hitdb[v] = true
  2315. strike(v, bdmg.Value*1.5, critc.Value)
  2316. if v~=char then
  2317. marked=true
  2318. end end end
  2319. for _,v in pairs(checkPosMag((Blade.CFrame*cfn(0,1.85,0)).p,1.25)) do --tophitbox
  2320. if not hitdb[v] then hitdb[v] = true
  2321. strike(v, bdmg.Value*1.5, critc.Value)
  2322. if v~=char then
  2323. marked=true
  2324. target = v
  2325. end end end
  2326. for _,v in pairs(checkPosMag((TopSpike.CFrame).p,.85)) do --sweetspot
  2327. if not hitdb[v] then hitdb[v] = true
  2328. strike(v, bdmg.Value*2, critc.Value)
  2329. if v~=char then
  2330. marked=true
  2331. target = v
  2332. spiketip:Play()
  2333. end end end
  2334. spawn(function()
  2335. if curframe < 20 then
  2336. local p=Instance.new("Part")
  2337. p.Parent=dump
  2338. p.Anchored=true
  2339. p.CanCollide=true
  2340. p.Size=v3(0,0,0)
  2341. p.CFrame=TopSpike.CFrame*cfa(0,0,math.rad(90))
  2342. p.Color=Color3.fromRGB(84, 0, 157)
  2343. p.Reflectance=.1
  2344. p.Transparency=.4
  2345. p.Material="Air"
  2346. local m=Instance.new("SpecialMesh")
  2347. m.Parent=p
  2348. m.MeshId="http://www.roblox.com/asset/?id=10681506"
  2349. m.Scale=v3(2,1,3)
  2350. local colorle=spawn(function()
  2351. for i = 1,5 do swait()
  2352. p.Color=p.Color:lerp(Color3.new(0,0,0),i/20)
  2353. end
  2354. end)
  2355. local transp=spawn(function()
  2356. for i = p.Transparency,1,0.05 do
  2357. p.Transparency=i
  2358. swait()
  2359. end
  2360. p:Destroy()
  2361. end)
  2362. local size=spawn(function()
  2363. repeat
  2364. m.Scale=m.Scale+v3(.55,.15,0)
  2365. swait()
  2366. until p.Transparency>.9
  2367. p:Destroy()
  2368. end)
  2369. end
  2370. end)
  2371. end
  2372. trail.Enabled=false
  2373. if marked == true and target ~= nil and target:FindFirstChild("Torso")~=nil then
  2374. local staydown = Instance.new("BodyPosition");staydown.Parent=target.Torso;staydown.Position=target.Torso.Position;staydown.MaxForce=v3(8000,8000,8000);game:GetService("Debris"):AddItem(staydown,5)
  2375. if recentlyclicked == true and energy.Value >= 40 then-- special
  2376. t = 5
  2377. energy.Value = energy.Value - 40
  2378. local distgo = 5
  2379. local went = false
  2380. for i = 1,t do swait()
  2381. hw.C0 = hw.C0:lerp(stand.head * cfa(0, math.rad(-10), math.rad(-90)), i/t)
  2382. tw.C1 = tw.C1:lerp(stand.tors * cfa(0, 0, math.rad(-90)), i/t)
  2383. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,-0.35,0.45)* cfa(math.rad(-90),0,math.rad(90)), i/t)
  2384. law.C0 = law.C0:lerp(stand.larm * cfa(math.rad(-45),0,0), i/t)
  2385. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(-12),0,0), i/t)
  2386. rlw.C0 = rlw.C0:lerp(stand.rleg * cfa(math.rad(12),0,0), i/t)
  2387. llw.C0 = llw.C0:lerp(stand.lleg * cfa(math.rad(-18),0,0), i/t)
  2388. end
  2389. local RealCF = target.Torso.CFrame
  2390. local hrpcf = char.HumanoidRootPart.CFrame
  2391. local NewCF = CFrame.new(RealCF.p.X,hrpcf.p.Y,RealCF.p.Z)
  2392. for i = 1,math.random(8,17) do
  2393. if distgo == 5 and went == false then
  2394. distgo = -10; went = true
  2395. elseif distgo == -10 and went == true then
  2396. distgo= 5; went = false
  2397. end
  2398. if target~= nil then
  2399. if target:FindFirstChild("Torso")~= nil then RealCF = target.Torso.CFrame else break end
  2400. hrpcf = tors.CFrame
  2401. else
  2402. end
  2403. NewCF = CFrame.new(RealCF.p.X,hrpcf.p.Y,RealCF.p.Z)
  2404. tors.CFrame = CFrame.new(hrpcf.p,NewCF.p)*cfn(0,0,distgo)*cfa(0,math.rad(180),0)
  2405. blinkblink:Play()
  2406. local glasspoof = spawn(function()
  2407. local p = Instance.new("Part")
  2408. p.Parent = dump
  2409. game:GetService("Debris"):AddItem(p,1)
  2410. p.Material = "Neon"
  2411. p.Color =Color3.fromRGB(65, 0, 147)
  2412. p.Transparency = .3
  2413. p.Size = v3(1,1,1)
  2414. p.Anchored = true
  2415. p.CanCollide = false
  2416. if target:FindFirstChild("Torso") ~= nil then p.CFrame = target.Torso.CFrame else return end
  2417. local m = Instance.new("SpecialMesh")
  2418. m.Parent = p
  2419. m.MeshType = "Sphere"
  2420. local transpar = spawn(function()
  2421. for i = p.Transparency,1,0.1 do swait()
  2422. p.Transparency = i
  2423. end
  2424. p:Destroy()
  2425. end)
  2426. local size = spawn(function()
  2427. repeat
  2428. m.Scale = m.Scale + v3(2.15,2.15,2.15)
  2429. swait()
  2430. until p.Transparency > 0.99
  2431.  
  2432. end)
  2433. -- end of glasspoof
  2434. end)
  2435. local dmghandler = spawn(function()
  2436. if target~= nil then
  2437. if target:FindFirstChild("Humanoid") ~= nil then
  2438. strike(target, bdmg.Value*.75, critc.Value)
  2439. else return
  2440. end
  2441. end
  2442. end)
  2443. local aftimghandler = spawn(function()
  2444. --afterimage(.015,Color3.fromRGB(65, 0, 147))
  2445. end)
  2446. swait(3)
  2447. end
  2448. staydown:Destroy()
  2449. -- end of special mode
  2450. else-- normal
  2451. t = 5
  2452. local distgo = 5
  2453. local went = false
  2454. for i = 1,t do swait()
  2455. hw.C0 = hw.C0:lerp(stand.head * cfa(0, math.rad(-10), math.rad(-90)), i/t)
  2456. tw.C1 = tw.C1:lerp(stand.tors * cfa(0, 0, math.rad(-90)), i/t)
  2457. raw.C0 = raw.C0:lerp(stand.rarm * cfn(0,-0.35,0.45)* cfa(math.rad(-90),0,math.rad(90)), i/t)
  2458. law.C0 = law.C0:lerp(stand.larm * cfa(math.rad(-45),0,0), i/t)
  2459. grip.C1 = grip.C1:lerp(stand.grip1 * cfa(math.rad(-12),0,0), i/t)
  2460. rlw.C0 = rlw.C0:lerp(stand.rleg * cfa(math.rad(12),0,0), i/t)
  2461. llw.C0 = llw.C0:lerp(stand.lleg * cfa(math.rad(-18),0,0), i/t)
  2462. end
  2463. local RealCF = target.Torso.CFrame
  2464. local hrpcf = char.HumanoidRootPart.CFrame
  2465. local NewCF = CFrame.new(RealCF.p.X,hrpcf.p.Y,RealCF.p.Z)
  2466. for i = 1,math.random(6,10) do
  2467. if distgo == 5 and went == false then
  2468. distgo = -10; went = true
  2469. elseif distgo == -10 and went == true then
  2470. distgo= 5; went = false
  2471. end
  2472. if target~= nil then
  2473. if target:FindFirstChild("Torso")~= nil then RealCF = target.Torso.CFrame else break end
  2474. hrpcf = tors.CFrame
  2475. else
  2476. end
  2477. NewCF = CFrame.new(RealCF.p.X,hrpcf.p.Y,RealCF.p.Z)
  2478. tors.CFrame = CFrame.new(hrpcf.p,NewCF.p)*cfn(0,0,distgo)*cfa(0,math.rad(180),0)
  2479. blinkblink:Play()
  2480. local glasspoof = spawn(function()
  2481. local p = Instance.new("Part")
  2482. p.Parent = dump
  2483. game:GetService("Debris"):AddItem(p,1)
  2484. p.Material = "Glass"
  2485. p.Color = Color3.new(0,0,0)
  2486. p.Transparency = .6
  2487. p.Size = v3(1,1,1)
  2488. p.Anchored = true
  2489. p.CanCollide = false
  2490. if target:FindFirstChild("Torso") ~= nil then p.CFrame = target.Torso.CFrame else return end
  2491. local m = Instance.new("SpecialMesh")
  2492. m.Parent = p
  2493. m.MeshType = "Sphere"
  2494. local transpar = spawn(function()
  2495. for i = p.Transparency,1,0.065 do swait()
  2496. p.Transparency = i
  2497. end
  2498. p:Destroy()
  2499. end)
  2500. local size = spawn(function()
  2501. repeat
  2502. m.Scale = m.Scale + v3(2.15,2.15,2.15)
  2503. swait()
  2504. until p.Transparency > 0.99
  2505.  
  2506. end)
  2507. -- end of glasspoof
  2508. end)
  2509. local dmghandler = spawn(function()
  2510. if target~= nil and target.Humanoid.Health > 0 then
  2511. strike(target, bdmg.Value*1, critc.Value)
  2512. end
  2513. end)
  2514. local aftimghandler = spawn(function()
  2515. --afterimage(.015,Color3.fromRGB(35, 0, 67))
  2516. end)
  2517. swait(5)
  2518. end
  2519. staydown:Destroy()
  2520. -- true end
  2521. end
  2522. -- end of mark
  2523. end
  2524. ----------
  2525. hume.AutoRotate = true
  2526. end
  2527. if mode == "Heavy" then
  2528. ----------
  2529. local t = 15
  2530.  
  2531. for i = 1,t do swait()
  2532.  
  2533. end
  2534.  
  2535. ----------
  2536. end
  2537. if mode == "Magic" then
  2538. ----------
  2539.  
  2540. ----------
  2541. end
  2542. end,
  2543.  
  2544. function(E)
  2545. if mode == "Normal" then
  2546. ----------
  2547.  
  2548. ----------
  2549. end
  2550. if mode == "Heavy" then
  2551. ----------
  2552.  
  2553. ----------
  2554. end
  2555. if mode == "Magic" then
  2556. ----------
  2557.  
  2558. ----------
  2559. end
  2560. end,
  2561.  
  2562. function(R)
  2563. if mode == "Normal" then
  2564. ----------
  2565.  
  2566. ----------
  2567. end
  2568. if mode == "Heavy" then
  2569. ----------
  2570.  
  2571. ----------
  2572. end
  2573. if mode == "Magic" then
  2574. ----------
  2575.  
  2576. ----------
  2577. end
  2578. end,
  2579.  
  2580. function(P)
  2581. if mode == "Magic" then
  2582. ----------
  2583.  
  2584. ----------
  2585. end
  2586. end,
  2587.  
  2588. }
  2589.  
  2590. -- coroutines
  2591. ----------------------------------------------
  2592.  
  2593. local lastpart = nil
  2594. local tentamount = 10
  2595. local startent = 6
  2596. local zsine = 1
  2597. local tchange = .15
  2598. local zinemanage = spawn(function()
  2599. while true do swait()
  2600. zsine = zsine + tchange
  2601. end
  2602. end)
  2603.  
  2604. function animate(left,weld,int,sindiv)
  2605. if left == true then
  2606. spawn(function()
  2607. local ogweld= weld.C0
  2608. while true do swait()
  2609. if active == true then
  2610. for i = 1,20 do
  2611. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-20),math.rad(-35),0),i/20)
  2612. swait()
  2613. end
  2614. end
  2615.  
  2616. if jumping then
  2617. if hrp.Velocity.Y > 1 then
  2618. for i = 1,20 do
  2619. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(40),math.rad(-15),0),(i/20)/2)
  2620. swait()
  2621. if active or not jumping then break end
  2622. end
  2623. else
  2624. for i = 1,20 do
  2625. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-40),math.rad(-5),0),(i/20)/2)
  2626. swait()
  2627. if active or not jumping then break end
  2628. end
  2629. end
  2630. end
  2631.  
  2632. if running then
  2633. for i = 1,20 do
  2634. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-5),math.rad(-35),0),i/20)
  2635. swait()
  2636. if active or jumping then break end
  2637. end
  2638. end
  2639.  
  2640. if not running then
  2641. for i = 1,20 do
  2642. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(5),math.rad(-25),0),i/20)
  2643. if running or jumping or active then break end
  2644. swait()
  2645. end
  2646. end
  2647.  
  2648. end
  2649. end)
  2650. elseif left == false then
  2651. spawn(function()
  2652. local ogweld= weld.C0
  2653. while true do swait()
  2654. if active == true then
  2655. for i = 1,20 do
  2656. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-20),math.rad(35),0),i/20)
  2657. swait()
  2658. end
  2659. end
  2660.  
  2661. if jumping then
  2662. if hrp.Velocity.Y > 1 then
  2663. for i = 1,20 do
  2664. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(40),math.rad(15),0),(i/20)/2)
  2665. swait()
  2666. if active or not jumping then break end
  2667. end
  2668. else
  2669. for i = 1,20 do
  2670. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-40),math.rad(5),0),(i/20)/2)
  2671. swait()
  2672. if active or not jumping then break end
  2673. end
  2674. end
  2675. end
  2676. if running then
  2677. for i = 1,20 do
  2678. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(-5),math.rad(35),0),i/20)
  2679. swait()
  2680. if active or jumping then break end
  2681. end
  2682. end
  2683.  
  2684.  
  2685. if not running then
  2686. for i = 1,20 do
  2687. weld.C0 = weld.C0:lerp(ogweld*CFrame.Angles(math.rad(5),math.rad(25),0),i/20)
  2688. if running or jumping or active then break end
  2689. swait()
  2690. end
  2691. end
  2692.  
  2693. end
  2694. end)
  2695.  
  2696. end
  2697.  
  2698. end
  2699. ----------------------------------------------
  2700. local mainhud = Instance.new("ScreenGui");mainhud.Parent = plr.PlayerGui
  2701. local mainbar = Instance.new("Frame");mainbar.Parent=mainhud;mainbar.Name="MainBar";mainbar.BackgroundColor3=Color3.new(0,0,0);mainbar.Position=ud2(0.05,0,0.9,0);mainbar.Size=ud2(0.2,0,0.025,0);
  2702. local energybar = Instance.new("Frame");energybar.Parent=mainbar;energybar.BackgroundColor3=Color3.fromRGB(119,0,255);energybar.BorderSizePixel=0;energybar.Size=ud2(1*(energy.Value/maxenergy.Value),0,1,0);
  2703. local ragebar= Instance.new("Frame");ragebar.Parent=mainbar;ragebar.BackgroundColor3=Color3.new(1,1,1);ragebar.Position=ud2(0,0,-0.25,0);ragebar.Size=ud2(0.1,0,0.025,0);
  2704. local energycount = Instance.new("TextLabel");energycount.Parent=mainbar;energycount.BackgroundTransparency=1;energycount.Position=ud2(0,0,1,0);energycount.Size=ud2(1,0,1,0);energycount.Text="Energy:()";energycount.Font=Enum.Font.SourceSansSemibold;energycount.TextColor3=Color3.new(1,0,0);energycount.TextScaled=true;energycount.TextXAlignment=Enum.TextXAlignment.Left;
  2705. local guimanage = spawn(function()
  2706. while true do swait()
  2707. energybar:TweenSize(ud2(1*(energy.Value/maxenergy.Value), 0, 1, 0), "Out", "Linear", 0.05, true)
  2708. energycount.Text = "Energy:("..(math.floor(energy.Value))..")"
  2709. ragebar:TweenSize(ud2(1*(rage.Value/maxrage), 0, .25, 0), "Out", "Linear", 0.05, true)
  2710. end
  2711. end)
  2712. ----------------------------------------------
  2713. local specialmodestuff = spawn(function()
  2714. while true do swait()
  2715.  
  2716. if mode == "Normal" then
  2717. energyregen.Value = 1
  2718.  
  2719. end
  2720.  
  2721. if mode == "Magic" then
  2722. energyregen.Value = 1.5
  2723. end
  2724.  
  2725. if mode == "Heavy" then
  2726. energyregen.Value = .5
  2727. end
  2728.  
  2729. end
  2730. end)
  2731. ----------------------------------------------
  2732. local ragemaxmanage = spawn(function()
  2733. while true do swait()
  2734. if rage.Value >= maxrage then
  2735. enraged = true
  2736. elseif rage.Value < 0 then
  2737. rage.Value = 0
  2738. end
  2739. end
  2740. end)
  2741. ----------------------------------------------
  2742. local ragemanage = spawn(function()
  2743. while true do swait()
  2744. if enraged == true and rage.Value > 0 then
  2745. local i = Instance.new("Sparkles")
  2746. i.Parent = tors
  2747. game:GetService("Debris"):AddItem(i,1)
  2748.  
  2749. bdmg.Value = 10
  2750. atkspd.Value = 1.75
  2751. spawn(function()
  2752. rage.Value = rage.Value - 0.15
  2753. end)
  2754. else
  2755. enraged = false
  2756. bdmg.Value = 5
  2757. atkspd.Value = 1
  2758.  
  2759. end
  2760.  
  2761. end
  2762.  
  2763. end)
  2764. ----------------------------------------------
  2765. local energyregen = spawn(function()
  2766. while wait(.5) do
  2767. if energy.Value < maxenergy.Value then
  2768. if energy.Value + energyregen.Value >= maxenergy.Value then energy.Value = maxenergy.Value
  2769. else energy.Value = energy.Value + energyregen.Value
  2770. end end end end)
  2771. ----------------------------------------------
  2772. local runmanage = spawn(function()
  2773. while true do swait()
  2774.  
  2775.  
  2776. local tvel = (hrp.Velocity * v3(1, 0, 1)).magnitude
  2777. local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
  2778. local hit = workspace:FindPartOnRay(groundcheck, char)
  2779.  
  2780. if hit then
  2781. if jumping then jumping = false; end
  2782. else jumping = true
  2783. end
  2784.  
  2785. if tvel > 2 then
  2786. if not running then running = true; softoverride = false end
  2787. elseif running then running = false
  2788. end
  2789.  
  2790. if (wsoverride or lwoverride) and not active then
  2791. wsoverride = false; lwoverride = false
  2792. end
  2793.  
  2794. if not wsoverride then
  2795. hume.WalkSpeed = defWS
  2796. end end end)
  2797. ----------------------------------------------
  2798. local sine = 2
  2799. local change = 3
  2800. local uppersine = spawn(function()
  2801. while true do swait()
  2802. sine = sine + change
  2803. end
  2804. end)
  2805. local sine2 = 1
  2806. local walkspd=defWS/defWS*2
  2807. local change2 = (.5/walkspd)*5
  2808. local lowersine = spawn(function()
  2809. while true do swait()
  2810. sine2 = sine2 + change2
  2811. end
  2812. end)
  2813. ----------------------------------------------
  2814. local runanim = spawn(function()
  2815. while true do swait()
  2816. local vtvel = math.abs(hrp.Velocity.Y)
  2817. local t = 20
  2818.  
  2819. if equipped and not active then
  2820.  
  2821. if jumping then
  2822.  
  2823. if hrp.Velocity.Y > 1 then for i = 1, t do swait()
  2824. raw.C0 = raw.C0:lerp(jump.rarm, (i/t)/2)
  2825. law.C0 = law.C0:lerp(jump.larm, (i/t)/2)
  2826. hw.C0 = hw.C0:lerp(jump.head, (i/t)/2)
  2827. tw.C1 = tw.C1:lerp(jump.tors, (i/t)/2)
  2828. grip.C1 = grip.C1:lerp(jump.grip1, (i/t)/2)
  2829. grip.C0 = grip.C0:lerp(jump.grip0, (i/t)/2)
  2830. if not jumping or active or hrp.Velocity.Y < 1 then
  2831. break end end
  2832.  
  2833. else for i = 1, t do swait()
  2834. raw.C0 = raw.C0:lerp(fall.rarm, (i/t)/2)
  2835. law.C0 = law.C0:lerp(fall.larm, (i/t)/2)
  2836. hw.C0 = hw.C0:lerp(fall.head, (i/t)/2)
  2837. tw.C1 = tw.C1:lerp(fall.tors, (i/t)/2)
  2838. grip.C1 = grip.C1:lerp(fall.grip1, (i/t)/2)
  2839. grip.C0 = grip.C0:lerp(fall.grip0, (i/t)/2)
  2840. if not jumping or active or hrp.Velocity.Y > 1 then
  2841. break end end end
  2842.  
  2843. elseif running then while true do swait()
  2844. if mode == "Normal" then
  2845. raw.C0 = raw.C0:lerp(run.rarm*cfa(0,math.rad(0+3*math.sin(sine2/8)),0),.1*(hume.WalkSpeed/ogdefWS))
  2846. end
  2847. if mode == "Heavy" then
  2848. raw.C0 = raw.C0:lerp(run.rarm*cfa(0,math.rad(0+3*math.sin(sine2/8)),0),.1*(hume.WalkSpeed/ogdefWS))
  2849. end
  2850. if mode == "Magic" then
  2851. raw.C0 = raw.C0:lerp(run.rarm*cfa(math.rad(2),math.rad(8),math.rad(-5+-45*math.sin(sine2/-8))), .1*(hume.WalkSpeed/ogdefWS))
  2852. end
  2853. law.C0 = law.C0:lerp(run.larm*cfa(math.rad(-4),0,math.rad(5+45*math.sin(sine2/8))), .1*(hume.WalkSpeed/ogdefWS))
  2854. hw.C0 = hw.C0:lerp(run.head*cfa(math.rad(-3*((hume.WalkSpeed*1.5)/(ogdefWS*1.5))),0,0), .1*(hume.WalkSpeed/ogdefWS))
  2855. tw.C1 = tw.C1:lerp(run.tors*cfn(0,0,0+0.075*(math.sin(sine/10)))*cfa(math.rad(-4*((hume.WalkSpeed*1.5)/(ogdefWS*1.5))),(hrp.RotVelocity.Y/75)*-1,0), .1*(hume.WalkSpeed/ogdefWS))
  2856. grip.C1 = grip.C1:lerp(run.grip1, .05)
  2857. grip.C0 = grip.C0:lerp(run.grip0*cfa(math.rad(15+(0+3*math.cos(sine2/8))),0,0), .1*(hume.WalkSpeed/ogdefWS))
  2858. if not running or jumping or active then break end
  2859. end
  2860.  
  2861. else t = 60
  2862. while true do swait()
  2863. if running or jumping or active then break end
  2864. raw.C0 = raw.C0:lerp(neutral.rarm*cfn(0,-0.055 + -0.055*math.cos(sine2/-65),0)*cfa(math.rad(-.5+.5*math.cos(sine/-65)),0,0), .1*(hume.WalkSpeed/ogdefWS))
  2865. law.C0 = law.C0:lerp(neutral.larm*cfn(0,-0.055 + -0.055*math.cos(sine2/-65),0)*cfa(math.rad(-.5+.5*math.cos(sine/-65)),0,0), .1*(hume.WalkSpeed/ogdefWS))
  2866. hw.C0 = hw.C0:lerp(neutral.head*cfa(math.rad(-2.25+2.25*math.cos(sine2/-65)),0,0), .1*(hume.WalkSpeed/ogdefWS))
  2867. tw.C1 = tw.C1:lerp(neutral.tors*cfn(0,-0.0555 + 0.0555*math.cos(sine2/65),-0.0255 + 0.0255*math.cos(sine/65))*cfa(0,0,math.rad(-.5+.5*math.cos(sine/65))), .1*(hume.WalkSpeed/ogdefWS))
  2868. grip.C1 = grip.C1:lerp(neutral.grip1, .1*(hume.WalkSpeed/ogdefWS))
  2869. grip.C0 = grip.C0:lerp(neutral.grip0, .1*(hume.WalkSpeed/ogdefWS))
  2870. end end end end end)
  2871. ----------------------------------------------
  2872. local legwalk = spawn(function()
  2873. while true do swait()
  2874. local t = math.ceil(300/hume.WalkSpeed)
  2875. local t2 = 20
  2876.  
  2877. if equipped and not (lwoverride or softoverride) then
  2878.  
  2879. if jumping then
  2880.  
  2881. if hrp.Velocity.Y > 1 then for i = 1, t2 do swait()
  2882. rlw.C0 = rlw.C0:lerp(jump.rleg, i/t2)
  2883. llw.C0 = llw.C0:lerp(jump.lleg, i/t2)
  2884. if not jumping or lwoverride or softoverride
  2885. or hrp.Velocity.Y < 1 then break end
  2886. end
  2887.  
  2888. else for i = 1, t2 do swait()
  2889. rlw.C0 = rlw.C0:lerp(fall.rleg, i/t2)
  2890. llw.C0 = llw.C0:lerp(fall.lleg, i/t2)
  2891. if not jumping or lwoverride or softoverride
  2892. or hrp.Velocity.Y > 1 then break end
  2893. end end
  2894.  
  2895. elseif running then while true do swait()
  2896. if mode == "Normal" then
  2897. rlw.C0 = rlw.C0:lerp(CFrame.new(1,-1+-math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*-math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(90)+0,math.rad(-7*(hume.WalkSpeed/ogdefWS)+-175*-math.sin(sine2/8)*-0.3*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2898. llw.C0 = llw.C0:lerp(CFrame.new(-1,-1+math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(-90)+0,math.rad(7*(hume.WalkSpeed/ogdefWS)+175*math.sin(sine2/8)*-0.3*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2899. end
  2900. if mode == "Heavy" then
  2901. rlw.C0 = rlw.C0:lerp(CFrame.new(1,-1+-math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*-math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(90)+0,math.rad(-14*(hume.WalkSpeed/ogdefWS)+-195*-math.sin(sine2/8)*-0.7*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2902. llw.C0 = llw.C0:lerp(CFrame.new(-1,-1+math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(-90)+0,math.rad(14*(hume.WalkSpeed/ogdefWS)+195*math.sin(sine2/8)*-0.7*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2903. end
  2904. if mode == "Magic" then
  2905. rlw.C0 = rlw.C0:lerp(CFrame.new(1,-1+-math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*-math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(90)+0,math.rad(-7*(hume.WalkSpeed/ogdefWS)+-175*-math.sin(sine2/8)*-0.3*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2906. llw.C0 = llw.C0:lerp(CFrame.new(-1,-1+math.cos(sine2/8)*.2+(0.0375+0.0375*math.cos(sine2/8)),-.25*math.sin(sine2/8))--[[|]]*CFrame.Angles(0,math.rad(-90)+0,math.rad(7*(hume.WalkSpeed/ogdefWS)+175*math.sin(sine2/8)*-0.3*(hume.WalkSpeed/ogdefWS))),.1*(hume.WalkSpeed/ogdefWS))
  2907. end
  2908. if not running or jumping or lwoverride or softoverride then break end end
  2909. else
  2910. while true do swait()
  2911. rlw.C0 = rlw.C0:lerp(neutral.rleg*cfn(-0.0575 + -0.0575*math.cos(sine2/-65),-0.0305 + 0.0305*math.cos(sine/65),0), .1*(hume.WalkSpeed/ogdefWS))
  2912. llw.C0 = llw.C0:lerp(neutral.lleg*cfn(-0.0575 + 0.0575*math.cos(sine2/65),-0.0305 + 0.0305*math.cos(sine/65),0), .1*(hume.WalkSpeed/ogdefWS))
  2913. if running or jumping or lwoverride or softoverride then break end
  2914. end end
  2915.  
  2916. elseif not equipped then
  2917. rlw.C0 = stand.rleg; llw.C0 = stand.lleg
  2918. end end end)
  2919. ----------------------------------------------
  2920. local combomanage = spawn(function()
  2921. while true do swait()
  2922. if (tick()-combotime)>=combowait
  2923. and not active then combostep = 0
  2924. end end
  2925. end)
  2926. ----------------------------------------------
  2927. -- Input Events
  2928. mouse.Button1Down:connect(function()
  2929. recentlyclicked = true
  2930. spawn(function() swait(30) recentlyclicked = false end)
  2931. if equipped and not active then active = true
  2932. attack(); active = false
  2933. end end)
  2934. mouse.KeyDown:connect(function(key)
  2935. key = key:lower()
  2936. for i,v in ipairs(abilities) do
  2937. if key == v.key:lower() then
  2938. if equipped and script.CanCastAbilities.Value == true and not active then
  2939. active = true; cast(i); active = false
  2940. end end end end)
  2941. Weapon.Parent = char
  2942. equipped = true;active = true;equip();active = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement