SHOW:
|
|
- or go back to the newest paste.
1 | -- This script has been converted to FE by iPxter | |
2 | ||
3 | ||
4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
6 | do | |
7 | - | local Player = game.Players.LocalPlayer |
7 | + | print("FE Compatibility code by Mokiros | Translated to FE by iPxter") |
8 | script.Parent = Player.Character | |
9 | - | local Mouse = Player:GetMouse() |
9 | + | |
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent and t.Function then | |
34 | t.Function(...) | |
35 | end | |
36 | end | |
37 | m.TrigEvent = te | |
38 | UIS.TrigEvent = te | |
39 | ||
40 | Event.OnServerEvent:Connect(function(plr,io) | |
41 | if plr~=Player then return end | |
42 | if io.isMouse then | |
43 | m.Target = io.Target | |
44 | m.Hit = io.Hit | |
45 | else | |
46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
49 | end | |
50 | for _,t in pairs(CAS.Actions) do | |
51 | for _,k in pairs(t.Keys) do | |
52 | if k==io.KeyCode then | |
53 | t.Function(t.Name,io.UserInputState,io) | |
54 | end | |
55 | end | |
56 | end | |
57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
59 | end | |
60 | end) | |
61 | Event.Parent = NLS([==[ | |
62 | local Player = game:GetService("Players").LocalPlayer | |
63 | local Event = script:WaitForChild("UserInput_Event") | |
64 | ||
65 | local UIS = game:GetService("UserInputService") | |
66 | local input = function(io,a) | |
67 | if a then return end | |
68 | --Since InputObject is a client-side instance, we create and pass table instead | |
69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
70 | end | |
71 | UIS.InputBegan:Connect(input) | |
72 | UIS.InputEnded:Connect(input) | |
73 | ||
74 | local Mouse = Player:GetMouse() | |
75 | local h,t | |
76 | --Give the server mouse data 30 times every second, but only if the values changed | |
77 | --If player is not moving their mouse, client won't fire events | |
78 | while wait(1/30) do | |
79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
80 | h,t=Mouse.Hit,Mouse.Target | |
81 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
82 | end | |
83 | end]==],Player.Character) | |
84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
85 | end | |
86 | ||
87 | --[[ | |
88 | ||
89 | Made by Tentergram | |
90 | Damage Fixed by Cronizete | |
91 | ||
92 | --]] | |
93 | local Player = owner | |
94 | local Character = Player.Character | |
95 | local Head = Character.Torso:WaitForChild("Neck") | |
96 | local RootPart = Character:WaitForChild("HumanoidRootPart") | |
97 | local Torso = RootPart:WaitForChild("RootJoint") | |
98 | local RealTorso = Character:WaitForChild("Torso") | |
99 | local LeftArm = RealTorso:WaitForChild("Left Shoulder") | |
100 | local RightArm = RealTorso:WaitForChild("Right Shoulder") | |
101 | local RightLeg = RealTorso:WaitForChild("Right Hip") | |
102 | local LeftLeg = RealTorso:WaitForChild("Left Hip") | |
103 | local isKneeing = false | |
104 | local Attacking = false | |
105 | local PlayMainAnims = true | |
106 | local CharHum = Character:WaitForChild("Humanoid") | |
107 | local timeDamage = 0 | |
108 | local AttackSeq = 0 | |
109 | local HumanTimeStop = false | |
110 | local ArmSpreadL = math.random(-10, 10) | |
111 | local ArmSpreadR = math.random(-10, 10) | |
112 | ||
113 | char = Player.Character | |
114 | mud = false | |
115 | attac = false | |
116 | ||
117 | local r6 = { | |
118 | "Head", | |
119 | "Torso", | |
120 | "Left Arm", | |
121 | "Right Arm", | |
122 | "Left Leg", | |
123 | "Right Leg" | |
124 | } | |
125 | local r15 = { | |
126 | "Head", | |
127 | "LowerTorso", | |
128 | "UpperTorso", | |
129 | "LeftFoot", | |
130 | "LeftUpperLeg", | |
131 | "LeftLowerLeg", | |
132 | "RightFoot", | |
133 | "RightUpperLeg", | |
134 | "RightLowerLeg", | |
135 | "LeftHand", | |
136 | "RightHand", | |
137 | "RightUpperArm", | |
138 | "RightLowerArm", | |
139 | "LeftUpperArm", | |
140 | "LeftLowerArm" | |
141 | } | |
142 | local Animation = {class = "Animation"} | |
143 | local Keyframe = {class = "Keyframe"} | |
144 | local pow = math.pow | |
145 | local sin = math.sin | |
146 | local cos = math.cos | |
147 | local pi = math.pi | |
148 | local sqrt = math.sqrt | |
149 | local abs = math.abs | |
150 | local asin = math.asin | |
151 | local linear = function(t, b, c, d) | |
152 | return c * t / d + b | |
153 | end | |
154 | local function inQuad(t, b, c, d) | |
155 | t = t / d | |
156 | return c * pow(t, 2) + b | |
157 | end | |
158 | local outQuad = function(t, b, c, d) | |
159 | t = t / d | |
160 | return -c * t * (t - 2) + b | |
161 | end | |
162 | local function inOutQuad(t, b, c, d) | |
163 | t = t / d * 2 | |
164 | if t < 1 then | |
165 | return c / 2 * pow(t, 2) + b | |
166 | else | |
167 | return -c / 2 * ((t - 1) * (t - 3) - 1) + b | |
168 | end | |
169 | end | |
170 | local function outInQuad(t, b, c, d) | |
171 | if t < d / 2 then | |
172 | return outQuad(t * 2, b, c / 2, d) | |
173 | else | |
174 | return inQuad(t * 2 - d, b + c / 2, c / 2, d) | |
175 | end | |
176 | end | |
177 | local function inCubic(t, b, c, d) | |
178 | t = t / d | |
179 | return c * pow(t, 3) + b | |
180 | end | |
181 | local function outCubic(t, b, c, d) | |
182 | t = t / d - 1 | |
183 | return c * (pow(t, 3) + 1) + b | |
184 | end | |
185 | local inOutCubic = function(t, b, c, d) | |
186 | t = t / d * 2 | |
187 | if t < 1 then | |
188 | return c / 2 * t * t * t + b | |
189 | else | |
190 | t = t - 2 | |
191 | return c / 2 * (t * t * t + 2) + b | |
192 | end | |
193 | end | |
194 | local function outInCubic(t, b, c, d) | |
195 | if t < d / 2 then | |
196 | return outCubic(t * 2, b, c / 2, d) | |
197 | else | |
198 | return inCubic(t * 2 - d, b + c / 2, c / 2, d) | |
199 | end | |
200 | end | |
201 | local function inQuart(t, b, c, d) | |
202 | t = t / d | |
203 | return c * pow(t, 4) + b | |
204 | end | |
205 | local function outQuart(t, b, c, d) | |
206 | t = t / d - 1 | |
207 | return -c * (pow(t, 4) - 1) + b | |
208 | end | |
209 | local function inOutQuart(t, b, c, d) | |
210 | t = t / d * 2 | |
211 | if t < 1 then | |
212 | return c / 2 * pow(t, 4) + b | |
213 | else | |
214 | t = t - 2 | |
215 | return -c / 2 * (pow(t, 4) - 2) + b | |
216 | end | |
217 | end | |
218 | local function outInQuart(t, b, c, d) | |
219 | if t < d / 2 then | |
220 | return outQuart(t * 2, b, c / 2, d) | |
221 | else | |
222 | return inQuart(t * 2 - d, b + c / 2, c / 2, d) | |
223 | end | |
224 | end | |
225 | local scriptName, inQuint = pow, nil | |
226 | local function outQuint(t, b, c, d) | |
227 | t = t / d - 1 | |
228 | return c * (pow(t, 5) + 1) + b | |
229 | end | |
230 | local function inOutQuint(t, b, c, d) | |
231 | t = t / d * 2 | |
232 | if t < 1 then | |
233 | return c / 2 * pow(t, 5) + b | |
234 | else | |
235 | t = t - 2 | |
236 | return c / 2 * (pow(t, 5) + 2) + b | |
237 | end | |
238 | end | |
239 | local function outInQuint(t, b, c, d) | |
240 | if t < d / 2 then | |
241 | return outQuint(t * 2, b, c / 2, d) | |
242 | else | |
243 | return inQuint(t * 2 - d, b + c / 2, c / 2, d) | |
244 | end | |
245 | end | |
246 | scriptName = cos | |
247 | local scriptName, inSine = pi, nil | |
248 | local function outSine(t, b, c, d) | |
249 | return c * sin(t / d * (pi / 2)) + b | |
250 | end | |
251 | local function inOutSine(t, b, c, d) | |
252 | return -c / 2 * (cos(pi * t / d) - 1) + b | |
253 | end | |
254 | local function outInSine(t, b, c, d) | |
255 | if t < d / 2 then | |
256 | return outSine(t * 2, b, c / 2, d) | |
257 | else | |
258 | return inSine(t * 2 - d, b + c / 2, c / 2, d) | |
259 | end | |
260 | end | |
261 | local function inExpo(t, b, c, d) | |
262 | if t == 0 then | |
263 | return b | |
264 | else | |
265 | return c * pow(2, 10 * (t / d - 1)) + b - c * 0.001 | |
266 | end | |
267 | end | |
268 | local function outExpo(t, b, c, d) | |
269 | if t == d then | |
270 | return b + c | |
271 | else | |
272 | return c * 1.001 * (-pow(2, -10 * t / d) + 1) + b | |
273 | end | |
274 | end | |
275 | local function inOutExpo(t, b, c, d) | |
276 | if t == 0 then | |
277 | return b | |
278 | end | |
279 | if t == d then | |
280 | return b + c | |
281 | end | |
282 | t = t / d * 2 | |
283 | if t < 1 then | |
284 | return c / 2 * pow(2, 10 * (t - 1)) + b - c * 5.0E-4 | |
285 | else | |
286 | t = t - 1 | |
287 | return c / 2 * 1.0005 * (-pow(2, -10 * t) + 2) + b | |
288 | end | |
289 | end | |
290 | local function outInExpo(t, b, c, d) | |
291 | if t < d / 2 then | |
292 | return outExpo(t * 2, b, c / 2, d) | |
293 | else | |
294 | return inExpo(t * 2 - d, b + c / 2, c / 2, d) | |
295 | end | |
296 | end | |
297 | local function outCirc(t, b, c, d) | |
298 | t = t / d - 1 | |
299 | return c * sqrt(1 - pow(t, 2)) + b | |
300 | end | |
301 | local function inOutCirc(t, b, c, d) | |
302 | t = t / d * 2 | |
303 | if t < 1 then | |
304 | return -c / 2 * (sqrt(1 - t * t) - 1) + b | |
305 | else | |
306 | t = t - 2 | |
307 | return c / 2 * (sqrt(1 - t * t) + 1) + b | |
308 | end | |
309 | end | |
310 | local function outInCirc(t, b, c, d) | |
311 | if t < d / 2 then | |
312 | return outCirc(t * 2, b, c / 2, d) | |
313 | else | |
314 | return inCirc(t * 2 - d, b + c / 2, c / 2, d) | |
315 | end | |
316 | end | |
317 | local function outElastic(t, b, c, d, a, p) | |
318 | if t == 0 then | |
319 | return b | |
320 | end | |
321 | t = t / d | |
322 | if t == 1 then | |
323 | return b + c | |
324 | end | |
325 | p = p or d * 0.3 | |
326 | local s | |
327 | if not a or a < abs(c) then | |
328 | a = c | |
329 | s = p / 4 | |
330 | else | |
331 | s = p / (2 * pi) * asin(c / a) | |
332 | end | |
333 | return a * pow(2, -10 * t) * sin((t * d - s) * (2 * pi) / p) + c + b | |
334 | end | |
335 | local function inOutElastic(t, b, c, d, a, p) | |
336 | if t == 0 then | |
337 | return b | |
338 | end | |
339 | t = t / d * 2 | |
340 | if t == 2 then | |
341 | return b + c | |
342 | end | |
343 | p = p or d * 0.44999999999999996 | |
344 | a = a or 0 | |
345 | local s | |
346 | if not a or a < abs(c) then | |
347 | a = c | |
348 | s = p / 4 | |
349 | else | |
350 | s = p / (2 * pi) * asin(c / a) | |
351 | end | |
352 | if t < 1 then | |
353 | t = t - 1 | |
354 | return -0.5 * (a * pow(2, 10 * t) * sin((t * d - s) * (2 * pi) / p)) + b | |
355 | else | |
356 | t = t - 1 | |
357 | return a * pow(2, -10 * t) * sin((t * d - s) * (2 * pi) / p) * 0.5 + c + b | |
358 | end | |
359 | end | |
360 | local function outInElastic(t, b, c, d, a, p) | |
361 | if t < d / 2 then | |
362 | return outElastic(t * 2, b, c / 2, d, a, p) | |
363 | else | |
364 | return inElastic(t * 2 - d, b + c / 2, c / 2, d, a, p) | |
365 | end | |
366 | end | |
367 | local inBack = function(t, b, c, d, s) | |
368 | s = s or 1.70158 | |
369 | t = t / d | |
370 | return c * t * t * ((s + 1) * t - s) + b | |
371 | end | |
372 | local outBack = function(t, b, c, d, s) | |
373 | s = s or 1.70158 | |
374 | t = t / d - 1 | |
375 | return c * (t * t * ((s + 1) * t + s) + 1) + b | |
376 | end | |
377 | local inOutBack = function(t, b, c, d, s) | |
378 | s = s or 1.70158 | |
379 | s = s * 1.525 | |
380 | t = t / d * 2 | |
381 | if t < 1 then | |
382 | return c / 2 * (t * t * ((s + 1) * t - s)) + b | |
383 | else | |
384 | t = t - 2 | |
385 | return c / 2 * (t * t * ((s + 1) * t + s) + 2) + b | |
386 | end | |
387 | end | |
388 | local function outInBack(t, b, c, d, s) | |
389 | if t < d / 2 then | |
390 | return outBack(t * 2, b, c / 2, d, s) | |
391 | else | |
392 | return inBack(t * 2 - d, b + c / 2, c / 2, d, s) | |
393 | end | |
394 | end | |
395 | local outBounce | |
396 | local function inBounce(t, b, c, d) | |
397 | return c - outBounce(d - t, 0, c, d) + b | |
398 | end | |
399 | local function inOutBounce(t, b, c, d) | |
400 | if t < d / 2 then | |
401 | return inBounce(t * 2, 0, c, d) * 0.5 + b | |
402 | else | |
403 | return outBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b | |
404 | end | |
405 | end | |
406 | local function outInBounce(t, b, c, d) | |
407 | if t < d / 2 then | |
408 | return outBounce(t * 2, b, c / 2, d) | |
409 | else | |
410 | return inBounce(t * 2 - d, b + c / 2, c / 2, d) | |
411 | end | |
412 | end | |
413 | local easingStyles = { | |
414 | linear = linear, | |
415 | inQuad = inQuad, | |
416 | outQuad = outQuad, | |
417 | inOutQuad = inOutQuad, | |
418 | outInQuad = outInQuad, | |
419 | - | game:GetService("RunService").RenderStepped:wait() |
419 | + | |
420 | outCubic = outCubic, | |
421 | inOutCubic = inOutCubic, | |
422 | outInCubic = outInCubic, | |
423 | inQuart = inQuart, | |
424 | outQuart = outQuart, | |
425 | inOutQuart = inOutQuart, | |
426 | outInQuart = outInQuart, | |
427 | inQuint = inQuint, | |
428 | outQuint = outQuint, | |
429 | inOutQuint = inOutQuint, | |
430 | outInQuint = outInQuint, | |
431 | inSine = inSine, | |
432 | outSine = outSine, | |
433 | inOutSine = inOutSine, | |
434 | outInSine = outInSine, | |
435 | inExpo = inExpo, | |
436 | outExpo = outExpo, | |
437 | inOutExpo = inOutExpo, | |
438 | outInExpo = outInExpo, | |
439 | inCirc = inCirc, | |
440 | outCirc = outCirc, | |
441 | inOutCirc = inOutCirc, | |
442 | outInCirc = outInCirc, | |
443 | inElastic = inElastic, | |
444 | outElastic = outElastic, | |
445 | inOutElastic = inOutElastic, | |
446 | outInElastic = outInElastic, | |
447 | inBack = inBack, | |
448 | outBack = outBack, | |
449 | inOutBack = inOutBack, | |
450 | outInBack = outInBack, | |
451 | inBounce = inBounce, | |
452 | outBounce = outBounce, | |
453 | inOutBounce = inOutBounce, | |
454 | outInBounce = outInBounce | |
455 | } | |
456 | function Animation:init(keyframes, looped, priority) | |
457 | if looped == nil then | |
458 | looped = false | |
459 | end | |
460 | local self = setmetatable({}, { | |
461 | __index = Animation, | |
462 | __call = function(self, ...) | |
463 | return self | |
464 | end, | |
465 | __metatable = {} | |
466 | }) | |
467 | self.keyframes = keyframes or {} | |
468 | self.looped = looped | |
469 | self.playing = false | |
470 | return self | |
471 | end | |
472 | function Animation:play(weld) | |
473 | if self.playing then | |
474 | self.playing = false | |
475 | end | |
476 | if weld == nil then | |
477 | return | |
478 | end | |
479 | self.playing = true | |
480 | return function() | |
481 | while self.playing do | |
482 | local lastSetFrame | |
483 | for i = 1, #self.keyframes do | |
484 | if not self.playing then | |
485 | break | |
486 | end | |
487 | local previousFrame | |
488 | if i == 1 then | |
489 | previousFrame = weld.C0 | |
490 | elseif self.keyframes[i - 1].pause then | |
491 | previousFrame = lastSetFrame | |
492 | else | |
493 | previousFrame = self.keyframes[i - 1].CFrame | |
494 | end | |
495 | local currentFrame = self.keyframes[i].CFrame | |
496 | if self.keyframes[i].pause == nil or self.keyframes[i].pause == false then | |
497 | lastSetFrame = currentFrame | |
498 | for t = 0, self.keyframes[i].duration, 0.016666666666666666 do | |
499 | if not self.playing then | |
500 | break | |
501 | end | |
502 | local theta = self.keyframes[i]:getTheta(t) | |
503 | weld.C0 = previousFrame:lerp(currentFrame, theta) | |
504 | game: Stepped | |
505 | if not self.playing then | |
506 | break | |
507 | end | |
508 | end | |
509 | if self.playing then | |
510 | weld.C0 = currentFrame | |
511 | end | |
512 | else | |
513 | local start = tick() | |
514 | repeat | |
515 | wait() | |
516 | until tick() - start >= self.keyframes[i].duration or not self.playing | |
517 | end | |
518 | if not self.playing then | |
519 | break | |
520 | end | |
521 | end | |
522 | if not self.looped then | |
523 | self.playing = false | |
524 | break | |
525 | end | |
526 | end | |
527 | end | |
528 | end | |
529 | function Animation:stop() | |
530 | self.playing = false | |
531 | end | |
532 | function Keyframe:add(cframe, duration, style, pause) | |
533 | local self = setmetatable({}, { | |
534 | __index = Keyframe, | |
535 | __call = function(self, ...) | |
536 | return self | |
537 | end, | |
538 | __metatable = {} | |
539 | }) | |
540 | self.ease = easingStyles[style] or easingStyles.linear | |
541 | self.CFrame = cframe or CFrame.new() | |
542 | self.duration = duration or 1 | |
543 | self.pause = pause | |
544 | return self | |
545 | end | |
546 | function Keyframe:getTheta(timeElapsed) | |
547 | return self.ease(timeElapsed, 0, 1, self.duration) | |
548 | end | |
549 | function TakeDamage() | |
550 | end | |
551 | local Context = game:GetService("ContextActionService") | |
552 | local Run = game:GetService("RunService") | |
553 | Character.Humanoid:ClearAllChildren() | |
554 | Character.Animate:Remove() | |
555 | local knife = Instance.new("Model") | |
556 | local time_knife = Instance.new("Part") | |
557 | local mesh = Instance.new("SpecialMesh") | |
558 | local part = Instance.new("Part") | |
559 | local mesh_2 = Instance.new("BlockMesh") | |
560 | local part_2 = Instance.new("Part") | |
561 | local motor6d = Instance.new("Motor6D") | |
562 | local motor6d_2 = Instance.new("Motor6D") | |
563 | local motor6d_3 = Instance.new("Motor6D") | |
564 | local motor6d_4 = Instance.new("Motor6D") | |
565 | local motor6d_5 = Instance.new("Motor6D") | |
566 | local motor6d_6 = Instance.new("Motor6D") | |
567 | local motor6d_7 = Instance.new("Motor6D") | |
568 | local motor6d_8 = Instance.new("Motor6D") | |
569 | local motor6d_9 = Instance.new("Motor6D") | |
570 | local motor6d_10 = Instance.new("Motor6D") | |
571 | local part_12 = Instance.new("Part") | |
572 | local mesh_3 = Instance.new("BlockMesh") | |
573 | local wedge = Instance.new("WedgePart") | |
574 | local part_9 = Instance.new("Part") | |
575 | local motor6d_11 = Instance.new("Motor6D") | |
576 | local motor6d_12 = Instance.new("Motor6D") | |
577 | local motor6d_13 = Instance.new("Motor6D") | |
578 | local motor6d_14 = Instance.new("Motor6D") | |
579 | local motor6d_15 = Instance.new("Motor6D") | |
580 | local motor6d_16 = Instance.new("Motor6D") | |
581 | local part_7 = Instance.new("Part") | |
582 | local part_18 = Instance.new("Part") | |
583 | local motor6d_17 = Instance.new("Motor6D") | |
584 | local motor6d_18 = Instance.new("Motor6D") | |
585 | local part_19 = Instance.new("Part") | |
586 | local motor6d_19 = Instance.new("Motor6D") | |
587 | local part_4 = Instance.new("Part") | |
588 | local part_6 = Instance.new("Part") | |
589 | local part_8 = Instance.new("Part") | |
590 | local part_10 = Instance.new("Part") | |
591 | local mesh_4 = Instance.new("SpecialMesh") | |
592 | local motor6d_20 = Instance.new("Motor6D") | |
593 | local motor6d_21 = Instance.new("Motor6D") | |
594 | local motor6d_22 = Instance.new("Motor6D") | |
595 | local motor6d_23 = Instance.new("Motor6D") | |
596 | local motor6d_24 = Instance.new("Motor6D") | |
597 | local motor6d_25 = Instance.new("Motor6D") | |
598 | local motor6d_26 = Instance.new("Motor6D") | |
599 | local part_22 = Instance.new("Part") | |
600 | local mesh_5 = Instance.new("BlockMesh") | |
601 | local part_23 = Instance.new("Part") | |
602 | local mesh_6 = Instance.new("BlockMesh") | |
603 | local part_20 = Instance.new("Part") | |
604 | local mesh_7 = Instance.new("BlockMesh") | |
605 | local part_21 = Instance.new("Part") | |
606 | local mesh_8 = Instance.new("BlockMesh") | |
607 | local part_15 = Instance.new("Part") | |
608 | local mesh_9 = Instance.new("BlockMesh") | |
609 | local part_3 = Instance.new("Part") | |
610 | local part_14 = Instance.new("Part") | |
611 | local mesh_10 = Instance.new("BlockMesh") | |
612 | local part_5 = Instance.new("Part") | |
613 | local part_11 = Instance.new("Part") | |
614 | local mesh_11 = Instance.new("BlockMesh") | |
615 | local part_24 = Instance.new("Part") | |
616 | local mesh_12 = Instance.new("BlockMesh") | |
617 | local wedge_2 = Instance.new("WedgePart") | |
618 | local part_17 = Instance.new("Part") | |
619 | local mesh_13 = Instance.new("SpecialMesh") | |
620 | local part_13 = Instance.new("Part") | |
621 | local mesh_14 = Instance.new("BlockMesh") | |
622 | local part_16 = Instance.new("Part") | |
623 | knife.Name = "Knife" | |
624 | knife.Parent = Character | |
625 | time_knife.Size = Vector3.new(0.21, 0.23, 0.05) | |
626 | time_knife.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
627 | time_knife.Name = "Time Knife" | |
628 | time_knife.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
629 | time_knife.Material = Enum.Material.SmoothPlastic | |
630 | time_knife.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
631 | time_knife.BrickColor = BrickColor.new("Bright yellow") | |
632 | time_knife.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
633 | time_knife.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
634 | time_knife.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
635 | time_knife.Parent = knife | |
636 | time_knife.CFrame = CFrame.new(-25.651, 7.665, 115.666) * CFrame.Angles(0, 1.571, 0) | |
637 | mesh.Scale = Vector3.new(0.375, 0.35, 0.395) | |
638 | mesh.MeshType = Enum.MeshType.FileMesh | |
639 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
640 | mesh.Parent = time_knife | |
641 | part.Size = Vector3.new(0.06, 0.05, 0.16) | |
642 | part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
643 | part.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
644 | part.Material = Enum.Material.SmoothPlastic | |
645 | part.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
646 | part.BrickColor = BrickColor.new("Really black") | |
647 | part.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
648 | part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
649 | part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
650 | part.Parent = time_knife | |
651 | part.CFrame = CFrame.new(-25.65, 7.855, 114.706) * CFrame.Angles(1.571, 0, 0) | |
652 | mesh_2.Scale = Vector3.new(1, 0.125, 0.2) | |
653 | mesh_2.Parent = part | |
654 | part_2.Size = Vector3.new(0.05, 0.24, 0.6) | |
655 | part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
656 | part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
657 | part_2.Material = Enum.Material.SmoothPlastic | |
658 | part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
659 | part_2.BrickColor = BrickColor.new("Bright yellow") | |
660 | part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
661 | part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
662 | part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
663 | part_2.Parent = time_knife | |
664 | part_2.CFrame = CFrame.new(-25.651, 7.67, 115.201) * CFrame.Angles(0, 0, 0) | |
665 | motor6d.C1 = CFrame.new(0.465, 0.005, 0) * CFrame.Angles(0, -1.571, 0) | |
666 | motor6d.Part0 = part_2 | |
667 | motor6d.Part1 = time_knife | |
668 | motor6d.Parent = part_2 | |
669 | motor6d_2.C1 = CFrame.new(-0.01, -0.115, 0) * CFrame.Angles(0, 1.571, 0) | |
670 | motor6d_2.Part0 = part_2 | |
671 | motor6d_2.Part1 = part_3 | |
672 | motor6d_2.Parent = part_2 | |
673 | motor6d_3.C1 = CFrame.new(-0.01, 0.125, 0) * CFrame.Angles(0, 1.571, 0) | |
674 | motor6d_3.Part0 = part_2 | |
675 | motor6d_3.Part1 = part_4 | |
676 | motor6d_3.Parent = part_2 | |
677 | motor6d_4.C1 = CFrame.new(0, 0.11, 0.225) | |
678 | motor6d_4.Part0 = part_2 | |
679 | motor6d_4.Part1 = part_5 | |
680 | motor6d_4.Parent = part_2 | |
681 | motor6d_5.C1 = CFrame.new(0, 0.11, 0.075) | |
682 | motor6d_5.Part0 = part_2 | |
683 | motor6d_5.Part1 = part_6 | |
684 | motor6d_5.Parent = part_2 | |
685 | motor6d_6.C1 = CFrame.new(0, 0.11, -0.075) | |
686 | motor6d_6.Part0 = part_2 | |
687 | motor6d_6.Part1 = part_7 | |
688 | motor6d_6.Parent = part_2 | |
689 | motor6d_7.C1 = CFrame.new(0, 0.11, -0.225) | |
690 | motor6d_7.Part0 = part_2 | |
691 | motor6d_7.Part1 = part_8 | |
692 | motor6d_7.Parent = part_2 | |
693 | motor6d_8.C1 = CFrame.new(0, -0.01, 0.49) * CFrame.Angles(0, 0, 0) | |
694 | motor6d_8.Part0 = part_2 | |
695 | motor6d_8.Part1 = part_9 | |
696 | motor6d_8.Parent = part_2 | |
697 | motor6d_9.C1 = CFrame.new(-0.485, 0.005, 0) * CFrame.Angles(0, -1.571, 0) | |
698 | motor6d_9.Part0 = part_2 | |
699 | motor6d_9.Part1 = part_10 | |
700 | motor6d_9.Parent = part_2 | |
701 | motor6d_10.C1 = CFrame.new(0, -0.005, 0.295) * CFrame.Angles(0, 0, 0) | |
702 | motor6d_10.Part0 = part_2 | |
703 | motor6d_10.Part1 = part_11 | |
704 | motor6d_10.Parent = part_2 | |
705 | part_12.Size = Vector3.new(0.06, 0.05, 0.16) | |
706 | part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
707 | part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
708 | part_12.Material = Enum.Material.SmoothPlastic | |
709 | part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
710 | part_12.BrickColor = BrickColor.new("Really black") | |
711 | part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
712 | part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
713 | part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
714 | part_12.Parent = time_knife | |
715 | part_12.CFrame = CFrame.new(-25.651, 7.635, 114.656) * CFrame.Angles(2.618, 0, 0) | |
716 | mesh_3.Scale = Vector3.new(1.1, 0.325, 1) | |
717 | mesh_3.Parent = part_12 | |
718 | wedge.Size = Vector3.new(0.05, 0.14, 0.1) | |
719 | wedge.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
720 | wedge.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
721 | wedge.Material = Enum.Material.SmoothPlastic | |
722 | wedge.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
723 | wedge.BrickColor = BrickColor.new("Institutional white") | |
724 | wedge.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
725 | wedge.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
726 | wedge.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
727 | wedge.Parent = time_knife | |
728 | wedge.CFrame = CFrame.new(-25.651, 7.6, 113.671) * CFrame.Angles(0, 0, -3.142) | |
729 | part_9.Shape = Enum.PartType.Cylinder | |
730 | part_9.Size = Vector3.new(0.05, 0.42, 0.43) | |
731 | part_9.BrickColor = BrickColor.new("Institutional white") | |
732 | part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
733 | part_9.Material = Enum.Material.SmoothPlastic | |
734 | part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
735 | part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
736 | part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
737 | part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
738 | part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
739 | part_9.Parent = time_knife | |
740 | part_9.CFrame = CFrame.new(-25.651, 7.68, 114.711) * CFrame.Angles(0, 0, 0) | |
741 | motor6d_11.C1 = CFrame.new(0, 0.014, -0.065) * CFrame.Angles(0.436, 0, 0) | |
742 | motor6d_11.Part0 = part_9 | |
743 | motor6d_11.Part1 = part_13 | |
744 | motor6d_11.Parent = part_9 | |
745 | motor6d_12.C1 = CFrame.new(0, -0.011, -0.07) * CFrame.Angles(-2.618, 0, 0) | |
746 | motor6d_12.Part0 = part_9 | |
747 | motor6d_12.Part1 = part_12 | |
748 | motor6d_12.Parent = part_9 | |
749 | motor6d_13.C1 = CFrame.new(0, 0.01, -0.056) * CFrame.Angles(1.484, 0, 0) | |
750 | motor6d_13.Part0 = part_9 | |
751 | motor6d_13.Part1 = part_14 | |
752 | motor6d_13.Parent = part_9 | |
753 | motor6d_14.C1 = CFrame.new(0, 0.016, -0.201) * CFrame.Angles(-0.785, 0, 0) | |
754 | motor6d_14.Part0 = part_9 | |
755 | motor6d_14.Part1 = part_15 | |
756 | motor6d_14.Parent = part_9 | |
757 | motor6d_15.C1 = CFrame.new(0, -0.28, 0.13) * CFrame.Angles(0, 0, 0) | |
758 | motor6d_15.Part0 = part_9 | |
759 | motor6d_15.Part1 = part_16 | |
760 | motor6d_15.Parent = part_9 | |
761 | motor6d_16.C1 = CFrame.new(-0.135, -0.275, 0) * CFrame.Angles(0, -1.571, 0) | |
762 | motor6d_16.Part0 = part_9 | |
763 | motor6d_16.Part1 = part_17 | |
764 | motor6d_16.Parent = part_9 | |
765 | part_7.Size = Vector3.new(0.05, 0.08, 0.05) | |
766 | part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
767 | part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
768 | part_7.Material = Enum.Material.SmoothPlastic | |
769 | part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
770 | part_7.BrickColor = BrickColor.new("Bright yellow") | |
771 | part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
772 | part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
773 | part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
774 | part_7.Parent = time_knife | |
775 | part_7.CFrame = CFrame.new(-25.651, 7.56, 115.276) * CFrame.Angles(0, 0, 0) | |
776 | part_18.Size = Vector3.new(0.05, 0.28, 0.95) | |
777 | part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
778 | part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
779 | part_18.Material = Enum.Material.SmoothPlastic | |
780 | part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
781 | part_18.BrickColor = BrickColor.new("Institutional white") | |
782 | part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
783 | part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
784 | part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
785 | part_18.Parent = time_knife | |
786 | part_18.CFrame = CFrame.new(-25.651, 7.67, 114.196) | |
787 | motor6d_17.C1 = CFrame.new(0, -0.07, 0.41) | |
788 | motor6d_17.Part0 = part_18 | |
789 | motor6d_17.Part1 = part_19 | |
790 | motor6d_17.Parent = part_18 | |
791 | motor6d_18.C1 = CFrame.new(0, -0.07, 0.525) * CFrame.Angles(0, 0, 3.142) | |
792 | motor6d_18.Part0 = part_18 | |
793 | motor6d_18.Part1 = wedge | |
794 | motor6d_18.Parent = part_18 | |
795 | part_19.Size = Vector3.new(0.05, 0.14, 0.33) | |
796 | part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
797 | part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
798 | part_19.Material = Enum.Material.SmoothPlastic | |
799 | part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
800 | part_19.BrickColor = BrickColor.new("Institutional white") | |
801 | part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
802 | part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
803 | part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
804 | part_19.Parent = time_knife | |
805 | part_19.CFrame = CFrame.new(-25.651, 7.74, 113.786) | |
806 | motor6d_19.C1 = CFrame.new(0, 0, 0.19) * CFrame.Angles(0, 0, 3.142) | |
807 | motor6d_19.Part0 = part_19 | |
808 | motor6d_19.Part1 = wedge_2 | |
809 | motor6d_19.Parent = part_19 | |
810 | part_4.Shape = Enum.PartType.Cylinder | |
811 | part_4.Size = Vector3.new(0.66, 0.13, 0.05) | |
812 | part_4.BrickColor = BrickColor.new("Bright yellow") | |
813 | part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
814 | part_4.Material = Enum.Material.SmoothPlastic | |
815 | part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
816 | part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
817 | part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
818 | part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
819 | part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
820 | part_4.Parent = time_knife | |
821 | part_4.CFrame = CFrame.new(-25.65, 7.545, 115.211) * CFrame.Angles(0, -1.571, 0) | |
822 | part_6.Size = Vector3.new(0.05, 0.08, 0.05) | |
823 | part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
824 | part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
825 | part_6.Material = Enum.Material.SmoothPlastic | |
826 | part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
827 | part_6.BrickColor = BrickColor.new("Bright yellow") | |
828 | part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
829 | part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
830 | part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
831 | part_6.Parent = time_knife | |
832 | part_6.CFrame = CFrame.new(-25.651, 7.56, 115.126) * CFrame.Angles(0, 0, 0) | |
833 | part_8.Size = Vector3.new(0.05, 0.08, 0.05) | |
834 | part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
835 | part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
836 | part_8.Material = Enum.Material.SmoothPlastic | |
837 | part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
838 | part_8.BrickColor = BrickColor.new("Bright yellow") | |
839 | part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
840 | part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
841 | part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
842 | part_8.Parent = time_knife | |
843 | part_8.CFrame = CFrame.new(-25.651, 7.56, 115.426) * CFrame.Angles(0, 0, 0) | |
844 | part_10.Size = Vector3.new(0.21, 0.23, 0.05) | |
845 | part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
846 | part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
847 | part_10.Material = Enum.Material.SmoothPlastic | |
848 | part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
849 | part_10.BrickColor = BrickColor.new("Bright yellow") | |
850 | part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
851 | part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
852 | part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
853 | part_10.Parent = time_knife | |
854 | part_10.CFrame = CFrame.new(-25.651, 7.665, 114.716) * CFrame.Angles(0, 1.571, 0) | |
855 | mesh_4.Scale = Vector3.new(0.45, 0.45, 0.395) | |
856 | mesh_4.MeshType = Enum.MeshType.FileMesh | |
857 | mesh_4.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
858 | mesh_4.Parent = part_10 | |
859 | motor6d_20.C1 = CFrame.new(0, -0.013, -0.192) * CFrame.Angles(0.785, 1.571, 0) | |
860 | motor6d_20.Part0 = part_10 | |
861 | motor6d_20.Part1 = part_20 | |
862 | motor6d_20.Parent = part_10 | |
863 | motor6d_21.C1 = CFrame.new(0, 0.01, 0.19) * CFrame.Angles(-1.571, 1.571, 0) | |
864 | motor6d_21.Part0 = part_10 | |
865 | motor6d_21.Part1 = part | |
866 | motor6d_21.Parent = part_10 | |
867 | motor6d_22.C1 = CFrame.new(0, 0.008, 0.193) * CFrame.Angles(-0.785, 1.571, 0) | |
868 | motor6d_22.Part0 = part_10 | |
869 | motor6d_22.Part1 = part_21 | |
870 | motor6d_22.Parent = part_10 | |
871 | motor6d_23.C1 = CFrame.new(0, -0.01, 0.2) * CFrame.Angles(0, 1.571, 0) | |
872 | motor6d_23.Part0 = part_10 | |
873 | motor6d_23.Part1 = part_22 | |
874 | motor6d_23.Parent = part_10 | |
875 | motor6d_24.C1 = CFrame.new(0, -0.013, 0.198) * CFrame.Angles(0.785, 1.571, 0) | |
876 | motor6d_24.Part0 = part_10 | |
877 | motor6d_24.Part1 = part_23 | |
878 | motor6d_24.Parent = part_10 | |
879 | motor6d_25.C1 = CFrame.new(0, 0.01, -0.19) * CFrame.Angles(-1.571, 1.571, 0) | |
880 | motor6d_25.Part0 = part_10 | |
881 | motor6d_25.Part1 = part_24 | |
882 | motor6d_25.Parent = part_10 | |
883 | motor6d_26.C1 = CFrame.new(0, -0.005, 0.52) * CFrame.Angles(0, 1.571, 0) | |
884 | motor6d_26.Part0 = part_10 | |
885 | motor6d_26.Part1 = part_18 | |
886 | motor6d_26.Parent = part_10 | |
887 | part_22.Size = Vector3.new(0.06, 0.05, 0.16) | |
888 | part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
889 | part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
890 | part_22.Material = Enum.Material.SmoothPlastic | |
891 | part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
892 | part_22.BrickColor = BrickColor.new("Really black") | |
893 | part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
894 | part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
895 | part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
896 | part_22.Parent = time_knife | |
897 | part_22.CFrame = CFrame.new(-25.65, 7.675, 114.516) * CFrame.Angles(0, 0, 0) | |
898 | mesh_5.Scale = Vector3.new(1, 0.125, 0.2) | |
899 | mesh_5.Parent = part_22 | |
900 | part_23.Size = Vector3.new(0.06, 0.05, 0.16) | |
901 | part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
902 | part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
903 | part_23.Material = Enum.Material.SmoothPlastic | |
904 | part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
905 | part_23.BrickColor = BrickColor.new("Really black") | |
906 | part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
907 | part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
908 | part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
909 | part_23.Parent = time_knife | |
910 | part_23.CFrame = CFrame.new(-25.65, 7.534, 114.566) * CFrame.Angles(-0.785, 0, 0) | |
911 | mesh_6.Scale = Vector3.new(1, 0.125, 0.2) | |
912 | mesh_6.Parent = part_23 | |
913 | part_20.Size = Vector3.new(0.06, 0.05, 0.16) | |
914 | part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
915 | part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
916 | part_20.Material = Enum.Material.SmoothPlastic | |
917 | part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
918 | part_20.BrickColor = BrickColor.new("Really black") | |
919 | part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
920 | part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
921 | part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
922 | part_20.Parent = time_knife | |
923 | part_20.CFrame = CFrame.new(-25.65, 7.809, 114.842) * CFrame.Angles(-0.785, 0, 0) | |
924 | mesh_7.Scale = Vector3.new(1, 0.125, 0.2) | |
925 | mesh_7.Parent = part_20 | |
926 | part_21.Size = Vector3.new(0.06, 0.05, 0.16) | |
927 | part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
928 | part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
929 | part_21.Material = Enum.Material.SmoothPlastic | |
930 | part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
931 | part_21.BrickColor = BrickColor.new("Really black") | |
932 | part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
933 | part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
934 | part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
935 | part_21.Parent = time_knife | |
936 | part_21.CFrame = CFrame.new(-25.65, 7.795, 114.573) * CFrame.Angles(0.785, 0, 0) | |
937 | mesh_8.Scale = Vector3.new(1, 0.125, 0.2) | |
938 | mesh_8.Parent = part_21 | |
939 | part_15.Size = Vector3.new(0.06, 0.05, 0.16) | |
940 | part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
941 | part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
942 | part_15.Material = Enum.Material.SmoothPlastic | |
943 | part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
944 | part_15.BrickColor = BrickColor.new("Really black") | |
945 | part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
946 | part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
947 | part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
948 | part_15.Parent = time_knife | |
949 | part_15.CFrame = CFrame.new(-25.651, 7.527, 114.842) * CFrame.Angles(0.785, 0, 0) | |
950 | mesh_9.Scale = Vector3.new(1, 0.125, 0.2) | |
951 | mesh_9.Parent = part_15 | |
952 | part_3.Shape = Enum.PartType.Cylinder | |
953 | part_3.Size = Vector3.new(0.66, 0.13, 0.05) | |
954 | part_3.BrickColor = BrickColor.new("Bright yellow") | |
955 | part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
956 | part_3.Material = Enum.Material.SmoothPlastic | |
957 | part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
958 | part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
959 | part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
960 | part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
961 | part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
962 | part_3.Parent = time_knife | |
963 | part_3.CFrame = CFrame.new(-25.65, 7.785, 115.211) * CFrame.Angles(0, -1.571, 0) | |
964 | part_14.Size = Vector3.new(0.06, 0.05, 0.16) | |
965 | part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
966 | part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
967 | part_14.Material = Enum.Material.SmoothPlastic | |
968 | part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
969 | part_14.BrickColor = BrickColor.new("Really black") | |
970 | part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
971 | part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
972 | part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
973 | part_14.Parent = time_knife | |
974 | part_14.CFrame = CFrame.new(-25.651, 7.735, 114.726) * CFrame.Angles(-1.484, 0, 0) | |
975 | mesh_10.Scale = Vector3.new(1.1, 0.325, 0.75) | |
976 | mesh_10.Parent = part_14 | |
977 | part_5.Size = Vector3.new(0.05, 0.08, 0.05) | |
978 | part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
979 | part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
980 | part_5.Material = Enum.Material.SmoothPlastic | |
981 | part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
982 | part_5.BrickColor = BrickColor.new("Bright yellow") | |
983 | part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
984 | part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
985 | part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
986 | part_5.Parent = time_knife | |
987 | part_5.CFrame = CFrame.new(-25.651, 7.56, 114.976) * CFrame.Angles(0, 0, 0) | |
988 | part_11.Size = Vector3.new(0.06, 0.05, 0.16) | |
989 | part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
990 | part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
991 | part_11.Material = Enum.Material.SmoothPlastic | |
992 | part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
993 | part_11.BrickColor = BrickColor.new("Really black") | |
994 | part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
995 | part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
996 | part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
997 | part_11.Parent = time_knife | |
998 | part_11.CFrame = CFrame.new(-25.65, 7.675, 114.906) * CFrame.Angles(0, 0, 0) | |
999 | mesh_11.Scale = Vector3.new(1, 0.125, 0.2) | |
1000 | mesh_11.Parent = part_11 | |
1001 | part_24.Size = Vector3.new(0.06, 0.05, 0.16) | |
1002 | part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1003 | part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1004 | part_24.Material = Enum.Material.SmoothPlastic | |
1005 | part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1006 | part_24.BrickColor = BrickColor.new("Really black") | |
1007 | part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1008 | part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1009 | part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | part_24.Parent = time_knife | |
1011 | part_24.CFrame = CFrame.new(-25.65, 7.475, 114.706) * CFrame.Angles(1.571, 0, 0) | |
1012 | mesh_12.Scale = Vector3.new(1, 0.125, 0.2) | |
1013 | mesh_12.Parent = part_24 | |
1014 | wedge_2.Size = Vector3.new(0.05, 0.14, 0.05) | |
1015 | wedge_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1016 | wedge_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1017 | wedge_2.Material = Enum.Material.SmoothPlastic | |
1018 | wedge_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1019 | wedge_2.BrickColor = BrickColor.new("Institutional white") | |
1020 | wedge_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1021 | wedge_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1022 | wedge_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1023 | wedge_2.Parent = time_knife | |
1024 | wedge_2.CFrame = CFrame.new(-25.651, 7.74, 113.596) * CFrame.Angles(0, 0, -3.142) | |
1025 | part_17.Size = Vector3.new(0.21, 0.23, 0.05) | |
1026 | part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1027 | part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1028 | part_17.Material = Enum.Material.SmoothPlastic | |
1029 | part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1030 | part_17.BrickColor = BrickColor.new("Bright yellow") | |
1031 | part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1032 | part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1033 | part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1034 | part_17.Parent = time_knife | |
1035 | part_17.CFrame = CFrame.new(-25.651, 7.955, 114.576) * CFrame.Angles(0, 1.571, 0) | |
1036 | mesh_13.Scale = Vector3.new(0.225, 0.225, 0.365) | |
1037 | mesh_13.MeshType = Enum.MeshType.FileMesh | |
1038 | mesh_13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
1039 | mesh_13.Parent = part_17 | |
1040 | part_13.Size = Vector3.new(0.06, 0.05, 0.16) | |
1041 | part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1042 | part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1043 | part_13.Material = Enum.Material.SmoothPlastic | |
1044 | part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1045 | part_13.BrickColor = BrickColor.new("Bright red") | |
1046 | part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1047 | part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1048 | part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1049 | part_13.Parent = time_knife | |
1050 | part_13.CFrame = CFrame.new(-25.651, 7.695, 114.776) * CFrame.Angles(-0.436, 0, 0) | |
1051 | mesh_14.Scale = Vector3.new(1, 0.35, 0.85) | |
1052 | mesh_14.Parent = part_13 | |
1053 | part_16.Shape = Enum.PartType.Cylinder | |
1054 | part_16.Size = Vector3.new(0.05, 0.42, 0.21) | |
1055 | part_16.BrickColor = BrickColor.new("Institutional white") | |
1056 | part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1057 | part_16.Material = Enum.Material.SmoothPlastic | |
1058 | part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1059 | part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1060 | part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1061 | part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1062 | part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1063 | part_16.Parent = time_knife | |
1064 | part_16.CFrame = CFrame.new(-25.651, 7.96, 114.581) * CFrame.Angles(0, 0, 0) | |
1065 | for _, v in pairs(time_knife:GetChildren()) do | |
1066 | if v:IsA("BasePart") then | |
1067 | v.CanCollide = false | |
1068 | v.Locked = true | |
1069 | end | |
1070 | end | |
1071 | local voices = { | |
1072 | 616576465, | |
1073 | 877367823, | |
1074 | 794070439, | |
1075 | 877368036, | |
1076 | 877370450 | |
1077 | } | |
1078 | local hit_sfx = {553324113, 879339588} | |
1079 | local AWeld = Instance.new("Motor") | |
1080 | AWeld.Parent = Character | |
1081 | AWeld.Part0 = Character["Left Arm"] | |
1082 | AWeld.Part1 = part_2 | |
1083 | AWeld.C0 = CFrame.new(0, -1, 0.15) * CFrame.Angles(0, math.pi, 0) | |
1084 | local KeyAnims = { | |
1085 | UpKick = { | |
1086 | H = Animation:init({ | |
1087 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(75), math.rad(180), 0), 0.16, "inOutQuad"), | |
1088 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(55), math.rad(180), 0), 0.16, "inOutQuad") | |
1089 | }, false), | |
1090 | T = Animation:init({ | |
1091 | Keyframe:add(CFrame.Angles(math.rad(105), math.rad(180), 0), 0.16, "inOutQuad"), | |
1092 | Keyframe:add(CFrame.Angles(math.rad(125), math.rad(180), 0), 0.14, "inOutQuad") | |
1093 | }, false), | |
1094 | RA = Animation:init({ | |
1095 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(90), 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.16, "inOutQuad"), | |
1096 | Keyframe:add(CFrame.new(1, 0.5, 0.4) * CFrame.Angles(math.rad(53), math.rad(90), 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.14, "OutCirc") | |
1097 | }, false), | |
1098 | LA = Animation:init({ | |
1099 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-52), math.rad(-72), 0) * CFrame.Angles(math.rad(37), 0, 0), 0.16, "inOutQuad") | |
1100 | }, false), | |
1101 | RL = Animation:init({ | |
1102 | Keyframe:add(CFrame.new(1, -0.65, -0.85) * CFrame.Angles(math.rad(-36), math.rad(90), 0), 0.16, "inOutQuad"), | |
1103 | Keyframe:add(CFrame.new(1, -0.5, -1.2) * CFrame.Angles(math.rad(-47), math.rad(90), 0), 0.14, "OutQuad") | |
1104 | }, false), | |
1105 | LL = Animation:init({ | |
1106 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(-90), 0), 0.16, "inOutSine"), | |
1107 | Keyframe:add(CFrame.new(-1, -1.1, 0) * CFrame.Angles(math.rad(-35), math.rad(-90), 0), 0.15, "OutExpo") | |
1108 | }, false) | |
1109 | }, | |
1110 | Punch = { | |
1111 | H = Animation:init({ | |
1112 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(200), math.rad(-69)), 0.2, "inOutQuad") | |
1113 | }, false), | |
1114 | T = Animation:init({ | |
1115 | Keyframe:add(CFrame.Angles(math.rad(70), math.rad(160), math.rad(69)), 0.18, "inOutQuad") | |
1116 | }, false), | |
1117 | RA = Animation:init({ | |
1118 | Keyframe:add(CFrame.new(1, 0.5, -0.3) * CFrame.Angles(math.rad(110), math.rad(90), 0) * CFrame.Angles(math.rad(-69), 0, 0), 0.18, "OutCirc") | |
1119 | }, false), | |
1120 | LA = Animation:init({ | |
1121 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-52), math.rad(-52), 0) * CFrame.Angles(math.rad(37), 0, 0), 0.2, "inOutQuad") | |
1122 | }, false), | |
1123 | RL = Animation:init({ | |
1124 | Keyframe:add(CFrame.new(1, -0.65, -0.5) * CFrame.Angles(math.rad(-50), math.rad(90), 0), 0.18, "OutQuad") | |
1125 | }, false), | |
1126 | LL = Animation:init({ | |
1127 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.18, "OutExpo") | |
1128 | }, false) | |
1129 | }, | |
1130 | UpperCut = { | |
1131 | H = Animation:init({ | |
1132 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(200), math.rad(-58)), 0.13, "inOutQuad"), | |
1133 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(160), math.rad(60)), 0.285, "inQuint") | |
1134 | }, false), | |
1135 | T = Animation:init({ | |
1136 | Keyframe:add(CFrame.Angles(math.rad(70), math.rad(160), math.rad(58)), 0.13, "inOutQuad"), | |
1137 | Keyframe:add(CFrame.Angles(math.rad(70), math.rad(200), math.rad(-60)), 0.285, "inQuint") | |
1138 | }, false), | |
1139 | RA = Animation:init({ | |
1140 | Keyframe:add(CFrame.new(1, 0.5, -0.3) * CFrame.Angles(math.rad(90), math.rad(90), 0) * CFrame.Angles(math.rad(72), 0, 0), 0.13, "OutQuad"), | |
1141 | Keyframe:add(CFrame.new(1, 0.5, -0.3) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.285, "inQuint") | |
1142 | }, false), | |
1143 | LA = Animation:init({ | |
1144 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-52), 0) * CFrame.Angles(math.rad(37), 0, 0), 0.135, "inOutQuad"), | |
1145 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(135), math.rad(-52), 0) * CFrame.Angles(math.rad(10), math.rad(-60), 0), 0.285, "inQuint") | |
1146 | }, false), | |
1147 | RL = Animation:init({ | |
1148 | Keyframe:add(CFrame.new(1, -0.65, -0.5) * CFrame.Angles(math.rad(-50), math.rad(90), 0), 0.13, "inOutQuad"), | |
1149 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(90), 0), 0.285, "inQuint") | |
1150 | }, false), | |
1151 | LL = Animation:init({ | |
1152 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(-90), 0), 0.13, "inOutQuad"), | |
1153 | Keyframe:add(CFrame.new(-1, -0.65, -0.5) * CFrame.Angles(math.rad(-50), math.rad(-90), 0), 0.285, "inQuint") | |
1154 | }, false) | |
1155 | }, | |
1156 | Kick = { | |
1157 | H = Animation:init({ | |
1158 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(60), math.rad(180), math.rad(-52)), 0.32, "inOutSine"), | |
1159 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(60), math.rad(180), math.rad(-90)), 0.27, "outSine") | |
1160 | }, false), | |
1161 | T = Animation:init({ | |
1162 | Keyframe:add(CFrame.Angles(math.rad(120), math.rad(180), math.rad(52)), 0.32, "inOutSine"), | |
1163 | Keyframe:add(CFrame.Angles(math.rad(120), math.rad(180), math.rad(90)), 0.32, "inOutSine") | |
1164 | }, false), | |
1165 | RA = Animation:init({ | |
1166 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(80), math.rad(90), 0) * CFrame.Angles(math.rad(75), 0, 0), 0.32, "inOutSine") | |
1167 | }, false), | |
1168 | LA = Animation:init({ | |
1169 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(-90), 0), 0.32, "inOutSine") | |
1170 | }, false), | |
1171 | RL = Animation:init({ | |
1172 | Keyframe:add(CFrame.new(1, -0.65, -0.62) * CFrame.Angles(math.rad(-43), math.rad(90), 0) * CFrame.Angles(math.rad(20), 0, 0), 0.285, "inOutQuart"), | |
1173 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-65), 0, 0), 0.23, "inBack") | |
1174 | }, false), | |
1175 | LL = Animation:init({ | |
1176 | Keyframe:add(CFrame.new(-1, -0.85, -0.5) * CFrame.Angles(math.rad(-50), math.rad(-90), 0), 0.32, "inOutSine"), | |
1177 | Keyframe:add(CFrame.new(-1, -0.85, -0.5) * CFrame.Angles(math.rad(-50), math.rad(-90), 0) * CFrame.Angles(math.rad(17), 0, 0), 0.27, "outSine") | |
1178 | }, false) | |
1179 | }, | |
1180 | Stomp = { | |
1181 | H = Animation:init({ | |
1182 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(102), math.rad(180), 0), 0.32, "outBack") | |
1183 | }, false), | |
1184 | T = Animation:init({ | |
1185 | Keyframe:add(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(52), math.rad(180), 0), 0.32, "outBack") | |
1186 | }, false), | |
1187 | RA = Animation:init({ | |
1188 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(36), math.rad(90), 0) * CFrame.Angles(math.rad(55), 0, 0), 0.32, "outBack") | |
1189 | }, false), | |
1190 | LA = Animation:init({ | |
1191 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-18), math.rad(-90), 0), 0.32, "outBack") | |
1192 | }, false), | |
1193 | RL = Animation:init({ | |
1194 | Keyframe:add(CFrame.new(1, -0.2, -0.5) * CFrame.Angles(math.rad(38), math.rad(90), 0), 0.32, "outBack") | |
1195 | }, false), | |
1196 | LL = Animation:init({ | |
1197 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.32, "outBack") | |
1198 | }, false) | |
1199 | }, | |
1200 | TimeStop = { | |
1201 | H = Animation:init({ | |
1202 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), math.rad(80)), 0.28, "inOutCubic") | |
1203 | }, false), | |
1204 | T = Animation:init({ | |
1205 | Keyframe:add(CFrame.Angles(math.rad(90), math.rad(180), math.rad(-80)), 0.28, "inOutCubic") | |
1206 | }, false), | |
1207 | RA = Animation:init({ | |
1208 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-13), math.rad(90), 0) * CFrame.Angles(math.rad(-6), 0, 0), 0.28, "inOutCubic") | |
1209 | }, false), | |
1210 | LA = Animation:init({ | |
1211 | Keyframe:add(CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(82), math.rad(-90), 0) * CFrame.Angles(math.rad(-90), 0, 0), 0.28, "inOutCubic") | |
1212 | }, false), | |
1213 | RL = Animation:init({ | |
1214 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.28, "inOutCubic") | |
1215 | }, false), | |
1216 | LL = Animation:init({ | |
1217 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.28, "inOutCubic") | |
1218 | }, false), | |
1219 | Kni = Animation:init({ | |
1220 | Keyframe:add(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-50), 0, 0), 0.28, "inOutCubic") | |
1221 | }, false) | |
1222 | }, | |
1223 | SurroundTimeStop = { | |
1224 | H = Animation:init({ | |
1225 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.21, "linear"), | |
1226 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(115), math.rad(180), 0), 0.25, "linear") | |
1227 | }, false), | |
1228 | T = Animation:init({ | |
1229 | Keyframe:add(CFrame.Angles(math.rad(90), math.rad(180), 0), 0.21, "linear"), | |
1230 | Keyframe:add(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(65), math.rad(180), 0), 0.25, "outQuad") | |
1231 | }, false), | |
1232 | RA = Animation:init({ | |
1233 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(90), 0), 0.21, "linear"), | |
1234 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-36), math.rad(90), 0) * CFrame.Angles(math.rad(-35), 0, 0), 0.34, "inOutBack") | |
1235 | }, false), | |
1236 | LA = Animation:init({ | |
1237 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(105), math.rad(-90), 0), 0.21, "linear"), | |
1238 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(82), math.rad(-90), 0) * CFrame.Angles(math.rad(34), 0, 0), 0.34, "inOutBack") | |
1239 | }, false), | |
1240 | RL = Animation:init({ | |
1241 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.21, "linear"), | |
1242 | Keyframe:add(CFrame.new(1, 0.55, -0.5) * CFrame.Angles(math.rad(25), math.rad(90), 0), 0.25, "outQuad") | |
1243 | }, false), | |
1244 | LL = Animation:init({ | |
1245 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.21, "linear"), | |
1246 | Keyframe:add(CFrame.new(-1, -0.2, -0.3) * CFrame.Angles(math.rad(-25), math.rad(-90), 0), 0.25, "outQuad") | |
1247 | }, false) | |
1248 | }, | |
1249 | Mooda = { | |
1250 | H = Animation:init({ | |
1251 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(100), math.rad(180), math.rad(-73)), 0.075, "inQuart"), | |
1252 | Keyframe:add(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(100), math.rad(180), math.rad(71)), 0.075, "inQuart") | |
1253 | }, true), | |
1254 | T = Animation:init({ | |
1255 | Keyframe:add(CFrame.Angles(math.rad(80), math.rad(180), math.rad(75)), 0.075, "inQuart"), | |
1256 | Keyframe:add(CFrame.Angles(math.rad(80), math.rad(180), math.rad(-75)), 0.075, "inQuart") | |
1257 | }, true), | |
1258 | RA = Animation:init({ | |
1259 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(97 + ArmSpreadR), math.rad(90), 0) * CFrame.Angles(math.rad(-60), 0, 0), 0.075, "inQuart"), | |
1260 | Keyframe:add(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(80), math.rad(90), 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.075, "inQuart") | |
1261 | }, true), | |
1262 | LA = Animation:init({ | |
1263 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(80), math.rad(-90), 0) * CFrame.Angles(math.rad(-20), 0, 0), 0.075, "inQuart"), | |
1264 | Keyframe:add(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(97 + ArmSpreadL), math.rad(-90), 0) * CFrame.Angles(math.rad(-60), 0, 0), 0.075, "inQuart") | |
1265 | }, true), | |
1266 | RL = Animation:init({ | |
1267 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(15), math.rad(30), 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.075, "inQuart"), | |
1268 | Keyframe:add(CFrame.new(1, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.075, "inQuart") | |
1269 | }, true), | |
1270 | LL = Animation:init({ | |
1271 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.075, "inQuart"), | |
1272 | Keyframe:add(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(15), math.rad(-30), 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.075, "inQuart") | |
1273 | }, true) | |
1274 | } | |
1275 | } | |
1276 | local Hitbox = Instance.new("Part") | |
1277 | Hitbox.Size = Vector3.new(4.2, 5, 3.5) | |
1278 | Hitbox.CanCollide = false | |
1279 | Hitbox.Transparency = 1 | |
1280 | local Hit_Sound = Instance.new("Sound") | |
1281 | Hit_Sound.Parent = Hitbox | |
1282 | Hit_Sound.SoundId = "rbxassetid://" .. hit_sfx[math.random(1, #hit_sfx)] | |
1283 | Hit_Sound.Pitch = math.random(0.9, 1.4) | |
1284 | Hit_Sound.Volume = 3.5 | |
1285 | function attackseq() | |
1286 | if not Attacking and PlayMainAnims and AttackSeq == 0 and 0 < Character.Humanoid.Health and not isKneeing then | |
1287 | Attacking = true | |
1288 | attac = true | |
1289 | isKneeing = true | |
1290 | PlayMainAnims = false | |
1291 | do | |
1292 | local HitCopy = Hitbox:Clone() | |
1293 | HitCopy.Parent = Character | |
1294 | local HitWeld = Instance.new("Motor") | |
1295 | HitWeld.Parent = Character | |
1296 | HitWeld.Part0 = RootPart | |
1297 | HitWeld.Part1 = HitCopy | |
1298 | local dmgdb = false | |
1299 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1300 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1301 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1302 | dmgdb = true | |
1303 | HitCopy:WaitForChild("Sound"):Resume() | |
1304 | Hum:TakeDamage(Hum.MaxHealth/2/2/2) | |
1305 | local Push = Instance.new("BodyVelocity") | |
1306 | Push.Parent = Hit.Parent:WaitForChild("Head") | |
1307 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1308 | Push.Velocity = (RootPart.CFrame.upVector / 3 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 4.3 | |
1309 | wait(0.45) | |
1310 | Push:Remove() | |
1311 | wait(1) | |
1312 | dmgdb = false | |
1313 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1314 | dmgdb = true | |
1315 | HitCopy:WaitForChild("Sound"):Resume() | |
1316 | timeDamage = timeDamage + 8 | |
1317 | spawn(function() | |
1318 | while wait() do | |
1319 | if not HumanTimeStop then | |
1320 | TakeDamage(Hum, timeDamage) | |
1321 | timeDamage = 0 | |
1322 | end | |
1323 | end | |
1324 | end) | |
1325 | wait(1.45) | |
1326 | dmgdb = false | |
1327 | end | |
1328 | end) | |
1329 | local voice = Instance.new("Sound") | |
1330 | voice.Parent = Character.Head | |
1331 | voice.SoundId = "rbxassetid://" .. voices[math.random(1, #voices)] | |
1332 | voice.PlayOnRemove = false | |
1333 | voice:Play() | |
1334 | spawn(function() | |
1335 | local H = KeyAnims.UpKick.H:play(Head) | |
1336 | H() | |
1337 | end) | |
1338 | spawn(function() | |
1339 | local T = KeyAnims.UpKick.T:play(Torso) | |
1340 | T() | |
1341 | end) | |
1342 | spawn(function() | |
1343 | local RA = KeyAnims.UpKick.RA:play(RightArm) | |
1344 | RA() | |
1345 | end) | |
1346 | spawn(function() | |
1347 | local LA = KeyAnims.UpKick.LA:play(LeftArm) | |
1348 | LA() | |
1349 | end) | |
1350 | spawn(function() | |
1351 | local RL = KeyAnims.UpKick.RL:play(RightLeg) | |
1352 | RL() | |
1353 | end) | |
1354 | spawn(function() | |
1355 | local LL = KeyAnims.UpKick.LL:play(LeftLeg) | |
1356 | LL() | |
1357 | end) | |
1358 | local Vel = Instance.new("BodyVelocity") | |
1359 | Vel.Parent = Character.Torso | |
1360 | Vel.MaxForce = Vector3.new(9000000000, 9900000000, 18000000000) | |
1361 | Vel.Velocity = (RootPart.CFrame.upVector / 3 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 4.2 | |
1362 | wait(0.315) | |
1363 | HitCopy:Remove() | |
1364 | Vel:Remove() | |
1365 | Attacking = false | |
1366 | PlayMainAnims = true | |
1367 | AttackSeq = 1 | |
1368 | wait(1) | |
1369 | isKneeing = false | |
1370 | end | |
1371 | elseif not Attacking and PlayMainAnims and AttackSeq == 1 and 0 < Character.Humanoid.Health then | |
1372 | Attacking = true | |
1373 | PlayMainAnims = false | |
1374 | do | |
1375 | local HitCopy = Hitbox:Clone() | |
1376 | HitCopy.Parent = Character | |
1377 | local HitWeld = Instance.new("Motor") | |
1378 | HitWeld.Parent = Character | |
1379 | HitWeld.Part0 = RootPart | |
1380 | HitWeld.Part1 = HitCopy | |
1381 | local dmgdb = false | |
1382 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1383 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1384 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1385 | dmgdb = true | |
1386 | HitCopy:WaitForChild("Sound"):Resume() | |
1387 | Hum:TakeDamage(Hum.MaxHealth/2/2/2) | |
1388 | local Push = Instance.new("BodyVelocity") | |
1389 | Push.Parent = Hit.Parent:WaitForChild("Head") | |
1390 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1391 | Push.Velocity = (RootPart.CFrame.lookVector / 3 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 2.4 | |
1392 | wait(0.45) | |
1393 | Push:Remove() | |
1394 | wait(1) | |
1395 | dmgdb = false | |
1396 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1397 | dmgdb = true | |
1398 | HitCopy:WaitForChild("Sound"):Resume() | |
1399 | timeDamage = timeDamage + 7 | |
1400 | spawn(function() | |
1401 | while wait() do | |
1402 | if not HumanTimeStop then | |
1403 | TakeDamage(Hum, timeDamage) | |
1404 | timeDamage = 0 | |
1405 | end | |
1406 | end | |
1407 | end) | |
1408 | wait(1.45) | |
1409 | dmgdb = false | |
1410 | end | |
1411 | end) | |
1412 | spawn(function() | |
1413 | local H = KeyAnims.Punch.H:play(Head) | |
1414 | H() | |
1415 | end) | |
1416 | spawn(function() | |
1417 | local T = KeyAnims.Punch.T:play(Torso) | |
1418 | T() | |
1419 | end) | |
1420 | spawn(function() | |
1421 | local RA = KeyAnims.Punch.RA:play(RightArm) | |
1422 | RA() | |
1423 | end) | |
1424 | spawn(function() | |
1425 | local LA = KeyAnims.Punch.LA:play(LeftArm) | |
1426 | LA() | |
1427 | end) | |
1428 | spawn(function() | |
1429 | local RL = KeyAnims.Punch.RL:play(RightLeg) | |
1430 | RL() | |
1431 | end) | |
1432 | spawn(function() | |
1433 | local LL = KeyAnims.Punch.LL:play(LeftLeg) | |
1434 | LL() | |
1435 | end) | |
1436 | local Vel = Instance.new("BodyVelocity") | |
1437 | Vel.Parent = Character.Torso | |
1438 | Vel.MaxForce = Vector3.new(9000000000, 9900000000, 11700000000) | |
1439 | Vel.Velocity = (RootPart.CFrame.lookVector * 1.4 * (450 / (Character.Torso:GetMass() * 1.1)) / 5 + Vector3.new(0, 0.375, 5)) / 2.45 | |
1440 | wait(0.35) | |
1441 | HitCopy:Remove() | |
1442 | Vel:Remove() | |
1443 | Attacking = false | |
1444 | PlayMainAnims = true | |
1445 | AttackSeq = 2 | |
1446 | end | |
1447 | elseif not Attacking and PlayMainAnims and AttackSeq == 2 and 0 < Character.Humanoid.Health then | |
1448 | PlayMainAnims = false | |
1449 | Attacking = true | |
1450 | do | |
1451 | local HitCopy = Hitbox:Clone() | |
1452 | HitCopy.Parent = Character | |
1453 | local HitWeld = Instance.new("Motor") | |
1454 | HitWeld.Parent = Character | |
1455 | HitWeld.Part0 = RootPart | |
1456 | HitWeld.Part1 = HitCopy | |
1457 | local dmgdb = false | |
1458 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1459 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1460 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1461 | dmgdb = true | |
1462 | HitCopy:WaitForChild("Sound").SoundId = "rbxassetid://730099250" | |
1463 | HitCopy:WaitForChild("Sound"):Resume() | |
1464 | Hum:TakeDamage(Hum.MaxHealth/2/2/2) | |
1465 | local Push = Instance.new("BodyVelocity") | |
1466 | Push.Parent = Hit.Parent:WaitForChild("Head") | |
1467 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1468 | Push.Velocity = (RootPart.CFrame.lookVector / 3 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 2.45 | |
1469 | wait(0.45) | |
1470 | Push:Remove() | |
1471 | wait(1) | |
1472 | dmgdb = false | |
1473 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1474 | dmgdb = true | |
1475 | HitCopy:WaitForChild("Sound"):Resume() | |
1476 | timeDamage = timeDamage + 12 | |
1477 | spawn(function() | |
1478 | while wait() do | |
1479 | if not HumanTimeStop then | |
1480 | TakeDamage(Hum, timeDamage) | |
1481 | timeDamage = 0 | |
1482 | end | |
1483 | end | |
1484 | end) | |
1485 | wait(1.45) | |
1486 | dmgdb = false | |
1487 | end | |
1488 | end) | |
1489 | local slash = Instance.new("Sound") | |
1490 | slash.Parent = Character["Left Arm"] | |
1491 | slash.SoundId = "rbxassetid://200633029" | |
1492 | slash.Pitch = math.random(1, 2) | |
1493 | slash.Volume = 1.2 | |
1494 | slash:Play() | |
1495 | spawn(function() | |
1496 | local H = KeyAnims.UpperCut.H:play(Head) | |
1497 | H() | |
1498 | end) | |
1499 | spawn(function() | |
1500 | local T = KeyAnims.UpperCut.T:play(Torso) | |
1501 | T() | |
1502 | end) | |
1503 | spawn(function() | |
1504 | local RA = KeyAnims.UpperCut.RA:play(RightArm) | |
1505 | RA() | |
1506 | end) | |
1507 | spawn(function() | |
1508 | local LA = KeyAnims.UpperCut.LA:play(LeftArm) | |
1509 | LA() | |
1510 | end) | |
1511 | spawn(function() | |
1512 | local RL = KeyAnims.UpperCut.RL:play(RightLeg) | |
1513 | RL() | |
1514 | end) | |
1515 | spawn(function() | |
1516 | local LL = KeyAnims.UpperCut.LL:play(LeftLeg) | |
1517 | LL() | |
1518 | end) | |
1519 | local Vel = Instance.new("BodyVelocity") | |
1520 | Vel.Parent = Character.Torso | |
1521 | Vel.MaxForce = Vector3.new(9000000000, 9900000000, 11700000000) | |
1522 | Vel.Velocity = (RootPart.CFrame.lookVector * 1.4 * (450 / (Character.Torso:GetMass() * 1.1)) / 5.5 + Vector3.new(0, -0.375, 5)) / 2.5 | |
1523 | wait(0.55) | |
1524 | HitCopy:Remove() | |
1525 | Vel:Remove() | |
1526 | PlayMainAnims = true | |
1527 | Attacking = false | |
1528 | AttackSeq = 3 | |
1529 | end | |
1530 | elseif not Attacking and PlayMainAnims and AttackSeq == 3 and 0 < Character.Humanoid.Health then | |
1531 | PlayMainAnims = false | |
1532 | Attacking = true | |
1533 | do | |
1534 | local HitCopy = Hitbox:Clone() | |
1535 | HitCopy.Parent = Character | |
1536 | local HitWeld = Instance.new("Motor") | |
1537 | HitWeld.Parent = Character | |
1538 | HitWeld.Part0 = RootPart | |
1539 | HitWeld.Part1 = HitCopy | |
1540 | local dmgdb = false | |
1541 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1542 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1543 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1544 | dmgdb = true | |
1545 | HitCopy:WaitForChild("Sound"):Resume() | |
1546 | Hum:TakeDamage(Hum.MaxHealth/2/2/2) | |
1547 | local Push = Instance.new("BodyVelocity") | |
1548 | Push.Parent = Hit.Parent:WaitForChild("Head") | |
1549 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1550 | Push.Velocity = (RootPart.CFrame.lookVector / 3 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 2 | |
1551 | wait(0.45) | |
1552 | Push:Remove() | |
1553 | wait(1) | |
1554 | dmgdb = false | |
1555 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1556 | dmgdb = true | |
1557 | HitCopy:WaitForChild("Sound"):Resume() | |
1558 | timeDamage = timeDamage + 9 | |
1559 | spawn(function() | |
1560 | while wait() do | |
1561 | if not HumanTimeStop then | |
1562 | TakeDamage(Hum, timeDamage) | |
1563 | timeDamage = 0 | |
1564 | end | |
1565 | end | |
1566 | end) | |
1567 | wait(1.45) | |
1568 | dmgdb = false | |
1569 | end | |
1570 | end) | |
1571 | local voice = Instance.new("Sound") | |
1572 | voice.Parent = Character.Head | |
1573 | voice.SoundId = "rbxassetid://" .. voices[math.random(1, #voices)] | |
1574 | voice.PlayOnRemove = false | |
1575 | voice:Play() | |
1576 | spawn(function() | |
1577 | local H = KeyAnims.Kick.H:play(Head) | |
1578 | H() | |
1579 | end) | |
1580 | spawn(function() | |
1581 | local T = KeyAnims.Kick.T:play(Torso) | |
1582 | T() | |
1583 | end) | |
1584 | spawn(function() | |
1585 | local RA = KeyAnims.Kick.RA:play(RightArm) | |
1586 | RA() | |
1587 | end) | |
1588 | spawn(function() | |
1589 | local LA = KeyAnims.Kick.LA:play(LeftArm) | |
1590 | LA() | |
1591 | end) | |
1592 | spawn(function() | |
1593 | local RL = KeyAnims.Kick.RL:play(RightLeg) | |
1594 | RL() | |
1595 | end) | |
1596 | spawn(function() | |
1597 | local LL = KeyAnims.Kick.LL:play(LeftLeg) | |
1598 | LL() | |
1599 | end) | |
1600 | local Vel = Instance.new("BodyVelocity") | |
1601 | Vel.Parent = Character.Torso | |
1602 | Vel.MaxForce = Vector3.new(9000000000, 9900000000, 11700000000) | |
1603 | Vel.Velocity = (RootPart.CFrame.lookVector * 1.4 * (450 / (Character.Torso:GetMass() * 1.1)) / 5.5 + Vector3.new(0, -0.375, 5)) / 1.9 | |
1604 | wait(0.715) | |
1605 | HitCopy:Remove() | |
1606 | Vel:Remove() | |
1607 | PlayMainAnims = true | |
1608 | Attacking = false | |
1609 | AttackSeq = 4 | |
1610 | end | |
1611 | elseif not Attacking and PlayMainAnims and AttackSeq == 4 and 0 < Character.Humanoid.Health then | |
1612 | PlayMainAnims = false | |
1613 | Attacking = true | |
1614 | do | |
1615 | local HitCopy = Hitbox:Clone() | |
1616 | HitCopy.Size = Vector3.new(4.2, 2.5, 3.5) | |
1617 | HitCopy.Parent = Character | |
1618 | local HitWeld = Instance.new("Motor") | |
1619 | HitWeld.Parent = Character | |
1620 | HitWeld.Part0 = RootPart | |
1621 | HitWeld.Part1 = HitCopy | |
1622 | HitWeld.C0 = CFrame.new(0, -3, 0) | |
1623 | local dmgdb = false | |
1624 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1625 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1626 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1627 | dmgdb = true | |
1628 | HitCopy:WaitForChild("Sound"):Resume() | |
1629 | Hum:TakeDamage(Hum.MaxHealth/2/2/2) | |
1630 | local Push = Instance.new("BodyVelocity") | |
1631 | Push.Parent = Hit.Parent:WaitForChild("HumanoidRootPart") | |
1632 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1633 | Push.Velocity = (RootPart.CFrame.upVector / -6 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 4 | |
1634 | wait(0.45) | |
1635 | Push:Remove() | |
1636 | wait(1) | |
1637 | dmgdb = false | |
1638 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1639 | dmgdb = true | |
1640 | HitCopy:WaitForChild("Sound"):Resume() | |
1641 | timeDamage = timeDamage + 7 | |
1642 | spawn(function() | |
1643 | while wait() do | |
1644 | if not HumanTimeStop then | |
1645 | TakeDamage(Hum, timeDamage) | |
1646 | timeDamage = 0 | |
1647 | end | |
1648 | end | |
1649 | end) | |
1650 | wait(1.45) | |
1651 | dmgdb = false | |
1652 | end | |
1653 | end) | |
1654 | local voice = Instance.new("Sound") | |
1655 | voice.Parent = Character.Head | |
1656 | voice.SoundId = "rbxassetid://" .. voices[math.random(1, #voices)] | |
1657 | voice.PlayOnRemove = false | |
1658 | voice:Play() | |
1659 | spawn(function() | |
1660 | local H = KeyAnims.Stomp.H:play(Head) | |
1661 | H() | |
1662 | end) | |
1663 | spawn(function() | |
1664 | local T = KeyAnims.Stomp.T:play(Torso) | |
1665 | T() | |
1666 | end) | |
1667 | spawn(function() | |
1668 | local RA = KeyAnims.Stomp.RA:play(RightArm) | |
1669 | RA() | |
1670 | end) | |
1671 | spawn(function() | |
1672 | local LA = KeyAnims.Stomp.LA:play(LeftArm) | |
1673 | LA() | |
1674 | end) | |
1675 | spawn(function() | |
1676 | local RL = KeyAnims.Stomp.RL:play(RightLeg) | |
1677 | RL() | |
1678 | end) | |
1679 | spawn(function() | |
1680 | local LL = KeyAnims.Stomp.LL:play(LeftLeg) | |
1681 | LL() | |
1682 | end) | |
1683 | wait(0.65) | |
1684 | HitCopy:Remove() | |
1685 | AttackSeq = 0 | |
1686 | Attacking = false | |
1687 | PlayMainAnims = true | |
1688 | attac = false | |
1689 | end | |
1690 | end | |
1691 | end | |
1692 | local Cola = BrickColor.new("New Yeller") | |
1693 | local rCola = Cola.Color | |
1694 | local Attach0 = Instance.new("Attachment") | |
1695 | Attach0.Parent = Character:WaitForChild("Head") | |
1696 | local Attach1 = Instance.new("Attachment") | |
1697 | Attach1.Parent = RealTorso | |
1698 | local Trail = Instance.new("Trail") | |
1699 | Trail.Color = ColorSequence.new(rCola) | |
1700 | Trail.Enabled = false | |
1701 | Trail.Transparency = NumberSequence.new({ | |
1702 | NumberSequenceKeypoint.new(0, 0.25, 0), | |
1703 | NumberSequenceKeypoint.new(1, 1, 0) | |
1704 | }) | |
1705 | Trail.Parent = Character | |
1706 | Trail.Attachment0 = Attach0 | |
1707 | Trail.Attachment1 = Attach1 | |
1708 | local AnchoredTable = {} | |
1709 | function anchorparts(parent) | |
1710 | spawn(function() | |
1711 | for i, x in pairs(r6) do | |
1712 | if parent:WaitForChild("Humanoid").RigType == Enum.HumanoidRigType.R6 and parent:WaitForChild(x) and parent[x]:IsA("BasePart") and parent[x].Anchored == false and not parent[x]:IsDescendantOf(Character) then | |
1713 | parent[x].Anchored = true | |
1714 | table.insert(AnchoredTable, x) | |
1715 | else | |
1716 | return nil | |
1717 | end | |
1718 | end | |
1719 | end) | |
1720 | for i, x in pairs(r15) do | |
1721 | if parent:WaitForChild("Humanoid").RigType == Enum.HumanoidRigType.R15 and parent:WaitForChild(x) and parent[x]:IsA("BasePart") and parent[x].Anchored == false and not parent[x]:IsDescendantOf(Character) then | |
1722 | parent[x].Anchored = true | |
1723 | table.insert(AnchoredTable, x) | |
1724 | else | |
1725 | return nil | |
1726 | end | |
1727 | end | |
1728 | end | |
1729 | function unanchorparts(parent) | |
1730 | for _, v in pairs(parent:GetChildren()) do | |
1731 | if v:IsA("BasePart") and v.Anchored == true then | |
1732 | for i = 1, #AnchoredTable do | |
1733 | if AnchoredTable[i] == v.Name then | |
1734 | v.Anchored = false | |
1735 | HumanTimeStop = false | |
1736 | end | |
1737 | end | |
1738 | end | |
1739 | end | |
1740 | end | |
1741 | local canTimeStop = false | |
1742 | local DIIIOO = Instance.new("Sound") | |
1743 | DIIIOO.Parent = Character.Head | |
1744 | DIIIOO.SoundId = "rbxassetid://616576400" | |
1745 | function TimeStop(a, State, b) | |
1746 | if State == Enum.UserInputState.Begin and not Attacking and PlayMainAnims and not canTimeStop and CharHum.Health > 30 then | |
1747 | canTimeStop = true | |
1748 | Attacking = true | |
1749 | PlayMainAnims = false | |
1750 | DIIIOO:Resume() | |
1751 | Trail.Enabled = true | |
1752 | spawn(function() | |
1753 | local H = KeyAnims.TimeStop.H:play(Head) | |
1754 | H() | |
1755 | end) | |
1756 | spawn(function() | |
1757 | local T = KeyAnims.TimeStop.T:play(Torso) | |
1758 | T() | |
1759 | end) | |
1760 | spawn(function() | |
1761 | local RA = KeyAnims.TimeStop.RA:play(RightArm) | |
1762 | RA() | |
1763 | end) | |
1764 | spawn(function() | |
1765 | local LA = KeyAnims.TimeStop.LA:play(LeftArm) | |
1766 | LA() | |
1767 | end) | |
1768 | spawn(function() | |
1769 | local RL = KeyAnims.TimeStop.RL:play(RightLeg) | |
1770 | RL() | |
1771 | end) | |
1772 | spawn(function() | |
1773 | local LL = KeyAnims.TimeStop.LL:play(LeftLeg) | |
1774 | LL() | |
1775 | end) | |
1776 | spawn(function() | |
1777 | local Kn = KeyAnims.TimeStop.Kni:play(AWeld) | |
1778 | Kn() | |
1779 | end) | |
1780 | do | |
1781 | local dmgdb = false | |
1782 | local HitDetect = RealTorso.Touched:Connect(function(Hit) | |
1783 | local Human = Hit.Parent:FindFirstChild("Humanoid") | |
1784 | if Human and Human.Parent.Name ~= Player.Name and Human.Health > 0 and not dmgdb then | |
1785 | dmgdb = true | |
1786 | HumanTimeStop = true | |
1787 | TakeDamage(Human, 16) | |
1788 | anchorparts(Human.Parent) | |
1789 | wait(3.2) | |
1790 | HumanTimeStop = false | |
1791 | unanchorparts(Human.Parent) | |
1792 | dmgdb = false | |
1793 | end | |
1794 | end) | |
1795 | wait(0.2) | |
1796 | local passRayCast = Ray.new(RootPart.CFrame.p, RootPart.CFrame.lookVector.unit * 30) | |
1797 | local Hit, Pos, Surface = workspace:FindPartOnRay(passRayCast, Character) | |
1798 | local TpPart = Instance.new("Part") | |
1799 | TpPart.Parent = Character | |
1800 | TpPart.Size = Vector3.new(1, 1, 1) | |
1801 | TpPart.CanCollide = false | |
1802 | TpPart.Anchored = true | |
1803 | TpPart.Transparency = 1 | |
1804 | TpPart.CFrame = CFrame.new(Pos) * CFrame.Angles(0, math.rad(RootPart.Rotation.Y), 0) | |
1805 | RealTorso.CFrame = TpPart.CFrame | |
1806 | wait(0.7) | |
1807 | HitDetect:disconnect() | |
1808 | Trail.Enabled = false | |
1809 | TpPart:Remove() | |
1810 | Attacking = false | |
1811 | PlayMainAnims = true | |
1812 | wait(15) | |
1813 | canTimeStop = false | |
1814 | end | |
1815 | end | |
1816 | end | |
1817 | function surroundTimeStop(a, State, b) | |
1818 | if State == Enum.UserInputState.Begin and not Attacking and PlayMainAnims and not canTimeStop and CharHum.Health > 30 then | |
1819 | Attacking = true | |
1820 | canTimeStop = true | |
1821 | CharHum.WalkSpeed = 0 | |
1822 | PlayMainAnims = false | |
1823 | local Wry = Instance.new("Sound") | |
1824 | Wry.Parent = Character | |
1825 | Wry.SoundId = "rbxassetid://955633944" | |
1826 | Wry:Play() | |
1827 | spawn(function() | |
1828 | local H = KeyAnims.SurroundTimeStop.H:play(Head) | |
1829 | H() | |
1830 | end) | |
1831 | spawn(function() | |
1832 | local T = KeyAnims.SurroundTimeStop.T:play(Torso) | |
1833 | T() | |
1834 | end) | |
1835 | spawn(function() | |
1836 | local RA = KeyAnims.SurroundTimeStop.RA:play(RightArm) | |
1837 | RA() | |
1838 | end) | |
1839 | spawn(function() | |
1840 | local LA = KeyAnims.SurroundTimeStop.LA:play(LeftArm) | |
1841 | LA() | |
1842 | end) | |
1843 | spawn(function() | |
1844 | local RL = KeyAnims.SurroundTimeStop.RL:play(RightLeg) | |
1845 | RL() | |
1846 | end) | |
1847 | spawn(function() | |
1848 | local LL = KeyAnims.SurroundTimeStop.LL:play(LeftLeg) | |
1849 | LL() | |
1850 | end) | |
1851 | local HitPart = Instance.new("Part") | |
1852 | HitPart.Parent = Character.Torso | |
1853 | HitPart.CanCollide = false | |
1854 | HitPart.Anchored = true | |
1855 | HitPart.CFrame = HitPart.Parent.CFrame | |
1856 | HitPart.Transparency = 0.8 | |
1857 | HitPart.Size = Vector3.new(30, 20, 30) | |
1858 | local function HitDetect(hit) | |
1859 | local Hum = hit.Parent:FindFirstChild("Humanoid") | |
1860 | if Hum and Hum.Parent.Name ~= Player.Name and not HumanTimeStop then | |
1861 | anchorparts(Hum.Parent) | |
1862 | wait(5) | |
1863 | unanchorparts(Hum.Parent) | |
1864 | end | |
1865 | end | |
1866 | HitPart.Touched:Connect(HitDetect) | |
1867 | wait(1.8) | |
1868 | CharHum.WalkSpeed = 16 | |
1869 | Attacking = false | |
1870 | PlayMainAnims = true | |
1871 | for i = 1,15 do | |
1872 | HitPart.Transparency = HitPart.Transparency + 0.1 | |
1873 | end | |
1874 | HitPart:Destroy() | |
1875 | wait(20) | |
1876 | Wry:Remove() | |
1877 | canTimeStop = false | |
1878 | end | |
1879 | end | |
1880 | local Muda = false | |
1881 | local MudaSound = Instance.new("Sound") | |
1882 | MudaSound.Parent = RealTorso | |
1883 | MudaSound.SoundId = "rbxassetid://601465752" | |
1884 | MudaSound.Looped = true | |
1885 | MudaSound.Volume = 3 | |
1886 | function MudaMuda(a, State, b) | |
1887 | if State == Enum.UserInputState.Begin and not Attacking and PlayMainAnims and not Muda then | |
1888 | mud = true | |
1889 | PlayMainAnims = false | |
1890 | Attacking = true | |
1891 | Muda = true | |
1892 | CharHum.WalkSpeed = 6.5 | |
1893 | spawn(function() | |
1894 | local H = KeyAnims.Mooda.H:play(Head) | |
1895 | H() | |
1896 | end) | |
1897 | spawn(function() | |
1898 | local T = KeyAnims.Mooda.T:play(Torso) | |
1899 | T() | |
1900 | end) | |
1901 | spawn(function() | |
1902 | local RA = KeyAnims.Mooda.RA:play(RightArm) | |
1903 | RA() | |
1904 | end) | |
1905 | spawn(function() | |
1906 | local LA = KeyAnims.Mooda.LA:play(LeftArm) | |
1907 | LA() | |
1908 | end) | |
1909 | spawn(function() | |
1910 | local RL = KeyAnims.Mooda.RL:play(RightLeg) | |
1911 | RL() | |
1912 | end) | |
1913 | spawn(function() | |
1914 | local LL = KeyAnims.Mooda.LL:play(LeftLeg) | |
1915 | LL() | |
1916 | end) | |
1917 | spawn(function() | |
1918 | while Muda do | |
1919 | do | |
1920 | local HitCopy = Hitbox:Clone() | |
1921 | HitCopy.Parent = Character | |
1922 | local HitWeld = Instance.new("Motor") | |
1923 | HitWeld.Parent = Character | |
1924 | HitWeld.Part0 = RootPart | |
1925 | HitWeld.Part1 = HitCopy | |
1926 | HitCopy:WaitForChild("Sound").Parent = RootPart | |
1927 | local dmgdb = false | |
1928 | local HitDetect = HitCopy.Touched:Connect(function(Hit) | |
1929 | local Hum = Hit.Parent:FindFirstChild("Humanoid") | |
1930 | if Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and not HumanTimeStop then | |
1931 | RootPart:WaitForChild("Sound"):Play() | |
1932 | dmgdb = true | |
1933 | TakeDamage(Hum, 2) | |
1934 | local Push = Instance.new("BodyVelocity") | |
1935 | Push.Parent = Hit.Parent:WaitForChild("HumanoidRootPart") | |
1936 | Push.MaxForce = Vector3.new(9000000000, 13500000000, 9000000000) | |
1937 | Push.Velocity = (RootPart.CFrame.lookVector / 4 * (450 / (Character.Torso:GetMass() * 1.1)) + Vector3.new(0, 0.375, 4)) / 4 | |
1938 | wait(0.45) | |
1939 | Push:Remove() | |
1940 | wait(0.08) | |
1941 | - | Run.RenderStepped:Connect(function() |
1941 | + | |
1942 | elseif Hum and Hum.Parent.Name ~= Character.Name and Hum.Health > 0 and not dmgdb and HumanTimeStop then | |
1943 | dmgdb = true | |
1944 | timeDamage = timeDamage + 2 | |
1945 | RootPart:WaitForChild("Sound"):Play() | |
1946 | spawn(function() | |
1947 | while wait() do | |
1948 | if not HumanTimeStop then | |
1949 | TakeDamage(Hum, timeDamage) | |
1950 | timeDamage = 0 | |
1951 | end | |
1952 | end | |
1953 | end) | |
1954 | wait(0.08) | |
1955 | dmgdb = false | |
1956 | end | |
1957 | end) | |
1958 | wait(0.05) | |
1959 | HitCopy:Remove() | |
1960 | if Muda == false then | |
1961 | else | |
1962 | wait() | |
1963 | end | |
1964 | end | |
1965 | end | |
1966 | end) | |
1967 | ArmSpreadL = math.random(-30, 30) | |
1968 | ArmSpreadR = math.random(-30, 30) | |
1969 | MudaSound:Resume() | |
1970 | elseif State == Enum.UserInputState.End and Attacking and not PlayMainAnims and Muda then | |
1971 | PlayMainAnims = true | |
1972 | mud = false | |
1973 | Attacking = false | |
1974 | Muda = false | |
1975 | spawn(function() | |
1976 | KeyAnims.Mooda.H:stop() | |
1977 | end) | |
1978 | spawn(function() | |
1979 | KeyAnims.Mooda.T:stop() | |
1980 | end) | |
1981 | spawn(function() | |
1982 | KeyAnims.Mooda.RA:stop() | |
1983 | end) | |
1984 | spawn(function() | |
1985 | KeyAnims.Mooda.LA:stop() | |
1986 | end) | |
1987 | spawn(function() | |
1988 | KeyAnims.Mooda.RL:stop() | |
1989 | end) | |
1990 | spawn(function() | |
1991 | KeyAnims.Mooda.LL:stop() | |
1992 | end) | |
1993 | MudaSound:Stop() | |
1994 | CharHum.WalkSpeed = 16 | |
1995 | end | |
1996 | end | |
1997 | ||
1998 | char["Left Arm"].Touched:connect(function(hit) | |
1999 | if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and mud then | |
2000 | local targ = hit.Parent | |
2001 | local humtarg = targ:FindFirstChildOfClass'Humanoid' | |
2002 | humtarg:TakeDamage(humtarg.MaxHealth/2/2/2/2/2/2/2) | |
2003 | elseif hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and attac then | |
2004 | local targ = hit.Parent | |
2005 | local humtarg = targ:FindFirstChildOfClass'Humanoid' | |
2006 | humtarg:TakeDamage(humtarg.MaxHealth/2/2/2/2/2/2) | |
2007 | end | |
2008 | end) | |
2009 | ||
2010 | char["Right Arm"].Touched:connect(function(hit) | |
2011 | if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and mud then | |
2012 | local targ = hit.Parent | |
2013 | local humtarg = targ:FindFirstChildOfClass'Humanoid' | |
2014 | humtarg:TakeDamage(humtarg.MaxHealth/2/2/2/2/2/2/2) | |
2015 | elseif hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and attac then | |
2016 | local targ = hit.Parent | |
2017 | local humtarg = targ:FindFirstChildOfClass'Humanoid' | |
2018 | humtarg:TakeDamage(humtarg.MaxHealth/2/2/2/2/2/2) | |
2019 | end | |
2020 | end) | |
2021 | ||
2022 | Mouse.Button1Down:Connect(attackseq) | |
2023 | attac = true | |
2024 | local FreeFalling = false | |
2025 | local Jumping = false | |
2026 | Run.Stepped:Connect(function() | |
2027 | local JumpRay = Ray.new(RootPart.CFrame.p, RootPart.CFrame.upVector.unit * -99999999999999) | |
2028 | local hit, pos, surf = workspace:FindPartOnRay(JumpRay, Character) | |
2029 | if PlayMainAnims then | |
2030 | AWeld.C0 = CFrame.new(0, -1, 0.15) * CFrame.Angles(0, math.pi, 0) | |
2031 | local CurrentAnimation = "Idle" | |
2032 | local JumpDist = (pos - RootPart.CFrame.p).magnitude | |
2033 | if Character.Humanoid.Jump then | |
2034 | Jumping = true | |
2035 | else | |
2036 | Jumping = false | |
2037 | end | |
2038 | if (RealTorso.Velocity - Vector3.new(1, 0, 1)).magnitude < 2 and JumpDist < 3 then | |
2039 | CurrentAnimation = "Idle" | |
2040 | elseif (RealTorso.Velocity - Vector3.new(1, 0, 1)).magnitude > 2 and JumpDist < 3 then | |
2041 | CurrentAnimation = "Walking" | |
2042 | elseif JumpDist > 3 and 3 < RootPart.Velocity.Y and not Attacking and not isKneeing then | |
2043 | CurrentAnimation = "Jumping" | |
2044 | elseif JumpDist > 3 and RootPart.Velocity.Y < -3 and not Attacking and not isKneeing then | |
2045 | CurrentAnimation = "Falling" | |
2046 | end | |
2047 | if CurrentAnimation == "Idle" then | |
2048 | Head.C0 = Head.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(95 + 10.5 * math.cos(tick() * 2.4) / 1.65), math.rad(170), math.rad(-38)), 0.16) | |
2049 | Torso.C0 = Torso.C0:lerp(CFrame.Angles(math.rad(80 + 6 * math.sin(tick() * 2.4)), math.rad(180), math.rad(38)), 0.16) | |
2050 | LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-1, 0.5 + math.sin(tick() * 2.4) / 10, 0) * CFrame.Angles(0, math.rad(-90), math.rad(17)) * CFrame.Angles(math.rad(-14 + 3 * math.cos(tick() * 2.4)), 0, 0), 0.16) | |
2051 | RightArm.C0 = RightArm.C0:lerp(CFrame.new(1, 0.5 + math.sin(tick() * 2.4) / 10, 0) * CFrame.Angles(0, math.rad(90), math.rad(15)) * CFrame.Angles(math.rad(-11 + 3 * math.cos(tick() * 2.4)), 0, 0), 0.16) | |
2052 | LeftLeg.C0 = LeftLeg.C0:lerp(CFrame.new(-1, -1.2 + math.sin(tick() * 2.4) / 6, 0.175) * CFrame.Angles(0, math.rad(-78), 0) * CFrame.Angles(math.rad(6 * math.sin(-tick() * 2.4)), 0, math.rad(6 * math.sin(tick() * 2.4))), 0.16) | |
2053 | RightLeg.C0 = RightLeg.C0:lerp(CFrame.new(1, -1, 0.175) * CFrame.Angles(0, math.rad(47), 0) * CFrame.Angles(0, 0, math.rad(9 + 6 * math.sin(-tick() * 2.4))), 0.16) | |
2054 | elseif CurrentAnimation == "Walking" then | |
2055 | Head.C0 = Head.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(112 - 5 * math.sin(tick() * 5.75)), math.rad(180), 0), 0.26) | |
2056 | Torso.C0 = Torso.C0:lerp(CFrame.new(0, 0.1 + math.sin(tick() * 11.5) / 11, 0) * CFrame.Angles(math.rad(70 + 6 * math.sin(tick() * 5.75)), math.rad(180), 0), 0.26) | |
2057 | RightArm.C0 = RightArm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(86 + 5 * math.sin(tick() * 5.75)), math.rad(90), 0) * CFrame.Angles(math.rad(74 + 2 * math.cos(tick() * 5.75)), 0, 0), 0.26) | |
2058 | LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-30 + 16 * math.sin(-tick() * 5.75)), math.rad(-78), 0), 0.26) | |
2059 | RightLeg.C0 = RightLeg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-28 * math.sin(-tick() * 5.75)), math.rad(90), 0), 0.26) | |
2060 | LeftLeg.C0 = LeftLeg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-28 * math.sin(tick() * 5.75)), math.rad(-90), 0), 0.26) | |
2061 | elseif CurrentAnimation == "Jumping" then | |
2062 | Head.C0 = Head.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(70), math.rad(180), 0), 0.35) | |
2063 | Torso.C0 = Torso.C0:lerp(CFrame.Angles(math.rad(110), math.rad(180), 0), 0.35) | |
2064 | RightArm.C0 = RightArm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-30), math.rad(90), 0), 0.35) | |
2065 | LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-30), math.rad(-90), 0), 0.35) | |
2066 | RightLeg.C0 = RightLeg.C0:lerp(CFrame.new(1, -0.6, -0.5) * CFrame.Angles(math.rad(-20), math.rad(90), 0), 0.35) | |
2067 | LeftLeg.C0 = LeftLeg.C0:lerp(CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-42), math.rad(-90), 0), 0.35) | |
2068 | elseif CurrentAnimation == "Falling" then | |
2069 | Head.C0 = Head.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(110), math.rad(180), 0), 0.35) | |
2070 | Torso.C0 = Torso.C0:lerp(CFrame.Angles(math.rad(70), math.rad(180), 0), 0.35) | |
2071 | RightArm.C0 = RightArm.C0:lerp(CFrame.new(1, 0.5, 0) * CFrame.Angles(math.rad(-30), math.rad(90), 0), 0.35) | |
2072 | LeftArm.C0 = LeftArm.C0:lerp(CFrame.new(-1, 0.5, 0) * CFrame.Angles(math.rad(-30), math.rad(-90), 0), 0.35) | |
2073 | RightLeg.C0 = RightLeg.C0:lerp(CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-42), math.rad(90), 0), 0.35) | |
2074 | LeftLeg.C0 = LeftLeg.C0:lerp(CFrame.new(-1, -0.6, -0.5) * CFrame.Angles(math.rad(20), math.rad(-90), 0), 0.35) | |
2075 | end | |
2076 | attac = false | |
2077 | end | |
2078 | end) | |
2079 | game:service("UserInputService").InputBegan:connect(function(iO, proc) | |
2080 | if not proc then | |
2081 | if iO.KeyCode == Enum.KeyCode.Z then | |
2082 | MudaMuda(true, Enum.UserInputState.Begin, false) | |
2083 | end | |
2084 | if iO.KeyCode == Enum.KeyCode.C then | |
2085 | surroundTimeStop(true, Enum.UserInputState.Begin, false) | |
2086 | end | |
2087 | if iO.KeyCode == Enum.KeyCode.X then | |
2088 | TimeStop(true, Enum.UserInputState.Begin, false) | |
2089 | end | |
2090 | end | |
2091 | end) | |
2092 | game:service("UserInputService").InputEnded:connect(function(iO) | |
2093 | if iO.KeyCode == Enum.KeyCode.Z then | |
2094 | MudaMuda(true, Enum.UserInputState.End, false) | |
2095 | end | |
2096 | if iO.KeyCode == Enum.KeyCode.C then | |
2097 | surroundTimeStop(true, Enum.UserInputState.End, false) | |
2098 | end | |
2099 | if iO.KeyCode == Enum.KeyCode.X then | |
2100 | TimeStop(true, Enum.UserInputState.End, false) | |
2101 | end | |
2102 | end) | |
2103 | local Stable_Stand = Instance.new("BodyGyro") | |
2104 | Stable_Stand.Parent = RootPart |