simplistic27

Zues Sword

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