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