cat568

Untitled

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