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