SHOW:
|
|
- or go back to the newest paste.
1 | --Epic Blades Gifted by machontz, Regular Script! | |
2 | ||
3 | if script.Parent.className ~= "HopperBin" then | |
4 | h = Instance.new("HopperBin") | |
5 | - | local admin = game.Players.TheMoonlightGlows |
5 | + | local admin = game.Players.TheProNoob2004 |
6 | h.Name = "Epic Blades" | |
7 | script.Parent = h | |
8 | h.Parent = admin.Backpack | |
9 | end | |
10 | ||
11 | ||
12 | bin = script.Parent | |
13 | player = bin.Parent.Parent.Character | |
14 | rarm = player["Right Arm"] | |
15 | larm = player["Left Arm"] | |
16 | visible = true | |
17 | --for i, v in pairs(game.Players:GetChildren()) do | |
18 | --bin:Clone().Parent = v.Backpack | |
19 | --end | |
20 | on = 1 | |
21 | ||
22 | ||
23 | local glideg = Instance.new("BodyGyro") | |
24 | local glidev = Instance.new("BodyVelocity") | |
25 | ||
26 | ||
27 | function shadow(rblade,lblade) | |
28 | while on == 1 do | |
29 | wait(.1) | |
30 | if visible then | |
31 | local a = rblade:clone() | |
32 | local b = lblade:clone() | |
33 | a.Anchored = true | |
34 | a.Parent = player | |
35 | a.CFrame = rblade.CFrame | |
36 | a.CanCollide = false | |
37 | a.Transparency = .2 | |
38 | b.Anchored = true | |
39 | b.Parent = player | |
40 | b.CFrame = lblade.CFrame | |
41 | b.CanCollide = false | |
42 | b.Transparency = .2 | |
43 | coroutine.resume(coroutine.create(function() dissapate(a,b) end)) | |
44 | end | |
45 | end | |
46 | end | |
47 | ||
48 | ||
49 | function stun(blast) | |
50 | for x = 1,15 do | |
51 | wait(1) | |
52 | local sap = game.Players:GetChildren() | |
53 | for i = 1,#sap do | |
54 | wait() | |
55 | if (sap.Character.Torso.Position - Workspace.keel.Position).magnitude < 20 then | |
56 | sap.Character.Humanoid.Sit = true | |
57 | end | |
58 | end | |
59 | end | |
60 | end | |
61 | ||
62 | ||
63 | function dissapate(a,b) | |
64 | for i = 1,8 do | |
65 | wait() | |
66 | a.Transparency = a.Transparency +.1 | |
67 | b.Transparency = b.Transparency +.1 | |
68 | end | |
69 | a:remove() | |
70 | b:remove() | |
71 | end | |
72 | ||
73 | ||
74 | bin.Selected:connect(function(mouse) | |
75 | on = 1 | |
76 | if player.Torso:findFirstChild("Right Shoulder") ~= nil then | |
77 | rs = player.Torso["Right Shoulder"] | |
78 | rs.Part1 = nil | |
79 | end | |
80 | if player.Torso:findFirstChild("Left Shoulder") ~= nil then | |
81 | ls = player.Torso["Left Shoulder"] | |
82 | ls.Part1 = nil | |
83 | end | |
84 | if player:FindFirstChild("check") == nil then | |
85 | rns = Instance.new("Weld") | |
86 | rns.Parent = player.Torso | |
87 | rns.Part0 = rns.Parent | |
88 | rns.Part1 = player["Right Arm"] | |
89 | rns.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
90 | lns = Instance.new("Weld") | |
91 | lns.Parent = player.Torso | |
92 | lns.Part0 = lns.Parent | |
93 | lns.Part1 = player["Left Arm"] | |
94 | lns.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
95 | rblade = Instance.new("Part") | |
96 | rblade.BrickColor = BrickColor.new("Institutional white") | |
97 | rblade.Name ="check" | |
98 | rblade.Parent = player | |
99 | rblade.CanCollide = false | |
100 | rblade.Size = Vector3.new(1,3,1) | |
101 | rblade.formFactor = "Symmetric" | |
102 | rblade.TopSurface = 0 | |
103 | rblade.BottomSurface = 0 | |
104 | rbm = Instance.new("BlockMesh") | |
105 | rbm.Parent = rblade | |
106 | rbm.Scale = Vector3.new(.1,1,.3) | |
107 | rbw = Instance.new("Weld") | |
108 | rbw.Parent = rarm | |
109 | rbw.Part0 = rarm | |
110 | rbw.Part1 = rblade | |
111 | rbw.C1 = CFrame.new(0,1,0) | |
112 | lblade = Instance.new("Part") | |
113 | lblade.BrickColor = rblade.BrickColor | |
114 | lblade.Name = "checkb" | |
115 | lblade.Parent = player | |
116 | lblade.CanCollide = false | |
117 | lblade.Size = Vector3.new(1,3,1) | |
118 | lblade.formFactor = "Symmetric" | |
119 | lblade.TopSurface = 0 | |
120 | lblade.BottomSurface = 0 | |
121 | lbm = Instance.new("BlockMesh") | |
122 | lbm.Parent = lblade | |
123 | lbm.Scale = Vector3.new(.1,1,.3) | |
124 | lbw = Instance.new("Weld") | |
125 | lbw.Parent = larm | |
126 | lbw.Part0 = larm | |
127 | lbw.Part1 = lblade | |
128 | lbw.C1 = CFrame.new(0,1,0) | |
129 | coroutine.resume(coroutine.create(function() shadow(rblade, lblade) end)) | |
130 | end | |
131 | rblade.Touched:connect(function(hit) | |
132 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
133 | if hit.Parent.Name ~= player.Name then | |
134 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
135 | hit.Parent.Humanoid.MaxHealth = 100 | |
136 | end | |
137 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7) | |
138 | for i = 1, (math.random(1,3)) do | |
139 | wait() | |
140 | local bleed = Instance.new("Part") | |
141 | bleed.formFactor = "Symmetric" | |
142 | bleed.Size = Vector3.new(1,1,1) | |
143 | bleed.BrickColor = BrickColor.new("Bright red") | |
144 | bleed.TopSurface = 0 | |
145 | bleed.BottomSurface = 0 | |
146 | bleed.Reflectance = .1 | |
147 | bleed.Transparency = .4 | |
148 | bleed.Parent = Workspace | |
149 | bleed.Position = rblade.Position | |
150 | local bleedm = Instance.new("SpecialMesh") | |
151 | bleedm.MeshType = "Sphere" | |
152 | bleedm.Scale = Vector3.new(.2,.2,.2) | |
153 | bleedm.Parent = bleed | |
154 | game:GetService("Debris"):AddItem(bleed, 5) | |
155 | end | |
156 | end | |
157 | end | |
158 | end) | |
159 | ||
160 | ||
161 | lblade.Touched:connect(function(hit) | |
162 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
163 | if hit.Parent.Name ~= player.Name then | |
164 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
165 | hit.Parent.Humanoid.MaxHealth = 100 | |
166 | end | |
167 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(3,7) | |
168 | for i = 1, (math.random(1,3)) do | |
169 | wait() | |
170 | local bleed = Instance.new("Part") | |
171 | bleed.formFactor = "Symmetric" | |
172 | bleed.Size = Vector3.new(1,1,1) | |
173 | bleed.BrickColor = BrickColor.new("Bright red") | |
174 | bleed.TopSurface = 0 | |
175 | bleed.BottomSurface = 0 | |
176 | bleed.Reflectance = .1 | |
177 | bleed.Transparency = .4 | |
178 | bleed.Parent = Workspace | |
179 | bleed.Position = lblade.Position | |
180 | local bleedm = Instance.new("SpecialMesh") | |
181 | bleedm.MeshType = "Sphere" | |
182 | bleedm.Scale = Vector3.new(.2,.2,.2) | |
183 | bleedm.Parent = bleed | |
184 | game:GetService("Debris"):AddItem(bleed, 5) | |
185 | end | |
186 | end | |
187 | end | |
188 | end) | |
189 | ----end of blades | |
190 | right = rns | |
191 | left = lns | |
192 | mouse.KeyDown:connect(function(key) | |
193 | key = key:lower() | |
194 | print(key) | |
195 | if key == "z" and rblade.Transparency <= 0 then | |
196 | for i = 1,50 do | |
197 | wait() | |
198 | rblade.Transparency = rblade.Transparency + .02 | |
199 | lblade.Transparency = lblade.Transparency + .02 | |
200 | end | |
201 | rblade.Transparency = 1 | |
202 | lblade.Transparency = 1 | |
203 | visible = false | |
204 | elseif key == "x" and rblade.Transparency > 0 then | |
205 | visible = true | |
206 | for i = 1,50 do | |
207 | wait() | |
208 | rblade.Transparency = rblade.Transparency - .02 | |
209 | lblade.Transparency = lblade.Transparency - .02 | |
210 | end | |
211 | rblade.Transparency = 0 | |
212 | lblade.Transparency = 0 | |
213 | elseif key == "c" then | |
214 | wait() | |
215 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
216 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
217 | end | |
218 | if key == "e" then | |
219 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
220 | wait() | |
221 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
222 | wait() | |
223 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
224 | wait() | |
225 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
226 | wait() | |
227 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
228 | wait() | |
229 | right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
230 | wait(.5) | |
231 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
232 | wait() | |
233 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
234 | wait() | |
235 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
236 | wait() | |
237 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
238 | wait() | |
239 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
240 | elseif key == "q" then | |
241 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
242 | wait() | |
243 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
244 | wait() | |
245 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
246 | wait() | |
247 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
248 | wait() | |
249 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
250 | wait() | |
251 | left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
252 | wait(.5) | |
253 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
254 | wait() | |
255 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
256 | wait() | |
257 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
258 | wait() | |
259 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
260 | wait() | |
261 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
262 | elseif key == "r" then | |
263 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
264 | wait() | |
265 | left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.3)) | |
266 | wait() | |
267 | left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.35)) | |
268 | wait() | |
269 | left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.4)) | |
270 | wait() | |
271 | left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.45)) | |
272 | wait() | |
273 | left.C1 = CFrame.new(0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*.5)) | |
274 | wait(.2) | |
275 | left.C1 = CFrame.new(0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.5)) | |
276 | wait() | |
277 | left.C1 = CFrame.new(0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.5)) | |
278 | wait() | |
279 | left.C1 = CFrame.new(0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.5)) | |
280 | wait() | |
281 | left.C1 = CFrame.new(0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.5)) | |
282 | wait() | |
283 | left.C1 = CFrame.new(0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*.5)) | |
284 | wait(.1) | |
285 | left.C1 = CFrame.new(1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*.45)) | |
286 | wait() | |
287 | left.C1 = CFrame.new(1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*.4)) | |
288 | wait() | |
289 | left.C1 = CFrame.new(1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*.35)) | |
290 | wait() | |
291 | left.C1 = CFrame.new(1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*.3)) | |
292 | wait() | |
293 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
294 | elseif key == "t" then | |
295 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
296 | wait() | |
297 | right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.3)) | |
298 | wait() | |
299 | right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.35)) | |
300 | wait() | |
301 | right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.4)) | |
302 | wait() | |
303 | right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.45)) | |
304 | wait() | |
305 | right.C1 = CFrame.new(-0.9,1.5,0)*CFrame.Angles((math.pi*0),(math.pi*0),(math.pi*-.5)) | |
306 | wait(.2) | |
307 | right.C1 = CFrame.new(-0.9,1.5,-0.15)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.5)) | |
308 | wait() | |
309 | right.C1 = CFrame.new(-0.9,1.5,-0.30)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.5)) | |
310 | wait() | |
311 | right.C1 = CFrame.new(-0.9,1.5,-0.45)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.5)) | |
312 | wait() | |
313 | right.C1 = CFrame.new(-0.9,1.5,-0.60)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.5)) | |
314 | wait() | |
315 | right.C1 = CFrame.new(-0.9,1.5,-0.75)*CFrame.Angles((math.pi*-.75),(math.pi*0),(math.pi*-.5)) | |
316 | wait(.1) | |
317 | right.C1 = CFrame.new(-1.03,1.28,0)*CFrame.Angles((math.pi*-.60),(math.pi*0),(math.pi*-.45)) | |
318 | wait() | |
319 | right.C1 = CFrame.new(-1.16,1.06,0)*CFrame.Angles((math.pi*-.45),(math.pi*0),(math.pi*-.4)) | |
320 | wait() | |
321 | right.C1 = CFrame.new(-1.29,0.84,0)*CFrame.Angles((math.pi*-.30),(math.pi*0),(math.pi*-.35)) | |
322 | wait() | |
323 | right.C1 = CFrame.new(-1.42,0.62,0)*CFrame.Angles((math.pi*-.15),(math.pi*0),(math.pi*-.3)) | |
324 | wait() | |
325 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
326 | end | |
327 | --abilities | |
328 | if key == "b" then | |
329 | local a = player:GetChildren() | |
330 | for i = 1,#a do | |
331 | wait() | |
332 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
333 | for x = 1, 5 do | |
334 | wait() | |
335 | a.Transparency = a.Transparency +.2 | |
336 | end | |
337 | elseif a.className == "Hat" then | |
338 | for x = 1, 5 do | |
339 | wait() | |
340 | a.Handle.Transparency = a.Handle.Transparency +.2 | |
341 | end | |
342 | end | |
343 | end | |
344 | player.Torso.CFrame = mouse.Hit + Vector3.new(0,4,0) | |
345 | wait() | |
346 | for i = 1,#a do | |
347 | wait() | |
348 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
349 | for x = 1, 5 do | |
350 | wait() | |
351 | a.Transparency = a.Transparency -.2 | |
352 | end | |
353 | elseif a.className == "Hat" then | |
354 | for x = 1, 5 do | |
355 | wait() | |
356 | a.Handle.Transparency = a.Handle.Transparency -.2 | |
357 | end | |
358 | end | |
359 | end | |
360 | for i = 1,#a do | |
361 | wait() | |
362 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
363 | wait() | |
364 | a.Transparency = 0 | |
365 | elseif a.className == "Hat" then | |
366 | wait() | |
367 | a.Handle.Transparency = 0 | |
368 | end | |
369 | end | |
370 | end | |
371 | if key == "v" then | |
372 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
373 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
374 | wait() | |
375 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
376 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
377 | wait() | |
378 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
379 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
380 | wait() | |
381 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
382 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
383 | wait() | |
384 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
385 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
386 | wait() | |
387 | right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
388 | left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
389 | wait(.2) | |
390 | wait(.45) | |
391 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
392 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
393 | wait() | |
394 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
395 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
396 | wait() | |
397 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
398 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
399 | wait() | |
400 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
401 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
402 | wait() | |
403 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
404 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
405 | end | |
406 | if key == "f" then | |
407 | local tar = mouse.Target | |
408 | if tar.Parent:findFirstChild("Humanoid") ~= nil then | |
409 | local float = Instance.new("BodyPosition") | |
410 | float.Parent = tar.Parent.Torso | |
411 | float.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
412 | float.position = tar.Parent.Torso.Position + Vector3.new(0,10,0) | |
413 | wait(1) | |
414 | player.Humanoid.MaxHealth = 99999 | |
415 | player.Humanoid.Health = 99999 | |
416 | local floatme = Instance.new("BodyPosition") | |
417 | floatme.Parent = player.Torso | |
418 | floatme.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
419 | floatme.position = tar.Parent.Torso.Position | |
420 | wait(1) | |
421 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
422 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
423 | wait() | |
424 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
425 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
426 | wait() | |
427 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
428 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
429 | wait() | |
430 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
431 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
432 | wait() | |
433 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
434 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
435 | wait() | |
436 | right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
437 | left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
438 | wait() | |
439 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
440 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
441 | wait() | |
442 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
443 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
444 | wait() | |
445 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
446 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
447 | wait() | |
448 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
449 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
450 | wait() | |
451 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
452 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
453 | wait() | |
454 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
455 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
456 | wait() | |
457 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
458 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
459 | wait() | |
460 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
461 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
462 | wait() | |
463 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
464 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
465 | wait() | |
466 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
467 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
468 | wait() | |
469 | right.C1 = CFrame.new(-1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
470 | left.C1 = CFrame.new(1.35,.5,-.25)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
471 | wait() | |
472 | right.C1 = CFrame.new(-1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.2)) | |
473 | left.C1 = CFrame.new(1.39,.4,-.2)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.2)) | |
474 | wait() | |
475 | right.C1 = CFrame.new(-1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.15)) | |
476 | left.C1 = CFrame.new(1.43,.3,-.15)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.15)) | |
477 | wait() | |
478 | right.C1 = CFrame.new(-1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.1)) | |
479 | left.C1 = CFrame.new(1.47,.2,-.1)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.1)) | |
480 | wait() | |
481 | right.C1 = CFrame.new(-1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.05)) | |
482 | left.C1 = CFrame.new(1.51,.1,-.05)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.05)) | |
483 | wait() | |
484 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
485 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
486 | wait(.5) | |
487 | player.Humanoid.MaxHealth = 100 | |
488 | player.Humanoid.Health = 100 | |
489 | float:remove() | |
490 | floatme:remove() | |
491 | end | |
492 | end | |
493 | if key == "g" then | |
494 | -- | |
495 | rblade2 = Instance.new("Part") | |
496 | rblade2.BrickColor = BrickColor.new("Really black") | |
497 | rblade2.Parent = player | |
498 | rblade2.CanCollide = false | |
499 | rblade2.Size = Vector3.new(1,6,1) | |
500 | rblade2.CFrame = rblade.CFrame | |
501 | rblade2.formFactor = "Symmetric" | |
502 | rblade2.TopSurface = 0 | |
503 | rblade2.BottomSurface = 0 | |
504 | rblade2.Reflectance = .5 | |
505 | rbm2 = Instance.new("BlockMesh") | |
506 | rbm2.Parent = rblade2 | |
507 | rbm2.Scale = Vector3.new(.21,1,.31) | |
508 | rbw2 = Instance.new("Weld") | |
509 | rbw2.Parent = rblade | |
510 | rbw2.Part0 = rblade | |
511 | rbw2.Part1 = rblade2 | |
512 | lblade2 = Instance.new("Part") | |
513 | lblade2.BrickColor = rblade.BrickColor | |
514 | lblade2.Parent = player | |
515 | lblade2.CanCollide = false | |
516 | lblade2.Size = Vector3.new(1,6,1) | |
517 | lblade2.CFrame = lblade.CFrame | |
518 | lblade2.formFactor = "Symmetric" | |
519 | lblade2.TopSurface = 0 | |
520 | lblade2.BottomSurface = 0 | |
521 | lblade2.Reflectance = .5 | |
522 | lbm2 = Instance.new("BlockMesh") | |
523 | lbm2.Parent = lblade2 | |
524 | lbm2.Scale = Vector3.new(.21,1,.31) | |
525 | lbw2 = Instance.new("Weld") | |
526 | lbw2.Parent = lblade | |
527 | lbw2.Part0 = lblade | |
528 | lbw2.Part1 = lblade2 | |
529 | rblade.Touched:connect(function(hit) | |
530 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
531 | if hit.Parent.Name ~= player.Name then | |
532 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
533 | end | |
534 | end | |
535 | end) | |
536 | lblade.Touched:connect(function(hit) | |
537 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
538 | if hit.Parent.Name ~= player.Name then | |
539 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
540 | end | |
541 | end | |
542 | end) | |
543 | -- | |
544 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25)) | |
545 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25)) | |
546 | wait() | |
547 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) | |
548 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) | |
549 | wait() | |
550 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) | |
551 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) | |
552 | wait() | |
553 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) | |
554 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) | |
555 | wait() | |
556 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) | |
557 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) | |
558 | wait() | |
559 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
560 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
561 | wait() | |
562 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) | |
563 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) | |
564 | wait() | |
565 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) | |
566 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) | |
567 | wait() | |
568 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) | |
569 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) | |
570 | wait() | |
571 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) | |
572 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) | |
573 | wait() | |
574 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
575 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
576 | lblade2:remove() | |
577 | rblade2:remove() | |
578 | end | |
579 | if key == "h" then | |
580 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
581 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
582 | wait() | |
583 | right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) | |
584 | left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) | |
585 | wait() | |
586 | right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) | |
587 | left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) | |
588 | wait() | |
589 | right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) | |
590 | left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) | |
591 | wait() | |
592 | right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) | |
593 | left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) | |
594 | wait() | |
595 | right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) | |
596 | left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) | |
597 | wait() | |
598 | right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00)) | |
599 | left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00)) | |
600 | wait() | |
601 | -- | |
602 | rblade2 = Instance.new("Part") | |
603 | rblade2.BrickColor = BrickColor.new("Really black") | |
604 | rblade2.Parent = player | |
605 | rblade2.CanCollide = false | |
606 | rblade2.Size = Vector3.new(1,6,1) | |
607 | rblade2.CFrame = rblade.CFrame | |
608 | rblade2.formFactor = "Symmetric" | |
609 | rblade2.TopSurface = 0 | |
610 | rblade2.BottomSurface = 0 | |
611 | rblade2.Reflectance = .5 | |
612 | rbm2 = Instance.new("BlockMesh") | |
613 | rbm2.Parent = rblade2 | |
614 | rbm2.Scale = Vector3.new(.21,1,.31) | |
615 | rbw2 = Instance.new("Weld") | |
616 | rbw2.Parent = rblade | |
617 | rbw2.Part0 = rblade | |
618 | rbw2.Part1 = rblade2 | |
619 | lblade2 = Instance.new("Part") | |
620 | lblade2.BrickColor = rblade.BrickColor | |
621 | lblade2.Parent = player | |
622 | lblade2.CanCollide = false | |
623 | lblade2.Size = Vector3.new(1,6,1) | |
624 | lblade2.CFrame = lblade.CFrame | |
625 | lblade2.formFactor = "Symmetric" | |
626 | lblade2.TopSurface = 0 | |
627 | lblade2.BottomSurface = 0 | |
628 | lblade2.Reflectance = .5 | |
629 | lbm2 = Instance.new("BlockMesh") | |
630 | lbm2.Parent = lblade2 | |
631 | lbm2.Scale = Vector3.new(.21,1,.31) | |
632 | lbw2 = Instance.new("Weld") | |
633 | lbw2.Parent = lblade | |
634 | lbw2.Part0 = lblade | |
635 | lbw2.Part1 = lblade2 | |
636 | rblade.Touched:connect(function(hit) | |
637 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
638 | if hit.Parent.Name ~= player.Name then | |
639 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
640 | end | |
641 | end | |
642 | end) | |
643 | lblade.Touched:connect(function(hit) | |
644 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
645 | if hit.Parent.Name ~= player.Name then | |
646 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
647 | end | |
648 | end | |
649 | end) | |
650 | -- | |
651 | for i = 1,40 do | |
652 | wait() | |
653 | lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) | |
654 | rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) | |
655 | end | |
656 | right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) | |
657 | left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) | |
658 | wait() | |
659 | right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) | |
660 | left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) | |
661 | wait() | |
662 | right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) | |
663 | left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) | |
664 | wait() | |
665 | right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) | |
666 | left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) | |
667 | wait() | |
668 | right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) | |
669 | left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) | |
670 | wait() | |
671 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
672 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
673 | wait() | |
674 | lblade2:remove() | |
675 | rblade2:remove() | |
676 | end | |
677 | if key == "j" then | |
678 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
679 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
680 | wait() | |
681 | right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) | |
682 | left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) | |
683 | wait() | |
684 | right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) | |
685 | left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) | |
686 | wait() | |
687 | right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) | |
688 | left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) | |
689 | wait() | |
690 | right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) | |
691 | left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) | |
692 | wait() | |
693 | right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) | |
694 | left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) | |
695 | wait() | |
696 | right.C1 = CFrame.new(-1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*-.5),(math.pi*-.00)) | |
697 | left.C1 = CFrame.new(1.00,-.5,.5)*CFrame.Angles((math.pi*-.5),(math.pi*.5),(math.pi*.00)) | |
698 | wait() | |
699 | -- | |
700 | rblade2 = Instance.new("Part") | |
701 | rblade2.BrickColor = BrickColor.new("Really black") | |
702 | rblade2.Parent = player | |
703 | rblade2.CanCollide = false | |
704 | rblade2.Size = Vector3.new(2,6,3) | |
705 | rblade2.CFrame = rblade.CFrame | |
706 | rblade2.formFactor = "Symmetric" | |
707 | rblade2.TopSurface = 0 | |
708 | rblade2.BottomSurface = 0 | |
709 | rblade2.Reflectance = .5 | |
710 | rbm2 = Instance.new("BlockMesh") | |
711 | rbm2.Parent = rblade2 | |
712 | rbm2.Scale = Vector3.new(.11,1,.11) | |
713 | rbw2 = Instance.new("Weld") | |
714 | rbw2.Parent = rblade | |
715 | rbw2.Part0 = rblade | |
716 | rbw2.Part1 = rblade2 | |
717 | lblade2 = Instance.new("Part") | |
718 | lblade2.BrickColor = rblade.BrickColor | |
719 | lblade2.Parent = player | |
720 | lblade2.CanCollide = false | |
721 | lblade2.Size = Vector3.new(2,6,3) | |
722 | lblade2.CFrame = lblade.CFrame | |
723 | lblade2.formFactor = "Symmetric" | |
724 | lblade2.TopSurface = 0 | |
725 | lblade2.BottomSurface = 0 | |
726 | lblade2.Reflectance = .5 | |
727 | lbm2 = Instance.new("BlockMesh") | |
728 | lbm2.Parent = lblade2 | |
729 | lbm2.Scale = Vector3.new(.11,1,.11) | |
730 | lbw2 = Instance.new("Weld") | |
731 | lbw2.Parent = lblade | |
732 | lbw2.Part0 = lblade | |
733 | lbw2.Part1 = lblade2 | |
734 | rblade2.Touched:connect(function(hit) | |
735 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
736 | if hit.Parent.Name ~= player.Name then | |
737 | hit.Parent.Humanoid.Sit = true | |
738 | local a = hit.Parent:GetChildren() | |
739 | for i = 1,#a do | |
740 | wait() | |
741 | if a.className == "Part" then | |
742 | a.Velocity = CFrame.new(rblade2.Position, hit.Position).lookVector * 250 | |
743 | end | |
744 | end | |
745 | end | |
746 | end | |
747 | end) | |
748 | lblade2.Touched:connect(function(hit) | |
749 | if hit.Parent:findFirstChild("Humanoid") ~= nil then | |
750 | if hit.Parent.Name ~= player.Name then | |
751 | hit.Parent.Humanoid.Sit = true | |
752 | local a = hit.Parent:GetChildren() | |
753 | for i = 1,#a do | |
754 | wait() | |
755 | if a.className == "Part" then | |
756 | a.Velocity = CFrame.new(lblade2.Position, hit.Position).lookVector * 250 | |
757 | end | |
758 | end | |
759 | end | |
760 | end | |
761 | end) | |
762 | -- | |
763 | for i = 1,40 do | |
764 | wait() | |
765 | lbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) | |
766 | rbw2.C1 = CFrame.new(0,0,0) * CFrame.Angles((math.pi*.1*i),0,0) | |
767 | end | |
768 | right.C1 = CFrame.new(-1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*-.05)) | |
769 | left.C1 = CFrame.new(1.11,-.4,.4)*CFrame.Angles((math.pi*-.4),(math.pi*.4),(math.pi*.05)) | |
770 | wait() | |
771 | right.C1 = CFrame.new(-1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*-.1)) | |
772 | left.C1 = CFrame.new(1.22,-.3,.3)*CFrame.Angles((math.pi*-.3),(math.pi*.3),(math.pi*.1)) | |
773 | wait() | |
774 | right.C1 = CFrame.new(-1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*-.15)) | |
775 | left.C1 = CFrame.new(1.33,.2,.2)*CFrame.Angles((math.pi*-.2),(math.pi*.2),(math.pi*.15)) | |
776 | wait() | |
777 | right.C1 = CFrame.new(-1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*-.2)) | |
778 | left.C1 = CFrame.new(1.44,.1,.1)*CFrame.Angles((math.pi*-.1),(math.pi*.1),(math.pi*.2)) | |
779 | wait() | |
780 | right.C1 = CFrame.new(-1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*-.25)) | |
781 | left.C1 = CFrame.new(1.55,.0,0)*CFrame.Angles((math.pi*-.0),(math.pi*0),(math.pi*.25)) | |
782 | wait() | |
783 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
784 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
785 | wait() | |
786 | lblade2:remove() | |
787 | rblade2:remove() | |
788 | end | |
789 | if key == "y" then | |
790 | local blast = Instance.new("Part") | |
791 | blast.formFactor = "Symmetric" | |
792 | blast.Shape = "Ball" | |
793 | blast.Size = Vector3.new(1,1,1) | |
794 | blast.BrickColor = rblade.BrickColor | |
795 | blast.Parent = Workspace | |
796 | blast.CFrame = player.Torso.CFrame | |
797 | game:GetService("Debris"):AddItem(blast, 15) | |
798 | local smoke = Instance.new("Smoke") | |
799 | smoke.Color = Color3.new(0,0,0) | |
800 | smoke.Opacity = 1 | |
801 | smoke.RiseVelocity = 0 | |
802 | smoke.Size = 100 | |
803 | smoke.Parent = blast | |
804 | end | |
805 | if key == "u" then | |
806 | local blast = Instance.new("Part") | |
807 | blast.formFactor = "Symmetric" | |
808 | blast.Shape = "Ball" | |
809 | blast.Name = "keel" | |
810 | blast.Size = Vector3.new(1,1,1) | |
811 | blast.BrickColor = rblade.BrickColor | |
812 | blast.Parent = Workspace | |
813 | blast.CFrame = player.Torso.CFrame | |
814 | game:GetService("Debris"):AddItem(blast, 15) | |
815 | wait(2) | |
816 | local smoke = Instance.new("Smoke") | |
817 | smoke.Color = Color3.new(1,1,1) | |
818 | smoke.Opacity = .5 | |
819 | smoke.RiseVelocity = 0 | |
820 | smoke.Size = 20 | |
821 | smoke.Parent = blast | |
822 | coroutine.resume(coroutine.create(function() stun(blast) end)) | |
823 | end | |
824 | if key == "n" then | |
825 | player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed + 8 | |
826 | end | |
827 | if key == "m" then | |
828 | player.Humanoid.WalkSpeed = player.Humanoid.WalkSpeed - 8 | |
829 | end | |
830 | if key == ";" then | |
831 | local l = player:findFirstChild("Left Arm") | |
832 | local r = player:findFirstChild("Right Arm") | |
833 | rblade.Size = Vector3.new(2, 6 , 2) | |
834 | lblade.Size = Vector3.new(2, 6 , 2) | |
835 | local w = Instance.new("Weld") | |
836 | w.Part1 = rblade | |
837 | w.Part0 = r | |
838 | w.Parent = r | |
839 | local w = Instance.new("Weld") | |
840 | w.Part1 = lblade | |
841 | w.Part0 = l | |
842 | w.Parent = l | |
843 | end | |
844 | if key == "k" then | |
845 | for i = 1,100 do | |
846 | wait() | |
847 | local p = Instance.new("Part") | |
848 | p.BrickColor = BrickColor.new("Royal purple") | |
849 | p.Name ="check" | |
850 | p.Parent = Workspace | |
851 | p.CanCollide = false | |
852 | p.Size = Vector3.new(1,3,1) | |
853 | p.CFrame = player.Torso.CFrame + Vector3.new(math.random(-5,5),math.random(-2,4),math.random(-5,5)) | |
854 | p.formFactor = "Symmetric" | |
855 | p.TopSurface = 0 | |
856 | p.BottomSurface = 0 | |
857 | p.Transparency = .5 | |
858 | local pm = Instance.new("SpecialMesh") | |
859 | pm.Parent = p | |
860 | pm.MeshType = "Sphere" | |
861 | pm.Scale = Vector3.new(.2,.2,.2) | |
862 | local pbv = Instance.new("BodyVelocity") | |
863 | pbv.Parent = p | |
864 | pbv.velocity = Vector3.new(0,10,0) | |
865 | game:GetService("Debris"):AddItem(p, .2) | |
866 | player.Humanoid.Health = player.Humanoid.Health +2 | |
867 | end | |
868 | end | |
869 | --glider? | |
870 | if key == "p" then | |
871 | -- | |
872 | rblade2 = Instance.new("Part") | |
873 | rblade2.BrickColor = BrickColor.new("Institutional white") | |
874 | rblade2.Parent = player | |
875 | rblade2.CanCollide = false | |
876 | rblade2.Size = Vector3.new(1,6,1) | |
877 | rblade2.CFrame = rblade.CFrame | |
878 | rblade2.formFactor = "Symmetric" | |
879 | rblade2.TopSurface = 0 | |
880 | rblade2.BottomSurface = 0 | |
881 | rblade2.Reflectance = 0 | |
882 | rbm2 = Instance.new("BlockMesh") | |
883 | rbm2.Parent = rblade2 | |
884 | rbm2.Scale = Vector3.new(2,1,.31) | |
885 | rbw2 = Instance.new("Weld") | |
886 | rbw2.Parent = rblade | |
887 | rbw2.Part0 = rblade | |
888 | rbw2.Part1 = rblade2 | |
889 | lblade2 = Instance.new("Part") | |
890 | lblade2.BrickColor = rblade.BrickColor | |
891 | lblade2.Parent = player | |
892 | lblade2.CanCollide = false | |
893 | lblade2.Size = Vector3.new(1,6,1) | |
894 | lblade2.CFrame = lblade.CFrame | |
895 | lblade2.formFactor = "Symmetric" | |
896 | lblade2.TopSurface = 0 | |
897 | lblade2.BottomSurface = 0 | |
898 | lblade2.Reflectance = 0 | |
899 | lbm2 = Instance.new("BlockMesh") | |
900 | lbm2.Parent = lblade2 | |
901 | lbm2.Scale = Vector3.new(2,1,.31) | |
902 | lbw2 = Instance.new("Weld") | |
903 | lbw2.Parent = lblade | |
904 | lbw2.Part0 = lblade | |
905 | lbw2.Part1 = lblade2 | |
906 | local steer = Instance.new("Part") | |
907 | steer.Transparency = 1 | |
908 | steer.Parent = player.Head | |
909 | steerw= Instance.new("Weld") | |
910 | steerw.Part0 = player.Head | |
911 | steerw.Part1 = steer | |
912 | steerw.Parent = player.Head | |
913 | steerw.C1 = CFrame.new(0,0,0)*CFrame.Angles((math.pi*-.5),0,0) | |
914 | -- | |
915 | right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5) | |
916 | left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5) | |
917 | wait() | |
918 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) | |
919 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) | |
920 | wait() | |
921 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) | |
922 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) | |
923 | wait() | |
924 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) | |
925 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) | |
926 | wait() | |
927 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) | |
928 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) | |
929 | wait() | |
930 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
931 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
932 | wait() | |
933 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) | |
934 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) | |
935 | wait() | |
936 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) | |
937 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) | |
938 | wait() | |
939 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) | |
940 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) | |
941 | wait() | |
942 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) | |
943 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) | |
944 | wait() | |
945 | right.C1 = CFrame.new(-.55,.4,0)*CFrame.Angles(0,0,-.5) | |
946 | left.C1 = CFrame.new(.55,.4,0)*CFrame.Angles(0,0,.5) | |
947 | wait() | |
948 | player.Humanoid.PlatformStand = true | |
949 | glideg.Parent = steer | |
950 | glideg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
951 | glidev.Parent = steer | |
952 | glidev.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
953 | while player.Humanoid.PlatformStand == true do | |
954 | wait() | |
955 | glideg.cframe = CFrame.new(steer.Position, mouse.Hit.p) | |
956 | glidev.velocity = steer.CFrame.lookVector * 75 | |
957 | end | |
958 | glidev.velocity = steer.CFrame.lookVector * 15 | |
959 | wait(3) | |
960 | glideg:remove() | |
961 | glidev:remove() | |
962 | lblade2:remove() | |
963 | rblade2:remove() | |
964 | steer:remove() | |
965 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*-.25)) | |
966 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-1),(math.pi*0),(math.pi*.25)) | |
967 | wait() | |
968 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*-.25)) | |
969 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.9),(math.pi*0),(math.pi*.25)) | |
970 | wait() | |
971 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*-.25)) | |
972 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.8),(math.pi*0),(math.pi*.25)) | |
973 | wait() | |
974 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*-.25)) | |
975 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.7),(math.pi*0),(math.pi*.25)) | |
976 | wait() | |
977 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*-.25)) | |
978 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.6),(math.pi*0),(math.pi*.25)) | |
979 | wait() | |
980 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*-.25)) | |
981 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.5),(math.pi*0),(math.pi*.25)) | |
982 | wait() | |
983 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*-.25)) | |
984 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.4),(math.pi*0),(math.pi*.25)) | |
985 | wait() | |
986 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*-.25)) | |
987 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.3),(math.pi*0),(math.pi*.25)) | |
988 | wait() | |
989 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*-.25)) | |
990 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.2),(math.pi*0),(math.pi*.25)) | |
991 | wait() | |
992 | right.C1 = CFrame.new(-1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*-.25)) | |
993 | left.C1 = CFrame.new(1.55,.5,0)*CFrame.Angles((math.pi*-.1),(math.pi*0),(math.pi*.25)) | |
994 | wait() | |
995 | right.C1 = CFrame.new(-1.55,.4,0)*CFrame.Angles(0,0,-.5) | |
996 | left.C1 = CFrame.new(1.55,.4,0)*CFrame.Angles(0,0,.5) | |
997 | end | |
998 | if key == ";" then | |
999 | glideg.Parent = nil | |
1000 | glideg.maxTorque = Vector3.new(0,0,0) | |
1001 | glidev.Parent = nil | |
1002 | glidev.maxForce = Vector3.new(0,0,0) | |
1003 | end | |
1004 | if key == "l" then | |
1005 | local a = player:GetChildren() | |
1006 | for i = 1,#a do | |
1007 | wait() | |
1008 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
1009 | for x = 1, 9 do | |
1010 | wait() | |
1011 | a.Transparency = a.Transparency +.1 | |
1012 | end | |
1013 | elseif a.className == "Hat" then | |
1014 | for x = 1, 9 do | |
1015 | wait() | |
1016 | a.Handle.Transparency = a.Handle.Transparency +.1 | |
1017 | end | |
1018 | end | |
1019 | player.Head.Transparency = 1 | |
1020 | end | |
1021 | wait(10) | |
1022 | for i = 1,#a do | |
1023 | wait() | |
1024 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
1025 | for x = 1, 9 do | |
1026 | wait() | |
1027 | a.Transparency = a.Transparency -.1 | |
1028 | end | |
1029 | elseif a.className == "Hat" then | |
1030 | for x = 1, 9 do | |
1031 | wait() | |
1032 | a.Handle.Transparency = a.Handle.Transparency -.1 | |
1033 | end | |
1034 | end | |
1035 | end | |
1036 | for i = 1,#a do | |
1037 | wait() | |
1038 | if a.className == "Part" and a.Name ~= "check" and a.Name ~= "checkb" then | |
1039 | wait() | |
1040 | a.Transparency = 0 | |
1041 | elseif a.className == "Hat" then | |
1042 | wait() | |
1043 | a.Handle.Transparency = 0 | |
1044 | end | |
1045 | end | |
1046 | end | |
1047 | end) | |
1048 | ----end of keys | |
1049 | end) | |
1050 | ----end of tool | |
1051 | bin.Deselected:connect(function() | |
1052 | rblade:remove() | |
1053 | lblade:remove() | |
1054 | on = 2 | |
1055 | coroutine.yield(function() shadow(rblade,lblade) end) | |
1056 | ls.Part1 = larm | |
1057 | rs.Part1 = rarm | |
1058 | left:remove() | |
1059 | right:remove() | |
1060 | end) |