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