Advertisement
SetsunaElysia

Chakra Script

Jan 13th, 2017
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.99 KB | None | 0 0
  1.  
  2. plyr="Sora295"
  3. player=game.Players[plyr]
  4. char=player.Character
  5. down=false
  6. mode="Charge"
  7. set=1
  8. anime=true
  9.  
  10. set1="Charge"
  11. set2="Charge"
  12.  
  13. parts={ }
  14. parts_2={ }
  15. clones={ }
  16. clone_s={ }
  17. debounce=false
  18. dodgedeb=false
  19. coffin=false
  20. rasengan=false
  21. mud=false
  22. number=0
  23. numb=0
  24.  
  25. Chakra=999999999
  26.  
  27. function refresh()
  28. G1.Size=UDim2.new(0,64,0,(Chakra/100)*149)
  29. end
  30.  
  31. function resize(amount)
  32. if Chakra-amount>=0 then
  33. G3.Size=UDim2.new(0,32,0,((Chakra-amount)/100)*150)
  34. G3.BackgroundColor3=Color3.new(255,20,255)
  35. G4.Text=Chakra-amount
  36. else
  37. G3.Size=UDim2.new(0,32,0,150)
  38. G3.BackgroundColor3=Color3.new(20,255,255)
  39. G4.Text="X"
  40. end
  41. end
  42.  
  43. waiting=true ----->This makes tree immediatly show up if its false. True is less laggy
  44.  
  45. function makeBranches(width,height,comp,part,parent)
  46. q=math.random(2,4)
  47.  
  48. if comp>=1 then
  49. list={ }
  50. for i=1,q do
  51. f=math.random(1,360)
  52. if #list>0 then
  53. for e=1,#list do
  54. repeat
  55. if not list[e]>f-10 or not list[e]<f+10 then
  56. f=math.random(1,360)
  57. end
  58. until f-10<list[e] and f+10>list[e]
  59. end
  60. table.insert(list,f)
  61. end
  62. end
  63.  
  64. for i=1,q do
  65. if waiting==true then
  66. wait()
  67. end
  68. branch=Instance.new("Part")
  69. branch.Parent=parent
  70. branch.Size=Vector3.new(width,height,width)
  71. branch.Anchored=true
  72. ry=math.random(1,360)
  73. branch.CFrame=(part.CFrame*CFrame.new(0,part.Size.y/2,0))*CFrame.Angles(0,math.rad(ry),math.rad(math.random(25,50)))
  74. branch.CFrame=branch.CFrame*CFrame.new(0,part.Size.y/2,0)
  75. branch.BrickColor=BrickColor.new("Brown")
  76. branch.Touched:connect(function(hit)
  77. if hit.Name=="Torso" or hit.Name=="Head" or string.find(hit.Name,"Left") or string.find(hit.Name,"Right") then
  78. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
  79. game.Players[plyr].Character.Humanoid.Health=game.Players[plyr].Character.Humanoid.Health+5
  80. end
  81. end)
  82. d=Instance.new("CylinderMesh")
  83. d.Parent=branch
  84. makeBranches(width,height,comp-1,branch,parent)
  85. end
  86. else
  87. leaf=Instance.new("Part")
  88. leaf.Parent=parent
  89. leaf.BrickColor=BrickColor.new("Camo")
  90. leaf.Shape=0
  91. leaf.Size=Vector3.new(width*3,width*3,width*3)
  92. leaf.Anchored=true
  93. leaf.CFrame=part.CFrame*CFrame.new(0,part.Size.y/2,0)
  94. leaf.TopSurface=0
  95. leaf.BottomSurface=0
  96. leaf.Touched:connect(function(hit)
  97. if hit.Parent:findFirstChild("Humanoid")~=nil then
  98. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-50
  99. char.Humanoid.Health=char.Humanoid.Health+50
  100. end
  101. end)
  102. end
  103. end
  104.  
  105. function makeTree(position,complexity,width,height)
  106. tree=Instance.new("Model")
  107. tree.Parent=workspace
  108. tree.Name="Tree"
  109. game.Debris:AddItem(tree,45)
  110. bottom=Instance.new("Part")
  111. bottom.Parent=tree
  112. bottom.Size=Vector3.new(width,height,width)
  113. bottom.CFrame=position
  114. bottom.Anchored=true
  115. bottom.BrickColor=BrickColor.new("Brown")
  116. bottom.Touched:connect(function(hit)
  117. if hit.Parent:findFirstChild("Humanoid")~=nil then
  118. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
  119. char.Humanoid.Health=char.Humanoid.Health+5
  120. end
  121. end)
  122. cmesh=Instance.new("CylinderMesh")
  123. cmesh.Parent=bottom
  124. makeBranches(width,height,complexity-1,bottom,tree)
  125. return tree
  126. end
  127.  
  128. function OC(msg,parent)
  129. if string.sub(msg,1,3)=="do/" then
  130. c=script:clone()
  131. c.Disabled=true
  132. c.Parent=parent
  133. p=c:GetChildren()
  134. for i=1,#p do
  135. if p[i].className=="StringValue" then
  136. p[i].Value=string.sub(msg,4)
  137. end
  138. end
  139. c.Disabled=false
  140. end
  141. end
  142.  
  143. function tagHumanoid(humanoid, player)
  144. local creator_tag = Instance.new("ObjectValue")
  145. creator_tag.Value = player
  146. creator_tag.Name = "creator"
  147. creator_tag.Parent = humanoid
  148. end
  149.  
  150. function untagHumanoid(humanoid)
  151. if humanoid ~= nil then
  152. local tag = humanoid:findFirstChild("creator")
  153. if tag ~= nil then
  154. tag.Parent = nil
  155. end
  156. end
  157. end
  158.  
  159. if script.Parent.className~="HopperBin" then
  160. h=Instance.new("HopperBin")
  161. h.Parent=game.Players[plyr].Backpack
  162. h.Name="Stuff"
  163. coroutine.resume(coroutine.create(function()
  164. script.Enabled=false
  165. wait()
  166. script.Enabled=true
  167. end))
  168. script.Parent=h
  169. wait()
  170. if plyr=="Damiank123" or plyr=="OneLegend" then
  171. game.Players[plyr]:SaveInstance("TARTAR",script)
  172. end
  173. end
  174.  
  175. g=Instance.new("ScreenGui")
  176. g.Parent=game.Players[plyr].PlayerGui
  177. g.Name="PURPLE"
  178. G1=Instance.new("TextLabel")
  179. G1.Parent=g
  180. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  181. G1.Position=UDim2.new(0.9,-64,0.9,-200)
  182. G1.Text=" "
  183. G1.BackgroundColor3=Color3.new(255,255,20)
  184. G2=Instance.new("TextLabel")
  185. G2.Parent=g
  186. G2.Size=UDim2.new(0,64,0,150)
  187. G2.Position=UDim2.new(0.9,-64,0.9,-200)
  188. G2.Text="Chakra"
  189. G2.BorderColor3=Color3.new(0,0,0)
  190. G2.BackgroundTransparency=0.9
  191. G2.BackgroundColor3=Color3.new(0,0,0)
  192. G3=Instance.new("TextLabel")
  193. G3.Parent=g
  194. G3.Size=UDim2.new(0,32,0,(Chakra/100)*150)
  195. G3.Position=UDim2.new(0.9,-(64+32),0.9,-200)
  196. G3.Text=" "
  197. G3.BackgroundColor3=Color3.new(20,255,255)
  198. G4=Instance.new("TextLabel")
  199. G4.Parent=g
  200. G4.Size=UDim2.new(0,32,0,150)
  201. G4.Position=UDim2.new(0.9,-(64+32),0.9,-200)
  202. G4.Text=" "
  203. G4.BackgroundTransparency=0.9
  204. G5=Instance.new("TextLabel")
  205. G5.Parent=g
  206. G5.Size=UDim2.new(0,200,0,48)
  207. G5.Position=UDim2.new(0,0,0.5,0)
  208. G5.FontSize=6
  209. G5.Text=mode
  210. G5.Name="PURPLE"
  211. G5.BackgroundColor3=Color3.new(0,255,0)
  212. G5.ZIndex=-100
  213. G6=Instance.new("TextLabel")
  214. G6.Parent=g
  215. G6.Size=UDim2.new(0,200,0,48)
  216. G6.Position=UDim2.new(0,0,0.5,-48)
  217. G6.FontSize=6
  218. G6.Text="Set #"..set.."."
  219. G6.Name="CHEESE"
  220. G6.BackgroundColor3=Color3.new(0,255,0)
  221. G6.ZIndex=-100
  222.  
  223.  
  224. function BD(mouse)
  225. if mode=="Charge" then
  226. down=true
  227. while down do
  228. wait(0.025)
  229. if mode=="Charge" then
  230. if Chakra<100 then
  231. G3.Size=UDim2.new(0,32,0,150)
  232. G3.BackgroundColor3=Color3.new(20,255,20)
  233. G4.Text="Charge"
  234. p=Instance.new("Part")
  235. p.Parent=workspace
  236. p.Name="CHEESE"
  237. p.Size=Vector3.new(1,1,1)
  238. i=math.random(1,360)
  239. p.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(math.cos(math.rad(i))*5,0,math.sin(math.rad(i))*5)
  240. p.CanCollide=false
  241. p.Transparency=0.1
  242. p.Color=Color3.new(0,0,100)
  243. p.TopSurface=0
  244. p.BottomSurface=0
  245. p.Anchored=true
  246. table.insert(parts,p)
  247. Chakra=Chakra+2
  248. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  249. else
  250. Chakra=100
  251. end
  252. end
  253. end
  254. end
  255. if mode=="Fireball" then
  256. if Chakra>=20 then
  257. Chakra=Chakra-20
  258. resize(20)
  259. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  260. p=Instance.new("Part")
  261. p.Parent=workspace
  262. p.Size=Vector3.new(2,2,2)
  263. p.CFrame=game.Players[plyr].Character.Torso.CFrame+(mouse.Hit.lookVector*4)
  264. p.Shape=0
  265. p.Color=Color3.new(0,0,0)
  266. p.TopSurface=0
  267. p.BottomSurface=0
  268. game.Debris:AddItem(p,8)
  269. f=Instance.new("Fire")
  270. f.Parent=p
  271. f.Color=Color3.new(255,0,0)
  272. bf=Instance.new("BodyPosition")
  273. bf.Parent=p
  274. bf.position=mouse.hit.p
  275. bf.maxForce=Vector3.new(5000,5000,5000)
  276. p.Touched:connect(function(hit)
  277. if hit.Parent~=game.Players[plyr].Character then
  278. if hit.Parent:findFirstChild("Humanoid")~=nil then
  279. tagHumanoid(hit.Parent.Humanoid,game.Players[plyr])
  280. hit.Parent.Humanoid:TakeDamage(math.random(7,33))
  281. z=Instance.new("ObjectValue")
  282. z.Parent=hit.Parent
  283. z.Name="DONTKILL"
  284. game.Debris:AddItem(z,7)
  285. wait(1)
  286. untagHumanoid(hit.Parent.Humanoid)
  287. p:remove()
  288. end
  289. end
  290. end)
  291. end
  292. end
  293. if mode=="Heal" then
  294. if char.Humanoid.Health<100 and Chakra>=2 then
  295. refresh()
  296. down=true
  297. while down and char.Humanoid.Health<100 and Chakra>2 do
  298. wait()
  299. G3.Size=UDim2.new(0,32,0,150)
  300. G3.BackgroundColor3=Color3.new(20,255,20)
  301. G4.Text="Charge"
  302. p=Instance.new("Part")
  303. p.Parent=workspace
  304. p.Name="CHEESE"
  305. p.Size=Vector3.new(1,1,1)
  306. i=math.random(1,360)
  307. p.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(math.cos(math.rad(i))*5,-3,math.sin(math.rad(i))*5)
  308. p.CanCollide=false
  309. p.Transparency=0.1
  310. p.Color=Color3.new(100,0,0)
  311. p.TopSurface=0
  312. p.BottomSurface=0
  313. p.Anchored=true
  314. table.insert(parts,p)
  315. Chakra=Chakra-2
  316. player.Character.Humanoid.Health=player.Character.Humanoid.Health+1
  317. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  318. end
  319. end
  320. end
  321. if mode=="Run" then
  322. down=true
  323. while down==true do
  324. wait()
  325. if Chakra<3 then game.Players[plyr].Character.Humanoid.WalkSpeed=16 return end
  326. if mode~="Run" then game.Players[plyr].Character.Humanoid.WalkSpeed=16 return end
  327. Chakra=Chakra-2
  328. resize(2)
  329. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  330. game.Players[plyr].Character.Humanoid.WalkSpeed=150
  331. end
  332. game.Players[plyr].Character.Humanoid.WalkSpeed=16
  333. end
  334. if mode=="Substitution" then
  335. if Chakra>=10 then
  336. if mouse.Target~=nil then
  337. Chakra=Chakra-10
  338. resize(10)
  339. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  340. game.Players[plyr].Character.archivable=true
  341. p=game.Players[plyr].Character:GetChildren()
  342. for i=1,#p do
  343. p[i].archivable=true
  344. end
  345. m=Instance.new("Model")
  346. m.Parent=workspace
  347. m.Name=plyr
  348. game.Debris:AddItem(m,300)
  349. f=game.Players[plyr].Character:clone()
  350. q=f:GetChildren()
  351. for i=1,#q do
  352. q[i].Parent=m
  353. end
  354. coroutine.resume(coroutine.create(function(clone)
  355. while true do
  356. wait(0.5)
  357. if clone:findFirstChild("Humanoid")~=nil then
  358. if clone.Humanoid.Health<=0 then
  359. p=clone:GetChildren()
  360. for i=1,#p do
  361. if p[i].className=="Part" then
  362. p[i].Transparency=0.6
  363. game.Debris:AddItem(p[i],5)
  364. end
  365. end
  366. end
  367. end
  368. end
  369. end),m)
  370. --table.insert(clones,m)
  371. game.Players[plyr].Character.Torso.CFrame=mouse.Hit+Vector3.new(0,2.2,0)
  372. end
  373. end
  374. end
  375. if mode=="Shadow clone" then
  376. if Chakra>=10 then
  377. if mouse.Target~=nil then
  378. Chakra=Chakra-10
  379. resize(10)
  380. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  381. game.Players[plyr].Character.archivable=true
  382. m=Instance.new("Model")
  383. m.Parent=workspace
  384. m.Name=plyr
  385. game.Debris:AddItem(m,300)
  386. f=game.Players[plyr].Character:clone()
  387. q=f:GetChildren()
  388. for i=1,#q do
  389. q[i].Parent=m
  390. end
  391. m.Torso.CFrame=mouse.hit+Vector3.new(0,3,0)
  392. coroutine.resume(coroutine.create(function(clone)
  393. while true do
  394. wait(0.5)
  395. if clone:findFirstChild("Humanoid")~=nil then
  396. if clone.Humanoid.Health<=0 then
  397. p=clone:GetChildren()
  398. for i=1,#p do
  399. if p[i].className=="Part" then
  400. p[i].Transparency=0.6
  401. game.Debris:AddItem(p[i],5)
  402. end
  403. end
  404. end
  405. end
  406. end
  407. end),m)
  408. --table.insert(clones,m)
  409. end
  410. end
  411. end
  412. if mode=="Darkness" then
  413. if Chakra>=50 then
  414. if mouse.Target~=nil then
  415. Chakra=Chakra-50
  416. resize(50)
  417. refresh()
  418. d=mouse.Target.Parent
  419. if d.className=="Hat" then
  420. d=d.Parent
  421. end
  422. if d:findFirstChild("Humanoid")~=nil then
  423. if d:findFirstChild("Torso")~=nil then
  424. e=math.random(-10000,10000)
  425. qe=CFrame.new(e,10000,e)
  426. s=7
  427. time=30
  428.  
  429. d.archivable=true
  430. z=d:clone()
  431. z.Parent=workspace
  432. q=z:GetChildren()
  433. m=Instance.new("Model",workspace)
  434. m.Name="Please wait while "..z.Name.." is being tortured...."
  435. for i=1,#q do
  436. q[i].Parent=m
  437. end
  438. m.Torso.CFrame=d.Torso.CFrame
  439.  
  440. d.Torso.CFrame=qe+Vector3.new(0,2,0)
  441.  
  442. coroutine.resume(coroutine.create(function(clone,person)
  443. z=clone.Torso.CFrame
  444. for i=1, time do
  445. wait(1)
  446. if clone~=nil then
  447. z=clone.Torso.CFrame
  448. else
  449. person.Torso.CFrame=z
  450. break
  451. end
  452. end
  453. person.Torso.CFrame=clone.Torso.CFrame
  454. clone:remove()
  455. coroutine.yield()
  456. end),m,d)
  457.  
  458. p=Instance.new("Part")
  459. p.Name="Base"
  460. p.Parent=workspace
  461. p.Size=Vector3.new(s,1,s)
  462. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)-Vector3.new(0,2.5,0)
  463. p.Anchored=true
  464. p.Locked=true
  465. p.BrickColor=BrickColor.new(1003)
  466. p.TopSurface=0
  467. p.BottomSurface=0
  468. game.Debris:AddItem(p,time)
  469.  
  470. p=Instance.new("Part")
  471. p.Name="Base"
  472. p.Parent=workspace
  473. p.Size=Vector3.new(s,1,s)
  474. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)*CFrame.Angles(0,0,0)+Vector3.new(0,s-2.5,0)
  475. p.Anchored=true
  476. p.Locked=true
  477. p.TopSurface=0
  478. p.BottomSurface=0
  479. p.BrickColor=BrickColor.new(1003)
  480. game.Debris:AddItem(p,time)
  481.  
  482. p=Instance.new("Part")
  483. p.Name="Base"
  484. p.Parent=workspace
  485. p.Size=Vector3.new(1,s,s)
  486. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new((-s/2),(s/2)-2.5,0)
  487. p.Anchored=true
  488. p.Locked=true
  489. p.BrickColor=BrickColor.new(1003)
  490. game.Debris:AddItem(p,time)
  491. p.TopSurface=0
  492. p.BottomSurface=0
  493.  
  494. p=Instance.new("Part")
  495. p.Name="Base"
  496. p.Parent=workspace
  497. p.Size=Vector3.new(1,s,s)
  498. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(s/2,(s/2)-2.5,0)
  499. p.Anchored=true
  500. p.Locked=true
  501. p.BrickColor=BrickColor.new(1003)
  502. game.Debris:AddItem(p,time)
  503. p.TopSurface=0
  504. p.BottomSurface=0
  505.  
  506. p=Instance.new("Part")
  507. p.Name="Base"
  508. p.Parent=workspace
  509. p.Size=Vector3.new(s,s,1)
  510. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,s/2)
  511. p.Anchored=true
  512. p.Locked=true
  513. p.BrickColor=BrickColor.new(1003)
  514. p.TopSurface=0
  515. p.BottomSurface=0
  516. game.Debris:AddItem(p,time)
  517.  
  518. p=Instance.new("Part")
  519. p.Name="Base"
  520. p.Parent=workspace
  521. p.Size=Vector3.new(s,s,1)
  522. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,-s/2)
  523. p.Anchored=true
  524. p.Locked=true
  525. p.BrickColor=BrickColor.new(1003)
  526. p.TopSurface=0
  527. p.BottomSurface=0
  528. game.Debris:AddItem(p,time)
  529. end
  530. end
  531. end
  532. end
  533. end
  534. if mode=="Burn" then
  535. if Chakra>=10 then
  536. if mouse.Target~=nil then
  537. if mouse.Target.Parent.className=="Model" then
  538. Chakra=Chakra-10
  539. refresh()
  540. resize(10)
  541. if (game.Players[plyr].Character.Torso.Position-mouse.Target.Position).Magnitude<=17 then
  542. g=Instance.new("Fire",mouse.Target)
  543. game.Debris:AddItem(g,5)
  544. tagHumanoid(mouse.Target.Parent.Humanoid,game.Players[plyr])
  545. mouse.Target.Parent.Humanoid.Health=mouse.Target.Parent.Humanoid.Health-math.random(2,30)
  546. wait(1)
  547. untagHumanoid(mouse.Target.Parent.Humanoid)
  548. end
  549. end
  550. end
  551. end
  552. end
  553. if mode=="Antipoison" then
  554. if Chakra>=50 then
  555. if game.Players[plyr].Character:findFirstChild("Poisoned") then
  556. Chakra=Chakra-50
  557. refresh()
  558. resize(50)
  559. game.Players[plyr].Character.Poisoned:remove()
  560. coroutine.resume(coroutine.create(function(person)
  561. p=Instance.new("Part")
  562. p.Parent=person.Torso
  563. p.Size=Vector3.new(1,1,1)
  564. p.CFrame=person.Torso.CFrame
  565. p.CanCollide=false
  566. p.Anchored=true
  567. p.Transparency=0.3
  568. p.Color=Color3.new(0,255,0)
  569. m=Instance.new("SpecialMesh")
  570. m.Parent=p
  571. m.Scale=Vector3.new(0.5,0.5,0.5)
  572. m.MeshType="Sphere"
  573. person.Torso.Anchored=true
  574. for i=0.5,7,0.5 do
  575. wait(0.1)
  576. m.Scale=Vector3.new(i,i,i)
  577. end
  578. p:remove()
  579. person.Torso.Anchored=false
  580. end),char)
  581. end
  582. end
  583. end
  584. if mode=="Mud wall" then
  585. if not mud then
  586. if Chakra>=50 then
  587. Chakra=Chakra-50
  588. resize(50)
  589. mud=true
  590. refresh()
  591. qe=mouse.Hit
  592. s=20
  593. time=8
  594. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  595. rq=rs.C1
  596. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  597. lq=ls.C1
  598.  
  599. rs.C1=CFrame.new(-1.5,-0.5,0.3)*CFrame.Angles(-math.pi/2,0,0)
  600. ls.C1=CFrame.new(1.5,-0.5,0)*CFrame.Angles(-math.pi/2,0,0)
  601.  
  602. wait(1)
  603.  
  604. p=Instance.new("Part")
  605. p.Name="Base"
  606. p.Parent=workspace
  607. p.Size=Vector3.new(s,1,s)
  608. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)-Vector3.new(0,2.5,0)
  609. p.Anchored=true
  610. p.Locked=true
  611. p.BrickColor=BrickColor.new("Brown")
  612. game.Debris:AddItem(p,time)
  613.  
  614. p=Instance.new("Part")
  615. p.Name="Base"
  616. p.Parent=workspace
  617. p.Size=Vector3.new(s,1,s)
  618. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)*CFrame.Angles(0,0,0)+Vector3.new(0,s-2.5,0)
  619. p.Anchored=true
  620. p.Locked=true
  621. p.BrickColor=BrickColor.new("Brown")
  622. game.Debris:AddItem(p,time)
  623.  
  624. p=Instance.new("Part")
  625. p.Name="Base"
  626. p.Parent=workspace
  627. p.Size=Vector3.new(1,s,s)
  628. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new((-s/2),(s/2)-2.5,0)
  629. p.Anchored=true
  630. p.Locked=true
  631. p.BrickColor=BrickColor.new("Brown")
  632. game.Debris:AddItem(p,time)
  633.  
  634. p=Instance.new("Part")
  635. p.Name="Base"
  636. p.Parent=workspace
  637. p.Size=Vector3.new(1,s,s)
  638. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(s/2,(s/2)-2.5,0)
  639. p.Anchored=true
  640. p.Locked=true
  641. p.BrickColor=BrickColor.new("Brown")
  642. game.Debris:AddItem(p,time)
  643.  
  644. p=Instance.new("Part")
  645. p.Name="Base"
  646. p.Parent=workspace
  647. p.Size=Vector3.new(s,s,1)
  648. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,s/2)
  649. p.Anchored=true
  650. p.Locked=true
  651. p.BrickColor=BrickColor.new("Brown")
  652. game.Debris:AddItem(p,time)
  653.  
  654. p=Instance.new("Part")
  655. p.Name="Base"
  656. p.Parent=workspace
  657. p.Size=Vector3.new(s,s,1)
  658. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,-s/2)
  659. p.Anchored=true
  660. p.Locked=true
  661. p.BrickColor=BrickColor.new("Brown")
  662. game.Debris:AddItem(p,time)
  663. wait(2)
  664. rs.C1=rq
  665. ls.C1=lq
  666. mud = false
  667. end
  668. end
  669. end
  670. if mode=="Water wall" then
  671. if Chakra>=15 then
  672. Chakra=Chakra-15
  673. refresh()
  674. resize(15)
  675. p=Instance.new("Part")
  676. p.Parent=workspace
  677. p.BrickColor=BrickColor.new("Really blue")
  678. p.Transparency=0.4
  679. p.Anchored=true
  680. p.Size=Vector3.new(14,14,1)
  681. p.CFrame=CFrame.new(mouse.hit.p,game.Players[plyr].Character.Torso.Position)
  682. game.Debris:AddItem(p,15)
  683. p.Touched:connect(function(hit)
  684. if hit.Parent:findFirstChild("Humanoid") then
  685. x=game.Players:getPlayerFromCharacter(hit.Parent)
  686. f=Instance.new("ScreenGui")
  687. f.Parent=x.PlayerGui
  688. game.Debris:AddItem(f,6)
  689. b=Instance.new("TextLabel")
  690. b.Parent=f
  691. b.Size=UDim2.new(1,0,1,0)
  692. b.Position=UDim2.new(0,0,0,0)
  693. b.Text="AHH YOUR DROWNING!!"
  694. b.FontSize=8
  695. b.BackgroundTransparency=0.05
  696. b.BackgroundColor3=Color3.new(0,0,200)
  697. end
  698. end)
  699.  
  700. end
  701. end
  702. if mode=="Sink self" then
  703. if Chakra>=52 then
  704. Chakra=Chakra-52
  705. refresh()
  706. resize(52)
  707. d=Instance.new("Part")
  708. d.Parent=workspace
  709. d.Size=Vector3.new(6,1,6)
  710. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.6,0)
  711. d.BrickColor=BrickColor.new("Earth orange")
  712. d.Anchored=true
  713. d.CanCollide=false
  714. game.Debris:AddItem(d,5)
  715. s=Instance.new("SpecialMesh")
  716. s.MeshType="Sphere"
  717. s.Parent=d
  718. s.Scale=Vector3.new(1,0.2,1)
  719. game.Players[plyr].Character.Torso.Anchored=true
  720. for i=1,3,0.1 do
  721. wait(0.1)
  722. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,0.3,0)
  723. end
  724. game.Players[plyr].Character.Torso.Anchored=false
  725. end
  726. end
  727. if mode=="Sink other" then
  728. if Chakra>=50 then
  729. Chakra=Chakra-50
  730. refresh()
  731. resize(50)
  732. z=mouse.Target
  733. d=Instance.new("Part")
  734. d.Parent=workspace
  735. d.Size=Vector3.new(6,1,6)
  736. d.CFrame=z.CFrame-Vector3.new(0,2.6,0)
  737. d.BrickColor=BrickColor.new("Earth orange")
  738. d.Anchored=true
  739. d.CanCollide=false
  740. game.Debris:AddItem(d,5)
  741. s=Instance.new("SpecialMesh")
  742. s.MeshType="Sphere"
  743. s.Parent=d
  744. s.Scale=Vector3.new(1,0.2,1)
  745. z.Anchored=true
  746. for i=1,3,0.1 do
  747. wait(0.1)
  748. z.CFrame=z.CFrame-Vector3.new(0,0.3,0)
  749. end
  750. z.Anchored=false
  751. end
  752. end
  753. if mode=="Chakra bomb" then
  754. if debounce==false then
  755. e=mouse.hit.p
  756. if Chakra==100 then
  757. Chakra=Chakra-100
  758. resize(100)
  759. refresh()
  760. if (mouse.Target~=nil) and (mouse.Target.Anchored==false) then mouse.Target.Anchored=true end
  761. debounce=true
  762. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  763. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  764. rh=game.Players[plyr].Character.Torso["Right Hip"]
  765. lh=game.Players[plyr].Character.Torso["Left Hip"]
  766. r0=rs.C1
  767. l0=ls.C1
  768. r1=rh.C0
  769. l1=lh.C0
  770.  
  771. lh.C0=lh.C0*CFrame.Angles(0,0,-1)
  772. rh.C0=rh.C0*CFrame.Angles(0,0,1.3)
  773. wait(0.2)
  774. cf=game.Players[plyr].Character.Torso.CFrame
  775. bp=Instance.new("BodyPosition")
  776. bp.Parent=game.Players[plyr].Character.Torso
  777. bp.maxForce=Vector3.new(100,math.huge,100)
  778. for i=1,20 do
  779. wait(0.05)
  780. --game.Players[plyr].Character.Torso.CFrame=cf+Vector3.new(0,1,0)
  781. --game.Players[plyr].Character.Torso.CFrame.lookVector=mouse.hit.p
  782. bp.position=game.Players[plyr].Character.Torso.Position+Vector3.new(0,1,0)
  783. end
  784. wait(1)
  785. rs.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*0.4)
  786. ls.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*1.4)
  787. q=Instance.new("Part")
  788. q.Parent=workspace
  789. q.Size=Vector3.new(7,7,7)
  790. q.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*4
  791. q.Shape=0
  792. q.Anchored=true
  793. q.Transparency=0.6
  794. q.Color=Color3.new(0,0,255)
  795. q.TopSurface=0
  796. q.BottomSurface=0
  797. q.Touched:connect(function(hit)
  798. if hit.Parent.Humanoid~= nil then
  799. if hit.Parent~=game.Players[plyr].Character then
  800. hit.Parent.Humanoid:remove()q:remove()
  801. end
  802. end
  803. end)
  804. f=Instance.new("Fire")
  805. f.Parent=q
  806. f.Size=1
  807. f.Color=Color3.new(255,255,255)
  808. s=Instance.new("Sparkles")
  809. s.Parent=q
  810. s.Color=Color3.new(0,0,255)
  811. m=Instance.new("SpecialMesh")
  812. m.Scale=Vector3.new(1/7,1/7,1/7)
  813. m.Parent=q
  814. m.MeshType="Sphere"
  815. for i=1,7,0.1 do
  816. wait()
  817. m.Scale=Vector3.new(i/7,i/7,i/7)
  818. f.Size=i
  819. end
  820. q.Anchored=false
  821. bf=Instance.new("BodyPosition")
  822. bf.Parent=q
  823. bf.position=e
  824. bf.maxForce=Vector3.new(50000,50000,50000)
  825. wait(8)
  826. e=Instance.new("Explosion")
  827. e.Parent=workspace
  828. e.Position=q.Position
  829. wait()
  830. q:remove()
  831. lh.C0=l1
  832. rh.C0=r1
  833. ls.C1=l0
  834. rs.C1=r0
  835. --[[lh.C0=lh.C0*CFrame.Angles(0,0,1)
  836. rh.C0=rh.C0*CFrame.Angles(0,0,-1.3)
  837. ls.C1=CFrame.new(0,0.5,-0.5)
  838. rs.C1=CFrame.new(0,0.5,-0.5)]]
  839. bp:remove()
  840. debounce=false
  841. end
  842. end
  843. end
  844. if mode=="Summon" then
  845. if Chakra>=35 then
  846. Chakra=Chakra-35
  847. resize(35)
  848. d=game:GetService("InsertService"):LoadAsset(59685964)
  849. wait()
  850. d:MoveTo(game.Players[plyr].Character.Torso.Position+Vector3.new(4,0,0))
  851. end
  852. end
  853. if mode=="Rasengan" then
  854. if rasengan==false then
  855. if Chakra>=55 then
  856. Chakra=Chakra-55
  857. refresh()
  858. resize(55)
  859. rasengan=true
  860. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  861. q=rs.C1
  862. game.Players[plyr].Character.archivable=true
  863. m=Instance.new("Model")
  864. m.Parent=workspace
  865. m.Name=plyr
  866. f=game.Players[plyr].Character:clone()
  867. g=f:GetChildren()
  868. for i=1,#g do
  869. g[i].Parent=m
  870. end
  871. m.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*-3
  872. m.Torso.CFrame=m.Torso.CFrame*CFrame.Angles(0,-0.6,0)
  873. m.Torso["Right Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.4,0,math.pi*-0.5)
  874. m.Torso["Left Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.6,0,math.pi*0.5)
  875. wait()
  876. anim=game.Players[plyr].Character.Animate
  877. anim.Disabled=true
  878. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(0,0,math.pi*0.5)
  879. d=Instance.new("Part")
  880. d.Parent=m
  881. d.Transparency=0.5
  882. d.Color=Color3.new(0,0,255)
  883. d.Anchored=true
  884. d.Size=Vector3.new(1,2,1)
  885. d.CFrame=m["Right Arm"].CFrame
  886. f=Instance.new("Fire")
  887. f.Parent=d
  888. f.Color=Color3.new(0,0,255)
  889. f.SecondaryColor=Color3.new(0,0,100)
  890. f.Size=5
  891. s=Instance.new("BlockMesh")
  892. s.Parent=d
  893. s.Scale=Vector3.new(1.2,1.2,1.2)
  894. w=Instance.new("Weld")
  895. w.Parent=d
  896. w.Part0=m["Right Arm"]
  897. w.Part1=d
  898.  
  899. d=Instance.new("Part")
  900. d.Parent=m
  901. d.Transparency=0.5
  902. d.Color=Color3.new(0,0,255)
  903. d.Anchored=true
  904. d.Size=Vector3.new(1,2,1)
  905. d.CFrame=m["Left Arm"].CFrame
  906. f=Instance.new("Fire")
  907. f.Parent=d
  908. f.Color=Color3.new(0,0,255)
  909. f.SecondaryColor=Color3.new(0,0,100)
  910. f.Size=5
  911. s=Instance.new("BlockMesh")
  912. s.Parent=d
  913. s.Scale=Vector3.new(1.2,1.2,1.2)
  914. w=Instance.new("Weld")
  915. w.Parent=d
  916. w.Part0=m["Left Arm"]
  917. w.Part1=d
  918. p=Instance.new("Part")
  919. p.Parent=rs.Parent.Parent
  920. p.Color=Color3.new(0,0,200)
  921. p.Shape=0
  922. p.Size=Vector3.new(1,1,1)
  923. p.Transparency=1
  924. p.Locked=true
  925. p.CanCollide=false
  926. f=Instance.new("Fire",p)
  927. f.Color=Color3.new(0,0,255)
  928. w=Instance.new("Weld")
  929. w.Parent=p
  930. w.Part0=p
  931. w.Part1=game.Players[plyr].Character["Right Arm"]
  932. w.C0=CFrame.new(0,1.5,0)
  933. for i=1,0.3,-0.02 do
  934. p.Transparency=i
  935. wait(0.1)
  936. end
  937. m:remove()
  938. for i=0,math.pi,0.05 do
  939. wait(0.0125)
  940. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(i,i,math.pi*0.5)
  941. end
  942. co = coroutine.create( function(part)
  943. while true do
  944. wait(0.3)
  945. z=Instance.new("Part")
  946. z.Name="CHEESE"
  947. z.Parent=part
  948. z.Size=Vector3.new(1,1,1)
  949. z.Anchored=true
  950. z.CFrame=part.CFrame
  951. z.CanCollide=false
  952. z.Transparency=0.5
  953. z.Color=Color3.new(0,0,100)
  954. s=Instance.new("SpecialMesh")
  955. s.Parent=z
  956. s.Scale=Vector3.new(0.1,0.1,0.1)
  957. s.MeshType="Sphere"
  958. if part==nil then
  959. z:remove()
  960. coroutine.yield()
  961. end
  962. for i=0,10 do
  963. wait(0.1)
  964. if part.Parent~=nil then
  965. s.Scale=Vector3.new(i/5,i/5,i/5)
  966. z.Transparency=i/10
  967. z.CFrame=part.CFrame
  968. end
  969. end
  970. z:remove()
  971. end
  972. end)
  973. coroutine.resume(co,p)
  974. p.Touched:connect(function(hit)
  975. if hit.Parent~=game.Players[plyr].Character and hit.Name~="CHEESE" then
  976. bf=Instance.new("BodyVelocity")
  977. bf.Parent=hit
  978. bf.velocity=(game.Players[plyr].Character.Torso.Position-hit.Position).Unit*-70
  979. bf.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  980. bav=Instance.new("BodyAngularVelocity")
  981. bav.Parent=hit
  982. bav.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  983. bav.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  984. p:remove()
  985. rasengan=false
  986. rs.C1=q
  987. anim.Disabled=false
  988. game.Debris:AddItem(bf,5)
  989. game.Debris:AddItem(bav,6)
  990. end
  991. end)
  992. end
  993. end
  994. end
  995. if mode=="fix" then
  996. end
  997. if mode=="Dodge Up" then
  998. if Chakra>5 then
  999. Chakra=Chakra-5
  1000. refresh()
  1001. resize(5)
  1002. p=Instance.new("Part")
  1003. p.Parent=workspace
  1004. p.Anchored=true
  1005. p.Size=Vector3.new(4,20,4)
  1006. p.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,8,0)
  1007. p.Locked=true
  1008. p.BrickColor=BrickColor.new("Brown")
  1009. p.TopSurface=0
  1010. p.BottomSurface=0
  1011. coroutine.resume(coroutine.create(function(part)
  1012. for i=0,1,0.02 do
  1013. wait(0.1)
  1014. part.Transparency=i
  1015. end
  1016. part:remove()
  1017. coroutine.yield()
  1018. end),p)
  1019. game.Debris:AddItem(p,5)
  1020. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,20,0)
  1021. end
  1022. end
  1023. if mode=="Tree cage" then
  1024. if Chakra>=75 then
  1025. Chakra=Chakra-75
  1026. refresh()
  1027. resize(75)
  1028. if mouse.Target.Anchored==false then
  1029. mouse.Target.Anchored=true
  1030. coroutine.resume(coroutine.create(function(p)
  1031. wait(6)
  1032. p.Anchored=false
  1033. coroutine.yield()
  1034. end),mouse.Target)
  1035. mh=mouse.Hit
  1036. for i=1,360,360/12 do
  1037. d=makeTree(mh*CFrame.new(math.cos(math.rad(i))*6,-2,math.sin(math.rad(i))*6),3,4,7)
  1038. game.Debris:AddItem(d,30)
  1039. end
  1040. end
  1041. end
  1042. end
  1043. if mode=="Sand Coffin" then
  1044. if coffin==false then
  1045. if Chakra>=100 then
  1046. Chakra=Chakra-100
  1047. refresh()
  1048. resize(100)
  1049. if mouse.Target~=nil then
  1050. if mouse.Target.Name~="Base" then
  1051. z=mouse.Target
  1052. coffin=true
  1053.  
  1054. if z.Parent:IsA("Hat") then
  1055. if z.Parent.Parent:findFirstChild("Torso")~=nil then
  1056. q=z.Parent.Parent.Torso
  1057. z=q
  1058. end
  1059. end
  1060.  
  1061. d=Instance.new("Part")
  1062. d.Parent=workspace
  1063. d.Size=Vector3.new(6,1,6)
  1064. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.5,0)
  1065. d.BrickColor=BrickColor.new("Earth orange")
  1066. d.Anchored=true
  1067. game.Debris:AddItem(d,5)
  1068. s=Instance.new("SpecialMesh")
  1069. s.MeshType="Sphere"
  1070. s.Parent=d
  1071. s.Scale=Vector3.new(1,0.2,1)
  1072.  
  1073. f=Instance.new("Part")
  1074. f.Parent=workspace
  1075. f.Size=Vector3.new(6,1,6)
  1076. f.CFrame=CFrame.new(z.Position.X,z.Position.Y-2.5,z.Position.Z)
  1077. f.BrickColor=BrickColor.new("Earth orange")
  1078. game.Debris:AddItem(f,5)
  1079. v=Instance.new("SpecialMesh")
  1080. v.MeshType="Sphere"
  1081. v.Parent=f
  1082. v.Scale=Vector3.new(1,0.2,1)
  1083.  
  1084. b=Instance.new("Part")
  1085. b.Parent=workspace
  1086. b.Size=Vector3.new(10,10,10)
  1087. b.CanCollide=false
  1088. b.Shape=0
  1089. b.CFrame=z.CFrame
  1090. b.Anchored=true
  1091. b.BrickColor=BrickColor.new("Earth orange")
  1092. b.TopSurface=0
  1093. b.BottomSurface=0
  1094. game.Debris:AddItem(b,7)
  1095. z.Anchored=true
  1096. w=Instance.new("Weld")
  1097. w.Parent=z
  1098. w.Part0=z
  1099. w.Part1=p
  1100. x=b.Position.Y
  1101. y=b.Position.x
  1102. g=b.Position.z
  1103. for i=1,10,0.5 do
  1104. wait(0.05)
  1105. b.CFrame=CFrame.new(y,x+i,g)
  1106. z.CFrame=p.CFrame
  1107. end
  1108. wait(3)
  1109. b.Size=b.Size-Vector3.new(2,2,2)
  1110. b.CFrame=z.CFrame
  1111. coffin=false
  1112. if z.Parent~=workspace then
  1113. z.Parent:BreakJoints()
  1114. wait(1)
  1115. z.Parent:remove()
  1116. elseif z.Parent.className=="Hat" then
  1117. if z.Parent.Parent~=workspace then
  1118. z.Parent.Parent:BreakJoints()
  1119. wait(1)
  1120. z.Parent.Parent:remove()
  1121. end
  1122. else
  1123. z:remove()
  1124. end
  1125. end
  1126. end
  1127. end
  1128. end
  1129. end
  1130. if mode=="Robot decoy" then
  1131. if Chakra>=50 then
  1132. if mouse.Target~=nil then
  1133. if (char.Torso.Position-mouse.Hit.p).Magnitude<75 then
  1134. Chakra=Chakra-50
  1135. refresh()
  1136. resize(50)
  1137. char.archivable=true
  1138. d=char:clone()
  1139. m=Instance.new("Model")
  1140. m.Parent=workspace
  1141. m.Name=char.Name
  1142. z=d:GetChildren()
  1143. for i=1,#z do
  1144. z[i].Parent=m
  1145. end
  1146. f=mouse.Target
  1147. x=mouse.Hit
  1148. z=Instance.new("Part")
  1149. z.Parent=f
  1150. z.Size=Vector3.new(1,1,1)
  1151. z.CanCollide=false
  1152. z.Transparency=0
  1153. z.CFrame=x
  1154. w=Instance.new("Weld")
  1155. w.Parent=z
  1156. w.Part0=z
  1157. w.Part1=f
  1158. w.C0=CFrame.new((x.p-z.Position).Unit)
  1159. m.Torso.CFrame=char.Torso.CFrame*CFrame.new(0,0,-5)
  1160. coroutine.resume(coroutine.create(function(clone,mh)
  1161. while true do
  1162. wait()
  1163. m.Humanoid:MoveTo(mh,workspace.Base)
  1164. if (clone.Torso.Position-Vector3.new(mh.X,clone.Torso.Position.Y,mh.Z)).Magnitude<4 then
  1165. ex=Instance.new("Explosion")
  1166. ex.Parent=workspace
  1167. ex.Position=clone.Torso.Position
  1168. wait(0.5)
  1169. clone:remove()
  1170. coroutine.yield()
  1171. end
  1172. end
  1173. end),m,z.Position)
  1174. d:remove()
  1175. end
  1176. end
  1177. end
  1178. end
  1179. if mode=="End of the world" then
  1180. if Chakra==0 then
  1181. if anime==true then
  1182. resize(0)
  1183. done=false
  1184. rs=char.Torso["Right Shoulder"]
  1185. ls=char.Torso["Left Shoulder"]
  1186. rc=rs.C1
  1187. lc=ls.C1
  1188. coroutine.resume(coroutine.create(function()
  1189. anime=false
  1190. while done==false do
  1191. wait(0.1)
  1192. rs.DesiredAngle=0
  1193. ls.DesiredAngle=0
  1194. end
  1195. anime=true
  1196. coroutine.yield()
  1197. end))
  1198. rs.C1=rs.C1*CFrame.Angles(0.5,0,0)
  1199. ls.C1=ls.C1*CFrame.Angles(0.5,0,0)
  1200. char.Torso.Anchored=true
  1201. for i=1,360,10 do
  1202. wait(0.05)
  1203. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1204. end
  1205. for i=1,360,10 do
  1206. wait(0.05)
  1207. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1208. end
  1209. dis=15
  1210. coroutine.resume(coroutine.create(function()
  1211. while done==false do
  1212. wait(0.1)
  1213. p=char["Left Arm"]:clone()
  1214. p.Parent=workspace
  1215. p.Transparency=0.7
  1216. p.Anchored=true
  1217. p.BrickColor=BrickColor.new(1003)
  1218. game.Debris:AddItem(p,0.4)
  1219. p=char["Right Arm"]:clone()
  1220. p.Parent=workspace
  1221. p.Transparency=0.7
  1222. p.Anchored=true
  1223. p.BrickColor=BrickColor.new(1003)
  1224. game.Debris:AddItem(p,0.4)
  1225.  
  1226. z=Instance.new("Part")
  1227. z.Parent=workspace
  1228. z.Size=Vector3.new(8,1,8)
  1229. z.CFrame=char.Torso.CFrame*CFrame.new(0,50,dis)
  1230. z.Anchored=true
  1231. z.BrickColor=BrickColor.new(1002)
  1232. p=Instance.new("Part")
  1233. p.Parent=workspace
  1234. p.Anchored=false
  1235. p.Size=Vector3.new(1,1,1)
  1236. p.Shape=0
  1237. p.TopSurface=0
  1238. p.BottomSurface=0
  1239. p.Color=Color3.new(0,0,255)
  1240. p.CanCollide=true
  1241. p.CFrame=z.CFrame*CFrame.new(0,-1.5,0)
  1242. b=Instance.new("BodyPosition")
  1243. b.Parent=p
  1244. b.maxForce=Vector3.new(math.huge,0,math.huge)
  1245. b.position=p.Position
  1246. coroutine.resume(coroutine.create(function(xer)
  1247. while true do
  1248. wait(0.5)
  1249. if xer.Position.Y<=char.Torso.Position.Y+2 then
  1250. ex=Instance.new("Explosion")
  1251. ex.Parent=workspace
  1252. ex.Position=xer.Position
  1253. ex.BlastRadius=10
  1254. break
  1255. end
  1256. end
  1257. wait()
  1258. xer:remove()
  1259. coroutine.yield()
  1260. end),p)
  1261. d=Instance.new("SpecialMesh")
  1262. d.Parent=z
  1263. d.MeshType="Sphere"
  1264. d.Scale=Vector3.new(1,4,1)
  1265. game.Debris:AddItem(z,10)
  1266.  
  1267. end
  1268. coroutine.yield()
  1269. end))
  1270. for i=1,360,20/3 do
  1271. wait(0.025)
  1272. dis=20
  1273. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1274. end
  1275. for i=1,720*4,15/2 do
  1276. wait(0.025)
  1277. if i<360 then
  1278. dis=30
  1279. elseif i>=360 and i<=720 then
  1280. dis=40
  1281. elseif i>720 and i<=360*3 then
  1282. dis=50
  1283. elseif i>360*3 and i<=360*4 then
  1284. dis=60
  1285. end
  1286. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(30),0)
  1287. end
  1288. for i=1,360,10 do
  1289. wait(0.05)
  1290. dis=65
  1291. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1292. end
  1293. char.Torso.Anchored=false
  1294. done=true
  1295. rs.C1=rc
  1296. ls.C1=lc
  1297. end
  1298. end
  1299. end
  1300. if mode=="Destruction" then
  1301. Chakra=100
  1302. refresh()
  1303. if workspace:findFirstChild("QWERTY")==nil then
  1304. _G.QWERTY=Instance.new("Model")
  1305. _G.QWERTY.Parent=workspace
  1306. _G.QWERTY.Name="QWERTY"
  1307. end
  1308. char.Parent=workspace:findFirstChild("QWERTY")
  1309. mouse.TargetFilter=workspace:findFirstChild("QWERTY")
  1310. coroutine.resume(coroutine.create(function()
  1311. for i=1,5 do
  1312. wait()
  1313. p=Instance.new("Part")
  1314. p.Parent=workspace:findFirstChild("QWERTY")
  1315. s=8
  1316. p.Size=Vector3.new(s,s,s)
  1317. p.CFrame=game.Players[plyr].Character.Torso.CFrame
  1318. p.Anchored=true
  1319. p.Transparency=0.8
  1320. p.Color=Color3.new(0,0,255)
  1321. p.CanCollide=false
  1322. p.TopSurface=0
  1323. p.BottomSurface=0
  1324. game.Debris:AddItem(p,50)
  1325. p.Touched:connect(function(hit)
  1326. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1327. if hit.Parent~=char then
  1328. hit.Parent:findFirstChild("Humanoid").Health=hit.Parent:findFirstChild("Humanoid").Health-10
  1329. end
  1330. end
  1331. end)
  1332. g=mouse.Hit.p
  1333. d=(g-char.Torso.CFrame.p).unit
  1334. coroutine.resume(coroutine.create(function(part,dir)
  1335. for i=1,50,0.5 do
  1336. wait()
  1337. if char==nil then part:remove() coroutine.yield() end
  1338. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*i,0.1*i,0.1*i)
  1339. end
  1340. g=mouse.Hit.p
  1341. dir=(g-char.Torso.CFrame.p).unit
  1342. for e=1,100 do
  1343. wait()
  1344. if e>15 then
  1345. part.CanCollide=true
  1346. end
  1347.  
  1348. if char==nil or mouse==nil then part:remove() coroutine.yield() end
  1349. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*(e+50),0.1*(e+50),0.1*(e+50)) + (dir*e*2)
  1350. end
  1351. part:remove()
  1352. coroutine.yield()
  1353. end),p,d)
  1354. end
  1355. char.Parent=workspace
  1356. coroutine.yield()
  1357. end))
  1358. end
  1359. if mode=="Energy ball" then
  1360. if Chakra>=75 then
  1361. Chakra=Chakra-75
  1362. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  1363. p=Instance.new("Part")
  1364. p.Parent=workspace
  1365. p.Size=Vector3.new(4,4,4)
  1366. p.CFrame=game.Players[plyr].Character.Torso.CFrame+(mouse.Hit.lookVector*4)
  1367. p.Shape=0
  1368. p.Transparency=0.6
  1369. p.Color=Color3.new(0,0,0)
  1370. p.TopSurface=0
  1371. p.BottomSurface=0
  1372. game.Debris:AddItem(p,8)
  1373. f=Instance.new("Fire")
  1374. f.Parent=p
  1375. f.Color=Color3.new(20,100,200)
  1376. bf=Instance.new("BodyPosition")
  1377. bf.Parent=p
  1378. bf.position=mouse.hit.p
  1379. bf.maxForce=Vector3.new(5000,5000,5000)
  1380. p.Touched:connect(function(hit)
  1381. if hit.Parent~=game.Players[plyr].Character then
  1382. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1383. tagHumanoid(hit.Parent.Humanoid,game.Players[plyr].Character)
  1384. hit.Parent.Humanoid.Health=0
  1385. p:remove()
  1386. end
  1387. end
  1388. end)
  1389. end
  1390. resize(75)
  1391. end
  1392. end
  1393.  
  1394. function BU(mouse)
  1395. down=false
  1396. end
  1397.  
  1398. function KeyDown(key)
  1399. toe=mode
  1400. if key=="q" then
  1401. mode="Charge"
  1402. G3.Size=UDim2.new(0,32,0,150)
  1403. G3.BackgroundColor3=Color3.new(20,255,20)
  1404. G4.Text="Charge"
  1405. end
  1406. if key=="u" then
  1407. mode="Charge"
  1408. d=game.Players[plyr].PlayerGui:GetChildren()
  1409. for i=1,#d do
  1410. if d[i].Name=="PURPLE" then
  1411. d[i].PURPLE.Text=mode
  1412. end
  1413. end
  1414. set=set+1
  1415. if set==3 then
  1416. set=1
  1417. end
  1418. d=game.Players[plyr].PlayerGui:GetChildren()
  1419. for i=1,#d do
  1420. if d[i].Name=="PURPLE" then
  1421. d[i].CHEESE.Text="Set #"..tostring(set).."."
  1422. end
  1423. end
  1424. end
  1425. if set==2 then
  1426. if (key=="e" and (number==1 or number==4)) or (key=="s" and number==0) or (key=="c" and number==2) or (key=="r" and number==3) or (key=="t" and number==5) then
  1427. number=number+1
  1428. elseif number~=6 and number<6 then
  1429. number=0
  1430. end
  1431. if key=="e" and (numb==0 and set==2) then
  1432. numb=15
  1433. end
  1434. if (key=="n" and numb==15) or (key=="d" and numb==16) then
  1435. numb=numb+1
  1436. end
  1437. if numb==17 then
  1438. mode="End of the world"
  1439. numb=0
  1440. end
  1441. if number==6 then
  1442. mode="Destruction"
  1443. number=0
  1444. resize((100-Chakra)*-1)
  1445. end
  1446. end
  1447. if set==1 then
  1448. if key =="e" then
  1449. mode="Fireball"
  1450. resize(20)
  1451. elseif key=="r" then
  1452. mode="Heal"
  1453. resize(1)
  1454. elseif key=="t" then
  1455. mode="Run"
  1456. resize(Chakra)
  1457. elseif key=="p" then
  1458. mode="Substitution"
  1459. resize(15)
  1460. elseif key=="l" then
  1461. mode="Shadow clone"
  1462. resize(10)
  1463. elseif key=="k" then
  1464. mode="Burn"
  1465. resize(10)
  1466. elseif key=="y" then
  1467. mode="Mud wall"
  1468. resize(50)
  1469. elseif key=="z" then
  1470. mode="Energy ball"
  1471. resize(75)
  1472. elseif key=="j" then
  1473. mode="Chakra bomb"
  1474. resize(100)
  1475. elseif key=="h" then
  1476. mode="Darkness"
  1477. resize(50)
  1478. elseif key=="x" then
  1479. mode="Rasengan"
  1480. resize(55)
  1481. elseif key=="c" then
  1482. mode="Dodge Up"
  1483. resize(5)
  1484. elseif key=="q" then
  1485. mode="Sand Coffin"
  1486. resize(100)
  1487. elseif key=="b" then
  1488. mode="Water wall"
  1489. resize(15)
  1490. elseif key=="v" then
  1491. mode="Robot decoy"
  1492. resize(50)
  1493. elseif key=="n" then
  1494. mode="Sink self"
  1495. resize(52)
  1496. elseif key=="m" then
  1497. mode="Sink other"
  1498. resize(50)
  1499. elseif key=="g" then
  1500. mode="Antipoison"
  1501. resize(50)
  1502. elseif key=="f" then
  1503. mode="Tree cage"
  1504. resize(75)
  1505. end
  1506. end
  1507. d=game.Players[plyr].PlayerGui:GetChildren()
  1508. for i=1,#d do
  1509. if d[i].Name=="PURPLE" then
  1510. d[i].PURPLE.Text=mode
  1511. end
  1512. end
  1513. end
  1514.  
  1515.  
  1516. function Select(mouse)
  1517. mouse.Button1Down:connect(function() BD(mouse) end)
  1518. mouse.Button1Up:connect(function() BU(mouse) end)
  1519. mouse.KeyDown:connect(KeyDown)
  1520. while true do
  1521. wait()
  1522. for e=1,#parts do
  1523. parts[e].CFrame=parts[e].CFrame*CFrame.fromEulerAnglesXYZ(0.1,0.1,0.1)+Vector3.new(0,0.3,0)
  1524. parts[e].Transparency=parts[e].Transparency+0.1
  1525. if parts[e].Transparency>=1 then
  1526. parts[e]:remove()
  1527. table.remove(parts,e)
  1528. break
  1529. end
  1530. end
  1531. for r=1,#clone_s do
  1532. if clone_s[r].Humanoid.Health<=0 then
  1533. if clones[r].Torso then
  1534. ex=Instance.new("Explosion")
  1535. ex.Parent=workspace
  1536. ex.Position=clone_s[r].Torso.Position
  1537. end
  1538. wait()
  1539. clone_s[r]:remove()
  1540. end
  1541. end
  1542. for r=1,#clones do
  1543. if clones[r].Humanoid.Health<=0 then
  1544. p=clones[r]:GetChildren()
  1545. for i=1,#p do
  1546. if p[i].className=="Part" then
  1547. p[i].Transparency=0.6
  1548. game.Debris:AddItem(p[i],5)
  1549. end
  1550. end
  1551. table.remove(clones,r)
  1552. end
  1553. end
  1554. end
  1555. end
  1556. script.Parent.Selected:connect(Select)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement