Advertisement
Marcsosa

Untitled

Feb 23rd, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --==/Bound to No Limits/==--
  2. --[[Leak this and i'll be freaking mad]]--
  3. local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse();
  4. local currentCam = workspace.CurrentCamera
  5. Humanoid = Character:findFirstChild("Humanoid");
  6. Torso = Character:findFirstChild("Torso");
  7. Head = Character:findFirstChild("Head");
  8. Right_Arm = Character:findFirstChild("Right Arm");
  9. Left_Arm = Character:findFirstChild("Left Arm");
  10. Right_Leg = Character:findFirstChild("Right Leg");
  11. Right_Leg.FormFactor = "Custom";
  12. Left_Leg = Character:findFirstChild("Left Leg");
  13. Left_Leg.FormFactor = "Custom";
  14. Right_Shoulder = Torso:findFirstChild("Right Shoulder");
  15. Left_Shoulder = Torso:findFirstChild("Left Shoulder");
  16. Right_Hip = Torso:findFirstChild("Right Hip");
  17. Left_Hip = Torso:findFirstChild("Left Hip");
  18. Neck = Torso:findFirstChild("Neck");
  19. rootPart = Character:findFirstChild("HumanoidRootPart");
  20. rootPart.Archivable = true;
  21. rootJoint = rootPart:findFirstChild("RootJoint");
  22. rootJoint.Archivable = true;
  23. c_new = CFrame.new;
  24. i_new = Instance.new;
  25. c_angles = CFrame.Angles;
  26. Humanoid:ClearAllChildren();
  27. local Animations = false
  28. local followMouse = false
  29. local isSprinting = false
  30. local Angle = 0
  31. local angleSpeed = 1
  32. local currentAnim
  33. local Vaping = false
  34. local vapePower = 2.5
  35. local Release = false
  36. local currentFace = Head.face.Texture
  37.  
  38. function math_pos(float)
  39. if float < 0 then float = 0 end
  40. return float
  41. end
  42. function math_neg(float)
  43. if float > 0 then float = 0 end
  44. return float
  45. end
  46. function math_max(float, max)
  47. if float > max then float = max end
  48. return float
  49. end
  50. function math_min(float, min)
  51. if float > min then float = min end
  52. return float
  53. end
  54.  
  55. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  56. wld = Instance.new("Weld", wp1)
  57. wld.Part0 = wp0
  58. wld.Part1 = wp1
  59. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  60. return wld
  61. end
  62.  
  63. newWeld2 = function(wp02, wp12, wc0x2, wc0y2, wc0z2, wc0x12, wc0y12, wc0z12)
  64. wld2 = Instance.new("Weld", wp12)
  65. wld2.Part0 = wp02
  66. wld2.Part1 = wp12
  67. wld2.C0 = CFrame.new(wc0x2, wc0y2, wc0z2) * CFrame.Angles(wc0x12, wc0y12, wc0z12)
  68. return wld2
  69. end
  70.  
  71. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  72. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  73. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  74. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  75. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  76. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  77. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  78. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  79. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  80. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  81. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  82.  
  83.  
  84. function nooutline(part)
  85. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  86. end
  87.  
  88. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  89. local fp = i_new("Part")
  90. fp.formFactor = formfactor
  91. fp.Parent = parent
  92. fp.Reflectance = reflectance
  93. fp.Transparency = transparency
  94. fp.CanCollide = false
  95. fp.Locked = true
  96. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  97. fp.Name = name
  98. fp.Size = size
  99. fp.Position = Character.Torso.Position
  100. nooutline(fp)
  101. fp.Material = material
  102. fp:BreakJoints()
  103. return fp
  104. end
  105.  
  106. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  107. local mesh = i_new(Mesh)
  108. mesh.Parent = part
  109. if Mesh == "SpecialMesh" then
  110. mesh.MeshType = meshtype
  111. mesh.MeshId = meshid
  112. end
  113. mesh.Offset = offset
  114. mesh.Scale = scale
  115. return mesh
  116. end
  117.  
  118. function weld(parent, part0, part1, c0, c1)
  119. local weld = i_new("Weld")
  120. weld.Parent = parent
  121. weld.Part0 = part0
  122. weld.Part1 = part1
  123. weld.C0 = c0
  124. weld.C1 = c1
  125. return weld
  126. end
  127.  
  128. function swait(num)
  129. if num == 0 or num == nil then
  130. game:GetService("RunService").Stepped:wait(0)
  131. else
  132. for i = 0, num do
  133. game:GetService("RunService").Stepped:wait(0)
  134. end
  135. end
  136. end
  137.  
  138. function newRay(start, face, range, wat)
  139. local ray = Ray.new(start.p, (face.p - start.p).Unit * range)
  140. hit, pos = workspace:findPartOnRayWithIgnoreList(ray, wat)
  141. return ray, hit, pos
  142. end
  143.  
  144. function QuaternionFromCFrame(cf)
  145. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  146. local trace = m00 + m11 + m22
  147. if trace > 0 then
  148. local s = math.sqrt(1 + trace)
  149. local recip = 0.5/s
  150. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  151. else
  152. local i = 0
  153. if m11 > m00 then
  154. i = 1
  155. end
  156. if m22 > (i == 0 and m00 or m11) then
  157. i = 2
  158. end
  159. if i == 0 then
  160. local s = math.sqrt(m00-m11-m22+1)
  161. local recip = 0.5/s
  162. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  163. elseif i == 1 then
  164. local s = math.sqrt(m11-m22-m00+1)
  165. local recip = 0.5/s
  166. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  167. elseif i == 2 then
  168. local s = math.sqrt(m22-m00-m11+1)
  169. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  170. end
  171. end
  172. end
  173.  
  174. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  175. local xs, ys, zs = x + x, y + y, z + z
  176. local wx, wy, wz = w*xs, w*ys, w*zs
  177. local xx = x*xs
  178. local xy = x*ys
  179. local xz = x*zs
  180. local yy = y*ys
  181. local yz = y*zs
  182. local zz = z*zs
  183. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  184. end
  185.  
  186. function QuaternionSlerp(a, b, t)
  187. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  188. local startInterp, finishInterp;
  189. if cosTheta >= 0.0001 then
  190. if (1 - cosTheta) > 0.0001 then
  191. local theta = math.acos(cosTheta)
  192. local invSinTheta = 1/math.sin(theta)
  193. startInterp = math.sin((1-t)*theta)*invSinTheta
  194. finishInterp = math.sin(t*theta)*invSinTheta
  195. else
  196. startInterp = 1-t
  197. finishInterp = t
  198. end
  199. else
  200. if (1+cosTheta) > 0.0001 then
  201. local theta = math.acos(-cosTheta)
  202. local invSinTheta = 1/math.sin(theta)
  203. startInterp = math.sin((t-1)*theta)*invSinTheta
  204. finishInterp = math.sin(t*theta)*invSinTheta
  205. else
  206. startInterp = t-1
  207. finishInterp = t
  208. end
  209. end
  210. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  211. end
  212.  
  213. function clerp(a, b, t)
  214. local qa = {QuaternionFromCFrame(a)}
  215. local qb = {QuaternionFromCFrame(b)}
  216. local ax, ay, az = a.x, a.y, a.z
  217. local bx, by, bz = b.x, b.y, b.z
  218. local _t = 1-t
  219. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  220. end
  221.  
  222. local freeFalling = false
  223. Humanoid.FreeFalling:connect(function(f)
  224. if f then
  225. freeFalling = true
  226. else
  227. freeFalling = false
  228. end
  229. end)
  230.  
  231. function Vapor()
  232. end
  233.  
  234. function Vape()
  235. if Release == true and vapePower > 5 then
  236. Vaping = true
  237. Humanoid.WalkSpeed = 0
  238. Humanoid.JumpPower = 0
  239. smoke = Instance.new("ParticleEmitter", Head)
  240. smoke.Color = ColorSequence.new(Color3.new(1, 1, 1))
  241. smoke.Texture = "http://www.roblox.com/asset/?id=382199579"
  242. smoke.Size = NumberSequence.new({
  243. NumberSequenceKeypoint.new(0, 0, 0),
  244. NumberSequenceKeypoint.new(0.161235, 0.25, 0),
  245. NumberSequenceKeypoint.new(0.197256, 1.25, 0),
  246. NumberSequenceKeypoint.new(0.221269, 1.5, 0),
  247. NumberSequenceKeypoint.new(0.25729, 1.5, 0),
  248. NumberSequenceKeypoint.new(0.284734, 2, 0),
  249. NumberSequenceKeypoint.new(0.512865, 2.5, 0),
  250. NumberSequenceKeypoint.new(0.548885, 3.5, 0),
  251. NumberSequenceKeypoint.new(0.595197, 4.5, 0),
  252. NumberSequenceKeypoint.new(0.632933, 6.5, 0),
  253. NumberSequenceKeypoint.new(0.6741, 9, 0),
  254. NumberSequenceKeypoint.new(1, 10, 0)
  255. })
  256. smoke.Transparency = NumberSequence.new({
  257. NumberSequenceKeypoint.new(0, 1, 0),
  258. NumberSequenceKeypoint.new(0, 0.999, 0),
  259. NumberSequenceKeypoint.new(0.154374, 0.89, 0),
  260. NumberSequenceKeypoint.new(0.310463, 0.79, 0),
  261. NumberSequenceKeypoint.new(0.504288, 0.69, 0),
  262. NumberSequenceKeypoint.new(0.638079, 0.79, 0),
  263. NumberSequenceKeypoint.new(0.765009, 0.999, 0),
  264. NumberSequenceKeypoint.new(1, 1, 0)
  265. })
  266. smoke.Speed = NumberRange.new(1.5)
  267. smoke.EmissionDirection = 5
  268. smoke.Acceleration = Vector3.new(0, 0.075, 0)
  269. smoke.Lifetime = NumberRange.new(vapePower/0.5)
  270. smoke.Rate = 15
  271. smoke.ZOffset = 3
  272. smoke.RotSpeed = NumberRange.new(100)
  273. smoke.Rotation = NumberRange.new(100)
  274. for i = 0, 3, 0.01 do
  275. Animations = true
  276. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0.1) * c_angles(math.rad(20), math.rad(0), math.rad(20)), 0.01)
  277. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0.1) * c_angles(math.rad(20), math.rad(0), math.rad(-20)), 0.01)
  278. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-5.5)), 0.005)
  279. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(5.5)), 0.005)
  280. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), 0), 0.01)
  281. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-5), math.rad(0), 0), 0.005)
  282. Head.face.Texture = "http://www.roblox.com/asset/?id=7317691"
  283. swait()
  284. end
  285. wait(7.5)
  286. Head.face.Texture = currentFace
  287. game.Debris:AddItem(smoke, 0)
  288. Humanoid.WalkSpeed = 16
  289. Humanoid.JumpPower = 50
  290. Animations = false
  291. wait(1)
  292. Vaping = false
  293. vapePower = 2.5
  294. elseif vapePower < 5 then
  295. Vaping = false
  296. vapePower = 2.5
  297. end
  298. end
  299.  
  300. Mouse.KeyDown:connect(function(key)
  301. if key == "z" and followMouse == false then
  302. followMouse = true
  303. gyro = Instance.new("BodyGyro", rootPart)
  304. gyro.P = 1e7
  305. gyro.D = 1e3
  306. gyro.MaxTorque = Vector3.new(0, 1e7, 0)
  307. coroutine.resume(coroutine.create(function()
  308. while wait() do
  309. gyro.CFrame = CFrame.new(Vector3.new(), (Mouse.Hit.p -rootPart.CFrame.p).unit * 100)
  310. end
  311. end))
  312. elseif key == "z" and followMouse == true then
  313. followMouse = false
  314. gyro:Destroy()
  315. end
  316. end)
  317.  
  318. Mouse.Button1Down:connect(function()
  319. if Vaping == false then
  320. Vaping = true
  321. Release = false
  322. Mouse.Button1Up:connect(function()
  323. Release = true
  324. end)
  325. if Release == false then
  326. repeat
  327. Animations = true
  328. vapePower = vapePower + 0.1
  329. Humanoid.WalkSpeed = 0
  330. Humanoid.JumpPower = 0
  331. wait()
  332. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.8, 1.4, -1) * c_angles(math.rad(60), math.rad(-25), math.rad(-80)) * CFrame.Angles(0, math.rad(150), 0), 0.1)
  333. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0.1) * c_angles(math.rad(-12.5), math.rad(10), math.rad(-25)), 0.1)
  334. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(-5)), 0.01)
  335. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(5)), 0.01)
  336. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05) * c_angles(math.rad(11.5), math.rad(0), 0), 0.05)
  337. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(15), math.rad(0), 0), 0.01)
  338. if vapePower > 5 then
  339. Head.face.Texture = "http://www.roblox.com/asset/?id=7317691"
  340. elseif vapePower < 5 then
  341. Humanoid.WalkSpeed = 16
  342. Humanoid.JumpPower = 50
  343. end
  344. print(vapePower)
  345. until Release == true
  346. end
  347. Animations = false
  348. Vape()
  349. end
  350. end)
  351.  
  352. Vepr = Instance.new("Model", Character)
  353. Handle = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Handle", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  354. Handleweld = weld(Vepr, Right_Arm, Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.677656174, -0.199986219, -0.745416641, 0.721854568, 0.692044795, -4.12490877e-008, 0, 5.96046377e-008, 1, 0.692044854, -0.721854508, 4.30258851e-008))
  355. mesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(0.850000024, 1, 0.850000024))
  356. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  357. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0770874023, 0.530002356, -0.00293064117, -0.707106829, 5.7016841e-008, 0.70710665, 8.64581722e-008, 1, 5.82424065e-009, -0.707106769, 6.52535093e-008, -0.707106948))
  358. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  359. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  360. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.530002356, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  361. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.649999976, 1.5, 0.649999976))
  362. ColoredPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Dark stone grey", "ColoredPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  363. ColoredPartweld = weld(Vepr, Handle, ColoredPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0150222778, 0.0528726578, 0.580010891, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  364. mesh("CylinderMesh", ColoredPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 0.150000006, 0.075000003))
  365. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  366. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 1.12999749, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  367. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.349999994, 0.5, 0.349999994))
  368. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  369. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, -0.299999952, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  370. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.10000002, 0.25, 1.10000002))
  371. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  372. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0799965858, 0.530002356, 0.00411891937, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  373. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  374. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  375. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, -0.350000143, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  376. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
  377. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  378. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.39999938, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  379. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.10000002, 0.25, 1.10000002))
  380. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  381. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 1.20999694, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  382. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.25, 0.5, 0.25))
  383. ColoredPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.SmoothPlastic, 0, 0, "Really black", "ColoredPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  384. ColoredPartweld = weld(Vepr, Handle, ColoredPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.06904175e-005, 1.26000762, 0.00412273407, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  385. mesh("CylinderMesh", ColoredPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.300000012, 0.100000001, 0.300000012))
  386. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  387. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.00412368774, 0.39999938, 1, -9.83454888e-015, 8.94069672e-008, 8.94069672e-008, 1.02581704e-014, 1, 7.10542736e-015, -1, -7.10542736e-015))
  388. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  389. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  390. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.440000296, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  391. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
  392. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  393. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 1.25999618, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  394. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.349999994, 0.100000001, 0.349999994))
  395. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  396. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 1.06999803, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  397. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.649999976, 0.5, 0.649999976))
  398. ColoredPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Dark stone grey", "ColoredPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  399. ColoredPartweld = weld(Vepr, Handle, ColoredPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.23977661e-005, 0.0528755188, 0.595012188, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  400. mesh("CylinderMesh", ColoredPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 0.150000006, 0.075000003))
  401. ColoredPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Dark stone grey", "ColoredPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  402. ColoredPartweld = weld(Vepr, Handle, ColoredPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0149841309, 0.0528774261, 0.580010891, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  403. mesh("CylinderMesh", ColoredPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 0.150000006, 0.075000003))
  404. ColoredPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Dark stone grey", "ColoredPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  405. ColoredPartweld = weld(Vepr, Handle, ColoredPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.23977661e-005, 0.0528755188, 0.565011501, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  406. mesh("CylinderMesh", ColoredPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.075000003, 0.150000006, 0.075000003))
  407. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  408. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0829200745, 0.530002356, 0.00291061401, 0.707106769, 2.99547696e-016, 0.707106948, -7.10542736e-015, 1, 7.10542736e-015, -0.707106829, 1.42076978e-014, 0.70710665))
  409. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  410. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  411. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0800065994, 0.530002356, 0.00412559509, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  412. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  413. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  414. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0841331482, 0.530002356, -1.09672546e-005, 8.94069672e-008, 5.70167558e-008, 1, 6.52536016e-008, 1, -5.70167309e-008, -1, 6.52536229e-008, -8.94069672e-008))
  415. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  416. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  417. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.759999275, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  418. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.649999976, 1, 0.649999976))
  419. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  420. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.66893005e-005, 0.0508747101, 0.580010891, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  421. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.300000012, 0.150000006, 0.300000012))
  422. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  423. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.082918644, 0.530002356, -0.00291919708, -0.707106829, 5.7016841e-008, 0.70710665, 8.64581722e-008, 1, 5.82424065e-009, -0.707106769, 6.52535093e-008, -0.707106948))
  424. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  425. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  426. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0770807266, 0.530002356, 0.0029168129, 0.707106769, 2.99547696e-016, 0.707106948, -7.10542736e-015, 1, 7.10542736e-015, -0.707106829, 1.42076978e-014, 0.70710665))
  427. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 1.5, 0.100000001))
  428. TransparentPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.SmoothPlastic, 0, 0.25, "Teal", "TransparentPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  429. TransparentPartweld = weld(Vepr, Handle, TransparentPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.93999958, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  430. mesh("CylinderMesh", TransparentPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 0.800000012, 0.400000006))
  431. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  432. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.710000038, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  433. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 1))
  434. TransparentPart = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.SmoothPlastic, 0, 0.5, "Really black", "TransparentPart", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  435. TransparentPartweld = weld(Vepr, Handle, TransparentPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.29153442e-006, 0.93999958, 0.00412368774, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  436. mesh("CylinderMesh", TransparentPart, "", "", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 0.800000012, 0.550000012))
  437. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  438. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.0458641052, 0.580001354, 1, -9.83454888e-015, 8.94069672e-008, -8.94069672e-008, -5.96041154e-008, -1, -1.24344979e-014, 1, -5.96040941e-008))
  439. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.349999994, 0.150000006, 0.349999994))
  440. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  441. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00204133987, 0, 0.0835571289, 0.86602515, -1.36460565e-014, -0.500000298, -7.10542736e-015, 1, 7.10542736e-015, 0.500000477, 3.96655577e-015, 0.866025209))
  442. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  443. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  444. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00356006622, 0, 0.0779504776, -0.500000477, -3.96655577e-015, -0.866025209, -7.10542736e-015, 1, 7.10542736e-015, 0.86602515, -1.36460565e-014, -0.500000298))
  445. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  446. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  447. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00355911255, 0, 0.0820550919, 0.499999642, -1.38011093e-014, -0.866025567, -7.10542736e-015, 1, 7.10542736e-015, 0.866025627, -3.38788869e-015, 0.499999791))
  448. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  449. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  450. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00206279755, 0, -0.0835399628, -0.866025627, 3.38788869e-015, -0.499999791, -7.10542736e-015, 1, 7.10542736e-015, 0.499999642, -1.38011093e-014, -0.866025567))
  451. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  452. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  453. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00206565857, 0, 0.0764513016, -0.866025627, 3.38788869e-015, -0.499999791, -7.10542736e-015, 1, 7.10542736e-015, 0.499999642, -1.38011093e-014, -0.866025567))
  454. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  455. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  456. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00410270691, 0, -0.0799913406, -2.68220901e-007, -1.02581687e-014, -1, -7.10542736e-015, 1, 7.10542736e-015, 1, -9.83455057e-015, -8.94069672e-008))
  457. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  458. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  459. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00410270691, 0, 0.0800023079, -2.68220901e-007, -1.02581687e-014, -1, -7.10542736e-015, 1, 7.10542736e-015, 1, -9.83455057e-015, -8.94069672e-008))
  460. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  461. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  462. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-006, 0, -0.0758914948, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  463. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  464. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  465. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0020403862, 0, -0.0764379501, 0.86602515, -1.36460565e-014, -0.500000298, -7.10542736e-015, 1, 7.10542736e-015, 0.500000477, 3.96655577e-015, 0.866025209))
  466. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  467. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  468. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00355911255, 0, -0.0820565224, -0.500000477, -3.96655577e-015, -0.866025209, -7.10542736e-015, 1, 7.10542736e-015, 0.86602515, -1.36460565e-014, -0.500000298))
  469. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  470. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  471. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.05990601e-006, 0, 0.0841112137, 1, -9.83454888e-015, 8.94069672e-008, -7.10542736e-015, 1, 7.10542736e-015, 8.94069672e-008, 1.02581704e-014, 1))
  472. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  473. Part = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Metal, 1, 0, "Really black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  474. Partweld = weld(Vepr, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0035533905, 0, -0.0779447556, 0.499999642, -1.38011093e-014, -0.866025567, -7.10542736e-015, 1, 7.10542736e-015, 0.866025627, -3.38788869e-015, 0.499999791))
  475. mesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.150000006, 1, 0.150000006))
  476.  
  477. game:GetService("RunService").Stepped:connect(function()
  478. Angle = (Angle % 100) + angleSpeed/10
  479. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  480. jumpVel = Torso.Velocity.Y
  481.  
  482. if(Humanoid.Jump) and jumpVel > 1 then
  483. currentAnim = "Jumping"
  484. elseif freeFalling == true then
  485. currentAnim = "Falling"
  486. elseif walkingMagnitude < 2 then
  487. currentAnim = "Idling"
  488. elseif isSprinting == true then
  489. currentAnim = "Sprinting"
  490. elseif walkingMagnitude > 2 then
  491. currentAnim = "Walking"
  492. end
  493.  
  494. if currentAnim == "Jumping" and Animations == false then
  495. angleSpeed = 1
  496. axisSpeed = 1
  497. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.1) * c_angles(math.rad(-10), math.rad(0), math.rad(10)), 0.15)
  498. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.1) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.15)
  499. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.15)
  500. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(-10), math.rad(0), math.rad(10)), 0.15)
  501. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)) * c_angles(math.rad(0), math.rad(0), rootPart.RotVelocity.Y/55), 0.4)
  502. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
  503.  
  504. elseif currentAnim == "Falling" and Animations == false then
  505. angleSpeed = 1
  506. axisSpeed = 1
  507. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, -0.1) * c_angles(math.rad(0), math.rad(0), math.rad(65)), 0.125)
  508. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, -0.1) * c_angles(math.rad(0), math.rad(0), math.rad(-65)), 0.125)
  509. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -0.4, -0.4) * c_angles(math.rad(-5), math.rad(0), math.rad(-2.5)), 0.125)
  510. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -0.4, -0.4) * c_angles(math.rad(-5), math.rad(0), math.rad(2.5)), 0.125)
  511. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.05)
  512. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-17.5), math.rad(0), math.rad(0)), 0.125)
  513.  
  514. elseif currentAnim == "Idling" and Animations == false then
  515. angleSpeed = 0.25
  516. axisSpeed = 0.25
  517. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(Angle) * 0.075, 0.1) * c_angles(math.rad(15) + math.sin(Angle) * 0.075, math.rad(0), math.rad(10) + math.sin(Angle) * 0.075), 0.125)
  518. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5 + math.sin(Angle) * 0.075, 0.1) * c_angles(math.rad(-10) + math.sin(Angle) * 0.075, math.rad(0), math.rad(-10) - math.sin(Angle) * 0.075), 0.125)
  519. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.1 - math.sin(Angle) * 0.075, -0.25) * c_angles(math.rad(15), math.rad(0), math.rad(-7.5)), 0.125)
  520. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.1 - math.sin(Angle) * 0.075, -0.25) * c_angles(math.rad(-15), math.rad(0), math.rad(7.5)), 0.125)
  521. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(Angle) * 0.075, 0) * c_angles(math.rad(-5), math.rad(0), 0), 0.3)
  522. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, -0.05) * c_angles(math.rad(-5) + math.sin(Angle) * 0.05, math.rad(0), 0), 0.125)
  523.  
  524. elseif currentAnim == "Sprinting" and Animations == false then
  525. angleSpeed = 2
  526. axisSpeed = 2
  527. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(Angle) * 2, math.rad(5) + math.sin(Angle) * 0.1, math.rad(5) + rootPart.RotVelocity.Y/35), 0.15)
  528. RA_Weld.C1 = c_new(0, 0.5, 0)
  529. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(-math.sin(Angle) * -2, math.rad(-5) + math.sin(Angle) * 0.1, math.rad(-5) + rootPart.RotVelocity.Y/35), 0.15)
  530. LA_Weld.C1 = c_new(0, 0.5, 0)
  531. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.15 + math_pos(-math.cos(Angle - 0.25) * 0.65), math_neg(math.asin(math.sin(Angle)) * 0.65)) * c_angles(-0.025 - math.asin(math.sin(Angle)) * 1, 0, -0.025 + -math.asin(math.sin(Angle)) * 0.025 + rootPart.RotVelocity.Y/25), 0.15)
  532. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.15 + math_pos(math.cos(Angle - 0.25) * 0.65), math_neg(-math.asin(math.sin(Angle)) * 0.65)) * c_angles(-0.025 + math.asin(math.sin(Angle)) * 1, 0, 0.025 + -math.asin(math.sin(Angle)) * 0.025 + rootPart.RotVelocity.Y/25), 0.15)
  533. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.abs(math.sin(Angle) * 0.25), 0) * c_angles(math.rad(-20) + math.abs(math.sin(Angle) * 0.05) + rootPart.RotVelocity.Y/35, math.sin(Angle) * 0.015, rootPart.RotVelocity.Y/55), 0.15)
  534. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.abs((math.sin(Angle/2) * 0.5) * 0.05), math.sin(Angle) * -0.05 + rootPart.RotVelocity.Y/15 , 0), 0.15)
  535.  
  536. elseif currentAnim == "Walking" and Animations == false then
  537. angleSpeed = 1
  538. axisSpeed = 1
  539. Humanoid.WalkSpeed = 7
  540. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(-math.sin(Angle) * 0.6, math.rad(5) + math.sin(Angle) * 0.05, math.rad(5)), 0.15)
  541. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(-math.sin(Angle) * -0.6, math.rad(-5) + math.sin(Angle) * 0.05, math.rad(-5)), 0.15)
  542. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5, -1.05 + math_pos(-math.cos(Angle - 0.25) * 0.35), math_neg(math.asin(math.sin(Angle)) * 0.35)) * c_angles(-0.025 - math.asin(math.sin(Angle)) * 0.4, 0, -0.025 + -math.asin(math.sin(Angle)) * 0.025 - rootPart.RotVelocity.Y/65), 0.15)
  543. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5, -1.05 + math_pos(math.cos(Angle - 0.25) * 0.35), math_neg(-math.asin(math.sin(Angle)) * 0.35)) * c_angles(-0.025 + math.asin(math.sin(Angle)) * 0.4, 0, 0.025 + -math.asin(math.sin(Angle)) * 0.025 - rootPart.RotVelocity.Y/65), 0.15)
  544. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1 + math.abs(math.sin(Angle) * 0.05), 0) * c_angles(math.rad(-12.5) + math.abs(math.sin(Angle) * 0.05), math.sin(Angle) * 0.015, rootPart.RotVelocity.Y/55), 0.15)
  545. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.abs((math.sin(Angle/2) * 0.5) * 0.05),
  546. math.sin(Angle) * -0.05 + rootPart.RotVelocity.Y/45, 0), 0.15)
  547. z = Instance.new("Sound", char.Torso)
  548. z.SoundId = "rbxassetid://360141233"
  549. z.Looped = true
  550. z.Pitch = 1
  551. z.Volume = 1
  552. end
  553. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement