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