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