Advertisement
1x1x1x1IAMbck

astral guardian

Mar 29th, 2018
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.65 KB | None | 0 0
  1. --[[ Astral Guardian Script ]]--
  2. --[[ Declarations ]]--
  3.  
  4. wait(.0000000000000000000001)
  5. local Player = game:GetService("Players").LocalPlayer
  6. local Character = Player.Character
  7. local Head = Character.Head
  8. local Torso = Character.Torso
  9. local Right_Arm = Character["Right Arm"]
  10. local Right_Leg = Character["Right Leg"]
  11. local Left_Arm = Character["Left Arm"]
  12. local Left_Leg = Character["Left Leg"]
  13. local Humanoid = Character.Humanoid
  14. local Animation = "Idle"
  15. local Mouse = Player:GetMouse()
  16. local LeftShoulder = Torso["Left Shoulder"]
  17. local Left_Hip = Torso["Left Hip"]
  18. local RightShoulder = Torso["Right Shoulder"]
  19. local Right_Hip = Torso["Right Hip"]
  20. local Root = Character.HumanoidRootPart
  21. local RootJoint = Root.RootJoint
  22. local Attacking = false
  23. local CanAttack = true
  24. local Anim = "Idle"
  25. local Combo = 1
  26. local Blocking = false
  27. local MaxMana = 100
  28. local Mana = 100
  29. local MaxBlock = 300
  30. local Effects = {}
  31. local Color = "White"
  32.  
  33. local cf = CFrame.new
  34. local WalkForward = false
  35.  
  36. local Block = Instance.new("BoolValue",Character)
  37. Block.Value = false
  38. Block.Name = "Block"
  39.  
  40. local BlockD = Instance.new("IntValue", Block)
  41. BlockD.Name = "BlockDurability"
  42. BlockD.Value = 300
  43.  
  44. Animator = Humanoid.Animator
  45. Animate = Character.Animate
  46. Animate.idle.Animation2:Remove()
  47.  
  48. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  49. Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  50. Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  51. Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  52. Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  53.  
  54. Movemment = 1
  55. Walk = 0
  56.  
  57. Left_Shoulder = Instance.new("Weld", Torso)
  58. Left_Shoulder.Part0 = Torso
  59. Left_Shoulder.Part1 = Left_Arm
  60. Left_Shoulder.Name = "Left Shoulder"
  61. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  62.  
  63. Right_Shoulder = Instance.new("Weld", Torso)
  64. Right_Shoulder.Part0 = Torso
  65. Right_Shoulder.Part1 = Right_Arm
  66. Right_Shoulder.Name = "Right Shoulder"
  67. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  68.  
  69. local Services = {
  70.  
  71. SoundService = game:GetService("SoundService");
  72. Players = game:GetService("Players");
  73. Debris = game:GetService("Debris");
  74. Workspace = game:GetService("Workspace");
  75. Lighting = game:GetService("Lighting");
  76. HttpService = game:GetService("HttpService");
  77. InsertService = game:GetService("InsertService");
  78.  
  79. }
  80.  
  81.  
  82. MaxCooldown1 = 50
  83. MaxCooldown2 = 30
  84. MaxCooldown3 = 50
  85. MaxCooldown4 = 150
  86. MaxCooldownE = 1
  87.  
  88. Cooldown1 = MaxCooldown1
  89. Cooldown2 = MaxCooldown2
  90. Cooldown3 = MaxCooldown3
  91. Cooldown4 = MaxCooldown4
  92. CooldownE = MaxCooldownE
  93.  
  94. LeftShoulder.Parent = nil
  95. RightShoulder.Parent = nil
  96.  
  97. Animator = Humanoid.Animator
  98. Animate = Character.Animate
  99.  
  100.  
  101. wait(0.1)
  102.  
  103. local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  104. HealthBarGUI.Name = "HealthBarGUI"
  105.  
  106. local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
  107. HealthBarP1.Name = "HealthBarPart1"
  108. HealthBarP1.Size = UDim2.new(0,300,0,40)
  109. HealthBarP1.Position = UDim2.new(0,350,0,550)
  110. HealthBarP1.Style = "RobloxRound"
  111.  
  112. local HealthBarP2 = Instance.new("Frame", HealthBarP1)
  113. HealthBarP2.Name = "HealthBarPart2"
  114. HealthBarP2.Size = UDim2.new(0,285,0,20)
  115. HealthBarP2.Position = UDim2.new(0,0,0,0)
  116.  
  117. local HealthBarText = Instance.new("TextLabel", HealthBarP1)
  118. HealthBarText.Name = "HealthBarText"
  119. HealthBarText.Size = UDim2.new(0,285,0,20)
  120. HealthBarText.Position = UDim2.new(0,0,0,0)
  121. HealthBarText.BackgroundColor3 = Color3.new(0,1,0)
  122. HealthBarText.TextScaled = true
  123. HealthBarText.Text = "Armony"
  124. HealthBarText.TextStrokeTransparency = 0
  125. HealthBarText.BackgroundTransparency = 1
  126. HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
  127. HealthBarText.TextColor3 = Color3.new(0,0,0)
  128. HealthBarText.Font = "SciFi"
  129.  
  130. local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  131. ManaBarGUI.Name = "ManaBarGUI"
  132.  
  133. local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
  134. ManaBarP1.Name = "ManaBarPart1"
  135. ManaBarP1.Size = UDim2.new(0,300,0,40)
  136. ManaBarP1.Position = UDim2.new(0,350,0,500)
  137. ManaBarP1.Style = "RobloxRound"
  138.  
  139. local ManaBarP2 = Instance.new("Frame", ManaBarP1)
  140. ManaBarP2.Name = "ManaBarPart2"
  141. ManaBarP2.Size = UDim2.new(0,285,0,20)
  142. ManaBarP2.Position = UDim2.new(0,0,0,0)
  143. ManaBarP2.BackgroundColor3 = BrickColor.new("Bright blue").Color
  144.  
  145. local ManaBarText = Instance.new("TextLabel", ManaBarP1)
  146. ManaBarText.Name = "ManaBarText"
  147. ManaBarText.Size = UDim2.new(0,285,0,20)
  148. ManaBarText.Position = UDim2.new(0,0,0,0)
  149. ManaBarText.TextScaled = true
  150. ManaBarText.Text = "Astra"
  151. ManaBarText.BackgroundTransparency = 1
  152. ManaBarText.TextStrokeTransparency = 0
  153. ManaBarText.TextStrokeColor3 = Color3.new(1,1,1)
  154. ManaBarText.TextColor3 = Color3.new(0,0,0)
  155. ManaBarText.Font = "SciFi"
  156.  
  157. local BlockGUI = Instance.new("ScreenGui", Player.PlayerGui)
  158. BlockGUI.Name = "BlockGUI"
  159.  
  160. local BlockBarP1 = Instance.new("Frame", BlockGUI)
  161. BlockBarP1.Name = "BlockBarP1"
  162. BlockBarP1.Size = UDim2.new(0,300,0,40)
  163. BlockBarP1.Position = UDim2.new(0,350,0,450)
  164. BlockBarP1.Style = "RobloxRound"
  165.  
  166. local BlockBarP2 = Instance.new("Frame", BlockBarP1)
  167. BlockBarP2.Name = "BlockBarP2"
  168. BlockBarP2.Size = UDim2.new(0,285,0,20)
  169. BlockBarP2.Position = UDim2.new(0,0,0,0)
  170. BlockBarP2.BackgroundColor3 = BrickColor.new("White").Color
  171.  
  172. local BlockBarText = Instance.new("TextLabel", BlockBarP1)
  173. BlockBarText.Name = "BlockBarText"
  174. BlockBarText.Size = UDim2.new(0,285,0,20)
  175. BlockBarText.Position = UDim2.new(0,0,0,0)
  176. BlockBarText.TextScaled = true
  177. BlockBarText.Text = "Astral block"
  178. BlockBarText.BackgroundTransparency = 1
  179. BlockBarText.TextStrokeTransparency = 0
  180. BlockBarText.TextStrokeColor3 = Color3.new(1,1,1)
  181. BlockBarText.TextColor3 = Color3.new(0,0,0)
  182. BlockBarText.Font = "SciFi"
  183.  
  184. local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
  185. CoolDownGUI.Name = "CoolDownGUI"
  186.  
  187. local CoolDowns = Instance.new("Frame", CoolDownGUI)
  188. CoolDowns.Name = "CoolDowns"
  189. CoolDowns.Size = UDim2.new(0,200,0,200)
  190. CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
  191. CoolDowns.Style = "RobloxRound"
  192.  
  193. local CoolDown1Frame = Instance.new("Frame", CoolDowns)
  194. CoolDown1Frame.Name = "CoolDown1Frame"
  195. CoolDown1Frame.Size = UDim2.new(0,80,0,50)
  196. CoolDown1Frame.Position = UDim2.new(0,0,0,0)
  197. CoolDown1Frame.BackgroundTransparency = 0.5
  198. CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
  199.  
  200. local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
  201. CoolDown1Bar.Name = "CoolDown1Bar"
  202. CoolDown1Bar.Size = UDim2.new(0,80,0,50)
  203. CoolDown1Bar.Position = UDim2.new(0,0,0,0)
  204. CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
  205.  
  206. local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
  207. CoolDown1Text.Name = "CoolDown1Text"
  208. CoolDown1Text.Size = UDim2.new(0,80,0,50)
  209. CoolDown1Text.Position = UDim2.new(0,0,0,0)
  210. CoolDown1Text.BackgroundTransparency = 1
  211. CoolDown1Text.TextScaled = true
  212. CoolDown1Text.Text = "Z - Stomp"
  213. CoolDown1Text.TextStrokeTransparency = 0
  214. CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
  215. CoolDown1Text.TextColor3 = Color3.new(0,0,0)
  216. CoolDown1Text.Font = "SciFi"
  217.  
  218. local CoolDown2Frame = Instance.new("Frame", CoolDowns)
  219. CoolDown2Frame.Name = "CoolDown2Frame"
  220. CoolDown2Frame.Size = UDim2.new(0,80,0,50)
  221. CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
  222. CoolDown2Frame.BackgroundTransparency = 0.5
  223. CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
  224.  
  225. local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
  226. CoolDown2Bar.Name = "CoolDown2Bar"
  227. CoolDown2Bar.Size = UDim2.new(0,80,0,50)
  228. CoolDown2Bar.Position = UDim2.new(0,0,0,0)
  229. CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
  230.  
  231. local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
  232. CoolDown2Text.Name = "CoolDown2Text"
  233. CoolDown2Text.Size = UDim2.new(0,80,0,50)
  234. CoolDown2Text.Position = UDim2.new(0,0,0,0)
  235. CoolDown2Text.BackgroundTransparency = 1
  236. CoolDown2Text.TextScaled = true
  237. CoolDown2Text.Text = "X - Astral beam"
  238. CoolDown2Text.TextStrokeTransparency = 0
  239. CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
  240. CoolDown2Text.TextColor3 = Color3.new(0,0,0)
  241. CoolDown2Text.Font = "SciFi"
  242.  
  243. local CoolDown3Frame = Instance.new("Frame", CoolDowns)
  244. CoolDown3Frame.Name = "CoolDown3Frame"
  245. CoolDown3Frame.Size = UDim2.new(0,80,0,50)
  246. CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
  247. CoolDown3Frame.BackgroundTransparency = 0.5
  248. CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
  249.  
  250. local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
  251. CoolDown3Bar.Name = "CoolDown3Bar"
  252. CoolDown3Bar.Size = UDim2.new(0,80,0,50)
  253. CoolDown3Bar.Position = UDim2.new(0,0,0,0)
  254. CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
  255.  
  256. local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
  257. CoolDown3Text.Name = "CoolDown3Text"
  258. CoolDown3Text.Size = UDim2.new(0,80,0,50)
  259. CoolDown3Text.Position = UDim2.new(0,0,0,0)
  260. CoolDown3Text.BackgroundTransparency = 1
  261. CoolDown3Text.TextScaled = true
  262. CoolDown3Text.Text = "C - Astral Dash"
  263. CoolDown3Text.TextStrokeTransparency = 0
  264. CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
  265. CoolDown3Text.TextColor3 = Color3.new(0,0,0)
  266. CoolDown3Text.Font = "SciFi"
  267.  
  268.  
  269. local CoolDown4Frame = Instance.new("Frame", CoolDowns)
  270. CoolDown4Frame.Name = "CoolDown4Frame"
  271. CoolDown4Frame.Size = UDim2.new(0,80,0,50)
  272. CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
  273. CoolDown4Frame.BackgroundTransparency = 0.5
  274. CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
  275.  
  276. local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
  277. CoolDown4Bar.Name = "CoolDown4Bar"
  278. CoolDown4Bar.Size = UDim2.new(0,80,0,50)
  279. CoolDown4Bar.Position = UDim2.new(0,0,0,0)
  280. CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
  281.  
  282. local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
  283. CoolDown4Text.Name = "CoolDown4Text"
  284. CoolDown4Text.Size = UDim2.new(0,80,0,50)
  285. CoolDown4Text.Position = UDim2.new(0,0,0,0)
  286. CoolDown4Text.BackgroundTransparency = 1
  287. CoolDown4Text.TextScaled = true
  288. CoolDown4Text.Text = "V - Astral blast"
  289. CoolDown4Text.TextStrokeTransparency = 0
  290. CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
  291. CoolDown4Text.TextColor3 = Color3.new(0,0,0)
  292. CoolDown4Text.Font = "SciFi"
  293.  
  294. local CoolDownEFrame = Instance.new("Frame", CoolDowns)
  295. CoolDownEFrame.Name = "CoolDownEFrame"
  296. CoolDownEFrame.Size = UDim2.new(0,180,0,50)
  297. CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
  298. CoolDownEFrame.BackgroundTransparency = 0.5
  299. CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
  300.  
  301. local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
  302. CoolDownEBar.Name = "CoolDownEBar"
  303. CoolDownEBar.Size = UDim2.new(0,180,0,50)
  304. CoolDownEBar.Position = UDim2.new(0,0,0,0)
  305. CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
  306.  
  307. local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
  308. CoolDownEText.Name = "CoolDownEText"
  309. CoolDownEText.Size = UDim2.new(0,180,0,50)
  310. CoolDownEText.Position = UDim2.new(0,0,0,0)
  311. CoolDownEText.BackgroundTransparency = 1
  312. CoolDownEText.TextScaled = true
  313. CoolDownEText.Text = "E - Astral block"
  314. CoolDownEText.TextStrokeTransparency = 0
  315. CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
  316. CoolDownEText.TextColor3 = Color3.new(0,0,0)
  317. CoolDownEText.Font = "SciFi"
  318. --------[[ Mesh Ids ]]--------
  319.  
  320. SpikeMeshId = 160003363
  321. SpikeBallId = 9982590
  322. StarMeshId = 45428961
  323. CrystalMeshId = 9756362
  324.  
  325. --[[ Functions ]]--
  326.  
  327. function NoOutlines(Part)
  328. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  329. end
  330.  
  331.  
  332. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  333.  
  334. local Part = Instance.new("Part", Parent)
  335. Part.Name = Name
  336. Part.BrickColor = BrickColor.new(Color)
  337. Part.Size = Size
  338. Part.Material = Material
  339. Part.Transparency = Transparency
  340. Part.Shape = Shape
  341. Part.CanCollide = false
  342. NoOutlines(Part)
  343.  
  344. return Part
  345.  
  346. end
  347.  
  348. local CreateBlockMesh = function(Parent, Scale)
  349.  
  350.  
  351. local Mesh = Instance.new("BlockMesh", Parent)
  352. Mesh.Scale = Scale
  353.  
  354. return Mesh
  355.  
  356. end
  357.  
  358.  
  359. local CreateCircleMesh = function(Parent, Scale)
  360.  
  361.  
  362. local Mesh = Instance.new("SpecialMesh", Parent)
  363. Mesh.MeshType = "Sphere"
  364. Mesh.Scale = Scale
  365.  
  366. return Mesh
  367. end
  368.  
  369.  
  370. local CreateCylinderMesh = function(Parent, Scale)
  371.  
  372.  
  373.  
  374. local Mesh = Instance.new("SpecialMesh", Parent)
  375. Mesh.MeshType = "Cylinder"
  376. Mesh.Scale = Scale
  377.  
  378.  
  379. return Mesh
  380.  
  381. end
  382.  
  383. local CreateWedgeMesh = function(Parent, Scale)
  384.  
  385.  
  386. local Mesh = Instance.new("SpecialMesh", Parent)
  387. Mesh.MeshType = "Wedge"
  388. Mesh.Scale = Scale
  389.  
  390. return Mesh
  391.  
  392. end
  393.  
  394. local CreateWeld = function(Parent, Cframe, Cframe2, P1 , P0)
  395.  
  396. local Weld = Instance.new("Weld", Parent)
  397. Weld.Part0 = P0
  398. Weld.Part1 = P1
  399. Weld.Name = P0.Name .. "To" .. P1.Name
  400. Weld.C0 = Cframe
  401. Weld.C1 = Cframe2
  402.  
  403. return Weld
  404.  
  405. end
  406.  
  407. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  408.  
  409.  
  410. local Part = Instance.new("Part", Parent)
  411. Part.Name = Name
  412. Part.BrickColor = BrickColor.new(Color)
  413. Part.Size = Size
  414. Part.Material = Material
  415. Part.Transparency = Transparency
  416. Part.CanCollide = false
  417. NoOutlines(Part)
  418.  
  419. local Mesh = Instance.new("SpecialMesh", Part)
  420. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  421. Mesh.Scale = Scale
  422.  
  423. return Mesh and Part
  424.  
  425. end
  426.  
  427. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  428.  
  429.  
  430. local Part = Instance.new("Part", Parent)
  431. Part.Name = Name
  432. Part.BrickColor = BrickColor.new(Color)
  433. Part.Size = Size
  434. Part.Material = Material
  435. Part.Transparency = Transparency
  436. Part.CanCollide = false
  437. NoOutlines(Part)
  438.  
  439. local Mesh = Instance.new("SpecialMesh", Part)
  440. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  441. Mesh.Scale = Scale
  442.  
  443. return Mesh and Part
  444.  
  445. end
  446.  
  447. local CreateBlockMeshedPart = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  448.  
  449.  
  450. local Part = Instance.new("Part", Parent)
  451. Part.Name = Name
  452. Part.BrickColor = BrickColor.new(Color)
  453. Part.Size = Size
  454. Part.Material = Material
  455. Part.Transparency = Transparency
  456. Part.CanCollide = false
  457. NoOutlines(Part)
  458.  
  459.  
  460. local Mesh = Instance.new("BlockMesh", Part)
  461. Mesh.Scale = Scale
  462.  
  463. return Mesh and Part
  464.  
  465. end
  466.  
  467.  
  468. local CreateVelocity = function(Parent,Velocity,Force)
  469. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  470. BodyVelocity.Velocity = Velocity
  471. BodyVelocity.MaxForce = Force
  472.  
  473.  
  474.  
  475. return BodyVelocity
  476.  
  477. end
  478.  
  479. local MakeSFX = function(Parent, Id, Volume, Pitch)
  480.  
  481. local SFX = Instance.new("Sound", Parent)
  482. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  483. SFX.Name = "SFX"
  484. SFX:Play()
  485. SFX.Volume = Volume
  486. SFX.Pitch = Pitch
  487. SFX.PlayOnRemove = true
  488. SFX:Remove()
  489.  
  490. end
  491.  
  492.  
  493.  
  494.  
  495.  
  496. CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  497.  
  498. local Part = Instance.new("Part", Parent)
  499. Part.Transparency = Transparency
  500. Part.Name = "CircleEffect"
  501. Part.Size = Vector3.new()
  502. Part.Anchored = true
  503. Part.CanCollide = false
  504. Part.Position = Position
  505. Part.BrickColor = BrickColor.new(Brickcolor)
  506. Part.Material = Material
  507. NoOutlines(Part)
  508.  
  509. local Mesh = Instance.new("SpecialMesh", Part)
  510. Mesh.MeshType = "Sphere"
  511. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  512.  
  513. Services.Debris:AddItem(Part, Time)
  514.  
  515.  
  516. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  517.  
  518.  
  519. end
  520.  
  521.  
  522. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  523.  
  524. local Part = Instance.new("Part", Parent)
  525. Part.Transparency = Transparency
  526. Part.Name = "BlockEffect"
  527. Part.Size = Vector3.new()
  528. Part.Anchored = true
  529. Part.Position = Position
  530. Part.CanCollide = false
  531. Part.BrickColor = BrickColor.new(Brickcolor)
  532. Part.Material = Material
  533. NoOutlines(Part)
  534.  
  535. local Mesh = Instance.new("BlockMesh", Part)
  536. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  537.  
  538. Services.Debris:AddItem(Part, Time)
  539.  
  540. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  541.  
  542.  
  543. end
  544.  
  545. HeadEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  546.  
  547. local Part = Instance.new("Part", Parent)
  548. Part.Transparency = Transparency
  549. Part.Name = "BlockEffect"
  550. Part.Size = Vector3.new()
  551. Part.Anchored = true
  552. Part.Position = Position
  553. Part.CanCollide = false
  554. Part.BrickColor = BrickColor.new(Brickcolor)
  555. Part.Material = Material
  556. NoOutlines(Part)
  557.  
  558. local Mesh = Instance.new("SpecialMesh", Part)
  559. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  560. Mesh.MeshType = "Head"
  561.  
  562. Services.Debris:AddItem(Part, Time)
  563.  
  564. table.insert(Effects, {Part, "Head", Time, SX, SY, SZ})
  565. return Part
  566.  
  567. end
  568.  
  569. ShieldEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  570.  
  571. local Part = Instance.new("Part", Parent)
  572. Part.Transparency = Transparency
  573. Part.Name = "BlockEffect"
  574. Part.Size = Vector3.new()
  575. Part.Anchored = true
  576. Part.Position = Position
  577. Part.CanCollide = false
  578. Part.BrickColor = BrickColor.new(Brickcolor)
  579. Part.Material = Material
  580.  
  581. NoOutlines(Part)
  582.  
  583. local Mesh = Instance.new("SpecialMesh", Part)
  584. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  585. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. 168130699
  586.  
  587. Services.Debris:AddItem(Part, Time)
  588.  
  589. table.insert(Effects, {Part, "Shield", Time, SX, SY, SZ})
  590. return Part
  591.  
  592. end
  593.  
  594. --[[ Nageblade ]]--
  595. Nageblade = Instance.new("Model", Character)
  596. Nageblade.Name = "Nageblade"
  597.  
  598. Handle = CreatePart(Nageblade, "Handle", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 1, "Block")
  599. HandleMesh = CreateBlockMesh(Handle, Vector3.new(1, 0.407, 0.782))
  600. Part1 = CreatePart(Nageblade, "Part1", "Medium stone grey", Vector3.new(1.574, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  601. Part1Mesh = CreateBlockMesh(Part1, Vector3.new(1, 0.37, 0.957))
  602. Part2 = CreatePart(Nageblade, "Part2", "Lily white", Vector3.new(0.326, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  603. Part2Mesh = CreateBlockMesh(Part2, Vector3.new(1, 0.407, 0.863))
  604. Part3 = CreatePart(Nageblade, "Part3", "Really black", Vector3.new(0.241, 0.2, 1.791), "SmoothPlastic", 0, "Block")
  605. Part3Mesh = CreateBlockMesh(Part3, Vector3.new(1, 0.464, 1))
  606. Part4 = CreatePart(Nageblade, "Part4", "Lily white", Vector3.new(0.326, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  607. Part4Mesh = CreateBlockMesh(Part4, Vector3.new(1, 0.407, 0.676))
  608. Part5 = CreatePart(Nageblade, "Part5", "Lily white", Vector3.new(1.021, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  609. Part5Mesh = CreateBlockMesh(Part5, Vector3.new(1, 0.407, 0.635))
  610. Part6 = CreatePart(Nageblade, "Part6", "Lily white", Vector3.new(0.326, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  611. Part6Mesh = CreateBlockMesh(Part6, Vector3.new(1, 0.407, 0.668))
  612. Part7 = CreatePart(Nageblade, "Part7", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  613. Part7Mesh = CreateBlockMesh(Part7, Vector3.new(0.973, 0.407, 0.904))
  614. Part8 = CreatePart(Nageblade, "Part8", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  615. Part8Mesh = CreateBlockMesh(Part8, Vector3.new(0.973, 0.407, 0.904))
  616. Part9 = CreatePart(Nageblade, "Part9", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  617. Part9Mesh = CreateBlockMesh(Part9, Vector3.new(0.973, 0.407, 0.904))
  618. Part10 = CreatePart(Nageblade, "Part10", "Lily white", Vector3.new(0.545, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  619. Part10Mesh = CreateBlockMesh(Part10, Vector3.new(1, 0.407, 0.904))
  620. Part11 = CreatePart(Nageblade, "Part11", "Lily white", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  621. Part11Mesh = CreateWedgeMesh(Part11, Vector3.new(0.407, 0.896, 1))
  622. Part12 = CreatePart(Nageblade, "Part12", "Lily white", Vector3.new(1.031, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  623. Part12Mesh = CreateBlockMesh(Part12, Vector3.new(1, 0.407, 0.908))
  624. Part13 = CreatePart(Nageblade, "Part13", "Lily white", Vector3.new(0.345, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  625. Part13Mesh = CreateBlockMesh(Part13, Vector3.new(1, 0.407, 0.904))
  626. Part14 = CreatePart(Nageblade, "Part14", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  627. Part14Mesh = CreateBlockMesh(Part14, Vector3.new(0.973, 0.407, 0.904))
  628. Part15 = CreatePart(Nageblade, "Part15", "Dark stone grey", Vector3.new(0.2, 0.685, 0.811), "SmoothPlastic", 0, "Block")
  629. Part15Mesh = CreateCylinderMesh(Part15, Vector3.new(0.537, 1, 1))
  630. Part16 = CreatePart(Nageblade, "Part16", "Lily white", Vector3.new(1.1, 0.2, 0.639), "SmoothPlastic", 0, "Block")
  631. Part16Mesh = CreateBlockMesh(Part16, Vector3.new(1, 0.407, 1))
  632. Part17 = CreatePart(Nageblade, "Part17", "Lily white", Vector3.new(0.2, 0.633, 0.689), "SmoothPlastic", 0, "Block")
  633. Part17Mesh = CreateWedgeMesh(Part17, Vector3.new(0.407, 1, 1))
  634. Part18 = CreatePart(Nageblade, "Part18", "Lily white", Vector3.new(0.611, 0.2, 0.418), "SmoothPlastic", 0, "Block")
  635. Part18Mesh = CreateBlockMesh(Part18, Vector3.new(1, 0.407, 1))
  636. Part19 = CreatePart(Nageblade, "Part19", "Lily white", Vector3.new(3.323, 0.2, 0.639), "SmoothPlastic", 0, "Block")
  637. Part19Mesh = CreateBlockMesh(Part19, Vector3.new(1, 0.407, 1))
  638. Part20 = CreatePart(Nageblade, "Part20", "Lily white", Vector3.new(0.329, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  639. Part20Mesh = CreateBlockMesh(Part20, Vector3.new(1, 0.399, 0.904))
  640. Part21 = CreatePart(Nageblade, "Part21", "Lily white", Vector3.new(0.2, 0.768, 0.817), "SmoothPlastic", 0, "Block")
  641. Part21Mesh = CreateCylinderMesh(Part21, Vector3.new(0.513, 1, 1))
  642. Part22 = CreatePart(Nageblade, "Part22", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  643. Part22Mesh = CreateBlockMesh(Part22, Vector3.new(0.973, 0.407, 0.904))
  644. Part23 = CreatePart(Nageblade, "Part23", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  645. Part23Mesh = CreateBlockMesh(Part23, Vector3.new(0.973, 0.407, 0.904))
  646. Part24 = CreatePart(Nageblade, "Part24", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  647. Part24Mesh = CreateBlockMesh(Part24, Vector3.new(0.973, 0.407, 0.904))
  648. Part25 = CreatePart(Nageblade, "Part25", "Lily white", Vector3.new(0.545, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  649. Part25Mesh = CreateBlockMesh(Part25, Vector3.new(1, 0.407, 0.904))
  650. Part26 = CreatePart(Nageblade, "Part26", "Lily white", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  651. Part26Mesh = CreateWedgeMesh(Part26, Vector3.new(0.407, 0.896, 1))
  652. Part27 = CreatePart(Nageblade, "Part27", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  653. Part27Mesh = CreateBlockMesh(Part27, Vector3.new(0.973, 0.407, 0.904))
  654. Part28 = CreatePart(Nageblade, "Part28", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  655. Part28Mesh = CreateBlockMesh(Part28, Vector3.new(0.973, 0.407, 0.904))
  656. Part29 = CreatePart(Nageblade, "Part29", "Lily white", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  657. Part29Mesh = CreateBlockMesh(Part29, Vector3.new(0.973, 0.407, 0.904))
  658. Part30 = CreatePart(Nageblade, "Part30", "Lily white", Vector3.new(1.1, 0.2, 0.639), "SmoothPlastic", 0, "Block")
  659. Part30Mesh = CreateBlockMesh(Part30, Vector3.new(1, 0.407, 1))
  660. Part31 = CreatePart(Nageblade, "Part31", "Lily white", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  661. Part31Mesh = CreateWedgeMesh(Part31, Vector3.new(0.407, 0.896, 1))
  662. Part32 = CreatePart(Nageblade, "Part32", "Lily white", Vector3.new(0.545, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  663. Part32Mesh = CreateBlockMesh(Part32, Vector3.new(1, 0.407, 0.904))
  664. Part33 = CreatePart(Nageblade, "Part33", "Lily white", Vector3.new(0.2, 0.2, 0.254), "SmoothPlastic", 0, "Block")
  665. Part33Mesh = CreateBlockMesh(Part33, Vector3.new(1, 0.407, 1))
  666. Part34 = CreatePart(Nageblade, "Part34", "Lily white", Vector3.new(1.1, 0.2, 0.639), "SmoothPlastic", 0, "Block")
  667. Part34Mesh = CreateBlockMesh(Part34, Vector3.new(1, 0.407, 1))
  668. Part35 = CreatePart(Nageblade, "Part35", "Br. yellowish orange", Vector3.new(0.545, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  669. Part35Mesh = CreateBlockMesh(Part35, Vector3.new(1, 0.407, 0.904))
  670. Part36 = CreatePart(Nageblade, "Part36", "Br. yellowish orange", Vector3.new(0.2, 0.459, 0.727), "SmoothPlastic", 0, "Block")
  671. Part36Mesh = CreateWedgeMesh(Part36, Vector3.new(0.525, 1, 1))
  672. Part37 = CreatePart(Nageblade, "Part37", "Br. yellowish orange", Vector3.new(0.2, 0.443, 0.847), "SmoothPlastic", 0, "Block")
  673. Part37Mesh = CreateCircleMesh(Part37, Vector3.new(0.081, 1, 1))
  674. Part38 = CreatePart(Nageblade, "Part38", "Br. yellowish orange", Vector3.new(0.2, 0.418, 0.825), "Neon", 0, "Block")
  675. Part38Mesh = CreateCircleMesh(Part38, Vector3.new(0.501, 1, 1))
  676. Part39 = CreatePart(Nageblade, "Part39", "Br. yellowish orange", Vector3.new(0.2, 0.443, 0.847), "SmoothPlastic", 0, "Block")
  677. Part39Mesh = CreateCircleMesh(Part39, Vector3.new(0.081, 1, 1))
  678. Part40 = CreatePart(Nageblade, "Part40", "Br. yellowish orange", Vector3.new(0.2, 0.418, 0.825), "Neon", 0, "Block")
  679. Part40Mesh = CreateCircleMesh(Part40, Vector3.new(0.501, 1, 1))
  680. Part41 = CreateCrystal(Nageblade, "Part41", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, Vector3.new(0.163, 0.651, 0.081))
  681. Part42 = CreateCrystal(Nageblade, "Part42", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, Vector3.new(0.122, 0.57, 0.081))
  682. Part43 = CreateCrystal(Nageblade, "Part43", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, Vector3.new(0.081, 0.407, 0.081))
  683. Part44 = CreateCrystal(Nageblade, "Part44", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, Vector3.new(0.081, 0.407, 0.081))
  684. Part45 = CreateCrystal(Nageblade, "Part44", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, Vector3.new(0.163, 0.651, 0.081))
  685. Part46 = CreatePart(Nageblade, "Part46", "Br. yellowish orange", Vector3.new(0.838, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  686. Part46Mesh = CreateBlockMesh(Part46, Vector3.new(1, 0.57, 0.431))
  687. Part47 = CreatePart(Nageblade, "Part47", "Br. yellowish orange", Vector3.new(0.2, 0.365, 0.845), "SmoothPlastic", 0, "Block")
  688. Part47Mesh = CreateWedgeMesh(Part47, Vector3.new(0.566, 1, 1))
  689. Part48 = CreatePart(Nageblade, "Part48", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  690. Part48Mesh = CreateBlockMesh(Part48, Vector3.new(0.973, 0.407, 0.904))
  691. Part49 = CreatePart(Nageblade, "Part49", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  692. Part49Mesh = CreateBlockMesh(Part49, Vector3.new(0.973, 0.407, 0.904))
  693. Part50 = CreatePart(Nageblade, "Part50", "Br. yellowish orange", Vector3.new(0.428, 0.2, 0.54), "SmoothPlastic", 0, "Block")
  694. Part50Mesh = CreateBlockMesh(Part50, Vector3.new(1, 0.521, 1))
  695. Part51 = CreatePart(Nageblade, "Part51", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  696. Part51Mesh = CreateWedgeMesh(Part51, Vector3.new(0.407, 0.896, 1))
  697. Part52 = CreatePart(Nageblade, "Part52", "Br. yellowish orange", Vector3.new(0.2, 0.459, 0.727), "SmoothPlastic", 0, "Block")
  698. Part52Mesh = CreateWedgeMesh(Part52, Vector3.new(0.525, 1, 1))
  699. Part53 = CreatePart(Nageblade, "Part53", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  700. Part53Mesh = CreateWedgeMesh(Part53, Vector3.new(0.407, 0.896, 1))
  701. Part54 = CreatePart(Nageblade, "Part54", "Br. yellowish orange", Vector3.new(0.545, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  702. Part54Mesh = CreateBlockMesh(Part54, Vector3.new(1, 0.407, 0.904))
  703. Part55 = CreatePart(Nageblade, "Part55", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  704. Part55Mesh = CreateBlockMesh(Part55, Vector3.new(0.973, 0.407, 0.904))
  705. Part56 = CreatePart(Nageblade, "Part56", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  706. Part56Mesh = CreateBlockMesh(Part56, Vector3.new(0.973, 0.407, 0.904))
  707. Part57 = CreatePart(Nageblade, "Part57", "Br. yellowish orange", Vector3.new(0.2, 0.48, 0.727), "SmoothPlastic", 0, "Block")
  708. Part57Mesh = CreateWedgeMesh(Part57, Vector3.new(0.525, 1, 1))
  709. Part58 = CreatePart(Nageblade, "Part58", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  710. Part58Mesh = CreateBlockMesh(Part58, Vector3.new(0.973, 0.407, 0.904))
  711. Part59 = CreatePart(Nageblade, "Part59", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  712. Part59Mesh = CreateWedgeMesh(Part59, Vector3.new(0.407, 0.896, 1))
  713. Part60 = CreatePart(Nageblade, "Part60", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  714. Part60Mesh = CreateWedgeMesh(Part60, Vector3.new(0.407, 0.896, 1))
  715. Part61 = CreatePart(Nageblade, "Part61", "Br. yellowish orange", Vector3.new(0.2, 0.488, 0.653), "SmoothPlastic", 0, "Block")
  716. Part61Mesh = CreateWedgeMesh(Part61, Vector3.new(0.525, 1, 1))
  717. Part62 = CreatePart(Nageblade, "Part62", "Br. yellowish orange", Vector3.new(0.2, 0.427, 0.2), "SmoothPlastic", 0, "Block")
  718. Part62Mesh = CreateWedgeMesh(Part62, Vector3.new(0.566, 1, 0.692))
  719. Part63 = CreatePart(Nageblade, "Part63", "Br. yellowish orange", Vector3.new(0.374, 0.2, 0.223), "SmoothPlastic", 0, "Block")
  720. Part63Mesh = CreateBlockMesh(Part63, Vector3.new(1, 0.521, 1))
  721. Part64 = CreatePart(Nageblade, "Part64", "Br. yellowish orange", Vector3.new(0.2, 0.2, 0.2), "SmoothPlastic", 0, "Block")
  722. Part64Mesh = CreateWedgeMesh(Part64, Vector3.new(0.525, 0.513, 0.513))
  723. Part65 = CreatePart(Nageblade, "Part65", "Br. yellowish orange", Vector3.new(0.2, 0.225, 0.366), "SmoothPlastic", 0, "Block")
  724. Part65Mesh = CreateWedgeMesh(Part65, Vector3.new(0.525, 1, 1))
  725. Part66 = CreatePart(Nageblade, "Part66", "Br. yellowish orange", Vector3.new(0.2, 0.459, 0.727), "SmoothPlastic", 0, "Block")
  726. Part66Mesh = CreateWedgeMesh(Part66, Vector3.new(0.525, 1, 1))
  727. Part67 = CreatePart(Nageblade, "Part67", "Br. yellowish orange", Vector3.new(0.2, 0.382, 0.324), "SmoothPlastic", 0, "Block")
  728. Part67Mesh = CreateWedgeMesh(Part67, Vector3.new(0.525, 1, 1))
  729. Part68 = CreatePart(Nageblade, "Part68", "Br. yellowish orange", Vector3.new(0.208, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  730. Part68Mesh = CreateWedgeMesh(Part68, Vector3.new(1, 0.896, 1))
  731. Part69 = CreatePart(Nageblade, "Part69", "Br. yellowish orange", Vector3.new(0.2, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  732. Part69Mesh = CreateBlockMesh(Part69, Vector3.new(0.973, 1, 0.904))
  733. Part70 = CreatePart(Nageblade, "Part70", "Br. yellowish orange", Vector3.new(0.2, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  734. Part70Mesh = CreateBlockMesh(Part70, Vector3.new(0.973, 1, 0.904))
  735. Part71 = CreatePart(Nageblade, "Part71", "Br. yellowish orange", Vector3.new(0.431, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  736. Part71Mesh = CreateBlockMesh(Part71, Vector3.new(1, 1, 0.57))
  737. Part72 = CreatePart(Nageblade, "Part72", "Br. yellowish orange", Vector3.new(0.2, 0.21, 0.2), "SmoothPlastic", 0, "Block")
  738. Part72Mesh = CreateBlockMesh(Part72, Vector3.new(0.973, 1, 0.904))
  739. Part73 = CreatePart(Nageblade, "Part73", "Br. yellowish orange", Vector3.new(0.211, 0.2, 1.795), "SmoothPlastic", 0, "Block")
  740. Part73Mesh = CreateBlockMesh(Part73, Vector3.new(1, 0.521, 1))
  741. Part74 = CreatePart(Nageblade, "Part74", "Br. yellowish orange", Vector3.new(0.431, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  742. Part74Mesh = CreateBlockMesh(Part74, Vector3.new(1, 1, 0.57))
  743. Part75 = CreatePart(Nageblade, "Part75", "Br. yellowish orange", Vector3.new(0.208, 0.2, 0.293), "SmoothPlastic", 0, "Block")
  744. Part75Mesh = CreateWedgeMesh(Part75, Vector3.new(1, 0.896, 1))
  745. Part76 = CreatePart(Nageblade, "Part76", "Br. yellowish orange", Vector3.new(0.2, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  746. Part76Mesh = CreateBlockMesh(Part76, Vector3.new(0.973, 1, 0.904))
  747. Part77 = CreatePart(Nageblade, "Part77", "Br. yellowish orange", Vector3.new(0.2, 0.21, 0.2), "SmoothPlastic", 0, "Block")
  748. Part77Mesh = CreateBlockMesh(Part77, Vector3.new(0.973, 1, 0.904))
  749. Part78 = CreatePart(Nageblade, "Part78", "Br. yellowish orange", Vector3.new(0.2, 0.209, 0.2), "SmoothPlastic", 0, "Block")
  750. Part78Mesh = CreateBlockMesh(Part78, Vector3.new(0.973, 1, 0.904))
  751.  
  752.  
  753.  
  754. HandleWeld = CreateWeld(Nageblade, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57), CFrame.new(0,0,0), Handle, Right_Arm, "HandleToRightArm")
  755. Part1Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.154254913, 0.000417292118, 0.0376167297, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part1, Handle, "Part1ToHandle")
  756. Part2Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.484401703, -2.74181366e-006, -0.178144455, 0.939690292, -6.36512414e-006, 0.342026591, 7.60564581e-006, 0.99999994, -2.2854656e-006, -0.342026561, 4.75021079e-006, 0.939690471), Part2, Handle)
  757. Part3Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0747833252, -0.00330075622, 2.64705276, -7.78958201e-006, -1.53575093e-006, 1.00000012, 1.05060753e-005, 1, 1.53668225e-006, -1, 1.05063082e-005, -7.7933073e-006), Part3, Handle)
  758. Part4Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.545940399, 1.05202198e-005, -0.00629997253, 0.939690292, -6.36512414e-006, 0.342026591, 7.60564581e-006, 0.99999994, -2.2854656e-006, -0.342026561, 4.75021079e-006, 0.939690471), Part4, Handle)
  759. Part5Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.439594269, 1.93715096e-005, 0.0704917908, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part5, Handle)
  760. Part6Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.230724335, 3.93390656e-006, 0.0608444214, 0.984808147, -2.8036302e-006, 0.173646405, 1.79972267e-006, 1, 5.9409067e-006, -0.17364639, -5.53810969e-006, 0.984808087), Part6, Handle)
  761. Part7Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.878177643, -4.8071146e-005, 2.00817871, -0.642798722, 4.6226196e-006, 0.766035318, 7.58218812e-006, 1, 3.28756869e-007, -0.766035199, 6.01867214e-006, -0.642798841), Part7, Handle)
  762. Part8Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.65942383, -1.1831522e-005, 1.55905151, -0.866030037, 4.59607691e-007, 0.499992192, 2.27079727e-006, 1, 3.01375985e-006, -0.499992102, 3.7457794e-006, -0.866030097), Part8, Handle)
  763. Part9Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.08008957, -3.7252903e-006, 1.23241043, -0.939695656, 8.45664181e-006, 0.342012167, 9.18429578e-006, 1, 5.07570803e-007, -0.342012078, 3.61772254e-006, -0.939695716), Part9, Handle)
  764. Part10Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.61110306, -0.000803798437, 0.837345123, -0.984809518, 4.60387673e-006, 0.173638374, 3.06894071e-006, 1, -9.10833478e-006, -0.173638344, -8.43964517e-006, -0.984809637), Part10, Handle)
  765. Part11Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00166743994, 2.00920105, -0.637729645, -8.81997403e-006, -1, 8.54674727e-006, -0.766049802, 1.26287341e-006, -0.642781377, 0.642781317, -1.22161582e-005, -0.766049802), Part11, Handle)
  766. Part12Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.437149048, -1.10864639e-005, -0.102432251, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part12, Handle)
  767. Part13Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.212978363, 2.29477882e-006, -0.11391449, 0.984808147, -2.8036302e-006, 0.173646405, 1.79972267e-006, 1, 5.9409067e-006, -0.17364639, -5.53810969e-006, 0.984808087), Part13, Handle)
  768. Part14Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.55167007, 2.03251839e-005, -0.701080322, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part14, Handle)
  769. Part15Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000846028328, -0.0858535767, 3.7416153, -8.81997403e-006, -1, 8.54674727e-006, -7.82310963e-006, 8.54674727e-006, 1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part15, Handle)
  770. Part16Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.12342072, 0.000812411308, 0.452892303, 0.995477796, 1.70210842e-006, 0.0949947238, -1.42474892e-006, 1.00000012, -2.98582017e-006, -0.0949947238, 2.83773988e-006, 0.995477915), Part16, Handle)
  771. Part17Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00089469552, -2.22120667, 7.69824219, 8.81997403e-006, 1, -8.54674727e-006, 0.342030585, -1.10482797e-005, -0.939688921, -0.939688861, 5.36511652e-006, -0.342030615), Part17, Handle)
  772. Part18Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.22359085, 1.82688236e-005, 0.0301704407, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part18, Handle)
  773. Part19Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.71011734, 9.86456871e-006, -0.0923919678, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part19, Handle)
  774. Part20Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.71857452, 2.61068344e-005, 2.86813354, 0.766054809, -3.24938446e-006, -0.642775357, -3.7739519e-006, -1, 5.569309e-007, -0.642775297, 1.99861825e-006, -0.766054869), Part20, Handle)
  775. Part21Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000820726156, -0.0882949829, 3.7387619, -8.81997403e-006, -1, 8.54674727e-006, -7.82310963e-006, 8.54674727e-006, 1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part21, Handle)
  776. Part22Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69364166, 0.000803858042, 3.90794182, -0.64278847, -7.85477459e-006, -0.766043901, -2.45537376e-006, -1, 1.23130158e-005, -0.766043782, 9.79658216e-006, 0.642788529), Part22, Handle)
  777. Part23Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.01513672, 0.000854611397, 2.72330856, -0.866026223, 7.05290586e-006, -0.499998748, -1.38133764e-005, -1.00000012, 9.81986523e-006, -0.499998629, 1.54110603e-005, 0.866026282), Part23, Handle)
  778. Part24Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.60215759, 0.000867843628, 1.96988297, -0.939694524, 7.43940473e-006, -0.342015207, -9.65245999e-006, -0.99999994, 4.76837158e-006, -0.342015177, 7.78213143e-006, 0.939694464), Part24, Handle)
  779. Part25Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.2229805, 2.96831131e-005, 1.12572098, -0.984808147, 2.8036302e-006, -0.173646405, -3.2314565e-006, -0.99999994, 2.17929482e-006, -0.17364639, 2.70782039e-006, 0.984808147), Part25, Handle)
  780. Part26Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000746399164, 3.90896225, -2.45314789, 8.81997403e-006, 1, -8.54674727e-006, -0.766052544, 1.22501515e-005, 0.642778039, 0.642778039, 8.77305865e-007, 0.766052604), Part26, Handle)
  781. Part27Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41415024, 0.000788211823, 3.75719452, -0.500010967, 4.51179221e-006, 0.866019249, 5.15847933e-006, 0.99999994, -2.23144889e-006, -0.86601913, 3.35089862e-006, -0.500011027), Part27, Handle)
  782. Part28Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.76126289, 0.000783234835, 3.01924896, -0.766054809, 3.24938446e-006, 0.642775357, 3.7739519e-006, 1, -5.569309e-007, -0.642775297, 1.99861825e-006, -0.766054869), Part28, Handle)
  783. Part29Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.41869354, 0.000812739134, 2.4790802, -0.866030037, 4.59607691e-007, 0.499992192, 2.27079727e-006, 1, 3.01375985e-006, -0.499992102, 3.7457794e-006, -0.866030097), Part29, Handle)
  784. Part30Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.07390594, 0.000837355852, -0.0785102844, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part30, Handle)
  785. Part31Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000840127468, 3.75822449, -1.17358017, -8.81997403e-006, -1, 8.54674727e-006, -0.866030931, 3.36533412e-006, -0.499990523, 0.499990463, -1.18119642e-005, -0.866030931), Part31, Handle)
  786. Part32Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.14587021, -3.78489494e-005, 1.83267975, -0.939695656, 8.45664181e-006, 0.342012167, 9.18429578e-006, 1, 5.07570803e-007, -0.342012078, 3.61772254e-006, -0.939695716), Part32, Handle)
  787. Part33Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.68004608, 0.00084143877, -3.73075104, -0.500010967, 4.51179221e-006, 0.866019249, -5.15847933e-006, -0.99999994, 2.23144889e-006, 0.86601913, -3.35089862e-006, 0.500011027), Part33, Handle)
  788. Part34Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.03617096, 0.000786036253, 1.41423607, 0.971007168, 1.17113814e-007, 0.239050448, 1.41718192e-006, 1, -6.24638051e-006, -0.239050433, 6.40377402e-006, 0.971007347), Part34, Handle)
  789. Part35Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.17930984, -0.000827670097, -0.18819809, 0.939690292, -6.36512414e-006, 0.342026591, 7.60564581e-006, 0.99999994, -2.2854656e-006, -0.342026561, 4.75021079e-006, 0.939690471), Part35, Handle)
  790. Part36Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000411450863, -0.0457839966, -1.06892014, 8.81997403e-006, 1, -8.54674727e-006, 0.173648596, 6.88526779e-006, 0.984807849, 0.98480773, -1.01698679e-005, -0.173648596), Part36, Handle)
  791. Part37Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0659347177, 0.0378875732, 1.34512329, 8.81997403e-006, 1, -8.54674727e-006, 0.00591352955, -8.59890133e-006, -0.999982655, -0.999982536, 8.76927515e-006, -0.00591354072), Part37, Handle)
  792. Part38Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0516773462, 0.0402183533, 1.34937668, 8.81997403e-006, 1, -8.54674727e-006, 0.00591352955, -8.59890133e-006, -0.999982655, -0.999982536, 8.76927515e-006, -0.00591354072), Part38, Handle)
  793. Part39Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.064314276, 0.0364646912, 1.32746887, -8.81997403e-006, -1, 8.54674727e-006, -0.066820696, 9.11671668e-006, 0.997765124, -0.997765064, 8.22916627e-006, -0.066820696), Part39, Handle)
  794. Part40Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0501194596, 0.03881073, 1.3318367, -8.81997403e-006, -1, 8.54674727e-006, -0.066820696, 9.11671668e-006, 0.997765124, -0.997765064, 8.22916627e-006, -0.066820696), Part40, Handle)
  795. Part41Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.43590164, 2.02242279, 0.270399094, 0.642794073, 0.263338923, -0.719352961, -0.766035914, 0.218260959, -0.604608297, -0.00221022032, 0.939688683, 0.342023939), Part41, Handle)
  796. Part42Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.72028351, -0.0561943054, 0.25627327, 0.984806538, 0.0614373572, -0.162424847, -0.173641786, 0.336462647, -0.925549388, -0.00221342035, 0.93969059, 0.342018634), Part42, Handle)
  797. Part43Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.60027695, -2.512043, 0.00469616055, 0.939692736, -0.00208254764, -0.342013419, 0.342012644, -0.000757087953, 0.939695239, -0.00221589394, -0.999997556, 8.27945769e-007), Part43, Handle)
  798. Part44Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.64193726, 0.262393951, -0.000117331743, 0.939690888, -0.0020794929, 0.342018694, -0.34201777, 0.000769576989, 0.939693213, -0.00221729488, -0.999997616, 1.19395554e-005), Part44, Handle)
  799. Part45Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.60744476, 1.76337814, -0.00123023987, 0.642783582, -0.0014211908, 0.766046643, -0.766044676, 0.0016994183, 0.642785192, -0.00221535377, -0.999997556, 3.66196036e-006), Part45, Handle)
  800. Part46Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.11647415, -0.000777751207, -0.224704742, 1.00000012, 2.32830644e-010, 3.7252903e-009, 2.32830644e-010, 1, 0, 3.7252903e-009, 0, 1.00000012), Part46, Handle)
  801. Part47Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00204455853, -0.000217437744, 4.1167717, 8.81997403e-006, 1, -8.54674727e-006, 7.82310963e-006, -8.54674727e-006, -1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part47, Handle)
  802. Part48Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.36617279, 2.78949738e-005, -1.213871, 0.939695656, -8.45664181e-006, -0.342012167, 9.18429578e-006, 1, 5.07570803e-007, 0.342012078, -3.61772254e-006, 0.939695716), Part48, Handle)
  803. Part49Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.47472, -2.04741955e-005, -0.435817719, 0.984808147, -2.8036302e-006, 0.173646405, 1.79972267e-006, 1, 5.9409067e-006, -0.17364639, -5.53810969e-006, 0.984808087), Part49, Handle)
  804. Part50Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0105819702, -1.27255917e-005, 1.16411591, -7.78958201e-006, -1.53575093e-006, 1.00000012, 1.05060753e-005, 1, 1.53668225e-006, -1, 1.05063082e-005, -7.7933073e-006), Part50, Handle)
  805. Part51Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00163778663, 0.187753677, -0.761482239, -8.81997403e-006, -1, 8.54674727e-006, 0.342030585, -1.10482797e-005, -0.939688921, 0.939688861, -5.36511652e-006, 0.342030615), Part51, Handle)
  806. Part52Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000415325165, -0.175437927, -1.04231262, -8.81997403e-006, -1, 8.54674727e-006, 0.342030585, -1.10482797e-005, -0.939688921, 0.939688861, -5.36511652e-006, 0.342030615), Part52, Handle)
  807. Part53Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52289867e-005, 0.33638382, -0.73009491, 8.81997403e-006, 1, -8.54674727e-006, 0.173648596, 6.88526779e-006, 0.984807849, 0.98480773, -1.01698679e-005, -0.173648596), Part53, Handle)
  808. Part54Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.14784622, 0.000820249319, -0.336872101, 0.984808505, -7.65419099e-006, -0.173644334, -6.99376687e-006, -0.99999994, 4.414469e-006, -0.173644304, -3.13483179e-006, -0.984808564), Part54, Handle)
  809. Part55Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.47130203, 0.00163501501, -0.830039978, 0.984808147, -2.8036302e-006, 0.173646405, -1.79972267e-006, -1, -5.9409067e-006, 0.17364639, 5.53810969e-006, -0.984808087), Part55, Handle)
  810. Part56Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.41790009, 0.00164881349, -0.576755524, 1.00000012, 2.32830644e-010, 3.7252903e-009, -2.32830644e-010, -1, 0, -3.7252903e-009, 0, -1.00000012), Part56, Handle)
  811. Part57Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000419974327, -0.29524231, 1.6622963, -8.81997403e-006, -1, 8.54674727e-006, -7.82310963e-006, 8.54674727e-006, 1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part57, Handle)
  812. Part58Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.24662781, 0.00168159604, -1.30755234, 0.866025507, -6.04754314e-006, 0.49999994, -1.44689693e-005, -1.00000012, 1.29649416e-005, 0.499999881, -1.84625387e-005, -0.866025507), Part58, Handle)
  813. Part59Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.58223915e-005, -1.30659866, 1.48707581, 8.81997403e-006, 1, -8.54674727e-006, 0.500009, -1.18114986e-005, -0.866020262, -0.866020203, 3.36533412e-006, -0.50000912), Part59, Handle)
  814. Part60Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00163337588, -1.21289825, 1.60674286, -8.81997403e-006, -1, 8.54674727e-006, 0.342021614, 5.01424074e-006, 0.93969214, -0.93969214, 1.12112612e-005, 0.342021704), Part60, Handle)
  815. Part61Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000455230474, -0.187801361, 1.70013809, 8.81997403e-006, 1, -8.54674727e-006, 7.82310963e-006, -8.54674727e-006, -1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part61, Handle)
  816. Part62Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00202268362, -3.76424789, 0.251018524, 8.81997403e-006, 1, -8.54674727e-006, 1, -8.81956657e-006, 3.05473804e-006, 3.05101275e-006, -8.54674727e-006, -1.00000012), Part62, Handle)
  817. Part63Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.122699738, -0.000848740339, 0.681987762, 0.342030555, 5.20143658e-007, -0.939688981, 1.06124789e-005, 1, 4.41726297e-006, 0.939688921, -1.14825089e-005, 0.342030585), Part63, Handle)
  818. Part64Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000454843044, -0.307516098, -0.521232605, -8.81997403e-006, -1, 8.54674727e-006, -0.342030585, 1.10482797e-005, 0.939688921, -0.939688861, 5.36511652e-006, -0.342030615), Part64, Handle)
  819. Part65Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00041821599, 0.0523777008, 0.974716187, -8.81997403e-006, -1, 8.54674727e-006, 0.342030585, -1.10482797e-005, -0.939688921, 0.939688861, -5.36511652e-006, 0.342030615), Part65, Handle)
  820. Part66Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000442802906, 0.128040314, 0.935142517, -8.81997403e-006, -1, 8.54674727e-006, 0.342030585, -1.10482797e-005, -0.939688921, 0.939688861, -5.36511652e-006, 0.342030615), Part66, Handle)
  821. Part67Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000448226929, -0.105899811, -0.460407257, 8.81997403e-006, 1, -8.54674727e-006, 7.82310963e-006, -8.54674727e-006, -1.00000012, -1, 8.8197994e-006, -7.82310963e-006), Part67, Handle)
  822. Part68Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0792274475, -3.54644394, -0.588537216, -7.78958201e-006, -1.53575093e-006, 1.00000012, 0.939695477, -0.342012316, 6.7949295e-006, 0.342012346, 0.939695537, 4.11085784e-006), Part68, Handle)
  823. Part69Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.286860824, 0.0800094604, -3.6447258, -8.81997403e-006, -1, 8.54674727e-006, 7.82310963e-006, -8.54674727e-006, -1.00000012, 1, -8.8197994e-006, 7.82310963e-006), Part69, Handle)
  824. Part70Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.740261078, 0.079990387, -3.55434799, 0.173639119, -0.984809458, 7.67176971e-007, 9.72300768e-006, 9.35047865e-007, -1.00000012, 0.984809339, 0.173639119, 9.73790884e-006), Part70, Handle)
  825. Part71Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.08800507, 0.0809249878, -1.66077614, 0.866020083, -0.500009179, 2.46241689e-006, 6.66081905e-006, 6.60307705e-006, -1.00000012, 0.500009239, 0.866020143, 9.05618072e-006), Part71, Handle)
  826. Part72Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.829088211, 0.0795860291, -3.54740143, -0.342025518, -0.93969065, 2.08616257e-007, 5.85243106e-006, -2.3515895e-006, -1.00000012, 0.939690769, -0.342025548, 6.30319118e-006), Part72, Handle)
  827. Part73Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0783958435, -0.000823318958, 2.64012527, -7.78958201e-006, -1.53575093e-006, 1.00000012, 1.05060753e-005, 1, 1.53668225e-006, -1, 1.05063082e-005, -7.7933073e-006), Part73, Handle)
  828. Part74Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.09498978, -0.0785293579, -1.66501427, 0.866030633, 0.49999088, 8.38190317e-007, -6.96629286e-006, 1.03889033e-005, 1.00000012, 0.49999094, -0.866030753, 1.24797225e-005), Part74, Handle)
  829. Part75Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0802154541, -3.55396271, -0.591609955, 7.78958201e-006, 1.53575093e-006, -1.00000012, 0.939692855, 0.342019618, 7.84546137e-006, 0.342019618, -0.939692855, 1.22189522e-006), Part75, Handle)
  830. Part76Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.286594957, -0.0794296265, -3.65285492, 8.81997403e-006, 1, -8.54674727e-006, -7.82310963e-006, 8.54674727e-006, 1.00000012, 1, -8.8197994e-006, 7.82310963e-006), Part76, Handle)
  831. Part77Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.832042694, -0.0797920227, -3.55490875, -0.342013121, 0.939695239, -1.65402889e-006, -6.73905015e-006, -6.91972673e-007, 1.00000012, 0.939695239, 0.342013121, 6.57141209e-006), Part77, Handle)
  832. Part78Weld = CreateWeld(Nageblade, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.741433144, -0.0793914795, -3.56241989, 0.173653081, 0.984806955, -5.27687371e-006, -2.75671482e-006, 5.84684312e-006, 1.00000012, 0.984806955, -0.173653066, 3.73274088e-006), Part78, Handle)
  833.  
  834. Blade = Part34
  835.  
  836. --[[ Damage function ]]--
  837. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  838.  
  839. local HitHumanoid = Hit.Parent.Humanoid
  840.  
  841.  
  842. local Damage = math.random(Min, Max)
  843.  
  844.  
  845. coroutine.resume(coroutine.create(function()
  846. HitHumanoid:TakeDamage(Damage)
  847. end))
  848.  
  849. if Type == "Normal" then
  850.  
  851. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  852. Services.Debris:AddItem(Push, 0)
  853. Display(Hit.Parent, Damage)
  854.  
  855. elseif Type == "Ranged" then
  856. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  857. Services.Debris:AddItem(Push, 0)
  858. Display(Hit.Parent, Damage)
  859.  
  860. elseif Type == "Knockdown" then
  861.  
  862.  
  863. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  864. Display(Hit.Parent, Damage)
  865. Services.Debris:AddItem(Push, 0.3)
  866.  
  867. coroutine.resume(coroutine.create(function()
  868.  
  869. HitHumanoid.PlatformStand = true
  870. wait(1)
  871. HitHumanoid.PlatformStand = false
  872.  
  873.  
  874. end))
  875. end
  876.  
  877. if HitSFX == "Penetration" then
  878.  
  879. MakeSFX(Hit, 199149269, 1 , 1)
  880.  
  881. elseif HitSFX == "Punch" then
  882.  
  883. MakeSFX(Hit, 278062209, 1 , 1)
  884.  
  885.  
  886.  
  887.  
  888. end
  889. end
  890.  
  891. function Display(HitCharacter, DisplayTxt)
  892. if HitCharacter:FindFirstChild("Head") then
  893. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  894. DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
  895.  
  896.  
  897. local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
  898. DisplayGui.Name = "Damage"
  899. DisplayGui.AlwaysOnTop = true
  900. DisplayGui.Size = UDim2.new(5, 0, 5, 0)
  901.  
  902. local DisplayNumber = Instance.new("TextLabel", DisplayGui)
  903. DisplayNumber.Size = UDim2.new(1,0,1,0)
  904. DisplayNumber.TextStrokeColor3 = BrickColor.White().Color
  905. DisplayNumber.TextColor3 = BrickColor.Black().Color
  906. DisplayNumber.TextStrokeTransparency = 0
  907. DisplayNumber.BackgroundTransparency = 1
  908. DisplayNumber.Font = "SciFi"
  909. DisplayNumber.TextScaled = true
  910. DisplayNumber.Text = DisplayTxt
  911.  
  912. if string.sub((DisplayTxt),1,1) ~= "+" then
  913.  
  914. if DisplayTxt > 19 then
  915.  
  916. DisplayNumber.TextColor3 = BrickColor.Red().Color
  917.  
  918.  
  919.  
  920. elseif DisplayTxt > 9 then
  921.  
  922. DisplayNumber.TextColor3 = BrickColor.Yellow().Color
  923.  
  924. end
  925. end
  926.  
  927. if string.sub((DisplayTxt),1,1) == "+" then
  928. DisplayNumber.TextColor3 = BrickColor.Green().Color
  929. end
  930.  
  931. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  932. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  933. BodyVelocity.Velocity = Vector3.new(0,2,0)
  934.  
  935. Services.Debris:AddItem(DamageShowingPart, 3)
  936.  
  937. end
  938. end
  939. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  940. for _,WorkspaceChildren in pairs(workspace:children()) do
  941.  
  942. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  943.  
  944. if HitHumanoid ~= nil then
  945. local Hit = WorkspaceChildren:findFirstChild("Torso")
  946.  
  947. if Hit ~= nil then
  948.  
  949. local Target = Hit.Position - Part.Position
  950.  
  951. local Magnitude = Target.magnitude
  952.  
  953. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  954.  
  955. local HitBlock = Hit.Parent:FindFirstChild("Block")
  956.  
  957. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  958.  
  959. local HitBlock2 = Hit.Parent.Block.BlockDurability
  960.  
  961. if HitBlock2.Value > 15 then
  962.  
  963. local HitN = math.random(1,5)
  964.  
  965. HitBlock2.Value = HitBlock2.Value - 15
  966.  
  967. if HitN == 1 then
  968. MakeSFX(Hit ,199148971, 0.5, 1)
  969. end
  970.  
  971. if HitN == 2 then
  972. MakeSFX(Hit ,199149025, 0.5, 1)
  973. end
  974.  
  975. if HitN == 3 then
  976. MakeSFX(Hit ,199149072, 0.5, 1)
  977. end
  978.  
  979. if HitN == 4 then
  980. MakeSFX(Hit ,199149109, 0.5, 1)
  981. end
  982.  
  983. if HitN == 5 then
  984. MakeSFX(Hit ,199149119, 0.5, 1)
  985. end
  986. return
  987. end
  988. end
  989.  
  990. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  991.  
  992.  
  993.  
  994. end
  995. end
  996. end
  997. end
  998. end
  999.  
  1000. function ValidateHeal(Part, Distance)
  1001. for _,WorkspaceChildren in pairs(workspace:children()) do
  1002.  
  1003. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  1004.  
  1005. if HitHumanoid ~= nil then
  1006. local Hit = WorkspaceChildren:findFirstChild("Torso")
  1007.  
  1008. if Hit ~= nil then
  1009.  
  1010. local Target = Hit.Position - Part.Position
  1011.  
  1012. local Magnitude = Target.magnitude
  1013.  
  1014. if Magnitude <= Distance then
  1015. local Heal = math.random(5,10)
  1016.  
  1017. Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health + Heal
  1018. Display(Hit.Parent, "+" .. Heal)
  1019.  
  1020. end
  1021. end
  1022. end
  1023. end
  1024. end
  1025. --[[ Attacks ]]--
  1026.  
  1027. function Attack1()
  1028. Attacking = true
  1029.  
  1030. for i = 1,5 do
  1031. wait()
  1032.  
  1033. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-0.6),0.5)
  1034. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.5)
  1035. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.5)
  1036. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.5)
  1037. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1038. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1039. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,-1.57),0.6)
  1040.  
  1041.  
  1042. end
  1043.  
  1044. MakeSFX(Blade, 199146359, 1, 1)
  1045.  
  1046. for i = 1,5 do
  1047. wait()
  1048.  
  1049. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.8),0.5)
  1050. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1.6),0.5)
  1051. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0.1) * CFrame.Angles(0,0,1.6), 0.5)
  1052. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,-0.2,-0.2), 0.5)
  1053. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1054. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1055. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,-1.57),0.6)
  1056.  
  1057.  
  1058. end
  1059. ValidateDamage(Blade, 7 ,5 , 8, "Normal", "Penetration", 5)
  1060.  
  1061. Attacking = false
  1062. end
  1063.  
  1064. function Attack2()
  1065. Attacking = true
  1066.  
  1067. for i = 1,5 do
  1068. wait()
  1069.  
  1070. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,1.6),0.5)
  1071. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1.6),0.5)
  1072. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.5)
  1073. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.5)
  1074. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1075. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1076. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.6)
  1077.  
  1078.  
  1079. end
  1080.  
  1081. MakeSFX(Blade, 199150686, 1, 1)
  1082.  
  1083. for i = 1,5 do
  1084. wait()
  1085.  
  1086. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-0.6),0.5)
  1087. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.5)
  1088. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(2, 0.5, 0.1) * CFrame.Angles(0,-0.2,1.6), 0.5)
  1089. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, -0) * CFrame.Angles(0,0,-0.2), 0.5)
  1090. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1091. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.5)
  1092. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.6)
  1093.  
  1094.  
  1095. end
  1096.  
  1097. ValidateDamage(Blade, 7 ,5 , 8, "Normal", "Penetration", 5)
  1098.  
  1099. Attacking = false
  1100. end
  1101.  
  1102. function Attack3()
  1103. Attacking = true
  1104. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1105. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,0.5,-15),CFrame.new(0,0,0), Reference, Root)
  1106.  
  1107. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1108. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2),CFrame.new(0,0,0), Reference2, Root)
  1109.  
  1110.  
  1111. for i = 1,5 do
  1112.  
  1113. wait()
  1114. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  1115. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.5)
  1116. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.5)
  1117. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(0.5,0,-1.6), 0.5)
  1118. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.5)
  1119. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.5)
  1120. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1121.  
  1122.  
  1123. end
  1124.  
  1125. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, Color, "Neon", 0.5)
  1126. wait(0.5)
  1127. ValidateDamage(Reference, 10 ,5 , 8, "Ranged", "Penetration", -100)
  1128. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, Color, "Neon", 0.5)
  1129. MakeSFX(Reference, 228343249 ,1 ,1)
  1130. Reference:Remove()
  1131. Attacking = false
  1132. end
  1133.  
  1134.  
  1135. function DoBlock()
  1136.  
  1137. Attacking = true
  1138. Humanoid.WalkSpeed = 10
  1139. Humanoid.JumpPower = 45
  1140. Blocking = true
  1141.  
  1142.  
  1143.  
  1144. while Blocking and BlockD.Value > 0 do
  1145. wait()
  1146. Block.Value = true
  1147.  
  1148. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1149. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1150. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1151. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-0, 0.5, -1) * CFrame.Angles(0,0,1.6), 0.3)
  1152. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0,0,0),0.2)
  1153. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0,0,0),0.2)
  1154. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1155.  
  1156.  
  1157. end
  1158.  
  1159. Attacking = false
  1160. Block.Value = false
  1161. Blocking = false
  1162. Humanoid.WalkSpeed = 16
  1163. Humanoid.JumpPower = 50
  1164.  
  1165. end
  1166.  
  1167. function Stomp()
  1168.  
  1169. Attacking = true
  1170. Humanoid.WalkSpeed = 0
  1171. Humanoid.JumpPower = 0
  1172.  
  1173.  
  1174. for i = 1,10 do
  1175. wait()
  1176.  
  1177. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
  1178. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1179. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
  1180. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
  1181. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1182. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1183.  
  1184. end
  1185.  
  1186. MakeSFX(Torso, 142070127, 1, 1)
  1187. ValidateDamage(Torso, 30 ,6, 7, "Knockdown", "Penetration", 15)
  1188. local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1189.  
  1190. if Hit ~= nil then
  1191.  
  1192. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1193. Reference.Anchored = true
  1194. Reference.CFrame = CFrame.new(Position)
  1195.  
  1196. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, Color, "Neon", 0.5)
  1197.  
  1198. game:GetService("Debris"):AddItem(Reference,0.1)
  1199.  
  1200. end
  1201.  
  1202. for i = 1,10 do
  1203. wait()
  1204.  
  1205. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.5)
  1206. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1207. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1208. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1209. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1210. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1211.  
  1212. end
  1213.  
  1214. Attacking = false
  1215. Humanoid.WalkSpeed = 16
  1216. Humanoid.JumpPower = 50
  1217.  
  1218.  
  1219. end
  1220.  
  1221. function AstralBeam()
  1222.  
  1223. Attacking = true
  1224. Humanoid.WalkSpeed = 0
  1225. Humanoid.JumpPower = 0
  1226.  
  1227.  
  1228.  
  1229. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(0,60,0), "SmoothPlastic", 1, "Block")
  1230. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,-30,0),CFrame.new(0,0,0), Reference, Left_Arm)
  1231.  
  1232. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1233. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2),CFrame.new(0,0,0), Reference2, Root)
  1234.  
  1235.  
  1236. for i = 1,10 do
  1237.  
  1238. wait()
  1239. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  1240. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.5)
  1241. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.5)
  1242. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(0.5,0,-1.6), 0.5)
  1243. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.5)
  1244. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.5)
  1245. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1246.  
  1247.  
  1248. end
  1249.  
  1250. coroutine.resume(coroutine.create(function()
  1251. for i = 1,17 do
  1252. wait(0.3)
  1253. ValidateDamage(Reference, 30 ,3 , 5, "Ranged", "Penetration", 10)
  1254. end
  1255.  
  1256. end))
  1257.  
  1258. for i = 1,100 do
  1259. wait()
  1260. local Effect = HeadEffect(Reference.Position, Services.Workspace, 1, 300, 1, 5, 0, 5, 5, Color, "Neon", 0.5)
  1261. Effect.Rotation = Left_Arm.Rotation
  1262.  
  1263. MakeSFX(Reference, 228343249 ,1 ,1)
  1264. end
  1265.  
  1266. Attacking = false
  1267. Reference:Remove()
  1268. Reference2:Remove()
  1269. Humanoid.WalkSpeed = 16
  1270. Humanoid.JumpPower = 50
  1271.  
  1272. end
  1273.  
  1274. function AstralDash()
  1275. Attacking = true
  1276. Humanoid.WalkSpeed = 0
  1277. Humanoid.JumpPower = 0
  1278.  
  1279. wait(0.2)
  1280. local BV = Instance.new("BodyVelocity", Torso)
  1281. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1282. BV.Velocity = Torso.CFrame.lookVector * Vector3.new(50,0,50)
  1283.  
  1284. Head.Transparency = 1
  1285. Torso.Transparency = 1
  1286. Right_Arm.Transparency = 1
  1287. Left_Arm.Transparency = 1
  1288. Right_Leg.Transparency = 1
  1289. Left_Leg.Transparency = 1
  1290. Head.face.Transparency = 1
  1291.  
  1292. for i,v in pairs(Character:children()) do
  1293. if v:IsA("Accessory") then
  1294.  
  1295. v.Handle.Transparency = 1
  1296.  
  1297. end
  1298. end
  1299.  
  1300. Nageblade.Parent = nil
  1301.  
  1302. coroutine.resume(coroutine.create(function()
  1303. for i = 1,17 do
  1304. wait(0.3)
  1305. ValidateDamage(Torso, 10 ,1 , 2, "Normal", "Penetration", 10)
  1306. end
  1307. end))
  1308.  
  1309. for i = 1,100 do
  1310. wait()
  1311.  
  1312. BV.Velocity = Mouse.Hit.lookVector * Vector3.new(50,0 ,50)
  1313. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, Color, "Neon", 0.5)
  1314. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1315. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
  1316. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1317. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
  1318. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1319. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1320. end
  1321.  
  1322. Head.Transparency = 0
  1323. Torso.Transparency = 0
  1324. Right_Arm.Transparency = 0
  1325. Left_Arm.Transparency = 0
  1326. Right_Leg.Transparency = 0
  1327. Left_Leg.Transparency = 0
  1328. Head.face.Transparency = 0
  1329. Nageblade.Parent = Character
  1330. for i,v in pairs(Character:children()) do
  1331. if v:IsA("Accessory") then
  1332.  
  1333. v.Handle.Transparency = 0
  1334.  
  1335. end
  1336. end
  1337.  
  1338. BV:Remove()
  1339. Attacking = false
  1340. Humanoid.WalkSpeed = 16
  1341. Humanoid.JumpPower = 50
  1342. end
  1343.  
  1344. function AstralBlast()
  1345. Attacking = true
  1346. Humanoid.WalkSpeed = 0
  1347. Humanoid.JumpPower = 0
  1348.  
  1349. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1350. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,0.5,-15),CFrame.new(0,0,0), Reference, Root)
  1351.  
  1352. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1353. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2),CFrame.new(0,0,0), Reference2, Root)
  1354.  
  1355. local Reference3 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1356. local Reference3Weld = CreateWeld(Reference3, CFrame.new(0,0.5,-20),CFrame.new(0,0,0), Reference3, Root)
  1357.  
  1358. local Reference4 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1359. local Reference4Weld = CreateWeld(Reference4, CFrame.new(0,0.5,-25),CFrame.new(0,0,0), Reference4, Root)
  1360.  
  1361.  
  1362. for i = 1,5 do
  1363.  
  1364. wait()
  1365. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  1366. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.5)
  1367. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.5)
  1368. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.5)
  1369. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.5)
  1370. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.5)
  1371. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1372.  
  1373.  
  1374. end
  1375. MakeSFX(Reference, 137463716 ,1 ,1)
  1376. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, Color, "Neon", 0.5)
  1377. wait(0.5)
  1378. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, Color, "Neon", 0.5)
  1379. wait(0.5)
  1380. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, Color, "Neon", 0.5)
  1381. wait(0.5)
  1382. MakeSFX(Reference, 130865054, 1, 1.5)
  1383. ValidateDamage(Reference, 20 ,36 , 40, "Ranged", "Penetration", 0)
  1384. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 10, Color, "Neon", 0.5)
  1385. wait(0.5)
  1386. MakeSFX(Reference3, 130865054, 1, 1.5)
  1387. ValidateDamage(Reference3, 20 ,30 , 36, "Ranged", "Penetration", 0)
  1388. CircleEffect(Reference3.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 10, Color, "Neon", 0.5)
  1389. wait(0.5)
  1390. MakeSFX(Reference4, 130865054, 1, 1.5)
  1391. ValidateDamage(Reference4, 20 ,26 , 30, "Ranged", "Penetration", 0)
  1392. CircleEffect(Reference4.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 10, Color, "Neon", 0.5)
  1393.  
  1394.  
  1395. Attacking = false
  1396. Humanoid.WalkSpeed = 16
  1397. Humanoid.JumpPower = 50
  1398. end
  1399.  
  1400. function OnClicked()
  1401.  
  1402.  
  1403. if Combo == 1 and not Attacking and CanAttack then
  1404. Combo = 2
  1405. Attack1()
  1406.  
  1407. elseif Combo == 2 and not Attacking and CanAttack then
  1408. Combo = 3
  1409. Attack2()
  1410.  
  1411.  
  1412. elseif Combo == 3 and not Attacking and CanAttack then
  1413. Combo = 1
  1414. Attack3()
  1415.  
  1416. end
  1417. end
  1418.  
  1419. function OnKeyDown(Key)
  1420.  
  1421. if Key == "e" and not Attacking and BlockD.Value > 100 then
  1422.  
  1423. DoBlock()
  1424.  
  1425. end
  1426.  
  1427. if Key == "z" and not Attacking and Mana > 10 and Cooldown1 == MaxCooldown1 then
  1428.  
  1429. Mana = Mana - 10
  1430. Cooldown1 = 0
  1431. Stomp()
  1432.  
  1433. end
  1434. if Key == "x" and not Attacking and Mana > 25 and Cooldown2 == MaxCooldown2 then
  1435.  
  1436. Mana = Mana - 25
  1437. Cooldown2 = 0
  1438. AstralBeam()
  1439.  
  1440. end
  1441. if Key == "c" and not Attacking and Mana > 30 and Cooldown3 == MaxCooldown3 then
  1442.  
  1443. Mana = Mana - 30
  1444. Cooldown3 = 0
  1445. AstralDash()
  1446.  
  1447. end
  1448. if Key == "v" and not Attacking and Mana > 50 and Cooldown4 == MaxCooldown4 then
  1449.  
  1450. Mana = Mana - 50
  1451. Cooldown4 = 0
  1452. AstralBlast()
  1453.  
  1454. end
  1455. end
  1456.  
  1457.  
  1458. function OnKeyUp(Key)
  1459.  
  1460. if Key == "e" then
  1461. Blocking = false
  1462.  
  1463. end
  1464.  
  1465.  
  1466. end
  1467.  
  1468. Mouse.KeyUp:connect(OnKeyUp)
  1469. Mouse.KeyDown:connect(OnKeyDown)
  1470. Mouse.Button1Down:connect(OnClicked)
  1471.  
  1472.  
  1473. --[[ Bars Function ]]--
  1474.  
  1475. function Bars()
  1476.  
  1477. --[[ Mana Bar ]]--
  1478.  
  1479. if Mana ~= MaxMana then
  1480.  
  1481. Mana = Mana + 0.1
  1482.  
  1483. end
  1484.  
  1485. if Mana >= MaxMana then
  1486.  
  1487. Mana = MaxMana
  1488.  
  1489. end
  1490.  
  1491. --[[ Cooldowns Bars ]]--
  1492.  
  1493. if Cooldown1 ~= MaxCooldown1 then
  1494.  
  1495. Cooldown1 = Cooldown1 + 1
  1496.  
  1497. end
  1498.  
  1499. if Cooldown1 >= MaxCooldown1 then
  1500.  
  1501. Cooldown1 = MaxCooldown1
  1502.  
  1503. end
  1504.  
  1505.  
  1506.  
  1507. if Cooldown2 ~= MaxCooldown2 then
  1508.  
  1509. Cooldown2 = Cooldown2 + 0.1
  1510. end
  1511.  
  1512.  
  1513. if Cooldown2 >= MaxCooldown2 then
  1514.  
  1515. Cooldown2 = MaxCooldown2
  1516.  
  1517. end
  1518.  
  1519.  
  1520.  
  1521. if Cooldown3 ~= MaxCooldown3 then
  1522. Cooldown3 = Cooldown3 + 0.1
  1523. end
  1524.  
  1525. if Cooldown3 >= MaxCooldown3 then
  1526.  
  1527. Cooldown3 = MaxCooldown3
  1528.  
  1529. end
  1530.  
  1531.  
  1532.  
  1533. if Cooldown4 ~= MaxCooldown4 then
  1534. Cooldown4 = Cooldown4 + 0.1
  1535. end
  1536.  
  1537. if Cooldown4 >= MaxCooldown4 then
  1538.  
  1539. Cooldown4 = MaxCooldown4
  1540.  
  1541. end
  1542.  
  1543.  
  1544.  
  1545. if CooldownE ~= MaxCooldownE and not Blocking then
  1546. CooldownE = CooldownE + 0.1
  1547. end
  1548.  
  1549. if CooldownE >= MaxCooldownE then
  1550.  
  1551. CooldownE = MaxCooldownE
  1552.  
  1553. end
  1554.  
  1555. --[[ Health Bar ]]--
  1556.  
  1557. local YellowZone = Humanoid.MaxHealth / 2
  1558. local RedZone = Humanoid.MaxHealth / 4
  1559.  
  1560. if Humanoid.Health <= YellowZone then
  1561.  
  1562. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright yellow").Color
  1563.  
  1564. end
  1565.  
  1566. if Humanoid.Health <= RedZone then
  1567.  
  1568. HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
  1569.  
  1570. end
  1571.  
  1572. if Humanoid.Health >= YellowZone then
  1573.  
  1574. HealthBarP2.BackgroundColor3 = BrickColor.new("Br. yellowish orange").Color
  1575.  
  1576. end
  1577.  
  1578.  
  1579. --[[ Resize All Bars ]]--
  1580.  
  1581.  
  1582. CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
  1583. CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
  1584. CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
  1585. CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
  1586. CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
  1587.  
  1588. HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
  1589. BlockBarP2.Size = UDim2.new(BlockD.Value / MaxBlock,0,0,25)
  1590. ManaBarP2.Size = UDim2.new(Mana / MaxMana,0,0,25)
  1591.  
  1592. coroutine.resume(coroutine.create(function()
  1593. if not Blocking and BlockD.Value ~= MaxBlock then
  1594. wait(1)
  1595. BlockD.Value = BlockD.Value + 1
  1596.  
  1597. end
  1598.  
  1599. if BlockD.Value >= MaxBlock then
  1600.  
  1601. BlockD.Value = MaxBlock
  1602.  
  1603. end
  1604. end))
  1605.  
  1606.  
  1607. end
  1608.  
  1609. --[[ CLerp Declarations ]]--
  1610.  
  1611. function clerp(a,b,t)
  1612. local qa = {QuaternionFromCFrame(a)}
  1613. local qb = {QuaternionFromCFrame(b)}
  1614. local ax, ay, az = a.x, a.y, a.z
  1615. local bx, by, bz = b.x, b.y, b.z
  1616. local _t = 1-t
  1617. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1618. end
  1619.  
  1620. function QuaternionFromCFrame(cf)
  1621. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1622. local trace = m00 + m11 + m22
  1623. if trace > 0 then
  1624. local s = math.sqrt(1 + trace)
  1625. local recip = 0.5/s
  1626. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1627. else
  1628. local i = 0
  1629. if m11 > m00 then
  1630. i = 1
  1631. end
  1632. if m22 > (i == 0 and m00 or m11) then
  1633. i = 2
  1634. end
  1635. if i == 0 then
  1636. local s = math.sqrt(m00-m11-m22+1)
  1637. local recip = 0.5/s
  1638. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1639. elseif i == 1 then
  1640. local s = math.sqrt(m11-m22-m00+1)
  1641. local recip = 0.5/s
  1642. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1643. elseif i == 2 then
  1644. local s = math.sqrt(m22-m00-m11+1)
  1645. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1646. end
  1647. end
  1648. end
  1649.  
  1650. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1651. local xs, ys, zs = x + x, y + y, z + z
  1652. local wx, wy, wz = w*xs, w*ys, w*zs
  1653. local xx = x*xs
  1654. local xy = x*ys
  1655. local xz = x*zs
  1656. local yy = y*ys
  1657. local yz = y*zs
  1658. local zz = z*zs
  1659. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1660. end
  1661.  
  1662. function QuaternionSlerp(a, b, t)
  1663. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1664. local startInterp, finishInterp;
  1665. if cosTheta >= 0.0001 then
  1666. if (1 - cosTheta) > 0.0001 then
  1667. local theta = math.acos(cosTheta)
  1668. local invSinTheta = 1/math.sin(theta)
  1669. startInterp = math.sin((1-t)*theta)*invSinTheta
  1670. finishInterp = math.sin(t*theta)*invSinTheta
  1671. else
  1672. startInterp = 1-t
  1673. finishInterp = t
  1674. end
  1675. else
  1676. if (1+cosTheta) > 0.0001 then
  1677. local theta = math.acos(-cosTheta)
  1678. local invSinTheta = 1/math.sin(theta)
  1679. startInterp = math.sin((t-1)*theta)*invSinTheta
  1680. finishInterp = math.sin(t*theta)*invSinTheta
  1681. else
  1682. startInterp = t-1
  1683. finishInterp = t
  1684. end
  1685. end
  1686. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1687. end
  1688.  
  1689. function RayCast(Pos, Dir, Max, Ignore)
  1690. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1691. end
  1692.  
  1693. --[[ CLerp animations ]]--
  1694. local ShieldReference = CreatePart(Services.Workspace, "ShieldReference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1695. local ShieldReferenceWeld = CreateWeld(ShieldReference, CFrame.new(0,0.5,-1.5),CFrame.new(0,0,0), ShieldReference, Root)
  1696.  
  1697. coroutine.resume(coroutine.create(function()
  1698. while true do
  1699. wait(0.5)
  1700.  
  1701. if Blocking then
  1702.  
  1703. local Shield = ShieldEffect(ShieldReference.Position, Services.Workspace, 1, 1, 1, 0.05, 0.05, 0.05, 10, Color, "Neon", 0.5)
  1704. Shield.Rotation = Root.Rotation
  1705. end
  1706. end
  1707. end))
  1708.  
  1709.  
  1710. while true do
  1711. wait()
  1712.  
  1713. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1714. local Velderp = Root.Velocity.y
  1715. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1716.  
  1717. Bars()
  1718.  
  1719.  
  1720. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1721. Anim = "Idle"
  1722.  
  1723. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0.6),0.2)
  1724. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
  1725. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(-0.2,0,0.2), 0.3)
  1726. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0.2,0,-0.2), 0.3)
  1727. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0.1,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1728. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(-0.1,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1729. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1730.  
  1731. end
  1732.  
  1733.  
  1734. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1735. Anim = "Walking"
  1736.  
  1737. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0.3,0,0),0.2)
  1738. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.2,0,0),0.3)
  1739. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(-0.2,0,0.2), 0.3)
  1740. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(0, 0.5, -1) * CFrame.Angles(0,0.2,1.6), 0.3)
  1741. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0),0.2)
  1742. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1743. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1744.  
  1745. end
  1746.  
  1747. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1748. Anim = "Jump"
  1749.  
  1750. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1751. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1752. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
  1753. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
  1754. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1755. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1756. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1757.  
  1758. end
  1759.  
  1760. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1761. Anim = "Fall"
  1762.  
  1763. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1764. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1765. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
  1766. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
  1767. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1768. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1769. HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
  1770.  
  1771. end
  1772.  
  1773. if #Effects > 0 then
  1774. for E = 1, #Effects do
  1775. if Effects[E]~=nil then
  1776. local Effect = Effects[E]
  1777.  
  1778. if Effect ~= nil then
  1779.  
  1780. local Part = Effect[1]
  1781. local Mode = Effect[2]
  1782. local Time = Effect[3]
  1783. local SizeX = Effect[4]
  1784. local SizeY = Effect[5]
  1785. local SizeZ = Effect[6]
  1786.  
  1787. if Effect[1].Transparency <= 1 then
  1788. if Effect[2] == "Block" then
  1789. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1790.  
  1791. Mesh = Effect[1]:FindFirstChild("Mesh")
  1792. if Mesh ~= nil then
  1793. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1794. end
  1795.  
  1796. elseif Effect[2] == "Circle" then
  1797.  
  1798. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1799. Mesh=Effect[1].Mesh
  1800. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1801.  
  1802. end
  1803.  
  1804. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1805.  
  1806. elseif Effect[2] == "Shield" then
  1807.  
  1808. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1809. Mesh=Effect[1].Mesh
  1810. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1811.  
  1812. end
  1813.  
  1814. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1815.  
  1816. elseif Effect[2] == "Head" then
  1817.  
  1818. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1819. Mesh=Effect[1].Mesh
  1820. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1821.  
  1822. end
  1823.  
  1824. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1825.  
  1826. else
  1827.  
  1828. Part.Parent=nil
  1829.  
  1830. table.remove(Effects, E)
  1831.  
  1832. end
  1833. end
  1834. end
  1835. end
  1836. end
  1837. end
  1838. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement