Advertisement
drowning-meme

Untitled

Jun 3rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.14 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local chr = plr.Character
  3. local maus = plr:GetMouse()
  4. local PGui = plr.PlayerGui
  5. local lleg = chr["Left Leg"]
  6. local rleg = chr["Right Leg"]
  7. local larm = chr["Left Arm"]
  8. local rarm = chr["Right Arm"]
  9. local hed = chr.Head
  10. local rutprt = chr.HumanoidRootPart
  11. local torso = chr.Torso
  12. local otheranims = false
  13. local armmovement = false
  14. local equipped = false
  15. if chr:findFirstChild("Animate") then
  16. chr.Animate.Disabled = true
  17. end
  18. local RunSpeed = 26
  19. local WlkSpeed = 16
  20. local CrawlSpeed = 8
  21. local runnin = false
  22. local disabled = false
  23. local sitting = false
  24. local tik = 0
  25. local slidehitdb = false
  26. local fldb = {
  27. w = false,
  28. a = false,
  29. s = false,
  30. d = false
  31. }
  32. local reganims = {
  33. "Idling",
  34. "Walking",
  35. "Sprinting",
  36. "Crawling",
  37. "SpeedCrawling",
  38. "PreCrawl",
  39. "CrawlJump",
  40. "CrawlFall",
  41. "PreSuperJump",
  42. "SuperJump",
  43. "Sliding",
  44. "Jumping",
  45. "Falling",
  46. "Crouching"
  47. }
  48. local Meows = {
  49. "60871617",
  50. "151742282",
  51. "138093919",
  52. "169836751",
  53. "439998659",
  54. "593617525",
  55. "748861274",
  56. "361967959",
  57. "130808361"
  58. }
  59. local leftnekoface = "260195370"
  60. local rightnekoface = "260196558"
  61. local swing = "Right"
  62. local armanim = ""
  63. local hitdb = false
  64. local nskn = NumberSequenceKeypoint.new
  65. local RightNekoColor = BrickColor.new("Really black")
  66. local LeftNekoColor = BrickColor.new("Institutional white")
  67. local BeltColor = BrickColor.new("Really black")
  68. local nfc1 = BrickColor.new("Pink").Color
  69. local NekoFabricColor = BrickColor.new(Color3.new(nfc1.r - 0.1, nfc1.g - 0.1, nfc1.b - 0.1))
  70. local ltouched = false
  71. local rtouched = false
  72. local launched = false
  73. local newobj = Instance.new
  74. local tasercharge = 100
  75. local BaseDamage = 12
  76. local DamageMult = 1
  77. local taser = false
  78. chr.Humanoid.MaxHealth = 85
  79. for i, x in pairs(hed:GetChildren()) do
  80. if x:IsA("Sound") then
  81. x:Destroy()
  82. end
  83. end
  84. function Lerp(a, b, i)
  85. local com1 = {
  86. a.X,
  87. a.Y,
  88. a.Z,
  89. a:toEulerAnglesXYZ()
  90. }
  91. local com2 = {
  92. b.X,
  93. b.Y,
  94. b.Z,
  95. b:toEulerAnglesXYZ()
  96. }
  97. local calx = com1[1] + (com2[1] - com1[1]) * i
  98. local caly = com1[2] + (com2[2] - com1[2]) * i
  99. local calz = com1[3] + (com2[3] - com1[3]) * i
  100. local cala = com1[4] + (com2[4] - com1[4]) * i
  101. local calb = com1[5] + (com2[5] - com1[5]) * i
  102. local calc = com1[6] + (com2[6] - com1[6]) * i
  103. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  104. end
  105. function TwnSingleNumber(s, f, m)
  106. local wot = s + (f - s) * m
  107. return wot
  108. end
  109. function TwnVector3(q, w, e)
  110. local begin = {
  111. q.x,
  112. q.y,
  113. q.z
  114. }
  115. local ending = {
  116. w.x,
  117. w.y,
  118. w.z
  119. }
  120. local bgx = begin[1] + (ending[1] - begin[1]) * e
  121. local bgy = begin[2] + (ending[2] - begin[2]) * e
  122. local bgz = begin[3] + (ending[3] - begin[3]) * e
  123. return Vector3.new(bgx, bgy, bgz)
  124. end
  125. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  126. local wld = newobj("Weld", wp1)
  127. wld.Part0 = wp0
  128. wld.Part1 = wp1
  129. wld.C1 = CFrame.new(wc0x, wc0y, wc0z)
  130. return wld
  131. end
  132. function Avg(a, b)
  133. return CFrame.new((a.X + b.X) / 2, (a.Y + b.Y) / 2, (a.Z + b.Z) / 2)
  134. end
  135. function nPart(parent, name, shape, formfactor, material, anch, collide, trans, refl, sf, color, size, cfr)
  136. local p = newobj("Part")
  137. p.Name = name
  138. p.Shape = shape
  139. p.FormFactor = formfactor
  140. p.Material = material
  141. p.Anchored = anch
  142. p.CanCollide = collide
  143. p.Transparency = trans
  144. p.Reflectance = refl
  145. p.TopSurface = sf
  146. p.BottomSurface = sf
  147. p.LeftSurface = sf
  148. p.RightSurface = sf
  149. p.FrontSurface = sf
  150. p.BackSurface = sf
  151. p.BrickColor = color
  152. p.Size = size
  153. p.CFrame = cfr
  154. p:breakJoints("")
  155. p.Parent = parent
  156. return p
  157. end
  158. function TakeDamage(h,d)
  159. h:TakeDamage(d)
  160. end
  161. local larmweld = newWeld(torso, larm, 0, 0, 0)
  162. local rarmweld = newWeld(torso, rarm, 0, 0, 0)
  163. local llegweld = newWeld(torso, lleg, 0, 0, 0)
  164. local rlegweld = newWeld(torso, rleg, 0, 0, 0)
  165. local headweld = newWeld(torso, hed, 0, 0, 0)
  166. local rutwald = newobj("Weld", rutprt)
  167. rutwald.Part0 = rutprt
  168. rutwald.Part1 = torso
  169. rutwald.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0)
  170. larmweld.C1 = CFrame.new(0, 0.5, 0)
  171. rarmweld.C1 = CFrame.new(0, 0.5, 0)
  172. rlegweld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0)
  173. llegweld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), 0, 0)
  174. function GetTorso(target)
  175. if target:findFirstChild("Torso") then
  176. return target.Torso
  177. elseif target:findFirstChild("UpperTorso") then
  178. return target.UpperTorso
  179. end
  180. end
  181. local alldecals = {
  182. "387418012",
  183. "339886198",
  184. "486961931",
  185. "339302474",
  186. "339302316",
  187. "339303212",
  188. "339302607",
  189. "339302826",
  190. "339303065",
  191. "339303400",
  192. "150037981",
  193. "167241003",
  194. "235558077",
  195. "265452635",
  196. "260161937",
  197. "242814125",
  198. "230417107",
  199. "252230874",
  200. "231949998",
  201. "229222676",
  202. "181607551",
  203. "231953209",
  204. "123431503",
  205. "184905165",
  206. "172755711",
  207. "161494218",
  208. "292791711",
  209. "205912841",
  210. "68953525",
  211. "180163702",
  212. "123385234",
  213. "138847283",
  214. "159127645",
  215. "172511645",
  216. "210175195",
  217. "206539362",
  218. "192486406",
  219. "96613287",
  220. "131764585",
  221. "168427244",
  222. "128595009",
  223. "96687581",
  224. "171590601",
  225. "172329151",
  226. "72116648",
  227. "221557708",
  228. "214883980"
  229. }
  230. local anim = "Idling"
  231. local lastanim = "Idling"
  232. local val = 0
  233. local syne = 0
  234. local num = 0
  235. local runtime = 0
  236. local NekoNekoKnuckles = newobj("Model", chr)
  237. NekoNekoKnuckles.Name = "Neko Neko Knuckles"
  238. local RightNeko = newobj("Model", NekoNekoKnuckles)
  239. RightNeko.Name = "Right Neko"
  240. local LeftNeko = newobj("Model", NekoNekoKnuckles)
  241. LeftNeko.Name = "Left Neko"
  242. local tasersoundid = "758554256"
  243. local Belt = Instance.new("Model", NekoNekoKnuckles)
  244. Belt.Name = "Belt"
  245. local bel1 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BeltColor, Vector3.new(2.01, 0.2, 1.01), CFrame.new(0, 0, 0))
  246. local bel1w = newobj("Weld", bel1)
  247. bel1w.Part0 = bel1
  248. bel1w.Part1 = torso
  249. bel1w.C0 = CFrame.new(0, 0.85, 0)
  250. local bel2 = nPart(Belt, "BeltR", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.4, 0.6, 0.8), CFrame.new(0, 0, 0))
  251. local bel2w = newobj("Weld", bel2)
  252. bel2w.Part0 = bel2
  253. bel2w.Part1 = bel1
  254. bel2w.C0 = CFrame.new(-1.1, 0.25, 0) * CFrame.Angles(0, 0, math.rad(-5))
  255. local bel3 = nPart(Belt, "BeltL", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.4, 0.6, 0.8), CFrame.new(0, 0, 0))
  256. local bel3w = newobj("Weld", bel3)
  257. bel3w.Part0 = bel3
  258. bel3w.Part1 = bel1
  259. bel3w.C0 = CFrame.new(1.1, 0.25, 0) * CFrame.Angles(0, 0, math.rad(5))
  260. local bel4 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  261. local bel4w = newobj("Weld", bel4)
  262. bel4w.Part0 = bel4
  263. bel4w.Part1 = bel2
  264. bel4w.C0 = CFrame.new(0, 0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  265. local bel4m = newobj("CylinderMesh", bel4)
  266. local taserattright1 = newobj("Attachment", bel4)
  267. local bel6 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  268. local bel6w = newobj("Weld", bel6)
  269. bel6w.Part0 = bel6
  270. bel6w.Part1 = bel2
  271. bel6w.C0 = CFrame.new(0, -0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  272. local bel6m = newobj("CylinderMesh", bel6)
  273. local taserattright3 = newobj("Attachment", bel6)
  274. taserattright3.Position = Vector3.new(0, 0, 0)
  275. local bel5 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  276. local bel5w = newobj("Weld", bel5)
  277. bel5w.Part0 = bel5
  278. bel5w.Part1 = bel3
  279. bel5w.C0 = CFrame.new(0, 0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  280. local bel5m = newobj("CylinderMesh", bel5)
  281. local taserattleft1 = newobj("Attachment", bel5)
  282. taserattleft1.Position = Vector3.new(0, 0, 0)
  283. local bel7 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  284. local bel7w = newobj("Weld", bel7)
  285. bel7w.Part0 = bel7
  286. bel7w.Part1 = bel3
  287. bel7w.C0 = CFrame.new(0, -0.39, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  288. local bel7m = newobj("CylinderMesh", bel7)
  289. local taserattleft3 = newobj("Attachment", bel7)
  290. taserattleft3.Position = Vector3.new(0, 0, 0)
  291. local bel8 = nPart(Belt, "Battery", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Dark stone grey"), Vector3.new(1.4, 0.6, 0.3), CFrame.new(0, 0, 0))
  292. local bel8w = newobj("Weld", bel8)
  293. bel8w.Part0 = bel8
  294. bel8w.Part1 = bel1
  295. bel8w.C0 = CFrame.new(0, 0.1, -0.6) * CFrame.Angles(math.rad(5), 0, 0)
  296. local bel9 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  297. local bel9w = newobj("Weld", bel9)
  298. bel9w.Part0 = bel9
  299. bel9w.Part1 = bel8
  300. bel9w.C0 = CFrame.new(-0.15, 0.69, 0) * CFrame.Angles(0, 0, math.rad(90))
  301. local bel9m = newobj("CylinderMesh", bel9)
  302. local taserattleft4 = newobj("Attachment", bel9)
  303. taserattleft4.Position = Vector3.new(0, 0, 0)
  304. local bel10 = nPart(Belt, "Belt", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.1, 0.05, 0.1), CFrame.new(0, 0, 0))
  305. local bel10w = newobj("Weld", bel10)
  306. bel10w.Part0 = bel10
  307. bel10w.Part1 = bel8
  308. bel10w.C0 = CFrame.new(-0.15, -0.69, 0) * CFrame.Angles(0, 0, math.rad(90))
  309. local bel7m = newobj("CylinderMesh", bel10)
  310. local taserattright4 = newobj("Attachment", bel10)
  311. taserattright4.Position = Vector3.new(0, 0, 0)
  312. local cable1 = newobj("RopeConstraint", bel8)
  313. cable1.Attachment0 = taserattright1
  314. cable1.Attachment1 = taserattright4
  315. cable1.Thickness = 0.02
  316. cable1.Enabled = true
  317. cable1.Visible = true
  318. cable1.Length = 1.2
  319. cable1.Color = BrickColor.new("Really black")
  320. local cable2 = newobj("RopeConstraint", bel8)
  321. cable2.Attachment0 = taserattleft1
  322. cable2.Attachment1 = taserattleft4
  323. cable2.Thickness = 0.02
  324. cable2.Enabled = true
  325. cable2.Visible = true
  326. cable2.Length = 1.2
  327. cable2.Color = BrickColor.new("Really black")
  328. local bel11 = nPart(Belt, "Battery", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Really red"), Vector3.new(1.3, 0.1, 0.1), CFrame.new(0, 0, 0))
  329. local bel11w = newobj("Weld", bel11)
  330. bel11w.Part0 = bel11
  331. bel11w.Part1 = bel8
  332. bel11w.C0 = CFrame.new(0, 0.2, -0.11)
  333. local gu = Instance.new("SurfaceGui", bel8)
  334. gu.Name = "BatteryIndicator"
  335. gu.Adornee = bel11
  336. gu.Face = "Back"
  337. gu.CanvasSize = Vector2.new(3000, 1000)
  338. local tb = Instance.new("TextLabel", gu)
  339. tb.Name = "Battery"
  340. tb.Size = UDim2.new(1, 0, 1, 0)
  341. tb.Position = UDim2.new(0, 0, 0, 0)
  342. tb.TextTransparency = 1
  343. tb.BackgroundTransparency = 0
  344. tb.BorderSizePixel = 0
  345. tb.TextStrokeTransparency = 1
  346. tb.Text = ""
  347. tb.Rotation = 0
  348. tb.BackgroundColor3 = Color3.new(0, 0.5, 0.1)
  349. local rn1 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, NekoFabricColor, Vector3.new(1.01, 1.3, 1.01), CFrame.new(0, 0, 0))
  350. local rn1w = newobj("Weld", rn1)
  351. rn1w.Part0 = rn1
  352. rn1w.Part1 = rarm
  353. rn1w.C0 = CFrame.new(0, 0.4, 0)
  354. local rn2 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.05, 0.3, 1.05), CFrame.new(0, 0, 0))
  355. local rn2w = newobj("Weld", rn2)
  356. rn2w.Part0 = rn2
  357. rn2w.Part1 = rn1
  358. rn2w.C0 = CFrame.new(0, -0.6, 0)
  359. local rn5 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.5, 0.3, 0.2), CFrame.new(0, 0, 0))
  360. local rn5w = newobj("Weld", rn5)
  361. rn5w.Part0 = rn5
  362. rn5w.Part1 = rn1
  363. rn5w.C0 = CFrame.new(0, -0.3, 0.415)
  364. local rn6 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.05, 0.3, 0.4), CFrame.new(0, 0, 0))
  365. local rn6w = newobj("Weld", rn6)
  366. rn6w.Part0 = rn6
  367. rn6w.Part1 = rn1
  368. rn6w.C0 = CFrame.new(0, -0.3, 0)
  369. local rn7 = nPart(RightNeko, "RightHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(0.5, 1.05, 0.5), CFrame.new(0, 0, 0))
  370. local rn7w = newobj("Weld", rn7)
  371. rn7w.Part0 = rn7
  372. rn7w.Part1 = rn1
  373. rn7w.C0 = CFrame.new(0.2, 0, 0) * CFrame.Angles(0, 0, math.rad(90))
  374. local rn7m = newobj("CylinderMesh", rn7)
  375. local rnbell = nPart(RightNeko, "RightBell", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.25, 0.25, 0.15), CFrame.new(0, 0, 0))
  376. local rnbellw = newobj("Weld", rnbell)
  377. rnbellw.Part0 = rnbell
  378. rnbellw.Part1 = rn1
  379. rnbellw.C0 = CFrame.new(0, -0.15, 0.5)
  380. local rnbellm = newobj("SpecialMesh", rnbell)
  381. rnbellm.MeshType = "Sphere"
  382. local rnbellp2 = nPart(RightNeko, "RightBellSetting", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.28, 0.05, 0.28), CFrame.new(0, 0, 0))
  383. local rnbellw2 = newobj("Weld", rnbellp2)
  384. rnbellw2.Part0 = rnbellp2
  385. rnbellw2.Part1 = rn1
  386. rnbellw2.C0 = CFrame.new(0, -0.5, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  387. local rnbellm2 = newobj("CylinderMesh", rnbellp2)
  388. local rnbellp3 = nPart(RightNeko, "RightBellTop", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.05, 0.13, 0.1), CFrame.new(0, 0, 0))
  389. local rnbellw3 = newobj("Weld", rnbellp3)
  390. rnbellw3.Part0 = rnbellp3
  391. rnbellw3.Part1 = rn1
  392. rnbellw3.C0 = CFrame.new(0, -0.15, 0.53)
  393. local rnbf = newobj("PointLight", rnbell)
  394. rnbf.Shadows = true
  395. rnbf.Range = 10
  396. rnbf.Brightness = 3
  397. rnbf.Enabled = false
  398. local rnding = newobj("Sound", rnbell)
  399. rnding.SoundId = "http://www.roblox.com/asset?id=138134386"
  400. rnding.Volume = 0.2
  401. local rn3 = nPart(RightNeko, "RightHead", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.45, 1.4, 1.45), CFrame.new(0, 0, 0))
  402. local rn3w = newobj("Weld", rn3)
  403. local taserattright2 = newobj("Attachment", rn3)
  404. taserattright2.Position = Vector3.new(0, 0.3, 0.45)
  405. local tasercon = newobj("RopeConstraint", rn3)
  406. tasercon.Attachment0 = taserattright1
  407. tasercon.Attachment1 = taserattright3
  408. tasercon.Thickness = 0.02
  409. tasercon.Enabled = true
  410. tasercon.Visible = true
  411. tasercon.Length = 3.4
  412. tasercon.Color = RightNekoColor
  413. rn3w.Part0 = rn3
  414. rn3w.Part1 = rn1
  415. rn3w.C0 = CFrame.new(0, 0.55, 0)
  416. local rn3m = newobj("SpecialMesh", rn3)
  417. rn3m.MeshType = "Sphere"
  418. local rnfang1 = nPart(RightNeko, "RightFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
  419. local rnfang1w = newobj("Weld", rnfang1)
  420. rnfang1w.Part0 = rnfang1
  421. rnfang1w.Part1 = rn3
  422. rnfang1w.C0 = CFrame.new(0.1, -0.36, -0.56) * CFrame.Angles(math.rad(-110), 0, 0)
  423. local rnfang1m = newobj("SpecialMesh", rnfang1)
  424. rnfang1m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  425. rnfang1m.Scale = Vector3.new(0.03, 0.12, 0.03)
  426. local rnfang2 = nPart(RightNeko, "RightFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
  427. local rnfang2w = newobj("Weld", rnfang2)
  428. rnfang2w.Part0 = rnfang2
  429. rnfang2w.Part1 = rn3
  430. rnfang2w.C0 = CFrame.new(-0.1, -0.36, -0.56) * CFrame.Angles(math.rad(-110), 0, 0)
  431. local rnfang2m = newobj("SpecialMesh", rnfang2)
  432. rnfang2m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  433. rnfang2m.Scale = Vector3.new(0.03, 0.12, 0.03)
  434. local rnface = newobj("Decal", rn3)
  435. rnface.Texture = "http://www.roblox.com/asset?id=" .. rightnekoface
  436. rnface.Face = "Bottom"
  437. local rnpunch = newobj("Sound", rn3)
  438. rnpunch.SoundId = "http://www.roblox.com/asset?id=146163534"
  439. rnpunch.Volume = 0.3
  440. local ratt1 = newobj("Attachment", rn3)
  441. ratt1.Position = Vector3.new(0.35, -0.5, 0)
  442. local ratt2 = newobj("Attachment", rn3)
  443. ratt2.Position = Vector3.new(-0.35, -0.5, 0)
  444. local rartrail = newobj("Trail", rn3)
  445. rartrail.Attachment0 = ratt1
  446. rartrail.Attachment1 = ratt2
  447. rartrail.Transparency = NumberSequence.new({
  448. nskn(0, 0.66, 0),
  449. nskn(1, 1, 0)
  450. })
  451. rartrail.Lifetime = 0.123
  452. local ratt3 = newobj("Attachment", rn3)
  453. ratt3.Position = Vector3.new(0, 0, 0)
  454. local ratt4 = newobj("Attachment", rn1)
  455. ratt4.Position = Vector3.new(0, -0.4, 0)
  456. local rspring = newobj("SpringConstraint", rn1)
  457. rspring.Attachment0 = ratt3
  458. rspring.Attachment1 = ratt4
  459. rspring.Coils = 8
  460. rspring.Visible = true
  461. rspring.LimitsEnabled = true
  462. rspring.Enabled = true
  463. rspring.MaxLength = 80
  464. rspring.Color = rn3.BrickColor
  465. rspring.Thickness = 0.2
  466. rspring.FreeLength = 4
  467. rspring.Stiffness = 30
  468. rspring.Radius = 0.5
  469. rspring.Damping = 0
  470. local rn4 = nPart(RightNeko, "RightEars", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, RightNekoColor, Vector3.new(1.575, 0.2, 1.575), CFrame.new(0, 0, 0))
  471. local rn4w = newobj("Weld", rn4)
  472. rn4w.Part0 = rn4
  473. rn4w.Part1 = rn3
  474. rn4w.C0 = CFrame.new(-0.04, -0.6, 0.15) * CFrame.Angles(math.rad(90), 0, 0)
  475. local rn4m = newobj("SpecialMesh", rn4)
  476. rn4m.Scale = Vector3.new(1, 0.7, 1)
  477. rn4m.MeshId = "http://www.roblox.com/asset?id=1374148"
  478. rn4m.TextureId = "http://www.roblox.com/asset?id=14817175"
  479. local ln1 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, NekoFabricColor, Vector3.new(1.01, 1.3, 1.01), CFrame.new(0, 0, 0))
  480. local ln1w = newobj("Weld", ln1)
  481. ln1w.Part0 = ln1
  482. ln1w.Part1 = larm
  483. ln1w.C0 = CFrame.new(0, 0.4, 0)
  484. local ln2 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.05, 0.3, 1.05), CFrame.new(0, 0, 0))
  485. local ln2w = newobj("Weld", ln2)
  486. ln2w.Part0 = ln2
  487. ln2w.Part1 = ln1
  488. ln2w.C0 = CFrame.new(0, -0.6, 0)
  489. local ln5 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.5, 0.3, 0.2), CFrame.new(0, 0, 0))
  490. local ln5w = newobj("Weld", ln5)
  491. ln5w.Part0 = ln5
  492. ln5w.Part1 = ln1
  493. ln5w.C0 = CFrame.new(0, -0.3, 0.415)
  494. local ln6 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.05, 0.3, 0.4), CFrame.new(0, 0, 0))
  495. local ln6w = newobj("Weld", ln6)
  496. ln6w.Part0 = ln6
  497. ln6w.Part1 = ln1
  498. ln6w.C0 = CFrame.new(0, -0.3, 0)
  499. local ln7 = nPart(LeftNeko, "LeftHandle", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(0.5, 1.05, 0.5), CFrame.new(0, 0, 0))
  500. local ln7w = newobj("Weld", ln7)
  501. ln7w.Part0 = ln7
  502. ln7w.Part1 = ln1
  503. ln7w.C0 = CFrame.new(0.2, 0, 0) * CFrame.Angles(0, 0, math.rad(90))
  504. local ln7m = newobj("CylinderMesh", ln7)
  505. local lnbell = nPart(LeftNeko, "LeftBell", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.25, 0.25, 0.15), CFrame.new(0, 0, 0))
  506. local lnbellw = newobj("Weld", lnbell)
  507. lnbellw.Part0 = lnbell
  508. lnbellw.Part1 = ln1
  509. lnbellw.C0 = CFrame.new(0, -0.15, 0.5)
  510. local lnbellm = newobj("SpecialMesh", lnbell)
  511. lnbellm.MeshType = "Sphere"
  512. local lnbellp2 = nPart(LeftNeko, "LeftBellSetting", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.28, 0.05, 0.28), CFrame.new(0, 0, 0))
  513. local lnbellw2 = newobj("Weld", lnbellp2)
  514. lnbellw2.Part0 = lnbellp2
  515. lnbellw2.Part1 = ln1
  516. lnbellw2.C0 = CFrame.new(0, -0.5, -0.15) * CFrame.Angles(math.rad(90), 0, 0)
  517. local lnbellm2 = newobj("CylinderMesh", lnbellp2)
  518. local lnbellp3 = nPart(LeftNeko, "LeftBellTop", 1, 3, "SmoothPlastic", false, false, 0, 0.4, 10, BrickColor.new("New Yeller"), Vector3.new(0.05, 0.13, 0.1), CFrame.new(0, 0, 0))
  519. local lnbellw3 = newobj("Weld", lnbellp3)
  520. lnbellw3.Part0 = lnbellp3
  521. lnbellw3.Part1 = ln1
  522. lnbellw3.C0 = CFrame.new(0, -0.15, 0.53)
  523. local lnbf = newobj("PointLight", lnbell)
  524. lnbf.Shadows = true
  525. lnbf.Range = 10
  526. lnbf.Brightness = 3
  527. lnbf.Enabled = false
  528. local lnding = newobj("Sound", lnbell)
  529. lnding.SoundId = "http://www.roblox.com/asset?id=138134386"
  530. lnding.Volume = 0.2
  531. local ln3 = nPart(LeftNeko, "LeftHead", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.45, 1.4, 1.45), CFrame.new(0, 0, 0))
  532. local ln3w = newobj("Weld", ln3)
  533. local taserattleft2 = newobj("Attachment", ln3)
  534. taserattleft2.Position = Vector3.new(0, 0.3, 0.45)
  535. local tasercon2 = newobj("RopeConstraint", ln3)
  536. tasercon2.Attachment0 = taserattleft1
  537. tasercon2.Attachment1 = taserattleft3
  538. tasercon2.Thickness = 0.02
  539. tasercon2.Enabled = true
  540. tasercon2.Visible = true
  541. tasercon2.Length = 3.4
  542. tasercon2.Color = LeftNekoColor
  543. ln3w.Part0 = ln3
  544. ln3w.Part1 = ln1
  545. ln3w.C0 = CFrame.new(0, 0.55, 0)
  546. local ln3m = newobj("SpecialMesh", ln3)
  547. ln3m.MeshType = "Sphere"
  548. local lnface = newobj("Decal", ln3)
  549. lnface.Texture = "http://www.roblox.com/asset?id=" .. leftnekoface
  550. lnface.Face = "Bottom"
  551. local lnpunch = newobj("Sound", ln3)
  552. lnpunch.SoundId = "http://www.roblox.com/asset?id=146163534"
  553. lnpunch.Volume = 0.3
  554. local latt1 = newobj("Attachment", ln3)
  555. latt1.Position = Vector3.new(0.35, -0.5, 0)
  556. local latt2 = newobj("Attachment", ln3)
  557. latt2.Position = Vector3.new(-0.35, -0.5, 0)
  558. local lartrail = newobj("Trail", ln3)
  559. lartrail.Attachment0 = latt1
  560. lartrail.Attachment1 = latt2
  561. lartrail.Transparency = NumberSequence.new({
  562. nskn(0, 0.66, 0),
  563. nskn(1, 1, 0)
  564. })
  565. lartrail.Lifetime = 0.123
  566. local lnfang1 = nPart(LeftNeko, "LeftFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
  567. local lnfang1w = newobj("Weld", lnfang1)
  568. lnfang1w.Part0 = lnfang1
  569. lnfang1w.Part1 = ln3
  570. lnfang1w.C0 = CFrame.new(0.1, -0.42, -0.522) * CFrame.Angles(math.rad(-110), 0, 0)
  571. local lnfang1m = newobj("SpecialMesh", lnfang1)
  572. lnfang1m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  573. lnfang1m.Scale = Vector3.new(0.03, 0.12, 0.03)
  574. local lnfang2 = nPart(LeftNeko, "LeftFang", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, BrickColor.new("Fossil"), Vector3.new(0.2, 0.2, 0.2), CFrame.new(0, 0, 0))
  575. local lnfang2w = newobj("Weld", lnfang2)
  576. lnfang2w.Part0 = lnfang2
  577. lnfang2w.Part1 = ln3
  578. lnfang2w.C0 = CFrame.new(-0.1, -0.42, -0.522) * CFrame.Angles(math.rad(-110), 0, 0)
  579. local lnfang2m = newobj("SpecialMesh", lnfang2)
  580. lnfang2m.MeshId = "http://www.roblox.com/asset/?id=1033714"
  581. lnfang2m.Scale = Vector3.new(0.03, 0.12, 0.03)
  582. local latt3 = newobj("Attachment", ln3)
  583. latt3.Position = Vector3.new(0, 0, 0)
  584. local latt4 = newobj("Attachment", ln1)
  585. latt4.Position = Vector3.new(0, -0.4, 0)
  586. local lspring = newobj("SpringConstraint", ln1)
  587. lspring.Attachment0 = latt3
  588. lspring.Attachment1 = latt4
  589. lspring.Coils = 8
  590. lspring.Visible = true
  591. lspring.LimitsEnabled = true
  592. lspring.Enabled = true
  593. lspring.MaxLength = 80
  594. lspring.Color = ln3.BrickColor
  595. lspring.Thickness = 0.2
  596. lspring.FreeLength = 4
  597. lspring.Stiffness = 30
  598. lspring.Radius = 0.5
  599. lspring.Damping = 0
  600. local ln4 = nPart(LeftNeko, "LeftEars", 1, 3, "SmoothPlastic", false, false, 0, 0, 10, LeftNekoColor, Vector3.new(1.575, 0.2, 1.575), CFrame.new(0, 0, 0))
  601. local ln4w = newobj("Weld", ln4)
  602. ln4w.Part0 = ln4
  603. ln4w.Part1 = ln3
  604. ln4w.C0 = CFrame.new(-0.04, -0.6, 0.15) * CFrame.Angles(math.rad(90), 0, 0)
  605. local ln4m = newobj("SpecialMesh", ln4)
  606. ln4m.Scale = Vector3.new(1, 0.7, 1)
  607. ln4m.MeshId = "http://www.roblox.com/asset?id=1374148"
  608. ln4m.TextureId = "http://www.roblox.com/asset?id=59596104"
  609. function GetHumanoidFromPart(prt)
  610. local hyoom
  611. if prt and prt.Parent and prt.Parent.Parent then
  612. for i, x in pairs(prt.Parent:GetChildren()) do
  613. if x:IsA("Humanoid") then
  614. hyoom = x
  615. end
  616. end
  617. if hyoom and prt.Parent:IsA("Model") and prt.Parent ~= chr then
  618. return hyoom
  619. end
  620. end
  621. end
  622. function GetRPFromPart(prt)
  623. local RP, RP2
  624. if prt and prt.Parent and prt.Parent.Parent then
  625. RP = prt.Parent:findFirstChild("HumanoidRootPart")
  626. RP2 = prt.Parent.Parent:findFirstChild("HumanoidRootPart")
  627. if RP then
  628. return RP
  629. elseif not RP and RP2 then
  630. return RP2
  631. end
  632. end
  633. end
  634. local rhitdb = false
  635. local lhitdb = false
  636. rn3.Touched:connect(function(hit)
  637. if hit and hit.Parent and not rhitdb and swing == "Right" and (armanim == "RightSwing2" or armanim == "RightSwing1" or armanim == "Launching") then
  638. do
  639. local enhum = GetHumanoidFromPart(hit)
  640. local rootpart = GetRPFromPart(hit)
  641. if enhum then
  642. local nyaa = newobj("Sound", rn3)
  643. nyaa.SoundId = "http://www.roblox.com/asset?id=" .. Meows[math.random(1, #Meows)]
  644. nyaa.Pitch = math.random(80, 120) * 0.01
  645. nyaa:Play("")
  646. if taser and tasercharge >= 20 and not launched then
  647. do
  648. local tasers = newobj("Sound", rn3)
  649. tasers.SoundId = "http://www.roblox.com/asset?id=" .. tasersoundid
  650. tasers.Pitch = 0.8
  651. tasers.Volume = 0.9
  652. tasers:Play("")
  653. tasercharge = tasercharge - 20
  654. enhum.PlatformStand = true
  655. local ht = enhum.Changed:connect(function(tz)
  656. if tz == "PlatformStand" then
  657. enhum.PlatformStand = true
  658. end
  659. end)
  660. if rootpart then
  661. rootpart.Velocity = rootpart.Velocity + (rutprt.CFrame * CFrame.new(0, 1, -1)).p - rutprt.CFrame.p.unit * 25
  662. end
  663. spawn(function()
  664. wait(".35")
  665. ht:disconnect("")
  666. enhum.PlatformStand = false
  667. end)
  668. game:service("Debris"):AddItem(tasers, 1)
  669. end
  670. end
  671. rnpunch:Play("")
  672. game:service("Debris"):AddItem(nyaa, 2)
  673. rhitdb = true
  674. TakeDamage(enhum, BaseDamage * DamageMult)
  675. spawn(function()
  676. wait(0.7)
  677. rhitdb = false
  678. end)
  679. end
  680. end
  681. end
  682. end)
  683. ln3.Touched:connect(function(hit)
  684. if hit and hit.Parent and not lhitdb and swing == "Left" and (armanim == "LeftSwing2" or armanim == "LeftSwing1" or armanim == "Launching") then
  685. do
  686. local enhum = GetHumanoidFromPart(hit)
  687. if enhum then
  688. local nyaa = newobj("Sound", ln3)
  689. nyaa.SoundId = "http://www.roblox.com/asset?id=" .. Meows[math.random(1, #Meows)]
  690. nyaa.Pitch = math.random(80, 120) * 0.01
  691. nyaa:Play("")
  692. lnpunch:Play("")
  693. if taser and tasercharge >= 20 and not launched then
  694. do
  695. local tasers = newobj("Sound", ln3)
  696. tasers.SoundId = "http://www.roblox.com/asset?id=" .. tasersoundid
  697. tasers.Pitch = 0.8
  698. tasers.Volume = 0.9
  699. tasers:Play("")
  700. tasercharge = tasercharge - 20
  701. enhum.PlatformStand = true
  702. local ht = enhum.Changed:connect(function(tz)
  703. if tz == "PlatformStand" then
  704. enhum.PlatformStand = true
  705. end
  706. end)
  707. spawn(function()
  708. wait(".35")
  709. ht:disconnect("")
  710. enhum.PlatformStand = false
  711. end)
  712. game:service("Debris"):AddItem(tasers, 1)
  713. end
  714. end
  715. game:service("Debris"):AddItem(nyaa, 2)
  716. lhitdb = true
  717. TakeDamage(enhum, BaseDamage * DamageMult)
  718. spawn(function()
  719. wait(0.7)
  720. lhitdb = false
  721. end)
  722. end
  723. end
  724. end
  725. end)
  726. maus.KeyDown:connect(function(kei)
  727. if string.byte(kei) == 48 and not otheranims and not sitting and not disabled then
  728. runnin = true
  729. end
  730. if kei == "w" then
  731. fldb.w = true
  732. end
  733. if kei == "a" then
  734. fldb.a = true
  735. end
  736. if kei == "s" then
  737. fldb.s = true
  738. end
  739. if kei == "d" then
  740. fldb.d = true
  741. end
  742. if string.byte(kei) == 50 and not crawling then
  743. if crouching then
  744. otheranims = false
  745. crouching = false
  746. chr.Humanoid.WalkSpeed = 18
  747. elseif not crouching and not otheranims then
  748. otheranims = true
  749. crouching = true
  750. anim = "Crouching"
  751. end
  752. end
  753. if kei == "l" then
  754. rnbf.Enabled = not rnbf.Enabled
  755. lnbf.Enabled = not lnbf.Enabled
  756. end
  757. if kei == "e" and not otheranims and not armmovement and not disabled and not lit and not crawling then
  758. otheranims = true
  759. anim = "PreSuperJump"
  760. chr.Humanoid.WalkSpeed = 0
  761. jumpcharge = true
  762. end
  763. if kei == "f" and not otheranims and not armmovement and not launched and not disabled and not crawling and not lit and equipped then
  764. armmovement = true
  765. launchcharge = true
  766. armanim = "LaunchCharge"
  767. end
  768. if kei == "r" and not otheranims and not armmovement and not launched and not disabled then
  769. if taser then
  770. taser = false
  771. tasercon.Attachment1 = taserattright3
  772. tasercon2.Attachment1 = taserattleft3
  773. elseif not taser and tasercharge >= 20 then
  774. taser = true
  775. tasercon.Attachment1 = taserattright2
  776. tasercon2.Attachment1 = taserattleft2
  777. end
  778. end
  779. if kei == "c" and not armmovement and not sitting and not disabled and not jumpcharge then
  780. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude >= RunSpeed - 2.5 and not otheranims and not crawling then
  781. otheranims = true
  782. anim = "Sliding"
  783. do
  784. local tempvelocity = newobj("BodyVelocity", rutprt)
  785. tempvelocity.Name = "TemporaryVelocity"
  786. tempvelocity.maxForce = Vector3.new(math.huge, 0, math.huge)
  787. tempvelocity.velocity = (rutprt.CFrame * CFrame.new(0, 0, -1)).p - rutprt.CFrame.p.unit * RunSpeed
  788. coroutine.resume(coroutine.create(function()
  789. local totesvelocity = RunSpeed
  790. repeat
  791. if (tempvelocity.velocity * Vector3.new(1, 1, 1)).magnitude <= 10 then
  792. tempvelocity:destroy("")
  793. runnin = false
  794. crawling = true
  795. chr.Humanoid.WalkSpeed = 8
  796. elseif (tempvelocity.velocity * Vector3.new(1, 1, 1)).magnitude > 10 then
  797. totesvelocity = totesvelocity - 1.2 * (RunSpeed / 100)
  798. tempvelocity.velocity = (rutprt.CFrame * CFrame.new(0, 0, -1)).p - rutprt.CFrame.p.unit * totesvelocity
  799. end
  800. wait("")
  801. until tempvelocity.Parent == nil
  802. end))
  803. end
  804. elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude <= RunSpeed - 2 then
  805. if not crawling then
  806. otheranims = true
  807. anim = "PreCrawl"
  808. wait(".2")
  809. crawling = true
  810. chr.Humanoid.WalkSpeed = 8
  811. elseif crawling then
  812. crawling = false
  813. otheranims = false
  814. chr.Humanoid.WalkSpeed = WlkSpeed
  815. end
  816. end
  817. end
  818. end)
  819. maus.KeyUp:connect(function(kei)
  820. if string.byte(kei) == 48 and not otheranims and not sitting and not disabled then
  821. runnin = false
  822. end
  823. if kei == "w" then
  824. fldb.w = false
  825. end
  826. if kei == "a" then
  827. fldb.a = false
  828. end
  829. if kei == "s" then
  830. fldb.s = false
  831. end
  832. if kei == "d" then
  833. fldb.d = false
  834. end
  835. if kei == "c" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  836. otheranims = false
  837. rutprt.TemporaryVelocity:destroy("")
  838. end
  839. if kei == "f" and launchcharge and armmovement and not launched and not crawling and not jumpcharge and not otheranims then
  840. launchcharge = false
  841. launched = true
  842. armanim = "Launching"
  843. DamageMult = 1.5
  844. do
  845. local oldat1 = tasercon.Attachment1
  846. local oldat2 = tasercon2.Attachment1
  847. tasercon.Attachment1 = nil
  848. tasercon2.Attachment1 = nil
  849. rn3w.Parent = nil
  850. ln3w.Parent = nil
  851. rn3w.Part0 = nil
  852. ln3w.Part0 = nil
  853. rspring.Parent = nil
  854. lspring.Parent = nil
  855. rn3.CanCollide = true
  856. ln3.CanCollide = true
  857. wait("0")
  858. rn3.Velocity = (rutprt.CFrame * CFrame.new(-1, 0.4, -2).p - rutprt.CFrame.p).unit * 100
  859. ln3.Velocity = (rutprt.CFrame * CFrame.new(1, 0.4, -2).p - rutprt.CFrame.p).unit * 100
  860. wait("")
  861. rspring.Parent = rn3
  862. lspring.Parent = ln3
  863. spawn(function()
  864. wait(0.7)
  865. rn3.CanCollide = false
  866. ln3.CanCollide = false
  867. tasercon.Attachment1 = oldat1
  868. tasercon2.Attachment1 = oldat2
  869. rn3w.Parent = rn3
  870. ln3w.Parent = ln3
  871. ln3w.Part0 = ln3
  872. ln3w.Part1 = ln1
  873. ln3w.C0 = CFrame.new(0, 0.55, 0)
  874. rn3w.Part0 = rn3
  875. rn3w.Part1 = rn1
  876. rn3w.C0 = CFrame.new(0, 0.55, 0)
  877. if launchhitdb then
  878. launchhitdb = false
  879. end
  880. armmovement = false
  881. wait("2.5")
  882. ltouched = false
  883. rtouched = false
  884. launched = false
  885. end)
  886. end
  887. end
  888. if kei == "e" and otheranims and jumpcharge and not crawling then
  889. if runnin then
  890. chr.Humanoid.WalkSpeed = RunSpeed
  891. else
  892. chr.Humanoid.WalkSpeed = WlkSpeed
  893. end
  894. local rei = Ray.new(rleg.CFrame.p, (rleg.CFrame * CFrame.new(0, 1.25, 0)).p - rleg.CFrame.p.unit * -3)
  895. local parthit, point = Workspace:FindPartOnRay(rei, chr)
  896. if parthit and point and parthit.CanCollide then
  897. chr.Humanoid.Jump = true
  898. anim = "SuperJump"
  899. local aasdd = newobj("BodyVelocity", rutprt)
  900. aasdd.maxForce = Vector3.new(0, 1 / 0, 0)
  901. aasdd.velocity = Vector3.new(0, jumpheight, 0)
  902. game:service("Debris"):AddItem(aasdd, 0.05)
  903. jumpcharge = false
  904. otheranims = false
  905. else
  906. otheranims = false
  907. jumpheight = 10
  908. end
  909. end
  910. end)
  911. local funcrt, funclt
  912. maus.Button1Down:connect(function()
  913. if not otheranims and not sitting and not disabled and not armmovement and equipped then
  914. if taser and tasercharge >= 20 then
  915. DamageMult = 0.8
  916. else
  917. DamageMult = 1
  918. end
  919. armmovement = true
  920. armanim = swing .. "Swing1"
  921. wait(0.22)
  922. armanim = swing .. "Swing2"
  923. if swing == "Right" then
  924. rnding:Play()
  925. spawn(function()
  926. wait(0.6)
  927. rnding:Stop()
  928. end)
  929. else
  930. lnding:Play()
  931. spawn(function()
  932. wait(0.6)
  933. lnding:Stop()
  934. end)
  935. end
  936. wait(0.15)
  937. armmovement = false
  938. if swing == "Right" then
  939. swing = "Left"
  940. else
  941. swing = "Right"
  942. end
  943. end
  944. end)
  945. chr.Humanoid.Changed:connect(function(chng)
  946. if (crouching or disabled) and chng == "Jump" then
  947. chr.Humanoid.Jump = false
  948. end
  949. end)
  950. game:service("RunService").RenderStepped:connect(function()
  951. tasercharge = tasercharge + 0.04
  952. if tasercharge < 0 then
  953. tasercharge = 0
  954. end
  955. if tasercharge > 100 then
  956. tasercharge = 100
  957. end
  958. tb.Size = UDim2.new(tasercharge / 100, 0, 1, 0)
  959. if anim ~= "PreCrawl" and (anim ~= "IdleCrawl" or armanim == "Digging") and anim ~= "Sliding" and anim ~= "Jumping" and anim ~= "Falling" then
  960. syne = syne + 0.95
  961. end
  962. chr.Humanoid.CameraOffset = rutprt.CFrame:toObjectSpace(hed.CFrame).p + Vector3.new(0, -1.25, 0)
  963. if not otheranims then
  964. if 1 > (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and not dnc and not chr.Humanoid.Jump then
  965. anim = "Idling"
  966. chr.Humanoid.JumpPower = 54
  967. elseif 1 < (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude and (rutprt.Velocity * Vector3.new(1, 0, 1)).magnitude < RunSpeed - 5 and not chr.Humanoid.Jump then
  968. anim = "Walking"
  969. dnc = false
  970. chr.Humanoid.JumpPower = 56
  971. elseif (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > RunSpeed - 10 and not chr.Humanoid.Jump then
  972. anim = "Sprinting"
  973. dnc = false
  974. chr.Humanoid.JumpPower = 62
  975. end
  976. if torso.Velocity.y > 4 then
  977. anim = "Jumping"
  978. dnc = false
  979. elseif torso.Velocity.y < -4 then
  980. anim = "Falling"
  981. dnc = false
  982. end
  983. end
  984. local rpvl = (torso.Velocity * Vector3.new(1, 0, 1)).magnitude / RunSpeed
  985. local rpvl2 = (torso.Velocity * Vector3.new(1, 0, 1)).magnitude
  986. if otheranims and crawling then
  987. if 1 > (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and not chr.Humanoid.Jump then
  988. anim = "IdleCrawl"
  989. chr.Humanoid.JumpPower = 0
  990. elseif 1 < (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 12 and not chr.Humanoid.Jump then
  991. anim = "Crawling"
  992. idled = false
  993. chr.Humanoid.JumpPower = 38
  994. elseif 1 < (torso.Velocity * Vector3.new(1, 0, 1)).magnitude and (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 12 and not chr.Humanoid.Jump then
  995. anim = "SpeedCrawling"
  996. idled = false
  997. chr.Humanoid.JumpPower = 46
  998. end
  999. end
  1000. if otheranims and crawling then
  1001. if torso.Velocity.y > 2 then
  1002. anim = "CrawlJump"
  1003. elseif torso.Velocity.y < -6 then
  1004. anim = "CrawlFall"
  1005. end
  1006. end
  1007. if anim ~= lastanim then
  1008. runtime = 0
  1009. end
  1010. if not armmovement and not equipped then
  1011. rn1w.Part1 = torso
  1012. rn1w.C1 = CFrame.new(0.4, -0.3, 0.6) * CFrame.Angles(math.rad(-11), math.rad(183), math.rad(85))
  1013. ln1w.Part1 = torso
  1014. ln1w.C1 = CFrame.new(-0.4, -1, 0.6) * CFrame.Angles(math.rad(11), math.rad(-183), math.rad(-85))
  1015. else
  1016. rn1w.Part1 = rarm
  1017. rn1w.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1018. ln1w.Part1 = larm
  1019. ln1w.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1020. end
  1021. lastanim = anim
  1022. local idlesineinc = 32.5
  1023. if anim == "Idling" then
  1024. if not armmovement and not equipped then
  1025. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.1)
  1026. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.1)
  1027. elseif not armmovement and equipped then
  1028. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.4 + math.cos(syne / idlesineinc) / 25, 0.1) * CFrame.Angles(math.rad(105), math.rad(-15), math.rad(-20)), 0.1)
  1029. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.1, 0.2 + math.cos(syne / idlesineinc) / 25, -0.65) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(15)), 0.1)
  1030. end
  1031. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.9 - math.cos(syne / idlesineinc) / 20, math.cos(syne / idlesineinc) / 35) * CFrame.Angles(-(math.cos(syne / idlesineinc) / 35), 0, math.rad(-2.5)), 0.1)
  1032. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.9 - math.cos(syne / idlesineinc) / 20, math.cos(syne / idlesineinc) / 35) * CFrame.Angles(-(math.cos(syne / idlesineinc) / 35), 0, math.rad(2.5)), 0.1)
  1033. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / idlesineinc) / 50, -math.cos(syne / idlesineinc) / 60) * CFrame.Angles(-math.cos(syne / idlesineinc) / 60, 0, 0), 0.1)
  1034. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.1 + math.cos(syne / idlesineinc) / 20, 0) * CFrame.Angles(math.cos(syne / idlesineinc) / 35 + math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1035. end
  1036. if anim == "Walking" then
  1037. if not armmovement and not equipped then
  1038. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, -0.1) * CFrame.Angles(math.cos(syne / 6) / 1.25, -(math.cos(syne / 6) / 10) + math.rad(5), -(math.cos(syne / 6.75) / 10) + math.rad(8)), 0.1)
  1039. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.1) * CFrame.Angles(-(math.cos(syne / 6) / 1.25), -(math.cos(syne / 6) / 10) - math.rad(5), -(math.cos(syne / 6.75) / 10) - math.rad(8)), 0.1)
  1040. elseif not armmovement and equipped then
  1041. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.425, -0.2) * CFrame.Angles(math.rad(40), math.rad(10), math.rad(5)), 0.1)
  1042. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.425, -0.2) * CFrame.Angles(math.rad(40), math.rad(-10), math.rad(-5)), 0.1)
  1043. end
  1044. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.515, -1.8 - math.sin(syne / 6) / 4 + math.sin(rutprt.RotVelocity.y / 2) / 13, -(math.cos(syne / 6) / 1.125) - 0.15) * CFrame.Angles(math.cos(syne / 6) / 1.125 + math.rad(5), 0, math.rad(-1)), 0.1)
  1045. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.515, -1.8 + math.sin(syne / 6) / 4 - math.sin(rutprt.RotVelocity.y / 2) / 13, math.cos(syne / 6) / 1.125 - 0.15) * CFrame.Angles(-(math.cos(syne / 6) / 1.125) + math.rad(5), 0, math.rad(1)), 0.1)
  1046. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(-math.cos(syne / 3) / 20 + math.rad(2), -math.cos(syne / 6) / 10, 0), 0.1)
  1047. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.2 + math.cos(syne / 3.375) / 20, math.cos(syne / 3) / 5) * CFrame.Angles(math.cos(syne / 3) / 20 + math.rad(-10), math.cos(syne / 6) / 8, -math.cos(syne / 6) / 25 + math.sin(rutprt.RotVelocity.y / 2) / 6), 0.1)
  1048. end
  1049. if anim == "Sprinting" then
  1050. if not armmovement and not equipped then
  1051. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, math.cos(syne / 4) / 15) * CFrame.Angles(-math.cos(syne / 2.5) / 5 + math.rad(-55), 0, math.rad(12.5)), 0.1)
  1052. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -math.cos(syne / 4) / 15) * CFrame.Angles(-math.cos(syne / 2.5) / 5 + math.rad(-55), 0, math.rad(-12.5)), 0.1)
  1053. elseif not armmovement and equipped then
  1054. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.5, -0.1) * CFrame.Angles(math.rad(-5), math.rad(10), math.rad(35)), 0.1)
  1055. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.5, -0.1) * CFrame.Angles(math.rad(-5), math.rad(-10), math.rad(-35)), 0.1)
  1056. end
  1057. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55 + math.cos(syne / 4) / 20, -1.4 - math.sin(syne / 4) / 2.4 + math.sin(rutprt.RotVelocity.y / 2) / 8, -(math.cos(syne / 4) * 2.5) - 0.125) * CFrame.Angles(math.cos(syne / 4) * 2.1 + math.rad(-8), 0, math.rad(-2.5)), 0.1)
  1058. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55 - math.cos(syne / 4) / 20, -1.4 + math.sin(syne / 4) / 2.4 - math.sin(rutprt.RotVelocity.y / 2) / 8, math.cos(syne / 4) * 2.5 - 0.125) * CFrame.Angles(-(math.cos(syne / 4) * 2.1) + math.rad(-8), 0, math.rad(2.5)), 0.1)
  1059. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.55 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(-math.cos(syne / 2.5) / 10 + math.rad(20), -math.cos(syne / 2.5) / 8, 0), 0.1)
  1060. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.27 + math.cos(syne / 2.5) / 5, math.cos(syne / 2.5)) * CFrame.Angles(math.cos(syne / 2.5) / 6 + math.rad(-25), math.cos(syne / 2.5) / 8, math.cos(syne / 4) / 15 + math.sin(rutprt.RotVelocity.y / 3) / 2.5), 0.1)
  1061. chr.Humanoid.CameraOffset = rutprt.CFrame:toObjectSpace(hed.CFrame).p + Vector3.new(math.cos(syne / 2.5) / 30, -1.3 - math.cos(syne / 5) / 25, -0.1)
  1062. end
  1063. if anim == "Jumping" then
  1064. if not armmovement then
  1065. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(50)), 0.1)
  1066. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-50)), 0.1)
  1067. end
  1068. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.4, 0) * CFrame.Angles(math.rad(-17.5), 0, math.rad(-2.5)), 0.1)
  1069. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.1, -0.1) * CFrame.Angles(math.rad(-17.5), 0, math.rad(2.5)), 0.1)
  1070. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5 + math.cos(syne / 20) / 50, 0) * CFrame.Angles(math.cos(syne / 20) / 40, 0, 0), 0.1)
  1071. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -0.1 + math.cos(syne / 20) / 20, 0) * CFrame.Angles(-rpvl * chr.Humanoid.JumpPower / 58 / 1.5, math.rad(0), math.rad(0)), 0.1)
  1072. end
  1073. if anim == "Falling" then
  1074. if not armmovement then
  1075. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(70)), 0.035)
  1076. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-70)), 0.035)
  1077. end
  1078. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.2, 0) * CFrame.Angles(math.rad(-14), 0, math.rad(-2.5)), 0.035)
  1079. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.9, 0) * CFrame.Angles(math.rad(0), 0, math.rad(2.5)), 0.035)
  1080. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.3) * CFrame.Angles(math.rad(-40), 0, 0), 0.035)
  1081. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1, 0) * CFrame.Angles(rpvl / 3, math.rad(0), math.rad(0)), 0.1)
  1082. end
  1083. if anim == "Sliding" then
  1084. if equipped then
  1085. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4 - math.sin(rutprt.RotVelocity.y / 2) / 9, 0.535, 0.5 + math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-65), 0, math.rad(-15)), 0.17)
  1086. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.2 - math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-120) - math.sin(rutprt.RotVelocity.y / 2) / 7, 0, math.rad(-40)), 0.17)
  1087. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1 + math.sin(rutprt.RotVelocity.y / 2) / 3, -0.125) * CFrame.Angles(math.rad(-17.5) - math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(-2.5)), 0.17)
  1088. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.6 - math.sin(rutprt.RotVelocity.y / 2) / 4, 0.15) * CFrame.Angles(math.rad(-10) + math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(2.5)), 0.17)
  1089. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.6) * CFrame.Angles(math.rad(-50), math.rad(-18), math.rad(-10)), 0.17)
  1090. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(65), math.rad(30) + math.sin(rutprt.RotVelocity.y / 2) / 3, math.rad(0)), 0.17)
  1091. else
  1092. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4 - math.sin(rutprt.RotVelocity.y / 2) / 9, 0.535, 0.5 + math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-60), 0, math.rad(-15)), 0.17)
  1093. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, -0.2 - math.sin(rutprt.RotVelocity.y / 2) / 3) * CFrame.Angles(math.rad(-105) - math.sin(rutprt.RotVelocity.y / 2) / 7, 0, math.rad(-40)), 0.17)
  1094. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1 + math.sin(rutprt.RotVelocity.y / 2) / 3, -0.125) * CFrame.Angles(math.rad(-17.5) - math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(-2.5)), 0.17)
  1095. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.6 - math.sin(rutprt.RotVelocity.y / 2) / 4, 0.15) * CFrame.Angles(math.rad(-10) + math.sin(rutprt.RotVelocity.y / 2) / 9, 0, math.rad(2.5)), 0.17)
  1096. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, -0.6) * CFrame.Angles(math.rad(-50), math.rad(-8), math.rad(-10)), 0.17)
  1097. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.7, 0) * CFrame.Angles(math.rad(70), math.rad(20) + math.sin(rutprt.RotVelocity.y / 2) / 3, math.rad(0)), 0.17)
  1098. end
  1099. end
  1100. if armmovement then
  1101. if armanim == "RightSwing1" then
  1102. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.25 + math.cos(syne / idlesineinc) / 25, 1.2) * CFrame.Angles(math.rad(95), math.rad(-15), math.rad(15)), 0.25)
  1103. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.2, 0.35 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.25)
  1104. end
  1105. if armanim == "RightSwing2" then
  1106. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(0.8, 0.3 + math.cos(syne / idlesineinc) / 25, -0.8) * CFrame.Angles(math.rad(95), math.rad(15), math.rad(-15)), 0.55)
  1107. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.2, 0.45 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(-10)), 0.55)
  1108. end
  1109. if armanim == "LeftSwing1" then
  1110. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.25 + math.cos(syne / idlesineinc) / 25, 1.2) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(15)), 0.25)
  1111. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.35 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.25)
  1112. end
  1113. if armanim == "LeftSwing2" then
  1114. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-0.8, 0.3 + math.cos(syne / idlesineinc) / 25, -0.8) * CFrame.Angles(math.rad(95), math.rad(-15), math.rad(15)), 0.55)
  1115. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.2, 0.45 + math.cos(syne / idlesineinc) / 25, 0) * CFrame.Angles(math.rad(45), math.rad(10), math.rad(10)), 0.55)
  1116. end
  1117. if armanim == "Digging" then
  1118. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.15 - math.cos(syne * 0.6) / 8, 1.2 + math.cos(syne * 0.6) * 0.6, -0.1) * CFrame.Angles(math.rad(179), 0, math.rad(-15)), 0.6)
  1119. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.15 - math.cos(syne * 0.6) / 8, 1.2 - math.cos(syne * 0.6) * 0.6, -0.1) * CFrame.Angles(math.rad(179), 0, math.rad(15)), 0.6)
  1120. end
  1121. if armanim == "LaunchCharge" then
  1122. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.45, 0.3 + math.cos(syne / idlesineinc) / 25, 0.8) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(-15)), 0.5)
  1123. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.45, 0.3 + math.cos(syne / idlesineinc) / 25, 0.8) * CFrame.Angles(math.rad(95), math.rad(-10), math.rad(15)), 0.5)
  1124. end
  1125. if armanim == "Launching" then
  1126. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 0.3 + math.cos(syne / idlesineinc) / 25, -0.4) * CFrame.Angles(math.rad(95), math.rad(10), math.rad(15)), 0.5)
  1127. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 0.3 + math.cos(syne / idlesineinc) / 25, -0.4) * CFrame.Angles(math.rad(95), math.rad(-10), math.rad(-15)), 0.5)
  1128. end
  1129. else
  1130. armanim = "Empty"
  1131. end
  1132. if jumpcharge and 100 > jumpheight then
  1133. jumpheight = jumpheight + 2.5
  1134. elseif not jumpcharge then
  1135. jumpheight = 5
  1136. end
  1137. if anim == "PreSuperJump" then
  1138. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(50)), 0.06)
  1139. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.5, 0.525, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-50)), 0.06)
  1140. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1, 0.3) * CFrame.Angles(math.rad(-40), 0, math.rad(-2.5)), 0.06)
  1141. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -0.6, -0.65) * CFrame.Angles(math.rad(10), 0, math.rad(2.5)), 0.06)
  1142. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0.3) * CFrame.Angles(math.rad(40), 0, 0), 0.06)
  1143. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -1.6, 0.2) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0)), 0.06)
  1144. end
  1145. if anim == "SuperJump" then
  1146. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.525, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(20)), 0.1)
  1147. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.525, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-20)), 0.1)
  1148. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.55, -1.8, 0) * CFrame.Angles(math.rad(-2.5), 0, math.rad(-2.5)), 0.2)
  1149. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.55, -1.8, 0) * CFrame.Angles(math.rad(-2.5), 0, math.rad(2.5)), 0.2)
  1150. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0.3) * CFrame.Angles(math.rad(30), 0, 0), 0.1)
  1151. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), 0.1)
  1152. chr.Humanoid.Jump = true
  1153. end
  1154. if anim == "Crouching" then
  1155. if not armmovement then
  1156. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.4, 0.35, -0.225) * CFrame.Angles(math.rad(70), 0, math.rad(-15)), 0.075)
  1157. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.4, 0.35, -0.225) * CFrame.Angles(math.rad(70), 0, math.rad(15)), 0.075)
  1158. end
  1159. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -0.55, -1) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.075)
  1160. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -0.65, -1.275) * CFrame.Angles(math.rad(60), 0, math.rad(0)), 0.075)
  1161. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.05)
  1162. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), 0.075)
  1163. end
  1164. if anim == "PreCrawl" then
  1165. if not armmovement then
  1166. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.45, 0.9, -0.175) * CFrame.Angles(math.rad(150), 0, math.rad(-25)), 0.2)
  1167. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.45, 0.9, -0.175) * CFrame.Angles(math.rad(150), 0, math.rad(25)), 0.2)
  1168. end
  1169. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.6, -0.1) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.2)
  1170. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.6, -0.1) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.2)
  1171. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.25) * CFrame.Angles(math.rad(72.5), 0, 0), 0.2)
  1172. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.2)
  1173. end
  1174. if crawling then
  1175. if anim == "Crawling" then
  1176. if not armmovement then
  1177. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.25, 1 - math.cos(syne / 10) / 2 - math.sin(rutprt.RotVelocity.y / 2) / 7, -0.35 + math.cos(syne / 10) / 6) * CFrame.Angles(math.rad(155) + math.sin(syne / 10) / 7, 0, math.rad(-25) + math.cos(syne / 10) / 13), 0.175)
  1178. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.25, 1 + math.cos(syne / 10) / 2 + math.sin(rutprt.RotVelocity.y / 2) / 7, -0.35 - math.cos(syne / 10) / 6) * CFrame.Angles(math.rad(165) - math.sin(syne / 10) / 7, 0, math.rad(25) - math.cos(syne / 10) / 13), 0.175)
  1179. end
  1180. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.525, -1.5 - math.cos(syne / 10) / 3 + math.sin(rutprt.RotVelocity.y / 2) / 7, -0.3 + math.sin(syne / 10) / 5) * CFrame.Angles(math.rad(-5) - math.cos(syne / 10) / 9, 0, -math.cos(syne / 10) / 15), 0.175)
  1181. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.525, -1.5 + math.cos(syne / 10) / 3 - math.sin(rutprt.RotVelocity.y / 2) / 7, -0.3 - math.sin(syne / 10) / 5) * CFrame.Angles(math.rad(-5) + math.cos(syne / 10) / 9, 0, -math.cos(syne / 10) / 15), 0.175)
  1182. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, math.cos(syne / 30) / 20 + 0.25) * CFrame.Angles(math.cos(syne / 30) / 25 + math.rad(75), 0, 0), 0.175)
  1183. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.1, 0) * CFrame.Angles(math.rad(-82) + math.cos(syne / 5) / 12, math.cos(syne / 10) / 15 - math.sin(rutprt.RotVelocity.y / 2) / 7, math.cos(syne / 5) / 15), 0.15)
  1184. end
  1185. if anim == "CrawlJump" then
  1186. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 0.4, -0.175) * CFrame.Angles(math.rad(10), 0, math.rad(15)), 0.15)
  1187. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 0.4, -0.175) * CFrame.Angles(math.rad(10), 0, math.rad(-15)), 0.15)
  1188. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.8, -0.1) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.15)
  1189. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.8, -0.1) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.15)
  1190. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.25) * CFrame.Angles(math.rad(55), 0, 0), 0.15)
  1191. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2.1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.15)
  1192. end
  1193. if anim == "CrawlFall" then
  1194. rarmweld.C0 = Lerp(rarmweld.C0, CFrame.new(1.35, 1.2, -0.175) * CFrame.Angles(math.rad(170), 0, math.rad(-10)), 0.15)
  1195. larmweld.C0 = Lerp(larmweld.C0, CFrame.new(-1.35, 1.2, -0.175) * CFrame.Angles(math.rad(170), 0, math.rad(10)), 0.15)
  1196. llegweld.C0 = Lerp(llegweld.C0, CFrame.new(-0.5, -1.5, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(0)), 0.15)
  1197. rlegweld.C0 = Lerp(rlegweld.C0, CFrame.new(0.5, -1.5, -0.3) * CFrame.Angles(math.rad(5), 0, math.rad(0)), 0.15)
  1198. headweld.C0 = Lerp(headweld.C0, CFrame.new(0, 1.35, 0.3) * CFrame.Angles(math.rad(90), 0, 0), 0.15)
  1199. rutwald.C0 = Lerp(rutwald.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(0)), 0.15)
  1200. end
  1201. end
  1202. if crouching then
  1203. chr.Humanoid.WalkSpeed = 0
  1204. end
  1205. if runnin and not disabled and not otheranims and not sitting then
  1206. chr.Humanoid.WalkSpeed = RunSpeed
  1207. elseif not runnin and not disabled and not otheranims and not sitting then
  1208. chr.Humanoid.WalkSpeed = WlkSpeed
  1209. elseif not runnin and not disabled and otheranims and crawling and not sitting then
  1210. chr.Humanoid.WalkSpeed = CrawlSpeed
  1211. end
  1212. end)
  1213. local hp = newobj("HopperBin", plr.Backpack)
  1214. hp.Name = "Neko Neko Knuckles"
  1215. hp.TextureId = "rbxassetid://985312942"
  1216. hp.Selected:connect(function()
  1217. equipped = true
  1218. end)
  1219. hp.Deselected:connect(function()
  1220. equipped = false
  1221. end)
  1222.  
  1223. kkk = Instance.new("Sound",Character)
  1224. kkk.Volume = 0.7
  1225. kkk.PlaybackSpeed = 1
  1226. kkk.Pitch = 1
  1227. kkk.SoundId = "rbxassetid://700037500"
  1228. kkk:Play()
  1229. kkk.Name = "BackgroundMusic"
  1230. kkk.Looped = true
  1231. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement