Advertisement
SmokeDelsin

work pls

Jul 22nd, 2015
264
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.local lam=Instance.new("SpecialMesh",larm)
  391. lam.MeshId="http://www.roblox.com/asset?id=12221505"
  392. lam.TextureId="http://www.roblox.com/asset?id=25701026"
  393. local ram=Instance.new("SpecialMesh",rarm)
  394. ram.MeshId="http://www.roblox.com/asset?id=12221505"
  395. ram.TextureId="http://www.roblox.com/asset?id=25701026"
  396. local rlm=Instance.new("SpecialMesh",rleg)
  397. rlm.MeshId="http://www.roblox.com/asset?id=12221626"
  398. rlm.TextureId="http://www.roblox.com/asset?id=25701026"
  399. local llm=Instance.new("SpecialMesh",lleg)
  400. llm.MeshId="http://www.roblox.com/asset?id=12221626"
  401. llm.TextureId="http://www.roblox.com/asset?id=25701026"
  402. local trm=Instance.new("SpecialMesh",torso)
  403. trm.MeshId="http://www.roblox.com/asset?id=12221758"
  404. trm.TextureId="http://www.roblox.com/asset?id=25701026"
  405. local hem=Instance.new("SpecialMesh",hed)
  406. hem.MeshId="rbxasset://fonts/head.mesh"
  407. hem.TextureId="http://www.roblox.com/asset?id=25701026"
  408. local hem2=Instance.new("SpecialMesh",pseudohead)
  409. hem2.MeshId="rbxasset://fonts/head.mesh"
  410. hem2.TextureId="http://www.roblox.com/asset?id=25701026"
  411. local asd=Instance.new('PointLight',torso)
  412. asd.Brightness=123
  413. asd.Range=12
  414. end
  415. end
  416. end
  417. end
  418. end
  419. end
  420. end
  421. end
  422. end),m)
  423. --table.insert(clones,m)
  424. end
  425. end
  426. end
  427. if mode=="Darkness" then
  428. if Chakra>=50 then
  429. if mouse.Target~=nil then
  430. Chakra=Chakra-50
  431. resize(50)
  432. refresh()
  433. d=mouse.Target.Parent
  434. if d.className=="Hat" then
  435. d=d.Parent
  436. end
  437. if d:findFirstChild("Humanoid")~=nil then
  438. if d:findFirstChild("Torso")~=nil then
  439. e=math.random(-10000,10000)
  440. qe=CFrame.new(e,10000,e)
  441. s=7
  442. time=30
  443.  
  444. d.archivable=true
  445. z=d:clone()
  446. z.Parent=workspace
  447. q=z:GetChildren()
  448. m=Instance.new("Model",workspace)
  449. m.Name="Please wait while "..z.Name.." is being tortured...."
  450. for i=1,#q do
  451. q[i].Parent=m
  452. end
  453. m.Torso.CFrame=d.Torso.CFrame
  454.  
  455. d.Torso.CFrame=qe+Vector3.new(0,2,0)
  456.  
  457. coroutine.resume(coroutine.create(function(clone,person)
  458. z=clone.Torso.CFrame
  459. for i=1, time do
  460. wait(1)
  461. if clone~=nil then
  462. z=clone.Torso.CFrame
  463. else
  464. person.Torso.CFrame=z
  465. break
  466. end
  467. end
  468. person.Torso.CFrame=clone.Torso.CFrame
  469. clone:remove()
  470. coroutine.yield()
  471. end),m,d)
  472.  
  473. p=Instance.new("Part")
  474. p.Name="Base"
  475. p.Parent=workspace
  476. p.Size=Vector3.new(s,1,s)
  477. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)-Vector3.new(0,2.5,0)
  478. p.Anchored=true
  479. p.Locked=true
  480. p.BrickColor=BrickColor.new(1003)
  481. p.TopSurface=0
  482. p.BottomSurface=0
  483. game.Debris:AddItem(p,time)
  484.  
  485. p=Instance.new("Part")
  486. p.Name="Base"
  487. p.Parent=workspace
  488. p.Size=Vector3.new(s,1,s)
  489. 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)
  490. p.Anchored=true
  491. p.Locked=true
  492. p.TopSurface=0
  493. p.BottomSurface=0
  494. p.BrickColor=BrickColor.new(1003)
  495. game.Debris:AddItem(p,time)
  496.  
  497. p=Instance.new("Part")
  498. p.Name="Base"
  499. p.Parent=workspace
  500. p.Size=Vector3.new(1,s,s)
  501. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new((-s/2),(s/2)-2.5,0)
  502. p.Anchored=true
  503. p.Locked=true
  504. p.BrickColor=BrickColor.new(1003)
  505. game.Debris:AddItem(p,time)
  506. p.TopSurface=0
  507. p.BottomSurface=0
  508.  
  509. p=Instance.new("Part")
  510. p.Name="Base"
  511. p.Parent=workspace
  512. p.Size=Vector3.new(1,s,s)
  513. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(s/2,(s/2)-2.5,0)
  514. p.Anchored=true
  515. p.Locked=true
  516. p.BrickColor=BrickColor.new(1003)
  517. game.Debris:AddItem(p,time)
  518. p.TopSurface=0
  519. p.BottomSurface=0
  520.  
  521. p=Instance.new("Part")
  522. p.Name="Base"
  523. p.Parent=workspace
  524. p.Size=Vector3.new(s,s,1)
  525. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,s/2)
  526. p.Anchored=true
  527. p.Locked=true
  528. p.BrickColor=BrickColor.new(1003)
  529. p.TopSurface=0
  530. p.BottomSurface=0
  531. game.Debris:AddItem(p,time)
  532.  
  533. p=Instance.new("Part")
  534. p.Name="Base"
  535. p.Parent=workspace
  536. p.Size=Vector3.new(s,s,1)
  537. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,-s/2)
  538. p.Anchored=true
  539. p.Locked=true
  540. p.BrickColor=BrickColor.new(1003)
  541. p.TopSurface=0
  542. p.BottomSurface=0
  543. game.Debris:AddItem(p,time)
  544. end
  545. end
  546. end
  547. end
  548. end
  549. if mode=="Burn" then
  550. if Chakra>=10 then
  551. if mouse.Target~=nil then
  552. if mouse.Target.Parent.className=="Model" then
  553. Chakra=Chakra-10
  554. refresh()
  555. resize(10)
  556. if (game.Players[plyr].Character.Torso.Position-mouse.Target.Position).Magnitude<=17 then
  557. g=Instance.new("Fire",mouse.Target)
  558. game.Debris:AddItem(g,5)
  559. tagHumanoid(mouse.Target.Parent.Humanoid,game.Players[plyr])
  560. mouse.Target.Parent.Humanoid.Health=mouse.Target.Parent.Humanoid.Health-math.random(2,30)
  561. wait(1)
  562. untagHumanoid(mouse.Target.Parent.Humanoid)
  563. end
  564. end
  565. end
  566. end
  567. end
  568. if mode=="Antipoison" then
  569. if Chakra>=50 then
  570. if game.Players[plyr].Character:findFirstChild("Poisoned") then
  571. Chakra=Chakra-50
  572. refresh()
  573. resize(50)
  574. game.Players[plyr].Character.Poisoned:remove()
  575. coroutine.resume(coroutine.create(function(person)
  576. p=Instance.new("Part")
  577. p.Parent=person.Torso
  578. p.Size=Vector3.new(1,1,1)
  579. p.CFrame=person.Torso.CFrame
  580. p.CanCollide=false
  581. p.Anchored=true
  582. p.Transparency=0.3
  583. p.Color=Color3.new(0,255,0)
  584. m=Instance.new("SpecialMesh")
  585. m.Parent=p
  586. m.Scale=Vector3.new(0.5,0.5,0.5)
  587. m.MeshType="Sphere"
  588. person.Torso.Anchored=true
  589. for i=0.5,7,0.5 do
  590. wait(0.1)
  591. m.Scale=Vector3.new(i,i,i)
  592. end
  593. p:remove()
  594. person.Torso.Anchored=false
  595. end),char)
  596. end
  597. end
  598. end
  599. if mode=="Mud wall" then
  600. if not mud then
  601. if Chakra>=50 then
  602. Chakra=Chakra-50
  603. resize(50)
  604. mud=true
  605. refresh()
  606. qe=mouse.Hit
  607. s=20
  608. time=8
  609. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  610. rq=rs.C1
  611. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  612. lq=ls.C1
  613.  
  614. rs.C1=CFrame.new(-1.5,-0.5,0.3)*CFrame.Angles(-math.pi/2,0,0)
  615. ls.C1=CFrame.new(1.5,-0.5,0)*CFrame.Angles(-math.pi/2,0,0)
  616.  
  617. wait(1)
  618.  
  619. p=Instance.new("Part")
  620. p.Name="Base"
  621. p.Parent=workspace
  622. p.Size=Vector3.new(s,1,s)
  623. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)-Vector3.new(0,2.5,0)
  624. p.Anchored=true
  625. p.Locked=true
  626. p.BrickColor=BrickColor.new("Brown")
  627. game.Debris:AddItem(p,time)
  628.  
  629. p=Instance.new("Part")
  630. p.Name="Base"
  631. p.Parent=workspace
  632. p.Size=Vector3.new(s,1,s)
  633. 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)
  634. p.Anchored=true
  635. p.Locked=true
  636. p.BrickColor=BrickColor.new("Brown")
  637. game.Debris:AddItem(p,time)
  638.  
  639. p=Instance.new("Part")
  640. p.Name="Base"
  641. p.Parent=workspace
  642. p.Size=Vector3.new(1,s,s)
  643. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new((-s/2),(s/2)-2.5,0)
  644. p.Anchored=true
  645. p.Locked=true
  646. p.BrickColor=BrickColor.new("Brown")
  647. game.Debris:AddItem(p,time)
  648.  
  649. p=Instance.new("Part")
  650. p.Name="Base"
  651. p.Parent=workspace
  652. p.Size=Vector3.new(1,s,s)
  653. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(s/2,(s/2)-2.5,0)
  654. p.Anchored=true
  655. p.Locked=true
  656. p.BrickColor=BrickColor.new("Brown")
  657. game.Debris:AddItem(p,time)
  658.  
  659. p=Instance.new("Part")
  660. p.Name="Base"
  661. p.Parent=workspace
  662. p.Size=Vector3.new(s,s,1)
  663. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,s/2)
  664. p.Anchored=true
  665. p.Locked=true
  666. p.BrickColor=BrickColor.new("Brown")
  667. game.Debris:AddItem(p,time)
  668.  
  669. p=Instance.new("Part")
  670. p.Name="Base"
  671. p.Parent=workspace
  672. p.Size=Vector3.new(s,s,1)
  673. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,-s/2)
  674. p.Anchored=true
  675. p.Locked=true
  676. p.BrickColor=BrickColor.new("Brown")
  677. game.Debris:AddItem(p,time)
  678. wait(2)
  679. rs.C1=rq
  680. ls.C1=lq
  681. mud = false
  682. end
  683. end
  684. end
  685. if mode=="Water wall" then
  686. if Chakra>=15 then
  687. Chakra=Chakra-15
  688. refresh()
  689. resize(15)
  690. p=Instance.new("Part")
  691. p.Parent=workspace
  692. p.BrickColor=BrickColor.new("Really blue")
  693. p.Transparency=0.4
  694. p.Anchored=true
  695. p.Size=Vector3.new(14,14,1)
  696. p.CFrame=CFrame.new(mouse.hit.p,game.Players[plyr].Character.Torso.Position)
  697. game.Debris:AddItem(p,15)
  698. p.Touched:connect(function(hit)
  699. if hit.Parent:findFirstChild("Humanoid") then
  700. x=game.Players:getPlayerFromCharacter(hit.Parent)
  701. f=Instance.new("ScreenGui")
  702. f.Parent=x.PlayerGui
  703. game.Debris:AddItem(f,6)
  704. b=Instance.new("TextLabel")
  705. b.Parent=f
  706. b.Size=UDim2.new(1,0,1,0)
  707. b.Position=UDim2.new(0,0,0,0)
  708. b.Text="AHH YOUR DROWNING!!"
  709. b.FontSize=8
  710. b.BackgroundTransparency=0.05
  711. b.BackgroundColor3=Color3.new(0,0,200)
  712. end
  713. end)
  714.  
  715. end
  716. end
  717. if mode=="Sink self" then
  718. if Chakra>=52 then
  719. Chakra=Chakra-52
  720. refresh()
  721. resize(52)
  722. d=Instance.new("Part")
  723. d.Parent=workspace
  724. d.Size=Vector3.new(6,1,6)
  725. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.6,0)
  726. d.BrickColor=BrickColor.new("Earth orange")
  727. d.Anchored=true
  728. d.CanCollide=false
  729. game.Debris:AddItem(d,5)
  730. s=Instance.new("SpecialMesh")
  731. s.MeshType="Sphere"
  732. s.Parent=d
  733. s.Scale=Vector3.new(1,0.2,1)
  734. game.Players[plyr].Character.Torso.Anchored=true
  735. for i=1,3,0.1 do
  736. wait(0.1)
  737. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,0.3,0)
  738. end
  739. game.Players[plyr].Character.Torso.Anchored=false
  740. end
  741. end
  742. if mode=="Sink other" then
  743. if Chakra>=50 then
  744. Chakra=Chakra-50
  745. refresh()
  746. resize(50)
  747. z=mouse.Target
  748. d=Instance.new("Part")
  749. d.Parent=workspace
  750. d.Size=Vector3.new(6,1,6)
  751. d.CFrame=z.CFrame-Vector3.new(0,2.6,0)
  752. d.BrickColor=BrickColor.new("Earth orange")
  753. d.Anchored=true
  754. d.CanCollide=false
  755. game.Debris:AddItem(d,5)
  756. s=Instance.new("SpecialMesh")
  757. s.MeshType="Sphere"
  758. s.Parent=d
  759. s.Scale=Vector3.new(1,0.2,1)
  760. z.Anchored=true
  761. for i=1,3,0.1 do
  762. wait(0.1)
  763. z.CFrame=z.CFrame-Vector3.new(0,0.3,0)
  764. end
  765. z.Anchored=false
  766. end
  767. end
  768. if mode=="Chakra bomb" then
  769. if debounce==false then
  770. e=mouse.hit.p
  771. if Chakra==100 then
  772. Chakra=Chakra-100
  773. resize(100)
  774. refresh()
  775. if (mouse.Target~=nil) and (mouse.Target.Anchored==false) then mouse.Target.Anchored=true end
  776. debounce=true
  777. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  778. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  779. rh=game.Players[plyr].Character.Torso["Right Hip"]
  780. lh=game.Players[plyr].Character.Torso["Left Hip"]
  781. r0=rs.C1
  782. l0=ls.C1
  783. r1=rh.C0
  784. l1=lh.C0
  785.  
  786. lh.C0=lh.C0*CFrame.Angles(0,0,-1)
  787. rh.C0=rh.C0*CFrame.Angles(0,0,1.3)
  788. wait(0.2)
  789. cf=game.Players[plyr].Character.Torso.CFrame
  790. bp=Instance.new("BodyPosition")
  791. bp.Parent=game.Players[plyr].Character.Torso
  792. bp.maxForce=Vector3.new(100,math.huge,100)
  793. for i=1,20 do
  794. wait(0.05)
  795. --game.Players[plyr].Character.Torso.CFrame=cf+Vector3.new(0,1,0)
  796. --game.Players[plyr].Character.Torso.CFrame.lookVector=mouse.hit.p
  797. bp.position=game.Players[plyr].Character.Torso.Position+Vector3.new(0,1,0)
  798. end
  799. wait(1)
  800. rs.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*0.4)
  801. ls.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*1.4)
  802. q=Instance.new("Part")
  803. q.Parent=workspace
  804. q.Size=Vector3.new(7,7,7)
  805. q.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*4
  806. q.Shape=0
  807. q.Anchored=true
  808. q.Transparency=0.6
  809. q.Color=Color3.new(0,0,255)
  810. q.TopSurface=0
  811. q.BottomSurface=0
  812. q.Touched:connect(function(hit)
  813. if hit.Parent.Humanoid~= nil then
  814. if hit.Parent~=game.Players[plyr].Character then
  815. hit.Parent.Humanoid:remove()q:remove()
  816. end
  817. end
  818. end)
  819. f=Instance.new("Fire")
  820. f.Parent=q
  821. f.Size=1
  822. f.Color=Color3.new(255,255,255)
  823. s=Instance.new("Sparkles")
  824. s.Parent=q
  825. s.Color=Color3.new(0,0,255)
  826. m=Instance.new("SpecialMesh")
  827. m.Scale=Vector3.new(1/7,1/7,1/7)
  828. m.Parent=q
  829. m.MeshType="Sphere"
  830. for i=1,7,0.1 do
  831. wait()
  832. m.Scale=Vector3.new(i/7,i/7,i/7)
  833. f.Size=i
  834. end
  835. q.Anchored=false
  836. bf=Instance.new("BodyPosition")
  837. bf.Parent=q
  838. bf.position=e
  839. bf.maxForce=Vector3.new(50000,50000,50000)
  840. wait(8)
  841. e=Instance.new("Explosion")
  842. e.Parent=workspace
  843. e.Position=q.Position
  844. wait()
  845. q:remove()
  846. lh.C0=l1
  847. rh.C0=r1
  848. ls.C1=l0
  849. rs.C1=r0
  850. --[[lh.C0=lh.C0*CFrame.Angles(0,0,1)
  851. rh.C0=rh.C0*CFrame.Angles(0,0,-1.3)
  852. ls.C1=CFrame.new(0,0.5,-0.5)
  853. rs.C1=CFrame.new(0,0.5,-0.5)]]
  854. bp:remove()
  855. debounce=false
  856. end
  857. end
  858. end
  859. if mode=="Summon" then
  860. if Chakra>=35 then
  861. Chakra=Chakra-35
  862. resize(35)
  863. d=game:GetService("InsertService"):LoadAsset(59685964)
  864. wait()
  865. d:MoveTo(game.Players[plyr].Character.Torso.Position+Vector3.new(4,0,0))
  866. end
  867. end
  868. if mode=="Rasengan" then
  869. if rasengan==false then
  870. if Chakra>=55 then
  871. Chakra=Chakra-55
  872. refresh()
  873. resize(55)
  874. rasengan=true
  875. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  876. q=rs.C1
  877. game.Players[plyr].Character.archivable=true
  878. m=Instance.new("Model")
  879. m.Parent=workspace
  880. m.Name=plyr
  881. f=game.Players[plyr].Character:clone()
  882. g=f:GetChildren()
  883. for i=1,#g do
  884. g[i].Parent=m
  885. end
  886. m.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*-3
  887. m.Torso.CFrame=m.Torso.CFrame*CFrame.Angles(0,-0.6,0)
  888. m.Torso["Right Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.4,0,math.pi*-0.5)
  889. m.Torso["Left Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.6,0,math.pi*0.5)
  890. wait()
  891. anim=game.Players[plyr].Character.Animate
  892. anim.Disabled=true
  893. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(0,0,math.pi*0.5)
  894. d=Instance.new("Part")
  895. d.Parent=m
  896. d.Transparency=0.5
  897. d.Color=Color3.new(0,0,255)
  898. d.Anchored=true
  899. d.Size=Vector3.new(1,2,1)
  900. d.CFrame=m["Right Arm"].CFrame
  901. f=Instance.new("Fire")
  902. f.Parent=d
  903. f.Color=Color3.new(0,0,255)
  904. f.SecondaryColor=Color3.new(0,0,100)
  905. f.Size=5
  906. s=Instance.new("BlockMesh")
  907. s.Parent=d
  908. s.Scale=Vector3.new(1.2,1.2,1.2)
  909. w=Instance.new("Weld")
  910. w.Parent=d
  911. w.Part0=m["Right Arm"]
  912. w.Part1=d
  913.  
  914. d=Instance.new("Part")
  915. d.Parent=m
  916. d.Transparency=0.5
  917. d.Color=Color3.new(0,0,255)
  918. d.Anchored=true
  919. d.Size=Vector3.new(1,2,1)
  920. d.CFrame=m["Left Arm"].CFrame
  921. f=Instance.new("Fire")
  922. f.Parent=d
  923. f.Color=Color3.new(0,0,255)
  924. f.SecondaryColor=Color3.new(0,0,100)
  925. f.Size=5
  926. s=Instance.new("BlockMesh")
  927. s.Parent=d
  928. s.Scale=Vector3.new(1.2,1.2,1.2)
  929. w=Instance.new("Weld")
  930. w.Parent=d
  931. w.Part0=m["Left Arm"]
  932. w.Part1=d
  933. p=Instance.new("Part")
  934. p.Parent=rs.Parent.Parent
  935. p.Color=Color3.new(0,0,200)
  936. p.Shape=0
  937. p.Size=Vector3.new(1,1,1)
  938. p.Transparency=1
  939. p.Locked=true
  940. p.CanCollide=false
  941. f=Instance.new("Fire",p)
  942. f.Color=Color3.new(0,0,255)
  943. w=Instance.new("Weld")
  944. w.Parent=p
  945. w.Part0=p
  946. w.Part1=game.Players[plyr].Character["Right Arm"]
  947. w.C0=CFrame.new(0,1.5,0)
  948. for i=1,0.3,-0.02 do
  949. p.Transparency=i
  950. wait(0.1)
  951. end
  952. m:remove()
  953. for i=0,math.pi,0.05 do
  954. wait(0.0125)
  955. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(i,i,math.pi*0.5)
  956. end
  957. co = coroutine.create( function(part)
  958. while true do
  959. wait(0.3)
  960. z=Instance.new("Part")
  961. z.Name="CHEESE"
  962. z.Parent=part
  963. z.Size=Vector3.new(1,1,1)
  964. z.Anchored=true
  965. z.CFrame=part.CFrame
  966. z.CanCollide=false
  967. z.Transparency=0.5
  968. z.Color=Color3.new(0,0,100)
  969. s=Instance.new("SpecialMesh")
  970. s.Parent=z
  971. s.Scale=Vector3.new(0.1,0.1,0.1)
  972. s.MeshType="Sphere"
  973. if part==nil then
  974. z:remove()
  975. coroutine.yield()
  976. end
  977. for i=0,10 do
  978. wait(0.1)
  979. if part.Parent~=nil then
  980. s.Scale=Vector3.new(i/5,i/5,i/5)
  981. z.Transparency=i/10
  982. z.CFrame=part.CFrame
  983. end
  984. end
  985. z:remove()
  986. end
  987. end)
  988. coroutine.resume(co,p)
  989. p.Touched:connect(function(hit)
  990. if hit.Parent~=game.Players[plyr].Character and hit.Name~="CHEESE" then
  991. bf=Instance.new("BodyVelocity")
  992. bf.Parent=hit
  993. bf.velocity=(game.Players[plyr].Character.Torso.Position-hit.Position).Unit*-70
  994. bf.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  995. bav=Instance.new("BodyAngularVelocity")
  996. bav.Parent=hit
  997. bav.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  998. bav.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  999. p:remove()
  1000. rasengan=false
  1001. rs.C1=q
  1002. anim.Disabled=false
  1003. game.Debris:AddItem(bf,5)
  1004. game.Debris:AddItem(bav,6)
  1005. end
  1006. end)
  1007. end
  1008. end
  1009. end
  1010. if mode=="fix" then
  1011. end
  1012. if mode=="Dodge Up" then
  1013. if Chakra>5 then
  1014. Chakra=Chakra-5
  1015. refresh()
  1016. resize(5)
  1017. p=Instance.new("Part")
  1018. p.Parent=workspace
  1019. p.Anchored=true
  1020. p.Size=Vector3.new(4,20,4)
  1021. p.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,8,0)
  1022. p.Locked=true
  1023. p.BrickColor=BrickColor.new("Brown")
  1024. p.TopSurface=0
  1025. p.BottomSurface=0
  1026. coroutine.resume(coroutine.create(function(part)
  1027. for i=0,1,0.02 do
  1028. wait(0.1)
  1029. part.Transparency=i
  1030. end
  1031. part:remove()
  1032. coroutine.yield()
  1033. end),p)
  1034. game.Debris:AddItem(p,5)
  1035. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,20,0)
  1036. end
  1037. end
  1038. if mode=="Tree cage" then
  1039. if Chakra>=75 then
  1040. Chakra=Chakra-75
  1041. refresh()
  1042. resize(75)
  1043. if mouse.Target.Anchored==false then
  1044. mouse.Target.Anchored=true
  1045. coroutine.resume(coroutine.create(function(p)
  1046. wait(6)
  1047. p.Anchored=false
  1048. coroutine.yield()
  1049. end),mouse.Target)
  1050. mh=mouse.Hit
  1051. for i=1,360,360/12 do
  1052. d=makeTree(mh*CFrame.new(math.cos(math.rad(i))*6,-2,math.sin(math.rad(i))*6),3,4,7)
  1053. game.Debris:AddItem(d,30)
  1054. end
  1055. end
  1056. end
  1057. end
  1058. if mode=="Sand Coffin" then
  1059. if coffin==false then
  1060. if Chakra>=100 then
  1061. Chakra=Chakra-100
  1062. refresh()
  1063. resize(100)
  1064. if mouse.Target~=nil then
  1065. if mouse.Target.Name~="Base" then
  1066. z=mouse.Target
  1067. coffin=true
  1068.  
  1069. if z.Parent:IsA("Hat") then
  1070. if z.Parent.Parent:findFirstChild("Torso")~=nil then
  1071. q=z.Parent.Parent.Torso
  1072. z=q
  1073. end
  1074. end
  1075.  
  1076. d=Instance.new("Part")
  1077. d.Parent=workspace
  1078. d.Size=Vector3.new(6,1,6)
  1079. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.5,0)
  1080. d.BrickColor=BrickColor.new("Earth orange")
  1081. d.Anchored=true
  1082. game.Debris:AddItem(d,5)
  1083. s=Instance.new("SpecialMesh")
  1084. s.MeshType="Sphere"
  1085. s.Parent=d
  1086. s.Scale=Vector3.new(1,0.2,1)
  1087.  
  1088. f=Instance.new("Part")
  1089. f.Parent=workspace
  1090. f.Size=Vector3.new(6,1,6)
  1091. f.CFrame=CFrame.new(z.Position.X,z.Position.Y-2.5,z.Position.Z)
  1092. f.BrickColor=BrickColor.new("Earth orange")
  1093. game.Debris:AddItem(f,5)
  1094. v=Instance.new("SpecialMesh")
  1095. v.MeshType="Sphere"
  1096. v.Parent=f
  1097. v.Scale=Vector3.new(1,0.2,1)
  1098.  
  1099. b=Instance.new("Part")
  1100. b.Parent=workspace
  1101. b.Size=Vector3.new(10,10,10)
  1102. b.CanCollide=false
  1103. b.Shape=0
  1104. b.CFrame=z.CFrame
  1105. b.Anchored=true
  1106. b.BrickColor=BrickColor.new("Earth orange")
  1107. b.TopSurface=0
  1108. b.BottomSurface=0
  1109. game.Debris:AddItem(b,7)
  1110. z.Anchored=true
  1111. w=Instance.new("Weld")
  1112. w.Parent=z
  1113. w.Part0=z
  1114. w.Part1=p
  1115. x=b.Position.Y
  1116. y=b.Position.x
  1117. g=b.Position.z
  1118. for i=1,10,0.5 do
  1119. wait(0.05)
  1120. b.CFrame=CFrame.new(y,x+i,g)
  1121. z.CFrame=p.CFrame
  1122. end
  1123. wait(3)
  1124. b.Size=b.Size-Vector3.new(2,2,2)
  1125. b.CFrame=z.CFrame
  1126. coffin=false
  1127. if z.Parent~=workspace then
  1128. z.Parent:BreakJoints()
  1129. wait(1)
  1130. z.Parent:remove()
  1131. elseif z.Parent.className=="Hat" then
  1132. if z.Parent.Parent~=workspace then
  1133. z.Parent.Parent:BreakJoints()
  1134. wait(1)
  1135. z.Parent.Parent:remove()
  1136. end
  1137. else
  1138. z:remove()
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end
  1145. if mode=="Shadow Clone" then
  1146. if Chakra>=100 then
  1147. if mouse.Target~=nil then
  1148. if (char.Torso.Position-mouse.Hit.p).Magnitude<75 then
  1149. Chakra=Chakra-0
  1150. refresh()
  1151. resize(50)
  1152. char.archivable=true
  1153. d=char:clone()
  1154. m=Instance.new("Model")
  1155. m.Parent=workspace
  1156. m.Name=char.Name
  1157. z=d:GetChildren()
  1158. for i=1,#z do
  1159. z[i].Parent=m
  1160. end
  1161. f=mouse.Target
  1162. x=mouse.Hit
  1163. z=Instance.new("Part")
  1164. z.Parent=f
  1165. z.Size=Vector3.new(1,1,1)
  1166. z.CanCollide=false
  1167. z.Transparency=0
  1168. z.CFrame=x
  1169. w=Instance.new("Weld")
  1170. w.Parent=z
  1171. w.Part0=z
  1172. w.Part1=f
  1173. w.C0=CFrame.new((x.p-z.Position).Unit)
  1174. m.Torso.CFrame=char.Torso.CFrame*CFrame.new(0,0,-5)
  1175. coroutine.resume(coroutine.create(function(clone,mh)
  1176. while true do
  1177. wait()
  1178. m.Humanoid:MoveTo(mh,workspace.Base)
  1179. if (clone.Torso.Position-Vector3.new(mh.X,clone.Torso.Position.Y,mh.Z)).Magnitude<4 then
  1180. ex=Instance.new("")
  1181. ex.Parent=workspace
  1182. ex.Position=clone.Torso.Position
  1183. wait(0.5)
  1184. clone:remove()
  1185. coroutine.yield()
  1186. wait(3)
  1187. zombieParent = false
  1188.  
  1189. while zombieParent == false do
  1190.  
  1191. wait(1)
  1192. if script.Parent.Name == "Clone" then
  1193. zombieParent = true
  1194. end
  1195.  
  1196. end
  1197.  
  1198. local larm = script.Parent:FindFirstChild("Left Arm")
  1199. local rarm = script.Parent:FindFirstChild("Right Arm")
  1200. local waitTimer = 0
  1201.  
  1202. function findNearestTorso(pos)
  1203. local list = game.Workspace:children()
  1204. local torso = nil
  1205. local dist = 100
  1206. local temp = nil
  1207. local human = nil
  1208. local temp2 = nil
  1209. for x = 1, #list do
  1210. temp2 = list[x]
  1211. if (temp2.className == "Model") and (temp2 ~= script.Parent) and (temp2.Name ~= "SummonedZombie") then
  1212. temp = temp2:findFirstChild("Torso")
  1213. human = temp2:findFirstChild("Humanoid")
  1214. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) and (human ~= script.Parent.Owner.Value) then
  1215. if (temp.Position - pos).magnitude < dist then
  1216. torso = temp
  1217. dist = (temp.Position - pos).magnitude
  1218. end
  1219. end
  1220. end
  1221. end
  1222. return torso
  1223. end
  1224.  
  1225. function Hit(hit)
  1226. local human = hit.Parent:FindFirstChild("Humanoid")
  1227. if human ~= nil and human ~= script.Parent.Owner.Value and waitTimer == 0 and human.Parent.Name ~= "SummonedZombie" then
  1228. human:TakeDamage(20)
  1229. waitTimer = 3
  1230. end
  1231. end
  1232.  
  1233. larm.Touched:connect(Hit)
  1234. rarm.Touched:connect(Hit)
  1235.  
  1236. while true do
  1237. wait(1)
  1238. local target = findNearestTorso(script.Parent.Torso.Position)
  1239. if target ~= nil then
  1240. script.Parent.Humanoid:MoveTo(target.Position, target)
  1241. end
  1242. if waitTimer > 0 then
  1243. waitTimer = waitTimer - 1
  1244. end
  1245. if script.Parent.Humanoid.Health < 1 then
  1246. wait(3)
  1247. script.Parent:remove()
  1248. end
  1249. jumper = math.random(1,2)
  1250. if jumper == 2 then
  1251. script.Parent.Humanoid.Jump = true
  1252. end
  1253. end
  1254. end
  1255. end
  1256. end),m,z.Position)
  1257. d:remove()
  1258. end
  1259. end
  1260. end
  1261. end
  1262. if mode=="End of the world" then
  1263. if Chakra==0 then
  1264. if anime==true then
  1265. resize(0)
  1266. done=false
  1267. rs=char.Torso["Right Shoulder"]
  1268. ls=char.Torso["Left Shoulder"]
  1269. rc=rs.C1
  1270. lc=ls.C1
  1271. coroutine.resume(coroutine.create(function()
  1272. anime=false
  1273. while done==false do
  1274. wait(0.1)
  1275. rs.DesiredAngle=0
  1276. ls.DesiredAngle=0
  1277. end
  1278. anime=true
  1279. coroutine.yield()
  1280. end))
  1281. rs.C1=rs.C1*CFrame.Angles(0.5,0,0)
  1282. ls.C1=ls.C1*CFrame.Angles(0.5,0,0)
  1283. char.Torso.Anchored=true
  1284. for i=1,360,10 do
  1285. wait(0.05)
  1286. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1287. end
  1288. for i=1,360,10 do
  1289. wait(0.05)
  1290. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1291. end
  1292. dis=15
  1293. coroutine.resume(coroutine.create(function()
  1294. while done==false do
  1295. wait(0.1)
  1296. p=char["Left Arm"]:clone()
  1297. p.Parent=workspace
  1298. p.Transparency=0.7
  1299. p.Anchored=true
  1300. p.BrickColor=BrickColor.new(1003)
  1301. game.Debris:AddItem(p,0.4)
  1302. p=char["Right Arm"]:clone()
  1303. p.Parent=workspace
  1304. p.Transparency=0.7
  1305. p.Anchored=true
  1306. p.BrickColor=BrickColor.new(1003)
  1307. game.Debris:AddItem(p,0.4)
  1308.  
  1309. z=Instance.new("Part")
  1310. z.Parent=workspace
  1311. z.Size=Vector3.new(8,1,8)
  1312. z.CFrame=char.Torso.CFrame*CFrame.new(0,50,dis)
  1313. z.Anchored=true
  1314. z.BrickColor=BrickColor.new(1002)
  1315. p=Instance.new("Part")
  1316. p.Parent=workspace
  1317. p.Anchored=false
  1318. p.Size=Vector3.new(1,1,1)
  1319. p.Shape=0
  1320. p.TopSurface=0
  1321. p.BottomSurface=0
  1322. p.Color=Color3.new(0,0,255)
  1323. p.CanCollide=true
  1324. p.CFrame=z.CFrame*CFrame.new(0,-1.5,0)
  1325. b=Instance.new("BodyPosition")
  1326. b.Parent=p
  1327. b.maxForce=Vector3.new(math.huge,0,math.huge)
  1328. b.position=p.Position
  1329. coroutine.resume(coroutine.create(function(xer)
  1330. while true do
  1331. wait(0.5)
  1332. if xer.Position.Y<=char.Torso.Position.Y+2 then
  1333. ex=Instance.new("Explosion")
  1334. ex.Parent=workspace
  1335. ex.Position=xer.Position
  1336. ex.BlastRadius=10
  1337. break
  1338. end
  1339. end
  1340. wait()
  1341. xer:remove()
  1342. coroutine.yield()
  1343. end),p)
  1344. d=Instance.new("SpecialMesh")
  1345. d.Parent=z
  1346. d.MeshType="Sphere"
  1347. d.Scale=Vector3.new(1,4,1)
  1348. game.Debris:AddItem(z,10)
  1349.  
  1350. end
  1351. coroutine.yield()
  1352. end))
  1353. for i=1,360,20/3 do
  1354. wait(0.025)
  1355. dis=20
  1356. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1357. end
  1358. for i=1,720*4,15/2 do
  1359. wait(0.025)
  1360. if i<360 then
  1361. dis=30
  1362. elseif i>=360 and i<=720 then
  1363. dis=40
  1364. elseif i>720 and i<=360*3 then
  1365. dis=50
  1366. elseif i>360*3 and i<=360*4 then
  1367. dis=60
  1368. end
  1369. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(30),0)
  1370. end
  1371. for i=1,360,10 do
  1372. wait(0.05)
  1373. dis=65
  1374. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1375. end
  1376. char.Torso.Anchored=true
  1377. done=true
  1378. rs.C1=rc
  1379. ls.C1=lc
  1380. end
  1381. end
  1382. end
  1383. if mode=="Destruction" then
  1384. Chakra=100
  1385. refresh()
  1386. if workspace:findFirstChild("QWERTY")==nil then
  1387. _G.QWERTY=Instance.new("Model")
  1388. _G.QWERTY.Parent=workspace
  1389. _G.QWERTY.Name="QWERTY"
  1390. end
  1391. char.Parent=workspace:findFirstChild("QWERTY")
  1392. mouse.TargetFilter=workspace:findFirstChild("QWERTY")
  1393. coroutine.resume(coroutine.create(function()
  1394. for i=1,5 do
  1395. wait()
  1396. p=Instance.new("Part")
  1397. p.Parent=workspace:findFirstChild("QWERTY")
  1398. s=8
  1399. p.Size=Vector3.new(s,s,s)
  1400. p.CFrame=game.Players[plyr].Character.Torso.CFrame
  1401. p.Anchored=true
  1402. p.Transparency=0.8
  1403. p.Color=Color3.new(0,0,255)
  1404. p.CanCollide=false
  1405. p.TopSurface=0
  1406. p.BottomSurface=0
  1407. game.Debris:AddItem(p,50)
  1408. p.Touched:connect(function(hit)
  1409. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1410. if hit.Parent~=char then
  1411. hit.Parent:findFirstChild("Humanoid").Health=hit.Parent:findFirstChild("Humanoid").Health-10
  1412. end
  1413. end
  1414. end)
  1415. g=mouse.Hit.p
  1416. d=(g-char.Torso.CFrame.p).unit
  1417. coroutine.resume(coroutine.create(function(part,dir)
  1418. for i=1,50,0.5 do
  1419. wait()
  1420. if char==nil then part:remove() coroutine.yield() end
  1421. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*i,0.1*i,0.1*i)
  1422. end
  1423. g=mouse.Hit.p
  1424. dir=(g-char.Torso.CFrame.p).unit
  1425. for e=1,100 do
  1426. wait()
  1427. if e>15 then
  1428. part.CanCollide=true
  1429. end
  1430.  
  1431. if char==nil or mouse==nil then part:remove() coroutine.yield() end
  1432. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*(e+50),0.1*(e+50),0.1*(e+50)) + (dir*e*2)
  1433. end
  1434. part:remove()
  1435. coroutine.yield()
  1436. end),p,d)
  1437. end
  1438. char.Parent=workspace
  1439. coroutine.yield()
  1440. end))
  1441. end
  1442. if mode=="Energy ball" then
  1443. if Chakra>=75 then
  1444. Chakra=Chakra-75
  1445. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  1446. p=Instance.new("Part")
  1447. p.Parent=workspace
  1448. p.Size=Vector3.new(4,4,4)
  1449. p.CFrame=game.Players[plyr].Character.Torso.CFrame+(mouse.Hit.lookVector*4)
  1450. p.Shape=0
  1451. p.Transparency=0.6
  1452. p.Color=Color3.new(0,0,0)
  1453. p.TopSurface=0
  1454. p.BottomSurface=0
  1455. game.Debris:AddItem(p,8)
  1456. f=Instance.new("Fire")
  1457. f.Parent=p
  1458. f.Color=Color3.new(20,100,200)
  1459. bf=Instance.new("BodyPosition")
  1460. bf.Parent=p
  1461. bf.position=mouse.hit.p
  1462. bf.maxForce=Vector3.new(5000,5000,5000)
  1463. p.Touched:connect(function(hit)
  1464. if hit.Parent~=game.Players[plyr].Character then
  1465. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1466. tagHumanoid(hit.Parent.Humanoid,game.Players[plyr].Character)
  1467. hit.Parent.Humanoid.Health=0
  1468. p:remove()
  1469. end
  1470. end
  1471. end)
  1472. end
  1473. resize(75)
  1474. end
  1475. end
  1476.  
  1477. function BU(mouse)
  1478. down=false
  1479. end
  1480.  
  1481. function KeyDown(key)
  1482. toe=mode
  1483. if key=="q" then
  1484. mode="Charge"
  1485. G3.Size=UDim2.new(0,32,0,150)
  1486. G3.BackgroundColor3=Color3.new(20,255,20)
  1487. G4.Text="Charge"
  1488. end
  1489. if key=="u" then
  1490. mode="Charge"
  1491. d=game.Players[plyr].PlayerGui:GetChildren()
  1492. for i=1,#d do
  1493. if d[i].Name=="PURPLE" then
  1494. d[i].PURPLE.Text=mode
  1495. end
  1496. end
  1497. set=set+1
  1498. if set==3 then
  1499. set=1
  1500. end
  1501. d=game.Players[plyr].PlayerGui:GetChildren()
  1502. for i=1,#d do
  1503. if d[i].Name=="PURPLE" then
  1504. d[i].CHEESE.Text="Set #"..tostring(set).."."
  1505. end
  1506. end
  1507. end
  1508. if set==2 then
  1509. 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
  1510. number=number+1
  1511. elseif number~=6 and number<6 then
  1512. number=0
  1513. end
  1514. if key=="e" and (numb==0 and set==2) then
  1515. numb=15
  1516. end
  1517. if (key=="n" and numb==15) or (key=="d" and numb==16) then
  1518. numb=numb+1
  1519. end
  1520. if numb==17 then
  1521. mode="End of the world"
  1522. numb=0
  1523. end
  1524. if number==6 then
  1525. mode="Destruction"
  1526. number=0
  1527. resize((100-Chakra)*-1)
  1528. end
  1529. end
  1530. if set==1 then
  1531. if key =="e" then
  1532. mode="Fireball"
  1533. resize(20)
  1534. elseif key=="r" then
  1535. mode="Heal"
  1536. resize(1)
  1537. elseif key=="t" then
  1538. mode="Run"
  1539. resize(Chakra)
  1540. elseif key=="p" then
  1541. mode="Substitution"
  1542. resize(15)
  1543. elseif key=="l" then
  1544. mode="Shadow Clone"
  1545. resize(40)
  1546. elseif key=="k" then
  1547. mode="Burn"
  1548. resize(10)
  1549. elseif key=="y" then
  1550. mode="Mud wall"
  1551. resize(50)
  1552. elseif key=="z" then
  1553. mode="Energy ball"
  1554. resize(75)
  1555. elseif key=="j" then
  1556. mode="Chakra bomb"
  1557. resize(100)
  1558. elseif key=="h" then
  1559. mode="Darkness"
  1560. resize(50)
  1561. elseif key=="x" then
  1562. mode="Rasengan"
  1563. resize(55)
  1564. elseif key=="c" then
  1565. mode="Dodge Up"
  1566. resize(5)
  1567. elseif key=="q" then
  1568. mode="Sand Coffin"
  1569. resize(100)
  1570. elseif key=="b" then
  1571. mode="Water wall"
  1572. resize(15)
  1573. elseif key=="v" then
  1574. mode="Robot decoy"
  1575. resize(50)
  1576. elseif key=="n" then
  1577. mode="Sink self"
  1578. resize(52)
  1579. elseif key=="m" then
  1580. mode="Sink other"
  1581. resize(50)
  1582. elseif key=="g" then
  1583. mode="Antipoison"
  1584. resize(50)
  1585. elseif key=="f" then
  1586. mode="Tree cage"
  1587. resize(75)
  1588. elseif key=="-" then
  1589. mode="Summon"
  1590. resize(20)
  1591. end
  1592. end
  1593. d=game.Players[plyr].PlayerGui:GetChildren()
  1594. for i=1,#d do
  1595. if d[i].Name=="PURPLE" then
  1596. d[i].PURPLE.Text=mode
  1597. end
  1598. end
  1599. end
  1600.  
  1601.  
  1602. function Select(mouse)
  1603. mouse.Button1Down:connect(function() BD(mouse) end)
  1604. mouse.Button1Up:connect(function() BU(mouse) end)
  1605. mouse.KeyDown:connect(KeyDown)
  1606. while true do
  1607. wait()
  1608. for e=1,#parts do
  1609. parts[e].CFrame=parts[e].CFrame*CFrame.fromEulerAnglesXYZ(0.1,0.1,0.1)+Vector3.new(0,0.3,0)
  1610. parts[e].Transparency=parts[e].Transparency+0.1
  1611. if parts[e].Transparency>=1 then
  1612. parts[e]:remove()
  1613. table.remove(parts,e)
  1614. break
  1615. end
  1616. end
  1617. for r=1,#clone_s do
  1618. if clone_s[r].Humanoid.Health<=0 then
  1619. if clones[r].Torso then
  1620. ex=Instance.new("Explosion")
  1621. ex.Parent=workspace
  1622. ex.Position=clone_s[r].Torso.Position
  1623. end
  1624. wait()
  1625. clone_s[r]:remove()
  1626. end
  1627. end
  1628. for r=1,#clones do
  1629. if clones[r].Humanoid.Health<=0 then
  1630. p=clones[r]:GetChildren()
  1631. for i=1,#p do
  1632. if p[i].className=="Part" then
  1633. p[i].Transparency=0.6
  1634. game.Debris:AddItem(p[i],5)
  1635. end
  1636. end
  1637. table.remove(clones,r)
  1638. end
  1639. end
  1640. end
  1641. end
  1642. script.Parent.Selected:connect(Select)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement