SHOW:
|
|
- or go back to the newest paste.
1 | - | Name="Balakyrie" |
1 | + | Name="batdead12" |
2 | player=game.Players[Name] | |
3 | char=player.Character | |
4 | Color=BrickColor.new("Grey") | |
5 | Color2=BrickColor.new(Color3.new(0,0,0)) | |
6 | model=Instance.new("Model") | |
7 | model.Name="Suit" | |
8 | model.Parent=char | |
9 | d=0 | |
10 | Debounce=true | |
11 | ||
12 | fake=char.Head:clone() | |
13 | pcall(function() fake.face:remove() end) | |
14 | char.Head.Transparency=1 | |
15 | fake.Parent=model | |
16 | fake.Transparency=0 | |
17 | w=Instance.new("Weld") | |
18 | w.Part1=fake | |
19 | w.Part0=char.Head | |
20 | w.Parent=char | |
21 | fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01) | |
22 | fake.BrickColor=Color2 | |
23 | ||
24 | char.Head.Changed:connect(function(p) | |
25 | if p=="BrickColor" then | |
26 | wait() | |
27 | pcall(function() | |
28 | char.Head.face:Remove() | |
29 | char.Torso.roblox:remove() | |
30 | char["Shirt Graphic"]:remove() | |
31 | end) | |
32 | char.Humanoid.WalkSpeed=25 | |
33 | char.Humanoid.MaxHealth=math.huge | |
34 | char.Humanoid.Health=math.huge | |
35 | for _,v in pairs(char:children()) do | |
36 | if v.className=="Hat" then | |
37 | v:remove() | |
38 | elseif v:IsA("Part") then | |
39 | v.BrickColor=Color2 | |
40 | v.TopSurface="Smooth" | |
41 | v.BottomSurface="Smooth" | |
42 | elseif v:IsA("Shirt") or v:IsA("Pants") then | |
43 | v:remove() | |
44 | end | |
45 | end | |
46 | end | |
47 | end) | |
48 | char.Head.BrickColor=Color2 | |
49 | ||
50 | Tor=Instance.new("Part") | |
51 | Tor.Size=Vector3.new(1,1,1) | |
52 | Tor.BrickColor=Color2 | |
53 | Tor.Reflectance=0 | |
54 | Tor.Transparency=0 | |
55 | Tor.CanCollide=false | |
56 | Tor.Parent=char | |
57 | Mesh=Instance.new("SpecialMesh") | |
58 | Mesh.MeshId="http://www.roblox.com/asset/?id=16952952" | |
59 | Mesh.Scale=Vector3.new(1.05,1.05,1.05) | |
60 | Mesh.Parent=Tor | |
61 | w = Instance.new("Weld") | |
62 | w.Parent = char["Head"] | |
63 | w.Part0 = w.Parent | |
64 | w.Part1 = Tor | |
65 | w.C0 = CFrame.new(0,0.35,0) | |
66 | ||
67 | --NOTE TO SELF:Use Add([Object],[Delay]) instead of Debris:AddItem | |
68 | function Add(object,delay) | |
69 | coroutine.resume(coroutine.create(function() wait(delay) pcall(function() object:remove() end) end)) | |
70 | end | |
71 | ||
72 | if script.Parent.className~="HopperBin" then | |
73 | Sword = Instance.new("HopperBin") | |
74 | Sword.Parent = game.Players[Name].Backpack | |
75 | Sword.Name="Sword" | |
76 | script.Parent=Sword | |
77 | end | |
78 | ||
79 | Sword=script.Parent | |
80 | ||
81 | Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]} | |
82 | ||
83 | function hint(msg,de) | |
84 | local h=Instance.new("Hint") | |
85 | h.Text=tostring(msg) | |
86 | h.Parent=player | |
87 | Delay(tonumber(de),function() h:remove() end) | |
88 | end | |
89 | ||
90 | function makeSword() | |
91 | Sword=model | |
92 | wait(0.1) | |
93 | Handle=Instance.new("Part") | |
94 | Handle.Size=Vector3.new(1,1,1) | |
95 | Handle.Parent=Sword | |
96 | Handle.BrickColor=Color2 | |
97 | Handle.Name="Handle" | |
98 | Mesh=Instance.new("SpecialMesh") | |
99 | Mesh.MeshType=0 | |
100 | Mesh.Parent=Handle | |
101 | Mesh.Scale=Vector3.new(0.4,0.75,0.4) | |
102 | HenWeld=Instance.new("Weld") | |
103 | HenWeld.Parent=char["Right Arm"] | |
104 | HenWeld.Part1=HenWeld.Parent | |
105 | HenWeld.Part0=Handle | |
106 | HenWeld.C0=CFrame.new(0,-0.2,1)*CFrame.Angles(math.rad(90),math.rad(25),0) | |
107 | Hy=HenWeld.C0 | |
108 | GripTop=Instance.new("Part") | |
109 | GripTop.BrickColor=BrickColor.new(27) | |
110 | GripTop.Size=Vector3.new(1,1,1) | |
111 | GripTop.Parent=Sword | |
112 | GripTop.Name="GripTop" | |
113 | Mesh=Instance.new("BlockMesh") | |
114 | Mesh.Parent=GripTop | |
115 | Mesh.Scale=Vector3.new(0.47,0.15,.97) | |
116 | Weld=Instance.new("Weld") | |
117 | Weld.Parent=Handle | |
118 | Weld.Part1=Weld.Parent | |
119 | Weld.Part0=GripTop | |
120 | Weld.C0=CFrame.new(0,-0.4,0) | |
121 | Blade1=Instance.new("Part") | |
122 | Blade1.BrickColor=Color | |
123 | Blade1.Size=Vector3.new(1,5,1) | |
124 | Blade1.Parent=Sword | |
125 | Blade1.Name="Blade1" | |
126 | Blade1.Reflectance=0.11 | |
127 | Mesh=Instance.new("BlockMesh") | |
128 | Mesh.Parent=Blade1 | |
129 | Mesh.Scale=Vector3.new(0.1,0.99,0.8) | |
130 | Weld=Instance.new("Weld") | |
131 | Weld.Parent=Handle | |
132 | Weld.Part1=Weld.Parent | |
133 | Weld.Part0=Blade1 | |
134 | Weld.C0=CFrame.new(0,-2.69,0) | |
135 | Pi=Blade1.Touched:connect(Hit) | |
136 | Blade2=Instance.new("Part") | |
137 | Blade2.BrickColor=Color | |
138 | Blade2.Size=Vector3.new(1,1,1) | |
139 | Blade2.Parent=Sword | |
140 | Blade2.Name="Blade2" | |
141 | Blade2.Reflectance=0.11 | |
142 | Mesh=Instance.new("SpecialMesh") | |
143 | Mesh.MeshType="Wedge" | |
144 | Mesh.Parent=Blade2 | |
145 | Mesh.Scale=Vector3.new(0.1,0.45,0.8) | |
146 | Weld=Instance.new("Weld") | |
147 | Weld.Parent=Handle | |
148 | Weld.Part1=Weld.Parent | |
149 | Weld.Part0=Blade2 | |
150 | Weld.C0=CFrame.new(0,-5.33,0) | |
151 | De1=Instance.new("Part") | |
152 | De1.BrickColor=Color2 | |
153 | De1.Size=Vector3.new(1,5,1) | |
154 | De1.Parent=Sword | |
155 | De1.Name="De1" | |
156 | De1.Reflectance=0.05 | |
157 | Mesh=Instance.new("SpecialMesh") | |
158 | Mesh.MeshType="Brick" | |
159 | Mesh.Parent=De1 | |
160 | Mesh.Scale=Vector3.new(0.11,0.65,0.15) | |
161 | Weld=Instance.new("Weld") | |
162 | Weld.Parent=Handle | |
163 | Weld.Part1=Weld.Parent | |
164 | Weld.Part0=De1 | |
165 | Weld.C0=CFrame.new(0,-1.75,0) | |
166 | end | |
167 | ||
168 | ||
169 | ||
170 | function Button(mouse) | |
171 | for i=0,0.6,0.05 do | |
172 | wait() | |
173 | local p=Blade1:Clone() | |
174 | p.Transparency=0.7 | |
175 | p.Reflectance=0 | |
176 | p.BrickColor=Color2 | |
177 | p.Anchored=true | |
178 | p.CanCollide=false | |
179 | p.Parent=workspace | |
180 | Delay(0.35,function() p:remove() end) | |
181 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/2) | |
182 | end | |
183 | wait() | |
184 | for i=0.95,0,-.05 do | |
185 | local p=Blade1:Clone() | |
186 | p.Transparency=0.7 | |
187 | p.Reflectance=0 | |
188 | p.BrickColor=Color2 | |
189 | p.Anchored=true | |
190 | p.CanCollide=false | |
191 | p.Parent=workspace | |
192 | Delay(0.35,function() p:remove() end) | |
193 | wait() | |
194 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2) | |
195 | end | |
196 | wait() | |
197 | for i=0,0.35,0.05 do | |
198 | wait() | |
199 | local p=Blade1:Clone() | |
200 | p.Transparency=0.7 | |
201 | p.Reflectance=0 | |
202 | p.BrickColor=Color2 | |
203 | p.Anchored=true | |
204 | p.CanCollide=false | |
205 | p.Parent=workspace | |
206 | Delay(0.35,function() p:remove() end) | |
207 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0) | |
208 | end | |
209 | w2.C0=Wr | |
210 | end | |
211 | ||
212 | function Sm(mouse) | |
213 | for i=0,0.2,0.05 do | |
214 | wait() | |
215 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
216 | end | |
217 | wait(0.5) | |
218 | local Blade2=Instance.new("Part") | |
219 | Blade2.BrickColor=Color2 | |
220 | Blade2.Size=Vector3.new(1,1,1) | |
221 | Blade2.Parent=Sword | |
222 | Blade2.Name="Blade2" | |
223 | Blade2.Reflectance=0 | |
224 | Blade2.Transparency=0.3 | |
225 | local Mesh=Instance.new("SpecialMesh") | |
226 | Mesh.MeshType="Sphere" | |
227 | Mesh.Parent=Blade2 | |
228 | Mesh.Scale=Vector3.new(0.1,0.08,0.1) | |
229 | local Weld=Instance.new("Weld") | |
230 | Weld.Parent=Handle | |
231 | Weld.Part1=Weld.Parent | |
232 | Weld.Part0=Blade2 | |
233 | Weld.C0=CFrame.new(0,-5.53,0) | |
234 | for i=1,20 do | |
235 | Mesh.Scale=Mesh.Scale+Vector3.new(0.1,0.08,0.1) | |
236 | Weld.C0=Weld.C0*CFrame.new(0,-0.005,-0.025) | |
237 | wait() | |
238 | end | |
239 | Delay(0,function() | |
240 | local b=Instance.new("Part") | |
241 | b.BrickColor=Color2 | |
242 | b.Reflectance=0 | |
243 | b.Transparency=1 | |
244 | b.Size=Vector3.new(2,2,2) | |
245 | b.Shape="Ball" | |
246 | b.CanCollide=false | |
247 | b.TopSurface="Smooth" | |
248 | b.Position=Blade2.Position | |
249 | b.BottomSurface="Smooth" | |
250 | b.Friction=0 | |
251 | local bo=Instance.new("BodyVelocity") | |
252 | bo.maxForce=Vector3.new(9999,9999,9999) | |
253 | bo.velocity=(mouse.Hit.p-Blade2.Position).unit*150 | |
254 | bo.Parent=b | |
255 | local co=b.Touched:connect(function(hit) | |
256 | if hit.Parent.Name~=Name and Bo.Parent then | |
257 | Hit(hit) | |
258 | Bo:remove() | |
259 | end | |
260 | end) | |
261 | b.Parent=Blade2 | |
262 | local Bo=b | |
263 | while b.Parent do | |
264 | if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then | |
265 | Hit(mouse.Target) | |
266 | Bo.Parent=nil | |
267 | else | |
268 | bo.velocity=(mouse.Hit.p-Bo.Position).unit*200 | |
269 | end | |
270 | wait() | |
271 | local b=Instance.new("Part") | |
272 | b.BrickColor=Color2 | |
273 | b.Reflectance=0 | |
274 | b.Transparency=0.2 | |
275 | b.Size=Vector3.new(2,2,2) | |
276 | b.CanCollide=false | |
277 | b.Anchored=true | |
278 | b.TopSurface="Smooth" | |
279 | b.Parent=Bo | |
280 | b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) | |
281 | b.BottomSurface="Smooth" | |
282 | b.Touched:connect(function(hit) | |
283 | if hit.Parent.Name~=Name then | |
284 | Hit(hit) | |
285 | end | |
286 | end) | |
287 | Delay(1.5,function() b:remove() end) | |
288 | end | |
289 | end) | |
290 | wait(2.25) | |
291 | Blade2:remove() | |
292 | for i=0.2,0,-.05 do | |
293 | wait() | |
294 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2) | |
295 | end | |
296 | w2.C0=Wr | |
297 | end | |
298 | ||
299 | function Final(mouse) | |
300 | for i=0,0.2,0.05 do | |
301 | wait() | |
302 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
303 | end | |
304 | wait(0.5) | |
305 | for i=1,7 do | |
306 | wait(0.55) | |
307 | local Laz=Instance.new("Part") | |
308 | Laz.Anchored=true | |
309 | Laz.BrickColor=Color2 | |
310 | Laz.Reflectance=0 | |
311 | Laz.Transparency=0.65 | |
312 | Laz.TopSurface="Smooth" | |
313 | Laz.BottomSurface="Smooth" | |
314 | Laz.CanCollide=false | |
315 | Laz.Size=Vector3.new(1,1,1) | |
316 | Laz.CFrame=Blade1.CFrame | |
317 | Laz.Parent=workspace | |
318 | local Me=Instance.new("SpecialMesh") | |
319 | Me.MeshType="Sphere" | |
320 | Me.Parent=Laz | |
321 | Delay(0,function() | |
322 | local Laz=Laz | |
323 | local Me=Me | |
324 | for i=1,7,0.5 do | |
325 | Me.Scale = Vector3.new(i/5,i,i/2) | |
326 | Laz.CFrame=Blade1.CFrame | |
327 | wait() | |
328 | end | |
329 | Laz:remove() | |
330 | end) | |
331 | end | |
332 | for i=0.6,0,-.05 do | |
333 | wait(0.075) | |
334 | local p=Blade1:Clone() | |
335 | p.Transparency=0.5 | |
336 | p.Reflectance=0 | |
337 | p.BrickColor=Color2 | |
338 | p.Anchored=true | |
339 | p.CanCollide=false | |
340 | p.Parent=workspace | |
341 | Delay(0.75,function() p:remove() end) | |
342 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2) | |
343 | end | |
344 | for i=1,0,-0.1 do | |
345 | game:GetService("Lighting").Ambient=Color3.new(i,i,i) | |
346 | game:GetService("Lighting").Brightness=i | |
347 | wait(0.05) | |
348 | end | |
349 | m=Instance.new("Message",workspace) | |
350 | m.Text="The End." | |
351 | for _,v in pairs(game.Players:children()) do | |
352 | if v.Name~=Name then | |
353 | Delay(0,function() Hit(v.Character.Torso) end) | |
354 | wait() | |
355 | end | |
356 | end | |
357 | wait(1) | |
358 | m:remove() | |
359 | for i=0,1,0.1 do | |
360 | game:GetService("Lighting").Ambient=Color3.new(i,i,i) | |
361 | game:GetService("Lighting").Brightness=i | |
362 | wait(0.05) | |
363 | end | |
364 | --Play with lighting,Make a message saying 'The end.' in workspace,massacure here.-- | |
365 | wait() | |
366 | for i=0,0.6,0.05 do | |
367 | wait() | |
368 | local p=Blade1:Clone() | |
369 | p.Transparency=0.5 | |
370 | p.Reflectance=0 | |
371 | p.BrickColor=Color2 | |
372 | p.Anchored=true | |
373 | p.CanCollide=false | |
374 | p.Parent=workspace | |
375 | Delay(0.75,function() p:remove() end) | |
376 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
377 | end | |
378 | w2.C0=Wr | |
379 | end | |
380 | ||
381 | ||
382 | ||
383 | function Bl(mouse) | |
384 | pcall(function() Pi:disconnect() end) | |
385 | for i=0,0.4,0.05 do | |
386 | wait() | |
387 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
388 | end | |
389 | wait(0.75) | |
390 | for i=0.95,0,-.05 do | |
391 | wait() | |
392 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/2) | |
393 | end | |
394 | function Check(d) | |
395 | for _,v in pairs(game.Players:children()) do | |
396 | if (v.Character.Torso.Position-Tor.Position).magnitude<d then | |
397 | Delay(0,function() Hit(v.Character.Torso) end) | |
398 | end | |
399 | end | |
400 | end | |
401 | Tor=Instance.new("Part") | |
402 | Tor.Size=Vector3.new(1,1,1) | |
403 | Tor.BrickColor=BrickColor:Black() | |
404 | Tor.Reflectance=0 | |
405 | Tor.Anchored=true | |
406 | Tor.Transparency=0.65 | |
407 | Tor.CanCollide=false | |
408 | Tor.Parent=workspace | |
409 | Tor.TopSurface="Weld" | |
410 | Star=Tor | |
411 | Mesh=Instance.new("CylinderMesh") | |
412 | Mesh.Parent=Tor | |
413 | Mesh.Scale=Vector3.new(3,1.2,3) | |
414 | Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z) | |
415 | Delay(0.1,function() | |
416 | for i=1,20*5 do | |
417 | wait() | |
418 | Mesh.Scale=Mesh.Scale+Vector3.new(0.5,0,0.5) | |
419 | Dist=Mesh.Scale.x/2 | |
420 | Check(Dist) | |
421 | end | |
422 | Tor:remove() | |
423 | end) | |
424 | wait() | |
425 | for i=0,0.25,0.05 do | |
426 | wait() | |
427 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0) | |
428 | end | |
429 | w2.C0=Wr | |
430 | Pi=Blade1.Touched:connect(Hit) | |
431 | end | |
432 | ||
433 | function Button2(mouse) | |
434 | pcall(function() Pi:disconnect() end) | |
435 | local Tu=Blade1.Touched:connect(function(h) | |
436 | if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then | |
437 | h.Parent.Humanoid:TakeDamage(35) | |
438 | local shockRing = Instance.new("Part") | |
439 | shockRing.formFactor = 2 | |
440 | shockRing.Size = Vector3.new(1, 0.4, 1) | |
441 | shockRing.Anchored = true | |
442 | shockRing.Locked = true | |
443 | shockRing.CanCollide = false | |
444 | shockRing.TopSurface = 0 | |
445 | shockRing.BrickColor=BrickColor:Black() | |
446 | shockRing.BottomSurface = 0 | |
447 | shockRing.Transparency = 1 | |
448 | local decal = Instance.new("Decal") | |
449 | decal.Face = 1 | |
450 | decal.Texture = "http://www.roblox.com/asset/?id=5971534" | |
451 | decal.Parent = shockRing | |
452 | local bottomDecal = decal:Clone() | |
453 | bottomDecal.Face = 4 | |
454 | bottomDecal.Parent = shockRing | |
455 | for i=1,2 do | |
456 | wait(0.15) | |
457 | Delay(0,function() | |
458 | local shockRng=shockRing:clone() | |
459 | shockRng.Parent=char | |
460 | shockRng.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random()) | |
461 | for i=1,16 do | |
462 | wait() | |
463 | shockRng.Size=Vector3.new(i,0.4,i) | |
464 | shockRng.CFrame=char.Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random()) | |
465 | end | |
466 | shockRng:remove() | |
467 | end) | |
468 | end | |
469 | end | |
470 | end) | |
471 | for i=1,3 do | |
472 | for i=0,0.4,0.05 do | |
473 | wait() | |
474 | w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1) | |
475 | end | |
476 | wait() | |
477 | for i=0.7,0,-.05 do | |
478 | wait() | |
479 | w2.C0=w2.C0*CFrame.new(0,0.1/2,-.1/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.05/1.1) | |
480 | end | |
481 | wait() | |
482 | for i=0,0.4,0.05 do | |
483 | wait() | |
484 | w2.C0=w2.C0*CFrame.new(0,-0.1/2,.1/2)*CFrame.Angles(math.rad((-88/5)/2),0.1/2,0.05/1.1) | |
485 | end | |
486 | wait() | |
487 | w2.C0=Wr | |
488 | end | |
489 | Tu:disconnect() | |
490 | Pi=Blade1.Touched:connect(Hit) | |
491 | end | |
492 | ||
493 | function Gate(mouse) | |
494 | for i=0,0.2,0.05 do | |
495 | wait() | |
496 | local p=Blade1:Clone() | |
497 | p.Transparency=0.5 | |
498 | p.Reflectance=0 | |
499 | p.BrickColor=Color2 | |
500 | p.Anchored=true | |
501 | p.CanCollide=false | |
502 | p.Parent=workspace | |
503 | Delay(0.75,function() p:remove() end) | |
504 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
505 | end | |
506 | wait() | |
507 | local b=Instance.new("BodyPosition") | |
508 | b.position=char.Torso.Position+Vector3.new(0,30,0) | |
509 | b.maxForce=Vector3.new(200,999999999,200) | |
510 | b.Parent=char.Torso | |
511 | wait(0.75) | |
512 | for i=0.6,0,-.05 do | |
513 | wait(0.05) | |
514 | local p=Blade1:Clone() | |
515 | p.Transparency=0.5 | |
516 | p.Reflectance=0 | |
517 | p.BrickColor=Color2 | |
518 | p.Anchored=true | |
519 | p.CanCollide=false | |
520 | p.Parent=workspace | |
521 | Delay(0.75,function() p:remove() end) | |
522 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((108/5)/2),-.1/2,-0.05/2) | |
523 | end | |
524 | b:remove() | |
525 | function Check(d) | |
526 | for _,v in pairs(game.Players:children()) do | |
527 | if v.Name~=Name and (v.Character.Torso.Position-Star.Position).magnitude<d then | |
528 | v.Character.Humanoid:TakeDamage(5) | |
529 | v.Character.Humanoid.PlatformStand=true | |
530 | v.Character.Torso.Velocity=(v.Character.Torso.Position-Star.Position).unit*120 | |
531 | end | |
532 | end | |
533 | end | |
534 | wait(0.5) | |
535 | Tor=Instance.new("Part") | |
536 | Tor.Size=Vector3.new(1,1,1) | |
537 | Tor.BrickColor=BrickColor:Black() | |
538 | Tor.Reflectance=0 | |
539 | Tor.Anchored=true | |
540 | Tor.Transparency=1 | |
541 | Tor.CanCollide=false | |
542 | Tor.Parent=workspace | |
543 | Tor.TopSurface="Weld" | |
544 | Star=Tor | |
545 | Mesh=Instance.new("CylinderMesh") | |
546 | Mesh.Parent=Tor | |
547 | Mesh.Scale=Vector3.new(3,1.2,3) | |
548 | Tor.CFrame=CFrame.new(char.Torso.Position.x,workspace.Base.Position.y,char.Torso.Position.z) | |
549 | Delay(0.1,function() | |
550 | for i=1,40 do | |
551 | wait() | |
552 | Mesh.Scale=Mesh.Scale+Vector3.new(1,0,1) | |
553 | Star.Transparency=i/50 | |
554 | Dist=Mesh.Scale.x/2 | |
555 | Check(Dist) | |
556 | end | |
557 | Tor:remove() | |
558 | end) | |
559 | w2.C0=Wr | |
560 | end | |
561 | ||
562 | function Rush(mouse) | |
563 | if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then | |
564 | person=mouse.Target.Parent | |
565 | --person.Torso.Anchored=true | |
566 | Pi:disconnect() | |
567 | for i=0.2,0,-.05 do | |
568 | wait(0.05) | |
569 | local p=Blade1:Clone() | |
570 | p.Transparency=0.3 | |
571 | p.Reflectance=0 | |
572 | p.BrickColor=Color2 | |
573 | p.Anchored=true | |
574 | p.CanCollide=false | |
575 | p.Parent=workspace | |
576 | Delay(0.25,function() p:remove() end) | |
577 | w2.C0=w2.C0*CFrame.new(0,0.1/2-i/26,-.15/2)*CFrame.Angles(math.rad((88/5)/2),-.1/2,-0.02/2) | |
578 | end | |
579 | char.Torso.CFrame=person.Torso.CFrame*CFrame.new(0,0,2) | |
580 | wait() | |
581 | Joi=Instance.new("Weld") | |
582 | Joi.Parent=Blade1 | |
583 | Joi.Part1=Joi.Parent | |
584 | Joi.Part0=person.Head | |
585 | Joi.C0=Joi.C0*CFrame.Angles(0,math.rad(45),0) | |
586 | wait(0.75) | |
587 | for i=0,0.2,0.05 do | |
588 | wait() | |
589 | local p=Blade1:Clone() | |
590 | p.Transparency=0.3 | |
591 | p.Reflectance=0 | |
592 | p.BrickColor=Color2 | |
593 | p.Anchored=true | |
594 | p.CanCollide=false | |
595 | p.Parent=workspace | |
596 | Delay(0.25,function() p:remove() end) | |
597 | w2.C0=w2.C0*CFrame.new(0,-0.1/2+i/16,.15/2)*CFrame.Angles(math.rad((-88/5)/2),0.2/2,0.05/2) | |
598 | end | |
599 | w2.C0=Wr | |
600 | person:BreakJoints() | |
601 | Joi:remove() | |
602 | Pi=Blade1.Touched:connect(function(h) Hit(h) end) | |
603 | end | |
604 | end | |
605 | ||
606 | function Tele(mouse) | |
607 | local mouset=mouse.Target | |
608 | local mouseh=mouse.Hit | |
609 | if mouset then | |
610 | local Laz=Instance.new("Part") | |
611 | Laz.Anchored=false | |
612 | Laz.BrickColor=BrickColor:Black() | |
613 | Laz.Reflectance=0 | |
614 | Laz.Transparency=1 | |
615 | Laz.Shape="Ball" | |
616 | Laz.TopSurface="Smooth" | |
617 | Laz.BottomSurface="Smooth" | |
618 | Laz.CanCollide=false | |
619 | Laz.Size=Vector3.new(1,1,1) | |
620 | Laz.CFrame=char.Torso.CFrame | |
621 | Laz.Parent=char.Torso | |
622 | Laz.Transparency=1 | |
623 | w = Instance.new("Weld") | |
624 | w.Parent = Laz | |
625 | w.Part0 = w.Parent | |
626 | w.Part1 = char.Torso | |
627 | w.C0 = CFrame.new(0,0,0) | |
628 | local Me=Instance.new("SpecialMesh") | |
629 | Me.MeshType="Sphere" | |
630 | Me.Scale=Vector3.new(15,15,15) | |
631 | Me.Parent=Laz | |
632 | for i=1,20 do | |
633 | Me.Scale=Me.Scale+Vector3.new(-0.5,-0.5,-0.5) | |
634 | Laz.Transparency=Laz.Transparency-1/20 | |
635 | wait() | |
636 | end | |
637 | char.Torso.CFrame=mouseh*CFrame.new(0,5,0) | |
638 | for i=1,20 do | |
639 | Me.Scale=Me.Scale+Vector3.new(0.5,0.5,0.5) | |
640 | Laz.Transparency=i/20 | |
641 | wait() | |
642 | end | |
643 | Laz:remove() | |
644 | end | |
645 | end | |
646 | ||
647 | fire={Button2,Bl,Sm,Final,Gate,Rush,Tele} | |
648 | name={"Trislash","Oblivion","Smite","The end","Hell's Gate","Rush","Teleport"} | |
649 | klick={"z","x","c","m","v","b","n"} | |
650 | ||
651 | function Kay(ke) | |
652 | for _,v in pairs(klick) do | |
653 | if v==ke then | |
654 | return _ | |
655 | end | |
656 | end | |
657 | return false | |
658 | end | |
659 | ||
660 | f=Sword.Selected:connect(function(mouse) | |
661 | pcall(function() script.Sour.Value=[[print("Hello,World!")]] end) --Nothing to see here. | |
662 | if d==0 and char.Torso:findFirstChild("Right Shoulder")~=nil then | |
663 | d=1 | |
664 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
665 | De=0 | |
666 | f:disconnect() | |
667 | pcall(function() game["LocalBackpack"]:children()[1]:remove() end) | |
668 | Debou=true | |
669 | Numb=Instance.new("NumberValue") | |
670 | Numb.Value=0 | |
671 | Numb.Parent=Sword | |
672 | Numb.Changed:connect(function() | |
673 | if Debou then | |
674 | Debou=false | |
675 | wait(0.2) | |
676 | ghk:disconnect() | |
677 | if Numb.Value>1 then | |
678 | Numb.Value=0 | |
679 | Button2() | |
680 | else Numb.Value=0 | |
681 | Button() | |
682 | end | |
683 | ghk=mouse.Button1Down:connect(function() | |
684 | Delay(0,function() | |
685 | if Debounce then | |
686 | Debounce=false | |
687 | Numb.Value=Numb.Value+1 | |
688 | wait() | |
689 | Debounce=true | |
690 | end | |
691 | end) | |
692 | end) | |
693 | Debou=true | |
694 | end | |
695 | end) | |
696 | ||
697 | Arms[2].Parent=nil | |
698 | w2 = Instance.new("Weld") | |
699 | w2.Name="Right Shouldr" | |
700 | w2.Parent = char.Torso | |
701 | w2.Part0 = char["Right Arm"] | |
702 | w2.Part1 = w2.Parent | |
703 | makeSword() | |
704 | ---Animation Start--- | |
705 | for i=0,1,0.05 do | |
706 | wait() | |
707 | w2.C0 = CFrame.new(-1.2+(i*0.05)/10,-0.1-i*0.05,.5-i/1.3)*CFrame.Angles(math.rad(73*-i),math.rad(-i*45),math.rad(-i*20)) | |
708 | end | |
709 | ----Animation End---- | |
710 | Wr=w2.C0 | |
711 | wait() | |
712 | ghk=mouse.Button1Down:connect(function() | |
713 | Delay(0,function() | |
714 | if Debounce then | |
715 | Debounce=false | |
716 | Numb.Value=Numb.Value+1 | |
717 | wait() | |
718 | Debounce=true | |
719 | end | |
720 | end) | |
721 | end) | |
722 | mouse.KeyDown:connect(function(key) | |
723 | if Kay(tostring(key))~=false then | |
724 | hint(tostring(name[Kay(tostring(key))]).."!",2) | |
725 | wait() | |
726 | fire[Kay(tostring(key))](mouse) | |
727 | end | |
728 | end) | |
729 | end | |
730 | end) | |
731 | ||
732 | ||
733 | local cr=Instance.new("ObjectValue") | |
734 | cr.Value=player | |
735 | cr.Name="creator" | |
736 | ||
737 | function Hit(h) | |
738 | if h.Parent~=nil and h.Parent.Name~=Name and h.Parent:findFirstChild("Humanoid")~=nil and h.Parent.Humanoid.Health>0 then | |
739 | pcall(function() cr:clone().Parent=h.Parent.Humanoid h.Parent.Shirt:remove() h.Parent.Pants:remove() end) | |
740 | for _,v in pairs(h.Parent:children()) do | |
741 | if v:IsA("Part") then | |
742 | wait() | |
743 | b=Instance.new("BodyVelocity") | |
744 | b.Parent=v | |
745 | v:BreakJoints() | |
746 | b.velocity=(v.Position-Vector3.new(math.random(-100,100),v.Position.y,math.random(-100,100))).unit*50 | |
747 | end | |
748 | end | |
749 | wait() | |
750 | pcall(function() h.Parent.Humanoid.creator:remove() end) | |
751 | for i=1,17 do | |
752 | wait() | |
753 | for _,v in pairs(h.Parent:children()) do | |
754 | if v:IsA("Part") then | |
755 | v.BrickColor=BrickColor:Black() | |
756 | v:BreakJoints() | |
757 | v.Reflectance=0 | |
758 | wait() | |
759 | v.Reflectance=0.7 | |
760 | end | |
761 | end | |
762 | end | |
763 | end | |
764 | end | |
765 | --Mediafire |