SHOW:
|
|
- or go back to the newest paste.
1 | d --[[ UBERIFY! Made By: WafflesAreVeryGood If leaked, thanks a fucking lot.]]-- | |
2 | --[[ | |
3 | q = Left punch C | |
4 | e = Right punch C | |
5 | r = Beam C | |
6 | t = Double beam C | |
7 | y = Pick up then throw C | |
8 | p = Play music C | |
9 | l = Stop music C | |
10 | f = Stop scripts near you Failure. | |
11 | h = Barrage C | |
12 | j = Enable/Disable UBERIFY! C(maybe) | |
13 | k = Backflip C | |
14 | z = Inincerate C | |
15 | x = Record frame C | |
16 | c = Play C | |
17 | v = Shield C | |
18 | b = EX-U-PLO-SION! C | |
19 | n = Dash attack C | |
20 | m = Huge jump C | |
21 | g = Eye shot C | |
22 | shift = Sprint with cool effect and stuff | |
23 | ||
24 | --]] | |
25 | local plr = game.Players.LocalPlayer | |
26 | local char = plr.Character | |
27 | local mouse = plr:GetMouse() | |
28 | local torso = char.Torso | |
29 | local rs = torso["Right Shoulder"] | |
30 | local ls = torso["Left Shoulder"] | |
31 | local rh = torso["Right Hip"] | |
32 | local lh = torso["Left Hip"] | |
33 | local rj = char.HumanoidRootPart.RootJoint | |
34 | local neck = torso.Neck | |
35 | local animpose = "Idle" | |
36 | local attacking = false | |
37 | local cananim = true | |
38 | local rage = false | |
39 | local shield = nil | |
40 | local sprint = false | |
41 | local canrage = true | |
42 | local legs = false | |
43 | local bc = char:WaitForChild("Body Colors") | |
44 | local multiplier = 1 | |
45 | local lac = char["Body Colors"].LeftArmColor | |
46 | local rac = char["Body Colors"].RightArmColor | |
47 | local rlc = char["Body Colors"].RightArmColor | |
48 | local llc = char["Body Colors"].LeftLegColor | |
49 | local hc = char["Body Colors"].HeadColor | |
50 | local tc = char["Body Colors"].TorsoColor | |
51 | local humanoid = char:FindFirstChildOfClass("Humanoid") | |
52 | local huge = Vector3.new(math.huge,math.huge,math.huge) | |
53 | local mobs = Instance.new("Sound", char) | |
54 | ||
55 | mobs.SoundId = "rbxassetid://172194740" | |
56 | mobs.Looped = true | |
57 | mobs.Volume = 8 | |
58 | mobs:Play() | |
59 | local shirt = nil | |
60 | local pants = nil | |
61 | local speed = 100 | |
62 | local push = 100 | |
63 | if char:FindFirstChild("Animate") then char.Animate:Destroy() end | |
64 | if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end | |
65 | local particlecolor = ColorSequence.new(Color3.new(1,1,1)) | |
66 | function swait(t) | |
67 | if t == nil or t == 0 then | |
68 | game:service('RunService').Stepped:wait(0) | |
69 | else | |
70 | for i = 0, t do | |
71 | game:service('RunService').Stepped:wait(0) | |
72 | end | |
73 | end | |
74 | end | |
75 | function hurt(hit, dmg) | |
76 | if hit.Parent then | |
77 | if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy() end | |
78 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
79 | if hum then | |
80 | if hum.Parent.Name ~= plr.Name then | |
81 | if dmg == "Kill" or hum.Health > 100000 then | |
82 | hit.Parent:BreakJoints() | |
83 | return true | |
84 | else | |
85 | if math.random(0, 100) == 50 then | |
86 | hum.Health = hum.Health - dmg*multiplier*2.5 | |
87 | else | |
88 | hum.Health = hum.Health -dmg*multiplier | |
89 | end | |
90 | return true | |
91 | end | |
92 | end | |
93 | end | |
94 | end | |
95 | end | |
96 | function soundeffect(id, volume, speed, parent) | |
97 | spawn(function() | |
98 | local s = Instance.new("Sound") | |
99 | s.SoundId = id | |
100 | s.Volume = volume | |
101 | s.PlaybackSpeed = speed | |
102 | s.Parent = parent | |
103 | s:Play() | |
104 | repeat wait() until not s.Playing | |
105 | s:Destroy() | |
106 | end) | |
107 | end | |
108 | function gethum(obj) | |
109 | if obj.Parent then | |
110 | if obj.Parent:FindFirstChild("Humanoid") then | |
111 | if obj.Parent.Name ~= plr.Name then | |
112 | return obj.Parent:FindFirstChildOfClass("Humanoid") | |
113 | end | |
114 | end | |
115 | end | |
116 | end | |
117 | function smooth(obj) | |
118 | local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"} | |
119 | for i,v in pairs(sides) do | |
120 | obj[v.."Surface"] = "SmoothNoOutlines" | |
121 | end | |
122 | end | |
123 | function fade(obj, dest, grow) | |
124 | spawn(function() | |
125 | local oldcf = obj.CFrame | |
126 | for i = 0, 10 do | |
127 | if grow then | |
128 | obj.Size = obj.Size +Vector3.new(1,1,1) | |
129 | obj.CFrame = oldcf | |
130 | end | |
131 | obj.Transparency = obj.Transparency +0.1 | |
132 | swait() | |
133 | end | |
134 | if dest then | |
135 | obj:Destroy() | |
136 | end | |
137 | end) | |
138 | end | |
139 | local keyamount = 0 | |
140 | mouse.KeyDown:connect(function(key) | |
141 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
142 | keyamount = keyamount + 1 | |
143 | if animpose ~= "Falling" then | |
144 | if keyamount > 3 then keyamount = 0 end | |
145 | animpose = "Walking" | |
146 | end | |
147 | end | |
148 | end) | |
149 | mouse.KeyUp:connect(function(key) | |
150 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
151 | keyamount = keyamount - 1 | |
152 | if keyamount < 0 then keyamount = 0 end | |
153 | if keyamount == 0 then | |
154 | animpose = "Idle" | |
155 | end | |
156 | end | |
157 | end) | |
158 | wait(1) | |
159 | for i,v in pairs(char:children()) do | |
160 | if v:IsA("Accessory") then | |
161 | v:Destroy() | |
162 | end | |
163 | end | |
164 | local p = Instance.new("Part") | |
165 | p.CanCollide = false | |
166 | p.Size = Vector3.new(0.2,0.2,0.2) | |
167 | smooth(p) | |
168 | p.Material = "Neon" | |
169 | p.BrickColor = BrickColor.new("Institutional white") | |
170 | p.CFrame = char.Head.CFrame | |
171 | p.Name = "Right Eye" | |
172 | local m = Instance.new("SpecialMesh", p) | |
173 | m.MeshType = "Sphere" | |
174 | m.Scale = Vector3.new(0.7,1.1,0.7) | |
175 | local p2 = p:Clone() | |
176 | p2.Name = "Left Eye" | |
177 | local reye = p | |
178 | local leye = p2 | |
179 | local reyeweld = w | |
180 | local leyeweld = w2 | |
181 | reye.Parent = char | |
182 | leye.Parent = char | |
183 | local w2 = Instance.new("Weld", p2) | |
184 | w2.Part0 = p2 | |
185 | w2.Part1 = char.Head | |
186 | w2.C0 = CFrame.new(0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
187 | local w = Instance.new("Weld", p) | |
188 | w.Part0 = p | |
189 | w.Part1 = char.Head | |
190 | w.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
191 | local p = Instance.new("Part") | |
192 | p.Size = Vector3.new(0.2,0.2,0.2) | |
193 | p.CanCollide = false | |
194 | p.CFrame = char.Head.CFrame | |
195 | p.Transparency = 1 | |
196 | p.Name = "Effect" | |
197 | p.Parent = char | |
198 | local w = Instance.new("Weld", p) | |
199 | w.Name = "justaweld" | |
200 | w.Part0 = p | |
201 | w.Part1 = char.Head | |
202 | w.C0 = CFrame.new(-0.109999999, -0.25, 0.550000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
203 | local effect = Instance.new("ParticleEmitter") | |
204 | effect.Color = ColorSequence.new(Color3.new(250/255,80/255,1/255)) | |
205 | effect.LightEmission = 0.7 | |
206 | effect.Size = NumberSequence.new(0.3) | |
207 | effect.Texture = "rbxassetid://243664672" | |
208 | effect.Transparency = NumberSequence.new(0.5) | |
209 | effect.Lifetime = NumberRange.new(1.5) | |
210 | effect.Rate = 500 | |
211 | effect.Speed = NumberRange.new(3) | |
212 | effect.Enabled = false | |
213 | effect.Parent = p | |
214 | local effectp = p | |
215 | mouse.KeyDown:connect(function(key) | |
216 | if key == "p" then | |
217 | if not char:FindFirstChild("Sound") then | |
218 | mobs = Instance.new("Sound", char) | |
219 | mobs.SoundId = "rbxassetid://189224548" | |
220 | mobs.Looped = true | |
221 | mobs.Volume = 8 | |
222 | end | |
223 | mobs:Stop() | |
224 | mobs:Play() | |
225 | end | |
226 | end) | |
227 | mouse.KeyDown:connect(function(key) | |
228 | if key == "l" then | |
229 | if mobs then | |
230 | mobs:Stop() | |
231 | end | |
232 | a = function(b) | |
233 | for i,v in pairs(b:children()) do | |
234 | if v:IsA("Sound") and v.Parent ~= char then | |
235 | v:Destroy() | |
236 | end | |
237 | a(v) | |
238 | end | |
239 | end | |
240 | a(workspace) | |
241 | end | |
242 | end) | |
243 | mouse.KeyDown:connect(function(key) | |
244 | if key == "j" and not rage and canrage then | |
245 | rage = true | |
246 | canrage = false | |
247 | local truenumber = 0 | |
248 | for i = 0, 1 do | |
249 | reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,0,0.7),0.6) | |
250 | leye.Mesh.Scale = reye.Mesh.Scale | |
251 | wait() | |
252 | end | |
253 | humanoid.MaxHealth = 100000 humanoid.Name = "yahaha" | |
254 | wait() | |
255 | humanoid.Health = 100000 | |
256 | multiplier = 5 | |
257 | push = 200 | |
258 | reye.BrickColor = BrickColor.new("Deep orange") | |
259 | leye.BrickColor = BrickColor.new("Deep orange") | |
260 | wait(0.1) | |
261 | mobs.SoundId = "rbxassetid://652669245" | |
262 | for i = 0, 1 do | |
263 | reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,1.1,0.7),0.6) | |
264 | leye.Mesh.Scale = reye.Mesh.Scale | |
265 | wait() | |
266 | end | |
267 | wait(0.3) | |
268 | effect.Enabled = true | |
269 | canrage = true | |
270 | particlecolor = ColorSequence.new(Color3.new(250/255,80/255,1/255)) | |
271 | repeat wait() | |
272 | truenumber = truenumber+0.05 | |
273 | local num = math.sin(truenumber)*25 | |
274 | effectp.justaweld.C0 = CFrame.new(effectp.justaweld.C0.p) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(num)) | |
275 | until not rage | |
276 | end | |
277 | if key == "j" and rage and canrage then | |
278 | canrage = false | |
279 | for i = 0, 1 do | |
280 | reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,0,0.7),0.6) | |
281 | leye.Mesh.Scale = reye.Mesh.Scale | |
282 | wait() | |
283 | end | |
284 | rage = false | |
285 | reye.BrickColor = BrickColor.new("Institutional white") | |
286 | leye.BrickColor = BrickColor.new("Institutional white") | |
287 | wait(0.1) | |
288 | mobs.SoundId = "rbxassetid://652669245" | |
289 | for i = 0, 1 do | |
290 | reye.Mesh.Scale = reye.Mesh.Scale:Lerp(Vector3.new(0.7,1.1,0.7),0.6) | |
291 | leye.Mesh.Scale = reye.Mesh.Scale | |
292 | wait() | |
293 | end | |
294 | effect.Enabled = false | |
295 | canrage = true | |
296 | particlecolor = ColorSequence.new(Color3.new(1,1,1)) | |
297 | end | |
298 | end) | |
299 | mouse.KeyDown:connect(function(key) | |
300 | if key == "g" and not attacking then | |
301 | attacking = true | |
302 | local p = Instance.new("Part") | |
303 | p.Transparency = 1 | |
304 | p.Anchored = true | |
305 | p.Size = Vector3.new(2,2,2) | |
306 | p.CanCollide = false | |
307 | local pe = Instance.new("ParticleEmitter", p) | |
308 | pe.Color = particlecolor | |
309 | pe.LightEmission = 0.7 | |
310 | pe.Size = NumberSequence.new(2) | |
311 | pe.Texture = "rbxassetid://243664672" | |
312 | pe.Transparency = NumberSequence.new(0.5) | |
313 | pe.Lifetime = NumberRange.new(0.1) | |
314 | pe.Rate = 500 | |
315 | pe.Speed = NumberRange.new(3) | |
316 | p.CFrame = reye.CFrame | |
317 | p.Parent = workspace | |
318 | p.Anchored = false | |
319 | local bv = Instance.new("BodyVelocity", p) | |
320 | bv.MaxForce = huge | |
321 | bv.Velocity = CFrame.new(char.Torso.Position, mouse.Hit.p).lookVector*push | |
322 | p.Touched:connect(function(hit) | |
323 | hurt(hit, math.random(5,10)) | |
324 | end) | |
325 | game.Debris:AddItem(p, 4) | |
326 | attacking = false | |
327 | end | |
328 | end) | |
329 | mouse.KeyDown:connect(function(key) | |
330 | if key == "q" and not attacking then | |
331 | attacking = true | |
332 | legs = true | |
333 | local con = char["Left Arm"].Touched:connect(function(hit) | |
334 | if hurt(hit, math.random(15,30)) then | |
335 | local bv = Instance.new("BodyVelocity") | |
336 | bv.MaxForce = huge | |
337 | bv.Velocity = -char["Left Arm"].CFrame.upVector*50 | |
338 | bv.Parent = hit | |
339 | game.Debris:AddItem(bv, 0.5) | |
340 | end | |
341 | end) | |
342 | for i = 0, 0.7, 0.1 do | |
343 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0348995551, 0.258661419, -0.965337634, -0.99939239, -0.00903249159, 0.0337103829, 1.15483999e-007, 0.965927243, 0.258819371), 0.8) | |
344 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.8) | |
345 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.94551903, 0.325568229, 0, 0, 0, 1, 0.325568229, 0.94551903, 0), 0.8) | |
346 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.920505404, -0.390731245, -0, 0, 0, 1, -0.390731245, 0.920505404, 0), 0.8) | |
347 | wait() | |
348 | end | |
349 | con:disconnect() | |
350 | wait(0.05) | |
351 | attacking = false | |
352 | legs = false | |
353 | end | |
354 | end) | |
355 | mouse.KeyDown:connect(function(key) | |
356 | if key == "e" and not attacking then | |
357 | attacking = true | |
358 | legs = true | |
359 | local con = char["Right Arm"].Touched:connect(function(hit) | |
360 | if hurt(hit, math.random(15,30)) then | |
361 | local bv = Instance.new("BodyVelocity") | |
362 | bv.MaxForce = huge | |
363 | bv.Velocity = -char["Right Arm"].CFrame.upVector*50 | |
364 | bv.Parent = hit | |
365 | game.Debris:AddItem(bv, 0.5) | |
366 | end | |
367 | end) | |
368 | for i = 0, 0.7, 0.1 do | |
369 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359589, -0.998629689, 0, 0.998629689, 0.0523359589, 1, 0, 0), 0.8) | |
370 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348783135, 0.00121797505, 0.99939096, 0.998783648, -0.0348783135, 0.034899503, 0.0348993987, 0.999392271, 0), 0.8) | |
371 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.956305265, -0.292371809, 0, 0, 0, 1, -0.292371809, 0.956305265, 0), 0.8) | |
372 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.913546026, 0.406736761, 0, 0, 0, 1, 0.406736761, 0.913546026, 0), 0.8) | |
373 | wait() | |
374 | end | |
375 | con:disconnect() | |
376 | wait(0.05) | |
377 | attacking = false | |
378 | legs = false | |
379 | end | |
380 | end) | |
381 | mouse.KeyDown:connect(function(key) | |
382 | if key == "r" and not attacking then | |
383 | legs = true | |
384 | attacking = true | |
385 | local p = Instance.new("Part") | |
386 | p.CanCollide = false | |
387 | p.Anchored = true | |
388 | smooth(p) | |
389 | p.Transparency = 1 | |
390 | p.Size = Vector3.new(0.2,0.2,0.2) | |
391 | local pe = Instance.new("ParticleEmitter", p) | |
392 | pe.Color = particlecolor | |
393 | pe.LightEmission = 0.7 | |
394 | pe.Size = NumberSequence.new(2) | |
395 | pe.Texture = "rbxassetid://243664672" | |
396 | pe.Transparency = NumberSequence.new(0.5) | |
397 | pe.Lifetime = NumberRange.new(0.3) | |
398 | pe.Rate = 500 | |
399 | pe.Speed = NumberRange.new(3) | |
400 | local p2 = p:Clone() | |
401 | p.Parent = char | |
402 | p2.Parent = char | |
403 | spawn(function() | |
404 | local num = 0 | |
405 | repeat swait() | |
406 | num = num + 0.5 | |
407 | local sin = math.sin(num)*2 | |
408 | local cos = math.cos(num)*2 | |
409 | p.CFrame = char["Right Arm"].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0) | |
410 | until not attacking | |
411 | p:Destroy() | |
412 | p2:Destroy() | |
413 | end) | |
414 | for i = 0, 1, 0.1 do | |
415 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359589, -0.998629689, 0, 0.998629689, 0.0523359589, 1, 0, 0), 0.4) | |
416 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348783135, 0.00121797505, 0.99939096, 0.998783648, -0.0348783135, 0.034899503, 0.0348993987, 0.999392271, 0), 0.4) | |
417 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.956305265, -0.292371809, 0, 0, 0, 1, -0.292371809, 0.956305265, 0), 0.4) | |
418 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.913546026, 0.406736761, 0, 0, 0, 1, 0.406736761, 0.913546026, 0), 0.4) | |
419 | wait() | |
420 | end | |
421 | wait(0.5) | |
422 | for i = 0, 50 do | |
423 | local p = Instance.new("Part") | |
424 | p.Transparency = 1 | |
425 | p.Size = Vector3.new(5,5,5) | |
426 | p.Name = "ignore" | |
427 | p.CanCollide = false | |
428 | p.CFrame = char["Right Arm"].CFrame | |
429 | smooth(p) | |
430 | local pe = Instance.new("ParticleEmitter") | |
431 | pe.Color = particlecolor | |
432 | pe.LightEmission = 0.7 | |
433 | pe.Size = NumberSequence.new(5) | |
434 | pe.Texture = "rbxassetid://243664672" | |
435 | pe.Transparency = NumberSequence.new(0.5) | |
436 | pe.Lifetime = NumberRange.new(0.3) | |
437 | pe.Rate = 500 | |
438 | pe.Speed = NumberRange.new(3) | |
439 | pe.Parent = p | |
440 | p.Parent = workspace | |
441 | p.Touched:connect(function(hit) | |
442 | if hit.Name ~= "ignore" then | |
443 | hurt(hit, 50) | |
444 | end | |
445 | end) | |
446 | local bv = Instance.new("BodyVelocity") | |
447 | bv.MaxForce = huge | |
448 | bv.Velocity = CFrame.new(char["Right Arm"].Position, mouse.Hit.p).lookVector*push | |
449 | bv.Parent = p | |
450 | game.Debris:AddItem(p, 5) | |
451 | swait() | |
452 | end | |
453 | attacking = false | |
454 | legs = false | |
455 | end | |
456 | end) | |
457 | mouse.KeyDown:connect(function(key) | |
458 | if key == "t" and not attacking then | |
459 | attacking = true | |
460 | legs = true | |
461 | for i = 1, 2 do | |
462 | local arm = "" | |
463 | if i == 1 then arm = "Right Arm" end | |
464 | if i == 2 then arm = "Left Arm" end | |
465 | local p = Instance.new("Part") | |
466 | p.CanCollide = false | |
467 | p.Anchored = true | |
468 | smooth(p) | |
469 | p.Transparency = 1 | |
470 | p.Size = Vector3.new(0.2,0.2,0.2) | |
471 | local pe = Instance.new("ParticleEmitter", p) | |
472 | pe.Color = particlecolor | |
473 | pe.LightEmission = 0.7 | |
474 | pe.Size = NumberSequence.new(2) | |
475 | pe.Texture = "rbxassetid://243664672" | |
476 | pe.Transparency = NumberSequence.new(0.5) | |
477 | pe.Lifetime = NumberRange.new(0.3) | |
478 | pe.Rate = 500 | |
479 | pe.Speed = NumberRange.new(3) | |
480 | local p2 = p:Clone() | |
481 | p.Parent = char | |
482 | p2.Parent = char | |
483 | spawn(function() | |
484 | local num = 0 | |
485 | repeat swait() | |
486 | num = num + 0.5 | |
487 | local sin = math.sin(num)*2 | |
488 | local cos = math.cos(num)*2 | |
489 | p.CFrame = char[arm].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0) | |
490 | until not attacking | |
491 | p:Destroy() | |
492 | p2:Destroy() | |
493 | end) | |
494 | end | |
495 | for i = 0, 1, 0.1 do | |
496 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0348517336, -0.0018264954, -0.999390841, -0.998022854, -0.0523041189, 0.0348994955, -0.0523358807, 0.998631001, 0), 0.4) | |
497 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0348517336, 0.0018264954, 0.999390841, 0.998022854, -0.0523041189, 0.0348994955, 0.0523358211, 0.998630881, 0), 0.4) | |
498 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.4) | |
499 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.4) | |
500 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
501 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
502 | wait() | |
503 | end | |
504 | for i = 0, 50 do | |
505 | local arm = "" | |
506 | if i%2 == 0 then | |
507 | arm = "Right Arm" | |
508 | else | |
509 | arm = "Left Arm" | |
510 | end | |
511 | local p = Instance.new("Part") | |
512 | p.Transparency = 1 | |
513 | p.Size = Vector3.new(5,5,5) | |
514 | p.Name = "ignore" | |
515 | p.CanCollide = false | |
516 | p.CFrame = char[arm].CFrame | |
517 | smooth(p) | |
518 | local pe = Instance.new("ParticleEmitter") | |
519 | pe.Color = particlecolor | |
520 | pe.LightEmission = 0.7 | |
521 | pe.Size = NumberSequence.new(2) | |
522 | pe.Texture = "rbxassetid://243664672" | |
523 | pe.Transparency = NumberSequence.new(0.5) | |
524 | pe.Lifetime = NumberRange.new(0.2) | |
525 | pe.Rate = 500 | |
526 | pe.Speed = NumberRange.new(3) | |
527 | pe.Parent = p | |
528 | p.Parent = workspace | |
529 | p.Touched:connect(function(hit) | |
530 | if hit.Name ~= "ignore" then | |
531 | hurt(hit, 10) | |
532 | end | |
533 | end) | |
534 | local bv = Instance.new("BodyVelocity") | |
535 | bv.MaxForce = huge | |
536 | bv.Velocity = CFrame.new(char[arm].Position, mouse.Hit.p).lookVector*push | |
537 | bv.Parent = p | |
538 | game.Debris:AddItem(p, 5) | |
539 | swait() | |
540 | end | |
541 | wait(0.5) | |
542 | attacking = false | |
543 | legs = false | |
544 | end | |
545 | end) | |
546 | mouse.KeyDown:connect(function(key) | |
547 | if key == "y" and not attacking then | |
548 | attacking = true | |
549 | legs = true | |
550 | for i = 0, 0.7, 0.1 do | |
551 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.7) | |
552 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0347083807, -0.321920633, 0.946130574, 0.993917823, -0.110135622, -0.00101229548, 0.104528494, 0.940340519, 0.323785156), 0.7) | |
553 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.984808087, 0.173648223, 0, 0, 0, 1, 0.173648223, 0.984808087, 0), 0.7) | |
554 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.96592617, -0.258819103, -0, 0, 0, 1, -0.258819103, 0.96592617, 0), 0.7) | |
555 | wait() | |
556 | end | |
557 | local w = nil | |
558 | scon = char["Right Arm"].Touched:connect(function(hit) | |
559 | if gethum(hit) then | |
560 | if hit.Parent:FindFirstChild("Head") then | |
561 | w = Instance.new("Weld") | |
562 | w.Part0 = char["Right Arm"] | |
563 | w.Part1 = hit.Parent.Head | |
564 | w.C0 = CFrame.new(0,-2,0) | |
565 | w.Parent = hit.Parent.Head | |
566 | scon:disconnect() | |
567 | scon = nil | |
568 | end | |
569 | end | |
570 | end) | |
571 | for i = 0, 0.7, 0.1 do | |
572 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.8) | |
573 | rs.C0 = rs.C0:Lerp(CFrame.new(0.779308438, 0.539296746, -0.44693622, -0.0347083807, 0.441383421, 0.896648288, 0.993917823, -0.0785935149, 0.0771619156, 0.104528494, 0.89387244, -0.435970813), 0.8) | |
574 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.984808445, -0.173648283, 0, 0, 0, 1, -0.173648283, 0.984808445, 0), 0.8) | |
575 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.961262584, 0.275637597, 0, 0, 0, 1.00000012, 0.275637567, 0.961262703, 0), 0.8) | |
576 | wait() | |
577 | end | |
578 | local save = char.Torso.CFrame | |
579 | for i = 0, 0.4, 0.1 do | |
580 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.6) | |
581 | rs.C0 = rs.C0:Lerp(CFrame.new(1.50524855, 0.565971315, -0.459527433, -0.0347083807, -0.999394238, 0.00364828855, 0.993917823, -0.0348996557, -0.104465209, 0.104528494, 5.77419996e-008, 0.994526088), 0.6) | |
582 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.874620974, 0.484810293, 0, 0, 0, 1, 0.484810293, 0.874620974, 0), 0.6) | |
583 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.798636913, -0.601815939, 0, 0, 0, 1.00000012, -0.601815999, 0.798636913, 0), 0.6) | |
584 | wait() | |
585 | end | |
586 | if w then | |
587 | if w.Parent then | |
588 | local character = w.Parent.Parent | |
589 | character.Head.CanCollide = false | |
590 | w:Destroy() | |
591 | local bv = Instance.new("BodyVelocity") | |
592 | bv.MaxForce = huge | |
593 | bv.Velocity = -save.lookVector*push | |
594 | bv.Parent = character.Torso | |
595 | game.Debris:AddItem(bv, 0.5) | |
596 | spawn(function() | |
597 | wait(0.25) | |
598 | character.Head.CanCollide = true | |
599 | end) | |
600 | character:FindFirstChildOfClass("Humanoid").PlatformStand = false | |
601 | end | |
602 | end | |
603 | wait(0.1) | |
604 | if scon then scon:disconnect() end | |
605 | attacking = false | |
606 | legs = false | |
607 | end | |
608 | end) | |
609 | local deb = false | |
610 | mouse.KeyDown:connect(function(key) | |
611 | if key == "h" and not deb and not attacking then | |
612 | deb = true | |
613 | for i = 0, 10 do | |
614 | spawn(function() | |
615 | local p = Instance.new("Part") | |
616 | p.Anchored = true | |
617 | p.CanCollide = false | |
618 | p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-5,5),-10,math.random(-5,5)) | |
619 | smooth(p) | |
620 | p.BrickColor = BrickColor.DarkGray() | |
621 | p.Material = Enum.Material.Slate | |
622 | p.Size = Vector3.new(1,1,1) | |
623 | p.Transparency = 1 | |
624 | local pe = Instance.new("ParticleEmitter") | |
625 | pe.Color = particlecolor | |
626 | pe.LightEmission = 0.7 | |
627 | pe.Size = NumberSequence.new(1) | |
628 | pe.Texture = "rbxassetid://243664672" | |
629 | pe.Transparency = NumberSequence.new(0.5) | |
630 | pe.Lifetime = NumberRange.new(0.2) | |
631 | pe.Rate = 500 | |
632 | pe.Speed = NumberRange.new(3) | |
633 | pe.Parent = p | |
634 | p.Parent = workspace | |
635 | local endcf = p.CFrame *CFrame.new(0,30,0) | |
636 | for i = 0, 20 do | |
637 | p.CFrame = p.CFrame:Lerp(endcf, 0.3) | |
638 | wait() | |
639 | end | |
640 | local z = Instance.new("Part") | |
641 | z.CFrame = p.CFrame | |
642 | z.CFrame = CFrame.new(z.Position, mouse.Hit.p) | |
643 | local bv = Instance.new("BodyVelocity", p) | |
644 | bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
645 | bv.Velocity = z.CFrame.lookVector*140 | |
646 | p.Anchored = false | |
647 | z:Destroy() | |
648 | p.CanCollide = false | |
649 | local connection | |
650 | spawn(function() | |
651 | local angle = CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))) | |
652 | repeat wait() | |
653 | p.CFrame = p.CFrame *angle | |
654 | until not p or p.CanCollide | |
655 | end) | |
656 | connection = p.Touched:connect(function(hit) | |
657 | hurt(hit, math.random(5,5)) | |
658 | if not hit.Anchored and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then | |
659 | p.CanCollide = true | |
660 | end | |
661 | end) | |
662 | game.Debris:AddItem(p, 5) | |
663 | end) | |
664 | wait() | |
665 | deb = false | |
666 | end | |
667 | end | |
668 | end) | |
669 | mouse.KeyDown:connect(function(key) | |
670 | if key == "k" and not attacking then | |
671 | attacking = true | |
672 | for i = 0, 0.7, 0.1 do | |
673 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0697564781, -0.997564137, 0, 0.997564137, 0.0697564781, 1, 0, 0), 0.7) | |
674 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0697564855, 0.997564256, 0, 0.997564256, 0.0697564855, -1, 0, 0), 0.7) | |
675 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.915699959, -0.141025871, 0, 0, -1, 0.838671386, 0.544639707, 0, 0.544639707, -0.838671386, 0), 0.7) | |
676 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.399999917, -0.700000048, 0, 0, 1, 0.224951148, 0.974370599, 0, -0.974370599, 0.224951148, 0), 0.7) | |
677 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7) | |
678 | rj.C0 = rj.C0:Lerp(CFrame.new(0, -0.700000048, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7) | |
679 | wait() | |
680 | end | |
681 | local bv = Instance.new("BodyVelocity") | |
682 | bv.MaxForce = huge | |
683 | bv.Velocity = -char.Torso.CFrame.lookVector*100 | |
684 | bv.Velocity = bv.Velocity +Vector3.new(0,100,0) | |
685 | bv.Parent = char.Torso | |
686 | game.Debris:AddItem(bv, 0.5) | |
687 | repeat | |
688 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2) | |
689 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.13917312, 0.99026823, 0, 0.99026823, 0.13917312, -1, -0, 0), 0.2) | |
690 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.599999905, -0.400000006, -0, -0, -1, 0, 1, 0, 1, 0, 0), 0.2) | |
691 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, 0, 1, -0.529919565, 0.848048747, 0, -0.848048747, -0.529919565, 0), 0.2) | |
692 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1.00000024, -1.80731718e-009, 4.5061474e-010, 0, 0.241921946, 0.970296025, -1.86264515e-009, 0.970296264, -0.241922006), 0.2) | |
693 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2) | |
694 | wait() | |
695 | until char.HumanoidRootPart.Velocity.Y < 0 | |
696 | local num2 = 0.5 | |
697 | local bv = Instance.new("BodyForce") | |
698 | bv.Force = -char.Torso.CFrame.lookVector*1000 | |
699 | bv.Parent = char.Torso | |
700 | repeat | |
701 | if num2 < 5 then | |
702 | num2 = num2+0.5 | |
703 | end | |
704 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0321390443, -0.899457872, -0.435827494, -0.903263509, 0.212814748, -0.37259686, 0.427884579, 0.381691694, -0.819286048), 0.2) | |
705 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.166612521, 0.861375272, 0.47987023, 0.814885736, 0.153724328, -0.558868229, -0.555161953, 0.484153807, -0.67630893), 0.2) | |
706 | lh.C0 = lh.C0:Lerp(CFrame.new(-0.988398254, -0.309396505, -0.610682189, 0.00854844693, 0.0146014411, -0.999856889, 0.498114854, 0.866946518, 0.0169191808, 0.867069304, -0.498188108, 0.00013788142), 0.2) | |
707 | rh.C0 = rh.C0:Lerp(CFrame.new(0.988217235, -0.304208815, -0.86811024, 0.00891196821, -0.0143678738, 0.999857128, -0.528013527, 0.849068403, 0.0169073474, -0.849189758, -0.528088629, -1.95365774e-005), 0.2) | |
708 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.788011312, 0.615662038, 0, 0.61566186, -0.788011372), 0.2) | |
709 | rj.C0 = rj.C0:Lerp(rj.C0 *CFrame.Angles(math.rad(-(10*num2)),0,0), 0.5) | |
710 | wait() | |
711 | until char.HumanoidRootPart.Velocity.Y >= -3 | |
712 | bv:Destroy() | |
713 | attacking = false | |
714 | end | |
715 | end) | |
716 | mouse.KeyDown:connect(function(key) | |
717 | if key == "z" and not attacking then | |
718 | attacking = true | |
719 | local p = Instance.new("Part") | |
720 | p.Anchored = true | |
721 | smooth(p) | |
722 | p.Material = "Neon" | |
723 | local bc = BrickColor.new("Deep orange") | |
724 | if particlecolor == ColorSequence.new(Color3.new(1,1,1)) then | |
725 | bc = BrickColor.new("Institutional White") | |
726 | end | |
727 | p.BrickColor = bc | |
728 | local m = Instance.new("SpecialMesh", p) | |
729 | m.MeshType = "Sphere" | |
730 | p.Size = Vector3.new(1,1,1) | |
731 | p.CFrame = char.Torso.CFrame | |
732 | p.CanCollide = false | |
733 | local pe = Instance.new("ParticleEmitter") | |
734 | pe.Color = particlecolor | |
735 | pe.LightEmission = 0.7 | |
736 | pe.Size = NumberSequence.new(3) | |
737 | pe.Texture = "rbxassetid://243664672" | |
738 | pe.Transparency = NumberSequence.new(0.5) | |
739 | pe.Lifetime = NumberRange.new(5) | |
740 | pe.Rate = 500 | |
741 | pe.Speed = NumberRange.new(50) | |
742 | pe.VelocitySpread = 360 | |
743 | pe.Parent = p | |
744 | p.Parent = workspace | |
745 | local rate = 5 | |
746 | local oldcf = p.CFrame | |
747 | local con = p.Touched:connect(function(hit) | |
748 | if hit.Parent then | |
749 | if hit.Anchored == false then | |
750 | if hit.Parent.Name ~= plr.Name then | |
751 | if not hit.Parent:IsA("Accessory") then | |
752 | fade(hit, true) | |
753 | end | |
754 | end | |
755 | end | |
756 | end | |
757 | end) | |
758 | attacking = false | |
759 | for i = 0, 10*rate do | |
760 | p.Size = p.Size +Vector3.new(5,5,5)/rate | |
761 | p.Transparency = p.Transparency+0.1/rate | |
762 | p.CFrame = oldcf | |
763 | swait() | |
764 | end | |
765 | pe.Enabled = false | |
766 | con:disconnect() | |
767 | game.Debris:AddItem(p, 5) | |
768 | end | |
769 | end) | |
770 | local timetravel = false | |
771 | local recording = false | |
772 | local frames = 0 | |
773 | local objects = 0 | |
774 | local data = { | |
775 | ["Objects"] = { | |
776 | ||
777 | } | |
778 | } | |
779 | function animate() | |
780 | a = function(b) | |
781 | for i,v in pairs(b:children()) do | |
782 | if v:IsA("BasePart") then | |
783 | if v.Anchored == false then | |
784 | local val = Instance.new("StringValue", v) | |
785 | val.Name = "Anchoredz" | |
786 | v.Anchored = true | |
787 | end | |
788 | end | |
789 | a(v) | |
790 | end | |
791 | end | |
792 | a(workspace) | |
793 | end | |
794 | function unanimate() | |
795 | a = function(b) | |
796 | for i,v in pairs(b:children()) do | |
797 | if v:IsA("BasePart") then | |
798 | if v:FindFirstChild("Anchoredz") then | |
799 | v.Anchoredz:Destroy() | |
800 | v.Anchored = false | |
801 | end | |
802 | end | |
803 | a(v) | |
804 | end | |
805 | end | |
806 | a(workspace) | |
807 | end | |
808 | mouse.KeyDown:connect(function(key) | |
809 | if key == "c" and not timetravel then | |
810 | timetravel = true | |
811 | local currentframe = frames+1 | |
812 | animate(true) | |
813 | for i = 1, frames do | |
814 | currentframe = currentframe - 1 | |
815 | local currentobj = 0 | |
816 | for i = 1, objects do | |
817 | currentobj = currentobj + 1 | |
818 | obj = data["Objects"]["obj"..currentobj] | |
819 | if obj["Object"] then | |
820 | if obj["Frame"..currentframe] then | |
821 | obj["Object"].CFrame = obj["Frame"..currentframe]["CFrame"] | |
822 | end | |
823 | end | |
824 | end | |
825 | wait() | |
826 | end | |
827 | unanimate() | |
828 | timetravel = false | |
829 | objects = 0 | |
830 | frames = 0 | |
831 | data = { | |
832 | ["Objects"] = { | |
833 | ||
834 | } | |
835 | } | |
836 | ||
837 | end | |
838 | end) | |
839 | mouse.KeyDown:connect(function(key) | |
840 | if key == "x" and not recording and not timetravel then | |
841 | recording = true | |
842 | if not timetravel and recording then | |
843 | frames = frames+1 | |
844 | local num = 0 | |
845 | a = function(b) | |
846 | for i,v in pairs(b:children()) do | |
847 | if v:IsA("BasePart") then | |
848 | num = num + 1 | |
849 | if not data["Objects"]["obj"..num] then | |
850 | data["Objects"]["obj"..num] = { | |
851 | ["Object"] = nil | |
852 | ||
853 | } | |
854 | data["Objects"]["obj"..num]["Object"] = v | |
855 | objects = objects + 1 | |
856 | end | |
857 | data["Objects"]["obj"..num]["Frame"..frames] = {} | |
858 | data["Objects"]["obj"..num]["Frame"..frames]["Size"] = v.Size | |
859 | data["Objects"]["obj"..num]["Frame"..frames]["CFrame"] = v.CFrame | |
860 | end | |
861 | a(v) | |
862 | end | |
863 | end | |
864 | a(workspace) | |
865 | end | |
866 | recording = false | |
867 | end | |
868 | end) | |
869 | mouse.KeyDown:connect(function(key) | |
870 | if key == "v" and not attacking then | |
871 | attacking = true | |
872 | shielding = true | |
873 | local p = Instance.new("Part") | |
874 | p.Anchored = true | |
875 | smooth(p) | |
876 | shield = p | |
877 | local bc = BrickColor.Random() | |
878 | if ragetype == "???" and rage then bc = BrickColor.new("Really black") end | |
879 | p.BrickColor = bc | |
880 | p.Size = Vector3.new(30,30,0) | |
881 | p.Material = "Neon" | |
882 | local m = Instance.new("SpecialMesh", p) | |
883 | m.MeshType = "Sphere" | |
884 | p.CFrame = char.HumanoidRootPart.CFrame *CFrame.new(0,0,-4) | |
885 | local num2 = -0.5 | |
886 | for i = 0, 10 do | |
887 | if shielding then | |
888 | local p = Instance.new("Part") | |
889 | p.Size = Vector3.new(0.2,0.2,0.2) | |
890 | p.CanCollide = false | |
891 | p.Anchored = true | |
892 | p.Transparency = 1 | |
893 | local pe = Instance.new("ParticleEmitter") | |
894 | pe.Color = particlecolor | |
895 | pe.LightEmission = 0.7 | |
896 | pe.Size = NumberSequence.new(1) | |
897 | pe.Texture = "rbxassetid://243664672" | |
898 | pe.Transparency = NumberSequence.new(0.5) | |
899 | pe.Lifetime = NumberRange.new(0.2) | |
900 | pe.Rate = 500 | |
901 | pe.Speed = NumberRange.new(3) | |
902 | pe.Parent = p | |
903 | p.Parent = shield | |
904 | num2 = num2 + 1 | |
905 | local num = num2 | |
906 | local neg = false | |
907 | spawn(function() | |
908 | repeat wait() | |
909 | num = num + 0.1 | |
910 | local sin = math.sin(num)*15 | |
911 | local cos = math.cos(num)*15 | |
912 | if shield then | |
913 | p.CFrame = shield.CFrame *CFrame.new(sin,cos,0) | |
914 | end | |
915 | until not shielding | |
916 | end) | |
917 | else | |
918 | break | |
919 | end | |
920 | end | |
921 | p.Transparency = 1 | |
922 | p.Parent = workspace | |
923 | p.Touched:connect(function(hit) | |
924 | if hurt(hit, math.random(50, 100)) then | |
925 | fade(hit) | |
926 | elseif hit.Anchored == false and hit.Parent.Name ~= plr.Name and hit.Parent.ClassName ~= "Accessory" then | |
927 | fade(hit, true) | |
928 | end | |
929 | end) | |
930 | char:FindFirstChildOfClass("Humanoid").WalkSpeed = 0 | |
931 | for i = 0, 1, 0.1 do | |
932 | if attacking or shielding then | |
933 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.6) | |
934 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0173860267, -0.69564718, 0.71817416, 0.996044099, -0.0505616963, -0.0730885938, 0.087155737, 0.716603398, 0.692016065), 0.6) | |
935 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.6) | |
936 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.6) | |
937 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.777146578, -0.629320741, -0, 0, 0, 1, -0.629320741, 0.777146578, 0), 0.6) | |
938 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.694658995, 0.719340265, 0, 0, 0, 1, 0.719340265, 0.694658995, 0), 0.6) | |
939 | wait() | |
940 | else | |
941 | break | |
942 | end | |
943 | end | |
944 | end | |
945 | end) | |
946 | mouse.KeyUp:connect(function(key) | |
947 | if key == "v" and attacking then | |
948 | if shield then | |
949 | fade(shield, true) | |
950 | attacking = false | |
951 | shielding = false | |
952 | char:FindFirstChildOfClass("Humanoid").WalkSpeed = 16 | |
953 | end | |
954 | end | |
955 | end) | |
956 | mouse.KeyDown:connect(function(key) | |
957 | if key == "b" and not attacking then | |
958 | attacking = true | |
959 | local p = Instance.new("Part") | |
960 | p.Anchored = true | |
961 | smooth(p) | |
962 | p.Material = "Neon" | |
963 | local bc = BrickColor.new("Deep orange") | |
964 | if particlecolor == ColorSequence.new(Color3.new(1,1,1)) then | |
965 | bc = BrickColor.new("Institutional White") | |
966 | end | |
967 | p.BrickColor = bc | |
968 | local m = Instance.new("SpecialMesh", p) | |
969 | m.MeshType = "Sphere" | |
970 | p.Size = Vector3.new(1,1,1) | |
971 | p.CFrame = char.Torso.CFrame | |
972 | p.CanCollide = false | |
973 | local pe = Instance.new("ParticleEmitter") | |
974 | pe.Color = particlecolor | |
975 | pe.LightEmission = 0.7 | |
976 | pe.Size = NumberSequence.new(10) | |
977 | pe.Texture = "rbxassetid://243664672" | |
978 | pe.Transparency = NumberSequence.new(0.5) | |
979 | pe.Lifetime = NumberRange.new(5) | |
980 | pe.Rate = 500 | |
981 | pe.Speed = NumberRange.new(50) | |
982 | pe.VelocitySpread = 360 | |
983 | pe.Parent = p | |
984 | p.Parent = workspace | |
985 | local rate = 20 | |
986 | local oldcf = p.CFrame | |
987 | local con = p.Touched:connect(function(hit) | |
988 | if hit.Parent then | |
989 | if hit.Anchored == false then | |
990 | if hit.Parent.Name ~= plr.Name then | |
991 | if not hit.Parent:IsA("Accessory") then | |
992 | fade(hit, true) | |
993 | end | |
994 | end | |
995 | end | |
996 | end | |
997 | end) | |
998 | attacking = false | |
999 | for i = 0, 10*rate do | |
1000 | p.Size = p.Size +Vector3.new(20,20,20)/rate | |
1001 | p.Transparency = p.Transparency+0.1/rate | |
1002 | p.CFrame = oldcf | |
1003 | swait() | |
1004 | end | |
1005 | pe.Enabled = false | |
1006 | con:disconnect() | |
1007 | game.Debris:AddItem(p, 5) | |
1008 | end | |
1009 | end) | |
1010 | mouse.KeyDown:connect(function(key) | |
1011 | if key == "n" and not attacking then | |
1012 | attacking = true | |
1013 | local bv = Instance.new("BodyVelocity") | |
1014 | bv.MaxForce = huge | |
1015 | bv.Velocity = char.HumanoidRootPart.CFrame.lookVector*push/1.5 | |
1016 | bv.Parent = char.Torso | |
1017 | game.Debris:AddItem(bv, 0.5) | |
1018 | local con = char["Right Arm"].Touched:connect(function(hit) | |
1019 | if hurt(hit, math.random(30,50)) then | |
1020 | local bv = Instance.new("BodyVelocity") | |
1021 | bv.MaxForce = huge | |
1022 | bv.Velocity = char.HumanoidRootPart.CFrame.lookVector*char.HumanoidRootPart.Velocity.Z*(push/1) | |
1023 | bv.Parent = hit | |
1024 | game.Debris:AddItem(bv, 0.5) | |
1025 | end | |
1026 | end) | |
1027 | for i = 0, 1, 0.1 do | |
1028 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.207911745, -0.978147984, 0, 0.978147984, 0.207911745, 1, 0, 0), 0.6) | |
1029 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0.325568229, 0.94551903, 0.999849021, 0.0165017936, -0.00568202185, -0.0174526293, 0.945375919, -0.325519055), 0.6) | |
1030 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.6) | |
1031 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359552, 0.99862957, 0, 0.99862957, 0.0523359552, -1, 0, 0), 0.6) | |
1032 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.224951565, -0.974371314, 0, 0, 0, 1, -0.974371314, 0.224951565, 0), 0.6) | |
1033 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.156434745, 0.987689376, 0, 0, 0, 1, 0.987689376, 0.156434745, 0), 0.6) | |
1034 | wait() | |
1035 | end | |
1036 | wait(0.5) | |
1037 | con:disconnect() | |
1038 | attacking = false | |
1039 | end | |
1040 | end) | |
1041 | mouse.KeyDown:connect(function(key) | |
1042 | if key == "m" and not attacking and animpose ~= "Falling" then | |
1043 | attacking = true | |
1044 | char:FindFirstChildOfClass("Humanoid").JumpPower = 500 | |
1045 | char:FindFirstChildOfClass("Humanoid").Jump = true | |
1046 | wait() | |
1047 | char:FindFirstChildOfClass("Humanoid").JumpPower = 100 | |
1048 | repeat wait() until char.HumanoidRootPart.Velocity.Y < 0 | |
1049 | local num = 0.5 | |
1050 | local num2 = 0.5 | |
1051 | repeat wait() | |
1052 | num = num + 0.5 | |
1053 | if num2 < 10 then | |
1054 | num2 = num2+0.5 | |
1055 | end | |
1056 | if num%3 == 0 then soundeffect("rbxassetid://541909814", 2, 1, char.Torso) end | |
1057 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0321390443, -0.899457872, -0.435827494, -0.903263509, 0.212814748, -0.37259686, 0.427884579, 0.381691694, -0.819286048), 0.2) | |
1058 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.166612521, 0.861375272, 0.47987023, 0.814885736, 0.153724328, -0.558868229, -0.555161953, 0.484153807, -0.67630893), 0.2) | |
1059 | lh.C0 = lh.C0:Lerp(CFrame.new(-0.988398254, -0.309396505, -0.610682189, 0.00854844693, 0.0146014411, -0.999856889, 0.498114854, 0.866946518, 0.0169191808, 0.867069304, -0.498188108, 0.00013788142), 0.2) | |
1060 | rh.C0 = rh.C0:Lerp(CFrame.new(0.988217235, -0.304208815, -0.86811024, 0.00891196821, -0.0143678738, 0.999857128, -0.528013527, 0.849068403, 0.0169073474, -0.849189758, -0.528088629, -1.95365774e-005), 0.2) | |
1061 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.788011312, 0.615662038, 0, 0.61566186, -0.788011372), 0.2) | |
1062 | rj.C0 = rj.C0:Lerp(rj.C0 *CFrame.Angles(math.rad((10*num2)),0,0), 0.5) | |
1063 | until char.HumanoidRootPart.Velocity.Y > -1 | |
1064 | soundeffect("rbxassetid://165969964", 3, 1, char.Torso) | |
1065 | for i = 0, 1.3, 0.1 do | |
1066 | if i == 0.6 then | |
1067 | local ring = Instance.new("Part") | |
1068 | ring.Size = Vector3.new(1.16, 1.16, 0.16) | |
1069 | local bc = BrickColor.new("Institutional white") | |
1070 | if rage then | |
1071 | bc = BrickColor.new("Deep orange") | |
1072 | end | |
1073 | ring.BrickColor = bc | |
1074 | ring.Anchored = true | |
1075 | ring.CFrame = char.Torso.CFrame *CFrame.new(0,-2.5,0) | |
1076 | ring.CFrame = ring.CFrame *CFrame.Angles(math.rad(90),0,0) | |
1077 | local m = Instance.new("SpecialMesh", ring) | |
1078 | m.MeshId = "rbxassetid://3270017" | |
1079 | ring.Parent = workspace | |
1080 | local thing = Instance.new("Part") | |
1081 | thing.Size = Vector3.new(1.866, 1.421, 2.155) | |
1082 | thing.BrickColor = bc | |
1083 | thing.Anchored = true | |
1084 | thing.CFrame = char.Torso.CFrame *CFrame.new(0,-2.5,0) | |
1085 | local m2 = Instance.new("SpecialMesh", thing) | |
1086 | m2.MeshId = "rbxassetid://20329976" | |
1087 | thing.Parent = workspace | |
1088 | local oldcf2 = thing.CFrame | |
1089 | local multiplier2 = Vector3.new(1.866, 1.421, 2.155)*3 | |
1090 | local oldcf = ring.CFrame | |
1091 | local multiplier = Vector3.new(1.16, 1.16, 0.16)*3 | |
1092 | thing.Touched:connect(function(hit) | |
1093 | hurt(hit, math.random(30,35)) | |
1094 | end) | |
1095 | ring.Touched:connect(function(hit) | |
1096 | if hurt(hit, math.random(10,15)) then | |
1097 | hit.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
1098 | end | |
1099 | end) | |
1100 | spawn(function() | |
1101 | for i = 0, 20 do | |
1102 | ring.Size = multiplier*i | |
1103 | m.Scale = m.Scale +Vector3.new(3,3,3) | |
1104 | ring.CFrame = oldcf | |
1105 | ring.Transparency = ring.Transparency +0.05 | |
1106 | thing.Size = multiplier*i | |
1107 | m2.Scale = m2.Scale +Vector3.new(3,3,3) | |
1108 | thing.CFrame = oldcf2 | |
1109 | thing.Transparency = thing.Transparency +0.05 | |
1110 | wait(0.01) | |
1111 | end | |
1112 | thing:Destroy() | |
1113 | ring:Destroy() | |
1114 | end) | |
1115 | end | |
1116 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.13917312, -0.99026823, 0, 0.99026823, 0.13917312, 1, 0, 0), 0.7) | |
1117 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.190809026, 0.981627405, 0, 0.981627405, 0.190809026, -1, 0, 0), 0.7) | |
1118 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.297612011, -0.327801049, 0, 0, -1, 0.374606699, 0.927184403, 0, 0.927184403, -0.374606699, 0), 0.7) | |
1119 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.399999917, -0.5, 0, 0, 1, 0.121869355, 0.99254632, 0, -0.99254632, 0.121869355, 0), 0.7) | |
1120 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7) | |
1121 | rj.C0 = rj.C0:Lerp(CFrame.new(0, -0.800000072, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.7) | |
1122 | wait() | |
1123 | end | |
1124 | attacking = false | |
1125 | ||
1126 | end | |
1127 | end) | |
1128 | mouse.KeyDown:connect(function(key) | |
1129 | if key:byte() == 48 and not shielding then | |
1130 | sprint = true | |
1131 | char:FindFirstChildOfClass("Humanoid").WalkSpeed = speed | |
1132 | local mod = Instance.new("Model", workspace) | |
1133 | mod.Name = "MobModel" | |
1134 | for i,v in pairs(char:children()) do | |
1135 | if v:IsA("Accessory") and not rage then | |
1136 | if v:FindFirstChild("Handle") then | |
1137 | v.Handle.Transparency = 1 | |
1138 | end | |
1139 | end | |
1140 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then | |
1141 | v.Transparency = 1 | |
1142 | end | |
1143 | end | |
1144 | if char.Head:FindFirstChild("face") then | |
1145 | char.Head.face.Transparency = 1 | |
1146 | end | |
1147 | repeat wait() | |
1148 | if not workspace:FindFirstChild("MobModel") then | |
1149 | mod = Instance.new("Model", workspace) | |
1150 | mod.Name = "MobModel" | |
1151 | end | |
1152 | for i,v in pairs(char:children()) do | |
1153 | if v:IsA("Part") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" then | |
1154 | local new = v:Clone() | |
1155 | smooth(new) | |
1156 | new.Transparency = 0 | |
1157 | new.Anchored = true | |
1158 | new.CanCollide = false | |
1159 | new.Material = "Neon" | |
1160 | for i,v in pairs(new:children()) do if not v:IsA("SpecialMesh") then v:Destroy() end end | |
1161 | new.Parent = mod | |
1162 | fade(new, true) | |
1163 | end | |
1164 | end | |
1165 | until not sprint | |
1166 | if mod then | |
1167 | spawn(function() | |
1168 | repeat wait() until not mod or #mod:children() == 0 | |
1169 | mod:Destroy() | |
1170 | end) | |
1171 | end | |
1172 | char:FindFirstChildOfClass("Humanoid").WalkSpeed = 16 | |
1173 | end | |
1174 | end) | |
1175 | mouse.KeyUp:connect(function(key) | |
1176 | if key:byte() == 48 then | |
1177 | sprint = false | |
1178 | for i,v in pairs(char:children()) do | |
1179 | if v:IsA("Accessory") and not rage then | |
1180 | if v:FindFirstChild("Handle") then | |
1181 | v.Handle.Transparency = 0 | |
1182 | end | |
1183 | end | |
1184 | if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" and v.Name ~= "Percent" and not v:FindFirstChildOfClass("ParticleEmitter") then | |
1185 | v.Transparency = 0 | |
1186 | end | |
1187 | end | |
1188 | if char.Head:FindFirstChild("face") then | |
1189 | char.Head.face.Transparency = 0 | |
1190 | end | |
1191 | end | |
1192 | end) | |
1193 | ||
1194 | ||
1195 | local idlesine = 0 | |
1196 | while wait() do | |
1197 | if animpose == "Walking" and cananim and not attacking and not legs then | |
1198 | for i = 0, 0.7, 0.1 do | |
1199 | if animpose == "Walking" and cananim and not attacking and not legs then | |
1200 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.0475738533, 0.051016707, -0.997564137, 0.680338025, 0.72957325, 0.0697564781, 0.731354535, -0.681998909, 0), 0.4) | |
1201 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0626967475, -0.0305792596, 0.997564137, 0.896606028, 0.43730399, 0.0697564781, -0.438371748, 0.898795009, -1.29931566e-010), 0.4) | |
1202 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4) | |
1203 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4) | |
1204 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
1205 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
1206 | wait() | |
1207 | else | |
1208 | break | |
1209 | end | |
1210 | end | |
1211 | for i = 0, 0.7, 0.1 do | |
1212 | if animpose == "Walking" and cananim and not attacking and not legs then | |
1213 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0585028417, 0.0379922055, -0.997564137, -0.836630702, 0.543314457, 0.0697564781, 0.544640183, 0.838672042, 0), 0.4) | |
1214 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0475739017, -0.051016774, 0.997564137, -0.680339456, 0.729574919, 0.0697564781, -0.731355429, -0.681999743, -1.29931566e-010), 0.4) | |
1215 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4) | |
1216 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4) | |
1217 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
1218 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.4) | |
1219 | wait() | |
1220 | else | |
1221 | break | |
1222 | end | |
1223 | end | |
1224 | end | |
1225 | if animpose == "Walking" and cananim and legs then | |
1226 | for i = 0, 0.7, 0.1 do | |
1227 | if animpose == "Walking" and cananim and legs then | |
1228 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0219629817, 0.02712203, -0.999390841, -0.628937364, 0.776673257, 0.0348994955, 0.777146697, 0.6293208, 0), 0.4) | |
1229 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0238014236, -0.0255239103, 0.999390841, -0.681583524, 0.73090899, 0.0348994955, -0.731354535, -0.681998909, 0), 0.4) | |
1230 | wait() | |
1231 | else | |
1232 | break | |
1233 | end | |
1234 | end | |
1235 | for i = 0, 0.7, 0.1 do | |
1236 | if animpose == "Walking" and cananim and legs then | |
1237 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0205134545, 0.0282343514, -0.999390841, 0.587428331, 0.808525503, 0.0348994955, 0.809018135, -0.587786257, 0), 0.4) | |
1238 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0224330258, -0.0267346334, 0.999390841, 0.642397523, 0.765579402, 0.0348994955, -0.76604569, 0.642788768, 0), 0.4) | |
1239 | wait() | |
1240 | else | |
1241 | break | |
1242 | end | |
1243 | end | |
1244 | end | |
1245 | if animpose == "Idle" and cananim and legs then | |
1246 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.5) | |
1247 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.5) | |
1248 | end | |
1249 | if animpose ~= "Idle" and not legs then idlesine = 0 end | |
1250 | if animpose == "Idle" and cananim and not attacking and not legs then | |
1251 | idlesine = idlesine + 0.01 | |
1252 | local sin = math.sin(idlesine)*2.5 | |
1253 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0697564781, -0.997564137, 0, 0.997564137, 0.0697564781, 1, 0, 0)*CFrame.Angles(math.rad(sin),0,0), 0.5) | |
1254 | rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0697564781, 0.997564137, -1.86264515e-009, 0.997564256, 0.0697564781, -1.00000012, -1.858108e-009, -1.29931566e-010)*CFrame.Angles(math.rad(sin),0,0), 0.5) | |
1255 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.5) | |
1256 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.5) | |
1257 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.5) | |
1258 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.5) | |
1259 | end | |
1260 | end |