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