cat568

Untitled

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