proff001

Vape

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