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