SHOW:
|
|
- or go back to the newest paste.
| 1 | local plr = game.Players.LocalPlayer | |
| 2 | local char = plr.Character | |
| 3 | local mouse = plr:GetMouse() | |
| 4 | local torso = char.Torso | |
| 5 | local rs = torso["Right Shoulder"] | |
| 6 | local ls = torso["Left Shoulder"] | |
| 7 | local rh = torso["Right Hip"] | |
| 8 | local lh = torso["Left Hip"] | |
| 9 | local rj = char.HumanoidRootPart.RootJoint | |
| 10 | local neck = torso.Neck | |
| 11 | local animpose = "Idle" | |
| 12 | local attacking = false | |
| 13 | local cananim = true | |
| 14 | local rage = false | |
| 15 | local shield | |
| 16 | local sprint = false | |
| 17 | local canrage = true | |
| 18 | local legs = true | |
| 19 | local bc = char:WaitForChild("Body Colors")
| |
| 20 | local multiplier = 1 | |
| 21 | local lac = char["Body Colors"].LeftArmColor | |
| 22 | local rac = char["Body Colors"].RightArmColor | |
| 23 | local rlc = char["Body Colors"].RightArmColor | |
| 24 | local llc = char["Body Colors"].LeftLegColor | |
| 25 | local hc = char["Body Colors"].HeadColor | |
| 26 | local tc = char["Body Colors"].TorsoColor | |
| 27 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 28 | naeeym2.AlwaysOnTop = true | |
| 29 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 30 | - | mobs.SoundId = "rbxassetid://130775431" |
| 30 | + | naeeym2.StudsOffset = Vector3.new(0, 5, 0) |
| 31 | naeeym2.Adornee = char.Head | |
| 32 | naeeym2.Name = "Name" | |
| 33 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 34 | tecks2.BackgroundTransparency = 1 | |
| 35 | tecks2.TextScaled = true | |
| 36 | tecks2.BorderSizePixel = 0 | |
| 37 | tecks2.Text = "The Epic Saxophone" | |
| 38 | tecks2.Font = "Arcade" | |
| 39 | tecks2.TextSize = 30 | |
| 40 | tecks2.TextStrokeTransparency = 0 | |
| 41 | tecks2.TextColor3 = Color3.new(218/255, 165/255, 32/255) | |
| 42 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 43 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 44 | tecks2.Parent = naeeym2 | |
| 45 | function chatfunc(text) | |
| 46 | local chat = coroutine.wrap(function() | |
| 47 | if char:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 48 | char:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 49 | end | |
| 50 | local naeeym2 = Instance.new("BillboardGui",char)
| |
| 51 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 52 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 53 | naeeym2.Adornee = char.Head | |
| 54 | naeeym2.Name = "TalkingBillBoard" | |
| 55 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 56 | tecks2.BackgroundTransparency = 1 | |
| 57 | tecks2.BorderSizePixel = 0 | |
| 58 | tecks2.Text = "" | |
| 59 | tecks2.Font = "Arcade" | |
| 60 | tecks2.TextSize = 30 | |
| 61 | tecks2.TextStrokeTransparency = 0 | |
| 62 | tecks2.TextColor3 = Color3.new(218/255, 165/255, 32/255) | |
| 63 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 64 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 65 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 66 | tecks3.BackgroundTransparency = 1 | |
| 67 | tecks3.BorderSizePixel = 0 | |
| 68 | tecks3.Text = "" | |
| 69 | tecks3.Font = "Arcade" | |
| 70 | tecks3.TextSize = 30 | |
| 71 | tecks3.TextStrokeTransparency = 0 | |
| 72 | tecks3.TextColor3 = Color3.new(218/255, 165/255, 32/255) | |
| 73 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 74 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 75 | for i = 1,string.len(text),1 do | |
| 76 | tecks2.Text = string.sub(text,1,i) | |
| 77 | tecks3.Text = string.sub(text,1,i) | |
| 78 | wait(0.01) | |
| 79 | end | |
| 80 | wait(2) | |
| 81 | for i = 1, 50 do | |
| 82 | swait() | |
| 83 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 84 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 85 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 86 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 87 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 88 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 89 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 90 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 91 | end | |
| 92 | naeeym2:Destroy() | |
| 93 | end) | |
| 94 | chat() | |
| 95 | - | print("REMOVED " .. PLAYER.Name)
|
| 95 | + | |
| 96 | function onChatted(msg) | |
| 97 | chatfunc(msg) | |
| 98 | end | |
| 99 | plr.Chatted:connect(onChatted) | |
| 100 | local humanoid = char:FindFirstChildOfClass("Humanoid")
| |
| 101 | local huge = Vector3.new(math.huge, math.huge, math.huge) | |
| 102 | local mobs = Instance.new("Sound", char)
| |
| 103 | mobs.SoundId = "rbxassetid://289180146" | |
| 104 | mobs.Looped = true | |
| 105 | mobs.Volume = 3 | |
| 106 | humanoid.MaxHealth = math.huge | |
| 107 | wait() | |
| 108 | humanoid.Health = math.huge | |
| 109 | humanoid.Name = "BOOM BOOM BOOOMMMM!" | |
| 110 | mobs:Play() | |
| 111 | if char:FindFirstChild("Animate") then
| |
| 112 | char.Animate:Destroy() | |
| 113 | end | |
| 114 | if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then
| |
| 115 | char:FindFirstChildOfClass("Humanoid").Animator:Destroy()
| |
| 116 | end | |
| 117 | function legsonly() | |
| 118 | spawn(function() | |
| 119 | for i = 0, 10 do | |
| 120 | wait(0.001) | |
| 121 | if attacking then | |
| 122 | break | |
| 123 | end | |
| 124 | end | |
| 125 | if not attacking then | |
| 126 | legs = false | |
| 127 | end | |
| 128 | end) | |
| 129 | end | |
| 130 | function swait(t) | |
| 131 | if t == nil or t == 0 then | |
| 132 | game:service("RunService").Stepped:wait(0)
| |
| 133 | else | |
| 134 | for i = 0, t do | |
| 135 | game:service("RunService").Stepped:wait(0)
| |
| 136 | end | |
| 137 | end | |
| 138 | end | |
| 139 | function KICK(PLAYER) | |
| 140 | spawn(function() | |
| 141 | local function SKICK() | |
| 142 | if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") and PLAYER.Character:FindFirstChild("Torso") then
| |
| 143 | PLAYER.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
| 144 | do | |
| 145 | local SP = Instance.new("SkateboardPlatform", PLAYER.Character)
| |
| 146 | SP.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 147 | SP.Transparency = 1 | |
| 148 | spawn(function() | |
| 149 | repeat | |
| 150 | swait() | |
| 151 | if PLAYER.Character and PLAYER.Character:FindFirstChild("HumanoidRootPart") then
| |
| 152 | SP.Position = PLAYER.Character.HumanoidRootPart.Position | |
| 153 | end | |
| 154 | until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
| |
| 155 | end) | |
| 156 | PLAYER.Character.Torso.Anchored = true | |
| 157 | end | |
| 158 | end | |
| 159 | end | |
| 160 | spawn(function() | |
| 161 | repeat | |
| 162 | wait() | |
| 163 | if PLAYER ~= nil then | |
| 164 | SKICK() | |
| 165 | end | |
| 166 | until not game:GetService("Players"):FindFirstChild(PLAYER.Name)
| |
| 167 | if not game:GetService("Players"):FindFirstChild(PLAYER.Name) then
| |
| 168 | print("Sax'd " .. PLAYER.Name)
| |
| 169 | end | |
| 170 | end) | |
| 171 | end) | |
| 172 | end | |
| 173 | function hurt(hit, dmg) | |
| 174 | if hit.Parent then | |
| 175 | if hit.Parent:IsA("LocalScript") then
| |
| 176 | print("bocks!11")
| |
| 177 | hit.Parent:Destroy() | |
| 178 | end | |
| 179 | local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 180 | if hum and hum.Parent.Name ~= plr.Name then | |
| 181 | if dmg == "Kill" or hum.Health > 100000 then | |
| 182 | hit.Parent:BreakJoints() | |
| 183 | return true | |
| 184 | else | |
| 185 | if math.random(0, 100) == 50 then | |
| 186 | hum.Health = hum.Health - dmg * multiplier * 200000.06 | |
| 187 | else | |
| 188 | hum.Health = hum.Health - dmg * multiplier | |
| 189 | end | |
| 190 | return true | |
| 191 | end | |
| 192 | end | |
| 193 | end | |
| 194 | - | gun.Size = Vector3.new(3.175, 1.916, 0.465) |
| 194 | + | |
| 195 | function soundeffect(id, volume, speed, parent) | |
| 196 | spawn(function() | |
| 197 | - | m.MeshId = "rbxassetid://545652923" |
| 197 | + | |
| 198 | - | m.TextureId = "rbxassetid://468351348" |
| 198 | + | |
| 199 | - | m.Scale = Vector3.new(0.1, 0.1, 0.1) |
| 199 | + | |
| 200 | s.PlaybackSpeed = speed | |
| 201 | s.Parent = parent | |
| 202 | s:Play() | |
| 203 | repeat | |
| 204 | wait() | |
| 205 | until not s.Playing | |
| 206 | s:Destroy() | |
| 207 | end) | |
| 208 | end | |
| 209 | function gethum(obj) | |
| 210 | if obj.Parent and obj.Parent:FindFirstChild("Humanoid") and obj.Parent.Name ~= plr.Name then
| |
| 211 | return obj.Parent:FindFirstChildOfClass("Humanoid")
| |
| 212 | - | p.BrickColor = BrickColor.new("Institutional white")
|
| 212 | + | |
| 213 | end | |
| 214 | function smooth(obj) | |
| 215 | local sides = {
| |
| 216 | "Left", | |
| 217 | "Right", | |
| 218 | "Top", | |
| 219 | "Bottom", | |
| 220 | "Front", | |
| 221 | "Back" | |
| 222 | } | |
| 223 | for i, v in pairs(sides) do | |
| 224 | obj[v .. "Surface"] = "SmoothNoOutlines" | |
| 225 | end | |
| 226 | end | |
| 227 | function fade(obj, dest, grow) | |
| 228 | spawn(function() | |
| 229 | local oldcf = obj.CFrame | |
| 230 | for i = 0, 10 do | |
| 231 | if grow then | |
| 232 | obj.Size = obj.Size + Vector3.new(1, 1, 1) | |
| 233 | obj.CFrame = oldcf | |
| 234 | end | |
| 235 | obj.Transparency = obj.Transparency + 0.1 | |
| 236 | swait() | |
| 237 | end | |
| 238 | if dest then | |
| 239 | obj:Destroy() | |
| 240 | end | |
| 241 | end) | |
| 242 | end | |
| 243 | local keyamount = 0 | |
| 244 | mouse.KeyDown:connect(function(key) | |
| 245 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
| 246 | keyamount = keyamount + 1 | |
| 247 | if animpose ~= "Falling" then | |
| 248 | if keyamount > 3 then | |
| 249 | keyamount = 0 | |
| 250 | end | |
| 251 | animpose = "Walking" | |
| 252 | end | |
| 253 | end | |
| 254 | end) | |
| 255 | mouse.KeyUp:connect(function(key) | |
| 256 | if key == "w" or key == "a" or key == "s" or key == "d" then | |
| 257 | keyamount = keyamount - 1 | |
| 258 | if keyamount < 0 then | |
| 259 | keyamount = 0 | |
| 260 | end | |
| 261 | if keyamount == 0 then | |
| 262 | animpose = "Idle" | |
| 263 | end | |
| 264 | end | |
| 265 | end) | |
| 266 | local gun = Instance.new("Part")
| |
| 267 | gun.Size = Vector3.new(2, 2, 2) | |
| 268 | gun.CanCollide = false | |
| 269 | local m = Instance.new("SpecialMesh", gun)
| |
| 270 | m.MeshId = "rbxassetid://44410178" | |
| 271 | m.TextureId = "rbxassetid://44410320" | |
| 272 | m.Scale = Vector3.new(2, 2, 2) | |
| 273 | gun.CFrame = char.Torso.CFrame | |
| 274 | gun.Parent = char | |
| 275 | local gunw = Instance.new("Weld", gun)
| |
| 276 | gunw.Part0 = gun | |
| 277 | gunw.Part1 = char["Right Arm"] | |
| 278 | gunw.C0 = CFrame.new(-1.7838248, -0.410839319, 0, -0.0871557146, -0.996194541, 0, 0.996194541, -0.0871557146, 0, 0, 0, 1) | |
| 279 | mouse.Button1Down:connect(function() | |
| 280 | local cf = gun.CFrame * CFrame.new(0, 0, 0.958) | |
| 281 | local mag = (gun.Position - mouse.Hit.p).magnitude | |
| 282 | local p = Instance.new("Part")
| |
| 283 | p.CanCollide = false | |
| 284 | p.Anchored = false | |
| 285 | p.BrickColor = BrickColor.new("Gold")
| |
| 286 | p.Size = Vector3.new(0.2, 0.2, mag) | |
| 287 | smooth(p) | |
| 288 | p.Material = "Neon" | |
| 289 | p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2) | |
| 290 | local m = Instance.new("SpecialMesh", p)
| |
| 291 | m.MeshType = "Brick" | |
| 292 | p.Parent = workspace | |
| 293 | p.Touched:connect(function(hit) | |
| 294 | hurt(hit, "Kill") | |
| 295 | if hit.Size.X > 100 and 100 < hit.Size.Z and hit.Size.Y < 3 then | |
| 296 | elseif hit.Parent and hit.Parent.Name ~= plr.Name then | |
| 297 | fade(hit, true) | |
| 298 | end | |
| 299 | end) | |
| 300 | local bp = Instance.new("BodyPosition", p)
| |
| 301 | bp.MaxForce = huge | |
| 302 | bp.Position = p.Position | |
| 303 | local saved = p.CFrame | |
| 304 | for i = 1, 10 do | |
| 305 | p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01) | |
| 306 | p.CFrame = saved | |
| 307 | p.Velocity = Vector3.new(0, 0, 100) | |
| 308 | p.Transparency = p.Transparency + 0.1 | |
| 309 | wait() | |
| 310 | end | |
| 311 | p:Destroy() | |
| 312 | end) | |
| 313 | mouse.KeyDown:connect(function(key) | |
| 314 | if key == "l" then | |
| 315 | function a(b) | |
| 316 | pcall(function() | |
| 317 | for i, v in pairs(b:children()) do | |
| 318 | pcall(function() | |
| 319 | if v:IsA("BasePart") and v.Parent and v.Parent.Name == "WafflesAreVeryGood" and v.Anchored then
| |
| 320 | v.Anchored = false | |
| 321 | end | |
| 322 | if v:IsA("Sound") and v.Parent.Name ~= "WafflesAreVeryGood" then
| |
| 323 | v:Destroy() | |
| 324 | end | |
| 325 | if v:IsA("ParticleEmitter") then
| |
| 326 | v:Destroy() | |
| 327 | end | |
| 328 | a(v) | |
| 329 | end) | |
| 330 | end | |
| 331 | end) | |
| 332 | end | |
| 333 | a(game) | |
| 334 | end | |
| 335 | if key == "q" then | |
| 336 | local cf = gun.CFrame * CFrame.new(0, 0, 0.958) | |
| 337 | local mag = (gun.Position - mouse.Hit.p).magnitude | |
| 338 | local p = Instance.new("Part")
| |
| 339 | p.CanCollide = false | |
| 340 | p.Anchored = false | |
| 341 | p.BrickColor = BrickColor.new("Really red")
| |
| 342 | p.Size = Vector3.new(0.2, 0.2, mag) | |
| 343 | smooth(p) | |
| 344 | p.Material = "Neon" | |
| 345 | p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2) | |
| 346 | local m = Instance.new("SpecialMesh", p)
| |
| 347 | m.MeshType = "Brick" | |
| 348 | p.Parent = workspace | |
| 349 | p.Touched:connect(function(hit) | |
| 350 | if gethum(hit) then | |
| 351 | for i, v in pairs(hit.Parent:children()) do | |
| 352 | if v:IsA("Model") then
| |
| 353 | v:BreakJoints() | |
| 354 | end | |
| 355 | local ok = false | |
| 356 | for i, e in pairs({
| |
| 357 | "Right Arm", | |
| 358 | "Left Arm", | |
| 359 | "Right Leg", | |
| 360 | "Left Leg", | |
| 361 | "Head", | |
| 362 | "Torso", | |
| 363 | "HumanoidRootPart" | |
| 364 | }) do | |
| 365 | if v.Name == e then | |
| 366 | ok = true | |
| 367 | end | |
| 368 | end | |
| 369 | if v:IsA("BasePart") and not ok then
| |
| 370 | fade(v, true) | |
| 371 | end | |
| 372 | end | |
| 373 | end | |
| 374 | if hit:FindFirstChildOfClass("TouchTransmitter") then
| |
| 375 | hit:FindFirstChildOfClass("TouchTransmitter"):Destroy()
| |
| 376 | end | |
| 377 | end) | |
| 378 | local bp = Instance.new("BodyPosition", p)
| |
| 379 | bp.MaxForce = huge | |
| 380 | bp.Position = p.Position | |
| 381 | local saved = p.CFrame | |
| 382 | for i = 1, 10 do | |
| 383 | p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01) | |
| 384 | p.CFrame = saved | |
| 385 | p.Velocity = Vector3.new(0, 0, 100) | |
| 386 | p.Transparency = p.Transparency + 0.1 | |
| 387 | wait() | |
| 388 | end | |
| 389 | p:Destroy() | |
| 390 | end | |
| 391 | if key == "e" then | |
| 392 | local cf = gun.CFrame * CFrame.new(0, 0, 0.958) | |
| 393 | local mag = (gun.Position - mouse.Hit.p).magnitude | |
| 394 | local p = Instance.new("Part")
| |
| 395 | p.CanCollide = false | |
| 396 | p.Anchored = false | |
| 397 | p.BrickColor = BrickColor.new("New Yeller")
| |
| 398 | p.Size = Vector3.new(0.2, 0.2, mag) | |
| 399 | smooth(p) | |
| 400 | p.Material = "Neon" | |
| 401 | p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2) | |
| 402 | local m = Instance.new("SpecialMesh", p)
| |
| 403 | m.MeshType = "Brick" | |
| 404 | p.Parent = workspace | |
| 405 | p.Touched:connect(function(hit) | |
| 406 | if gethum(hit) then | |
| 407 | local target = game.Players:FindFirstChild(hit.Parent.Name) | |
| 408 | if target then | |
| 409 | KICK(target) | |
| 410 | end | |
| 411 | end | |
| 412 | end) | |
| 413 | local bp = Instance.new("BodyPosition", p)
| |
| 414 | bp.MaxForce = huge | |
| 415 | bp.Position = p.Position | |
| 416 | local saved = p.CFrame | |
| 417 | for i = 1, 10 do | |
| 418 | p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01) | |
| 419 | p.CFrame = saved | |
| 420 | p.Velocity = Vector3.new(0, 0, 100) | |
| 421 | p.Transparency = p.Transparency + 0.1 | |
| 422 | wait() | |
| 423 | end | |
| 424 | p:Destroy() | |
| 425 | end | |
| 426 | if key == "r" then | |
| 427 | local cf = gun.CFrame * CFrame.new(0, 0, 0.958) | |
| 428 | local mag = (gun.Position - mouse.Hit.p).magnitude | |
| 429 | local p = Instance.new("Part")
| |
| 430 | p.CanCollide = false | |
| 431 | p.Anchored = false | |
| 432 | p.BrickColor = BrickColor.new("Lime green")
| |
| 433 | p.Size = Vector3.new(0.2, 0.2, mag) | |
| 434 | smooth(p) | |
| 435 | p.Material = "Neon" | |
| 436 | p.CFrame = CFrame.new(gun.Position, mouse.Hit.p) * CFrame.new(0, 0, -mag / 2) | |
| 437 | local m = Instance.new("SpecialMesh", p)
| |
| 438 | m.MeshType = "Brick" | |
| 439 | p.Parent = workspace | |
| 440 | p.Touched:connect(function(hit) | |
| 441 | local hum = gethum(hit) | |
| 442 | if hum then | |
| 443 | hum.Health = hum.MaxHealth | |
| 444 | end | |
| 445 | end) | |
| 446 | local bp = Instance.new("BodyPosition", p)
| |
| 447 | bp.MaxForce = huge | |
| 448 | bp.Position = p.Position | |
| 449 | local saved = p.CFrame | |
| 450 | for i = 1, 10 do | |
| 451 | p.Size = p.Size + Vector3.new(0.01, 0.01, 0.01) | |
| 452 | p.CFrame = saved | |
| 453 | p.Velocity = Vector3.new(0, 0, 100) | |
| 454 | p.Transparency = p.Transparency + 0.1 | |
| 455 | wait() | |
| 456 | end | |
| 457 | p:Destroy() | |
| 458 | end | |
| 459 | end) | |
| 460 | game:GetService("RunService").Stepped:connect(function()
| |
| 461 | local x, z | |
| 462 | local dir = CFrame.new(char.HumanoidRootPart.Position, mouse.Hit.p).lookVector | |
| 463 | x = dir.X | |
| 464 | z = dir.Z | |
| 465 | local cf = CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position + Vector3.new(x, 0, z)) | |
| 466 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame:Lerp(cf, 0.5) | |
| 467 | humanoid.AutoRotate = false | |
| 468 | end) | |
| 469 | while wait() do | |
| 470 | if animpose == "Walking" and cananim and legs then | |
| 471 | for i = 0, 0.7, 0.1 do | |
| 472 | if animpose == "Walking" and cananim and legs then | |
| 473 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
| 474 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
| 475 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2) | |
| 476 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
| 477 | 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) | |
| 478 | 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) | |
| 479 | wait() | |
| 480 | else | |
| 481 | break | |
| 482 | end | |
| 483 | end | |
| 484 | for i = 0, 0.7, 0.1 do | |
| 485 | if animpose == "Walking" and cananim and legs then | |
| 486 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
| 487 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
| 488 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2) | |
| 489 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
| 490 | 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) | |
| 491 | 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) | |
| 492 | wait() | |
| 493 | else | |
| 494 | break | |
| 495 | end | |
| 496 | end | |
| 497 | end | |
| 498 | if animpose == "Idle" and cananim and legs then | |
| 499 | ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2) | |
| 500 | rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2) | |
| 501 | neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954E-9, 9.31323796E-10, 1.00000024, -0.866026342, 0.500000715, -1.86264515E-9), 0.2) | |
| 502 | rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2) | |
| 503 | lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0), 0.5) | |
| 504 | rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0523359627, 0.998629689, 0, 0.998629689, 0.0523359627, -1, 0, 0), 0.5) | |
| 505 | end | |
| 506 | end |