SHOW:
|
|
- or go back to the newest paste.
1 | -- I try to make things looks better, edited by Imkrillinit | |
2 | -- Dark Caped Beast | |
3 | ||
4 | CV="Magenta" | |
5 | p = game.Players.LocalPlayer | |
6 | char = p.Character | |
7 | local txt = Instance.new("BillboardGui", char) | |
8 | txt.Adornee = char .Head | |
9 | txt.Name = "_status" | |
10 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
11 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
12 | local text = Instance.new("TextLabel", txt) | |
13 | text.Size = UDim2.new(10, 0, 7, 0) | |
14 | text.FontSize = "Size24" | |
15 | text.TextScaled = true | |
16 | text.TextTransparency = 0 | |
17 | text.BackgroundTransparency = 1 | |
18 | text.TextTransparency = 0 | |
19 | text.TextStrokeTransparency = 0 | |
20 | text.Font = "Bodoni" | |
21 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
22 | ||
23 | v=Instance.new("Part") | |
24 | v.Name = "ColorBrick" | |
25 | v.Parent=p.Character | |
26 | v.FormFactor="Symmetric" | |
27 | v.Anchored=true | |
28 | v.CanCollide=false | |
29 | v.BottomSurface="Smooth" | |
30 | v.TopSurface="Smooth" | |
31 | v.Size=Vector3.new(10,5,3) | |
32 | v.Transparency=1 | |
33 | v.CFrame=char.Torso.CFrame | |
34 | v.BrickColor=BrickColor.new(CV) | |
35 | v.Transparency=1 | |
36 | text.TextColor3 = Color3.new(170,0,170) | |
37 | v.Shape="Block" | |
38 | - | text.Text = "☠Dark Saitama ☠" |
38 | + | text.Text = "☠Donald Punch Man☠" |
39 | ||
40 | print("serious punch is T") | |
41 | print("Consecutive dark punches is B") | |
42 | print("jump is m") | |
43 | print("k is a left punch") | |
44 | print("h is a right punch") | |
45 | print("j is teleport") | |
46 | print("music keys are, g y r q") | |
47 | print("F is to stop all the music") | |
48 | print("serious mode is x, press z to turn it off") | |
49 | p = game.Players.LocalPlayer | |
50 | char = p.Character | |
51 | des = false | |
52 | fling = true | |
53 | dot = false | |
54 | falling = false | |
55 | jump = true | |
56 | multipunch = true | |
57 | tp = true | |
58 | shoot = true | |
59 | jump2 = true | |
60 | punch3 = true | |
61 | punch2 = true | |
62 | hum = char.Humanoid | |
63 | punch = true | |
64 | neckp = char.Torso.Neck.C0 | |
65 | neck = char.Torso.Neck | |
66 | des = false | |
67 | root = char.HumanoidRootPart | |
68 | torso = char.Torso | |
69 | larm = char["Left Arm"] | |
70 | rarm = char["Right Arm"] | |
71 | lleg = char["Left Leg"] | |
72 | rleg = char["Right Leg"] | |
73 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown") | |
74 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown") | |
75 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown") | |
76 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown") | |
77 | shirt = Instance.new("Shirt", char) | |
78 | shirt.Name = "Shirt" | |
79 | pants = Instance.new("Pants", char) | |
80 | pants.Name = "Pants" | |
81 | char.Shirt:Remove() | |
82 | char.Pants:Remove() | |
83 | for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end | |
84 | - | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=331184781" |
84 | + | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=134969732" |
85 | - | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=171669633" |
85 | + | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=12786203" |
86 | - | char.Head.face.Texture = "rbxassetid://340355951" |
86 | + | char.Head.face.Texture = "rbxassetid://288287250" |
87 | hair = Instance.new("Part", char.Head) | |
88 | hair.CanCollide = false | |
89 | mesh = Instance.new("SpecialMesh", hair) | |
90 | mesh.MeshId = "rbxassetid://319337852" | |
91 | mesh.TextureId = "rbxassetid://376189070" | |
92 | weld = Instance.new("Weld", hair) | |
93 | weld.Part1 = hair | |
94 | weld.Part0 = char.Head | |
95 | mesh.Scale = Vector3.new(0.52,0.52,0.52) | |
96 | weld.C0 = weld.C0 * CFrame.new(0,0.3,0) | |
97 | local ChatService = game:GetService("Chat") | |
98 | local player = game.Players.LocalPlayer | |
99 | lig = Instance.new("PointLight",player.Character.Torso) | |
100 | lig.Color = Color3.new(0,0,0) | |
101 | lig.Brightness = 10 | |
102 | m = player:GetMouse() | |
103 | bb = Instance.new("BillboardGui",player.Character.Head) | |
104 | bb.Enabled = true | |
105 | function newRay(start,face,range,wat) | |
106 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
107 | hit,pos = workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
108 | return rey,hit,pos | |
109 | end | |
110 | aa1 = {} | |
111 | torso = game.Players.LocalPlayer.Character.Torso | |
112 | ||
113 | local WorldUp = Vector3.new(0,1,0) | |
114 | function look2(Vec1,Vec2) | |
115 | local Orig = Vec1 | |
116 | Vec1 = Vec1+Vector3.new(0,1,0) | |
117 | Vec2 = Vec2+Vector3.new(0,1,0) | |
118 | local Forward = (Vec2-Vec1).unit | |
119 | local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit | |
120 | local Right = Up:Cross(Forward).unit | |
121 | Forward = -Forward | |
122 | Right = -Right | |
123 | 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) | |
124 | end | |
125 | ||
126 | function look(CFr,Vec2) | |
127 | local A = Vector3.new(0,0,0) | |
128 | local B = CFr:inverse()*Vec2 | |
129 | local CF = look2(A,Vector3.new(A.X,B.Y,B.Z)) | |
130 | if B.Z > 0 then | |
131 | CF = CFr*(CF*CFrame.Angles(0,0,math.pi)) | |
132 | elseif B.Z == 0 then | |
133 | if B.Y > 0 then | |
134 | CF = CFr*CFrame.Angles(math.pi/2,0,0) | |
135 | elseif B.Y < 0 then | |
136 | CF = CFr*CFrame.Angles(-math.pi/2,0,0) | |
137 | else | |
138 | CF = CFr | |
139 | end | |
140 | end | |
141 | local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components() | |
142 | local Up = Vector3.new(X,Y,Z) | |
143 | local Forward = (Vec2-CFr.p).unit | |
144 | local Right = Up:Cross(Forward) | |
145 | Forward = -Forward | |
146 | Right = -Right | |
147 | 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) | |
148 | end | |
149 | ||
150 | function simulate(j,d,m,r,t) | |
151 | local joint = j | |
152 | for i,v in ipairs(t) do | |
153 | if v[1]:FindFirstChild("Weld") then | |
154 | local stiff = m.CFrame.lookVector*0.03 | |
155 | if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end | |
156 | local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit | |
157 | local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude | |
158 | local pos = joint.p+(dir*(d*0.5)) | |
159 | --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end | |
160 | local inv = v[1].Weld.Part0.CFrame | |
161 | local rel1 = inv:inverse()*pos | |
162 | local rel2 = inv:inverse()*(pos-(dir*dis)) | |
163 | local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z) | |
164 | v[1].Weld.C0 = cf | |
165 | v[2] = inv*cf | |
166 | --v[1].CFrame = cf | |
167 | end | |
168 | end | |
169 | end | |
170 | ------------------------------------------------ | |
171 | function lerpz(joint, prop, cfrmz, alp) | |
172 | joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
173 | end | |
174 | ------------------------------------------------ | |
175 | function sqe() | |
176 | local effspwn = Instance.new("Part") | |
177 | local model = Instance.new("Model") | |
178 | game.Debris:AddItem(model, 5) | |
179 | model.Name = "smasheffects" | |
180 | model.Parent = workspace | |
181 | effspwn.Name = "spwnr" | |
182 | - | shok.BrickColor = BrickColor.new("Really black") |
182 | + | |
183 | effspwn.Anchored = true | |
184 | effspwn.CanCollide = false | |
185 | effspwn.Transparency = 1 | |
186 | effspwn.CFrame = (larm.CFrame + Vector3.new(math.random(-5,5),-0.45,math.random(-5,5))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0))) | |
187 | effspwn.Parent = model | |
188 | ||
189 | coroutine.resume(coroutine.create(function() | |
190 | local shok = Instance.new("Part") | |
191 | shok.Name = "whoosh" | |
192 | shok.BrickColor = BrickColor.new("Bright red") | |
193 | shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) | |
194 | shok.Size = Vector3.new(1, 1, 1) | |
195 | shok.Anchored = true | |
196 | shok.Material = "Neon" | |
197 | shok.Transparency = 0.1 | |
198 | shok.CanCollide = false | |
199 | shok.Parent = model | |
200 | game.Debris:AddItem(shok, 6) | |
201 | local mesh = Instance.new("SpecialMesh") | |
202 | mesh.MeshType = "FileMesh" | |
203 | mesh.MeshId = "rbxassetid://437347603" | |
204 | mesh.Scale = Vector3.new(0.08, 0.08, 0.2) | |
205 | mesh.Parent = shok | |
206 | for e = 1, 6 do | |
207 | wait() | |
208 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
209 | shok.Transparency = shok.Transparency + 0.1 | |
210 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4) | |
211 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-29)) | |
212 | hito(shok, 8, 9999, 3) | |
213 | end | |
214 | for e = 1, 6 do | |
215 | wait() | |
216 | mesh.Scale = mesh.Scale + Vector3.new(0.02, 0.03, 0.1) | |
217 | shok.Transparency = shok.Transparency + 0.09 | |
218 | shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -2), 0.4) | |
219 | shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(30)) | |
220 | hito(shok, 8, 9999, 3) | |
221 | end | |
222 | end)) | |
223 | end | |
224 | ------------------------------------------------------------------------- | |
225 | function hito(partoz, magn, dmg, debtim) | |
226 | for _, guy in pairs(workspace:GetChildren()) do | |
227 | if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then | |
228 | do | |
229 | local humz = guy:FindFirstChild("Humanoid") | |
230 | local hed = guy:FindFirstChild("Head") | |
231 | humz:TakeDamage(math.huge) | |
232 | local db = Instance.new("StringValue") | |
233 | db.Name = "alabo" | |
234 | db.Parent = hed | |
235 | - | local Colors = {"Really black", "Really black"} |
235 | + | |
236 | db:Destroy() | |
237 | end) | |
238 | end | |
239 | end | |
240 | end | |
241 | end | |
242 | ------------------------------------------------------------------------- | |
243 | GroundWave1 = function() | |
244 | local HandCF = torso.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) + torso.CFrame.lookVector * 0.8 | |
245 | local Colors = {"Bright red", "Bright red"} | |
246 | local wave = Instance.new("Part", char) | |
247 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
248 | wave.Anchored = true | |
249 | wave.Name = "Wave" | |
250 | wave.CanCollide = false | |
251 | wave.Locked = true | |
252 | wave.Size = Vector3.new(0.2, 0.2, 0.2) | |
253 | wave.TopSurface = "Smooth" | |
254 | wave.BottomSurface = "Smooth" | |
255 | wave.Transparency = 0.35 | |
256 | wave.CFrame = HandCF | |
257 | wm = Instance.new("SpecialMesh",wave) | |
258 | wm.MeshId = "rbxassetid://3270017" | |
259 | coroutine.wrap(function() | |
260 | for i = 1, 30, 1 do | |
261 | wm.Scale = Vector3.new(6 + i*2, 2 + i*2, 2+ i*2) | |
262 | wave.Size = wm.Scale | |
263 | wave.CFrame = HandCF | |
264 | wave.Transparency = i/30 | |
265 | wait() | |
266 | end | |
267 | wait() | |
268 | wave:Destroy() | |
269 | end)() | |
270 | end | |
271 | ---------------------------------------------------------------------------- | |
272 | --Serious mode aura. | |
273 | ||
274 | InForm = false | |
275 | local mouse = player:GetMouse() | |
276 | local Player = game.Players.LocalPlayer | |
277 | local Char = Player.Character | |
278 | local Torso = Char.Torso | |
279 | ||
280 | function Serious() | |
281 | for X = 1, 1 do wait() | |
282 | local Effect = Instance.new("Part") | |
283 | Effect.Name = "Effect" | |
284 | Effect.Parent = Torso | |
285 | Effect.CFrame = Torso.CFrame | |
286 | Effect.BrickColor = BrickColor.new("White") | |
287 | Effect.Shape = "Ball" | |
288 | Effect.Size = Vector3.new(1, 1, 1) | |
289 | Effect.Anchored = true | |
290 | Effect.Material = "Neon" | |
291 | Effect.CanCollide = false | |
292 | for loop = 1, 25 do wait() | |
293 | Effect.CFrame = Torso.CFrame | |
294 | Effect.Size = Effect.Size + Vector3.new(0.5) | |
295 | Effect.Transparency = Effect.Transparency + 0.04 | |
296 | end | |
297 | end | |
298 | ||
299 | - | Aura.Texture = "rbxassetid://660852712" |
299 | + | |
300 | Torso:FindFirstChild("Effect"):Remove() | |
301 | until Torso:FindFirstChild("Effect") == nil | |
302 | ||
303 | - | Aura.Color = ColorSequence.new(Color1, Color2) |
303 | + | |
304 | local Color1 = Color3.new(255, 0, 0) | |
305 | local Color2 = Color3.new(255, 0, 0) | |
306 | ||
307 | local Aura = Instance.new('ParticleEmitter') | |
308 | Aura.Name = "Aura" | |
309 | Aura.Texture = "rbxassetid://68421178" | |
310 | Aura.Parent = Torso | |
311 | Aura.LightEmission = 1 | |
312 | Aura.Transparency = NumberSequence.new(0.8) | |
313 | Aura.Size = NumberSequence.new(3.5) | |
314 | Aura.LockedToPart = false | |
315 | Aura.Lifetime = NumberRange.new(0.3) | |
316 | Aura.Rate = 100 | |
317 | Aura.Speed = NumberRange.new(8) | |
318 | Aura.EmissionDirection = "Top" | |
319 | ||
320 | InForm = true | |
321 | end | |
322 | ||
323 | ||
324 | function Base() | |
325 | InForm = false | |
326 | local Effect = Instance.new("Part") | |
327 | Effect.Name = "Effect" | |
328 | Effect.Parent = Torso | |
329 | Effect.CFrame = Torso.CFrame | |
330 | Effect.BrickColor = BrickColor.new("White") | |
331 | Effect.Shape = "Ball" | |
332 | Effect.Size = Vector3.new(8, 8, 8) | |
333 | Effect.Anchored = true | |
334 | Effect.Material = "Neon" | |
335 | Effect.CanCollide = false | |
336 | for loop = 1, 25 do wait() | |
337 | Effect.CFrame = Torso.CFrame | |
338 | Effect.Size = Effect.Size + Vector3.new(-0.5) | |
339 | Effect.Transparency = Effect.Transparency + 0.04 | |
340 | end | |
341 | repeat | |
342 | Torso:FindFirstChild("Effect"):Remove() | |
343 | until Torso:FindFirstChild("Effect") == nil | |
344 | ||
345 | for i, v in pairs(Torso:GetChildren()) do | |
346 | if v:IsA('ParticleEmitter') then | |
347 | v:Remove() | |
348 | end | |
349 | end | |
350 | end | |
351 | mouse.KeyUp:connect(function(key) | |
352 | if key == "x" and InForm == false then | |
353 | Serious() | |
354 | end | |
355 | end) | |
356 | - | p.BrickColor = BrickColor.new("Really black") |
356 | + | |
357 | if key == "z" and InForm == true then | |
358 | Base() | |
359 | end | |
360 | end) | |
361 | ------------------------------------------------------------------------------- | |
362 | for i = 1,8 do | |
363 | local p = Instance.new("Part",char) | |
364 | p.Anchored = false | |
365 | p.BrickColor = BrickColor.new("Magenta") | |
366 | p.CanCollide = false | |
367 | p.FormFactor="Custom" | |
368 | p.Material = "Neon" | |
369 | p.TopSurface = "SmoothNoOutlines" | |
370 | p.BottomSurface = "SmoothNoOutlines" | |
371 | p.RightSurface = "SmoothNoOutlines" | |
372 | p.LeftSurface = "SmoothNoOutlines" | |
373 | p.FrontSurface = "SmoothNoOutlines" | |
374 | p.BackSurface = "SmoothNoOutlines" | |
375 | ||
376 | p.Size = Vector3.new(2,.2,0.2) | |
377 | p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them | |
378 | mesh = Instance.new("BlockMesh",p) | |
379 | mesh.Scale = Vector3.new(1,1,4) | |
380 | local w = Instance.new("Motor6D",p) | |
381 | w.Part0 = aa1[i-1] and aa1[i-1][1] or torso | |
382 | w.Part1 = p | |
383 | - | soka.SoundId = "http://www.roblox.com/asset/?id = 447199232" |
383 | + | |
384 | - | soka.Volume = 3 |
384 | + | |
385 | aa1[i] = {p,p.CFrame} | |
386 | ||
387 | end | |
388 | game:service"RunService".Stepped:connect(function() | |
389 | simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1) | |
390 | end) | |
391 | soka = Instance.new("Sound",char) | |
392 | soka.SoundId = "http://www.roblox.com/asset/?id = 992331171" | |
393 | soka.Volume = 50 | |
394 | boom = Instance.new("Sound",char) | |
395 | boom.SoundId = "http://www.roblox.com/asset/?id = 447041606" | |
396 | boom.Volume = 3 | |
397 | boom2 = Instance.new("Sound",char) | |
398 | boom2.SoundId = "http://www.roblox.com/asset/?id = 449025737" | |
399 | boom2.Volume = 3 | |
400 | boom3 = Instance.new("Sound",char) | |
401 | boom3.SoundId = "http://www.roblox.com/asset/?id = 450719019" | |
402 | boom3.Volume = 3 | |
403 | woosh = Instance.new("Sound",char) | |
404 | woosh.Volume = 5 | |
405 | woosh.SoundId = "http://www.roblox.com/asset/?id = 210946558" | |
406 | tps = Instance.new("Sound",char) | |
407 | - | asd2.SoundId = "http://www.roblox.com/asset/?id = 386713054" |
407 | + | |
408 | tps.Volume = 1 | |
409 | asd = Instance.new("Sound",char) | |
410 | asd.SoundId = "http://www.roblox.com/asset/?id = 447310433" | |
411 | asd.Volume =1 | |
412 | asd1 = Instance.new("Sound",char) | |
413 | asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695" | |
414 | ||
415 | asd2 = Instance.new("Sound",char) | |
416 | asd2.SoundId = "http://www.roblox.com/asset/?id = 568927358" | |
417 | asd2.Looped = true | |
418 | asd2.Volume = 5 | |
419 | asd3 = Instance.new("Sound",char) | |
420 | asd3.SoundId = "http://www.roblox.com/asset/?id = 378387996" | |
421 | asd3.Volume = 5 | |
422 | asd3.Looped = true | |
423 | asd4 = Instance.new("Sound",char) | |
424 | asd4.SoundId = "http://www.roblox.com/asset/?id = 413040330" | |
425 | asd4.Volume = 5 | |
426 | asd4.Looped = true | |
427 | asd5 = Instance.new("Sound",char) | |
428 | asd5.SoundId = "http://www.roblox.com/asset/?id = 362252261" | |
429 | asd5.Looped = true | |
430 | asd6 = Instance.new("Sound",char) | |
431 | asd6.SoundId = "http://www.roblox.com/asset/?id = 401258325" | |
432 | asd6.Looped = true | |
433 | function play(play) | |
434 | asd:Play() | |
435 | wait(0.05) | |
436 | --asd1:Play() | |
437 | end | |
438 | ------------------------- | |
439 | function stream(origin,dir,length,size) | |
440 | local parts = {} | |
441 | for i = 1,length do | |
442 | local p = Instance.new("Part",char) | |
443 | p.Anchored = true | |
444 | p.Transparency = 0.5 | |
445 | p.TopSurface = 0 | |
446 | p.BottomSurface = 0 | |
447 | p.CanCollide = false | |
448 | p.Material = "Neon" | |
449 | p.BrickColor = BrickColor.new("Really black") | |
450 | p.Size = Vector3.new(50,50,50) -- for now | |
451 | p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) | |
452 | parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)} | |
453 | game:GetService("Debris"):AddItem(p,3) | |
454 | end | |
455 | spawn(function() | |
456 | while parts do | |
457 | for i,v in pairs(parts) do | |
458 | if v[1].Parent == char then | |
459 | v[1].CFrame = v[1].CFrame*v[2] | |
460 | else | |
461 | parts = nil | |
462 | break | |
463 | end | |
464 | end | |
465 | wait(0.02) | |
466 | end | |
467 | end) | |
468 | end | |
469 | m.KeyDown:connect(function(k) | |
470 | if k == "g" then | |
471 | asd2:Play() | |
472 | ||
473 | ||
474 | end | |
475 | end) | |
476 | ||
477 | m.KeyDown:connect(function(k) | |
478 | if k == "r" then | |
479 | ||
480 | asd4:Play() | |
481 | end | |
482 | end) | |
483 | m.KeyDown:connect(function(k) | |
484 | if k == "q" then | |
485 | ||
486 | asd3:Play() | |
487 | end | |
488 | end) | |
489 | mouse = p:GetMouse() | |
490 | m.KeyDown:connect(function(k) | |
491 | if k:byte() == 48 then | |
492 | ||
493 | hum.WalkSpeed = 200 | |
494 | GroundWave1() | |
495 | boom:Play() | |
496 | end | |
497 | end) | |
498 | - | char.Head.face.Texture = "rbxassetid://444037452" |
498 | + | |
499 | if k:byte() == 50 then | |
500 | ||
501 | soka:Play() | |
502 | end | |
503 | end) | |
504 | - | char.Head.face.Texture = "rbxassetid://340355951" |
504 | + | |
505 | if k:byte() == 52 then | |
506 | ||
507 | char.Head.face.Texture = "rbxassetid://288287250" | |
508 | end | |
509 | end) | |
510 | m.KeyDown:connect(function(k) | |
511 | if k:byte() == 51 then | |
512 | ||
513 | char.Head.face.Texture = "rbxassetid://288287250" | |
514 | end | |
515 | end) | |
516 | m.KeyUp:connect(function(k) | |
517 | if k:byte() == 48 then | |
518 | ||
519 | hum.WalkSpeed = 16 | |
520 | end | |
521 | end) | |
522 | p.Chatted:connect(function(m) | |
523 | if m == "Ok." then | |
524 | soka:Play() | |
525 | end | |
526 | end) | |
527 | m.KeyDown:connect(function(key) | |
528 | if key == "j" then | |
529 | if tp == true then | |
530 | tp = false | |
531 | tps:Play() | |
532 | char.Head.face.Parent = game.Lighting | |
533 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0.7 | |
534 | end | |
535 | ||
536 | end | |
537 | wait(0.2) | |
538 | for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 | |
539 | end | |
540 | ||
541 | end | |
542 | char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0) | |
543 | char.HumanoidRootPart.Transparency = 1 | |
544 | game.Lighting.face.Parent = char.Head | |
545 | wait(0.1) | |
546 | ||
547 | tp = true | |
548 | ||
549 | ||
550 | end | |
551 | end | |
552 | end) | |
553 | ||
554 | ||
555 | m.KeyDown:connect(function(key) | |
556 | if key == "t" then | |
557 | if punch2 == true then | |
558 | punch2 = false | |
559 | punch = false | |
560 | ||
561 | local ChatService = game:GetService("Chat") | |
562 | ||
563 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
564 | ChatService:Chat(char.Head, "...") | |
565 | wait(0.5) | |
566 | local ChatService = game:GetService("Chat") | |
567 | ||
568 | ||
569 | ChatService:Chat(char.Head ,"Dark...") | |
570 | wait(0.5) | |
571 | local ChatService = game:GetService("Chat") | |
572 | ||
573 | ||
574 | ChatService:Chat(char.Head, "PUNCH!") | |
575 | neck.C0 = neckp | |
576 | wait(0.3) | |
577 | org = char.Torso["Left Shoulder"].C0 | |
578 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
579 | wait() | |
580 | killbrick2 = Instance.new("Part",char) | |
581 | killbrick2.Size = Vector3.new(80,80,9000) | |
582 | killbrick2.Transparency = 1 | |
583 | ||
584 | killbrick2.CanCollide = true | |
585 | wait(0.1) | |
586 | killbrick2.CanCollide = false | |
587 | ||
588 | killbrick2.Anchored = true | |
589 | ||
590 | killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005) | |
591 | ||
592 | killbrick2.Touched:connect(function(h) | |
593 | local x = h.Parent:FindFirstChild("Humanoid")-- lol | |
594 | if x then | |
595 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
596 | safe = true | |
597 | else safe = false | |
598 | end | |
599 | if x then | |
600 | if safe == false then | |
601 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900 | |
602 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
603 | boom:Play() | |
604 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
605 | ||
606 | ||
607 | wait() | |
608 | x.Parent:BreakJoints() | |
609 | wait() | |
610 | safe = true | |
611 | end | |
612 | end | |
613 | end | |
614 | end) | |
615 | ||
616 | ||
617 | ||
618 | ||
619 | ||
620 | ||
621 | ||
622 | ||
623 | local rng = Instance.new("Part", char) | |
624 | rng.Anchored = true | |
625 | rng.BrickColor = BrickColor.new("Bright red") | |
626 | rng.CanCollide = false | |
627 | rng.FormFactor = 3 | |
628 | rng.Name = "Ring" | |
629 | rng.Size = Vector3.new(3, 3, 3) | |
630 | rng.Transparency = 0.8 | |
631 | rng.TopSurface = 0 | |
632 | - | rng1.BrickColor = BrickColor.new("Really black") |
632 | + | |
633 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
634 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
635 | local rngm = Instance.new("SpecialMesh", rng) | |
636 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
637 | rngm.Scale = Vector3.new(3, 3, 3) | |
638 | ||
639 | local rng1 = Instance.new("Part", char) | |
640 | rng1.Anchored = true | |
641 | rng1.BrickColor = BrickColor.new("Bright red") | |
642 | rng1.CanCollide = false | |
643 | rng1.FormFactor = 3 | |
644 | rng1.Name = "Ring" | |
645 | rng1.Size = Vector3.new(3, 3, 3) | |
646 | rng1.Transparency = 0.8 | |
647 | rng1.TopSurface = 0 | |
648 | rng1.BottomSurface = 0 | |
649 | rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
650 | rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
651 | local rngm1 = Instance.new("SpecialMesh", rng1) | |
652 | rngm1.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
653 | - | rng2.BrickColor = BrickColor.new("Really black") |
653 | + | |
654 | ||
655 | local p = (torso.CFrame*CFrame.new(-20,0,3)) | |
656 | stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) | |
657 | local p = (torso.CFrame*CFrame.new(20,0,3)) | |
658 | stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) | |
659 | ||
660 | local rng2 = Instance.new("Part", char) | |
661 | rng2.Anchored = true | |
662 | rng2.BrickColor = BrickColor.new("Bright red") | |
663 | rng2.CanCollide = false | |
664 | rng2.FormFactor = 3 | |
665 | rng2.Name = "Ring" | |
666 | rng2.Size = Vector3.new(3, 3, 3) | |
667 | rng2.Transparency = 0.8 | |
668 | rng2.TopSurface = 0 | |
669 | rng2.BottomSurface = 0 | |
670 | rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
671 | rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
672 | local rngm2 = Instance.new("SpecialMesh", rng2) | |
673 | rngm2.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
674 | rngm2.Scale = Vector3.new(3, 3, 3) | |
675 | wait(0.1) | |
676 | ||
677 | boom3:Play() | |
678 | coroutine.wrap(function() | |
679 | for i = 1, 35, 0.5 do | |
680 | ||
681 | ||
682 | ||
683 | ||
684 | ||
685 | rngm.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
686 | rngm1.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
687 | rngm2.Scale = Vector3.new(50 + i*2, 50 + i*2, 50+ i*2) | |
688 | rng.Transparency = i/35 | |
689 | rng1.Transparency = i/35 | |
690 | rng2.Transparency = i/35 | |
691 | wait() | |
692 | end | |
693 | wait() | |
694 | rng:Destroy() | |
695 | rng1:Destroy() | |
696 | rng2:Destroy() | |
697 | killbrick2:Remove() | |
698 | wait(0.1) | |
699 | char.Torso["Left Shoulder"].C0 = org | |
700 | wait(0.3) | |
701 | punch2 = true | |
702 | punch = true | |
703 | wait() | |
704 | ||
705 | ||
706 | end)() | |
707 | ||
708 | ||
709 | ||
710 | end | |
711 | ||
712 | ||
713 | wait(.1) | |
714 | ||
715 | ||
716 | end | |
717 | end) | |
718 | ||
719 | ||
720 | ||
721 | ||
722 | ||
723 | m.KeyDown:connect(function(key) | |
724 | if key == "k" then | |
725 | if punch == true then | |
726 | punch = false | |
727 | org = char.Torso["Left Shoulder"].C0 | |
728 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
729 | killbrick = Instance.new("Part",char) | |
730 | killbrick.Size = Vector3.new(4,1,4) | |
731 | killbrick.Transparency = 1 | |
732 | killbrick:BreakJoints() | |
733 | killbrick.CanCollide = false | |
734 | local wel = Instance.new("Weld",killbrick) | |
735 | wel.Part0 = killbrick | |
736 | wel.Part1 = char["Left Arm"] | |
737 | wel.C0 = CFrame.new(0,1,0) | |
738 | force = math.huge | |
739 | ||
740 | killbrick.Touched:connect(function(h) | |
741 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
742 | local stop = h.Parent.Torso.Velocity | |
743 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
744 | safe = true | |
745 | else safe = false | |
746 | end | |
747 | if x then | |
748 | if safe == false then | |
749 | if fling == true then | |
750 | force = math.huge | |
751 | ||
752 | end | |
753 | if fling == false then | |
754 | force = math.huge | |
755 | ||
756 | ChatService:Chat(char.Head, "Dark Punch!") | |
757 | neck.C0 = neckp | |
758 | wait(0.1) | |
759 | end | |
760 | ||
761 | ||
762 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 | |
763 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
764 | boom:Play() | |
765 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
766 | ||
767 | ||
768 | wait() | |
769 | x:TakeDamage(math.huge) | |
770 | wait() | |
771 | safe = true | |
772 | bodyforc:Remove() | |
773 | h.Parent.Torso.Velocity = stop | |
774 | end | |
775 | end | |
776 | end) | |
777 | ||
778 | ||
779 | ||
780 | ||
781 | ||
782 | ||
783 | ||
784 | ||
785 | ||
786 | ||
787 | local rng = Instance.new("Part", char) | |
788 | rng.Anchored = true | |
789 | rng.BrickColor = BrickColor.new("Bright red") | |
790 | rng.CanCollide = false | |
791 | rng.FormFactor = 3 | |
792 | rng.Name = "Ring" | |
793 | rng.Size = Vector3.new(1, 1, 1) | |
794 | rng.Transparency = 0.8 | |
795 | rng.TopSurface = 0 | |
796 | rng.BottomSurface = 0 | |
797 | rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0) | |
798 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
799 | local rngm = Instance.new("SpecialMesh", rng) | |
800 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
801 | rngm.Scale = Vector3.new(3, 3, 3) | |
802 | wait(0.1) | |
803 | ||
804 | boom2:Play() | |
805 | coroutine.wrap(function() | |
806 | for i = 1, 10, .4 do | |
807 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
808 | rng.Transparency = i/10 | |
809 | wait() | |
810 | end | |
811 | wait() | |
812 | rng:Destroy() | |
813 | killbrick:Remove() | |
814 | char.Torso["Left Shoulder"].C0 = org | |
815 | wait(0.1) | |
816 | ||
817 | punch = true | |
818 | wait() | |
819 | end)() | |
820 | ||
821 | ||
822 | ||
823 | end | |
824 | ||
825 | ||
826 | wait(.1) | |
827 | ||
828 | ||
829 | end | |
830 | end) | |
831 | ||
832 | m.KeyDown:connect(function(key) | |
833 | if key == "h" then | |
834 | if punch3 == true then | |
835 | punch3 = false | |
836 | eh = char.Torso["Right Shoulder"].C0 | |
837 | char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.new(0.3,0,0) * CFrame.Angles(0,0,math.rad(90)) | |
838 | killbrick3 = Instance.new("Part",char) | |
839 | killbrick3.Size = Vector3.new(4,1,4) | |
840 | killbrick3.Transparency = 1 | |
841 | killbrick3:BreakJoints() | |
842 | killbrick3.CanCollide = false | |
843 | local wel = Instance.new("Weld",killbrick3) | |
844 | wel.Part0 = killbrick3 | |
845 | wel.Part1 = char["Right Arm"] | |
846 | wel.C0 = CFrame.new(0,1,0) | |
847 | force = math.huge | |
848 | ||
849 | killbrick3.Touched:connect(function(h) | |
850 | local x = h.Parent:FindFirstChildOfClass("Humanoid") | |
851 | local stop = h.Parent.Torso.Velocity | |
852 | if x.Parent.Name == game.Players.LocalPlayer.Name then | |
853 | safe = true | |
854 | else safe = false | |
855 | end | |
856 | if x then | |
857 | if safe == false then | |
858 | if fling == true then | |
859 | force = math.huge | |
860 | ||
861 | end | |
862 | if fling == false then | |
863 | force = math.huge | |
864 | ||
865 | ChatService:Chat(char.Head, "Take this!") | |
866 | neck.C0 = neckp | |
867 | wait(0.1) | |
868 | end | |
869 | ||
870 | ||
871 | h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 50000 | |
872 | local bodyforc = Instance.new("BodyForce", h.Parent.Torso) | |
873 | boom:Play() | |
874 | bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0) | |
875 | ||
876 | ||
877 | wait(0.2) | |
878 | x:TakeDamage(math.huge) | |
879 | wait() | |
880 | safe = true | |
881 | bodyforc:Remove() | |
882 | h.Parent.Torso.Velocity = stop | |
883 | end | |
884 | end | |
885 | end) | |
886 | ||
887 | ||
888 | ||
889 | ||
890 | ||
891 | ||
892 | ||
893 | ||
894 | ||
895 | ||
896 | local rng = Instance.new("Part", char) | |
897 | rng.Anchored = true | |
898 | rng.BrickColor = BrickColor.new("Really black") | |
899 | rng.CanCollide = false | |
900 | rng.FormFactor = 3 | |
901 | rng.Name = "Ring" | |
902 | rng.Size = Vector3.new(1, 1, 1) | |
903 | rng.Transparency = 0.8 | |
904 | rng.TopSurface = 0 | |
905 | rng.BottomSurface = 0 | |
906 | rng.CFrame = char["Right Arm"].CFrame * CFrame.new(0,-2,0) | |
907 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
908 | local rngm = Instance.new("SpecialMesh", rng) | |
909 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
910 | rngm.Scale = Vector3.new(3, 3, 3) | |
911 | wait(0.1) | |
912 | ||
913 | boom2:Play() | |
914 | coroutine.wrap(function() | |
915 | for i = 1, 10, .4 do | |
916 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
917 | rng.Transparency = i/10 | |
918 | wait() | |
919 | end | |
920 | wait() | |
921 | rng:Destroy() | |
922 | killbrick3:Remove() | |
923 | char.Torso["Right Shoulder"].C0 = eh | |
924 | wait(0.1) | |
925 | ||
926 | punch3 = true | |
927 | wait() | |
928 | end)() | |
929 | ||
930 | ||
931 | ||
932 | end | |
933 | ||
934 | ||
935 | wait(.1) | |
936 | ||
937 | ||
938 | end | |
939 | end) | |
940 | ||
941 | ||
942 | ||
943 | ||
944 | ||
945 | ||
946 | ||
947 | ||
948 | ||
949 | ||
950 | ||
951 | ||
952 | m.KeyDown:connect(function(key) | |
953 | if key == "m" then | |
954 | if jump == true then | |
955 | jump = false | |
956 | ||
957 | ||
958 | local rng = Instance.new("Part", char) | |
959 | rng.Anchored = true | |
960 | rng.BrickColor = BrickColor.new("Bright red") | |
961 | rng.CanCollide = false | |
962 | rng.FormFactor = 3 | |
963 | rng.Name = "Ring" | |
964 | rng.Size = Vector3.new(3, 3, 3) | |
965 | rng.Transparency = 0.35 | |
966 | rng.TopSurface = 0 | |
967 | rng.BottomSurface = 0 | |
968 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
969 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
970 | local rngm = Instance.new("SpecialMesh", rng) | |
971 | rngm.MeshId = "http://www.roblox.com/asset/?id=9982590" | |
972 | rngm.Scale = Vector3.new(3, 3, 3) | |
973 | wait(0.1) | |
974 | BV = Instance.new("BodyVelocity", torso) | |
975 | BV.maxForce = Vector3.new(0,20000,0) | |
976 | BV.P = 1000 | |
977 | BV.velocity = Vector3.new(0,200,0) | |
978 | boom:Play() | |
979 | coroutine.wrap(function() | |
980 | for i = 1, 60, 2 do | |
981 | rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
982 | rng.Transparency = i/60 | |
983 | wait() | |
984 | end | |
985 | wait() | |
986 | rng:Destroy() | |
987 | ||
988 | hum.WalkSpeed = 50 | |
989 | wait(1) | |
990 | ||
991 | for i,v in pairs(torso:GetChildren()) do if v:IsA("BodyVelocity") then | |
992 | v:Destroy() local jumping2 = true falling = true wait(0.3) jumping2 = false falling = false wait(1.7) jump = true hum.WalkSpeed = 16 falling = false | |
993 | end end | |
994 | wait() | |
995 | end)() | |
996 | ||
997 | ||
998 | ||
999 | end | |
1000 | ||
1001 | ||
1002 | wait(.1) | |
1003 | ||
1004 | ||
1005 | end | |
1006 | end) | |
1007 | ||
1008 | ||
1009 | mouse.KeyDown:connect(function(key) | |
1010 | if key == "b" then | |
1011 | multipunch = true | |
1012 | boom:Play() | |
1013 | local ChatService = game:GetService("Chat") | |
1014 | ||
1015 | neck.C0 = neck.C0 * CFrame.Angles(0,0,0) | |
1016 | ChatService:Chat(char.Head, "Consecutive Dark Punches.") | |
1017 | wait() | |
1018 | local ChatService = game:GetService("Chat") | |
1019 | sss = char.Torso["Left Shoulder"].C0 | |
1020 | char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90)) | |
1021 | coroutine.resume(coroutine.create(function() | |
1022 | local s = 0 | |
1023 | repeat | |
1024 | s = s + 1 | |
1025 | sqe() | |
1026 | wait(0.03) | |
1027 | until not multipunch | |
1028 | end)) | |
1029 | mouse.KeyUp:connect(function(key) | |
1030 | if key == "b" then | |
1031 | multipunch = false | |
1032 | char.Torso["Left Shoulder"].C0 = sss | |
1033 | wait(0.3) | |
1034 | multipunch = true | |
1035 | wait(0.1) | |
1036 | end | |
1037 | end) | |
1038 | end | |
1039 | end) | |
1040 | ||
1041 | plr = game.Players.LocalPlayer | |
1042 | mouse = plr:GetMouse() | |
1043 | --This has to be a local script. | |
1044 | function onClicked() | |
1045 | local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace. | |
1046 | x.Position = mouse.Hit.p | |
1047 | x.BlastRadius = 5 | |
1048 | x.BlastPressure = math.huge | |
1049 | end | |
1050 | mouse.Button1Down:connect(onClicked) | |
1051 | m.KeyDown:connect(function(k) | |
1052 | if k == "f" then | |
1053 | asd3:Stop() | |
1054 | asd2:Stop() | |
1055 | asd4:Stop() | |
1056 | asd6:Stop() | |
1057 | asd5:Stop() | |
1058 | end | |
1059 | end) | |
1060 | game:GetService("RunService").RenderStepped:connect(function() | |
1061 | hum.MaxHealth = hum.MaxHealth * math.huge | |
1062 | hum.Health = hum.MaxHealth * math.huge | |
1063 | char.Humanoid.MaxHealth = math.huge | |
1064 | wait() | |
1065 | char.Humanoid.Health = math.huge | |
1066 | end) |