Advertisement
bruhhhhhhhh

Untitled

Feb 19th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.91 KB | None | 0 0
  1. wait(1)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. Character = Player.Character
  5. Mouse = Player:GetMouse()
  6. m = Instance.new("Model", Character)
  7.  
  8. local weldBetween = function(a, b)
  9. local weldd = Instance.new("ManualWeld")
  10. weldd.Part0 = a
  11. weldd.Part1 = b
  12. weldd.C0 = CFrame.new()
  13. weldd.C1 = b.CFrame:inverse() * a.CFrame
  14. weldd.Parent = a
  15. return weldd
  16. end
  17. it = Instance.new
  18. function nooutline(part)
  19. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  20. end
  21. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  22. local fp = it("Part")
  23. fp.formFactor = formfactor
  24. fp.Parent = parent
  25. fp.Reflectance = reflectance
  26. fp.Transparency = transparency
  27. fp.CanCollide = false
  28. fp.Locked = true
  29. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  30. fp.Name = name
  31. fp.Size = size
  32. fp.Position = Character.Torso.Position
  33. nooutline(fp)
  34. fp.Material = material
  35. fp:BreakJoints()
  36. return fp
  37. end
  38. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  39. local mesh = it(Mesh)
  40. mesh.Parent = part
  41. if Mesh == "SpecialMesh" then
  42. mesh.MeshType = meshtype
  43. mesh.MeshId = meshid
  44. end
  45. mesh.Offset = offset
  46. mesh.Scale = scale
  47. return mesh
  48. end
  49. function weld(parent, part0, part1, c0, c1)
  50. local weld = it("Weld")
  51. weld.Parent = parent
  52. weld.Part0 = part0
  53. weld.Part1 = part1
  54. weld.C0 = c0
  55. weld.C1 = c1
  56. return weld
  57. end
  58. F = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Lily white", "Handle", Vector3.new(3.5875988, 0.478346467, 1.19586647))
  59. Fweld = weld(m, Character.Head, F, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0157470703, -0.438977718, 0.00266170502, 0.995733142, 0, 0.0922800079, 0.00925354939, 0.994959533, -0.0998490006, -0.0918148756, 0.10027688, 0.990714252))
  60. mesh("SpecialMesh", F, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1029012", Vector3.new(0, 0, 0), Vector3.new(1.31545293, 1.31545281, 1.31545317))
  61. player = game.Players.LocalPlayer
  62. char = player.Character
  63. run = game:GetService("RunService")
  64. local xd = Instance.new("Model", game.Workspace)
  65. xd.Name = player.Name .. "'s INSTANCES"
  66. ignore = {}
  67. mouse = player:GetMouse()
  68. mouse.TargetFilter = xd
  69. local IdleAndWalk = false
  70. current = true
  71. skl = false
  72. function onKeyDown(key)
  73. key:lower()
  74. if key == "f" then
  75. do
  76. local Camera = game.Workspace.CurrentCamera
  77. local Player = game:GetService("Players").LocalPlayer
  78. repeat
  79. wait()
  80. until Player.Character
  81. Camera.CameraType = "Scriptable"
  82. game:GetService("RunService").Stepped:connect(function()
  83. Camera.CoordinateFrame = Camera.CoordinateFrame * CFrame.fromEulerAnglesXYZ(0.01, 0.01, 0.01)
  84. end)
  85. end
  86. end
  87. end
  88. mouse.KeyDown:connect(onKeyDown)
  89. function onKeyDown(key)
  90. key:lower()
  91. if key == "g" then
  92. local Camera = game.Workspace.CurrentCamera
  93. Camera.CameraType = "Follow"
  94. end
  95. end
  96. mouse.KeyDown:connect(onKeyDown)
  97. local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse()
  98. local currentCam = workspace.CurrentCamera
  99. Humanoid = Character:findFirstChild("Humanoid")
  100. Torso = Character:findFirstChild("Torso")
  101. Head = Character:findFirstChild("Head")
  102. Right_Arm = Character:findFirstChild("Right Arm")
  103. Left_Arm = Character:findFirstChild("Left Arm")
  104. Right_Leg = Character:findFirstChild("Right Leg")
  105. Right_Leg.FormFactor = "Custom"
  106. Left_Leg = Character:findFirstChild("Left Leg")
  107. Left_Leg.FormFactor = "Custom"
  108. Right_Shoulder = Torso:findFirstChild("Right Shoulder")
  109. Left_Shoulder = Torso:findFirstChild("Left Shoulder")
  110. Right_Hip = Torso:findFirstChild("Right Hip")
  111. Left_Hip = Torso:findFirstChild("Left Hip")
  112. Neck = Torso:findFirstChild("Neck")
  113. rootPart = Character:findFirstChild("HumanoidRootPart")
  114. rootPart.Archivable = true
  115. rootJoint = rootPart:findFirstChild("RootJoint")
  116. rootJoint.Archivable = true
  117. c_new = CFrame.new
  118. i_new = Instance.new
  119. c_angles = CFrame.Angles
  120. Humanoid:ClearAllChildren()
  121. local Animations = false
  122. local followMouse = false
  123. local isSprinting = false
  124. local Angle = 0
  125. local angleSpeed = 1
  126. local currentAnim
  127. local Vaping = false
  128. local vapePower = 2.5
  129. local Release = false
  130. local currentFace = Head.face.Texture
  131. function math_pos(float)
  132. if float < 0 then
  133. float = 0
  134. end
  135. return float
  136. end
  137. function math_neg(float)
  138. if float > 0 then
  139. float = 0
  140. end
  141. return float
  142. end
  143. function math_max(float, max)
  144. if max < float then
  145. float = max
  146. end
  147. return float
  148. end
  149. function math_min(float, min)
  150. if min < float then
  151. float = min
  152. end
  153. return float
  154. end
  155. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  156. wld = Instance.new("Weld", wp1)
  157. wld.Part0 = wp0
  158. wld.Part1 = wp1
  159. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  160. return wld
  161. end
  162. function newWeld2(wp02, wp12, wc0x2, wc0y2, wc0z2, wc0x12, wc0y12, wc0z12)
  163. wld2 = Instance.new("Weld", wp12)
  164. wld2.Part0 = wp02
  165. wld2.Part1 = wp12
  166. wld2.C0 = CFrame.new(wc0x2, wc0y2, wc0z2) * CFrame.Angles(wc0x12, wc0y12, wc0z12)
  167. return wld2
  168. end
  169. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  170. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  171. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  172. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  173. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  174. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  175. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  176. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0)
  177. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  178. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  179. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  180. function nooutline(part)
  181. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  182. end
  183. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  184. local fp = i_new("Part")
  185. fp.formFactor = formfactor
  186. fp.Parent = parent
  187. fp.Reflectance = reflectance
  188. fp.Transparency = transparency
  189. fp.CanCollide = false
  190. fp.Locked = true
  191. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  192. fp.Name = name
  193. fp.Size = size
  194. fp.Position = Character.Torso.Position
  195. nooutline(fp)
  196. fp.Material = material
  197. fp:BreakJoints()
  198. return fp
  199. end
  200. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  201. local mesh = i_new(Mesh)
  202. mesh.Parent = part
  203. if Mesh == "SpecialMesh" then
  204. mesh.MeshType = meshtype
  205. mesh.MeshId = meshid
  206. end
  207. mesh.Offset = offset
  208. mesh.Scale = scale
  209. return mesh
  210. end
  211. function weld(parent, part0, part1, c0, c1)
  212. local weld = i_new("Weld")
  213. weld.Parent = parent
  214. weld.Part0 = part0
  215. weld.Part1 = part1
  216. weld.C0 = c0
  217. weld.C1 = c1
  218. return weld
  219. end
  220. function swait(num)
  221. if num == 0 or num == nil then
  222. game:GetService("RunService").Stepped:wait(0)
  223. else
  224. for i = 0, num do
  225. game:GetService("RunService").Stepped:wait(0)
  226. end
  227. end
  228. end
  229. function newRay(start, face, range, wat)
  230. local ray = Ray.new(start.p, (face.p - start.p).Unit * range)
  231. hit, pos = workspace:findPartOnRayWithIgnoreList(ray, wat)
  232. return ray, hit, pos
  233. end
  234. function QuaternionFromCFrame(cf)
  235. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  236. local trace = m00 + m11 + m22
  237. if trace > 0 then
  238. local s = math.sqrt(1 + trace)
  239. local recip = 0.5 / s
  240. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  241. else
  242. local i = 0
  243. if m00 < m11 then
  244. i = 1
  245. end
  246. if m22 > (i == 0 and m00 or m11) then
  247. i = 2
  248. end
  249. if i == 0 then
  250. local s = math.sqrt(m00 - m11 - m22 + 1)
  251. local recip = 0.5 / s
  252. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  253. elseif i == 1 then
  254. local s = math.sqrt(m11 - m22 - m00 + 1)
  255. local recip = 0.5 / s
  256. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  257. elseif i == 2 then
  258. local s = math.sqrt(m22 - m00 - m11 + 1)
  259. local recip = 0.5 / s
  260. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  261. end
  262. end
  263. end
  264. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  265. local xs, ys, zs = x + x, y + y, z + z
  266. local wx, wy, wz = w * xs, w * ys, w * zs
  267. local xx = x * xs
  268. local xy = x * ys
  269. local xz = x * zs
  270. local yy = y * ys
  271. local yz = y * zs
  272. local zz = z * zs
  273. 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))
  274. end
  275. function QuaternionSlerp(a, b, t)
  276. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  277. local startInterp, finishInterp
  278. if cosTheta >= 1.0E-4 then
  279. if 1 - cosTheta > 1.0E-4 then
  280. local theta = math.acos(cosTheta)
  281. local invSinTheta = 1 / math.sin(theta)
  282. startInterp = math.sin((1 - t) * theta) * invSinTheta
  283. finishInterp = math.sin(t * theta) * invSinTheta
  284. else
  285. startInterp = 1 - t
  286. finishInterp = t
  287. end
  288. elseif 1 + cosTheta > 1.0E-4 then
  289. local theta = math.acos(-cosTheta)
  290. local invSinTheta = 1 / math.sin(theta)
  291. startInterp = math.sin((t - 1) * theta) * invSinTheta
  292. finishInterp = math.sin(t * theta) * invSinTheta
  293. else
  294. startInterp = t - 1
  295. finishInterp = t
  296. end
  297. 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
  298. end
  299. function clerp(a, b, t)
  300. local qa = {
  301. QuaternionFromCFrame(a)
  302. }
  303. local qb = {
  304. QuaternionFromCFrame(b)
  305. }
  306. local ax, ay, az = a.x, a.y, a.z
  307. local bx, by, bz = b.x, b.y, b.z
  308. local _t = 1 - t
  309. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  310. end
  311. local freeFalling = false
  312. Humanoid.FreeFalling:connect(function(f)
  313. if f then
  314. freeFalling = true
  315. else
  316. freeFalling = false
  317. end
  318. end)
  319. function Vapor()
  320. end
  321. function Vape()
  322. if Release == true and vapePower > 5 then
  323. Vaping = true
  324. Humanoid.WalkSpeed = 0
  325. Humanoid.JumpPower = 0
  326.  
  327. for i = 0, 3, 0.01 do
  328. Animations = true
  329. 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)
  330. 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)
  331. 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)
  332. 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)
  333. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0), 0), 0.01)
  334. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(-5), math.rad(0), 0), 0.005)
  335. Head.face.Texture = "http://www.roblox.com/asset/?id=7317691"
  336. swait()
  337. end
  338.  
  339. z = Instance.new("Sound", char)
  340. z.SoundId = "rbxassetid://394983740"
  341. z.Looped = false
  342. z.Pitch = 0.72
  343. z.Volume = 10
  344. wait(0.1)
  345. z:Play()
  346. wait(7.5)
  347. Head.face.Texture = currentFace
  348. Humanoid.WalkSpeed = 10
  349. Humanoid.JumpPower = 50
  350. Animations = false
  351. wait(1)
  352. Vaping = false
  353. vapePower = 2.5
  354. elseif vapePower < 5 then
  355. Vaping = false
  356. vapePower = 2.5
  357. end
  358. end
  359. Mouse.KeyDown:connect(function(key)
  360. if key == "z" and followMouse == false then
  361. followMouse = true
  362. gyro = Instance.new("BodyGyro", rootPart)
  363. gyro.P = 10000000
  364. gyro.D = 1000
  365. gyro.MaxTorque = Vector3.new(0, 10000000, 0)
  366. coroutine.resume(coroutine.create(function()
  367. while wait() do
  368. gyro.CFrame = CFrame.new(Vector3.new(), (Mouse.Hit.p - rootPart.CFrame.p).unit * 100)
  369. end
  370. end))
  371. elseif key == "z" and followMouse == true then
  372. followMouse = false
  373. gyro:Destroy()
  374. end
  375. end)
  376. Mouse.Button1Down:connect(function()
  377. if Vaping == false then
  378. Vaping = true
  379. Release = false
  380. Mouse.Button1Up:connect(function()
  381. Release = true
  382. end)
  383. if Release == false then
  384. repeat
  385. Animations = true
  386. vapePower = vapePower + 1
  387. Humanoid.WalkSpeed = 0.1
  388. Humanoid.JumpPower = 0
  389. wait()
  390. 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)
  391. 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)
  392. 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)
  393. 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)
  394. 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)
  395. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(15), math.rad(0), 0), 0.01)
  396. if vapePower > 5 then
  397. Head.face.Texture = "http://www.roblox.com/asset/?id=7317691"
  398. elseif vapePower < 5 then
  399. Humanoid.WalkSpeed = 16
  400. Humanoid.JumpPower = 50
  401. end
  402. print(vapePower)
  403. until Release == true
  404. end
  405. Animations = false
  406. Vape()
  407. end
  408. end)
  409. Vepr = Instance.new("Model", Character)
  410. Handle = part(Enum.FormFactor.Symmetric, Vepr, Enum.Material.Neon, 1, 0, "Lily white", "Handle", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  411. 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-8, 0, 5.96046377E-8, 1, 0.692044854, -0.721854508, 4.30258851E-8))
  412. Player = game:GetService("Players").LocalPlayer
  413. Character = Player.Character
  414. Mouse = Player:GetMouse()
  415. m = Instance.new("Model", Character)
  416. local weldBetween = function(a, b)
  417. local weldd = Instance.new("ManualWeld")
  418. weldd.Part0 = a
  419. weldd.Part1 = b
  420. weldd.C0 = CFrame.new()
  421. weldd.C1 = b.CFrame:inverse() * a.CFrame
  422. weldd.Parent = a
  423. return weldd
  424. end
  425. it = Instance.new
  426. function nooutline(part)
  427. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  428. end
  429. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  430. local fp = it("Part")
  431. fp.formFactor = formfactor
  432. fp.Parent = parent
  433. fp.Reflectance = reflectance
  434. fp.Transparency = transparency
  435. fp.CanCollide = false
  436. fp.Locked = true
  437. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  438. fp.Name = name
  439. fp.Size = size
  440. fp.Position = Character.Torso.Position
  441. nooutline(fp)
  442. fp.Material = material
  443. fp:BreakJoints()
  444. return fp
  445. end
  446. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  447. local mesh = it(Mesh)
  448. mesh.Parent = part
  449. if Mesh == "SpecialMesh" then
  450. mesh.MeshType = meshtype
  451. mesh.MeshId = meshid
  452. end
  453. mesh.Offset = offset
  454. mesh.Scale = scale
  455. return mesh
  456. end
  457. function weld(parent, part0, part1, c0, c1)
  458. local weld = it("Weld")
  459. weld.Parent = parent
  460. weld.Part0 = part0
  461. weld.Part1 = part1
  462. weld.C0 = c0
  463. weld.C1 = c1
  464. return weld
  465. end
  466. BottleR = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Lily white", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654))
  467. BottleRweld = weld(m, Character["Right Arm"], BottleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150012493, 1.13759422, -1.12566471, -1, 0, 0, 0, 0.146834984, -0.989161015, 0, -0.989160895, -0.146834999))
  468. mesh("SpecialMesh", BottleR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=11409474", Vector3.new(0, 0, 0), Vector3.new(2.17374969, 3.62291789, 2.17374969))
  469. Player = game:GetService("Players").LocalPlayer
  470. Character = Player.Character
  471. Mouse = Player:GetMouse()
  472. m = Instance.new("Model", Character)
  473. local weldBetween = function(a, b)
  474. local weldd = Instance.new("ManualWeld")
  475. weldd.Part0 = a
  476. weldd.Part1 = b
  477. weldd.C0 = CFrame.new()
  478. weldd.C1 = b.CFrame:inverse() * a.CFrame
  479. weldd.Parent = a
  480. return weldd
  481. end
  482. it = Instance.new
  483. function nooutline(part)
  484. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  485. end
  486. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  487. local fp = it("Part")
  488. fp.formFactor = formfactor
  489. fp.Parent = parent
  490. fp.Reflectance = reflectance
  491. fp.Transparency = transparency
  492. fp.CanCollide = false
  493. fp.Locked = true
  494. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  495. fp.Name = name
  496. fp.Size = size
  497. fp.Position = Character.Torso.Position
  498. nooutline(fp)
  499. fp.Material = material
  500. fp:BreakJoints()
  501. return fp
  502. end
  503. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  504. local mesh = it(Mesh)
  505. mesh.Parent = part
  506. if Mesh == "SpecialMesh" then
  507. mesh.MeshType = meshtype
  508. mesh.MeshId = meshid
  509. end
  510. mesh.Offset = offset
  511. mesh.Scale = scale
  512. return mesh
  513. end
  514. function weld(parent, part0, part1, c0, c1)
  515. local weld = it("Weld")
  516. weld.Parent = parent
  517. weld.Part0 = part0
  518. weld.Part1 = part1
  519. weld.C0 = c0
  520. weld.C1 = c1
  521. return weld
  522. end
  523. BottleL = part(Enum.FormFactor.Plate, m, Enum.Material.Neon, 0, 0, "Lily white", "Handle", Vector3.new(1.44916654, 1.73900044, 1.44916654))
  524. BottleLweld = weld(m, Character["Left Arm"], BottleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.229987741, 1.13759422, -1.12566471, -1, 0, 0, 0, 0.146834984, -0.989161015, 0, -0.989160895, -0.146834999))
  525. mesh("SpecialMesh", BottleL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=11409474", Vector3.new(0, 0, 0), Vector3.new(2.17374969, 3.62291789, 2.17374969))
  526. game:GetService("RunService").Stepped:connect(function()
  527. Angle = Angle % 100 + angleSpeed / 10
  528. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  529. jumpVel = Torso.Velocity.Y
  530. if Humanoid.Jump and jumpVel > 1 then
  531. currentAnim = "Jumping"
  532. elseif freeFalling == true then
  533. currentAnim = "Falling"
  534. elseif walkingMagnitude < 2 then
  535. currentAnim = "Idling"
  536. elseif isSprinting == true then
  537. currentAnim = "Sprinting"
  538. elseif walkingMagnitude > 2 then
  539. currentAnim = "Walking"
  540. end
  541. if currentAnim == "Jumping" and Animations == false then
  542. angleSpeed = 1
  543. axisSpeed = 1
  544. 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)
  545. 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)
  546. 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)
  547. 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)
  548. 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)
  549. 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)
  550. elseif currentAnim == "Falling" and Animations == false then
  551. angleSpeed = 1
  552. axisSpeed = 1
  553. 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)
  554. 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)
  555. 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)
  556. 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)
  557. 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)
  558. 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)
  559. elseif currentAnim == "Idling" and Animations == false then
  560. angleSpeed = 0.25
  561. axisSpeed = 0.25
  562. 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)
  563. 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)
  564. 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)
  565. 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)
  566. 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)
  567. 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)
  568. elseif currentAnim == "Sprinting" and Animations == false then
  569. angleSpeed = 2
  570. axisSpeed = 2
  571. 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)
  572. RA_Weld.C1 = c_new(0, 0.5, 0)
  573. 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)
  574. LA_Weld.C1 = c_new(0, 0.5, 0)
  575. 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)
  576. 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)
  577. 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)
  578. 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)
  579. elseif currentAnim == "Walking" and Animations == false then
  580. angleSpeed = 1
  581. axisSpeed = 1
  582. Humanoid.WalkSpeed = 7
  583. 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)
  584. 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)
  585. 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)
  586. 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)
  587. 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)
  588. 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)
  589. end
  590. end)
  591. z2 = Instance.new("Sound", char)
  592. z2.SoundId = "rbxassetid://179697562"
  593. z2.Looped = false
  594. z2.Pitch = 0.72
  595. z2.Volume = 2.5
  596. local bass1 = Instance.new("EqualizerSoundEffect")
  597. bass1.Parent = z2
  598. bass1.HighGain = -35
  599. bass1.LowGain = 10
  600. bass1.MidGain = 10
  601. bass1.Priority = 100
  602.  
  603. local bass2 = Instance.new("EqualizerSoundEffect")
  604. bass2.Parent = z2
  605. bass2.HighGain = 10
  606. bass2.LowGain = 10
  607. bass2.MidGain = 10
  608. z2:Play()
  609. CV="White"
  610. local txt = Instance.new("BillboardGui", char)
  611. txt.Adornee = char .Head
  612. txt.Name = "_status"
  613. txt.Size = UDim2.new(2, 0, 1.2, 0)
  614. txt.StudsOffset = Vector3.new(-9, 8, 0)
  615. local text = Instance.new("ImageLabel", txt)
  616. text.Size = UDim2.new(10, 0, 10, 0)
  617. text.BackgroundTransparency = 1
  618.  
  619. v=Instance.new("Part")
  620. v.Name = "ColorBrick"
  621. v.Parent=player.Character
  622. v.FormFactor="Symmetric"v.Anchored=true
  623. v.CanCollide=false
  624. v.BottomSurface="Smooth"
  625. v.TopSurface="Smooth"
  626. v.Size=Vector3.new(10,5,3)
  627. v.Transparency=1
  628. v.CFrame=char.Torso.CFrame
  629. v.BrickColor=BrickColor.new(CV)
  630. v.Transparency=1
  631. text.Image = "http://www.roblox.com/asset/?id=4707963283"
  632. v.Shape="Block"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement