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