Advertisement
wormybag9035

works?

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