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