SHOW:
|
|
- or go back to the newest paste.
1 | --One Punch Man Script | |
2 | p = game.Players.LocalPlayer | |
3 | char = p.Character | |
4 | des = false | |
5 | fling = true | |
6 | dot = false | |
7 | falling = false | |
8 | jump = true | |
9 | - | --char.Shirt:Remove() |
9 | + | shirt = Instance.new("Shirt", char) |
10 | - | --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end |
10 | + | shirt.Name = "Shirt" |
11 | - | for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end |
11 | + | pants = Instance.new("Pants", char) |
12 | - | wait()--shirt = Instance.new("Shirt", char) |
12 | + | pants.Name = "Pants" |
13 | - | --shirt.Name = "Shirt" |
13 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=219373258" |
14 | - | --pants = Instance.new("Pants", char) |
14 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=219373296" |
15 | - | --pants.Name = "Pants" |
15 | + | |
16 | shoot = true | |
17 | - | --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=219373258" |
17 | + | |
18 | - | --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=219373296" |
18 | + | |
19 | neckp = char.Torso.Neck.C0 | |
20 | neck = char.Torso.Neck | |
21 | char.Humanoid.MaxHealth = math.huge | |
22 | wait() | |
23 | char.Humanoid.Health = math.huge | |
24 | wait() | |
25 | hum.Health =hum.MaxHealth | |
26 | des = false | |
27 | root=char.HumanoidRootPart | |
28 | torso = char.Torso | |
29 | char.Head.face.Texture = "rbxassetid://332768867" | |
30 | local ChatService = game:GetService("Chat") | |
31 | local player = game.Players.LocalPlayer | |
32 | lig = Instance.new("PointLight",player.Character.Torso) | |
33 | lig.Color=Color3.new(255,0,0) | |
34 | m=player:GetMouse() | |
35 | bb = Instance.new("BillboardGui",player.Character.Head) | |
36 | bb.Enabled = true | |
37 | function newRay(start,face,range,wat) | |
38 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
39 | hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
40 | return rey,hit,pos | |
41 | end | |
42 | aa1={} | |
43 | torso=game.Players.LocalPlayer.Character.Torso | |
44 | ||
45 | local WorldUp = Vector3.new(0,1,0) | |
46 | function look2(Vec1,Vec2) | |
47 | local Orig = Vec1 | |
48 | Vec1 = Vec1+Vector3.new(0,1,0) | |
49 | Vec2 = Vec2+Vector3.new(0,1,0) | |
50 | local Forward = (Vec2-Vec1).unit | |
51 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
52 | local Right = Up:Cross(Forward).unit | |
53 | Forward = -Forward | |
54 | Right = -Right | |
55 | return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
56 | end | |
57 | ||
58 | function look(CFr,Vec2) | |
59 | local A = Vector3.new(0,0,0) | |
60 | local B = CFr:inverse()*Vec2 | |
61 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
62 | if B.Z > 0 then | |
63 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
64 | elseif B.Z == 0 then | |
65 | if B.Y > 0 then | |
66 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
67 | elseif B.Y < 0 then | |
68 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
69 | else | |
70 | CF = CFr | |
71 | end | |
72 | end | |
73 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
74 | local Up = Vector3.new(X,Y,Z) | |
75 | local Forward = (Vec2-CFr.p).unit | |
76 | local Right = Up:Cross(Forward) | |
77 | Forward = -Forward | |
78 | Right = -Right | |
79 | return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z) | |
80 | end | |
81 | ||
82 | function simulate(j,d,m,r,t) | |
83 | local joint = j | |
84 | for i,v in ipairs(t) do | |
85 | if v[1]:FindFirstChild("Weld") then | |
86 | local stiff = m.CFrame.lookVector*0.03 | |
87 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
88 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
89 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
90 | local pos = joint.p+(dir*(d*0.5)) | |
91 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
92 | local inv = v[1].Weld.Part0.CFrame | |
93 | local rel1 = inv:inverse()*pos | |
94 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
95 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
96 | v[1].Weld.C0 = cf | |
97 | v[2] = inv*cf | |
98 | --v[1].CFrame = cf | |
99 | end | |
100 | end | |
101 | end | |
102 | for i=1,8 do | |
103 | local p = Instance.new("Part",char) | |
104 | p.Anchored = false | |
105 | p.BrickColor = BrickColor.new("Institutional white") | |
106 | p.CanCollide = false | |
107 | p.FormFactor="Custom" | |
108 | p.Material = "SmoothPlastic" | |
109 | p.TopSurface = "SmoothNoOutlines" | |
110 | p.BottomSurface = "SmoothNoOutlines" | |
111 | p.RightSurface = "SmoothNoOutlines" | |
112 | p.LeftSurface = "SmoothNoOutlines" | |
113 | p.FrontSurface = "SmoothNoOutlines" | |
114 | p.BackSurface = "SmoothNoOutlines" | |
115 | ||
116 | p.Size=Vector3.new(2,.2,0.2) | |
117 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
118 | mesh = Instance.new("BlockMesh",p) | |
119 | mesh.Scale = Vector3.new(1,1,4) | |
120 | local w = Instance.new("Motor6D",p) | |
121 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
122 | w.Part1 = p | |
123 | w.Name = "Weld" | |
124 | --table.insert(aa1,p) | |
125 | aa1[i] = {p,p.CFrame} | |
126 | ||
127 | end | |
128 | game:service"RunService".Stepped:connect(function() | |
129 | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) | |
130 | end) | |
131 | bb.AlwaysOnTop = true | |
132 | bb.Size = UDim2.new(0,200,0,50) | |
133 | bb.StudsOffset = Vector3.new(0,1,0) | |
134 | gui=Instance.new("TextBox",bb) | |
135 | gui.Text = "* " | |
136 | gui.Size = UDim2.new(0,133,0,45) | |
137 | gui.Position=UDim2.new(0,57,0,-40) | |
138 | gui.TextColor3 = Color3.new(255,255,255) | |
139 | gui.BackgroundColor3=Color3.new(0,0,0) | |
140 | gui.TextWrapped = true | |
141 | gui.TextScaled = true | |
142 | gui.TextXAlignment = "Left" | |
143 | gui.TextYAlignment = "Top" | |
144 | gui.Visible = false | |
145 | gui.BorderColor3 = Color3.new(0,0,0) | |
146 | punch2 = true | |
147 | gui1=Instance.new("TextButton",bb) | |
148 | gui1.Position=UDim2.new(0,5,0,-43) | |
149 | gui1.Size = UDim2.new(0,190,0,51) | |
150 | ||
151 | gui1.TextColor3 = Color3.new(255,255,255) | |
152 | gui1.BackgroundColor3=Color3.new(255,255,255) | |
153 | jump2 = true | |
154 | gui1.Visible = false | |
155 | img = Instance.new("ImageLabel",bb) | |
156 | img.Size = UDim2.new(0,46,0,47) | |
157 | img.Position = UDim2.new(0,10,0,-41) | |
158 | img.Image = "rbxassetid://447301252" | |
159 | img.BorderColor3 = Color3.new(0,0,0) | |
160 | img.Visible = false | |
161 | soka = Instance.new("Sound",char) | |
162 | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" | |
163 | soka.Volume = 1 | |
164 | boom = Instance.new("Sound",char) | |
165 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
166 | boom.Volume = 1 | |
167 | boom2 = Instance.new("Sound",char) | |
168 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
169 | boom2.Volume = 1 | |
170 | boom3 = Instance.new("Sound",char) | |
171 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
172 | boom3.Volume = 1 | |
173 | tps = Instance.new("Sound",char) | |
174 | tps.SoundId = "http://www.roblox.com/asset/?id = 449860746" | |
175 | tps.Volume = 1 | |
176 | asd = Instance.new("Sound",char) | |
177 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
178 | asd.Volume =1 | |
179 | asd1 = Instance.new("Sound",char) | |
180 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
181 | ||
182 | asd2 = Instance.new("Sound",char) | |
183 | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" | |
184 | asd2.Looped = true | |
185 | asd2.Volume = 5 | |
186 | asd3 = Instance.new("Sound",char) | |
187 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
188 | asd3.Looped = true | |
189 | asd4 = Instance.new("Sound",char) | |
190 | asd4.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
191 | asd4.Looped = true | |
192 | asd5 = Instance.new("Sound",char) | |
193 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
194 | asd5.Looped = true | |
195 | gas = Instance.new("Sound",char) | |
196 | gas.SoundId = "http://www.roblox.com/asset/?id = 345052019" | |
197 | asd6 = Instance.new("Sound",char) | |
198 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
199 | asd6.Looped = true | |
200 | function play(play) | |
201 | asd:Play() | |
202 | wait(0.05) | |
203 | --asd1:Play() | |
204 | end | |
205 | ||
206 | ||
207 | ||
208 | ------------ | |
209 | ------------------------- | |
210 | ||
211 | function stream(origin,dir,length,size) | |
212 | local parts = {} | |
213 | for i = 1,length do | |
214 | local p = Instance.new("Part",char) | |
215 | p.Anchored = true | |
216 | p.Transparency = 0.5 | |
217 | p.TopSurface = 0 | |
218 | p.BottomSurface = 0 | |
219 | p.CanCollide = false | |
220 | p.BrickColor = BrickColor.new("Institutional white") | |
221 | p.Size = Vector3.new(10,30,10) -- for now | |
222 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
223 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} | |
224 | game:GetService("Debris"):AddItem(p,3) | |
225 | end | |
226 | Spawn(function() | |
227 | while parts do | |
228 | for i,v in pairs(parts) do | |
229 | if v[1].Parent == char then | |
230 | v[1].CFrame = v[1].CFrame*v[2] | |
231 | else | |
232 | parts = nil | |
233 | break | |
234 | end | |
235 | end | |
236 | wait(0.02) | |
237 | end | |
238 | end) | |
239 | end | |
240 | ||
241 | --[[-- listen for their chatting | |
242 | player.Chatted:connect(function(message) | |
243 | a = string.len(message) | |
244 | gui.Text = "" | |
245 | gui.Visible = true | |
246 | gui1.Visible = true | |
247 | des = false | |
248 | img.Visible = true | |
249 | print(a) | |
250 | if dot == false then | |
251 | gui.Text = "" | |
252 | for i = 1,string.len(message) do | |
253 | gui.Text =gui.Text..message:sub(i,i) | |
254 | play() | |
255 | ||
256 | end | |
257 | end | |
258 | ||
259 | ||
260 | des = true | |
261 | end)]]-- | |
262 | m.KeyDown:connect(function(k) | |
263 | if k == "g" then | |
264 | asd2:Play() | |
265 | ||
266 | ||
267 | end | |
268 | end) | |
269 | ||
270 | m.KeyDown:connect(function(k) | |
271 | if k == "r" then | |
272 | ||
273 | asd4:Play() | |
274 | end | |
275 | end) | |
276 | m.KeyDown:connect(function(k) | |
277 | if k == "q" then | |
278 | ||
279 | asd3:Play() | |
280 | end | |
281 | end) | |
282 | m.KeyDown:connect(function(k) | |
283 | if k == "z" then | |
284 | img.Image = "rbxassetid://332766052" | |
285 | ||
286 | end | |
287 | end) | |
288 | m.KeyDown:connect(function(k) | |
289 | if k == "c" then | |
290 | img.Image = "rbxassetid://447301252" | |
291 | ||
292 | end | |
293 | end) | |
294 | m.KeyDown:connect(function(k) | |
295 | if k == "b" then | |
296 | ||
297 | asd6:Play() | |
298 | end | |
299 | end) | |
300 | mouse = p:GetMouse() | |
301 | m.KeyDown:connect(function(k) | |
302 | if k:byte() == 48 then | |
303 | ||
304 | hum.WalkSpeed = 100 | |
305 | end | |
306 | end) | |
307 | m.KeyDown:connect(function(k) | |
308 | if k:byte() == 50 then | |
309 | ||
310 | soka:Play() | |
311 | end | |
312 | end) | |
313 | m.KeyDown:connect(function(k) | |
314 | if k:byte() == 52 then | |
315 | ||
316 | char.Head.face.Texture = "rbxassetid://444037452" | |
317 | end | |
318 | end) | |
319 | m.KeyDown:connect(function(k) | |
320 | if k:byte() == 51 then | |
321 | ||
322 | char.Head.face.Texture = "rbxassetid://332768867" | |
323 | end | |
324 | end) | |
325 | m.KeyUp:connect(function(k) | |
326 | if k:byte() == 48 then | |
327 | ||
328 | hum.WalkSpeed = 16 | |
329 | end | |
330 | end) | |
331 | p.Chatted:connect(function(m) | |
332 | if m == "Okay." then | |
333 | soka:Play() | |
334 | end | |
335 | end) | |
336 | m.KeyDown:connect(function(k) | |
337 | if k == "x" then | |
338 | if des == true then | |
339 | gui.Visible = false | |
340 | gui.Text = "* " | |
341 | gui1.Visible = false | |
342 | img.Visible = false | |
343 | end | |
344 | end | |
345 | end) | |
346 | m.KeyDown:connect(function(key) | |
347 | if key == "j" then | |
348 | if tp == true then | |
349 | tp = false | |
350 | tps:Play() | |
351 | char.Head.face.Parent = game.Lighting | |
352 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 | |
353 | end | |
354 | ||
355 | end | |
356 | wait(0.5) | |
357 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
358 | end | |
359 | ||
360 | end | |
361 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
362 | char.HumanoidRootPart.Transparency = 1 | |
363 | game.Lighting.face.Parent = char.Head | |
364 | wait(0.2) | |
365 | ||
366 | tp = true | |
367 | ||
368 | ||
369 | end | |
370 | end | |
371 | end) | |
372 | ||
373 | ||
374 | m.KeyDown:connect(function(key) | |
375 | if key == "t" then | |
376 | if punch2 == true then | |
377 | punch2 = false | |
378 | punch = false | |
379 | ||
380 | local ChatService = game:GetService("Chat") | |
381 | ||
382 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
383 | ChatService:Chat(char.Head, "Mind if I get Serious?") | |
384 | wait(1) | |
385 | local ChatService = game:GetService("Chat") | |
386 | ||
387 | ||
388 | ChatService:Chat(char.Head ,"Killer Move: Serious Series...") | |
389 | wait(1) | |
390 | local ChatService = game:GetService("Chat") | |
391 | ||
392 | ||
393 | ChatService:Chat(char.Head, "SERIOUS PUNCH.") | |
394 | neck.C0 = neckp | |
395 | wait(0.6) | |
396 | org = char.Torso["Left Shoulder"].C0 | |
397 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
398 | wait() | |
399 | killbrick2 = Instance.new("Part",char) | |
400 | killbrick2.Size = Vector3.new(80,80,9000) | |
401 | killbrick2.Transparency = 1 | |
402 | ||
403 | killbrick2.CanCollide = true | |
404 | wait(0.1) | |
405 | killbrick2.CanCollide = false | |
406 | ||
407 | killbrick2.Anchored = true | |
408 | ||
409 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
410 | ||
411 | killbrick2.Touched:connect(function(h) | |
412 | local x = h.Parent:FindFirstChild("Humanoid") | |
413 | if x then | |
414 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
415 | safe = true | |
416 | else safe = false | |
417 | end | |
418 | if x then | |
419 | if safe == false then | |
420 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
421 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
422 | boom:Play() | |
423 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
424 | ||
425 | ||
426 | wait(0.2) | |
427 | x.Parent:BreakJoints() | |
428 | wait() | |
429 | safe = true | |
430 | end | |
431 | end | |
432 | end | |
433 | end) | |
434 | ||
435 | ||
436 | ||
437 | ||
438 | ||
439 | ||
440 | ||
441 | ||
442 | local rng = Instance.new("Part", char) | |
443 | rng.Anchored = true | |
444 | rng.BrickColor = BrickColor.new("Institutional white") | |
445 | rng.CanCollide = false | |
446 | rng.FormFactor = 3 | |
447 | rng.Name = "Ring" | |
448 | rng.Size = Vector3.new(1, 1, 1) | |
449 | rng.Transparency = 0.8 | |
450 | rng.TopSurface = 0 | |
451 | rng.BottomSurface = 0 | |
452 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
453 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
454 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
455 | local rngm = Instance.new("SpecialMesh", rng) | |
456 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
457 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
458 | local rng1 = Instance.new("Part", char) | |
459 | rng1.Anchored = true | |
460 | rng1.BrickColor = BrickColor.new("Institutional white") | |
461 | rng1.CanCollide = false | |
462 | rng1.FormFactor = 3 | |
463 | rng1.Name = "Ring" | |
464 | rng1.Size = Vector3.new(1, 1, 1) | |
465 | rng1.Transparency = 0.8 | |
466 | rng1.TopSurface = 0 | |
467 | rng1.BottomSurface = 0 | |
468 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
469 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
470 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
471 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
472 | rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
473 | rngm1.Scale = Vector3.new(1, 1.3, 2) | |
474 | ||
475 | local p = (torso.CFrame*CFrame.new(-20,0,3)) | |
476 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one | |
477 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
478 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here | |
479 | ||
480 | local rng2 = Instance.new("Part", char) | |
481 | rng2.Anchored = true | |
482 | rng2.BrickColor = BrickColor.new("Institutional white") | |
483 | rng2.CanCollide = false | |
484 | rng2.FormFactor = 3 | |
485 | rng2.Name = "Ring" | |
486 | rng2.Size = Vector3.new(1, 1, 1) | |
487 | rng2.Transparency = 0.8 | |
488 | rng2.TopSurface = 0 | |
489 | rng2.BottomSurface = 0 | |
490 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
491 | --rng1.Rotation = Vector3.new(math.pi/2,0,0) | |
492 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
493 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
494 | rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
495 | rngm2.Scale = Vector3.new(1, 1.3, 2) | |
496 | wait(0.1) | |
497 | ||
498 | boom3:Play() | |
499 | coroutine.wrap(function() | |
500 | for i = 1, 35, 0.5 do | |
501 | ||
502 | ||
503 | ||
504 | ||
505 | ||
506 | rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4) | |
507 | rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4) | |
508 | rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4) | |
509 | ||
510 | wait() | |
511 | end | |
512 | wait() | |
513 | rng:Destroy() | |
514 | rng1:Destroy() | |
515 | rng2:Destroy() | |
516 | killbrick2:Remove() | |
517 | wait(0.5) | |
518 | char.Torso["Left Shoulder"].C0 = org | |
519 | wait(1) | |
520 | punch2 = true | |
521 | punch = true | |
522 | wait() | |
523 | ||
524 | ||
525 | end)() | |
526 | ||
527 | ||
528 | ||
529 | end | |
530 | ||
531 | ||
532 | wait(.1) | |
533 | ||
534 | ||
535 | end | |
536 | end) | |
537 | ||
538 | ||
539 | ||
540 | ||
541 | ||
542 | m.KeyDown:connect(function(key) | |
543 | if key == "k" then | |
544 | if punch == true then | |
545 | punch = false | |
546 | org = char.Torso["Left Shoulder"].C0 | |
547 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
548 | killbrick = Instance.new("Part",char) | |
549 | killbrick.Size = Vector3.new(5,1,5) | |
550 | killbrick.Transparency = 1 | |
551 | killbrick:BreakJoints() | |
552 | killbrick.CanCollide = false | |
553 | local wel = Instance.new("Weld",killbrick) | |
554 | wel.Part0 = killbrick | |
555 | wel.Part1 = char["Left Arm"] | |
556 | wel.C0 = CFrame.new(0,1,0) | |
557 | force = 90 | |
558 | ||
559 | killbrick.Touched:connect(function(h) | |
560 | local x = h.Parent.Humanoid | |
561 | if x.Health >= 6000 then | |
562 | fling = false | |
563 | end | |
564 | if x.Health < 6000 then | |
565 | fling = true | |
566 | end | |
567 | local stop = h.Parent.Torso.Velocity | |
568 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
569 | safe = true | |
570 | else safe = false | |
571 | end | |
572 | if x then | |
573 | if safe == false then | |
574 | if fling == true then | |
575 | force = 900 | |
576 | ||
577 | end | |
578 | if fling == false then | |
579 | force = 200 | |
580 | end | |
581 | ||
582 | ||
583 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * force | |
584 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
585 | boom:Play() | |
586 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
587 | ||
588 | ||
589 | wait(0.2) | |
590 | x:TakeDamage(5000) | |
591 | wait() | |
592 | safe = true | |
593 | bodyforc:Remove() | |
594 | h.Parent.Torso.Velocity = stop | |
595 | ||
596 | end | |
597 | end | |
598 | end) | |
599 | ||
600 | ||
601 | ||
602 | ||
603 | ||
604 | ||
605 | ||
606 | ||
607 | ||
608 | ||
609 | local rng = Instance.new("Part", char) | |
610 | rng.Anchored = true | |
611 | rng.BrickColor = BrickColor.new("Institutional white") | |
612 | rng.CanCollide = false | |
613 | rng.FormFactor = 3 | |
614 | rng.Name = "Ring" | |
615 | rng.Size = Vector3.new(1, 1, 1) | |
616 | rng.Transparency = 0.8 | |
617 | rng.TopSurface = 0 | |
618 | rng.BottomSurface = 0 | |
619 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
620 | --rng.Rotation = Vector3.new(math.pi/2,0,0) | |
621 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
622 | local rngm = Instance.new("SpecialMesh", rng) | |
623 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
624 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
625 | wait(0.1) | |
626 | ||
627 | boom2:Play() | |
628 | coroutine.wrap(function() | |
629 | for i = 1, 10, .4 do | |
630 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
631 | ||
632 | wait() | |
633 | end | |
634 | wait() | |
635 | rng:Destroy() | |
636 | killbrick:Remove() | |
637 | wait(0.5) | |
638 | char.Torso["Left Shoulder"].C0 = org | |
639 | wait(1) | |
640 | ||
641 | punch = true | |
642 | wait() | |
643 | end)() | |
644 | ||
645 | ||
646 | ||
647 | end | |
648 | ||
649 | ||
650 | wait(.1) | |
651 | ||
652 | ||
653 | end | |
654 | end) | |
655 | ||
656 | ||
657 | ||
658 | ||
659 | ||
660 | ||
661 | ||
662 | ||
663 | ||
664 | ||
665 | ||
666 | ||
667 | ||
668 | ||
669 | m.KeyDown:connect(function(key) | |
670 | if key == "m" then | |
671 | if jump == true then | |
672 | jump = false | |
673 | ||
674 | ||
675 | local rng = Instance.new("Part", char) | |
676 | rng.Anchored = true | |
677 | rng.BrickColor = BrickColor.new("Institutional white") | |
678 | rng.CanCollide = false | |
679 | rng.FormFactor = 3 | |
680 | rng.Name = "Ring" | |
681 | rng.Size = Vector3.new(1, 1, 1) | |
682 | rng.Transparency = 0.35 | |
683 | rng.TopSurface = 0 | |
684 | rng.BottomSurface = 0 | |
685 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
686 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
687 | local rngm = Instance.new("SpecialMesh", rng) | |
688 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
689 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
690 | wait(0.1) | |
691 | BV = Instance.new("BodyVelocity", torso) | |
692 | BV.maxForce = Vector3.new(0,20000,0) | |
693 | BV.P = 1000 | |
694 | BV.velocity = Vector3.new(0,100,0) | |
695 | boom:Play() | |
696 | coroutine.wrap(function() | |
697 | for i = 1, 60, 2 do | |
698 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
699 | rng.Transparency = i/60 | |
700 | wait() | |
701 | end | |
702 | wait() | |
703 | rng:Destroy() | |
704 | ||
705 | hum.WalkSpeed = 50 | |
706 | wait(1) | |
707 | ||
708 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
709 | v:Destroy() jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false | |
710 | end end | |
711 | wait() | |
712 | end)() | |
713 | ||
714 | ||
715 | ||
716 | end | |
717 | ||
718 | ||
719 | wait(.1) | |
720 | ||
721 | ||
722 | end | |
723 | end) | |
724 | ||
725 | ||
726 | ||
727 | ||
728 | ||
729 | ||
730 | m.KeyDown:connect(function(key) | |
731 | if key == "n" then | |
732 | ||
733 | if falling == true then | |
734 | falling = false | |
735 | if jumping2 == true then | |
736 | jumping2 = false | |
737 | jump = false | |
738 | BV = Instance.new("BodyVelocity", torso) | |
739 | BV.maxForce = Vector3.new(0,-20000,0) | |
740 | BV.P = -1000 | |
741 | BV.velocity = Vector3.new(0,-70,0) | |
742 | wait(0.6) | |
743 | local rng = Instance.new("Part", char) | |
744 | rng.Anchored = true | |
745 | rng.BrickColor = BrickColor.new("Institutional white") | |
746 | rng.CanCollide = false | |
747 | rng.FormFactor = 3 | |
748 | rng.Name = "Ring" | |
749 | rng.Size = Vector3.new(1, 1, 1) | |
750 | rng.Transparency = 0.35 | |
751 | rng.TopSurface = 0 | |
752 | rng.BottomSurface = 0 | |
753 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
754 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
755 | local rngm = Instance.new("SpecialMesh", rng) | |
756 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
757 | rngm.Scale = Vector3.new(1, 1.3, 2) | |
758 | ||
759 | ||
760 | boom:Play() | |
761 | coroutine.wrap(function() | |
762 | for i = 1, 60, 2 do | |
763 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1) | |
764 | rng.Transparency = i/60 | |
765 | wait() | |
766 | end | |
767 | wait() | |
768 | rng:Destroy() | |
769 | ||
770 | ||
771 | ||
772 | ||
773 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
774 | v:Destroy() wait(2) jumping2 = true hum.WalkSpeed = 16 | |
775 | end end | |
776 | wait() | |
777 | end)() | |
778 | ||
779 | ||
780 | ||
781 | end | |
782 | ||
783 | ||
784 | wait(.1) | |
785 | ||
786 | end | |
787 | end | |
788 | end) | |
789 | m.KeyDown:connect(function(k) | |
790 | if k == "f" then | |
791 | asd3:Stop() | |
792 | asd2:Stop() | |
793 | asd4:Stop() | |
794 | asd6:Stop() | |
795 | asd5:Stop() | |
796 | end | |
797 | end) | |
798 | ------------ | |
799 | -- ~CLarramore 2016 |