Advertisement
SheeityArtist

rainbow vanguard

Feb 18th, 2017
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 46.78 KB | None | 0 0
  1. --[[
  2. Vanguard script made by hacker33331916.
  3. Made for an upcoming game I will be making. Don't expect it to be out anytime soon though.
  4. And hello hacker :D
  5. Have fun with my scripts by the way c:
  6. ]]
  7. Player = game:GetService("Players").LocalPlayer
  8. Character = Player.Character
  9. PlayerGui = Player.PlayerGui
  10. Backpack = Player.Backpack
  11. Torso = Character.Torso
  12. Head = Character.Head
  13. Humanoid = Character.Humanoid
  14. LeftArm = Character["Left Arm"]
  15. LeftLeg = Character["Left Leg"]
  16. RightArm = Character["Right Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LS = Torso["Left Shoulder"]
  19. LH = Torso["Left Hip"]
  20. RS = Torso["Right Shoulder"]
  21. RH = Torso["Right Hip"]
  22. Neck = Torso.Neck
  23. it=Instance.new
  24. vt=Vector3.new
  25. cf=CFrame.new
  26. euler=CFrame.fromEulerAnglesXYZ
  27. angles=CFrame.Angles
  28. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  29. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  30. attack = false
  31. attacktype = 1
  32. damage = 5
  33. oridamage = 50
  34. BladeNumb=0.8
  35. GyroNumb=0
  36. attackdebounce = false
  37. ssdebounce=false
  38. MMouse=nil
  39. Mode="Sword"
  40. cannonmode=false
  41. combo=0
  42. spinning=false
  43. shootmode=true
  44. --player
  45. player = nil
  46. --save shoulders
  47. RSH, LSH = nil, nil
  48. --welds
  49. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  50. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  51.  
  52.  
  53. if Character:findFirstChild("Blast Blade",true) ~= nil then
  54. Character:findFirstChild("Blast Blade",true).Parent = nil
  55. end
  56. if Character:findFirstChild("Block",true) ~= nil then
  57. Character:findFirstChild("Block",true).Parent = nil
  58. end
  59.  
  60.  
  61. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  62. local fp = it("Part")
  63. fp.formFactor = formfactor
  64. fp.Parent = parent
  65. fp.Reflectance = reflectance
  66. fp.Transparency = transparency
  67. fp.CanCollide = false
  68. fp.Locked=true
  69. fp.BrickColor = brickcolor
  70. fp.Name = name
  71. fp.Size = size
  72. fp.Position = Torso.Position
  73. fp.BottomSurface="Smooth"
  74. fp.TopSurface="Smooth"
  75. fp:BreakJoints()
  76. return fp
  77. end
  78. function part2(formfactor,parent,reflectance,transparency,brickcolor,name,size,material)
  79. local fp = it("Part")
  80. fp.formFactor = formfactor
  81. fp.Parent = parent
  82. fp.Reflectance = reflectance
  83. fp.Transparency = transparency
  84. fp.CanCollide = false
  85. fp.Locked=true
  86. fp.BrickColor = brickcolor
  87. fp.Name = name
  88. fp.Material = material
  89. fp.Size = size
  90. fp.Position = Torso.Position
  91. fp.BottomSurface="Smooth"
  92. fp.TopSurface="Smooth"
  93. fp:BreakJoints()
  94. return fp
  95. end
  96.  
  97. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  98. local mesh = it(Mesh)
  99. mesh.Parent = part
  100. if Mesh=="SpecialMesh" then
  101. mesh.MeshType = meshtype
  102. mesh.MeshId = meshid
  103. end
  104. mesh.Offset=offset
  105. mesh.Scale=scale
  106. return mesh
  107. end
  108.  
  109. function weld(parent,part0,part1,c0)
  110. local weld = it("Weld")
  111. weld.Parent = parent
  112. weld.Part0 = part0
  113. weld.Part1 = part1
  114. weld.C0 = c0
  115. return weld
  116. end
  117.  
  118. local modelzorz = Instance.new("Model")
  119. modelzorz.Parent = Character
  120. modelzorz.Name = "Blast Blade"
  121.  
  122. local prt1=part(3,modelzorz,0,0,Torso.BrickColor,"Part1",vt(1,1,1))
  123. local prt2=part(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part2",vt(1,1,1))
  124. local prt3=part(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part3",vt(0.8,0.5,0.8))
  125. local prt5=part(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part5",vt(1,1,1))
  126. local prt6=part(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part6",vt(1,1,1))
  127. local prt7=part2(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part7",vt(1,1,1),"Neon")
  128. local prt8=part2(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part8",vt(1,1,1),"Neon")
  129. local hitbox=part(3,modelzorz,0,1,BrickColor.new("Institutional white"),"Hitbox",vt(1,5,3))
  130.  
  131. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(0.45,1,0.45))
  132. local msh2=mesh("CylinderMesh",prt2,"","",vt(0,0,0),vt(0.4,2,0.4))
  133. local msh3=mesh("SpecialMesh",prt3,"Head","",vt(0,0,0),vt(1,1,1))
  134. local msh5=mesh("SpecialMesh",prt5,"Head","",vt(0,0,0),vt(0.8,0.5,0.8))
  135. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.5,0.5,1.3))
  136. local msh7=mesh("SpecialMesh",prt7,"Sphere","",vt(0,0,0),vt(1.4,1.4,1.4))
  137. local msh8=mesh("SpecialMesh",prt8,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(1.5,1.5,1.5))
  138.  
  139. local wld1=weld(prt1,prt1,Torso,euler(-2.5,1.57,0)*cf(-2,-3,-0.6))
  140. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
  141. local wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1.2,0))
  142. local wld5=weld(prt5,prt5,prt2,euler(0,0,0)*cf(0,-1,0))
  143. local wld6=weld(prt6,prt6,prt5,euler(0,0,0)*cf(0,-0.2,0))
  144. local wld7=weld(prt7,prt7,prt6,euler(0,0,0)*cf(0,-1,0))
  145. local wld8=weld(prt8,prt8,prt7,euler(0,1.57,0)*cf(0,0,0))
  146. local hitboxwld=weld(hitbox,hitbox,prt7,euler(0,0,0)*cf(0,-1.5,0))
  147.  
  148. numb=0
  149. for i=1,8 do
  150. local prt4=part(3,modelzorz,1,0,BrickColor.new("Institutional white"),"Part4",vt(1,1,1))
  151. local msh4=mesh("SpecialMesh",prt4,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.3,0.2,0.3))
  152. local wld4=weld(prt4,prt4,prt3,cf(0,-0.4,0)*euler(1.57,numb,0))
  153. numb=numb+0.785
  154. end
  155. numb=0
  156. for i=1,4 do
  157. local prt9=part2(3,modelzorz,0,0,BrickColor.new("Institutional white"),"Part9",vt(1,1,1),"Neon")
  158. local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(0.2,2,0.2))
  159. local wld9=weld(prt9,prt9,prt8,cf(0,0,0)*euler(0,0,numb))
  160. numb=numb+0.785
  161. end
  162. numb=0
  163. numb2=0
  164. numb3=0
  165. for i=1,8 do
  166. local prt10=part(3,modelzorz,1,0,BrickColor.new("Institutional white"),"Part10",vt(1,1,1))
  167. local msh10=mesh("SpecialMesh",prt10,"Wedge","",vt(0,0,0),vt(0.3-numb2,1.5+numb3,1.5-numb3))
  168. local wld10=weld(prt10,prt10,prt6,euler(0,3.14,0)*cf(0,-0.6-numb,-0.8))
  169. coroutine.resume(coroutine.create(function(Weld,Number,Number3)
  170. while true do
  171. wait(0)
  172. wld10.C0=euler(0,3.14,0)*cf(0,-0.6-Number,-BladeNumb+(Number3/2))
  173. end
  174. end),wld10,numb,numb3)
  175. local prt11=part(3,modelzorz,1,0,BrickColor.new("Institutional white"),"Part11",vt(1,1,1))
  176. local msh11=mesh("SpecialMesh",prt11,"Wedge","",vt(0,0,0),vt(0.3-numb2,1.5+numb3,1.5-numb3))
  177. local wld11=weld(prt11,prt11,prt6,cf(0,-0.6-numb,0.8))
  178. coroutine.resume(coroutine.create(function(Weld,Number,Number3)
  179. while true do
  180. wait(0)
  181. wld11.C0=cf(0,-0.6-Number,BladeNumb-(Number3/2))
  182. end
  183. end),wld11,numb,numb3)
  184. numb=numb+0.6
  185. numb2=numb2+0.01
  186. numb3=numb3-0.1
  187. end
  188. if (script.Parent.className ~= "HopperBin") then
  189. Tool = Instance.new("HopperBin")
  190. Tool.Parent = Backpack
  191. Tool.Name = "Blast Blade"
  192. script.Parent = Tool
  193. end
  194. Bin = script.Parent
  195.  
  196. local bg = it("BodyGyro")
  197. bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  198. bg.P = 20e+003
  199. bg.Parent = nil
  200.  
  201. so = function(id,par,vol,pit)
  202. coroutine.resume(coroutine.create(function()
  203. local sou = Instance.new("Sound",par or workspace)
  204. sou.Volume=vol
  205. sou.Pitch=pit or 1
  206. sou.SoundId=id
  207. wait()
  208. sou:play()
  209. wait(6)
  210. sou:Remove()
  211. end))
  212. end
  213.  
  214. function unequipweld()
  215. wld1.Part1=Torso
  216. wld1.C0=euler(-2.5,1.57,0)*cf(-2,-3,-0.6)
  217. wld1.C1=cf(0,0,0)
  218. end
  219.  
  220. function equipweld()
  221. wld1.Part1=RightArm
  222. wld1.C0=euler(1.57+0.4,0,0)*cf(0,1,0)
  223. end
  224.  
  225. function hideanim()
  226. equipped=false
  227. wait(0.1)
  228. bg.Parent=nil
  229. Neck.C0=necko
  230. unequipweld()
  231. end
  232.  
  233. function equipanim()
  234. equipped=true
  235. wait(0.1)
  236. equipweld()
  237. if Mode=="Sword" then
  238. Neck.C0=necko
  239. RW.C0=cf(0.5, 0.5, -0.5) * euler(1,0,0)
  240. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.4)
  241. LW.C0=cf(-1, 0.5, -0.5) * euler(1,0,0)
  242. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  243. elseif Mode=="Cannon" then
  244. coroutine.resume(coroutine.create(function()
  245. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  246. bg.P = 9000
  247. bg.Parent = Torso
  248. --wld1.C0 = euler(0,0,0) * cf(0,0,0)
  249. while cannonmode==true do
  250. wait()
  251. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  252. bg.cframe = cf(Head.Position,pos4) * euler(0,3.14+GyroNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  253. bg.Parent = Head
  254. local pos5 = Vector3.new(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  255. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  256. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  257. offset=offset/mag
  258. end
  259. for i=0,1,0.1 do
  260. wait()
  261. bg.Parent=nil
  262. end
  263. end))
  264. Neck.C0=necko*euler(0,0,1)
  265. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  266. RW.C0=cf(1.5, 0.5, 0) * euler(0,1,0)
  267. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  268. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1,1,0)
  269. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  270. end
  271. end
  272.  
  273. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  274. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  275. end
  276.  
  277. spread=0
  278. range=100
  279. rangepower=25
  280. function shoottrail(mouse,baseprt)
  281. coroutine.resume(coroutine.create(function(v)
  282. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-MMouse.Hit.p).magnitude/100
  283. local dir = CFrame.new((baseprt.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spreadvector)
  284. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
  285. local rangepos = range
  286. local function drawtrail(From,To)
  287. local effectsmsh = Instance.new("CylinderMesh")
  288. effectsmsh.Scale = Vector3.new(1,1,1)
  289. effectsmsh.Name = "Mesh"
  290. local effectsg = Instance.new("Part")
  291. effectsg.formFactor = 3
  292. effectsg.CanCollide = false
  293. effectsg.Name = "Eff"
  294. effectsg.Locked = true
  295. effectsg.Anchored = true
  296. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  297. effectsg.Parent = workspace
  298. effectsmsh.Parent = effectsg
  299. effectsg.BrickColor = BrickColor.random()
  300. effectsg.Reflectance = 0.25
  301. local LP = From
  302. local point1 = To
  303. local mg = (LP - point1).magnitude
  304. effectsmsh.Scale = Vector3.new(5,mg*5,5)
  305. if shootmode==true then
  306. Lightning(LP,point1,5,1,BrickColor.random(),0.3,0.1)
  307. end
  308. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  309. coroutine.resume(coroutine.create(function()
  310. for i = 0 , 1 , 0.2 do
  311. wait()
  312. effectsg.Transparency = 1*i
  313. effectsmsh.Scale = Vector3.new(3-3*i,mg*5,3-3*i)
  314. end
  315. effectsg.Parent = nil
  316. end))
  317. end
  318. local newpos = baseprt.Position
  319. local inc = rangepower
  320. repeat
  321. wait()
  322. rangepos = rangepos - 10
  323. --dir = dir * CFrame.Angles(math.rad(-1),0,0)
  324. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  325. drawtrail(newpos,pos)
  326. newpos = newpos + (dir.lookVector * inc)
  327. if hit ~= nil then
  328. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  329. hum = hit.Parent.Humanoid
  330. tTorso=hit.Parent.Torso
  331. Damagefunc1(hit,10,30)
  332. attackdebounce=false
  333. --ADmg(hum,hit)
  334. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  335. hum = hit.Parent.Parent.Humanoid
  336. tTorso=hit.Parent.Parent.Torso
  337. Damagefunc1(hit.Parent.Parent.Torso,10,30)
  338. attackdebounce=false
  339. --ADmg(hum,hit)
  340. end
  341. MagicCircle(BrickColor.random(),CFrame.new(newpos),2,2,2,3,3,3)
  342. MagicBlock(BrickColor.random(),CFrame.new(newpos),2,2,2,2,2,2)
  343. end
  344. until rangepos <= 0
  345. end))
  346. end
  347.  
  348. function shoottrail2(mouse,baseprt)
  349. coroutine.resume(coroutine.create(function(v)
  350. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-MMouse.Hit.p).magnitude/100
  351. local dir = CFrame.new((baseprt.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spreadvector)
  352. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
  353. local rangepos = range*5
  354. local function drawtrail(From,To)
  355. local effectsmsh = Instance.new("SpecialMesh")
  356. effectsmsh.Scale = Vector3.new(1,1,1)
  357. effectsmsh.Name = "Mesh"
  358. effectsmsh.MeshType = "Sphere"
  359. local effectsg = Instance.new("Part")
  360. effectsg.formFactor = 3
  361. effectsg.CanCollide = false
  362. effectsg.Name = "Eff"
  363. effectsg.Locked = true
  364. effectsg.Anchored = true
  365. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  366. effectsg.Parent = workspace
  367. effectsmsh.Parent = effectsg
  368. effectsg.BrickColor = BrickColor.random()
  369. effectsg.Reflectance = 0.25
  370. local LP = From
  371. local point1 = To
  372. local mg = (LP - point1).magnitude
  373. effectsmsh.Scale = Vector3.new(7,7,7)
  374. --for i=1,3 do
  375. Lightning(LP,point1,5,1,BrickColor.random(),0.3,0.1)
  376. --end
  377. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  378. coroutine.resume(coroutine.create(function()
  379. for i = 0 , 1 , 0.1 do
  380. wait()
  381. effectsg.Transparency = 1*i
  382. effectsmsh.Scale = Vector3.new(10-10*i,mg*5,10-10*i)
  383. end
  384. effectsg.Parent = nil
  385. end))
  386. end
  387. local newpos = baseprt.Position
  388. local inc = rangepower/5
  389. repeat
  390. --wait()
  391. rangepos = rangepos - 10
  392. --dir = dir * CFrame.Angles(math.rad(-1),0,0)
  393. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  394. drawtrail(newpos,pos)
  395. newpos = newpos + (dir.lookVector * inc)
  396. if hit ~= nil then
  397. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  398. hum = hit.Parent.Humanoid
  399. tTorso=hit.Parent.Torso
  400. Damagefunc1(hit,20,40)
  401. attackdebounce=false
  402. --ADmg(hum,hit)
  403. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  404. hum = hit.Parent.Parent.Humanoid
  405. tTorso=hit.Parent.Parent.Torso
  406. Damagefunc1(hit.Parent.Parent.Torso,20,40)
  407. attackdebounce=false
  408. --ADmg(hum,hit)
  409. end
  410. MagicCircle(BrickColor.random(),CFrame.new(newpos),2,2,2,3,3,3)
  411. MagicBlock(BrickColor.random(),CFrame.new(newpos),2,2,2,2,2,2)
  412. end
  413. until rangepos <= 0
  414. end))
  415. end
  416.  
  417. function shoottrail3(mouse,baseprt)
  418. coroutine.resume(coroutine.create(function(v)
  419. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-MMouse.Hit.p).magnitude/100
  420. local dir = CFrame.new((baseprt.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spreadvector)
  421. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
  422. local rangepos = range*50
  423. local function drawtrail(From,To)
  424. local effectsmsh = Instance.new("SpecialMesh")
  425. effectsmsh.Scale = Vector3.new(1,1,1)
  426. effectsmsh.Name = "Mesh"
  427. effectsmsh.MeshType = "FileMesh"
  428. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  429. local effectsg = Instance.new("Part")
  430. effectsg.formFactor = 3
  431. effectsg.CanCollide = false
  432. effectsg.Name = "Eff"
  433. effectsg.Locked = true
  434. effectsg.Anchored = true
  435. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  436. effectsg.Parent = workspace
  437. effectsmsh.Parent = effectsg
  438. effectsg.BrickColor = BrickColor.random()
  439. effectsg.Reflectance = 0.25
  440. local LP = From
  441. local point1 = To
  442. local mg = (LP - point1).magnitude
  443. effectsmsh.Scale = Vector3.new(2,2,4)
  444. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  445. coroutine.resume(coroutine.create(function()
  446. wait()
  447. effectsg.Parent = nil
  448. end))
  449. end
  450. local newpos = baseprt.Position
  451. local inc = rangepower/10
  452. repeat
  453. wait()
  454. rangepos = rangepos - 10
  455. --dir = dir * CFrame.Angles(math.rad(-1),0,0)
  456. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  457. drawtrail(newpos,pos)
  458.         local list = game.Workspace:children()
  459.         local torso = nil
  460.         local dist = 100
  461.         local temp = nil
  462.         local human = nil
  463.         local temp2 = nil
  464.         for x = 1, #list do
  465.                 temp2 = list[x]
  466.                 if (temp2.className == "Model") and (temp2.Name~=Character.Name) then
  467.                         temp = temp2:findFirstChild("Torso")
  468.                         human = temp2:findFirstChild("Humanoid")
  469.                         if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  470.                                 if (temp.Position - pos).magnitude < dist then
  471.                                         torso = temp
  472.                                         dist = (temp.Position - pos).magnitude
  473.                                 end
  474.                         end
  475.                 end
  476.         end
  477. if torso~=nil then
  478. dir=CFrame.new(pos,torso.Position)
  479. end
  480. newpos = newpos + (dir.lookVector * inc)
  481. if hit ~= nil then
  482. rangepos = 0
  483. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  484. hum = hit.Parent.Humanoid
  485. tTorso=hit.Parent.Torso
  486. Damagefunc1(hit,20,30)
  487. attackdebounce=false
  488. --ADmg(hum,hit)
  489. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  490. hum = hit.Parent.Parent.Humanoid
  491. tTorso=hit.Parent.Parent.Torso
  492. Damagefunc1(hit.Parent.Parent.Torso,20,30)
  493. attackdebounce=false
  494. --ADmg(hum,hit)
  495. end
  496.         for i=1,math.random(3,6) do
  497.         BreakEffect(BrickColor.random(),CFrame.new(newpos),0.5,math.random(5,20),0.5)
  498.         end
  499.         so("http://roblox.com/asset/?id=142070127",hit,1,math.random()+math.random())
  500. MagicCircle(BrickColor.random(),CFrame.new(newpos),2,2,2,3,3,3)
  501. MagicBlock(BrickColor.random(),CFrame.new(newpos),2,2,2,2,2,2)
  502. end
  503. until rangepos <= 0
  504. end))
  505. end
  506.  
  507. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  508. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5),"Neon")
  509. prt.Anchored=true
  510. prt.CFrame=cframe
  511. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  512. coroutine.resume(coroutine.create(function()
  513. for i=0,1,0.1 do
  514. wait()
  515. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  516. prt.Transparency=i
  517. msh.Scale=msh.Scale+vt(x3,y3,z3)
  518. end
  519. prt.Parent=nil
  520. end))
  521. end
  522.  
  523. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  524. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5),"Neon")
  525. prt.Anchored=true
  526. prt.CFrame=cframe
  527. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  528. coroutine.resume(coroutine.create(function()
  529. for i=0,1,0.1 do
  530. wait()
  531. prt.CFrame=prt.CFrame
  532. prt.Transparency=i
  533. msh.Scale=msh.Scale+vt(x3,y3,z3)
  534. end
  535. prt.Parent=nil
  536. end))
  537. end
  538.  
  539. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  540. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5),"Neon")
  541. prt.Anchored=true
  542. prt.CFrame=cframe
  543. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  544. coroutine.resume(coroutine.create(function()
  545. for i=0,1,0.05 do
  546. wait()
  547. prt.Transparency=i
  548. msh.Scale=msh.Scale+vt(x2,y2,z2)
  549. end
  550. prt.Parent=nil
  551. end))
  552. end
  553.  
  554. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  555. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5),"Neon")
  556. prt.Anchored=true
  557. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  558. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  559. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  560. CF=Part.CFrame
  561. Numbb=0
  562. randnumb=math.random()-math.random()
  563. for i=0,1,0.05 do
  564. wait()
  565. CF=CF*cf(0,1,0)
  566. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  567. Part.CFrame=CF*euler(Numbb,0,0)
  568. Part.Transparency=i
  569. Numbb=Numbb+randnumb
  570. end
  571. Part.Parent=nil
  572. end),prt,CF,Numbb,randnumb)
  573. end
  574.  
  575. function SpecialEffect()
  576. local prt=part(3,workspace,1,0,BrickColor.new("White"),"Part",vt(1,1,1))
  577. prt.Anchored=true
  578. prt.CFrame=Torso.CFrame
  579. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  580. coroutine.resume(coroutine.create(function(Part,Mesh)
  581. for i=0,1,0.2 do
  582. wait(0)
  583. Part.Transparency=i
  584. Mesh.Scale=Mesh.Scale+vt(10,10,10)
  585. end
  586. prt.Parent=nil
  587. end),prt,msh)
  588. end
  589.  
  590. function Lightning(p0,p1,tym,ofs,col,th,tra)
  591. local magz = (p0 - p1).magnitude local curpos = p0 local trz = {-ofs,ofs}
  592. for i=1,tym do
  593. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  li.Transparency = tra or 0.4 li.BrickColor = BrickColor.Random() li.Material = "Neon"
  594. li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(th,th,magz/tym) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  595. local trolpos = CFrame.new(curpos,p1)*CFrame.new(0,0,magz/tym).p+ofz
  596. if tym == i then
  597. local magz2 = (curpos - p1).magnitude li.Size = Vector3.new(th,th,magz2)
  598. li.CFrame = CFrame.new(curpos,p1)*CFrame.new(0,0,-magz2/2)
  599. else
  600. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/tym/2)
  601. end
  602. curpos = li.CFrame*CFrame.new(0,0,magz/tym/2).p game.Debris:AddItem(li,.5)
  603. end
  604. end
  605.  
  606. function effect(Color,Ref,LP,P1,returnn)
  607. local effectsmsh = Instance.new("BlockMesh")
  608. effectsmsh.Scale = Vector3.new(0.4,1,0.4)
  609. effectsmsh.Name = "Mesh"
  610. local effectsg = Instance.new("Part")
  611. effectsg.formFactor = 3
  612. effectsg.CanCollide = false
  613. effectsg.Name = "Eff"
  614. effectsg.Locked = true
  615. effectsg.Anchored = true
  616. effectsg.Size = Vector3.new(0.2,1,0.2)
  617. effectsg.Parent = workspace
  618. effectsmsh.Parent = effectsg
  619. effectsg.BrickColor = BrickColor.new(Color)
  620. effectsg.Material = "Neon"
  621. effectsg.Reflectance = Ref
  622. local point1 = P1
  623. local mg = (LP.p - point1.p).magnitude
  624. effectsg.Size = Vector3.new(0.4,mg,0.4)
  625. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  626. if returnn then return effectsg end
  627. coroutine.resume(coroutine.create(function()
  628. if not returnn then
  629. for i = 0 , 1 , 0.2 do
  630. wait()
  631. effectsg.Transparency = 1*i
  632. effectsmsh.Scale = Vector3.new(0.4-0.4*i,1,0.4-0.4*i)
  633. end
  634. wait()
  635. effectsg.Parent = nil
  636. end
  637. end))
  638. end
  639.  
  640. Damagefunc1=function(hit,Damage,Knockback)
  641.         if hit.Parent==nil then
  642.                 return
  643.         end
  644.         CPlayer=Bin
  645.         h=hit.Parent:FindFirstChild("Humanoid")
  646.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  647.         if attackdebounce == false then
  648.         attackdebounce = true
  649.         coroutine.resume(coroutine.create(function()
  650.         wait(0.2)
  651.         attackdebounce = false
  652.         end))
  653.         Damage=Damage
  654. --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  655.                         return
  656.                 end]]
  657. --                        hs(hit,1.2)
  658.                         c=Instance.new("ObjectValue")
  659.                         c.Name="creator"
  660.                         c.Value=game.Players.LocalPlayer
  661.                         c.Parent=h
  662.                         game:GetService("Debris"):AddItem(c,.5)
  663.                 Damage=Damage+math.random(0,10)
  664. --                h:TakeDamage(Damage)
  665.                 blocked=false
  666.                 block=hit.Parent:findFirstChild("Block")
  667.                 if block~=nil then
  668.                 print("herp")
  669.                 if block.Value>0 then
  670.                 blocked=true
  671.                 block.Value=block.Value-1
  672.                 print(block.Value)
  673.                 end
  674.                 end
  675.                 if blocked==false then
  676. --                h:TakeDamage(Damage)
  677.                 h.Health=h.Health-Damage
  678.                 showDamage(hit.Parent,Damage,.5)
  679.                 else
  680.                 h:TakeDamage(1)
  681.                 showDamage(hit.Parent,1,.5)
  682.                 end
  683.                 vp=Instance.new("BodyVelocity")
  684.                 vp.P=500
  685.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  686. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  687.                 vp.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  688.                 if Knockback>0 then
  689.                         vp.Parent=hit.Parent.Torso
  690.                 end
  691.                 game:GetService("Debris"):AddItem(vp,.25)
  692.                 game:GetService("Debris"):AddItem(r,.5)
  693.                                 c=Instance.new("ObjectValue")
  694.                         c.Name="creator"
  695.                         c.Value=Player
  696.                         c.Parent=h
  697.                         game:GetService("Debris"):AddItem(c,.5)
  698.                 CRIT=false
  699.                 hitDeb=true
  700.                 AttackPos=6
  701.         end
  702.         end
  703. end
  704. Damagefuncbr=function(hit,Damage,Knockback)
  705.         if hit.Parent==nil then
  706.                 return
  707.         end
  708.         CPlayer=Bin
  709.         h=hit.Parent:FindFirstChild("Humanoid")
  710.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  711.         if attackdebounce == false then
  712.         attackdebounce = true
  713.         coroutine.resume(coroutine.create(function()
  714.         wait(0.2)
  715.         attackdebounce = false
  716.         end))
  717.         Damage=Damage
  718.         for i=1,math.random(3,6) do
  719.         BreakEffect(BrickColor.random(),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  720.         end
  721.         coroutine.resume(coroutine.create(function(Part)
  722.         for i=1,5 do
  723.         wait()
  724.         Part.CFrame=Head.CFrame*cf(0,0,-3)
  725.         MagicBlock(BrickColor.random(),Part.CFrame*cf(0,0,0),1,1,1,1,1,1)
  726.         end
  727.         end),hit.Parent.Torso)
  728.         so("http://roblox.com/asset/?id=3264793",hit.Parent.Torso,1,math.random()+math.random()+1)
  729. --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  730.                         return
  731.                 end]]
  732. --                        hs(hit,1.2)
  733.                         c=Instance.new("ObjectValue")
  734.                         c.Name="creator"
  735.                         c.Value=game.Players.LocalPlayer
  736.                         c.Parent=h
  737.                         game:GetService("Debris"):AddItem(c,.5)
  738.                 Damage=Damage+math.random(0,10)
  739. --                h:TakeDamage(Damage)
  740.                 blocked=false
  741.                 block=hit.Parent:findFirstChild("Block")
  742.                 if block~=nil then
  743.                 print("herp")
  744.                 if block.Value>0 then
  745.                 blocked=true
  746.                 block.Value=block.Value-1
  747.                 print(block.Value)
  748.                 end
  749.                 end
  750.                 if blocked==false then
  751. --                h:TakeDamage(Damage)
  752.                 h.Health=h.Health-Damage
  753.                 showDamage(hit.Parent,Damage,.5)
  754.                 else
  755.                 h:TakeDamage(1)
  756.                 showDamage(hit.Parent,1,.5)
  757.                 end
  758.                 vp=Instance.new("BodyVelocity")
  759.                 vp.P=500
  760.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  761. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  762.                 vp.velocity=Head.CFrame.lookVector*Knockback
  763.                         vp.Parent=hit.Parent.Torso
  764.                 game:GetService("Debris"):AddItem(vp,1)
  765.                                 c=Instance.new("ObjectValue")
  766.                         c.Name="creator"
  767.                         c.Value=Player
  768.                         c.Parent=h
  769.                         game:GetService("Debris"):AddItem(c,.5)
  770.                 CRIT=false
  771.                 hitDeb=true
  772.                 AttackPos=6
  773.         end
  774.         end
  775. end
  776. Damagefunc2=function(hit,Damage,Knockback)
  777.         if attackdebounce == false then
  778. --        attackdebounce = true
  779.         coroutine.resume(coroutine.create(function()
  780.         wait(0.1)
  781.         attackdebounce = false
  782.         end))
  783.         if hit.Parent==nil then
  784.                 return
  785.         end
  786.         CPlayer=Bin
  787.         blocked=false
  788.         h=hit.Parent:FindFirstChild("Humanoid")
  789.         if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  790.                 Damage=Damage
  791.                         c=it("ObjectValue")
  792.                         c.Name="creator"
  793.                         c.Value=game.Players.LocalPlayer
  794.                         c.Parent=h
  795.                         game:GetService("Debris"):AddItem(c,.5)
  796. --                        print(c.Value)
  797. --[[                if math.random(0,99)+math.random()<=7.8 then
  798.                         CRIT=true
  799.                         Damage=Damage*2
  800.                         s=it("Sound")
  801.                         s.SoundId="http://www.roblox.com/asset/?id=2801263"
  802.                         s.Volume=1
  803.                         s.Pitch=2
  804.                         s.Parent=hit
  805.                         s.PlayOnRemove=true
  806.                         s.Parent=nil
  807.        
  808.                 end]]
  809.                 Damage=Damage+math.random(0,10)
  810. --                Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  811.                 blocked=false
  812.                 block=hit.Parent:findFirstChild("Block")
  813.                 if block~=nil then
  814.                 print("herp")
  815.                 if block.Value>0 then
  816.                 blocked=true
  817.                 block.Value=block.Value-3
  818.                 print(block.Value)
  819.                 end
  820.                 end
  821.                 if blocked==false then
  822. --                h:TakeDamage(Damage)
  823.                 h.Health=h.Health-Damage
  824.                 showDamage(hit.Parent,Damage,.5)
  825.                 else
  826.                 h:TakeDamage(1)
  827.                 showDamage(hit.Parent,1,.5)
  828.                 end
  829. --if blocked==false then
  830. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  831. print(angle)
  832. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  833.                 rl=Instance.new("BodyAngularVelocity")
  834.                 rl.P=3000
  835.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  836.                 rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  837.                 rl.Parent=hit
  838. coroutine.resume(coroutine.create(function(vel)
  839. wait(0.5)
  840. vel:Remove()
  841. end),rl)
  842. --end
  843. local bodyVelocity=Instance.new("BodyVelocity")
  844. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  845. bodyVelocity.P=5000
  846. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  847. bodyVelocity.Parent=hit
  848. coroutine.resume(coroutine.create(function(Vel)
  849. wait(0.2)
  850. Vel:Remove()
  851. end),bodyVelocity)
  852.                                 c=it("ObjectValue")
  853.                         c.Name="creator"
  854.                         c.Value=Player
  855.                         c.Parent=h
  856.                         game:GetService("Debris"):AddItem(c,.5)
  857.                 CRIT=false
  858.                 hitDeb=true
  859.                 AttackPos=6
  860.         end
  861.         end
  862. end
  863.  
  864. showDamage=function(Char,Dealt,du)
  865.         m=Instance.new("Model")
  866.         m.Name=tostring(Dealt)
  867.         h=Instance.new("Humanoid")
  868.         h.Health=0
  869.         h.MaxHealth=0
  870.         h.Parent=m
  871.         c=Instance.new("Part")
  872.         c.Transparency=0
  873.         c.BrickColor=BrickColor:Red()
  874.         if CRIT==true then
  875.                 c.BrickColor=BrickColor.random()
  876.         end
  877.         c.Name="Head"
  878.         c.TopSurface=0
  879.         c.BottomSurface=0
  880.         c.formFactor="Plate"
  881.         c.Size=Vector3.new(1,.4,1)
  882.         ms=Instance.new("CylinderMesh")
  883.         ms.Scale=Vector3.new(.8,.8,.8)
  884.         if CRIT==true then
  885.                 ms.Scale=Vector3.new(1,1.25,1)
  886.         end
  887.         ms.Parent=c
  888.         c.Reflectance=0
  889.         Instance.new("BodyGyro").Parent=c
  890.         c.Parent=m
  891.         c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  892.         f=Instance.new("BodyPosition")
  893.         f.P=2000
  894.         f.D=100
  895.         f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  896.         f.position=c.Position+Vector3.new(0,3,0)
  897.         f.Parent=c
  898.         game:GetService("Debris"):AddItem(m,.5+du)
  899.         c.CanCollide=false
  900.         m.Parent=workspace
  901.         c.CanCollide=false
  902. end
  903.  
  904. function oneslash()
  905. attack=true
  906. combo=1
  907. for i=0,1,0.1 do
  908. wait()
  909. Neck.C0=necko*euler(0,0,1*i)
  910. RW.C0=cf(0.5+1*i, 0.5, -0.5+0.5*i) * euler(1+2*i,0,0)
  911. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+1.5*i,0.4-0.4*i)
  912. LW.C0=cf(-1+1*i, 0.5+0.6*i, -0.5) * euler(1+2*i,0,0)
  913. LW.C1=cf(0, 0.5, 0) * euler(0,0,-1*i)
  914. end
  915. so("rbxasset://sounds\\swordlunge.wav",prt7,1,0.6)
  916. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,25,20) end)
  917. for i=0,1,0.1 do
  918. wait()
  919. Neck.C0=necko*euler(0,0,1-2*i)
  920. RW.C0=cf(1.5, 0.5, 0) * euler(3-3*i,-0.2*i,0)
  921. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  922. LW.C0=cf(0.5*i, 1.1-1*i, -0.5) * euler(3-3.5*i,0.5*i,0)
  923. LW.C1=cf(0, 0.5, 0) * euler(0,0,-1)
  924. end
  925. con1:disconnect()
  926. wait(0.2)
  927. --Neck.C0=necko
  928. attack=false
  929. end
  930.  
  931. function twoslash()
  932. attack=true
  933. combo=2
  934. for i=0,1,0.1 do
  935. wait()
  936. Neck.C0=necko*euler(0,0,-1)
  937. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1.5*i,-0.2+1.77*i,0)
  938. RW.C1=cf(0, 0.5, 0) * euler(-0.5*i,0,0)
  939. LW.C0=cf(0.5-1*i, 0.1+0.4*i, -0.5+0.5*i) * euler(-0.5+2.07*i,0.5+1.07*i,0)
  940. LW.C1=cf(0, 0.5, 0) * euler(0,0,-1+1*i)
  941. end
  942. so("rbxasset://sounds\\swordlunge.wav",prt7,1,0.7)
  943. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,25,30) end)
  944. for i=0,1,0.1 do
  945. wait()
  946. Neck.C0=necko*euler(0,0,-1+2*i)
  947. RW.C0=cf(1.5-0.5, 0.5, -0.5) * euler(1.5,1.57,0)
  948. RW.C1=cf(0, 0.5, 0) * euler(-0.5+2*i,0,0)
  949. LW.C0=cf(-0.5+1*i, 0.5, -1*i) * euler(1.57,1.57,0)
  950. LW.C1=cf(0, 0.5, 0) * euler(1*i,0,0)
  951. end
  952. con1:disconnect()
  953. attack=false
  954. end
  955.  
  956. function Shoot()
  957. attack=true
  958. shoottrail(mouse,prt7)
  959. so("rbxasset://sounds/Launching rocket.wav",prt7,1,3)
  960. for i=0,1,0.2 do
  961. wait()
  962. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  963. RW.C0=cf(1.5, 0.5, 0) * euler(0,1,0)
  964. RW.C1=cf(0, 0.5, 0) * euler(0.3*i,0,0)
  965. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1-0.3*i,1,0)
  966. end
  967. for i=0,1,0.2 do
  968. wait()
  969. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  970. RW.C0=cf(1.5, 0.5, 0) * euler(0,1,0)
  971. RW.C1=cf(0, 0.5, 0) * euler(0.3-0.3*i,0,0)
  972. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1-0.3+0.3*i,1,0)
  973. end
  974. attack=false
  975. end
  976.  
  977. function GroundBlast()
  978. attack=true
  979. Humanoid.WalkSpeed=0
  980. for i=0,1,0.1 do
  981. wait()
  982. Neck.C0=necko
  983. wld1.C0=euler(1.57+0.4+2.64*i,0,0)*cf(0,1,0)
  984. RW.C0=cf(0.5+1*i, 0.5, -0.5+0.5*i) * euler(1+2.5*i,0,0)
  985. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+1.5*i,0.4-0.4*i)
  986. LW.C0=cf(-1+1*i, 0.5+0.5*i, -0.5) * euler(1+2.5*i,0,1*i)
  987. end
  988. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.75)
  989. for i=1,25 do
  990. wait()
  991. MagicCircle(BrickColor.random(),prt7.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0.1,2,0.1,0.5,5,0.5)
  992. end
  993. for i=0,1,0.2 do
  994. wait()
  995. RW.C0=cf(1.5, 0.5, 0) * euler(3.5-2*i,0,0)
  996. LW.C0=cf(0.3*i, 1-0.5*i, -0.5) * euler(3.5-2.3*i,0,1)
  997. end
  998. so("http://www.roblox.com/asset/?id=142070127",prt7,1,1)
  999. BlastPos=prt7.Position+vt(0,-1,0)
  1000. MagicCircle(BrickColor.random(),prt7.CFrame*cf(0,1,0),1,1,1,10,10,10)
  1001. MagicBlock(BrickColor.random(),prt7.CFrame*cf(0,1,0),1,1,1,5,5,5)
  1002. MagicBlock(BrickColor.random(),prt7.CFrame*cf(0,1,0),1,1,1,7,7,7)
  1003. local c = game.Workspace:GetChildren()
  1004. for i = 1, #c do
  1005. local hum = c[i]:findFirstChild("Humanoid")
  1006. if hum ~= nil and hum.Health ~= 0 then
  1007. local head = c[i]:findFirstChild("Head")
  1008. if head ~= nil then
  1009. local targ = head.Position - BlastPos
  1010. local mag = targ.magnitude
  1011. if mag <= 20 and c[i].Name ~= Player.Name then
  1012. attackdebounce=false
  1013. Damagefunc2(head,25,30)
  1014. end
  1015. end
  1016. end
  1017. end
  1018. wait(0.5)
  1019. for i=0,1,0.1 do
  1020. wait()
  1021. wld1.C0=euler(4.61-2.64*i,0,0)*cf(0,1,0)
  1022. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(1.5-0.5*i,0,0)
  1023. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5*i,0.4*i)
  1024. LW.C0=cf(0.3-1.3*i, 0.5, -0.5) * euler(1.2-0.2*i,0,1-1*i)
  1025. end
  1026. Humanoid.WalkSpeed=16
  1027. attack=false
  1028. end
  1029.  
  1030. function BreakSlash()
  1031. attack=true
  1032. coroutine.resume(coroutine.create(function()
  1033. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1034. bg.P = 20000
  1035. bg.Parent = Torso
  1036. --wld1.C0 = euler(0,0,0) * cf(0,0,0)
  1037. while attack==true and spinning==false do
  1038. wait()
  1039. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  1040. bg.cframe = cf(Head.Position,pos4) * euler(0,3.14+GyroNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  1041. bg.Parent = Head
  1042. local pos5 = Vector3.new(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1043. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  1044. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  1045. offset=offset/mag
  1046. end
  1047. for i=0,1,0.1 do
  1048. wait()
  1049. bg.Parent=nil
  1050. end
  1051. end))
  1052. for i=0,1,0.1 do
  1053. wait()
  1054. Neck.C0=necko*euler(0,0,-1*i)
  1055. RW.C0=cf(0.5, 0.5, -0.5) * euler(1+0.57*i,0,0)
  1056. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.4+0.4*i)
  1057. LW.C0=cf(-1, 0.5, -0.5+0.5*i) * euler(1+0.57*i,0,0)
  1058. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1059. end
  1060. wait(0.3)
  1061. so("rbxasset://sounds\\swordlunge.wav",prt7,1,0.7)
  1062. con1=hitbox.Touched:connect(function(hit) Damagefuncbr(hit,25,1) end)
  1063. for i=0,1,0.1 do
  1064. wait()
  1065. MagicBlock(BrickColor.random(),hitbox.CFrame*cf(math.random()+math.random(-1,0),math.random()+math.random(-2,1),math.random()+math.random(-1,0)),1,1,1,0.5,0.5,0.5)
  1066. wld1.C0=euler(1.57+0.4+0.4*i,0,0)*cf(0,1,0)
  1067. Neck.C0=necko*euler(0,0,-1+2.57*i)
  1068. RW.C0=cf(0.5+1*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0)
  1069. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.8-1.6*i)
  1070. LW.C0=cf(-1+1.5*i, 0.5, -0.5*i) * euler(1.57,0,0)
  1071. LW.C1=cf(0, 0.5, 0) * euler(0,0,-1*i)
  1072. end
  1073. con1:disconnect()
  1074. DoBreak=false
  1075. for i=1,10 do
  1076. wait()
  1077. if BreakNumb==1 then
  1078. DoBreak=true
  1079. end
  1080. end
  1081. if DoBreak==true then
  1082. for i=0,1,0.2 do
  1083. wait()
  1084. wld1.C0=euler(1.57+0.4+0.4-0.4*i,0,0)*cf(0,1,0)
  1085. Neck.C0=necko*euler(0,0,-1+2.57-2.57*i)
  1086. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(1.57,0,0)
  1087. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.8-1.6+1.6*i)
  1088. LW.C0=cf(-1+1.5-1.5*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0)
  1089. LW.C1=cf(0, 0.5, 0) * euler(0,0,-1+1*i)
  1090. end
  1091. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.8)
  1092. for i=0,10 do
  1093. wait()
  1094. MagicBlock(BrickColor.random(),hitbox.CFrame,1,1,1,2,2,2)
  1095. end
  1096. local vel2 = Instance.new("BodyVelocity")
  1097. vel2.Parent = Torso
  1098. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  1099. vel2.velocity = Head.CFrame.lookVector*20
  1100. bg.Parent=Torso
  1101. CF = Torso.CFrame
  1102. con1=hitbox.Touched:connect(function(hit) Damagefuncbr(hit,10,10) end)
  1103. spinning=true
  1104. durnumb=0
  1105. for i=1,5 do
  1106. for i=0,1,0.1 do
  1107. if durnumb==7 then
  1108. so("rbxasset://sounds\\swordlunge.wav",prt7,0.5,0.7)
  1109. durnumb=0
  1110. end
  1111. bg.Parent=Torso
  1112. bg.cframe=CF*euler(0,-6.283*i,0)
  1113. MagicBlock(BrickColor.random(),hitbox.CFrame*cf(math.random()+math.random(-1,0),math.random()+math.random(-2,1),math.random()+math.random(-1,0)),1,1,1,0.5,0.5,0.5)
  1114. durnumb=durnumb+1
  1115. wait()
  1116. end
  1117. end
  1118. spinning=false
  1119. con1:disconnect()
  1120. vel2.Parent=nil
  1121. bg.Parent=nil
  1122. end
  1123. wait(1)
  1124. bg.P = 9000
  1125. wld1.C0=euler(1.57+0.4,0,0)*cf(0,1,0)
  1126. Neck.C0=necko
  1127. RW.C0=cf(0.5, 0.5, -0.5) * euler(1,0,0)
  1128. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.4)
  1129. LW.C0=cf(-1, 0.5, -0.5) * euler(1,0,0)
  1130. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1131. attack=false
  1132. end
  1133.  
  1134. function GroundWave()
  1135. attack=true
  1136. for i=0,1,0.1 do
  1137. wait()
  1138. wld1.C0=euler(1.57+0.4+2.64*i,0,-0.4*i)*cf(0,1,0)
  1139. RW.C0=cf(0.5, 0.5+1*i, -0.5) * euler(1+2.5*i,0,0)
  1140. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+1.5*i,0.4)
  1141. LW.C0=cf(-1+0.5*i, 0.5+1*i, -0.5) * euler(1+2.5*i,0,0)
  1142. LW.C1=cf(0, 0.5, 0) * euler(0,0,-0.4*i)
  1143. end
  1144. so("rbxasset://sounds\\swordlunge.wav",prt7,1,0.6)
  1145. for i=0,1,0.1 do
  1146. wait()
  1147. RW.C0=cf(0.5, 1.5-1*i, -0.5) * euler(3.5-2*i,0,0)
  1148. LW.C0=cf(-0.5, 1.5-1*i, -0.5) * euler(3.5-2*i,0,0)
  1149. end
  1150. coroutine.resume(coroutine.create(function()
  1151. CF=Torso.CFrame
  1152. numb=-5
  1153. BaseCF=CF
  1154. for i=1,8 do
  1155. BaseCF=CF*cf(0,-2,numb)
  1156. local baseprt=part(3,workspace,0,1,BrickColor.new("Black"),"Part1",vt(1,1,1))
  1157. baseprt.Anchored=true
  1158. baseprt.CFrame=BaseCF
  1159. game:GetService("Debris"):AddItem(baseprt,.5)
  1160. local c = game.Workspace:GetChildren()
  1161. for i = 1, #c do
  1162. local hum = c[i]:findFirstChild("Humanoid")
  1163. if hum ~= nil and hum.Health ~= 0 then
  1164. local head = c[i]:findFirstChild("Head")
  1165. if head ~= nil then
  1166. local targ = head.Position - baseprt.Position
  1167. local mag = targ.magnitude
  1168. if mag <= 7 and c[i].Name ~= Player.Name then
  1169. attackdebounce=false
  1170. Damagefunc1(head,10,30)
  1171. end
  1172. end
  1173. end
  1174. end
  1175. so("http://www.roblox.com/asset/?id=142070127",baseprt,5,0.8)
  1176. MagicBlock(BrickColor.random(),BaseCF,0.5,0.5,0.5,2,2,2)
  1177. BlastEffect(BrickColor.random(),BaseCF,0.5,0.5,0.5,0.5,0.5,0.5)
  1178. numb=numb-3
  1179. wait(0.2)
  1180. end
  1181. end))
  1182. wait(1)
  1183. for i=0,1,0.1 do
  1184. wait()
  1185. wld1.C0=euler(1.57+0.4+2.64-2.64*i,0,-0.4+0.4*i)*cf(0,1,0)
  1186. RW.C0=cf(0.5, 0.5, -0.5) * euler(1.5-0.5*i,0,0)
  1187. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5*i,0.4)
  1188. LW.C0=cf(-0.5-0.5*i, 0.5, -0.5) * euler(1.5-0.5*i,0,0)
  1189. LW.C1=cf(0, 0.5, 0) * euler(0,0,-0.4+0.4*i)
  1190. end
  1191. attack=false
  1192. end
  1193.  
  1194. function MegaBlast()
  1195. attack=true
  1196. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.6)
  1197. MagicCircle(BrickColor.random(),prt7.CFrame,1,1,1,2,2,2)
  1198. for i=1,10 do
  1199. wait(0.1)
  1200. MagicBlock(BrickColor.random(),prt7.CFrame*cf(math.random(-1,1),math.random(-1,1),math.random(-1,1)),0,0,0,0.5,0.5,0.5)
  1201. end
  1202. wait(0.5)
  1203. so("http://www.roblox.com/asset/?id=2974249",prt7,1,0.6)
  1204. so("http://www.roblox.com/asset?id=1369158",prt7,1,2)
  1205. shoottrail2(mouse,prt7)
  1206. MagicCircle(BrickColor.random(),prt7.CFrame,1,1,1,3,3,3)
  1207. attack=false
  1208. end
  1209.  
  1210. function BreakStab()
  1211. attack=true
  1212. doringeffect=true
  1213. for i=0,1,0.1 do
  1214. wait()
  1215. Neck.C0=necko*euler(0,0,1+1*i)
  1216. RW.C0=cf(1.5, 0.5, 0) * euler(0,1,0.5*i)
  1217. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1,1,0.5*i)
  1218. end
  1219. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.75)
  1220. MagicCircle(BrickColor.random(),prt7.CFrame,1,1,1,2,2,2)
  1221. local ring=part(3,modelzorz,0,1,BrickColor.random(),"Ring",vt(1,1,1))
  1222. local ringmsh=mesh("SpecialMesh",ring,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(2,2,4))
  1223. local ringwld=weld(ring,ring,prt7,euler(0,1.57,0))
  1224. coroutine.resume(coroutine.create(function(Part,Weld)
  1225. for i=1,0,-0.02 do
  1226. wait()
  1227. Part.Transparency=i
  1228. Weld.C0=Weld.C0*euler(1,0,0)
  1229. MagicBlock(BrickColor.random(),Part.CFrame*cf(0,1,0),0,0,0,0.5,0.5,0.5)
  1230. end
  1231. while doringeffect==true do
  1232. wait()
  1233. Weld.C0=Weld.C0*euler(1,0,0)
  1234. MagicBlock(BrickColor.random(),Part.CFrame*cf(0,1,0),0,0,0,0.5,0.5,0.5)
  1235. end
  1236. end),ring,ringwld)
  1237. wait(2)
  1238. doringeffect=false
  1239. for i=0,1,0.1 do
  1240. wait()
  1241. Neck.C0=necko*euler(0,0,2)
  1242. RW.C0=cf(1.5, 0.5, 0) * euler(1.57*i,1+0.57*i,0.5-0.5*i)
  1243. RW.C1=cf(0, 0.5, 0) * euler(0.5*i,0,0)
  1244. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1+0.57*i,1+0.57*i,0.5-0.5*i)
  1245. end
  1246. so("rbxasset://sounds\\swordlunge.wav",prt7,1,0.7)
  1247. for i=0,1,0.1 do
  1248. wait()
  1249. Neck.C0=necko*euler(0,0,2-2*i)
  1250. end
  1251. ring.Parent=nil
  1252. shoottrail3(mouse,prt7)
  1253. for i=0,1,0.1 do
  1254. wait()
  1255. Neck.C0=necko*euler(0,0,-2*i)
  1256. end
  1257. wait(1)
  1258. for i=0,1,0.1 do
  1259. wait()
  1260. Neck.C0=necko*euler(0,0,-2+3*i)
  1261. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-1.57*i,1.57-0.57*i,0)
  1262. RW.C1=cf(0, 0.5, 0) * euler(0.5-0.5*i,0,0)
  1263. LW.C0=cf(-1.5, 0.5, -0.5) * euler(1.57-0.57*i,1.57-0.57*i,0)
  1264. end
  1265. attack=false
  1266. end
  1267.  
  1268. function ob1d(mouse)
  1269. if attack == true then return end
  1270. hold=true
  1271. if Mode=="Sword" then
  1272. attack=true
  1273. coroutine.resume(coroutine.create(function()
  1274. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1275. bg.P = 9000
  1276. bg.Parent = Torso
  1277. --wld1.C0 = euler(0,0,0) * cf(0,0,0)
  1278. while attack==true do
  1279. wait()
  1280. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  1281. bg.cframe = cf(Head.Position,pos4) * euler(0,3.14+GyroNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  1282. bg.Parent = Head
  1283. local pos5 = Vector3.new(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1284. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  1285. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  1286. offset=offset/mag
  1287. end
  1288. for i=0,1,0.1 do
  1289. wait()
  1290. bg.Parent=nil
  1291. end
  1292. end))
  1293. if combo==0 then
  1294. oneslash()
  1295. elseif combo==1 then
  1296. twoslash()
  1297. else
  1298. wait(0.3)
  1299. Neck.C0=necko
  1300. RW.C0=cf(0.5, 0.5, -0.5) * euler(1,0,0)
  1301. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.4)
  1302. LW.C0=cf(-1, 0.5, -0.5) * euler(1,0,0)
  1303. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1304. attack=false
  1305. end
  1306. coroutine.resume(coroutine.create(function()
  1307. wait(0.5)
  1308. if attack==false then
  1309. combo=0
  1310. Neck.C0=necko
  1311. RW.C0=cf(0.5, 0.5, -0.5) * euler(1,0,0)
  1312. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5,0.4)
  1313. LW.C0=cf(-1, 0.5, -0.5) * euler(1,0,0)
  1314. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1315. end
  1316. end))
  1317. elseif Mode=="Cannon" then
  1318. Shoot()
  1319. end
  1320. end
  1321.  
  1322. function ob1u(mouse)
  1323. hold = false
  1324. end
  1325.  
  1326. buttonhold = false
  1327.  
  1328. eul=0
  1329. BreakNumb=0
  1330. function key(key)
  1331. if key=="x" then
  1332. BreakNumb=BreakNumb+1
  1333. coroutine.resume(coroutine.create(function()
  1334. wait()
  1335. BreakNumb=0
  1336. end))
  1337. end
  1338. if attack == true then return end
  1339. if key=="f" then
  1340. BreakEffect(BrickColor.random(),Torso.CFrame,0.5,math.random(5,20),0.5)
  1341. end
  1342. if Mode=="Sword" then
  1343. if key=="z" then
  1344. GroundBlast()
  1345. end
  1346. if key=="x" then
  1347. BreakSlash()
  1348. end
  1349. if key=="c" then
  1350. GroundWave()
  1351. end
  1352. elseif Mode=="Cannon" then
  1353. if key=="z" then
  1354. MegaBlast()
  1355. end
  1356. if key=="x" then
  1357. BreakStab()
  1358. end
  1359. end
  1360. if key=="v" then
  1361. if Mode=="Sword" then
  1362. Mode="Cannon"
  1363. for i=0,1,0.1 do
  1364. wait()
  1365. wld1.C0=euler(1.57+0.4-0.4*i,0,0)*cf(0,1,0)
  1366. RW.C0=cf(0.5+1*i, 0.5, -0.5+0.5*i) * euler(1+1.5*i,0,0)
  1367. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5+1.5*i,0.4-0.4*i)
  1368. LW.C0=cf(-1+1.3*i, 0.5, -0.5-0.3*i) * euler(1+1.7*i,0,1*i)
  1369. end
  1370. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.5)
  1371. for i=0,1,0.2 do
  1372. wait()
  1373. BladeNumb=0.8+0.7*i
  1374. msh6.Scale=vt(0.5,0.5,1.3+1.4*i)
  1375. RW.C0=cf(1.5, 0.5, 0) * euler(2.5-1*i,0,0)
  1376. LW.C0=cf(0.3, 0.5, -0.8) * euler(2.7-1.2*i,0,1)
  1377. end
  1378. for i=0,1,0.1 do
  1379. wait()
  1380. RW.C0=cf(1.5, 0.5, 0) * euler(2.5-1+0.3*i,0,0)
  1381. LW.C0=cf(0.3, 0.5, -0.8) * euler(2.7-1.2+0.4*i,0,1)
  1382. end
  1383. cannonmode=true
  1384. coroutine.resume(coroutine.create(function()
  1385. bg.maxTorque = vt(math.huge,math.huge,math.huge)
  1386. bg.P = 9000
  1387. bg.Parent = Torso
  1388. --wld1.C0 = euler(0,0,0) * cf(0,0,0)
  1389. while cannonmode==true do
  1390. wait()
  1391. local pos4 = vt(workspace.CurrentCamera.CoordinateFrame.X,Head.Position.Y,workspace.CurrentCamera.CoordinateFrame.Z)
  1392. bg.cframe = cf(Head.Position,pos4) * euler(0,3.14+GyroNumb,0) * cf(0,0,0) --cf(Torso.Position,MMouse.Hit.p) *
  1393. bg.Parent = Head
  1394. local pos5 = Vector3.new(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1395. offset=(Torso.Position.y-MMouse.Hit.p.y)/60
  1396. mag=(Torso.Position-MMouse.Hit.p).magnitude/80
  1397. offset=offset/mag
  1398. end
  1399. for i=0,1,0.1 do
  1400. wait()
  1401. bg.Parent=nil
  1402. end
  1403. end))
  1404. for i=0,1,0.1 do
  1405. wait()
  1406. Neck.C0=necko*euler(0,0,1*i)
  1407. RW.C0=cf(1.5, 0.5, 0) * euler(1.8-1.8*i,1*i,0)
  1408. LW.C0=cf(0.3-1.8*i, 0.5, -0.8+0.3*i) * euler(1.9-0.9*i,1*i,1-1*i)
  1409. end
  1410. elseif Mode=="Cannon" then
  1411. Mode="Sword"
  1412. for i=0,1,0.1 do
  1413. wait()
  1414. Neck.C0=necko*euler(0,0,1-1*i)
  1415. RW.C0=cf(1.5, 0.5, 0) * euler(1.5*i,1-1*i,0)
  1416. LW.C0=cf(-1.5+1.7*i, 0.5, -0.5-0.1*i) * euler(1+0.2*i,1-1*i,1*i)
  1417. end
  1418. cannonmode=false
  1419. so("rbxasset://sounds\\unsheath.wav",prt7,1,0.7)
  1420. for i=0,1,0.1 do
  1421. wait()
  1422. BladeNumb=1.5-0.7*i
  1423. msh6.Scale=vt(0.5,0.5,2.7-1.4*i)
  1424. RW.C0=cf(1.5, 0.5, 0) * euler(1.5+0.5*i,0,0)
  1425. LW.C0=cf(0.2, 0.5+0.2*i, -0.6) * euler(1.2+0.6*i,0,1)
  1426. end
  1427. for i=0,1,0.1 do
  1428. wait()
  1429. wld1.C0=euler(1.57+0.4*i,0,0)*cf(0,1,0)
  1430. RW.C0=cf(1.5-1*i, 0.5, -0.5*i) * euler(2-1*i,0,0)
  1431. RW.C1=cf(0, 0.5, 0) * euler(0,-1.5*i,0.4*i)
  1432. LW.C0=cf(0.2-1.2*i, 0.7-0.2*i, -0.6+0.1*i) * euler(1.8-0.8*i,0,1-1*i)
  1433. end
  1434. end
  1435. end
  1436. wait(5)
  1437. combo=0
  1438. end
  1439.  
  1440. function key2(key)
  1441. end
  1442.  
  1443. function s(mouse)
  1444. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1445. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1446. mouse.KeyDown:connect(key)
  1447. mouse.KeyUp:connect(key2)
  1448. unsheathed = true
  1449. player = Player
  1450. ch = Character
  1451. MMouse = mouse
  1452. RSH = ch.Torso["Right Shoulder"]
  1453. LSH = ch.Torso["Left Shoulder"]
  1454. --
  1455. RSH.Parent = nil
  1456. LSH.Parent = nil
  1457. --
  1458. RW.Part0 = ch.Torso
  1459. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1460. RW.C1 = CFrame.new(0, 0.5, 0)
  1461. RW.Part1 = ch["Right Arm"]
  1462. RW.Parent = ch.Torso
  1463. --_G.R = RW
  1464. --
  1465. LW.Part0 = ch.Torso
  1466. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1467. LW.C1 = CFrame.new(0, 0.5, 0)
  1468. LW.Part1 = ch["Left Arm"]
  1469. LW.Parent = ch.Torso
  1470. --_G.L = LW
  1471. --
  1472. equipanim()
  1473. end
  1474.  
  1475. --while equipped == true do
  1476. --wait(1)
  1477. --currentcol = "Really red"
  1478. --countrr = 1
  1479. --if countrr == 1 then
  1480. --currentcol = "Really red"
  1481. --countrr = 2
  1482. --elseif countrr == 2 then
  1483. --currentcol = "Neon orange"
  1484. --countrr = 3
  1485. --elseif countrr == 3 then
  1486. --currentcol = "New yeller"
  1487. --countrr = 4
  1488. --elseif countrr == 4 then
  1489. --currentcol = "Neon green"
  1490. --countrr = 5
  1491. --elseif countrr == 5 then
  1492. --currentcol = "Toothpaste"
  1493. --countrr = 6
  1494. --elseif countrr == 6 then
  1495. --currentcol = "Really blue"
  1496. --countrr = 7
  1497. --elseif countrr == 7 then
  1498. --currentcol = "Royal purple"
  1499. --countrr = 1
  1500. --end
  1501. --modelzorz.Part7.BrickColor = BrickColor.new(currentcol)
  1502. --modelzorz.Part8.BrickColor = BrickColor.new(currentcol)
  1503. --for i = 1,4 do
  1504. --modelzorz.Part9.BrickColor = BrickColor.new(currentcol)
  1505. --end
  1506. --end
  1507.  
  1508. function ds(mouse)
  1509. hideanim()
  1510. wait(0)
  1511. RW.Parent = nil
  1512. LW.Parent = nil
  1513. RSH.Parent = player.Character.Torso
  1514. LSH.Parent = player.Character.Torso
  1515. end
  1516.  
  1517. Bin.Selected:connect(s)
  1518. Bin.Deselected:connect(ds)
  1519. print("Blast Blade loaded.")
  1520. -- mediafire
  1521. --[[
  1522. Copyrighted (C) hacker33331916 2013
  1523. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement