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