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