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