Advertisement
jmgraven

Noob Bat fixed

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