The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
FE Amogus V2 script script pastebin roblox
By FE Amogus V2 script on 2024-09-22 08:00 am | Syntax: LUA | Views: 9



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local netboost = 1000 --velocity
  2. --netboost usage:
  3. --set to false to disable
  4. --set to a vector3 value if you dont want the velocity to change
  5. --set to a number to change the velocity in real time with magnitude equal to the number
  6. local idleMag = 0.005 --used only in case netboost is set to a number value
  7. --if magnitude of the real velocity of a part is lower than this
  8. --then the fake velocity is being set to Vector3.new(0, netboost, 0)
  9. --the lower value the less you jitter but you might loose network ownership
  10. local simradius = "shp" --simulation radius (net bypass) method
  11. --"shp" - sethiddenproperty
  12. --"ssr" - setsimulationradius
  13. --false - disable
  14. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  15. local newanimate = false --disables the animate script and enables after reanimation
  16. local discharscripts = true --disables all localScripts parented to your character before reanimation
  17. local R15toR6 = true --tries to convert your character to r6 if its r15
  18. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  19. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  20. local method = 3 --reanimation method
  21. --methods:
  22. --0 - breakJoints (takes [loadtime] seconds to laod)
  23. --1 - limbs
  24. --2 - limbs + anti respawn
  25. --3 - limbs + breakJoints after [loadtime] seconds
  26. --4 - remove humanoid + breakJoints
  27. --5 - remove humanoid + limbs
  28. local alignmode = 2 --AlignPosition mode
  29. --modes:
  30. --1 - AlignPosition rigidity enabled true
  31. --2 - 2 AlignPositions rigidity enabled both true and false
  32. --3 - AlignPosition rigidity enabled false
  33. local hedafterneck = true --disable aligns for head and enable after neck is removed
  34.  
  35. local lp = game:GetService("Players").LocalPlayer
  36. local rs = game:GetService("RunService")
  37. local stepped = rs.Stepped
  38. local heartbeat = rs.Heartbeat
  39. local renderstepped = rs.RenderStepped
  40. local sg = game:GetService("StarterGui")
  41. local ws = game:GetService("Workspace")
  42. local cf = CFrame.new
  43. local v3 = Vector3.new
  44. local v3_0 = v3(0, 0, 0)
  45. local inf = math.huge
  46.  
  47. local c = lp.Character
  48.  
  49. if not (c and c.Parent) then
  50.     return
  51. end
  52.  
  53. for i, v in pairs(c:GetDescendants()) do
  54.     if v:IsA("CharacterMesh") or v:IsA("SpecialMesh") then
  55.         v:Destroy()
  56.     end
  57. end
  58.  
  59. c:GetPropertyChangedSignal("Parent"):Connect(function()
  60.     if not (c and c.Parent) then
  61.         c = nil
  62.     end
  63. end)
  64.  
  65. local function gp(parent, name, className)
  66.  local ret = nil
  67.  pcall(function()
  68.   for i, v in pairs(parent:GetChildren()) do
  69.    if (v.Name == name) and v:IsA(className) then
  70.     ret = v
  71.     break
  72.    end
  73.   end
  74.  end)
  75.  return ret
  76. end
  77.  
  78. local function align(Part0, Part1)
  79.  Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001)
  80.  
  81.  local att0 = Instance.new("Attachment", Part0)
  82.  att0.Orientation = v3_0
  83.  att0.Position = v3_0
  84.  att0.Name = "att0_" .. Part0.Name
  85.  local att1 = Instance.new("Attachment", Part1)
  86.  att1.Orientation = v3_0
  87.  att1.Position = v3_0
  88.  att1.Name = "att1_" .. Part1.Name
  89.  
  90.  if (alignmode == 1) or (alignmode == 2) then
  91.      local ape = Instance.new("AlignPosition", att0)
  92.      ape.ApplyAtCenterOfMass = false
  93.      ape.MaxForce = inf
  94.      ape.MaxVelocity = inf
  95.      ape.ReactionForceEnabled = false
  96.      ape.Responsiveness = 200
  97.      ape.Attachment1 = att1
  98.      ape.Attachment0 = att0
  99.      ape.Name = "AlignPositionRtrue"
  100.      ape.RigidityEnabled = true
  101.  end
  102.  
  103.  if (alignmode == 2) or (alignmode == 3) then
  104.      local apd = Instance.new("AlignPosition", att0)
  105.      apd.ApplyAtCenterOfMass = false
  106.      apd.MaxForce = inf
  107.      apd.MaxVelocity = inf
  108.      apd.ReactionForceEnabled = false
  109.      apd.Responsiveness = 200
  110.      apd.Attachment1 = att1
  111.      apd.Attachment0 = att0
  112.      apd.Name = "AlignPositionRfalse"
  113.      apd.RigidityEnabled = false
  114.     end
  115.  
  116.  local ao = Instance.new("AlignOrientation", att0)
  117.  ao.MaxAngularVelocity = inf
  118.  ao.MaxTorque = inf
  119.  ao.PrimaryAxisOnly = false
  120.  ao.ReactionTorqueEnabled = false
  121.  ao.Responsiveness = 200
  122.  ao.Attachment1 = att1
  123.  ao.Attachment0 = att0
  124.  ao.RigidityEnabled = false
  125.  
  126.     if netboost then
  127.         Part0:GetPropertyChangedSignal("Parent"):Connect(function()
  128.             if not (Part0 and Part0.Parent) then
  129.                 Part0 = nil
  130.             end
  131.         end)
  132.         spawn(function()
  133.             if typeof(netboost) == "Vector3" then
  134.              local vel = v3_0
  135.              local rotvel = v3_0
  136.              while Part0 do
  137.                     Part0.Velocity = vel
  138.                     Part0.RotVelocity = rotvel
  139.                     heartbeat:Wait()
  140.                     if Part0 then
  141.                         vel = Part0.Velocity
  142.                         Part0.Velocity = netboost
  143.                         Part0.RotVelocity = v3_0
  144.                         stepped:Wait()
  145.                     end
  146.                 end
  147.          elseif typeof(netboost) == "number" then
  148.              local vel = v3_0
  149.              local rotvel = v3_0
  150.              while Part0 do
  151.                     Part0.Velocity = vel
  152.                     Part0.RotVelocity = rotvel
  153.                     heartbeat:Wait()
  154.                     if Part0 then
  155.                         local newvel = vel
  156.                         local mag = newvel.Magnitude
  157.                         if mag < idleMag xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed bv.Name = "bv_" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> 0) then
  158.          model:BreakJoints()
  159.          hum0.Health = 0
  160.      end
  161.   respawnrequest()
  162.  else
  163.      if hum0 and hum0.Parent and (hum0.Health > 0) then
  164.          model:BreakJoints()
  165.          hum0.Health = 0
  166.      end
  167.  end
  168. end)
  169. sg:SetCore("ResetButtonCallback", rb)
  170.  
  171. spawn(function()
  172.  while c do
  173.   if hum0 and hum0.Parent and hum1 and hum1.Parent then
  174.             hum1.Jump = hum0.Jump
  175.         end
  176.   wait()
  177.  end
  178.  sg:SetCore("ResetButtonCallback", true)
  179. end)
  180.  
  181. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  182. if R15toR6 then
  183.  local cfr = nil
  184.  pcall(function()
  185.   cfr = gp(c, "HumanoidRootPart", "BasePart").CFrame
  186.  end)
  187.  if cfr then
  188.   local R6parts = {
  189.    head = {
  190.     Name = "Head",
  191.     Size = v3(2, 1, 1),
  192.     R15 = {
  193.      Head = 0
  194.     }
  195.    },
  196.    torso = {
  197.     Name = "Torso",
  198.     Size = v3(2, 2, 1),
  199.     R15 = {
  200.      UpperTorso = 0.2,
  201.      LowerTorso = -0.8
  202.     }
  203.    },
  204.    root = {
  205.     Name = "HumanoidRootPart",
  206.     Size = v3(2, 2, 1),
  207.     R15 = {
  208.      HumanoidRootPart = 0
  209.     }
  210.    },
  211.    leftArm = {
  212.     Name = "Left Arm",
  213.     Size = v3(1, 2, 1),
  214.     R15 = {
  215.      LeftHand = -0.85,
  216.      LeftLowerArm = -0.2,
  217.      LeftUpperArm = 0.4
  218.     }
  219.    },
  220.    rightArm = {
  221.     Name = "Right Arm",
  222.     Size = v3(1, 2, 1),
  223.     R15 = {
  224.      RightHand = -0.85,
  225.      RightLowerArm = -0.2,
  226.      RightUpperArm = 0.4
  227.     }
  228.    },
  229.    leftLeg = {
  230.     Name = "Left Leg",
  231.     Size = v3(1, 2, 1),
  232.     R15 = {
  233.      LeftFoot = -0.85,
  234.      LeftLowerLeg = -0.15,
  235.      LeftUpperLeg = 0.6
  236.     }
  237.    },
  238.    rightLeg = {
  239.     Name = "Right Leg",
  240.     Size = v3(1, 2, 1),
  241.     R15 = {
  242.      RightFoot = -0.85,
  243.      RightLowerLeg = -0.15,
  244.      RightUpperLeg = 0.6
  245.     }
  246.    }
  247.   }
  248.   for i, v in pairs(c:GetChildren()) do
  249.    if v:IsA("BasePart") then
  250.     for i1, v1 in pairs(v:GetChildren()) do
  251.      if v1:IsA("Motor6D") then
  252.       v1.Part0 = nil
  253.      end
  254.     end
  255.    end
  256.   end
  257.   for i, v in pairs(R6parts) do
  258.    local part = Instance.new("Part")
  259.    part.Name = v.Name
  260.    part.Size = v.Size
  261.    part.CFrame = cfr
  262.    part.Anchored = false
  263.    part.Transparency = 1
  264.    part.CanCollide = false
  265.    for i1, v1 in pairs(v.R15) do
  266.     local R15part = gp(c, i1, "BasePart")
  267.     local att = gp(R15part, "att1_" .. i1, "Attachment")
  268.     if R15part then
  269.      local weld = Instance.new("Weld", R15part)
  270.      weld.Name = "Weld_" .. i1
  271.      weld.Part0 = part
  272.      weld.Part1 = R15part
  273.      weld.C0 = cf(0, v1, 0)
  274.      weld.C1 = cf(0, 0, 0)
  275.      R15part.Massless = true
  276.      R15part.Name = "R15_" .. i1
  277.      R15part.Parent = part
  278.         if att then
  279.             att.Parent = part
  280.             att.Position = v3(0, v1, 0)
  281.         end
  282.     end
  283.    end
  284.    part.Parent = c
  285.    R6parts[i] = part
  286.   end
  287.   local R6joints = {
  288.    neck = {
  289.     Parent = R6parts.torso,
  290.     Name = "Neck",
  291.     Part0 = R6parts.torso,
  292.     Part1 = R6parts.head,
  293.     C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  294.     C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  295.    },
  296.    rootJoint = {
  297.     Parent = R6parts.root,
  298.     Name = "RootJoint" ,
  299.     Part0 = R6parts.root,
  300.     Part1 = R6parts.torso,
  301.     C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  302.     C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  303.    },
  304.    rightShoulder = {
  305.     Parent = R6parts.torso,
  306.     Name = "Right Shoulder",
  307.     Part0 = R6parts.torso,
  308.     Part1 = R6parts.rightArm,
  309.     C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  310.     C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  311.    },
  312.    leftShoulder = {
  313.     Parent = R6parts.torso,
  314.     Name = "Left Shoulder",
  315.     Part0 = R6parts.torso,
  316.     Part1 = R6parts.leftArm,
  317.     C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  318.     C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  319.    },
  320.    rightHip = {
  321.     Parent = R6parts.torso,
  322.     Name = "Right Hip",
  323.     Part0 = R6parts.torso,
  324.     Part1 = R6parts.rightLeg,
  325.     C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  326.     C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  327.    },
  328.    leftHip = {
  329.     Parent = R6parts.torso,
  330.     Name = "Left Hip" ,
  331.     Part0 = R6parts.torso,
  332.     Part1 = R6parts.leftLeg,
  333.     C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  334.     C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  335.    }
  336.   }
  337.   for i, v in pairs(R6joints) do
  338.    local joint = Instance.new("Motor6D")
  339.    for prop, val in pairs(v) do
  340.     joint[prop] = val
  341.    end
  342.    R6joints[i] = joint
  343.   end
  344.   hum1.RigType = Enum.HumanoidRigType.R6
  345.   hum1.HipHeight = 0
  346.  end
  347. end
  348.  
  349. wait()
  350. if not c then
  351.     return
  352. end
  353.  
  354. local venttoggle = false
  355. local vented = false
  356. local mode2 = false
  357. local attack = false
  358. local modetoggle = false
  359. local dead = false
  360. local dtoggle = false
  361. local sittoggle = false
  362. local sit = false
  363. local sine = 0
  364. local mouse = lp:GetMouse()
  365.  
  366. local joints = {
  367.     ["RootJoint"] = "",
  368.     ["Neck"] = "",
  369.     ["Right Hip"] = "",
  370.     ["Left Hip"] = "",
  371.     ["Left Shoulder"] = "",
  372.     ["Right Shoulder"] = ""
  373. }
  374.  
  375. for i, v in pairs(c:GetDescendants()) do
  376.     if v:IsA("Motor6D") and (joints[v.Name] == "") and (not v:IsDescendantOf(model)) then
  377.         joints[v.Name] = v
  378.     end
  379. end
  380.  
  381. for i, v in pairs(joints) do
  382.     if v and (v ~= "") then
  383.         v.C0 = cf(0, 0, 0)
  384.         v.C1 = cf(0, 0, 0)
  385.     else
  386.         return
  387.     end
  388. end
  389.  
  390. local Root = gp(c, "HumanoidRootPart", "BasePart")
  391. if not Root then
  392.     return
  393. end
  394.  
  395. local function replace(a)
  396.     local b, c = a.Part0, a.Part1
  397.     a.Part1, a.Part0 = b, c
  398. end
  399.  
  400. replace(joints["Left Shoulder"])
  401. replace(joints["Right Shoulder"])
  402. replace(joints["Left Hip"])
  403. replace(joints["Right Hip"])
  404.  
  405. for i, v in pairs(c:GetChildren()) do
  406.     if v:IsA("Accessory") then
  407.         v:Destroy()
  408.     end
  409. end
  410.  
  411. joints.Neck.C0 = cf(0, 0.3, -0.5)
  412.  
  413. mouse.Button1Down:Connect(function()
  414.     if not (kill or mode2 or dead) then
  415.         attack = true
  416.         vented = false
  417.         hum1.WalkSpeed = 0
  418.         wait(0.5)
  419.         hum1.WalkSpeed = 16
  420.         attack = false
  421.     end
  422. end)
  423.  
  424. mouse.KeyDown:Connect(function(key)
  425.     if not c then
  426.         return
  427.     end
  428.     key = key:lower()
  429.     if k == "e" then
  430.         if not venttoggle then
  431.             modetoggle = false
  432.             mode2 = false
  433.             venttoggle = true
  434.             vented = true
  435.             hum1.WalkSpeed = 100
  436.             position = "ventidle"
  437.         elseif venttoggle then
  438.             venttoggle = false
  439.             vented = false
  440.             hum1.WalkSpeed = 16
  441.         end
  442.     elseif key == "f" then
  443.         if not modetoggle then
  444.             venttoggle = false
  445.             vented = false
  446.             modetoggle = true
  447.             mode2 = true
  448.             sittoggle = false
  449.             sit = false
  450.             hum1.WalkSpeed = 60
  451.         elseif modetoggle then
  452.             modetoggle = false
  453.             mode2 = false
  454.             hum1.WalkSpeed = 16
  455.         end
  456.     elseif key == "q" then
  457.         if dtoggle == false then
  458.             venttoggle = false
  459.             vented = false
  460.             modetoggle = false
  461.             mode2 = false
  462.             dtoggle = true
  463.             dead = true
  464.             sittoggle = false
  465.             sit = false
  466.             hum1.WalkSpeed = 0
  467.         elseif dtoggle == true then
  468.             dtoggle = false
  469.             dead = false
  470.             hum1.WalkSpeed = 16
  471.         end
  472.     elseif key == "c" then
  473.         if sittoggle == false then
  474.             venttoggle = false
  475.             vented = false
  476.             modetoggle = false
  477.             mode2 = false
  478.             dtoggle = false
  479.             dead = false
  480.             sittoggle = true
  481.             sit = true
  482.             hum1.WalkSpeed = 0
  483.         elseif sittoggle == true then
  484.             sittoggle = false
  485.             sit = false
  486.             hum1.WalkSpeed = 16
  487.         end
  488.     end
  489. end)
  490.  
  491. local pose = "idle"
  492. while stepped:Wait() and c do
  493.     if attack then
  494.         pose = "attack"
  495.     elseif dead then
  496.         pose = "dead"
  497.     elseif sit then
  498.         pose = "sit"
  499.     elseif mode2 then
  500.         if Root.Velocity.Magnitude < 2 pose = "idle2"> 20 then
  501.             pose = "walk2"
  502.         end
  503.     else
  504.         if Root.Velocity.y > 1 then
  505.             pose = "jump"
  506.         elseif Root.Velocity.y < -1 then
  507.             pose = "fall"
  508.         elseif Root.Velocity.Magnitude < 2 pose = "idle" pose = "walk"> 20 then
  509.             pose = "run"
  510.         end
  511.     end
  512.     sine += 1
  513.     if pose == "idle" then
  514.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0.3 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  515.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(20 + 0 * math.sin(sine/12)), math.rad(-3 + 0 * math.sin(sine/12))),0.1)
  516.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 10 * math.sin(sine/12)), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(3 + 0 * math.sin(sine/12))),0.1)
  517.     elseif pose == "walk" then
  518.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0.3 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  519.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + 0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 30 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  520.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0.3 * math.sin(sine/12), 0.3 + -0.3 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + -30 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  521.     elseif pose == "jump" then
  522.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  523.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(15 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  524.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  525.     elseif pose == "fall" then
  526.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  527.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(15 + 10 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-10 + 0 * math.sin(sine/12))),0.1)
  528.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(10 + 5 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(10 + 0 * math.sin(sine/12))),0.1)
  529.     elseif pose == "vent" then
  530.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), 0 + -8 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  531.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(26.02 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  532.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  533.     elseif pose == "ventidle" then
  534.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/12), -20 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  535.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/12), 1.5 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(26.02 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  536.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  537.     elseif pose == "idle2" then
  538.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/20), 3 + 0.3 * math.sin(sine/20), 0 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + 20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  539.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.5 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(20 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  540.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/20), 2 + 0 * math.sin(sine/20), 0.5 + -0.5 * math.sin(sine/20)) * CFrame.Angles(math.rad(10 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  541.     elseif pose == "walk2" then
  542.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/20), 3 + 0.3 * math.sin(sine/20), 0 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(-60 + 10 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20))),0.1)
  543.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/20), 2 + 0 * math.sin(sine/20), 0.3 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + -10 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(-5 + 0 * math.sin(sine/20))),0.1)
  544.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.5 + 0 * math.sin(sine/20), 1 + 0 * math.sin(sine/20), 0.5 + 0 * math.sin(sine/20)) * CFrame.Angles(math.rad(0 + -20 * math.sin(sine/20)), math.rad(0 + 0 * math.sin(sine/20)), math.rad(5 + 0 * math.sin(sine/20))),0.1)
  545.     elseif pose == "attack" then
  546.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  547.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  548.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 2 + 0 * math.sin(sine/12), 0.5 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(30 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12))),0.1)
  549.     elseif pose == "sit" then
  550.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), -1.8 + 0 * math.sin(sine/5), 0 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(10 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  551.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), -1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/12)), math.rad(10 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  552.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 1 + 0 * math.sin(sine/12), -1 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/12)), math.rad(-10 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  553.     elseif pose == "dead" then
  554.         joints["RootJoint"].C0 = joints["RootJoint"].C0:lerp(CFrame.new(0 + 0 * math.sin(sine/5), -2.5 + 0 * math.sin(sine/5), -1 + 0 * math.sin(sine/5)) * CFrame.Angles(math.rad(-90 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5)), math.rad(0 + 0 * math.sin(sine/5))),0.1)
  555.         joints["Right Hip"].C0 = joints["Right Hip"].C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 3 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(-4 + 0 * math.sin(sine/12))),0.1)
  556.         joints["Left Hip"].C0 = joints["Left Hip"].C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 3 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(4 + 0 * math.sin(sine/12))),0.1)
  557.     end
  558.     joints["Right Shoulder"].C0 = joints["Right Shoulder"].C0:lerp(CFrame.new(-0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  559.     joints["Left Shoulder"].C0 = joints["Left Shoulder"].C0:lerp(CFrame.new(0.4 + 0 * math.sin(sine/12), 0 + 0 * math.sin(sine/12), -0.8 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12)), math.rad(0 + 0 * math.sin(sine/12))),0.1)
  560. end



  • Recent Roblox Scripts