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