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