Dark_EccentricYT

Untitled

May 1st, 2017
72,438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.83 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. repeat
  3. wait(0.4)
  4. until plr.Character
  5. chr = plr.Character
  6. human = chr:FindFirstChild("Humanoid")
  7. mouse = plr:GetMouse()
  8. cam = workspace.CurrentCamera
  9. selected = false
  10. equipd = false
  11. tors = chr.Torso
  12. rarm = chr["Right Arm"]
  13. larm = chr["Left Arm"]
  14. rleg = chr["Right Leg"]
  15. lleg = chr["Left Leg"]
  16. hrp = chr.HumanoidRootPart
  17. hed = chr.Head
  18. anim = human.Animator
  19. activu = false
  20. ragged = false
  21. batting = false
  22. Heartbeat = Instance.new("BindableEvent")
  23. Heartbeat.Name = "Heartbeat"
  24. Heartbeat.Parent = script
  25. frame = 0.03333333333333333
  26. tf = 0
  27. game:GetService("RunService").Heartbeat:connect(function(s, p)
  28. tf = tf + s
  29. if tf >= frame then
  30. for i = 1, math.floor(tf / frame) do
  31. Heartbeat:Fire()
  32. end
  33. tf = tf - frame * math.floor(tf / frame)
  34. end
  35. end)
  36. function swait(num)
  37. if num == 0 or num == nil then
  38. Heartbeat.Event:wait()
  39. else
  40. for i = 1, num do
  41. Heartbeat.Event:wait()
  42. end
  43. end
  44. end
  45. tool = Instance.new("Tool")
  46. tool.CanBeDropped = false
  47. tool.RequiresHandle = false
  48. tool.TextureId = "rbxassetid://291302154"
  49. tool.ToolTip = "NANI"
  50. tool.Name = "AAAAAAAAAAAAAA"
  51. tool.Parent = plr.Backpack
  52. modz = Instance.new("Model")
  53. modz.Name = "efx"
  54. modz.Parent = chr
  55. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  56. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  57. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  58. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  59. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  60. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  61. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  62. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  63. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  64. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  65. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  66. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  67. local nscale = Instance.new("NumberValue")
  68. nscale.Value = 1
  69. nscale.Parent = nil
  70. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  71. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  72. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  73. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  74. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  75. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  76. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  77. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  78. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  79. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  80. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  81. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  82. nscale.Changed:connect(function()
  83. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  84. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  85. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  86. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  87. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  88. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  89. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  90. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  92. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  93. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  94. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  95. end)
  96. RS = tors:FindFirstChild("Right Shoulder")
  97. LS = tors:FindFirstChild("Left Shoulder")
  98. RH = tors:FindFirstChild("Right Hip")
  99. LH = tors:FindFirstChild("Left Hip")
  100. RJ = hrp:FindFirstChild("RootJoint")
  101. N = tors:FindFirstChild("Neck")
  102. cf = CFrame.new
  103. ang = CFrame.Angles
  104. rd = math.rad
  105. rd2 = math.random
  106. function nooutline(p)
  107. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  108. end
  109. function makepart(color, name, reflec, trans, mater, parnt, cfram)
  110. local port = Instance.new("Part")
  111. port.BrickColor = BrickColor.new(color)
  112. port.Name = name
  113. port.Transparency = trans
  114. nooutline(port)
  115. port.Reflectance = reflec
  116. port.Material = mater
  117. port.Anchored = false
  118. port.CanCollide = false
  119. port.Locked = true
  120. port.Size = Vector3.new(0.2, 0.2, 0.2)
  121. port.Parent = parnt
  122. return port
  123. end
  124. function makemesh(meshtype, scale, meshid, parent)
  125. local mes = Instance.new("SpecialMesh")
  126. mes.MeshType = meshtype
  127. mes.Scale = scale
  128. if meshtype == "FileMesh" then
  129. mes.MeshId = meshid
  130. end
  131. mes.Parent = parent
  132. return mes
  133. end
  134. function makeweld(parent, p0, p1, c0, c1)
  135. local wel = Instance.new("Weld")
  136. wel.Part0 = p0
  137. wel.Part1 = p1
  138. wel.C0 = c0
  139. if c1 ~= nil then
  140. wel.C1 = c1
  141. end
  142. wel.Parent = parent
  143. return wel
  144. end
  145. local lauf1 = Instance.new("Sound")
  146. lauf1.SoundId = "rbxassetid://137473066"
  147. lauf1.Volume = 1.5
  148. lauf1.Pitch = 2
  149. lauf1.Parent = hrp
  150. function lerpz(joint, prop, cfrmz, alp)
  151. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  152. end
  153. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  154. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  155. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  156. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  157. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  158. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  159. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  160. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  161. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  162. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  163. function resetlerp()
  164. RJ.C0 = RJC0
  165. RJ.C1 = RJC1
  166. N.C0 = NC0
  167. N.C1 = NC1
  168. RS.C0 = RSC0
  169. RS.C1 = RSC1
  170. LS.C0 = LSC0
  171. LS.C1 = LSC1
  172. RH.C0 = RHC0
  173. RH.C1 = RHC1
  174. LH.C0 = LHC0
  175. LH.C1 = LHC1
  176. end
  177. function test()
  178. if selected == false or activu == true then
  179. return
  180. end
  181. if ragged == false then
  182. ragged = true
  183. human.PlatformStand = true
  184. if rarm and tors:FindFirstChild("Right Shoulder") then
  185. tors:FindFirstChild("Right Shoulder"):Destroy()
  186. makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder")
  187. maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
  188. end
  189. if larm and tors:FindFirstChild("Left Shoulder") then
  190. tors:FindFirstChild("Left Shoulder"):Destroy()
  191. makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder")
  192. maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
  193. end
  194. if rleg and tors:FindFirstChild("Right Hip") then
  195. tors:FindFirstChild("Right Hip"):Destroy()
  196. makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip")
  197. maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
  198. end
  199. if lleg and tors:FindFirstChild("Left Hip") then
  200. tors:FindFirstChild("Left Hip"):Destroy()
  201. makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip")
  202. maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
  203. end
  204. elseif ragged == true then
  205. ragged = false
  206. human.Jump = true
  207. if rarm and tors:FindFirstChild("Right Shoulder") then
  208. tors:FindFirstChild("Right Shoulder"):Destroy()
  209. makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder")
  210. rarm:FindFirstChild("touchy"):Destroy()
  211. end
  212. if larm and tors:FindFirstChild("Left Shoulder") then
  213. tors:FindFirstChild("Left Shoulder"):Destroy()
  214. makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder")
  215. larm:FindFirstChild("touchy"):Destroy()
  216. end
  217. if rleg and tors:FindFirstChild("Right Hip") then
  218. tors:FindFirstChild("Right Hip"):Destroy()
  219. makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip")
  220. rleg:FindFirstChild("touchy"):Destroy()
  221. end
  222. if lleg and tors:FindFirstChild("Left Hip") then
  223. tors:FindFirstChild("Left Hip"):Destroy()
  224. makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip")
  225. lleg:FindFirstChild("touchy"):Destroy()
  226. end
  227. RS = tors:FindFirstChild("Right Shoulder")
  228. LS = tors:FindFirstChild("Left Shoulder")
  229. RH = tors:FindFirstChild("Right Hip")
  230. LH = tors:FindFirstChild("Left Hip")
  231. RJ = hrp:FindFirstChild("RootJoint")
  232. N = tors:FindFirstChild("Neck")
  233. end
  234. end
  235. function makegloo(paren, co, ci, parto, parti, nam)
  236. local gloo = Instance.new("Glue")
  237. gloo.Name = nam
  238. gloo.C0 = co
  239. gloo.C1 = ci
  240. gloo.Part0 = parto
  241. gloo.Part1 = parti
  242. gloo.Parent = paren
  243. end
  244. function makejoint(paren, co, ci, parto, parti, nam)
  245. local gloo = Instance.new("Motor6D")
  246. gloo.Name = nam
  247. gloo.C0 = co
  248. gloo.C1 = ci
  249. gloo.Part0 = parto
  250. gloo.Part1 = parti
  251. gloo.Parent = paren
  252. end
  253. function maketouchy(parent, limb, cframe)
  254. local pr = Instance.new("Part")
  255. pr.Name = "touchy"
  256. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  257. pr.Transparency = 1
  258. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  259. pr.CanCollide = true
  260. pr.Anchored = false
  261. pr.Parent = parent
  262. local w = Instance.new("Weld")
  263. w.Part0 = pr
  264. w.Part1 = limb
  265. w.C0 = cframe
  266. w.Parent = pr
  267. end
  268. local clibat, spec
  269. local dipperhat = chr:FindFirstChild("DXD_DipperHat")
  270. local dipperrot
  271. if dipperhat then
  272. dipperrot = dipperhat.Handle.HatAttachment.Rotation
  273. end
  274. function bat()
  275. if selected == false or activu == true then
  276. return
  277. end
  278. if batting == false then
  279. batting = true
  280. do
  281. local bmod = Instance.new("Model")
  282. bmod.Name = "bmodel"
  283. bmod.Parent = chr
  284. local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  285. local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd)
  286. local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
  287. local pt1 = makepart("Bright yellow", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  288. local p1m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt1)
  289. local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil)
  290. local pt2 = makepart("Bright yellow", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  291. local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
  292. p2m.TextureId = "rbxassetid://250639536"
  293. local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil)
  294. local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  295. local p3m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt3)
  296. local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil)
  297. local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  298. local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
  299. local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil)
  300. local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  301. local p5m = makemesh("Cylinder", Vector3.new(21.5, 6.25, 6.25), nil, pt5)
  302. local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil)
  303. local pt6 = makepart("Bright yellow", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  304. local p6m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt6)
  305. local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil)
  306. local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  307. local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
  308. p7m.TextureId = "rbxassetid://272942750"
  309. local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil)
  310. local swingwoo = Instance.new("Sound")
  311. swingwoo.SoundId = "rbxassetid://10209640"
  312. swingwoo.Pitch = rd2(10, 11) / 10
  313. swingwoo.Name = "sweae"
  314. swingwoo.Volume = 1
  315. swingwoo.Parent = hrp
  316. clibat = tool.Activated:connect(function()
  317. if selected == false or activu == true or ragged == true then
  318. return
  319. end
  320. activu = true
  321. for _ = 1, 5 do
  322. swait()
  323. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  324. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  325. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  326. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  327. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  328. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  329. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  330. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  331. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  332. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  333. end
  334. local bon = Instance.new("Sound")
  335. bon.SoundId = "rbxassetid://135436482"
  336. bon.Pitch = rd2(10, 12) / 10
  337. bon.Volume = 1
  338. bon.Parent = hrp
  339. game.Debris:AddItem(bon, 1)
  340. bon:Play()
  341. swingwoo:Play()
  342. for X = 1, 5 do
  343. swait()
  344. if X > 1 then
  345. hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)))
  346. end
  347. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  348. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  349. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  350. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  351. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  352. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  353. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  354. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  355. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  356. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  357. end
  358. activu = false
  359. end)
  360. spec = mouse.KeyDown:connect(function(keya)
  361. if selected == false or activu == true or ragged == true then
  362. return
  363. end
  364. if keya == "e" then
  365. activu = true
  366. local speed = human.WalkSpeed
  367. human.WalkSpeed = 0
  368. human:SetStateEnabled(3, false)
  369. local function expa()
  370. local sond = Instance.new("Sound")
  371. sond.Volume = 1.25
  372. sond.Pitch = 1
  373. sond.EmitterSize = 15
  374. sond.SoundId = "rbxassetid://315152748"
  375. sond.Parent = pt6
  376. sond:Play()
  377. for _ = 1, 3 do
  378. swait()
  379. hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7)
  380. p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  381. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7)
  382. p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7)
  383. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7)
  384. p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  385. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7)
  386. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7)
  387. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7)
  388. p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7)
  389. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7)
  390. p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7)
  391. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7)
  392. p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7)
  393. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7)
  394. end
  395. for _ = 1, 5 do
  396. swait()
  397. hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7)
  398. p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  399. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7)
  400. p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7)
  401. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7)
  402. p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  403. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7)
  404. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7)
  405. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7)
  406. p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7)
  407. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7)
  408. p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7)
  409. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7)
  410. p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7)
  411. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7)
  412. end
  413. sond.Pitch = 0.75
  414. sond:Play()
  415. for _ = 1, 3 do
  416. swait()
  417. hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7)
  418. p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  419. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7)
  420. p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7)
  421. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7)
  422. p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  423. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7)
  424. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7)
  425. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7)
  426. p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7)
  427. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7)
  428. p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7)
  429. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7)
  430. p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7)
  431. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7)
  432. end
  433. for _ = 1, 5 do
  434. swait()
  435. hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7)
  436. p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  437. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7)
  438. p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7)
  439. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7)
  440. p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  441. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7)
  442. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7)
  443. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7)
  444. p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7)
  445. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7)
  446. p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7)
  447. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7)
  448. p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7)
  449. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7)
  450. end
  451. sond.Pitch = 0.4
  452. sond:Play()
  453. game.Debris:AddItem(sond, 2)
  454. for _ = 1, 3 do
  455. swait()
  456. hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7)
  457. p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  458. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7)
  459. p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7)
  460. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7)
  461. p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  462. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7)
  463. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7)
  464. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7)
  465. p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7)
  466. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7)
  467. p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7)
  468. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7)
  469. p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7)
  470. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7)
  471. end
  472. for _ = 1, 5 do
  473. swait()
  474. hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7)
  475. p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  476. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7)
  477. p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625, 2.625, 2.625), 0.7)
  478. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001, 0.525), 0.7)
  479. p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  480. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7)
  481. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7)
  482. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7)
  483. p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5, 43.75, 43.75), 0.7)
  484. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004, 0), 0.7)
  485. p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5, 45.5, 45.5), 0.7)
  486. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35, 0), 0.7)
  487. p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995, 6.6499999999999995, 6.6499999999999995), 0.7)
  488. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4, 0), 0.7)
  489. end
  490. end
  491. for _ = 1, 9 do
  492. swait()
  493. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  494. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  495. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  496. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  497. lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
  498. if dipperhat then
  499. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
  500. end
  501. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  502. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  503. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  504. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  505. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  506. end
  507. for _ = 1, 9 do
  508. swait()
  509. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  510. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  511. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  512. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  513. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  514. if dipperhat then
  515. dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
  516. end
  517. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  518. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  519. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  520. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  521. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  522. end
  523. for _ = 1, 30 do
  524. swait()
  525. lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2)
  526. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2)
  527. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2)
  528. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  529. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2)
  530. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  531. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2)
  532. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  533. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2)
  534. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  535. end
  536. expa()
  537. for O = 1, 10 do
  538. swait()
  539. lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01)
  540. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01)
  541. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01)
  542. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  543. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01)
  544. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  545. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01)
  546. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  547. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01)
  548. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  549. end
  550. local whoooo = Instance.new("Sound")
  551. whoooo.Volume = 3
  552. whoooo.TimePosition = 0.15
  553. whoooo.Pitch = 0.5
  554. whoooo.SoundId = "rbxassetid://320557353"
  555. whoooo.Parent = pt5
  556. whoooo:Play()
  557. game.Debris:AddItem(whoooo, 2)
  558. for O = 1, 6 do
  559. swait()
  560. hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
  561. lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05)
  562. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05)
  563. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05)
  564. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  565. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05)
  566. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  567. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05)
  568. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  569. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05)
  570. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  571. end
  572. for O = 1, 13 do
  573. swait()
  574. hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075)
  575. p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  576. p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075)
  577. p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075)
  578. p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075)
  579. p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  580. p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075)
  581. p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075)
  582. p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075)
  583. p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075)
  584. p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075)
  585. p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075)
  586. p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075)
  587. p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075)
  588. p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075)
  589. lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075)
  590. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075)
  591. lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075)
  592. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  593. lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075)
  594. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  595. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075)
  596. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  597. lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075)
  598. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  599. end
  600. if dipperhat then
  601. dipperhat.Handle.HatAttachment.Rotation = dipperrot
  602. end
  603. human.WalkSpeed = speed
  604. human:SetStateEnabled(3, true)
  605. activu = false
  606. end
  607. if keya == "q" then
  608. activu = true
  609. do
  610. local checkkey = true
  611. local keyingup = mouse.KeyUp:connect(function(xzx)
  612. if xzx == "q" then
  613. checkkey = false
  614. end
  615. end)
  616. repeat
  617. for _ = 1, 2 do
  618. swait()
  619. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  620. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  621. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  622. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  623. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  624. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  625. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  626. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  627. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  628. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  629. end
  630. swingwoo:Play()
  631. for T = 1, 2 do
  632. swait()
  633. if T == 2 then
  634. hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  635. end
  636. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  637. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  638. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  639. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  640. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  641. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  642. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  643. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  644. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  645. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  646. end
  647. for _ = 1, 2 do
  648. swait()
  649. lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7)
  650. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  651. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7)
  652. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  653. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7)
  654. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  655. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  656. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  657. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7)
  658. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  659. end
  660. swingwoo:Play()
  661. for T = 1, 2 do
  662. swait()
  663. if T == 2 then
  664. hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  665. end
  666. lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7)
  667. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  668. lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7)
  669. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  670. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  671. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  672. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  673. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  674. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7)
  675. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  676. end
  677. until not checkkey
  678. keyingup:Disconnect()
  679. activu = false
  680. end
  681. end
  682. if keya == "f" then
  683. activu = true
  684. do
  685. local speed = human.WalkSpeed
  686. human.WalkSpeed = 2
  687. human:SetStateEnabled(3, false)
  688. local checkkey = true
  689. local chargecounter = 0
  690. local keyingup = mouse.KeyUp:connect(function(xzx)
  691. if xzx == "f" then
  692. checkkey = false
  693. end
  694. end)
  695. local firederp
  696. for _ = 1, 8 do
  697. swait()
  698. hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  699. lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  700. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5)
  701. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5)
  702. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  703. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5)
  704. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  705. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5)
  706. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  707. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5)
  708. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5)
  709. end
  710. repeat
  711. swait()
  712. chargecounter = chargecounter + 1
  713. lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019)
  714. lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019)
  715. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019)
  716. if chargecounter > 30 and firederp == nil then
  717. firederp = Instance.new("Fire")
  718. firederp.Parent = pt5
  719. end
  720. until not checkkey or chargecounter > 50
  721. swingwoo:Play()
  722. for U = 1, 10 do
  723. swait()
  724. if U < 3 then
  725. hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25)))
  726. if chargecounter > 30 then
  727. tagexplode(pt5, 5, 1)
  728. end
  729. end
  730. hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  731. lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
  732. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6)
  733. lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4)
  734. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4)
  735. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4)
  736. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4)
  737. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6)
  738. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  739. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6)
  740. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6)
  741. end
  742. if firederp then
  743. firederp:Destroy()
  744. end
  745. swait(10)
  746. hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0)
  747. keyingup:Disconnect()
  748. human.WalkSpeed = speed
  749. human:SetStateEnabled(3, true)
  750. activu = false
  751. end
  752. end
  753. end)
  754. end
  755. elseif batting == true then
  756. batting = false
  757. clibat:Disconnect()
  758. spec:Disconnect()
  759. hrp.sweae:Destroy()
  760. local batmod = chr:FindFirstChild("bmodel")
  761. batmod.hnd.Weld:Destroy()
  762. batmod.PrimaryPart = batmod.hnd
  763. batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
  764. for _, A in pairs(batmod:GetChildren()) do
  765. if A.ClassName == "Part" then
  766. A.CanCollide = true
  767. A.Anchored = false
  768. end
  769. end
  770. batmod.Parent = workspace
  771. game.Debris:AddItem(batmod, 8)
  772. end
  773. end
  774. local movin = false
  775. local cliham, hamspec
  776. function ham()
  777. if batting == false then
  778. batting = true
  779. do
  780. local bmod = Instance.new("Model")
  781. bmod.Name = "bmodel"
  782. bmod.Parent = chr
  783. local makemotor = function(parent, p0, p1, c0, c1)
  784. local wel = Instance.new("Motor6D")
  785. wel.Part0 = p0
  786. wel.Part1 = p1
  787. wel.C0 = c0
  788. if c1 ~= nil then
  789. wel.C1 = c1
  790. end
  791. wel.Parent = parent
  792. return wel
  793. end
  794. local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  795. hnd.Anchored = true
  796. local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
  797. movin = true
  798. hnd.CFrame = hrp.CFrame
  799. coroutine.resume(coroutine.create(function()
  800. while hnd.Anchored == true do
  801. swait()
  802. if movin then
  803. hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65)
  804. end
  805. end
  806. end))
  807. local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  808. local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
  809. local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil)
  810. local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  811. local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
  812. local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
  813. local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  814. local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
  815. local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil)
  816. local pt4 = makepart("Br. yellowish green", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  817. local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
  818. p4m.TextureId = "rbxassetid://250639536"
  819. local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil)
  820. local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  821. local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
  822. local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil)
  823. local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  824. local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
  825. local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil)
  826. local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  827. local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
  828. local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil)
  829. local hdec1 = Instance.new("Decal")
  830. hdec1.Texture = "rbxasset://textures/face.png"
  831. hdec1.Face = "Front"
  832. hdec1.Parent = pt7
  833. local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  834. local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
  835. local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil)
  836. local hdec2 = Instance.new("Decal")
  837. hdec2.Texture = "rbxasset://textures/face.png"
  838. hdec2.Face = "Front"
  839. hdec2.Parent = pt8
  840. local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  841. local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
  842. local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil)
  843. p9m.TextureId = "rbxassetid://272942750"
  844. local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  845. local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
  846. local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil)
  847. local hdec3 = Instance.new("Decal")
  848. hdec3.Texture = "rbxasset://textures/face.png"
  849. hdec3.Face = "Front"
  850. hdec3.Parent = pt10
  851. local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  852. local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
  853. local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil)
  854. local hdec4 = Instance.new("Decal")
  855. hdec4.Texture = "rbxasset://textures/face.png"
  856. hdec4.Face = "Front"
  857. hdec4.Parent = pt11
  858. local pt12 = makepart("Bright yellow", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  859. local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
  860. local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil)
  861. local hdec5 = Instance.new("Decal")
  862. hdec5.Texture = "rbxasset://textures/face.png"
  863. hdec5.Face = "Front"
  864. hdec5.Parent = pt12
  865. local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  866. local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
  867. local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil)
  868. local hdec6 = Instance.new("Decal")
  869. hdec6.Texture = "rbxasset://textures/face.png"
  870. hdec6.Face = "Front"
  871. hdec6.Parent = pt13
  872. cliham = tool.Activated:connect(function()
  873. if selected == false or activu == true or ragged == true then
  874. return
  875. end
  876. activu = true
  877. movin = false
  878. for B = 1, 20 do
  879. swait()
  880. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4)
  881. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4)
  882. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4)
  883. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  884. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4)
  885. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  886. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4)
  887. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  888. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4)
  889. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  890. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045)
  891. end
  892. for B = 1, 30 do
  893. swait()
  894. lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80)
  895. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80)
  896. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80)
  897. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  898. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80)
  899. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  900. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80)
  901. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  902. lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80)
  903. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  904. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  905. end
  906. for B = 1, 7 do
  907. swait()
  908. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15)
  909. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15)
  910. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15)
  911. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  912. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15)
  913. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  914. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15)
  915. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  916. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15)
  917. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  918. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  919. end
  920. for B = 1, 4 do
  921. swait()
  922. lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1)
  923. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1)
  924. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1)
  925. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  926. lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1)
  927. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  928. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1)
  929. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  930. lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1)
  931. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  932. hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  933. end
  934. swait(15)
  935. movin = true
  936. activu = false
  937. end)
  938. end
  939. elseif batting == true then
  940. batting = false
  941. cliham:Disconnect()
  942. local badevz = chr:FindFirstChild("bmodel")
  943. badevz.PrimaryPart = badevz.hnd
  944. for _, A in pairs(badevz:GetChildren()) do
  945. if A.ClassName == "Part" then
  946. A.CanCollide = true
  947. A.Anchored = false
  948. end
  949. end
  950. movin = false
  951. badevz.Parent = workspace
  952. badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0))
  953. game.Debris:AddItem(badevz, 8)
  954. end
  955. end
  956. game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
  957. function lauf()
  958. if selected == false or activu == true then
  959. return
  960. end
  961. lauf1:Play()
  962. end
  963. function makenoob(cfrem, scalo, rags)
  964. nscale.Value = scalo
  965. local md = Instance.new("Model")
  966. md.Name = "Noob"
  967. md.Parent = workspace
  968. local hu = Instance.new("Humanoid")
  969. hu.RigType = "R6"
  970. hu.MaxHealth = 100 * scalo
  971. hu.Health = 100 * scalo
  972. hu.Parent = md
  973. local anm = Instance.new("Animator")
  974. anm.Parent = hu
  975. hu.PlatformStand = true
  976. local light = function(part)
  977. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  978. end
  979. local hd = Instance.new("Part")
  980. hd.Name = "Head"
  981. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  982. hd.TopSurface = "Smooth"
  983. hd.BottomSurface = "Inlet"
  984. hd.Locked = true
  985. hd.BrickColor = BrickColor.new("Bright yellow")
  986. hd.CanCollide = true
  987. hd.Anchored = false
  988. light(hd)
  989. hd.Parent = md
  990. local hm = Instance.new("SpecialMesh")
  991. hm.MeshType = "Head"
  992. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  993. hm.Parent = hd
  994. local hf = Instance.new("Decal")
  995. hf.Texture = "rbxasset://textures/face.png"
  996. local gen = math.random(1, 40)
  997. if gen == 3 then
  998. hf.Texture = "rbxassetid://260884109"
  999. end
  1000. if gen == 8 then
  1001. hf.Texture = "rbxassetid://260569492"
  1002. end
  1003. if gen == 12 then
  1004. hf.Texture = "rbxassetid://259580505"
  1005. end
  1006. if gen == 16 then
  1007. hf.Texture = "rbxassetid://259579232"
  1008. end
  1009. if gen == 24 then
  1010. hf.Texture = "rbxassetid://259571525"
  1011. end
  1012. if gen == 28 then
  1013. hf.Texture = "rbxassetid://258283210"
  1014. end
  1015. if gen == 32 then
  1016. hf.Texture = "rbxassetid://258940032"
  1017. end
  1018. if gen == 38 then
  1019. hf.Texture = "rbxassetid://673220970"
  1020. hf.Color3 = Color3.new(0, 0, 0)
  1021. end
  1022. hf.Face = "Front"
  1023. hf.Parent = hd
  1024. local hrpa = Instance.new("Part")
  1025. hrpa.Name = "HumanoidRootPart"
  1026. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  1027. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1028. hrpa.Transparency = 1
  1029. hrpa.CanCollide = false
  1030. hrpa.Locked = true
  1031. light(hrpa)
  1032. hrpa.Parent = md
  1033. local tagbomb = Instance.new("BoolValue")
  1034. tagbomb.Name = "tagbomb"
  1035. tagbomb.Value = false
  1036. tagbomb.Parent = hrpa
  1037. local learm = Instance.new("Part")
  1038. learm.Name = "Left Arm"
  1039. learm.BrickColor = BrickColor.new("Bright yellow")
  1040. learm.CanCollide = false
  1041. learm.Locked = true
  1042. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1043. light(learm)
  1044. learm.Parent = md
  1045. local riarm = Instance.new("Part")
  1046. riarm.Name = "Right Arm"
  1047. riarm.BrickColor = BrickColor.new("Bright yellow")
  1048. riarm.CanCollide = false
  1049. riarm.Locked = true
  1050. light(riarm)
  1051. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1052. riarm.Parent = md
  1053. local leleg = Instance.new("Part")
  1054. leleg.Name = "Left Leg"
  1055. leleg.BrickColor = BrickColor.new("Br. yellowish green")
  1056. leleg.CanCollide = false
  1057. leleg.Locked = true
  1058. light(leleg)
  1059. leleg.BottomSurface = 0
  1060. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1061. leleg.Parent = md
  1062. local rileg = Instance.new("Part")
  1063. rileg.Name = "Right Leg"
  1064. rileg.BrickColor = BrickColor.new("Br. yellowish green")
  1065. rileg.CanCollide = false
  1066. rileg.Locked = true
  1067. light(rileg)
  1068. rileg.BottomSurface = 0
  1069. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1070. rileg.Parent = md
  1071. local tor = Instance.new("Part")
  1072. tor.Name = "Torso"
  1073. tor.BrickColor = BrickColor.new("Bright blue")
  1074. tor.Locked = true
  1075. light(tor)
  1076. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1077. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  1078. tor.Parent = md
  1079. md.PrimaryPart = hrpa
  1080. md:SetPrimaryPartCFrame(cfrem)
  1081. md:makeJoints()
  1082. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  1083. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  1084. if rags == true then
  1085. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1086. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1087. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1088. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1089. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1090. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1091. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1092. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1093. elseif rags == false then
  1094. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1095. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1096. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1097. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1098. hu.PlatformStand = false
  1099. end
  1100. nscale.Value = 1
  1101. hu.Touched:connect(function(tpart, uwot)
  1102. if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then
  1103. tagbomb.Value = false
  1104. hu.Health = 0
  1105. local derp = Instance.new("Explosion")
  1106. derp.BlastPressure = 200
  1107. derp.BlastRadius = 8
  1108. derp.DestroyJointRadiusPercent = 0
  1109. derp.ExplosionType = 2
  1110. derp.Visible = true
  1111. derp.Position = uwot.Position - Vector3.new(0, 0.5, 0)
  1112. derp.Parent = workspace
  1113. game.Debris:AddItem(md, 8)
  1114. end
  1115. end)
  1116. return md
  1117. end
  1118. function makecircle(cfrem, scalo)
  1119. local mcir1 = Instance.new("Part")
  1120. mcir1.Anchored = true
  1121. mcir1.CanCollide = false
  1122. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  1123. mcir1.Transparency = 1
  1124. mcir1.CFrame = cfrem
  1125. mcir1.Parent = modz
  1126. game.Debris:AddItem(mcir1, 8)
  1127. local d1 = Instance.new("Decal")
  1128. d1.Texture = "rbxassetid://602615043"
  1129. d1.Face = "Front"
  1130. d1.Parent = mcir1
  1131. local d2 = Instance.new("Decal")
  1132. d2.Texture = "rbxassetid://602617463"
  1133. d2.Face = "Back"
  1134. d2.Parent = mcir1
  1135. local bme = Instance.new("BlockMesh")
  1136. bme.Parent = mcir1
  1137. for _ = 1, 9 do
  1138. swait()
  1139. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  1140. end
  1141. coroutine.resume(coroutine.create(function()
  1142. swait(15)
  1143. for _ = 1, 12 do
  1144. swait()
  1145. d1.Transparency = d1.Transparency + 0.08
  1146. d2.Transparency = d2.Transparency + 0.08
  1147. end
  1148. mcir1:Destroy()
  1149. end))
  1150. return mcir1
  1151. end
  1152. function spawnnoob(circlecf, noobcf, scalez, ragd)
  1153. local aearae = makecircle(circlecf, scalez)
  1154. local nananb
  1155. if ragd then
  1156. nananb = makenoob(aearae.CFrame * noobcf, scalez, true)
  1157. elseif not ragd then
  1158. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  1159. end
  1160. return nananb
  1161. end
  1162. function tagexplode(partoz, magn, bombdelay)
  1163. for _, guy in pairs(workspace:GetChildren()) do
  1164. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
  1165. coroutine.resume(coroutine.create(function()
  1166. swait(bombdelay * 30)
  1167. guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
  1168. end))
  1169. end
  1170. end
  1171. end
  1172. function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  1173. for _, guy in pairs(workspace:GetChildren()) do
  1174. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1175. do
  1176. local humz = guy:FindFirstChild("Humanoid")
  1177. local horp = guy:FindFirstChild("HumanoidRootPart")
  1178. humz:TakeDamage(dmg)
  1179. humz:SetStateEnabled(16, true)
  1180. delay(debtim, function()
  1181. humz:SetStateEnabled(16, true)
  1182. end)
  1183. local db = Instance.new("StringValue")
  1184. db.Name = "alabo"
  1185. db.Parent = horp
  1186. delay(debtim, function()
  1187. db:Destroy()
  1188. end)
  1189. local b = Instance.new("Part")
  1190. nooutline(b)
  1191. b.Size = Vector3.new(0.2, 0.2, 0.2)
  1192. b.Transparency = 0.25
  1193. b.Anchored = true
  1194. b.CanCollide = false
  1195. b.BrickColor = BrickColor.new("Institutional white")
  1196. b.Locked = true
  1197. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  1198. b.Parent = modz
  1199. local c = Instance.new("SpecialMesh")
  1200. c.MeshType = "Sphere"
  1201. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1202. c.Parent = b
  1203. game.Debris:AddItem(b, 1)
  1204. if bodyfdire then
  1205. local boopyve = Instance.new("BodyVelocity")
  1206. boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  1207. boopyve.P = 9999999999
  1208. boopyve.Velocity = bodyfdire
  1209. boopyve.Parent = horp
  1210. game.Debris:AddItem(boopyve, debtim)
  1211. end
  1212. if bodyrot then
  1213. local boopyro = Instance.new("BodyAngularVelocity")
  1214. boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  1215. boopyro.P = math.huge
  1216. boopyro.AngularVelocity = bodyrot
  1217. boopyro.Parent = horp
  1218. game.Debris:AddItem(boopyro, debtim)
  1219. end
  1220. local bet = Instance.new("Sound")
  1221. bet.Pitch = rd2(9, 11) / 10
  1222. bet.Volume = rd2(12, 14) / 10
  1223. bet.SoundId = "rbxassetid://305526724"
  1224. bet.Parent = b
  1225. bet:Play()
  1226. coroutine.resume(coroutine.create(function()
  1227. for _ = 1, 5 do
  1228. swait()
  1229. b.Transparency = b.Transparency + 0.175
  1230. c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  1231. end
  1232. end))
  1233. end
  1234. end
  1235. end
  1236. end
  1237. function cleannoobs()
  1238. for _, nib in pairs(workspace:GetChildren()) do
  1239. coroutine.resume(coroutine.create(function()
  1240. if nib.Name == "Noob" then
  1241. if nib:FindFirstChild("HumanoidRootPart") then
  1242. local g = Instance.new("Part")
  1243. g.CanCollide, g.Anchored = false, true
  1244. g.Transparency = 1
  1245. g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
  1246. g.Parent = workspace
  1247. game.Debris:AddItem(g, 3.5)
  1248. local sou = Instance.new("Sound")
  1249. sou.Pitch = math.random(7, 11) / 10
  1250. sou.Volume = 0.8
  1251. sou.SoundId = "rbxassetid://111124523"
  1252. sou.Parent = g
  1253. local pe = Instance.new("ParticleEmitter")
  1254. pe.Acceleration = Vector3.new(0, 8, 0)
  1255. pe.Lifetime = NumberRange.new(1, 1.5)
  1256. pe.Rate = 0.005
  1257. pe.RotSpeed = NumberRange.new(-30, 30)
  1258. pe.Rotation = NumberRange.new(0, 360)
  1259. pe.Size = NumberSequence.new({
  1260. NumberSequenceKeypoint.new(0, 4.38, 0),
  1261. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1262. NumberSequenceKeypoint.new(1, 1.48, 0)
  1263. })
  1264. pe.Texture = "rbxassetid://244221440"
  1265. pe.Transparency = NumberSequence.new({
  1266. NumberSequenceKeypoint.new(0, 0, 0),
  1267. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1268. NumberSequenceKeypoint.new(1, 1, 1)
  1269. })
  1270. pe.ZOffset = 5
  1271. pe.Enabled = true
  1272. pe.VelocitySpread = 360
  1273. pe.Parent = g
  1274. swait(5)
  1275. pe:Emit(6)
  1276. sou:Play()
  1277. end
  1278. nib:Destroy()
  1279. end
  1280. end))
  1281. end
  1282. end
  1283. function animo(yep)
  1284. if yep == true then
  1285. anim.Parent = human
  1286. chr.Animate.Disabled = false
  1287. elseif yep == false then
  1288. chr.Animate.Disabled = true
  1289. anim.Parent = nil
  1290. end
  1291. end
  1292. mouse.KeyDown:connect(function(key)
  1293. if key == "r" then
  1294. test()
  1295. end
  1296. if key == "m" then
  1297. lauf()
  1298. end
  1299. if key == "c" and plr.UserId == 8488617 then
  1300. ham()
  1301. end
  1302. if key == "x" then
  1303. bat()
  1304. end
  1305. if key == "l" and plr.UserId == 8488617 and selected == true then
  1306. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true)
  1307. end
  1308. if key == ";" and plr.UserId == 8488617 and selected == true then
  1309. spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true)
  1310. end
  1311. if key == "k" and plr.UserId == 8488617 and selected == true then
  1312. spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
  1313. end
  1314. if key == "p" then
  1315. cleannoobs()
  1316. end
  1317. if key == "z" then
  1318. if selected == false or activu == true then
  1319. return
  1320. end
  1321. if human.WalkSpeed == 25 then
  1322. human.WalkSpeed = 70
  1323. human.JumpPower = 75
  1324. else
  1325. human.WalkSpeed = 25
  1326. human.JumpPower = 50
  1327. end
  1328. end
  1329. end)
  1330. tool.Equipped:connect(function()
  1331. selected = true
  1332. end)
  1333. tool.Unequipped:connect(function()
  1334. selected = false
  1335. end)
  1336. animo(false)
  1337. human.WalkSpeed = 25
  1338. sine = 0
  1339. charge = 1
  1340. cos = math.cos
  1341. game:GetService("RunService").RenderStepped:connect(function()
  1342. if ragged == false and activu == false then
  1343. local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
  1344. local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
  1345. local checkstate = human:GetState()
  1346. if checkstate.Value == 13 then
  1347. animpose = "Sitting"
  1348. elseif hrp.Velocity.y > 1 and checkpart == nil then
  1349. animpose = "Jumping"
  1350. elseif hrp.Velocity.y < -1 and checkpart == nil then
  1351. animpose = "Falling"
  1352. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1353. animpose = "Idle"
  1354. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then
  1355. animpose = "Walking"
  1356. elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then
  1357. animpose = "TooFast"
  1358. end
  1359. if animpose == "Idle" then
  1360. sine = sine + charge
  1361. lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1362. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3)
  1363. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1364. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1365. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1366. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1367. lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3)
  1368. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1369. lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3)
  1370. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1371. end
  1372. if animpose == "Walking" then
  1373. sine = sine + charge
  1374. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3)
  1375. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3)
  1376. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1377. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1378. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1379. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1380. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1381. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1382. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1383. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1384. end
  1385. if animpose == "Jumping" then
  1386. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3)
  1387. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
  1388. lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3)
  1389. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1390. lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3)
  1391. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1392. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3)
  1393. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1394. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3)
  1395. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1396. end
  1397. if animpose == "Falling" then
  1398. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1399. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1400. lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3)
  1401. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1402. lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3)
  1403. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1404. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3)
  1405. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1406. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3)
  1407. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1408. end
  1409. if animpose == "TooFast" then
  1410. sine = sine + charge
  1411. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3)
  1412. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3)
  1413. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1414. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1415. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1416. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1417. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1418. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1419. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1420. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1421. end
  1422. if animpose == "Sitting" then
  1423. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1424. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1425. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1426. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1427. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1428. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1429. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1430. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1431. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1432. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1433. end
  1434. end
  1435. end)
Add Comment
Please, Sign In to add comment