Advertisement
Guest User

Untitled

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