HardBandit

Untitled

Dec 23rd, 2015
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.43 KB | None | 0 0
  1. -----No names needed-----
  2. local player=game.Players.LocalPlayer
  3. local char=player.Character
  4. repeat wait() until player and char
  5. local torso=char.Torso
  6. local head=char.Head
  7. local human=char.Humanoid
  8. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  9. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  10. local c=function(f) coroutine.resume(coroutine.create(f)) end
  11. local p=function(f) pcall(f) end
  12. local add={
  13. Part=function(par, a, c, col, t, s, cf, ms)
  14. local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  15. local m=Instance.new("BlockMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) end)
  16. return p
  17. end,
  18. Wedge=function(par, a, c, col, t, s, cf, ms)
  19. local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  20. local m=Instance.new("SpecialMesh", p) pcall(function() m.Scale=ms or Vector3.new(1, 1, 1) m.MeshType="Wedge" end)
  21. return p
  22. end,
  23. Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
  24. local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end)
  25. return g
  26. end,
  27. Weld=function(par, p1, cf)
  28. local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
  29. return w
  30. end,
  31. Mesh=function(ins, par, s, of, t)
  32. local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end)
  33. return m
  34. end,
  35. Sound=function(parent, id, volume, pitch)
  36. local s=Instance.new("Sound", parent) pcall(function() s.SoundId=id s.Volume=volume s.Pitch=pitch end)
  37. return s
  38. end,
  39. }
  40. local scriptname="Chop-Chop" --Name here
  41. pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end)
  42. local model=Instance.new("Model", char) model.Name="Objects"
  43. local modelB=Instance.new("Model", char) modelB.Name=scriptname
  44. local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  45. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
  46. local skincolor="Really black"
  47. local body={}
  48. local animate={}
  49. local obj={}
  50. --Variables--
  51. local trailDeb=false
  52. local hitDeb=false
  53. local using=false
  54. local keyDeb=false
  55. local pressing=false
  56. local combo=0
  57. local mana=100
  58. local range=20
  59. local dmg=math.random(10, 25)
  60. local form=false
  61. local Forms
  62. local pitch=.5
  63. local speed=16
  64. local car
  65. local pitch=.8
  66. local Slash=add.Sound(torso, "rbxasset://sounds//swordslash.wav", 1, pitch)
  67. local Portal2=add.Sound(torso, "http://roblox.com/asset/?id=10209668", 1, 1)
  68. local Charge=add.Sound(torso, "http://www.roblox.com/asset/?id=2101137", 1, .5)
  69. local chargeLabel=add.Gui("TextLabel", gui, "Really black", "White", "Really black", "Size14", mana, 0, UDim2.new(0, 200, 0, 20), UDim2.new(0, 0, 0, 100))
  70. local charge=add.Gui("TextLabel", chargeLabel, "Really black", "Bright blue", "Really black", "Size14", "", 0.5, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0))
  71. local attackLabel=add.Gui("TextLabel", gui, "Really black", "Really black", "White", "Size18", "Festival(Hold(Q))", 0, UDim2.new(0, 150, 0, 50), UDim2.new(0, 0, 0, 150))
  72. local attackLabel2=add.Gui("TextLabel", attackLabel, "Really black", "Really black", "White", "Size18", "Charge(F)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  73. local attackLabel3=add.Gui("TextLabel", attackLabel2, "Really black", "Really black", "White", "Size18", "Tornado(E)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  74. local attackLabel4=add.Gui("TextLabel", attackLabel3, "Really black", "Really black", "White", "Size18", "ChibiForm(C)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  75. local attackLabel5=add.Gui("TextLabel", attackLabel4, "Really black", "Really black", "White", "Size18", "CarForm(V)", 0, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 1, 0))
  76. function createParts()
  77. --==PARTS==--
  78. body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  79. body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil)
  80. body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  81. body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  82. --==WELDS==--
  83. body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0))
  84. body.TorsoW=add.Weld(body.Torso, torso, nil)
  85. body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  86. body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
  87. --==WELDS==--
  88. add.Weld(body.Head, head, nil)
  89. add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
  90. add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
  91. torso["Left Hip"].Part0=torso
  92. torso["Right Hip"].Part0=torso
  93. ---------------------------------------------------------------------------------------
  94. animate={
  95. ["Head"]=function(cf)
  96. body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  97. end;
  98. ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1
  99. body.TorsoW.C1=cf
  100. c(function()
  101. wait(0)
  102. body.Torso.Transparency=1 torso.Transparency=0
  103. end)
  104. end;
  105. ["ArmLeft"]=function(cf)
  106. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  107. end;
  108. ["ArmRight"]=function(cf)
  109. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  110. end;
  111. ["LegLeft"]=function(cf)
  112. legLeftW=add.Weld(leg.Left, body.LegLeft, CFrame.new(0, -.5, 0))
  113. body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  114. c(function()
  115. wait(0)
  116. legLeftW:remove()
  117. end)
  118. end;
  119. ["LegRight"]=function(cf)
  120. legRightW=add.Weld(leg.Right, body.LegRight, CFrame.new(0, -.5, 0))
  121. body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  122. c(function()
  123. wait(0)
  124. legRightW:remove()
  125. end)
  126. end;
  127. }
  128. --==Objects==--
  129. end
  130. function removeParts()
  131. p(function()
  132. if torso then
  133. torso["Left Hip"].Part0=torso
  134. torso["Right Hip"].Part0=torso
  135. end
  136. for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end
  137. wait()
  138. torso.Transparency=0
  139. end)
  140. end
  141. function hit(h)
  142. if using==true then
  143. if h.Parent~=char and h.Parent:findFirstChild("Humanoid") and hitDeb==false then hitDeb=true
  144. local hHuman=h.Parent:findFirstChild("Humanoid")
  145. hHuman.Health=hHuman.Health-dmg
  146. local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg
  147. local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0
  148. local effect=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) effect.Name="Head"
  149. local fakeMesh=add.Mesh("CylinderMesh", effect, Vector3.new(1, .5, 1), nil, nil)
  150. local bp=Instance.new("BodyPosition", effect) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0)
  151. game.Debris:addItem(fakeM, 2)
  152. wait(.5)
  153. hitDeb=false
  154. end
  155. end
  156. end
  157. function running()
  158. if form==false then speed=16
  159. animate.Torso(CFrame.new())
  160. animate.Head(CFrame.new())
  161. animate.ArmLeft(CFrame.Angles(-math.rad(15), 0, -math.rad(15)))
  162. animate.ArmRight(CFrame.Angles(-math.rad(15), 0, math.rad(15)))
  163. elseif form==true and Form=="Chibi" then speed=16 Portal2:play()
  164. animate.Torso(CFrame.new(0, -1.5, 0))
  165. wait()
  166. torso.Transparency=1
  167. animate.ArmLeft(CFrame.new(.5, 0, 0)*CFrame.Angles(0, 0, -math.rad(45)))
  168. animate.ArmRight(CFrame.new(-.5, 0, 0)*CFrame.Angles(0, 0, math.rad(45)))
  169. elseif form==true and Form=="Car" then speed=100 Portal2:play()
  170. human.WalkSpeed=speed
  171. animate.Torso(CFrame.new(0, -2, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  172. animate.Head(CFrame.new(0, -1.5, 1)*CFrame.Angles(math.rad(90), 0, 0))
  173. animate.ArmLeft(CFrame.new(.5, 0, 0)*CFrame.Angles(math.rad(180), 0, math.rad(15)))
  174. animate.ArmRight(CFrame.new(-.5, 0, 0)*CFrame.Angles(math.rad(180), 0, -math.rad(15)))
  175. car=Instance.new("Model", char) car.Name="Car"
  176. local handle=add.Part(car, false,true, "Medium stone grey", 0, Vector3.new(.5, 7.2, .5), nil)
  177. local handleM=add.Mesh("CylinderMesh", handle, Vector3.new(1, 1, 1), nil, nil)
  178. local handleW=add.Weld(handle, body.Torso, CFrame.new(0, 2, 0)*CFrame.Angles(0, 0, -math.rad(90)))
  179.  
  180. local TireLeft=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil)
  181. TireLeftM=add.Mesh("CylinderMesh", TireLeft, Vector3.new(1, 1, 1), nil, nil)
  182. TireLeftW=add.Weld(TireLeft, handle, CFrame.new(0, -3, 0))
  183. local TireRight=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil)
  184. TireRightM=add.Mesh("CylinderMesh", TireRight, Vector3.new(1, 1, 1), nil, nil)
  185. TireRightW=add.Weld(TireRight, handle, CFrame.new(0, 3, 0))
  186.  
  187. local handle=add.Part(car, false,true, "Medium stone grey", 0, Vector3.new(.5, 7.2, .5), nil)
  188. local handleM=add.Mesh("CylinderMesh", handle, Vector3.new(1, 1, 1), nil, nil)
  189. local handleW=add.Weld(handle, body.Torso, CFrame.new(0, -2, 0)*CFrame.Angles(0, 0, -math.rad(90)))
  190.  
  191. local TireLeft=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil)
  192. TireLeftM=add.Mesh("CylinderMesh", TireLeft, Vector3.new(1, 1, 1), nil, nil)
  193. TireLeftW=add.Weld(TireLeft, handle, CFrame.new(0, -3, 0))
  194. local TireRight=add.Part(car, false, true, "Really black", 0, Vector3.new(2, 1, 2), nil)
  195. TireRightM=add.Mesh("CylinderMesh", TireRight, Vector3.new(1, 1, 1), nil, nil)
  196. TireRightW=add.Weld(TireRight, handle, CFrame.new(0, 3, 0))
  197. c(function()
  198. while form do wait()
  199. animate.Torso(CFrame.new(0, -2, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  200. animate.LegLeft(CFrame.Angles(0, 0, 0))
  201. animate.LegRight(CFrame.Angles(0, 0, 0))
  202. end
  203. animate.Torso(CFrame.new())
  204. animate.Head(CFrame.new())
  205. car:remove()
  206. end)
  207. end
  208. human.WalkSpeed=speed
  209. end
  210. function computePos(pos, pos2)
  211. local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  212. torso.CFrame=CFrame.new(pos, pos3)
  213. return pos3
  214. end
  215. function nearTorso(pos, dis)
  216. local temp
  217. local distance=dis
  218. for i, v in pairs(workspace:children()) do
  219. if v:isA("Model") then
  220. temp=v:findFirstChild("Torso")
  221. local humanoid=v:findFirstChild("Humanoid")
  222. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  223. distance=(temp.CFrame.p-pos).magnitude
  224. return temp
  225. end
  226. end
  227. end
  228. end
  229. function trail(pos, cf)
  230. c(function()
  231. local old=(pos.CFrame*cf).p
  232. while trailDeb==true do
  233. wait()
  234. local new=(pos.CFrame*cf).p
  235. local mag=(old-new).magnitude
  236. local dis=(old+new)/2
  237. local trail=add.Part(workspace, true, false, "White", 0, Vector3.new(.5, mag, .5), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trail"
  238. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil)
  239. trail.Touched:connect(hit)
  240. old=new
  241. c(function()
  242. for i=1, 0, -.1 do
  243. wait()
  244. tMesh.Scale=tMesh.Scale*Vector3.new(i, 1, i)
  245. end
  246. trail:remove()
  247. end)
  248. c(function()
  249. for i=0, 1, .1 do
  250. wait()
  251. trail.Transparency=i
  252. end
  253. end)
  254. end
  255. end)
  256. end
  257. function Attack() combo=combo+1
  258. if using==false then
  259. if form==false and keyDeb==false then
  260. using=true
  261. for i, v in pairs(char:children()) do
  262. if v:isA("BasePart") then
  263. v.Touched:connect(hit)
  264. end
  265. end
  266. if combo==1 then Slash:play() print("Right Hook")
  267. trailDeb=true
  268. trail(body.ArmRight, CFrame.new(0, -1.5, 0))
  269. for i=0, 1, .1 do wait()
  270. animate.Torso(CFrame.Angles(0, math.rad(15)*i, 0))
  271. animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  272. end
  273. for i=1, 0, -.1 do wait()
  274. animate.Torso(CFrame.Angles(0, math.rad(15)*i, 0))
  275. animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  276. end
  277. trailDeb=false
  278. if combo>2 then Slash:play()
  279. trailDeb=true
  280. trail(body.ArmLeft, CFrame.new(0, -1.5, 0))
  281. for i=0, 1, .1 do wait()
  282. animate.Torso(CFrame.Angles(0, -math.rad(15)*i, 0))
  283. animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  284. end
  285. for i=1, 0, -.1 do wait()
  286. animate.Torso(CFrame.Angles(0, -math.rad(15)*i, 0))
  287. animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  288. end
  289. trailDeb=false
  290. end
  291. if combo>3 then Slash:play() print("Both Hook")
  292. trailDeb=true
  293. for i=0, 1, .1 do wait()
  294. animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  295. animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  296. end
  297. for i=1, 0, -.1 do wait()
  298. animate.ArmLeft(CFrame.new(.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  299. animate.ArmRight(CFrame.new(-.5*i, 0, -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  300. end
  301. trailDeb=false
  302. end
  303. if combo>4 then print("Rappid Punch")
  304. trailDeb=true
  305. for i=1, 2 do wait()
  306. for i=0, 1, .2 do wait() Slash:play()
  307. animate.ArmLeft(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  308. animate.ArmRight(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range-(-range*i))*CFrame.Angles(math.rad(90), 0, 0))
  309. end
  310. for i=0, 1, .2 do wait()
  311. animate.ArmLeft(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range-(-range*i))*CFrame.Angles(math.rad(90), 0, 0))
  312. animate.ArmRight(CFrame.new(math.random(-2, 2), math.random(-2, 2), -range*i)*CFrame.Angles(math.rad(90), 0, 0))
  313. end
  314. end
  315. trailDeb=false
  316. end
  317. end
  318. trailDeb=false
  319. animate.ArmLeft(CFrame.Angles(0, 0, 0))
  320. animate.ArmRight(CFrame.Angles(0, 0, 0))
  321. using=false
  322. combo=0
  323. running()
  324. end
  325. end
  326. end
  327. local Specials={
  328. ["Festival"]=function() human.WalkSpeed=0
  329. pressing=true
  330. for i=0, 1, .1 do wait()
  331. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(135)*i))
  332. animate.ArmRight(CFrame.Angles(0, 0, math.rad(135)*i))
  333. animate.LegLeft(CFrame.Angles(0, 0, -math.rad(45)*i))
  334. animate.LegRight(CFrame.Angles(0, 0, math.rad(45)*i))
  335. end
  336. trailDeb=true
  337. trail(body.ArmLeft, CFrame.new(0, -1.5, 0))
  338. trail(body.ArmRight, CFrame.new(0, -1.5, 0))
  339. trail(body.LegLeft, CFrame.new(0, -1.5, 0))
  340. trail(body.LegRight, CFrame.new(0, -1.5, 0))
  341. while pressing and mana>=1 do wait() mana=mana-1 Slash:play()
  342. pcall(function()
  343. local touchHelper=add.Part(workspace, true, false, "White", 1, Vector3.new(range*1.5, range*1.5, range*1.5), torso.CFrame)
  344. touchHelper.Touched:connect(hit)
  345. c(function() wait(1)
  346. touchHelper:remove()
  347. end)
  348. end)
  349. for i, v in pairs(char:children()) do
  350. if v.ClassName=="Hat" then
  351. pcall(function()
  352. v.Handle.Transparency=1
  353. torso.Transparency=1
  354. head.Transparency=1
  355. end)
  356. end
  357. pcall(function() v.face.Transparency=1 end)
  358. end
  359. animate.ArmLeft(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45)))
  360. animate.ArmRight(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45)))
  361. animate.LegLeft(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45)))
  362. animate.LegRight(CFrame.new(math.random(-range, range), math.random(-range, range), math.random(-range, range))*CFrame.Angles(math.random(-range, range), math.random(-45, 45), math.random(-45, 45)))
  363. end
  364. trailDeb=false
  365. for i, v in pairs(char:children()) do
  366. if v.ClassName=="Hat" then
  367. pcall(function()
  368. v.Handle.Transparency=0
  369. torso.Transparency=0
  370. head.Transparency=0
  371. end)
  372. end
  373. pcall(function() v.face.Transparency=0 end)
  374. end
  375. for i=1, 0, -.1 do wait()
  376. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(135)*i))
  377. animate.ArmRight(CFrame.Angles(0, 0, math.rad(135)*i))
  378. animate.LegLeft(CFrame.Angles(0, 0, -math.rad(45)*i))
  379. animate.LegRight(CFrame.Angles(0, 0, math.rad(45)*i))
  380. end
  381. running()
  382. human.WalkSpeed=speed
  383. end;
  384. ["Charge"]=function() human.WalkSpeed=0
  385. pressing=true
  386. for i=0, 1, .1 do wait()
  387. animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i))
  388. animate.ArmRight(CFrame.Angles(math.rad(135)*i, 0, math.rad(15)*i))
  389. end
  390. Charge:play()
  391. while pressing do wait() if mana<100 then mana=mana+1 end
  392. local aura=add.Part(workspace, true, false, "Bright blue", .5, Vector3.new(1, 1, 1), torso.CFrame*CFrame.new(0, -2, 0)*CFrame.Angles(0, math.rad(math.random(-45, 45)), 0)) aura.Name="Effect"
  393. local auraM=add.Mesh("SpecialMesh", aura, Vector3.new(1, 1, 1), nil, "File") auraM.MeshId="http://www.roblox.com/asset/?id=20329976"
  394. c(function()
  395. for i=0, 3, .1 do wait()
  396. auraM.Scale=auraM.Scale+Vector3.new(i, i/2, i)
  397. end
  398. c(function()
  399. for i=.5, 1, .1 do
  400. wait()
  401. aura.Transparency=i
  402. end
  403. end)
  404. aura:remove()
  405. end)
  406. end
  407. for i=1, 0, -.1 do wait()
  408. animate.ArmLeft(CFrame.Angles(-math.rad(15)*i, 0, -math.rad(15)*i))
  409. animate.ArmRight(CFrame.Angles(math.rad(135)*i, 0, -math.rad(15)*i))
  410. end
  411. running()
  412. human.WalkSpeed=speed
  413. end;
  414. ["Tornado"]=function() human.WalkSpeed=0
  415. mana=mana-20
  416. for i=0, 1, .1 do wait()
  417. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  418. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  419. animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new())
  420. end
  421. trailDeb=true
  422. trail(body.ArmLeft, CFrame.new(0, -1.5, 0))
  423. trail(body.ArmRight, CFrame.new(0, -1.5, 0))
  424. for i=1, 50 do wait() Slash:play()
  425. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  426. animate.ArmLeft(CFrame.new(-i, i/25, 0)*CFrame.Angles(0, 0, -math.rad(90)))
  427. animate.ArmRight(CFrame.new(i, i/25, 0)*CFrame.Angles(0, 0, math.rad(90)))
  428. animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new())
  429. end
  430. for i=50, 0, -1 do wait() Slash:play()
  431. animate.Torso(CFrame.Angles(0, math.rad(45)*i, 0))
  432. animate.ArmLeft(CFrame.new(-i, i/25, 0)*CFrame.Angles(0, 0, -math.rad(90)))
  433. animate.ArmRight(CFrame.new(i, i/25, 0)*CFrame.Angles(0, 0, math.rad(90)))
  434. animate.LegLeft(CFrame.new()) animate.LegRight(CFrame.new())
  435. end
  436. trailDeb=false
  437. for i=1, 0, -.1 do wait()
  438. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  439. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  440. end
  441. human.WalkSpeed=speed
  442. end;
  443. }
  444. bin.Selected:connect(function(mouse) createParts()
  445. running()
  446. mouse.Button1Down:connect(Attack)
  447. mouse.KeyDown:connect(function(key)
  448. local key=key:lower()
  449. if form==false and using==false then
  450. if key=="q" and mana>=0 and keyDeb==false then
  451. keyDeb=true using=true
  452. Specials.Festival()
  453. keyDeb=false using=false
  454. end
  455. if key=="e" and keyDeb==false and mana>=20 then
  456. keyDeb=true using=true
  457. Specials.Tornado()
  458. keyDeb=false using=false
  459. end
  460. if key=="f" and keyDeb==false then
  461. keyDeb=true
  462. Specials.Charge()
  463. keyDeb=false
  464. end
  465. end
  466. if key=="c" and keyDeb==false and form==false then
  467. keyDeb=true form=true Form="Chibi"
  468. running()
  469. keyDeb=false
  470. elseif key=="c" and keyDeb==false and form==true then
  471. keyDeb=true form=false Form=nil
  472. running()
  473. keyDeb=false
  474. end
  475. if key=="v" and keyDeb==false and form==false then
  476. keyDeb=true form=true Form="Car"
  477. running()
  478. keyDeb=false
  479. elseif key=="v" and keyDeb==false and form==true then
  480. keyDeb=true form=false Form=nil
  481. running()
  482. pcall(function() car:remove() end)
  483. keyDeb=false
  484. end
  485. end)
  486. mouse.KeyUp:connect(function(key)
  487. if form==false then
  488. if key=="q" then pressing=false end
  489. if key=="f" then pressing=false end
  490. end
  491. end)
  492. while wait() do charge.Size=UDim2.new(mana/100, 0, 1, 0) chargeLabel.Text=mana end
  493. end)
  494. bin.Deselected:connect(function() removeParts() end)--mediafire
Add Comment
Please, Sign In to add comment