Advertisement
astronaut32

braz blade

Jul 4th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.12 KB | None | 0 0
  1. -----------------------------------------------[[LAWL]]------------------------------------------------------
  2. --[[Run as a LocalScript
  3. Never will finish
  4. Credit to BRANNLAMAR2]]--
  5. Me = game:service("Players").LocalPlayer
  6. Char = Me.Character
  7. lastpoint = Vector3.new(0, 0, 0)
  8. Modes = {"Ranged", "Blocking", "Normal"}
  9. Mode = Modes[Number]
  10. leds = {}
  11. Jumped = 0
  12. Jumping = false
  13. AbletoJump = true
  14. Char.Humanoid.WalkSpeed = 30
  15. Combo = 0
  16. Guarding = false
  17. attackdebounce = false
  18. Selected = false
  19. NormalModeColor = "Really black"
  20. RangedModeColor = "Really red"
  21. BlockModeColor = "New Yeller"
  22. BaseColor = "White"
  23. Activated = false
  24. LeftArm = Char["Left Arm"]
  25. RightArm = Char["Right Arm"]
  26. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. RSH, LSH = nil, nil
  28. if script.Parent.className ~= "HopperBin" then
  29. h = Instance.new("HopperBin", Me.Backpack)
  30. h.Name = "[[>> BrannZeus <<]] Blade"
  31. script.Name = "Made by: [[>> BrannZeus© <<]]"
  32. script.Parent = h
  33. end
  34. bin = script.Parent
  35. Model = Instance.new("Model", Char)
  36. Model.Name = "[[>> BrannZeus <<]] Blade"
  37. Make = {["P"] = function(parent, x,y,z, color, transparency, cancollide, anchored)
  38. c = Instance.new("Part",Model)
  39. c.TopSurface,c.BottomSurface = 0,0
  40. c.Locked = true
  41. c.formFactor = "Custom"
  42. c.Size = Vector3.new(x,y,z)
  43. if color ~= "random" then
  44. c.BrickColor = BrickColor.new(color)
  45. else c.BrickColor = BrickColor:random() end
  46. c.Transparency = transparency
  47. c.CanCollide = cancollide
  48. if anchored ~= nil then c.Anchored = anchored end
  49. if parent ~= nil then c.Parent = parent end
  50. return c
  51. end;
  52. ["BG"] = function(parent)
  53. local c = Instance.new("BodyGyro",parent)
  54. c.P = 10e+15
  55. c.cframe = parent.CFrame
  56. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  57. return c
  58. end;
  59. ["BP"] = function(parent, pos)
  60. local bp = Instance.new("BodyPosition",parent)
  61. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  62. bp.position = pos
  63. return bp
  64. end;
  65. ["F"] = function(parent, size, heat, color, secondarycolor, enabled)
  66. f = Instance.new("Fire",parent)
  67. f.Size = size
  68. f.Heat = heat
  69. if enabled ~= nil then f.Enabled = enabled end
  70. if color ~= nil then f.Color = BrickColor.new(color).Color end
  71. if secondarycolor ~= nil then f.SecondaryColor = BrickColor.new(secondarycolor).Color end
  72. return f
  73. end;
  74. ["FM"] = function(parent, meshid, x,y,z, meshtexture)
  75. if meshid == "cylinder" then
  76. mesh = Instance.new("CylinderMesh",parent)
  77. mesh.Scale = Vector3.new(x,y,z)
  78. return mesh
  79. else
  80. mesh = Instance.new("SpecialMesh",parent)
  81.  
  82. if meshid ~= "sphere" then
  83. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  84. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  85. end
  86.  
  87. else mesh.MeshType = 3 end
  88.  
  89. mesh.Scale = Vector3.new(x,y,z)
  90.  
  91. if meshtexture ~= nil then
  92. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  93. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  94.  
  95. end
  96.  
  97. return mesh
  98. end
  99. end}
  100. M = {["Cos"] = function(a) return math.cos(a) end;
  101. ["Sin"] = function(a) return math.sin(a) end;
  102. ["Rad"] = function(a) return math.rad(a) end}
  103. FakeTorso = Make.P(Char, 1,1,1, "White", 1, false, true)
  104. FakeTorso.BrickColor = Char.Torso.BrickColor
  105. Mesh = Instance.new("BlockMesh", FakeTorso)
  106. Mesh.Scale = Char.Torso.Size
  107. BaseThing = Make.P(Model, 1,1,1, NormalModeColor, 1 ,false, true)
  108. BaseMesh = Make.FM(BaseThing,68075671 , 0.5, 0.5, 0.5)
  109. Handle = Make.P(Model, 0.3,1.5,0.3, BaseColor, 1 ,false, true)
  110. Tip2 = Make.P(Model, 0.23, 0.1, 0.7, NormalModeColor, 1, false, true)
  111. Tip1 = Make.P(Model, 0.23, 0.1, 0.7, NormalModeColor, 1, false, true)
  112. BigTip1 = Make.P(Model, 0.22, 0.4, 0.8, BaseColor, 1, false, true)
  113. BigTip2 = Make.P(Model, 0.22, 0.4, 0.8, BaseColor, 1, false, true)
  114. HitBox = Make.P(Model, 2.5, 0.25, 4.3, "White", 1, false, true)
  115. HitBox.Name = "HitBox"
  116. Diamond = Make.P(Model, 1,1,1, BaseColor, 1 ,false, true)
  117. DiamondMesh = Make.FM(Diamond,9756362 , 0.3, 0.3, 0.5)
  118. HandleSturf = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  119. HandleSturf2 = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  120. HandleSturf3 = Make.P(Model, 0.31,0.31,0.29, NormalModeColor, 1 ,false, true)
  121. LongSword = Make.P(Model, 0.8, 0.22, 3.7, BaseColor, 1, false, true)
  122. LongSword2 = Make.P(Model, 0.39, 0.23, 3.6, NormalModeColor, 1, false, true)
  123. BigWedgeMesh2 = Instance.new("SpecialMesh", BigTip2)
  124. BigWedgeMesh2.MeshType = "Wedge"
  125. BigWedgeMesh1 = Instance.new("SpecialMesh", BigTip1)
  126. BigWedgeMesh1.MeshType = "Wedge"
  127. WedgeMesh1 = Instance.new("SpecialMesh", Tip1)
  128. WedgeMesh1.MeshType = "Wedge"
  129. WedgeMesh1.Scale = Vector3.new(1, 1, 1)
  130. WedgeMesh2 = Instance.new("SpecialMesh", Tip2)
  131. WedgeMesh2.MeshType = "Wedge"
  132. WedgeMesh2.Scale = Vector3.new(1, 1, 1)
  133. LongMesh = Instance.new("BlockMesh", LongSword)
  134. LongMesh.Scale = Vector3.new(1, 1, 1)
  135. LongMesh2 = Instance.new("BlockMesh", LongSword2)
  136. LongMesh2.Scale = Vector3.new(1, 1, 1)
  137. HandleWedge1 = Make.P(Model, 0.215, 0.9, 1.5, BaseColor, 1, false, true)
  138. HandleWedge2 = Make.P(Model, 0.24, 0.9, 1.5, BaseColor, 1, false, true)
  139. WedgeMesh11 = Instance.new("SpecialMesh", HandleWedge2)
  140. WedgeMesh11.MeshType = "Wedge"
  141. WedgeMesh11.Scale = Vector3.new(1, 1, 1)
  142. WedgeMesh22 = Instance.new("SpecialMesh", HandleWedge1)
  143. WedgeMesh22.MeshType = "Wedge"
  144. WedgeMesh22.Scale = Vector3.new(1, 1, 1)
  145. Handle2 = Make.P(Model, 2, 0.22, 0.4, BaseColor, 1, false, true)
  146. HandleBlock = Instance.new("BlockMesh", Handle2)
  147. HandleBlock.Scale = Vector3.new(1, 1, 1)
  148. function Dash()
  149. Activated = true
  150. Holding = true
  151. for i = 0,1,0.1 do
  152. wait()
  153. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  154. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i)
  155. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  156. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i)
  157. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  158. end
  159. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit, math.random(20, 30)) end)
  160. local vel = Instance.new("BodyVelocity", Char.Torso)
  161. vel.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  162. vel.velocity = Char.Head.CFrame.lookVector * 60
  163. while Holding == true do
  164. wait()
  165. Effect(Char.Torso, 3.5, 2, 3.5, 0, 0,1, 1.5,0,0,BrickColor.new(NormalModeColor), 20329976)
  166. vel.velocity = Char.Head.CFrame.lookVector * 50
  167. end
  168. for i = 0,1,0.1 do
  169. wait()
  170. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.4+1.4*i,0,-0.3+0.3*i)
  171. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  172. RW.C0 = CFrame.new(1.5,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(-1.2+1.2*i,0,-1.2+1.2*i)
  173. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  174. end
  175. Hitdmg:disconnect()
  176. vel:remove()
  177. Activated = false
  178. end
  179. function FirstSlash()
  180. Activated = true
  181. Combo = 1
  182. for i = 0,1,0.1 do
  183. wait()
  184. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.3*i)
  185. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  186. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0.3*i)
  187. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5, 0.5*i, 0)
  188. end
  189. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  190. for i = 0,1,0.1 do
  191. wait()
  192. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,-0.3+0.3*i)
  193. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  194. RW.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+2,0,0.3)
  195. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+2.3*i,0.5, 0)
  196. end
  197. wait(0.2)
  198. Activated = false
  199. Hitdmg:disconnect()
  200. end
  201.  
  202. function SecondSlash()
  203. Activated = true
  204. Combo = 2
  205. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  206. for i = 0,1,0.1 do
  207. wait()
  208. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  209. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  210. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  211. RW.C1 = CFrame.new(0, 1.55, 0) * CFrame.fromEulerAnglesXYZ(-1*i,-1.2*i,0)
  212. end
  213. wait(0.2)
  214. Activated = false
  215. Hitdmg:disconnect()
  216. end
  217. function ThirdSlash()
  218. Activated = true
  219. Combo = 3
  220. Hitdmg=HitBox.Touched:connect(function(hit) Damage(hit,math.random(10,20)) end)
  221. coroutine.resume(coroutine.create(function()
  222. for i = 0,1,0.1 do
  223. wait()
  224. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  225. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  226. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  227. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  228. end
  229. end))
  230. wait(0.2)
  231. Activated = false
  232. Hitdmg:disconnect()
  233. end
  234. function Jump()
  235. Jumped = Jumped +1
  236. Jumping = true
  237. Jumpp = Instance.new("BodyVelocity", Char.Torso)
  238. Jumpp.P = 500
  239. Jumpp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  240. Jumpp.velocity = Char.Torso.Position + Vector3.new(0, 80, 0)
  241. game:service("Debris"):AddItem(Jumpp, 0.0000000000001)
  242. Jumpp:Destroy(wait(0.0000000000001))
  243. Jumpp:Remove(wait(0.0000000000001))
  244. wait(1)
  245. AbletoJump = false
  246. Jumping = false
  247. end
  248. function SuperCombo()
  249. Activated = true
  250. for i = 0,1,0.1 do
  251. wait()
  252. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.3*i,0,0)
  253. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  254. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  255. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  256. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  257. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  258. end
  259. sturf = Make.P(Char, 1,1,1, NormalModeColor, 1, false, true)
  260. sturf.CFrame = Char.Torso.CFrame*CFrame.new(0,-2.8,0)
  261. msh = Make.FM(sturf,'cylinder',0,0,0)
  262. for i = 0,1,0.1 do wait(0.025)
  263. sturf.Transparency = sturf.Transparency -0.06
  264. msh.Scale = msh.Scale + Vector3.new(1.5,0.025,1.5)
  265. end
  266. for i, v in pairs(game:service("Players"):GetPlayers()) do
  267. if v.Name ~= Me.Name and (v.Character.Torso.Position - Char.Torso.Position).magnitude < 10 then
  268. EBp = Instance.new("BodyPosition", v.Character.Torso)
  269. EBp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  270. EBp.position = v.Character.Torso.Position + Vector3.new(0, 10, 0)
  271. game:service("Debris"):AddItem(EBp,1)
  272. end
  273. end
  274.  
  275. wait(1)
  276. Char.Torso.Neck.C0=necko
  277. sturf:remove()
  278. Activated = false
  279. end
  280. function Guard()
  281. Activated = true
  282. Guarding = true
  283. Mode = "Blocking"
  284. for i = 0,1,0.1 do
  285. wait()
  286. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, -0.25*i, 0)
  287. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
  288. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i,0,-1.25*i)
  289. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  290. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.4*i)
  291. end
  292. SaveHealth = Char.Humanoid.Health
  293. taco = Instance.new("Part",Char)
  294. taco.Size = Vector3.new(1,1,1)
  295. taco.CanCollide = false
  296. taco.Anchored = true
  297. taco.Transparency = 1
  298. while Guarding == true do wait()
  299. for i = 0,1,0.1 do
  300. wait()
  301. taco.CFrame = Char.Torso.CFrame*CFrame.new(-3,0,0)*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  302. Shield = Effect(Char.Torso, 4,4,3, -4,0,-1, math.pi/-2,0,1,BrickColor.new(BlockModeColor), 60120613)
  303. end
  304. if Char.Humanoid.Health < SaveHealth then
  305. DamageTaken = SaveHealth - Char.Humanoid.Health
  306. end
  307. pcall(function() Char.Humanoid.Health:TakeDamage(DamageTaken/2) end)
  308. coroutine.resume(coroutine.create(function()
  309. for i, x in pairs(game:service("Players"):GetPlayers()) do
  310. if x.Name ~= Me.Name and (x.Character.Torso.Position - RightArm.Position).magnitude < 7 then
  311. derp = Instance.new("BodyVelocity", x.Character.Torso)
  312. derp.P = 200
  313. derp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  314. derp.velocity = taco.CFrame.lookVector * 80
  315. game:service("Debris"):AddItem(derp,0.2)
  316. end
  317. end
  318. end))
  319. end
  320. taco:Destroy()
  321. coroutine.resume(coroutine.create(function()
  322. for i = 0,1,0.1 do
  323. wait()
  324. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5+0.5*i)
  325. Char.Torso.CFrame = Char.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0.25*i, 0)
  326. end
  327. end))
  328. Activated = false
  329. Mode = "Normal"
  330. end
  331. function Shockwave()
  332. Activated = true
  333. Mode = "Ranged"
  334. derpin = true
  335. for i = 0,1,0.1 do
  336. wait()
  337. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+1.3*i,0,0.3*i)
  338. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  339. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  340. RW.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(-0.9*i,0,0)
  341. end
  342. Gyro = Instance.new("BodyGyro", Char.Torso)
  343. Gyro.D = 50
  344. Gyro.cframe = Char.Torso.CFrame
  345. Gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  346. bp = Make.BP(Char.Torso,Char.Torso.Position+Vector3.new(0,35,0))
  347. coroutine.resume(coroutine.create(function()
  348. while derpin == true do wait()
  349. for i = 0,1,0.1 do wait()
  350. Derp = Effect2(Char.Torso, 3*i,3*i,3*i, 0,0.5,-2,BrickColor.new(RangedModeColor),Char)
  351. end
  352. end
  353. end))
  354. wait(2)
  355. bp.position = Char.Torso.Position+Vector3.new(0,-35,0)
  356. coroutine.resume(coroutine.create(function()
  357. for i = 0,1,0.1 do wait()
  358. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  359. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  360. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1,0)
  361. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.6*i,0,0)
  362. lel = Effect(Char.Torso, 10*i,1.2*i,10*i, 0,-2,0, 0,0,0,BrickColor.new(RangedModeColor),20329976)
  363. end
  364. derpin = false
  365. for i, v in pairs(game:service("Players"):GetPlayers()) do
  366. if v.Name ~= Me.Name and (v.Character.Torso.Position - Char.Torso.Position).magnitude < 20 then
  367. v.Character.Humanoid:TakeDamage(40)
  368. v.Character.Humanoid.Sit = true
  369. EBV = Instance.new("BodyVelocity", v.Character.Torso)
  370. EBV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  371. EBV.velocity = v.Character.Torso.CFrame.lookVector * -30
  372. game:service("Debris"):AddItem(EBV,0.2)
  373. end
  374. end
  375. end))
  376. wait(1)
  377. Gyro:remove()
  378. bp:remove()
  379. wait(1)
  380. Mode = "Normal"
  381. Activated = false
  382. end
  383. function bdown(mouse)
  384. if Activated == true then return end
  385. if Combo == 0 then
  386. FirstSlash()
  387. coroutine.resume(coroutine.create(function()
  388. wait(0.5)
  389. if Activated == false then
  390. Combo = 0
  391. end
  392. end))
  393. elseif Combo == 1 then
  394. SecondSlash()
  395. coroutine.resume(coroutine.create(function()
  396. wait(0.5)
  397. if Activated == false then
  398. Combo = 0
  399. end
  400. end))
  401. elseif Combo == 2 then
  402. ThirdSlash()
  403. coroutine.resume(coroutine.create(function()
  404. wait(0.5)
  405. if Activated == false then
  406. Combo = 0
  407. end
  408. end))
  409. end
  410. end
  411.  
  412. coroutine.resume(coroutine.create(function()
  413. while wait() do
  414. if Selected == true then
  415. coroutine.resume(coroutine.create(function()
  416. for i = 0,1,0.1 do
  417. wait(0.1)
  418. DiamondWeld.C0 = DiamondWeld.C0*CFrame.Angles(0, math.rad(i*1), 0)
  419. end
  420. end))
  421. if Mode == "Normal" then
  422. BaseThing.BrickColor = BrickColor.new(NormalModeColor)
  423. Tip2.BrickColor = BrickColor.new(NormalModeColor)
  424. Tip1.BrickColor = BrickColor.new(NormalModeColor)
  425. HandleSturf.BrickColor = BrickColor.new(NormalModeColor)
  426. HandleSturf2.BrickColor = BrickColor.new(NormalModeColor)
  427. HandleSturf3.BrickColor = BrickColor.new(NormalModeColor)
  428. LongSword2.BrickColor = BrickColor.new(NormalModeColor)
  429.  
  430. elseif Mode == "Ranged" then
  431. BaseThing.BrickColor = BrickColor.new(RangedModeColor)
  432. Tip2.BrickColor = BrickColor.new(RangedModeColor)
  433. Tip1.BrickColor = BrickColor.new(RangedModeColor)
  434. HandleSturf.BrickColor = BrickColor.new(RangedModeColor)
  435. HandleSturf2.BrickColor = BrickColor.new(RangedModeColor)
  436. HandleSturf3.BrickColor = BrickColor.new(RangedModeColor)
  437. LongSword2.BrickColor = BrickColor.new(RangedModeColor)
  438.  
  439. elseif Mode == "Blocking" then
  440. BaseThing.BrickColor = BrickColor.new(BlockModeColor)
  441. Tip2.BrickColor = BrickColor.new(BlockModeColor)
  442. Tip1.BrickColor = BrickColor.new(BlockModeColor)
  443. HandleSturf.BrickColor = BrickColor.new(BlockModeColor)
  444. HandleSturf2.BrickColor = BrickColor.new(BlockModeColor)
  445. HandleSturf3.BrickColor = BrickColor.new(BlockModeColor)
  446. LongSword2.BrickColor = BrickColor.new(BlockModeColor)
  447. end
  448. end
  449. end
  450. end))
  451.  
  452. function key(key)
  453. if Activated == true then return end
  454. if key == "z" then
  455. Dash()
  456. end
  457. if key == "x" then
  458. Shockwave()
  459. end
  460. if key == "c" then
  461. Guard()
  462. end
  463. if key == "e" then
  464. SuperCombo()
  465. end
  466. end
  467. function key2(key)
  468. if key == "z" then
  469. Holding = false
  470. end
  471. if key == "c" then
  472. Guarding = false
  473. end
  474. end
  475. if script.Name ~= "Made by: [[>> BrannZeus© <<]]" then
  476. script.Disabled = true
  477. Instance.new("Explosion",Char.Torso).Position = Char.Torso.Position
  478. end
  479. Damage = function(hit, amount)
  480. if attackdebounce == false then
  481. attackdebounce = true
  482. coroutine.resume(coroutine.create(function()
  483. wait(0.1)
  484. attackdebounce = false
  485. end))
  486. if hit.Parent==nil then
  487. return
  488. end
  489. h=hit.Parent:FindFirstChild("Humanoid")
  490. if h~=nil and hit.Parent.Name~=Char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  491. amount=amount
  492. print(hit.Parent.Name)
  493. c = Instance.new("ObjectValue",h)
  494. c.Name = "creator"
  495. c.Value = Me
  496. game:GetService("Debris"):AddItem(c,.5)
  497. h:TakeDamage(amount)
  498. end
  499. end
  500. end
  501. function KewlShet(parent, x,y,z, color)
  502. local p=Instance.new("Part", parent)
  503. p.Size=Vector3.new(1,1,1)
  504. p.BrickColor= color
  505. p.Anchored=true
  506. p.CanCollide=false
  507. p.CFrame=parent.CFrame*CFrame.new(math.random(-0.6,0.6),math.random(-1,1),math.random(-0.6,0.6))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  508. local m=Instance.new("BlockMesh", p)
  509. m.Scale=Vector3.new(x, y, z)
  510. Delay(0,function()
  511. local p=p
  512. for i=1,5 do
  513. wait(0.05)
  514. p.Transparency=i/5
  515. end
  516. p:remove()
  517. end)
  518. end
  519. function Effect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color,id)
  520. local msh1 = Instance.new("SpecialMesh")
  521. msh1.Scale = Vector3.new(x1, y1, z1)
  522. msh1.MeshType = "FileMesh"
  523. msh1.MeshId = "http://www.roblox.com/asset/?id="..id..""
  524. S=Instance.new("Part", Char)
  525. S.formFactor=0
  526. S.Size=Vector3.new(1, 1, 1)
  527. S.BrickColor=color
  528. S.TopSurface=0
  529. S.BottomSurface=0
  530. S.Anchored=true
  531. S.CanCollide=false
  532. msh1.Parent = S
  533. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  534. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  535. end
  536. function Effect2(part,x1,y1,z1,x2,y2,z2,color,parent)
  537. local msh2 = Instance.new("BlockMesh")
  538. msh2.Scale = Vector3.new(x1, y1, z1)
  539. S=Instance.new("Part", parent)
  540. S.FormFactor=0
  541. S.Size=Vector3.new(1, 1, 1)
  542. S.BrickColor = color
  543. S.Reflectance = 0
  544. S.TopSurface=0
  545. S.BottomSurface=0
  546. S.Transparency=0.5
  547. S.Anchored=true
  548. S.CanCollide=false
  549. msh2.Parent = S
  550. S.CFrame=part.CFrame*CFrame.new(x2, y2, z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  551. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  552. end
  553. script.Name = "Made by: [[>> BrannZeus© <<]]"
  554. function s(mouse)
  555. AlreadySelected = true
  556. Selected = true
  557. Activated = true
  558. mouse.Button1Down:connect(function() bdown(mouse) end)
  559. mouse.Button1Up:connect(function() ButtonUp(mouse) end)
  560. mouse.KeyDown:connect(key)
  561. mouse.KeyUp:connect(key2)
  562. HitBoxWeld,DiamondWeld,HandleSturfW2,HandleSturfW3,BaseThingWeld,TorsoW,RW, LW, HandleWeld, HandleWeld2, HandleWeldSpike1, HandleWeldSpike2, LongWeld, LongWeld2, TipWeld1, BigTipWeld1, BigTipWeld2, TipWeld2 = Instance.new("Weld",Char.Torso),Instance.new("Weld",Char.Torso),Instance.new("Weld",Char.Torso), Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso),Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso), Instance.new("Weld", Char.Torso)
  563. coroutine.resume(coroutine.create(function()
  564. for _,v in pairs(Model:children()) do
  565. if v.className == "Part" then
  566. v.Anchored = false
  567. FakeTorso.Anchored = false
  568. end
  569. end
  570. for i,x in pairs(Char:children()) do
  571. if x.className == "Shirt" or x.className == "Pants" or x.className == "CharacterMesh" then
  572. x:remove()
  573. end
  574. end
  575. end))
  576. RW.Part0 = Char.Torso
  577. RW.C0 = CFrame.new(1.5, 0.5, 0)
  578. RW.C1 = CFrame.new(0, 0.5, 0)
  579. RW.Part1 = RightArm
  580. LW.Part0 = Char.Torso
  581. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  582. LW.C1 = CFrame.new(0, 0.5, 0)
  583. LW.Part1 = LeftArm
  584. TorsoW.Part0 = Char.Torso
  585. TorsoW.C0 = CFrame.new(0, 0.5, 0)
  586. TorsoW.C1 = CFrame.new(0, 0.5, 0)
  587. TorsoW.Part1 = FakeTorso
  588. for i = 0,1,0.1 do
  589. wait()
  590. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,-0.4*i)
  591. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.3*i)
  592. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  593. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0.3*i)
  594. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  595. end
  596. HandleSturfW2 = Instance.new("Weld", Char.Torso)
  597. HandleSturfW2.Part0 = Handle
  598. HandleSturfW2.C0 = CFrame.new(-0.5, -0.5, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  599. HandleSturfW2.C1 = CFrame.new(0, 0.5, 0)
  600. HandleSturfW2.Part1 = HandleSturf2
  601.  
  602. HandleSturfW3 = Instance.new("Weld", Char.Torso)
  603. HandleSturfW3.Part0 = Handle
  604. HandleSturfW3.C0 = CFrame.new(-0.5, 0, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  605. HandleSturfW3.C1 = CFrame.new(0, 0.5, 0)
  606. HandleSturfW3.Part1 = HandleSturf3
  607.  
  608. DiamondWeld = Instance.new("Weld", Char.Torso)
  609. DiamondWeld.Part0 = Handle
  610. DiamondWeld.C0 = CFrame.new(-0.5, 1.24, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  611. DiamondWeld.C1 = CFrame.new(0, 0.5, 0)
  612. DiamondWeld.Part1 = Diamond
  613.  
  614. HandleSturfW1 = Instance.new("Weld", Char.Torso)
  615. HandleSturfW1.Part0 = Handle
  616. HandleSturfW1.C0 = CFrame.new(-0.5, 0.5, 0)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  617. HandleSturfW1.C1 = CFrame.new(0, 0.5, 0)
  618. HandleSturfW1.Part1 = HandleSturf
  619.  
  620. BaseThingWeld.Part0 = Handle
  621. BaseThingWeld.C0 = CFrame.new(-0.45, 1.4, -0.05)*CFrame.fromEulerAnglesXYZ(math.pi/-2, 0, math.pi/2)
  622. BaseThingWeld.C1 = CFrame.new(0, 0.5, 0)
  623. BaseThingWeld.Part1 = BaseThing
  624. HandleWeld.Part0 = RightArm
  625. HandleWeld.C0 = CFrame.new(0, -1, 0.5)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  626. HandleWeld.C1 = CFrame.new(0, 0.5, 0)
  627. HandleWeld.Part1 = Handle
  628.  
  629. BigTipWeld2.Part0 = Handle2
  630. BigTipWeld2.C0 = CFrame.new(-0.7, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  631. BigTipWeld2.C1 = CFrame.new(0, 0.5, 0)
  632. BigTipWeld2.Part1 = BigTip2
  633. BigTipWeld1.Part0 = Handle2
  634. BigTipWeld1.C0 = CFrame.new(0.7, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  635. BigTipWeld1.C1 = CFrame.new(0, 0.5, 0)
  636. BigTipWeld1.Part1 = BigTip1
  637. TipWeld2.Part0 = Handle2
  638. TipWeld2.C0 = CFrame.new(-0.6, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  639. TipWeld2.C1 = CFrame.new(0, 0.5, 0)
  640. TipWeld2.Part1 = Tip2
  641. TipWeld1.Part0 = Handle2
  642. TipWeld1.C0 = CFrame.new(0.6, 0, 3.87)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  643. TipWeld1.C1 = CFrame.new(0, 0.5, 0)
  644. TipWeld1.Part1 = Tip1
  645. HitBoxWeld.Part0 = Handle
  646. HitBoxWeld.C0 = CFrame.new(-0.5, -3.2, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  647. HitBoxWeld.C1 = CFrame.new(0, 0.5, 0)
  648. HitBoxWeld.Part1 = HitBox
  649. LongWeld.Part0 = Handle
  650. LongWeld.C0 = CFrame.new(-0.5, -2.6, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  651. LongWeld.C1 = CFrame.new(0, 0.5, 0)
  652. LongWeld.Part1 = LongSword
  653. LongWeld2.Part0 = Handle
  654. LongWeld2.C0 = CFrame.new(-0.5, -2.6, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  655. LongWeld2.C1 = CFrame.new(0, 0.5, 0)
  656. LongWeld2.Part1 = LongSword2
  657. HandleWeld2.Part0 = Handle
  658. HandleWeld2.C0 = CFrame.new(-0.5, -0.9, 0)*CFrame.fromEulerAnglesXYZ(math.pi/2, 0, math.pi/2)
  659. HandleWeld2.C1 = CFrame.new(0, 0.5, 0)
  660. HandleWeld2.Part1 = Handle2
  661. HandleWeldSpike2.Part0 = Handle2
  662. HandleWeldSpike2.C0 = CFrame.new(-1.6, 0.02, 0.55)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/2)
  663. HandleWeldSpike2.C1 = CFrame.new(0, 0.5, 0)
  664. HandleWeldSpike2.Part1 = HandleWedge2
  665. HandleWeldSpike1.Part0 = Handle2
  666. HandleWeldSpike1.C0 = CFrame.new(1.6, 0, 0.55)*CFrame.fromEulerAnglesXYZ(math.pi/-1, 0, math.pi/-2)
  667. HandleWeldSpike1.C1 = CFrame.new(0, 0.5, 0)
  668. HandleWeldSpike1.Part1 = HandleWedge1
  669. for _,v in pairs(Model:children()) do
  670. if v.className == "Part" and v.Name ~= "HitBox" then
  671. coroutine.resume(coroutine.create(function()
  672. for x = 1, 10 do
  673. wait(0.1)
  674. v.Transparency = v.Transparency-0.1
  675. end
  676. end))
  677. end
  678. end
  679. FakeTorso.Transparency = 0
  680. Char.Torso.Transparency = 1
  681. wait(1)
  682. for i = 0,1,0.1 do
  683. wait()
  684. Char.Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,-0.4+0.4*i)
  685. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  686. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  687. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  688. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  689. end
  690. FakeTorso.Transparency = 0
  691. Activated = false
  692. end
  693. function ds(mouse)
  694. Selected = false
  695. for _,v in pairs(Model:children()) do
  696. if v.className == "Part" then
  697. coroutine.resume(coroutine.create(function()
  698. for x = 1, 10 do
  699. wait(0.1)
  700. v.Transparency = v.Transparency+0.1
  701. end
  702. end))
  703. end
  704. end
  705. end
  706. bin.Selected:connect(s)
  707. bin.Deselected:connect(ds)
  708. function onRunning(speed)
  709. if Activated == true then return end
  710. if Selected then
  711. if speed>0 then
  712. walking = true
  713. for i = 0,1,0.2 do
  714. wait(0)
  715. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,-0.3*i)
  716. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  717. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-0.8*i,0.3*i,0)
  718. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  719. end
  720. else
  721. walking = false
  722. for i = 0,1,0.1 do
  723. wait(0)
  724. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,-0.3+0.3*i)
  725. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  726. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5-0.8+0.8*i,-0.3+0.3*i,0)
  727. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  728. end
  729. end
  730. end
  731. if AlreadySelected and not Selected then
  732. if speed>1 then
  733. lolwalking = true
  734. for i = 0,1,0.1 do
  735. wait()
  736. Char.Torso.Neck.C1 = necko*CFrame.new(0, 0.6, -1.5)
  737. Char.Torso.Neck.C0 = necko*CFrame.new(0, 0, 0)
  738. TorsoW.C0 = CFrame.new(0, 0.5, -0.4)*CFrame.fromEulerAnglesXYZ(-0.25*i, 0, 0)
  739. TorsoW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  740. LW.C0 = CFrame.new(-1.5,0.5,-0.4) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,-0.2*i)
  741. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  742. RW.C0 = CFrame.new(1.5,0.5,-0.4) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.2*i)
  743. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  744. end
  745. else
  746. lolwalking = false
  747. for i = 0,1,0.1 do
  748. wait()
  749. Char.Torso.Neck.C1 = necko*CFrame.new(0, 0, -1.5)
  750. Char.Torso.Neck.C0 = necko*CFrame.new(0, 0, 0)
  751. TorsoW.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(-0.25+0.25*i, 0, 0)
  752. TorsoW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  753. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  754. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  755. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  756. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  757. end
  758. end
  759. end
  760. end
  761. Char.Humanoid.Running:connect(onRunning)
  762.  
  763. function makeclone()
  764. tip = HitBox
  765. if tip~= nil then
  766. off = (tip.Size.z)/2
  767. point = (tip.CFrame*CFrame.new(0, 0, -off)).p
  768. unit = (lastpoint - point).unit
  769. mag = (lastpoint - point).magnitude
  770. if mag>1 then
  771. middle = lastpoint-(unit*(mag/2))
  772. cf = CFrame.new(middle, point)
  773. for _, x in pairs(Model:GetChildren()) do
  774. if x.className == "Part" then
  775. um = x:Clone()
  776. um.Parent = workspace
  777. um.Name = "derp"
  778. um.Anchored = true
  779. um.CanCollide = false
  780. um.BrickColor = x.BrickColor
  781. end
  782. end
  783. um.CFrame = cf
  784. table.insert(leds, um)
  785. lastpoint = point
  786. end
  787. end
  788. end
  789. function fade()
  790. for _,v in pairs(game:service("Workspace"):children()) do
  791. if v.className == "Part" and v.Name == "derp" then
  792. v.Transparency = v.Transparency+0.2
  793. if v.Transparency>1 then
  794. v:remove()
  795. end
  796. end
  797. end
  798. end
  799. coroutine.resume(coroutine.create(function()
  800. while true do
  801. makeclone()
  802. wait(0.05)
  803. fade()
  804. end
  805. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement