Advertisement
NextFlamePB

ROBLOX Chop Chop Script

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