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