Advertisement
SmokeDelsin

my testin chak .2

Jun 28th, 2015
317
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=100
  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=="Shadow clone" 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. while true do
  402.  
  403.  
  404. SmokeDelsin = Workspace.King.Text --my personal choice
  405.  
  406. if game.workspace:FindFirstChild(""..SmokeDelsin.."") == nil then
  407. print("What? Cannot find "..SmokeDelsin..".")
  408.  
  409. else
  410.  
  411. script.Parent.Zombie:MoveTo(game.Workspace:FindFirstChild(""..SmokeDelsin.."").Torso.Position, game.Workspace:FindFirstChild(""..nameofplayer.."").Torso)
  412. end
  413.  
  414. wait(30)
  415.  
  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. bin = script.Parent
  545.  
  546. function move(target)
  547. local dir = (target.Position - bin.Position).unit
  548. local spawnPos = bin.Position
  549. local pos = spawnPos + (dir * 1)
  550. bin:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos + dir)
  551. bin:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000,9000,9000)
  552. end
  553.  
  554. function moveTo(target)
  555. bin.BodyPosition.position = target.Position
  556. bin.BodyPosition.maxForce = Vector3.new(10000,10000,10000) * bin.Speed.Value
  557. end
  558.  
  559. function findNearestTorso(pos)
  560. local list = game.Workspace:GetChildren()
  561. local torso = nil
  562. local dist = 1000
  563. local temp = nil
  564. local human = nil
  565. local temp2 = nil
  566. for x = 1, #list do
  567. temp2 = list[x]
  568. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  569. temp = temp2:findFirstChild("Torso")
  570. human = temp2:findFirstChild("Humanoid")
  571. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  572. if (temp.Position - pos).magnitude < dist then
  573. torso = temp
  574. dist = (temp.Position - pos).magnitude
  575. end
  576. end
  577. end
  578. end
  579. return torso
  580. end
  581.  
  582. function shoot(pos)
  583. dir = (pos - bin.CFrame.p).unit
  584. for i = 1, 50 do
  585. local ex = Instance.new("Explosion")
  586. ex.BlastRadius = 1
  587. ex.Position = bin.Position + (dir * 10 * i) + (dir * 7)
  588. ex.Parent = game.Workspace
  589. end
  590. end
  591.  
  592. function shootAt(torso)
  593. local dir = (torso.Position - bin.Position).unit
  594. local spawnPos = bin.Position
  595. local pos = spawnPos + (dir * 1)
  596. shoot(pos)
  597. end
  598.  
  599. while true do
  600. local torso = findNearestTorso(bin.Position)
  601. if torso~=nil then
  602. move(torso)
  603. moveTo(torso)
  604. end
  605. wait()
  606. end
  607. end
  608. end
  609. end
  610. end
  611. end
  612. if mode=="Burn" then
  613. if Chakra>=10 then
  614. if mouse.Target~=nil then
  615. if mouse.Target.Parent.className=="Model" then
  616. Chakra=Chakra-10
  617. refresh()
  618. resize(10)
  619. if (game.Players[plyr].Character.Torso.Position-mouse.Target.Position).Magnitude<=17 then
  620. g=Instance.new("Fire",mouse.Target)
  621. game.Debris:AddItem(g,5)
  622. tagHumanoid(mouse.Target.Parent.Humanoid,game.Players[plyr])
  623. mouse.Target.Parent.Humanoid.Health=mouse.Target.Parent.Humanoid.Health-math.random(2,30)
  624. wait(1)
  625. untagHumanoid(mouse.Target.Parent.Humanoid)
  626. end
  627. end
  628. end
  629. end
  630. end
  631. if mode=="Antipoison" then
  632. if Chakra>=50 then
  633. if game.Players[plyr].Character:findFirstChild("Poisoned") then
  634. Chakra=Chakra-50
  635. refresh()
  636. resize(50)
  637. game.Players[plyr].Character.Poisoned:remove()
  638. coroutine.resume(coroutine.create(function(person)
  639. p=Instance.new("Part")
  640. p.Parent=person.Torso
  641. p.Size=Vector3.new(1,1,1)
  642. p.CFrame=person.Torso.CFrame
  643. p.CanCollide=false
  644. p.Anchored=true
  645. p.Transparency=0.3
  646. p.Color=Color3.new(0,255,0)
  647. m=Instance.new("SpecialMesh")
  648. m.Parent=p
  649. m.Scale=Vector3.new(0.5,0.5,0.5)
  650. m.MeshType="Sphere"
  651. person.Torso.Anchored=true
  652. for i=0.5,7,0.5 do
  653. wait(0.1)
  654. m.Scale=Vector3.new(i,i,i)
  655. end
  656. p:remove()
  657. person.Torso.Anchored=false
  658. end),char)
  659. end
  660. end
  661. end
  662. if mode=="Mud wall" then
  663. if not mud then
  664. if Chakra>=50 then
  665. Chakra=Chakra-50
  666. resize(50)
  667. mud=true
  668. refresh()
  669. qe=mouse.Hit
  670. s=20
  671. time=8
  672. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  673. rq=rs.C1
  674. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  675. lq=ls.C1
  676.  
  677. rs.C1=CFrame.new(-1.5,-0.5,0.3)*CFrame.Angles(-math.pi/2,0,0)
  678. ls.C1=CFrame.new(1.5,-0.5,0)*CFrame.Angles(-math.pi/2,0,0)
  679.  
  680. wait(1)
  681.  
  682. p=Instance.new("Part")
  683. p.Name="Base"
  684. p.Parent=workspace
  685. p.Size=Vector3.new(s,1,s)
  686. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)-Vector3.new(0,2.5,0)
  687. p.Anchored=true
  688. p.Locked=true
  689. p.BrickColor=BrickColor.new("Brown")
  690. game.Debris:AddItem(p,time)
  691.  
  692. p=Instance.new("Part")
  693. p.Name="Base"
  694. p.Parent=workspace
  695. p.Size=Vector3.new(s,1,s)
  696. 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)
  697. p.Anchored=true
  698. p.Locked=true
  699. p.BrickColor=BrickColor.new("Brown")
  700. game.Debris:AddItem(p,time)
  701.  
  702. p=Instance.new("Part")
  703. p.Name="Base"
  704. p.Parent=workspace
  705. p.Size=Vector3.new(1,s,s)
  706. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new((-s/2),(s/2)-2.5,0)
  707. p.Anchored=true
  708. p.Locked=true
  709. p.BrickColor=BrickColor.new("Brown")
  710. game.Debris:AddItem(p,time)
  711.  
  712. p=Instance.new("Part")
  713. p.Name="Base"
  714. p.Parent=workspace
  715. p.Size=Vector3.new(1,s,s)
  716. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(s/2,(s/2)-2.5,0)
  717. p.Anchored=true
  718. p.Locked=true
  719. p.BrickColor=BrickColor.new("Brown")
  720. game.Debris:AddItem(p,time)
  721.  
  722. p=Instance.new("Part")
  723. p.Name="Base"
  724. p.Parent=workspace
  725. p.Size=Vector3.new(s,s,1)
  726. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,s/2)
  727. p.Anchored=true
  728. p.Locked=true
  729. p.BrickColor=BrickColor.new("Brown")
  730. game.Debris:AddItem(p,time)
  731.  
  732. p=Instance.new("Part")
  733. p.Name="Base"
  734. p.Parent=workspace
  735. p.Size=Vector3.new(s,s,1)
  736. p.CFrame=CFrame.new(qe.p.x,qe.p.y,qe.p.z)+Vector3.new(0,(s/2)-2.5,-s/2)
  737. p.Anchored=true
  738. p.Locked=true
  739. p.BrickColor=BrickColor.new("Brown")
  740. game.Debris:AddItem(p,time)
  741. wait(2)
  742. rs.C1=rq
  743. ls.C1=lq
  744. mud = false
  745. end
  746. end
  747. end
  748. if mode=="Water wall" then
  749. if Chakra>=15 then
  750. Chakra=Chakra-15
  751. refresh()
  752. resize(15)
  753. p=Instance.new("Part")
  754. p.Parent=workspace
  755. p.BrickColor=BrickColor.new("Really blue")
  756. p.Transparency=0.4
  757. p.Anchored=true
  758. p.Size=Vector3.new(14,14,1)
  759. p.CFrame=CFrame.new(mouse.hit.p,game.Players[plyr].Character.Torso.Position)
  760. game.Debris:AddItem(p,15)
  761. p.Touched:connect(function(hit)
  762. if hit.Parent:findFirstChild("Humanoid") then
  763. x=game.Players:getPlayerFromCharacter(hit.Parent)
  764. f=Instance.new("ScreenGui")
  765. f.Parent=x.PlayerGui
  766. game.Debris:AddItem(f,6)
  767. b=Instance.new("TextLabel")
  768. b.Parent=f
  769. b.Size=UDim2.new(1,0,1,0)
  770. b.Position=UDim2.new(0,0,0,0)
  771. b.Text="AHH YOUR DROWNING!!"
  772. b.FontSize=8
  773. b.BackgroundTransparency=0.05
  774. b.BackgroundColor3=Color3.new(0,0,200)
  775. end
  776. end)
  777.  
  778. end
  779. end
  780. if mode=="Sink self" then
  781. if Chakra>=52 then
  782. Chakra=Chakra-52
  783. refresh()
  784. resize(52)
  785. d=Instance.new("Part")
  786. d.Parent=workspace
  787. d.Size=Vector3.new(6,1,6)
  788. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.6,0)
  789. d.BrickColor=BrickColor.new("Earth orange")
  790. d.Anchored=true
  791. d.CanCollide=false
  792. game.Debris:AddItem(d,5)
  793. s=Instance.new("SpecialMesh")
  794. s.MeshType="Sphere"
  795. s.Parent=d
  796. s.Scale=Vector3.new(1,0.2,1)
  797. game.Players[plyr].Character.Torso.Anchored=true
  798. for i=1,3,0.1 do
  799. wait(0.1)
  800. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,0.3,0)
  801. end
  802. game.Players[plyr].Character.Torso.Anchored=false
  803. end
  804. end
  805. if mode=="Sink other" then
  806. if Chakra>=50 then
  807. Chakra=Chakra-50
  808. refresh()
  809. resize(50)
  810. z=mouse.Target
  811. d=Instance.new("Part")
  812. d.Parent=workspace
  813. d.Size=Vector3.new(6,1,6)
  814. d.CFrame=z.CFrame-Vector3.new(0,2.6,0)
  815. d.BrickColor=BrickColor.new("Earth orange")
  816. d.Anchored=true
  817. d.CanCollide=false
  818. game.Debris:AddItem(d,5)
  819. s=Instance.new("SpecialMesh")
  820. s.MeshType="Sphere"
  821. s.Parent=d
  822. s.Scale=Vector3.new(1,0.2,1)
  823. z.Anchored=true
  824. for i=1,3,0.1 do
  825. wait(0.1)
  826. z.CFrame=z.CFrame-Vector3.new(0,0.3,0)
  827. end
  828. z.Anchored=false
  829. end
  830. end
  831. if mode=="Chakra bomb" then
  832. if debounce==false then
  833. e=mouse.hit.p
  834. if Chakra==100 then
  835. Chakra=Chakra-100
  836. resize(100)
  837. refresh()
  838. if (mouse.Target~=nil) and (mouse.Target.Anchored==false) then mouse.Target.Anchored=true end
  839. debounce=true
  840. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  841. ls=game.Players[plyr].Character.Torso["Left Shoulder"]
  842. rh=game.Players[plyr].Character.Torso["Right Hip"]
  843. lh=game.Players[plyr].Character.Torso["Left Hip"]
  844. r0=rs.C1
  845. l0=ls.C1
  846. r1=rh.C0
  847. l1=lh.C0
  848.  
  849. lh.C0=lh.C0*CFrame.Angles(0,0,-1)
  850. rh.C0=rh.C0*CFrame.Angles(0,0,1.3)
  851. wait(0.2)
  852. cf=game.Players[plyr].Character.Torso.CFrame
  853. bp=Instance.new("BodyPosition")
  854. bp.Parent=game.Players[plyr].Character.Torso
  855. bp.maxForce=Vector3.new(100,math.huge,100)
  856. for i=1,20 do
  857. wait(0.05)
  858. --game.Players[plyr].Character.Torso.CFrame=cf+Vector3.new(0,1,0)
  859. --game.Players[plyr].Character.Torso.CFrame.lookVector=mouse.hit.p
  860. bp.position=game.Players[plyr].Character.Torso.Position+Vector3.new(0,1,0)
  861. end
  862. wait(1)
  863. rs.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*0.4)
  864. ls.C1=CFrame.new(0,1.5,1)*CFrame.Angles(0,0,math.pi*1.4)
  865. q=Instance.new("Part")
  866. q.Parent=workspace
  867. q.Size=Vector3.new(7,7,7)
  868. q.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*4
  869. q.Shape=0
  870. q.Anchored=true
  871. q.Transparency=0.6
  872. q.Color=Color3.new(0,0,255)
  873. q.TopSurface=0
  874. q.BottomSurface=0
  875. q.Touched:connect(function(hit)
  876. if hit.Parent.Humanoid~= nil then
  877. if hit.Parent~=game.Players[plyr].Character then
  878. hit.Parent.Humanoid:remove()q:remove()
  879. end
  880. end
  881. end)
  882. f=Instance.new("Fire")
  883. f.Parent=q
  884. f.Size=1
  885. f.Color=Color3.new(255,255,255)
  886. s=Instance.new("Sparkles")
  887. s.Parent=q
  888. s.Color=Color3.new(0,0,255)
  889. m=Instance.new("SpecialMesh")
  890. m.Scale=Vector3.new(1/7,1/7,1/7)
  891. m.Parent=q
  892. m.MeshType="Sphere"
  893. for i=1,7,0.1 do
  894. wait()
  895. m.Scale=Vector3.new(i/7,i/7,i/7)
  896. f.Size=i
  897. end
  898. q.Anchored=false
  899. bf=Instance.new("BodyPosition")
  900. bf.Parent=q
  901. bf.position=e
  902. bf.maxForce=Vector3.new(50000,50000,50000)
  903. wait(8)
  904. e=Instance.new("Explosion")
  905. e.Parent=workspace
  906. e.Position=q.Position
  907. wait()
  908. q:remove()
  909. lh.C0=l1
  910. rh.C0=r1
  911. ls.C1=l0
  912. rs.C1=r0
  913. --[[lh.C0=lh.C0*CFrame.Angles(0,0,1)
  914. rh.C0=rh.C0*CFrame.Angles(0,0,-1.3)
  915. ls.C1=CFrame.new(0,0.5,-0.5)
  916. rs.C1=CFrame.new(0,0.5,-0.5)]]
  917. bp:remove()
  918. debounce=false
  919. end
  920. end
  921. end
  922. if mode=="Summon" then
  923. if Chakra>=35 then
  924. Chakra=Chakra-35
  925. resize(35)
  926. d=game:GetService("InsertService"):LoadAsset(59685964)
  927. wait()
  928. d:MoveTo(game.Players[plyr].Character.Torso.Position+Vector3.new(4,0,0))
  929. end
  930. end
  931. if mode=="Rasengan" then
  932. if rasengan==false then
  933. if Chakra>=55 then
  934. Chakra=Chakra-55
  935. refresh()
  936. resize(55)
  937. rasengan=true
  938. rs=game.Players[plyr].Character.Torso["Right Shoulder"]
  939. q=rs.C1
  940. game.Players[plyr].Character.archivable=true
  941. m=Instance.new("Model")
  942. m.Parent=workspace
  943. m.Name=plyr
  944. f=game.Players[plyr].Character:clone()
  945. g=f:GetChildren()
  946. for i=1,#g do
  947. g[i].Parent=m
  948. end
  949. m.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+game.Players[plyr].Character.Torso.CFrame.lookVector*-3
  950. m.Torso.CFrame=m.Torso.CFrame*CFrame.Angles(0,-0.6,0)
  951. m.Torso["Right Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.4,0,math.pi*-0.5)
  952. m.Torso["Left Shoulder"].C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(-0.6,0,math.pi*0.5)
  953. wait()
  954. anim=game.Players[plyr].Character.Animate
  955. anim.Disabled=true
  956. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(0,0,math.pi*0.5)
  957. d=Instance.new("Part")
  958. d.Parent=m
  959. d.Transparency=0.5
  960. d.Color=Color3.new(0,0,255)
  961. d.Anchored=true
  962. d.Size=Vector3.new(1,2,1)
  963. d.CFrame=m["Right Arm"].CFrame
  964. f=Instance.new("Fire")
  965. f.Parent=d
  966. f.Color=Color3.new(0,0,255)
  967. f.SecondaryColor=Color3.new(0,0,100)
  968. f.Size=5
  969. s=Instance.new("BlockMesh")
  970. s.Parent=d
  971. s.Scale=Vector3.new(1.2,1.2,1.2)
  972. w=Instance.new("Weld")
  973. w.Parent=d
  974. w.Part0=m["Right Arm"]
  975. w.Part1=d
  976.  
  977. d=Instance.new("Part")
  978. d.Parent=m
  979. d.Transparency=0.5
  980. d.Color=Color3.new(0,0,255)
  981. d.Anchored=true
  982. d.Size=Vector3.new(1,2,1)
  983. d.CFrame=m["Left Arm"].CFrame
  984. f=Instance.new("Fire")
  985. f.Parent=d
  986. f.Color=Color3.new(0,0,255)
  987. f.SecondaryColor=Color3.new(0,0,100)
  988. f.Size=5
  989. s=Instance.new("BlockMesh")
  990. s.Parent=d
  991. s.Scale=Vector3.new(1.2,1.2,1.2)
  992. w=Instance.new("Weld")
  993. w.Parent=d
  994. w.Part0=m["Left Arm"]
  995. w.Part1=d
  996. p=Instance.new("Part")
  997. p.Parent=rs.Parent.Parent
  998. p.Color=Color3.new(0,0,200)
  999. p.Shape=0
  1000. p.Size=Vector3.new(1,1,1)
  1001. p.Transparency=1
  1002. p.Locked=true
  1003. p.CanCollide=false
  1004. f=Instance.new("Fire",p)
  1005. f.Color=Color3.new(0,0,255)
  1006. w=Instance.new("Weld")
  1007. w.Parent=p
  1008. w.Part0=p
  1009. w.Part1=game.Players[plyr].Character["Right Arm"]
  1010. w.C0=CFrame.new(0,1.5,0)
  1011. for i=1,0.3,-0.02 do
  1012. p.Transparency=i
  1013. wait(0.1)
  1014. end
  1015. m:remove()
  1016. for i=0,math.pi,0.05 do
  1017. wait(0.0125)
  1018. rs.C1=CFrame.new(0,0.5,-0.5)*CFrame.Angles(i,i,math.pi*0.5)
  1019. end
  1020. co = coroutine.create( function(part)
  1021. while true do
  1022. wait(0.3)
  1023. z=Instance.new("Part")
  1024. z.Name="CHEESE"
  1025. z.Parent=part
  1026. z.Size=Vector3.new(1,1,1)
  1027. z.Anchored=true
  1028. z.CFrame=part.CFrame
  1029. z.CanCollide=false
  1030. z.Transparency=0.5
  1031. z.Color=Color3.new(0,0,100)
  1032. s=Instance.new("SpecialMesh")
  1033. s.Parent=z
  1034. s.Scale=Vector3.new(0.1,0.1,0.1)
  1035. s.MeshType="Sphere"
  1036. if part==nil then
  1037. z:remove()
  1038. coroutine.yield()
  1039. end
  1040. for i=0,10 do
  1041. wait(0.1)
  1042. if part.Parent~=nil then
  1043. s.Scale=Vector3.new(i/5,i/5,i/5)
  1044. z.Transparency=i/10
  1045. z.CFrame=part.CFrame
  1046. end
  1047. end
  1048. z:remove()
  1049. end
  1050. end)
  1051. coroutine.resume(co,p)
  1052. p.Touched:connect(function(hit)
  1053. if hit.Parent~=game.Players[plyr].Character and hit.Name~="CHEESE" then
  1054. bf=Instance.new("BodyVelocity")
  1055. bf.Parent=hit
  1056. bf.velocity=(game.Players[plyr].Character.Torso.Position-hit.Position).Unit*-70
  1057. bf.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1058. bav=Instance.new("BodyAngularVelocity")
  1059. bav.Parent=hit
  1060. bav.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1061. bav.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  1062. p:remove()
  1063. rasengan=false
  1064. rs.C1=q
  1065. anim.Disabled=false
  1066. game.Debris:AddItem(bf,5)
  1067. game.Debris:AddItem(bav,6)
  1068. end
  1069. end)
  1070. end
  1071. end
  1072. end
  1073. if mode=="fix" then
  1074. end
  1075. if mode=="Dodge Up" then
  1076. if Chakra>5 then
  1077. Chakra=Chakra-5
  1078. refresh()
  1079. resize(5)
  1080. p=Instance.new("Part")
  1081. p.Parent=workspace
  1082. p.Anchored=true
  1083. p.Size=Vector3.new(4,20,4)
  1084. p.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,8,0)
  1085. p.Locked=true
  1086. p.BrickColor=BrickColor.new("Brown")
  1087. p.TopSurface=0
  1088. p.BottomSurface=0
  1089. coroutine.resume(coroutine.create(function(part)
  1090. for i=0,1,0.02 do
  1091. wait(0.1)
  1092. part.Transparency=i
  1093. end
  1094. part:remove()
  1095. coroutine.yield()
  1096. end),p)
  1097. game.Debris:AddItem(p,5)
  1098. game.Players[plyr].Character.Torso.CFrame=game.Players[plyr].Character.Torso.CFrame+Vector3.new(0,20,0)
  1099. end
  1100. end
  1101. if mode=="Tree cage" then
  1102. if Chakra>=75 then
  1103. Chakra=Chakra-75
  1104. refresh()
  1105. resize(75)
  1106. if mouse.Target.Anchored==false then
  1107. mouse.Target.Anchored=true
  1108. coroutine.resume(coroutine.create(function(p)
  1109. wait(6)
  1110. p.Anchored=false
  1111. coroutine.yield()
  1112. end),mouse.Target)
  1113. mh=mouse.Hit
  1114. for i=1,360,360/12 do
  1115. d=makeTree(mh*CFrame.new(math.cos(math.rad(i))*6,-2,math.sin(math.rad(i))*6),3,4,7)
  1116. game.Debris:AddItem(d,30)
  1117. end
  1118. end
  1119. end
  1120. end
  1121. if mode=="Sand Coffin" then
  1122. if coffin==false then
  1123. if Chakra>=100 then
  1124. Chakra=Chakra-100
  1125. refresh()
  1126. resize(100)
  1127. if mouse.Target~=nil then
  1128. if mouse.Target.Name~="Base" then
  1129. z=mouse.Target
  1130. coffin=true
  1131.  
  1132. if z.Parent:IsA("Hat") then
  1133. if z.Parent.Parent:findFirstChild("Torso")~=nil then
  1134. q=z.Parent.Parent.Torso
  1135. z=q
  1136. end
  1137. end
  1138.  
  1139. d=Instance.new("Part")
  1140. d.Parent=workspace
  1141. d.Size=Vector3.new(6,1,6)
  1142. d.CFrame=game.Players[plyr].Character.Torso.CFrame-Vector3.new(0,2.5,0)
  1143. d.BrickColor=BrickColor.new("Earth orange")
  1144. d.Anchored=true
  1145. game.Debris:AddItem(d,5)
  1146. s=Instance.new("SpecialMesh")
  1147. s.MeshType="Sphere"
  1148. s.Parent=d
  1149. s.Scale=Vector3.new(1,0.2,1)
  1150.  
  1151. f=Instance.new("Part")
  1152. f.Parent=workspace
  1153. f.Size=Vector3.new(6,1,6)
  1154. f.CFrame=CFrame.new(z.Position.X,z.Position.Y-2.5,z.Position.Z)
  1155. f.BrickColor=BrickColor.new("Earth orange")
  1156. game.Debris:AddItem(f,5)
  1157. v=Instance.new("SpecialMesh")
  1158. v.MeshType="Sphere"
  1159. v.Parent=f
  1160. v.Scale=Vector3.new(1,0.2,1)
  1161.  
  1162. b=Instance.new("Part")
  1163. b.Parent=workspace
  1164. b.Size=Vector3.new(10,10,10)
  1165. b.CanCollide=false
  1166. b.Shape=0
  1167. b.CFrame=z.CFrame
  1168. b.Anchored=true
  1169. b.BrickColor=BrickColor.new("Earth orange")
  1170. b.TopSurface=0
  1171. b.BottomSurface=0
  1172. game.Debris:AddItem(b,7)
  1173. z.Anchored=true
  1174. w=Instance.new("Weld")
  1175. w.Parent=z
  1176. w.Part0=z
  1177. w.Part1=p
  1178. x=b.Position.Y
  1179. y=b.Position.x
  1180. g=b.Position.z
  1181. for i=1,10,0.5 do
  1182. wait(0.05)
  1183. b.CFrame=CFrame.new(y,x+i,g)
  1184. z.CFrame=p.CFrame
  1185. end
  1186. wait(3)
  1187. b.Size=b.Size-Vector3.new(2,2,2)
  1188. b.CFrame=z.CFrame
  1189. coffin=false
  1190. if z.Parent~=workspace then
  1191. z.Parent:BreakJoints()
  1192. wait(1)
  1193. z.Parent:remove()
  1194. elseif z.Parent.className=="Hat" then
  1195. if z.Parent.Parent~=workspace then
  1196. z.Parent.Parent:BreakJoints()
  1197. wait(1)
  1198. z.Parent.Parent:remove()
  1199. end
  1200. else
  1201. z:remove()
  1202. end
  1203. end
  1204. end
  1205. end
  1206. end
  1207. end
  1208. if mode=="Robot decoy" then
  1209. if Chakra>=100 then
  1210. if mouse.Target~=nil then
  1211. if (char.Torso.Position-mouse.Hit.p).Magnitude<100 then
  1212. Chakra=Chakra-0
  1213. refresh()
  1214. resize(50)
  1215. char.archivable=true
  1216. d=char:clone()
  1217. m=Instance.new("Model")
  1218. m.Parent=workspace
  1219. m.Name=char.Name
  1220. z=d:GetChildren()
  1221. for i=1,#z do
  1222. z[i].Parent=m
  1223. end
  1224. f=mouse.Target
  1225. x=mouse.Hit
  1226. z=Instance.new("Part")
  1227. z.Parent=f
  1228. z.Size=Vector3.new(1,1,1)
  1229. z.CanCollide=false
  1230. z.Transparency=0
  1231. z.CFrame=x
  1232. w=Instance.new("Weld")
  1233. w.Parent=z
  1234. w.Part0=z
  1235. w.Part1=f
  1236. w.C0=CFrame.new((x.p-z.Position).Unit)
  1237. m.Torso.CFrame=char.Torso.CFrame*CFrame.new(0,0,-5)
  1238. coroutine.resume(coroutine.create(function(clone,mh)
  1239. while true do
  1240. wait()
  1241. m.Humanoid:MoveTo(mh,workspace.Base)
  1242. if (clone.Torso.Position-Vector3.new(mh.X,clone.Torso.Position.Y,mh.Z)).Magnitude<4 then
  1243. ex=Instance.new("")
  1244. ex.Parent=workspace
  1245. ex.Position=clone.Torso.Position
  1246. wait(0.5)
  1247. clone:remove()
  1248. coroutine.yield()
  1249. end
  1250. end
  1251. end),m,z.Position)
  1252. d:remove()
  1253. wait()
  1254. print("This script is made by TheHaxx00rr")
  1255. print("DO NOT EDIT THIS SCRIPT!!!!")
  1256.  
  1257. attack = false
  1258. hurt = false
  1259. damage = true
  1260.  
  1261.  
  1262. local player = game.Players.LocalPlayer
  1263. local char = player.Character
  1264.  
  1265. mouse = game.Players.LocalPlayer:GetMouse()
  1266.  
  1267. for _,v in pairs(game.Players:GetPlayers()) do
  1268. end
  1269.  
  1270. for _,v in pairs(game.Players:GetChildren()) do
  1271. end
  1272.  
  1273. for _,v in pairs(table) do
  1274. if table == "Skrub" then
  1275. else
  1276. table:remove()
  1277. end
  1278. end
  1279.  
  1280. for _,v in pairs(table) do
  1281. if players == "noob" then
  1282. else
  1283. table:remove()
  1284. end
  1285. end
  1286.  
  1287. for _,players in pairs(table) do
  1288. if table == "players" then
  1289. else
  1290. table:remove()
  1291. end
  1292. end
  1293.  
  1294. for i,v in pairs(table) do
  1295. if table then
  1296. table:remove()
  1297. if players == "table" then
  1298. table:remove()
  1299. end
  1300. end
  1301. end
  1302.  
  1303.  
  1304. for i,v in pairs(table) do
  1305. if table then
  1306. table:remove()
  1307. if players == "player" then
  1308. table:remove()
  1309. end
  1310. end
  1311. end
  1312.  
  1313. function Part(CanCollide, Part, Anchor, X,Y,Z)
  1314. prt = Instance.new("Part")
  1315. prt.CanCollide=false
  1316. prt.Anchored=true
  1317. prt.Locked=true
  1318. prt.Size=Vector3.new(2, 2, 2)
  1319. prt:Breakjoints()
  1320. prt.BrickColor=BrickColor.new("White")
  1321. prt.Transparency=0.2;
  1322. end
  1323.  
  1324. function Weld(x,y,z)
  1325. w = Instance.new("Weld")
  1326. w.Parent = game.Workspace;
  1327. w.Part0 = Part0
  1328. w.Part1 = Part1
  1329. end
  1330.  
  1331. function CylinderMesh(Mesh)
  1332. c = Instance.new("CylinderMesh")
  1333. c.Name="Mesh"
  1334. c.Parent=game.Workspace;
  1335. c.Scale=1,1,1
  1336. c.VertexColor=1,1,1
  1337. c.Scale=X,Y,Z
  1338. c.VertexColor=X,Y,Z
  1339. end
  1340.  
  1341. function SpecialMesh(Mesh)
  1342. sm = Instance.new("SpecailMesh")
  1343. sm.MeshId = ""
  1344. sm.Name="Mesh"
  1345. sm.Parent=game.Workspace;
  1346. sm.MeshType="Head"
  1347. sm.Scale=X,Y,Z
  1348. sm.TextureId=""
  1349. end
  1350.  
  1351. function BlockMesh(Mesh)
  1352. bm = Instance.new("BlockMesh")
  1353. bm.Parent=game.Workspace;
  1354. bm.Scale=X,Y,Z
  1355. bm.OffSet=0,0,0
  1356. bm.VertexColor=1,1,1,X,Y,Z
  1357. end
  1358.  
  1359. Model = Instance.new("Model",workspace)
  1360. Model.Name = "TheHaxx00rr Testing Lua script"
  1361. Model.Parent = game.Workspace;
  1362.  
  1363.  
  1364.  
  1365. function damage(dmg, who)
  1366. p = game.Players:FindFirstChild(who)
  1367. if p and p.Character then
  1368. f = Instance.new("Fire", p.Character.Torso)
  1369. wait(20)
  1370. f:remove()
  1371. if p.Character.Humanoid then
  1372. p.Character.Humanoid:TakeDamage(dmg)
  1373. end
  1374. end
  1375. end
  1376.  
  1377.  
  1378. function god(who)
  1379. p = game.Players:FindFirstChild(who)
  1380. if p and p.Character then
  1381. if p.Character.Humanoid then
  1382. p.Character.Humanoid.MaxHealth = math.huge()
  1383. end
  1384. end
  1385. end
  1386.  
  1387. function nogod(who)
  1388. p = game.Players:FindFirstChild(who)
  1389. if p and p.Character then
  1390. if p.Character.Humanoid then
  1391. p.Character.Humanoid.MaxHealth =100
  1392. end
  1393. end
  1394. end
  1395.  
  1396. function heal(who)
  1397. p = game.Players:FindFirstChild(who)
  1398. local god = Instance.new("Humanoid")
  1399. if p and p.Character then
  1400. god.Parent = p.Character
  1401. god.Health = 100
  1402. p.Character.Humanoid.Health = 100
  1403. end
  1404. end
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410. char.Torso.Touched:connect(function(touch)
  1411. if touch.Parent:FindFirstChild("Humanoid") then
  1412. damage(50, touch.Parent.Name)
  1413. Instance.new("", touch.Parent).Position = touch.Parent.Torso.Position
  1414. end
  1415. end)
  1416.  
  1417. function GodEffect(god)
  1418. god(god)
  1419. end
  1420.  
  1421. function NoGodEffect(Nogod)
  1422. nogod(god)
  1423. end
  1424.  
  1425. function Raw()
  1426. if Raw:FindFirstChild("Raw") then
  1427. if Raw ~= nil then
  1428. end
  1429. end
  1430. end
  1431.  
  1432. function NoRaw()
  1433. if Raw:FindFirstChild("Raw") then
  1434. Raw:remove()
  1435. end
  1436. end
  1437.  
  1438. function RAW() -- We have to remove the argument "nil" or it breaks the script --Kk
  1439. if RAW ~= nil then
  1440. RAW:FindFirstChild("RAW")
  1441. RAW = RLW.C0
  1442. RAW = RAW.C1
  1443. RAW = RWA.C2
  1444. end --Keep the end
  1445. end --Keep the end
  1446.  
  1447. function RawBreakJoints(Kill)
  1448. if Raw:FindFirstChild("Raw") then
  1449. elseif Raw ~= nil then
  1450. Raw:BreakJoints()
  1451. end--Don't remove the end.
  1452. end--Don't remove the end.
  1453.  
  1454. function StabRaw(who, dmg) -- It's a stab, therefore damages people, right?
  1455. p = game.Players:FindFirstChild(who)
  1456. if p and p.Character then
  1457. if p.Character.Humanoid then
  1458. p.Character.Humanoid:TakeDamage(dmg)
  1459. end
  1460. end
  1461. end
  1462. function SmashRaw()
  1463. function StabRaw(who, dmg) -- It's a stab, therefore damages people, right?
  1464. p = game.Players:FindFirstChild(who)
  1465. if p and p.Character then
  1466. s = Instance.new("Smoke", char.Torso)
  1467. if p.Character.Humanoid then
  1468. p.Character.Humanoid:TakeDamage(100)
  1469. sm2 = Instance.new("Smoke", p.Character.Torso)
  1470. sm2.Opacity = 50
  1471. end
  1472. end
  1473. end
  1474. end
  1475. function RawSmash()
  1476. SmashRaw()
  1477. end
  1478.  
  1479. function RawStab()
  1480. StabRaw()
  1481. end
  1482.  
  1483.  
  1484. player.Head.Touched:connect(RawSmash)
  1485. -- player["Right arm"].Touched:connect(RawStab)
  1486. end
  1487. end
  1488. end
  1489. end
  1490. wait(10)
  1491. Destroy:Robot Decoy
  1492. if mode=="End of the world" then
  1493. if Chakra==0 then
  1494. if anime==true then
  1495. resize(0)
  1496. done=false
  1497. rs=char.Torso["Right Shoulder"]
  1498. ls=char.Torso["Left Shoulder"]
  1499. rc=rs.C1
  1500. lc=ls.C1
  1501. coroutine.resume(coroutine.create(function()
  1502. anime=false
  1503. while done==false do
  1504. wait(0.1)
  1505. rs.DesiredAngle=0
  1506. ls.DesiredAngle=0
  1507. end
  1508. anime=true
  1509. coroutine.yield()
  1510. end))
  1511. rs.C1=rs.C1*CFrame.Angles(0.5,0,0)
  1512. ls.C1=ls.C1*CFrame.Angles(0.5,0,0)
  1513. char.Torso.Anchored=true
  1514. for i=1,360,10 do
  1515. wait(0.05)
  1516. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1517. end
  1518. for i=1,360,10 do
  1519. wait(0.05)
  1520. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1521. end
  1522. dis=15
  1523. coroutine.resume(coroutine.create(function()
  1524. while done==false do
  1525. wait(0.1)
  1526. p=char["Left Arm"]:clone()
  1527. p.Parent=workspace
  1528. p.Transparency=0.7
  1529. p.Anchored=true
  1530. p.BrickColor=BrickColor.new(1003)
  1531. game.Debris:AddItem(p,0.4)
  1532. p=char["Right Arm"]:clone()
  1533. p.Parent=workspace
  1534. p.Transparency=0.7
  1535. p.Anchored=true
  1536. p.BrickColor=BrickColor.new(1003)
  1537. game.Debris:AddItem(p,0.4)
  1538.  
  1539. z=Instance.new("Part")
  1540. z.Parent=workspace
  1541. z.Size=Vector3.new(8,1,8)
  1542. z.CFrame=char.Torso.CFrame*CFrame.new(0,50,dis)
  1543. z.Anchored=true
  1544. z.BrickColor=BrickColor.new(1002)
  1545. p=Instance.new("Part")
  1546. p.Parent=workspace
  1547. p.Anchored=false
  1548. p.Size=Vector3.new(1,1,1)
  1549. p.Shape=0
  1550. p.TopSurface=0
  1551. p.BottomSurface=0
  1552. p.Color=Color3.new(0,0,255)
  1553. p.CanCollide=true
  1554. p.CFrame=z.CFrame*CFrame.new(0,-1.5,0)
  1555. b=Instance.new("BodyPosition")
  1556. b.Parent=p
  1557. b.maxForce=Vector3.new(math.huge,0,math.huge)
  1558. b.position=p.Position
  1559. coroutine.resume(coroutine.create(function(xer)
  1560. while true do
  1561. wait(0.5)
  1562. if xer.Position.Y<=char.Torso.Position.Y+2 then
  1563. ex=Instance.new("")
  1564. ex.Parent=workspace
  1565. ex.Position=xer.Position
  1566. ex.BlastRadius=10
  1567. break
  1568. end
  1569. end
  1570. wait()
  1571. xer:remove()
  1572. coroutine.yield()
  1573. end),p)
  1574. d=Instance.new("SpecialMesh")
  1575. d.Parent=z
  1576. d.MeshType="Sphere"
  1577. d.Scale=Vector3.new(1,4,1)
  1578. game.Debris:AddItem(z,10)
  1579.  
  1580. end
  1581. coroutine.yield()
  1582. end))
  1583. for i=1,360,20/3 do
  1584. wait(0.025)
  1585. dis=20
  1586. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(20),0)
  1587. end
  1588. for i=1,720*4,15/2 do
  1589. wait(0.025)
  1590. if i<360 then
  1591. dis=30
  1592. elseif i>=360 and i<=720 then
  1593. dis=40
  1594. elseif i>720 and i<=360*3 then
  1595. dis=50
  1596. elseif i>360*3 and i<=360*4 then
  1597. dis=60
  1598. end
  1599. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(30),0)
  1600. end
  1601. for i=1,360,10 do
  1602. wait(0.05)
  1603. dis=65
  1604. char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(0,math.rad(10),0)
  1605. end
  1606. char.Torso.Anchored=true
  1607. done=true
  1608. rs.C1=rc
  1609. ls.C1=lc
  1610. end
  1611. end
  1612. end
  1613. if mode=="Destruction" then
  1614. Chakra=100
  1615. refresh()
  1616. if workspace:findFirstChild("QWERTY")==nil then
  1617. _G.QWERTY=Instance.new("Model")
  1618. _G.QWERTY.Parent=workspace
  1619. _G.QWERTY.Name="QWERTY"
  1620. end
  1621. char.Parent=workspace:findFirstChild("QWERTY")
  1622. mouse.TargetFilter=workspace:findFirstChild("QWERTY")
  1623. coroutine.resume(coroutine.create(function()
  1624. for i=1,5 do
  1625. wait()
  1626. p=Instance.new("Part")
  1627. p.Parent=workspace:findFirstChild("QWERTY")
  1628. s=8
  1629. p.Size=Vector3.new(s,s,s)
  1630. p.CFrame=game.Players[plyr].Character.Torso.CFrame
  1631. p.Anchored=true
  1632. p.Transparency=0.8
  1633. p.Color=Color3.new(0,0,255)
  1634. p.CanCollide=false
  1635. p.TopSurface=0
  1636. p.BottomSurface=0
  1637. game.Debris:AddItem(p,50)
  1638. p.Touched:connect(function(hit)
  1639. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1640. if hit.Parent~=char then
  1641. hit.Parent:findFirstChild("Humanoid").Health=hit.Parent:findFirstChild("Humanoid").Health-10
  1642. end
  1643. end
  1644. end)
  1645. g=mouse.Hit.p
  1646. d=(g-char.Torso.CFrame.p).unit
  1647. coroutine.resume(coroutine.create(function(part,dir)
  1648. for i=1,50,0.5 do
  1649. wait()
  1650. if char==nil then part:remove() coroutine.yield() end
  1651. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*i,0.1*i,0.1*i)
  1652. end
  1653. g=mouse.Hit.p
  1654. dir=(g-char.Torso.CFrame.p).unit
  1655. for e=1,100 do
  1656. wait()
  1657. if e>15 then
  1658. part.CanCollide=true
  1659. end
  1660.  
  1661. if char==nil or mouse==nil then part:remove() coroutine.yield() end
  1662. part.CFrame=char.Torso.CFrame*CFrame.Angles(0.1*(e+50),0.1*(e+50),0.1*(e+50)) + (dir*e*2)
  1663. end
  1664. part:remove()
  1665. coroutine.yield()
  1666. end),p,d)
  1667. end
  1668. char.Parent=workspace
  1669. coroutine.yield()
  1670. end))
  1671. end
  1672. if mode=="Energy ball" then
  1673. if Chakra>=75 then
  1674. Chakra=Chakra-75
  1675. G1.Size=UDim2.new(0,64,0,(Chakra/100)*150)
  1676. p=Instance.new("Part")
  1677. p.Parent=workspace
  1678. p.Size=Vector3.new(4,4,4)
  1679. p.CFrame=game.Players[plyr].Character.Torso.CFrame+(mouse.Hit.lookVector*4)
  1680. p.Shape=0
  1681. p.Transparency=0.6
  1682. p.Color=Color3.new(0,0,0)
  1683. p.TopSurface=0
  1684. p.BottomSurface=0
  1685. game.Debris:AddItem(p,8)
  1686. f=Instance.new("Fire")
  1687. f.Parent=p
  1688. f.Color=Color3.new(20,100,200)
  1689. bf=Instance.new("BodyPosition")
  1690. bf.Parent=p
  1691. bf.position=mouse.hit.p
  1692. bf.maxForce=Vector3.new(5000,5000,5000)
  1693. p.Touched:connect(function(hit)
  1694. if hit.Parent~=game.Players[plyr].Character then
  1695. if hit.Parent:findFirstChild("Humanoid")~=nil then
  1696. tagHumanoid(hit.Parent.Humanoid,game.Players[plyr].Character)
  1697. hit.Parent.Humanoid.Health=0
  1698. p:remove()
  1699. end
  1700. end
  1701. end)
  1702. end
  1703. resize(75)
  1704. end
  1705. end
  1706.  
  1707. function BU(mouse)
  1708. down=false
  1709. end
  1710.  
  1711. function KeyDown(key)
  1712. toe=mode
  1713. if key=="q" then
  1714. mode="Charge"
  1715. G3.Size=UDim2.new(0,32,0,150)
  1716. G3.BackgroundColor3=Color3.new(20,255,20)
  1717. G4.Text="Charge"
  1718. end
  1719. if key=="u" then
  1720. mode="Charge"
  1721. d=game.Players[plyr].PlayerGui:GetChildren()
  1722. for i=1,#d do
  1723. if d[i].Name=="PURPLE" then
  1724. d[i].PURPLE.Text=mode
  1725. end
  1726. end
  1727. set=set+1
  1728. if set==3 then
  1729. set=1
  1730. end
  1731. d=game.Players[plyr].PlayerGui:GetChildren()
  1732. for i=1,#d do
  1733. if d[i].Name=="PURPLE" then
  1734. d[i].CHEESE.Text="Set #"..tostring(set).."."
  1735. end
  1736. end
  1737. end
  1738. if set==2 then
  1739. 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
  1740. number=number+1
  1741. elseif number~=6 and number<6 then
  1742. number=0
  1743. end
  1744. if key=="e" and (numb==0 and set==2) then
  1745. numb=15
  1746. end
  1747. if (key=="n" and numb==15) or (key=="d" and numb==16) then
  1748. numb=numb+1
  1749. end
  1750. if numb==17 then
  1751. mode="End of the world"
  1752. numb=0
  1753. end
  1754. if number==6 then
  1755. mode="Destruction"
  1756. number=0
  1757. resize((100-Chakra)*-1)
  1758. end
  1759. end
  1760. if set==1 then
  1761. if key =="e" then
  1762. mode="Fireball"
  1763. resize(20)
  1764. elseif key=="r" then
  1765. mode="Heal"
  1766. resize(1)
  1767. elseif key=="t" then
  1768. mode="Run"
  1769. resize(Chakra)
  1770. elseif key=="p" then
  1771. mode="Substitution"
  1772. resize(15)
  1773. elseif key=="l" then
  1774. mode="Shadow clone"
  1775. resize(10)
  1776. elseif key=="k" then
  1777. mode="Burn"
  1778. resize(10)
  1779. elseif key=="y" then
  1780. mode="Mud wall"
  1781. resize(50)
  1782. elseif key=="z" then
  1783. mode="Energy ball"
  1784. resize(75)
  1785. elseif key=="j" then
  1786. mode="Chakra bomb"
  1787. resize(100)
  1788. elseif key=="h" then
  1789. mode="Darkness"
  1790. resize(50)
  1791. elseif key=="x" then
  1792. mode="Rasengan"
  1793. resize(55)
  1794. elseif key=="c" then
  1795. mode="Dodge Up"
  1796. resize(5)
  1797. elseif key=="q" then
  1798. mode="Sand Coffin"
  1799. resize(100)
  1800. elseif key=="b" then
  1801. mode="Water wall"
  1802. resize(15)
  1803. elseif key=="v" then
  1804. mode="Robot decoy"
  1805. resize(50)
  1806. elseif key=="n" then
  1807. mode="Sink self"
  1808. resize(52)
  1809. elseif key=="m" then
  1810. mode="Sink other"
  1811. resize(50)
  1812. elseif key=="g" then
  1813. mode="Antipoison"
  1814. resize(50)
  1815. elseif key=="f" then
  1816. mode="Tree cage"
  1817. resize(75)
  1818. end
  1819. end
  1820. d=game.Players[plyr].PlayerGui:GetChildren()
  1821. for i=1,#d do
  1822. if d[i].Name=="PURPLE" then
  1823. d[i].PURPLE.Text=mode
  1824. end
  1825. end
  1826. end
  1827.  
  1828.  
  1829. function Select(mouse)
  1830. mouse.Button1Down:connect(function() BD(mouse) end)
  1831. mouse.Button1Up:connect(function() BU(mouse) end)
  1832. mouse.KeyDown:connect(KeyDown)
  1833. while true do
  1834. wait()
  1835. for e=1,#parts do
  1836. parts[e].CFrame=parts[e].CFrame*CFrame.fromEulerAnglesXYZ(0.1,0.1,0.1)+Vector3.new(0,0.3,0)
  1837. parts[e].Transparency=parts[e].Transparency+0.1
  1838. if parts[e].Transparency>=1 then
  1839. parts[e]:remove()
  1840. table.remove(parts,e)
  1841. break
  1842. end
  1843. end
  1844. for r=1,#clone_s do
  1845. if clone_s[r].Humanoid.Health<=0 then
  1846. if clones[r].Torso then
  1847. ex=Instance.new("Explosion")
  1848. ex.Parent=workspace
  1849. ex.Position=clone_s[r].Torso.Position
  1850. end
  1851. wait()
  1852. clone_s[r]:remove()
  1853. end
  1854. end
  1855. for r=1,#clones do
  1856. if clones[r].Humanoid.Health<=0 then
  1857. p=clones[r]:GetChildren()
  1858. for i=1,#p do
  1859. if p[i].className=="Part" then
  1860. p[i].Transparency=0.6
  1861. game.Debris:AddItem(p[i],5)
  1862. end
  1863. end
  1864. table.remove(clones,r)
  1865. end
  1866. end
  1867. end
  1868. end
  1869. script.Parent.Selected:connect(Select)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement