BennyBoi

Untitled

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