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