Advertisement
SmokeDelsin

my chakara .3

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