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