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