Advertisement
00fjg

Untitled

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