View difference between Paste ID: 93DxdCJr and fBzZVaZF
SHOW: | | - or go back to the newest paste.
1-
--[[
1+
2-
It is i, the great PAPAYA.
2+
3-
95audrey pissed me of because he thinks he is cool and all with his script
3+
4-
So i decided to take action and, LEAK HIS SCRIPT!
4+
5-
]]
5+
6
char = player.Character
7
hum = char.Humanoid
8
torso = hum.Torso
9
lig = Instance.new("PointLight",player.Character.Torso)
10
lig.Color=Color3.new(0,255,255)
11
m=player:GetMouse()
12
bb = Instance.new("BillboardGui",player.Character.Head)
13
bb.Enabled = true
14
bb.AlwaysOnTop = true
15
bb.Size = UDim2.new(0,200,0,50)
16
bb.StudsOffset = Vector3.new(0,1,0)
17
gui=Instance.new("TextBox",bb)
18
gui.Text = "* "
19
gui.Size = UDim2.new(0,133,0,45)
20
gui.Position=UDim2.new(0,57,0,-40)
21
gui.TextColor3 = Color3.new(225,255,255)
22
gui.BackgroundColor3=Color3.new(0,0,0)
23
gui.TextWrapped = true
24
gui.TextScaled = true
25
gui.TextXAlignment = "Left"
26
gui.TextYAlignment = "Top"
27
gui.Visible = false
28
gui.BorderColor3 = Color3.new(0,0,0)
29
30
gui1=Instance.new("TextButton",bb)
31
gui1.Position=UDim2.new(0,5,0,-43)
32
gui1.Size = UDim2.new(0,190,0,51)
33
34
gui1.TextColor3 = Color3.new(225,255,255)
35
gui1.BackgroundColor3=Color3.new(255,255,255)
36
37
gui1.Visible = false
38
img = Instance.new("ImageLabel",bb)
39
img.Size = UDim2.new(0,46,0,47)
40
img.Position = UDim2.new(0,10,0,-41)
41
img.Image = "rbxassetid://409451128"
42
img.BorderColor3 = Color3.new(0,0,0)
43
img.Visible = false
44
asd = Instance.new("Sound",player.Character.Torso)
45
asd.SoundId = "http://www.roblox.com/asset/?id = 417464011"
46
47
asd1 = Instance.new("Sound",player.Character.Torso)
48
asd1.SoundId = "http://www.roblox.com/asset/?id = 417464011"
49
50
asd2 = Instance.new("Sound",player.Character.Torso)
51
asd2.SoundId = "http://www.roblox.com/asset/?id = 384852061"
52
asd2.Looped = true
53
asd3 = Instance.new("Sound",player.Character.Torso)
54
asd3.SoundId = "http://www.roblox.com/asset/?id = 314071291"
55
asd3.Looped = true
56
asd4 = Instance.new("Sound",player.Character.Torso)
57
asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
58
asd4.Looped = false
59
asd5 = Instance.new("Sound",player.Character.Torso)
60
asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
61
asd5.Looped = true
62
function play(play)
63
asd:Play()
64
asd1:Play()
65
end
66
-- listen for their chatting
67
player.Chatted:connect(function(message)
68
a = string.len(message)
69
gui.Text = "* "
70
gui.Visible = true
71
gui1.Visible = true
72
des = false
73
img.Visible = true
74
print(a)
75
if dot == false then
76
for i = 1,string.len(message) do wait(0.07)
77
gui.Text =gui.Text..message:sub(i,i)
78
79
play()
80
end
81
end
82
83
des = true
84
end)
85
86
87
88
Debounces = {
89
["IsSpeech"]=false;
90
}
91
92
93
Speeches = {
94
"rbxassetid://316403916",
95
"rbxassetid://316403844",
96
"rbxassetid://316403787",
97
"rbxassetid://316403490"
98
};
99
100
101
102
103
function swait(num)
104
if num==0 or num==nil then
105
game:service'RunService'.Stepped:wait(0)
106
else
107
for i=0,num do
108
game:service'RunService'.Stepped:wait(0)
109
end
110
end
111
end
112
 
113
 
114
for _,v in pairs(Speeches) do
115
    
116
    game:GetService("ContentProvider"):Preload(v)
117
    
118
end
119
120
so = function(id,par,vol,pit) 
121
coroutine.resume(coroutine.create(function()
122
local sou = Instance.new("Sound",par or workspace)
123
sou.Volume=vol
124
sou.Pitch=pit or 1
125
sou.SoundId=id
126
swait() 
127
sou:play() 
128
game:GetService("Debris"):AddItem(sou,sou.TimeLength)
129
end))
130
end
131
 
132
 
133
 
134
 function speech()
135
 if Debounces.IsSpeech then return end
136
 Debounces.IsSpeech = true
137
 
138
 so(""..Speeches[math.random(1,#Speeches)].."",torso,1,1)
139
 
140
swait()
141
 
142
 Debounces.IsSpeech = false
143
 end
144
 
145
146
147
m.KeyDown:connect(function(k)
148
if k == "g" then
149
asd2:Play()
150
eye.Transparency = 0
151
end
152
end)
153
m.KeyDown:connect(function(k)
154
if k == "u" then
155
asd3:Play()
156
eye.Transparency = 1
157
158
end
159
end)
160
m.KeyDown:connect(function(k)
161
if k == "z" then
162
163
img.Image = "rbxassetid://325833799"
164
end
165
end)
166
m.KeyDown:connect(function(k)
167
if k == "c" then
168
img.Image = "rbxassetid://409451128"
169
end
170
end)
171
m.KeyDown:connect(function(k)
172
if k == "l" then
173
img.Image = "rbxassetid://388167154"
174
print("You take your very last breath...")
175
asdd = Instance.new("Sound",player.Character.Torso)
176
asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
177
asdd.Looped = false
178
spawn(function()
179
wait()
180
asdd:Play()
181
end)
182
wait(2)
183
asddd = Instance.new("Sound",player.Character.Torso)
184
asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
185
asddd.Looped = false
186
spawn(function()
187
wait()
188
asddd:Play()
189
end)
190
wait(2)
191
asdded = Instance.new("Sound",player.Character.Torso)
192
asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
193
asdded.Looped = false
194
spawn(function()
195
wait()
196
asdded:Play()
197
end)
198
char:BreakJoints()
199
end
200
end) 
201
m.KeyDown:connect(function(k)
202
if k == "x" then
203
if des == true then
204
gui.Visible = false
205
gui.Text = "* "
206
gui1.Visible = false
207
img.Visible = false
208
end
209
end
210
end)
211
m.KeyDown:connect(function(k)
212
if k == "f" then
213
asd3:Stop()
214
asd2:Stop()
215
asd4:Stop()
216
dunkd:Stop()
217
asd5:Stop()
218
end
219
end)
220
m.KeyDown:connect(function(k)
221
if k == "y" then
222
img.Image = "rbxassetid://373464602"
223
end
224
end)
225
-- my god...
226
-- Suck_HiyaThere moves to arizona
227
228
--------------------------------------------------------
229
230
        pls = game:GetService'Players'
231
        rs = game:GetService'RunService'
232
        uinps = game:GetService'UserInputService'
233
        lp = pls.LocalPlayer
234
        mouse = lp:GetMouse()
235
        c = lp.Character
236
        human = c.Humanoid
237
        human.MaxHealth = 50
238
        soundVol = 0
239
        wait()
240
        human.Health = 50
241
        c.Health:Destroy()
242
243
--------------------------------------------------------
244
245
        Debounces = {
246
                AnimationCycles = 0;
247
                FPS = 0;
248
                scalingDamage = false;
249
                damageLevel = 0;
250
                attackNumber = 0;
251
                isAttacking = false;
252
                isMoving = false;
253
                isSprinting = false;
254
                isBoosting = false;
255
                isPassive = false;
256
                isTyping = false;
257
        }
258
259
--------------------------------------------------------
260
261
        numLerp = function(start, goal, alpha)
262
                return(((goal - start) * alpha) + start)
263
        end
264
265
        CFrameZero = function()
266
                return CFrame.new(Vector3.new())
267
        end
268
269
        rad = function(value)
270
                return math.rad(value)
271
        end
272
273
        CFAngles = function(Vector)
274
                return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
275
        end
276
277
--------------------------------------------------------
278
279
        AnimStat = {
280
                lerpSpeed = .2;
281
                lerpSpeed2 = .35;
282
                lerpTween = 0;
283
        }
284
285
        Joints = {
286
                c.HumanoidRootPart.RootJoint;
287
                c.Torso.Neck;
288
                c.Torso['Left Shoulder'];
289
                c.Torso['Right Shoulder'];
290
                c.Torso['Left Hip'];
291
                c.Torso['Right Hip'];
292
        }
293
294
        JointTargets = {
295
                CFrameZero();
296
                CFrameZero();
297
                CFrameZero();
298
                CFrameZero();
299
                CFrameZero();
300
                CFrameZero();
301
        }
302
303
--------------------------------------------------------
304
305
        BodyColors = {
306
                HeadColor = BrickColor.new("Institutional white");
307
                LeftArmColor = BrickColor.new("Institutional white");
308
                RightArmColor = BrickColor.new("Institutional white");
309
                LeftLegColor = BrickColor.new("Institutional white");
310
                RightLegColor = BrickColor.new("Institutional white");
311
                TorsoColor = BrickColor.new("Mid gray");
312
        }
313
314
        ypcall(function()
315
char.Shirt:Destroy()
316
char.Pants:Destroy()
317
shirt = Instance.new("Shirt", char)
318
shirt.Name = "Shirt"
319
pants = Instance.new("Pants", char)
320
pants.Name = "Pants"
321
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=344743696"
322
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=376443562"
323
end)
324
325
--------------------------------------------------------
326
327
        prepareCharacter = function()
328
                local transPoints = {
329
                         NumberSequenceKeypoint.new(0,.819,.0375),
330
                        NumberSequenceKeypoint.new(.207,.594,.0187),
331
                        NumberSequenceKeypoint.new(.4,.55,.031),
332
                        NumberSequenceKeypoint.new(.57,.619,.05),
333
                        NumberSequenceKeypoint.new(.76,.8,.0375),
334
                        NumberSequenceKeypoint.new(1,1,0)
335
                }
336
                local sizePoints = {
337
                       NumberSequenceKeypoint.new(0,.687,0),
338
                        NumberSequenceKeypoint.new(.111,.875,0),
339
                        NumberSequenceKeypoint.new(.327,1.19,0),
340
                        NumberSequenceKeypoint.new(.646,1.56,0),
341
                        NumberSequenceKeypoint.new(.805,1.37,0),
342
                        NumberSequenceKeypoint.new(.905,1.06,0),
343
                        NumberSequenceKeypoint.new(.968,.938,0),
344
                        NumberSequenceKeypoint.new(.984,1.13,0),
345
                        NumberSequenceKeypoint.new(1,1.62,0),
346
                }
347
                local Size = NumberSequence.new(sizePoints)
348
                local Transparency = NumberSequence.new(transPoints)
349
                rayModel = Instance.new("Model",c)
350
                efxBlock = Instance.new("Part",c)
351
                efxBlock.BrickColor = BrickColor.new("Deep orange")
352
                efxBlock.Material = "Neon"
353
                efxBlock.FormFactor = "Custom"
354
                efxBlock.Transparency = .3
355
                efxBlock.Size = Vector3.new(.3,.3,.3)
356
                local mesh = Instance.new("SpecialMesh",efxBlock)
357
                mesh.MeshType = Enum.MeshType.Sphere
358
                mesh.Scale = Vector3.new(1,1,1)
359
                light = Instance.new("PointLight",c.Head)
360
                light.Range = 10
361
                light.Color = Color3.new(0,200/255,1)
362
                light.Shadows = false
363
                local particles = Instance.new("ParticleEmitter",efxBlock)
364
                particles.Color = ColorSequence.new(Color3.new(255,0,0),Color3.new(20/255,0,0/255,0,0/255))
365
                particles.LightEmission = .95
366
                particles.Size = Size
367
                particles.Name = "Fire"
368
                particles.Transparency = Transparency
369
                particles.LockedToPart = true
370
                particles.VelocityInheritance = .5
371
                particles.LockedToPart = true
372
                particles.Rate = 70
373
                particles.Texture = "rbxassetid://0"
374
                particles.Lifetime = NumberRange.new(2,2)
375
                particles.RotSpeed = NumberRange.new(100,100)
376
                particles.Speed = NumberRange.new(7,7)
377
                script.Parent = efxBlock
378
                fire = particles
379
                local offset = Vector3.new(-0.11, .23, -0.5)
380
                local weld = Instance.new("Weld",c.Head)
381
                weld.Part0 = c.Head
382
                weld.Part1 = efxBlock
383
                weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
384
                efxBlock.Parent = c
385
                local music = Instance.new("Sound",c)
386
                music.SoundId = "rbxassetid://316012176"
387
                music.Looped = true
388
                music.Volume = 0
389
                fight = music
390
                local music2 = Instance.new("Sound",c)
391
                music2.SoundId = "rbxassetid://316014309"
392
                music2.Looped = true
393
                music2.Volume = 0
394
                sans = music2
395
                pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
396
                pointGyro.P = 1e7
397
                pointGyro.D = 1e3
398
                pointGyro.MaxTorque = Vector3.new(0,1e7,0)
399
                animator = c.Humanoid:FindFirstChild("Animator")
400
                if animator then
401
                        animator:Destroy()
402
                end
403
                c.Torso.roblox:Destroy()
404
                for i,v in pairs (c.Head:children()) do
405
                        if v.ClassName == "Sound" then
406
                                v:Destroy()
407
                        end
408
                end
409
                for i = 1,#Joints do
410
                        Joints[i].C1 = CFrame.new(Vector3.new())
411
                end
412
                human.WalkSpeed = 0
413
                human.JumpPower = 0
414
        end
415
416
        uinps.InputBegan:connect(function(InputObject)
417
                if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
418
                        Debounces.isPassive = not Debounces.isPassive
419
420
						if Debounces.isPassive == true then
421
						
422
				speech()
423
				end
424
425
                end
426
        end)
427
428
        setJointCFrames = function(table)
429
                for i = 1,#table do
430
                        JointTargets[i] = table[i]
431
                end
432
                AnimationCycles = 0
433
        end
434
435
        setLerp = function(speed)
436
                AnimStat.lerpSpeed = speed
437
        end
438
439
        setTween = function(tween)
440
                AnimStat.lerpTween = tween
441
        end
442
443
        takeDamage = function(position,damage,distance,platformStand)
444
                for i,v in pairs (pls:children()) do
445
                        if v.ClassName == "Player" and v:FindFirstChild("Character") then
446
                                local torso = v.Character:FindFirstChild("Torso")
447
                                if torso and (torso.Position - position).magnitude < distance then
448
                                        v.Character.Humanoid:TakeDamage(damage)
449
                                        if platformStand == true then
450
                                                v.Character.PlatformStand = platformStand
451
                                        end
452
                                end
453
                        end
454
                end
455
        end
456
457
--------------------------------------------------------
458
459
        prepareCharacter()
460
461
--------------------------------------------------------
462
463
        spawn(function()
464
                local sine = 0
465
                while wait() do
466
                        pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
467
                        if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
468
                                setLerp(.1)
469
                                if Debounces.isPassive == true then
470
                                        setJointCFrames({
471
                                                CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
472
                                                CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
473
                                                CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
474
                                                CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
475
                                                CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
476
                                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
477
                                        })
478
                                else
479
                                        setJointCFrames({
480
                                                CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
481
                                                CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
482
                                                CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
483
                                                CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
484
                                                CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
485
                                                CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
486
                                        })
487
                                end
488
                        elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
489
                                sine = sine + math.rad(12)
490
                                human.WalkSpeed = 15
491
                                setLerp(.15)
492
                                setJointCFrames({
493
                                        CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
494
                                        CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
495
                                        CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
496
                                        CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
497
                                        CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
498
                                        CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
499
                                })
500
                        end
501
                        if Debounces.scalingDamage == true then
502
                                takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
503
                        end
504
                end
505
        end)
506
507
        human.Changed:connect(function(prop)
508
                if prop == "MoveDirection" then
509
                        if human.MoveDirection.magnitude > .02 then
510
                                Debounces.isMoving = true
511
                        else
512
                                Debounces.isMoving = false
513
                        end
514
                end
515
        end)
516
517
        uinps.InputBegan:connect(function(InputObject)
518
                if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
519
                        Debounces.isBoosting = true
520
                        Debounces.damageLevel = 10
521
                        Debounces.scalingDamage = true
522
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
523
                        setLerp(.15)
524
                        setJointCFrames({
525
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
526
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
527
                                CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
528
                                CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
529
                                CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
530
                                CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
531
                        })
532
                        local boostSpeed = 250
533
                        local efx = Instance.new("Sound",c.Head)
534
                        efx.SoundId = "rbxassetid://200632875"
535
                        efx.Pitch = math.random(1100,1300)/1000
536
                        efx.Volume = .5
537
                        efx:Play()
538
                        spawn(function()
539
                                wait(5)
540
                                efx:Destroy()
541
                        end)
542
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
543
                        vel.P = 1e3
544
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
545
                        wait(.15)
546
                        vel.P = 1000
547
                        vel.MaxForce = Vector3.new(3000,0,3000)
548
                        vel.Velocity = Vector3.new()
549
                        wait(.3)
550
                        setLerp(.3)
551
                        setJointCFrames({
552
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
553
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
554
                                CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
555
                                CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
556
                                CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
557
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
558
                        })
559
                        wait(.2)
560
                        vel:Destroy()
561
                        Debounces.damageLevel = 0
562
                        Debounces.scalingDamage = false
563
                        Debounces.isBoosting = false
564
                end
565
        end)
566
567
        uinps.InputBegan:connect(function(InputObject)
568
                if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
569
                        Debounces.isBoosting = true
570
                        Debounces.damageLevel = 10
571
                        Debounces.scalingDamage = true
572
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
573
                        setLerp(.15)
574
                        setJointCFrames({
575
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
576
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
577
                                CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
578
                                CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
579
                                CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
580
                                CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
581
                        })
582
                        local boostSpeed = 250
583
                        local efx = Instance.new("Sound",c.Head)
584
                        efx.SoundId = "rbxassetid://200632875"
585
                        efx.Pitch = math.random(1100,1300)/1000
586
                        efx.Volume = .5
587
                        efx:Play()
588
                        spawn(function()
589
                                wait(5)
590
                                efx:Destroy()
591
                        end)
592
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
593
                        vel.P = 1e3
594
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
595
                        wait(.15)
596
                        vel.P = 1000
597
                        vel.MaxForce = Vector3.new(3000,0,3000)
598
                        vel.Velocity = Vector3.new()
599
                        wait(.3)
600
                        setLerp(.3)
601
                        setJointCFrames({
602
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
603
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
604
                                CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
605
                                CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
606
                                CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
607
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
608
                        })
609
                        wait(.2)
610
                        vel:Destroy()
611
                        Debounces.damageLevel = 0
612
                        Debounces.scalingDamage = false
613
                        Debounces.isBoosting = false
614
                end
615
        end)
616
617
        uinps.InputBegan:connect(function(InputObject)
618
                if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
619
                        Debounces.isBoosting = true
620
                        Debounces.damageLevel = 10
621
                        Debounces.scalingDamage = true
622
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
623
                        setLerp(.15)
624
                        setJointCFrames({
625
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
626
                                CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
627
                                CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
628
                                CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
629
                                CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
630
                                CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
631
                        })
632
                        local boostSpeed = 250
633
                        local efx = Instance.new("Sound",c.Head)
634
                        efx.SoundId = "rbxassetid://200632875"
635
                        efx.Pitch = math.random(1100,1300)/1000
636
                        efx.Volume = .5
637
                        efx:Play()
638
                        spawn(function()
639
                                wait(5)
640
                                efx:Destroy()
641
                        end)
642
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
643
                        vel.P = 1e3
644
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
645
                        wait(.15)
646
                        vel.P = 1000
647
                        vel.MaxForce = Vector3.new(3000,0,3000)
648
                        vel.Velocity = Vector3.new()
649
                        wait(.3)
650
                        setLerp(.3)
651
                        setJointCFrames({
652
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
653
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
654
                                CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
655
                                CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
656
                                CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
657
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
658
                        })
659
                        wait(.2)
660
                        vel:Destroy()
661
                        Debounces.damageLevel = 0
662
                        Debounces.scalingDamage = false
663
                        Debounces.isBoosting = false
664
                end
665
        end)
666
667
        uinps.InputBegan:connect(function(InputObject)
668
                if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
669
                        Debounces.isBoosting = true
670
                        Debounces.damageLevel = 10
671
                        Debounces.scalingDamage = true
672
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
673
                        setLerp(.15)
674
                        setJointCFrames({
675
                                CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
676
                                CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
677
                                CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
678
                                CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
679
                                CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
680
                                CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
681
                        })
682
                        local boostSpeed = 150
683
                        local boostSpeed = 250
684
                        local efx = Instance.new("Sound",c.Head)
685
                        efx.SoundId = "rbxassetid://200632875"
686
                        efx.Pitch = math.random(1100,1300)/1000
687
                        efx.Volume = .5
688
                        efx:Play()
689
                        spawn(function()
690
                                wait(5)
691
                                efx:Destroy()
692
                        end)
693
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
694
                        vel.P = 1e3
695
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
696
                        wait(.15)
697
                        vel.P = 1000
698
                        vel.MaxForce = Vector3.new(3000,0,3000)
699
                        vel.Velocity = Vector3.new()
700
                        wait(.3)
701
                        setLerp(.3)
702
                        setJointCFrames({
703
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
704
                                CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
705
                                CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
706
                                CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
707
                                CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
708
                                CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
709
                        })
710
                        wait(.2)
711
                        vel:Destroy()
712
                        Debounces.damageLevel = 0
713
                        Debounces.scalingDamage = false
714
                        Debounces.isBoosting = false
715
                end
716
        end)
717
718
        uinps.InputBegan:connect(function(InputObject)
719
                if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
720
                        local isLooping = true
721
                        uinps.InputEnded:connect(function(InputObject2)
722
                                if InputObject2.KeyCode == Enum.KeyCode.Q then
723
                                        isLooping = false
724
                                end
725
                        end)
726
                        while true do
727
                                if isLooping == false then
728
                                        break
729
                                end
730
                                Debounces.attackNumber = Debounces.attackNumber + 1
731
                                local aimPos = mouse.Hit.p
732
                                local head = Instance.new("Part",c)
733
                                head.Size = Vector3.new(12,.2,12)
734
                                head.CanCollide = false
735
                                head.Anchored = true
736
                                head.Transparency = 1
737
                                for i = 1,2 do
738
                                        local decal = Instance.new("Decal",head)
739
                                        decal.Texture = "rbxassetid://333659391"
740
                                        if i == 1 then
741
                                                decal.Face = Enum.NormalId.Top
742
                                        else
743
                                                decal.Face = Enum.NormalId.Bottom
744
                                        end
745
                                end
746
                                if Debounces.attackNumber%2 == 1 then
747
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
748
                                else
749
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
750
                                end
751
                                spawn(function()
752
                                        local timer = 0
753
                                        while rs.RenderStepped:wait() do
754
                                                if timer >= 1.55 then
755
                                                        break
756
                                                end
757
                                                head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
758
                                                timer = timer + 1/30/(Debounces.FPS/60)
759
                                        end
760
                                        head.CFrame = CFrame.new(head.CFrame.p,aimPos)
761
                                        local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
762
                                        local hit, pos = workspace:FindPartOnRay(ray,c)
763
                                        local dis = (head.CFrame.p - pos).magnitude
764
                                        local rayPart = Instance.new("Part",rayModel)
765
                                        rayPart.Material = "Neon"
766
                                        rayPart.FormFactor = "Custom"
767
                                        rayPart.BrickColor = BrickColor.new(1,1,1)
768
                                        rayPart.Anchored = true
769
                                        rayPart.CanCollide = false
770
                                        rayPart.Size = Vector3.new(7,7,dis + 400)
771
                                        local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
772
                                        rayPart.CFrame = rayCFrame
773
                                        head:Destroy()
774
                                end)
775
                                wait()
776
                                local s = Instance.new("Sound",head)
777
                                s.Volume = 1
778
                                s.SoundId = "rbxassetid://332223043"
779
                                s:Play()
780
                                wait(.04)
781
                        end
782
                end
783
        end)
784
785
        uinps.InputBegan:connect(function(InputObj)
786
                if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
787
                        Debounces.isAttacking = true
788
                        local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
789
                        local head = Instance.new("Part",c)
790
                        head.Size = Vector3.new(18,.2,18)
791
                        head.CanCollide = false
792
                        head.Anchored = true
793
                        head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
794
                        head.Transparency = 1
795
                        for i = 1,2 do
796
                                local decal = Instance.new("Decal",head)
797
                                decal.Texture = "rbxassetid://333659391"
798
                                if i == 1 then
799
                                        decal.Face = Enum.NormalId.Top
800
                                else
801
                                        decal.Face = Enum.NormalId.Bottom
802
                                end
803
                        end
804
                        setLerp(.1)
805
                        setJointCFrames({
806
                                CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
807
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
808
                                CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
809
                                CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
810
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
811
                                CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
812
                        })
813
                        spawn(function()
814
                                local timer = 0
815
                                while rs.RenderStepped:wait() do
816
                                        if timer >= 1.55/.8 then
817
                                                break
818
                                        end
819
                                        head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
820
                                        timer = timer + 1/30/(Debounces.FPS/60)
821
                                end
822
                                head.CFrame = CFrame.new(head.CFrame.p,aimPos)
823
                                local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
824
                                local hit, pos = workspace:FindPartOnRay(ray,c)
825
                                local dis = (head.CFrame.p - pos).magnitude
826
                                local rayPart = Instance.new("Part",rayModel)
827
                                rayPart.Material = "Neon"
828
                                rayPart.FormFactor = "Custom"
829
                                rayPart.Name = "Punch"
830
                                rayPart.BrickColor = BrickColor.new(255,170,0)
831
                                rayPart.Anchored = true
832
                                rayPart.CanCollide = false
833
                                rayPart.Size = Vector3.new(28,28,dis + 400)
834
                                local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
835
                                rayPart.CFrame = rayCFrame
836
                                head:Destroy()
837
                        end)
838
                        wait()
839
                        local s = Instance.new("Sound",head)
840
                        s.Volume = 1
841
                        s.SoundId = "rbxassetid://332223043"
842
                        s.Pitch = .8
843
                        s:Play()
844
                        wait(.75)
845
                        setLerp(.17)
846
                        setJointCFrames({
847
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
848
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
849
                                CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
850
                                CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
851
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
852
                                CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
853
                        })
854
                        wait(.5)
855
                        Debounces.isAttacking = false
856
                end
857
        end)
858
        
859
        reflect = function(d,n)
860
                local i, n = -1 * d.unit, n.unit
861
                local dot = n:Dot(i)
862
                return 2*dot*n - i
863
        end
864
865
        makeReflectionBeam = function(pos,look,isCrit)
866
                local ray = Ray.new(pos,look)
867
                local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
868
                local e = Instance.new("Part",rayModel)
869
                e.Anchored = true
870
                e.CanCollide = false
871
                e.BrickColor = BrickColor.new("Deep orange")
872
                e.Material = "Neon"
873
                e.FormFactor = "Custom"
874
                e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
875
                if isCrit == true then
876
                        e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
877
                        e.Name = "Punch"
878
                end
879
                e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
880
                local e = Instance.new("Sound",c)
881
                if isCrit == true then
882
                        e.Volume = .5
883
                else
884
                        e.Volume = .3
885
                        e.Pitch = 1.5
886
                end
887
                e.SoundId = "rbxassetid://200632875"
888
                e:Play()
889
                spawn(function()
890
                        wait(6)
891
                        e:Destroy()
892
                end)
893
                wait(.05)
894
                if hit ~= nil then
895
                        newDir = reflect(look.unit,norm,isCrit)
896
                        makeReflectionBeam(hitpos,newDir * 999,isCrit)
897
                end
898
        end
899
900
        uinps.InputBegan:connect(function(InputObject)
901
                if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
902
                        local isLooping = true
903
                        uinps.InputEnded:connect(function(InputObject2)
904
                                if InputObject2.KeyCode == Enum.KeyCode.Q then
905
                                        isLooping = false
906
                                end
907
                        end)
908
                        while true do
909
                                if isLooping == false then
910
                                        break
911
                                end
912
                                Debounces.attackNumber = Debounces.attackNumber + 1
913
                                local aimPos = mouse.Hit.p
914
                                local head = Instance.new("Part",c)
915
                                head.Size = Vector3.new(12,.2,12)
916
                                head.CanCollide = false
917
                                head.Anchored = true
918
                                head.Transparency = 1
919
                                for i = 1,2 do
920
                                        local decal = Instance.new("Decal",head)
921
                                        decal.Texture = "rbxassetid://333659391"
922
                                        if i == 1 then
923
                                                decal.Face = Enum.NormalId.Top
924
                                        else
925
                                                decal.Face = Enum.NormalId.Bottom
926
                                        end
927
                                end
928
                                if Debounces.attackNumber%2 == 1 then
929
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
930
                                else
931
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
932
                                end
933
                                spawn(function()
934
                                        local timer = 0
935
                                        while rs.RenderStepped:wait() do
936
                                                if timer >= 1.55 then
937
                                                        break
938
                                                end
939
                                                head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
940
                                                timer = timer + 1/30/(Debounces.FPS/60)
941
                                        end
942
                                        head.CFrame = CFrame.new(head.CFrame.p,aimPos)
943
                                        head:Destroy()
944
                                        makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)        
945
                                end)
946
                                
947
                                wait()
948
                                local s = Instance.new("Sound",head)
949
                                s.Volume = 1
950
                                s.SoundId = "rbxassetid://332223043"
951
                                s.Pitch = 1.02
952
                                s:Play()
953
                                wait(.2)
954
                        end
955
                end
956
        end)
957
958
        uinps.InputBegan:connect(function(InputObj)
959
                if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
960
                        Debounces.isAttacking = true
961
                        local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
962
                        local head = Instance.new("Part",c)
963
                        head.Size = Vector3.new(18,.2,18)
964
                        head.CanCollide = false
965
                        head.Anchored = true
966
                        head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
967
                        head.Transparency = 1
968
                        for i = 1,2 do
969
                                local decal = Instance.new("Decal",head)
970
                                decal.Texture = "rbxassetid://333659391"
971
                                if i == 1 then
972
                                        decal.Face = Enum.NormalId.Top
973
                                else
974
                                        decal.Face = Enum.NormalId.Bottom
975
                                end
976
                        end
977
                        setLerp(.1)
978
                        setJointCFrames({
979
                                CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
980
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
981
                                CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
982
                                CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
983
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
984
                                CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
985
                        })
986
                        spawn(function()
987
                                local timer = 0
988
                                while rs.RenderStepped:wait() do
989
                                        if timer >= 1.55/.8 then
990
                                                break
991
                                        end
992
                                        head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
993
                                        timer = timer + 1/30/(Debounces.FPS/60)
994
                                end
995
                                head.CFrame = CFrame.new(head.CFrame.p,aimPos)
996
                                head:Destroy()
997
                                makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
998
                        end)
999
                        wait()
1000
                        local s = Instance.new("Sound",head)
1001
                        s.Volume = 2
1002
                        s.SoundId = "rbxassetid://332223043"
1003
                        s.Pitch = .8
1004
                        s:Play()
1005
                        wait(.75)
1006
                        setLerp(.17)
1007
                        setJointCFrames({
1008
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
1009
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
1010
                                CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
1011
                                CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
1012
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
1013
                                CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
1014
                        })
1015
                        wait(.5)
1016
                        Debounces.isAttacking = false
1017
                end
1018
        end)
1019
1020
        uinps.InputBegan:connect(function(InputObj)
1021
                if InputObj.KeyCode == Enum.KeyCode.Slash then
1022
                        local finishEvent = nil
1023
                        Debounces.isTyping = true
1024
                        finishEvent = uinps.InputBegan:connect(function(InputObj)
1025
                                if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
1026
                                        Debounces.isTyping = false
1027
                                        finishEvent:disconnect()
1028
                                end
1029
                        end)
1030
                end
1031
        end)
1032
1033
        uinps.InputBegan:connect(function(InputObj)
1034
                if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1035
                        Debounces.isSprinting = true
1036
                end
1037
        end)
1038
1039
        uinps.InputEnded:connect(function(InputObj)
1040
                if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1041
                        Debounces.isSprinting = false
1042
                end
1043
        end)
1044
1045
        rs.RenderStepped:connect(function()
1046
                Debounces.FPS = 1/rs.RenderStepped:wait()
1047
                local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
1048
                if Debounces.isPassive == false then
1049
                        fight:Pause()
1050
                        sans:Resume()
1051
                        efxBlock.Transparency = 1
1052
                else
1053
                        fight:Resume()
1054
                        sans:Pause()
1055
                        efxBlock.Transparency = 0
1056
                end
1057
                for i,v in pairs (rayModel:children()) do
1058
                        if v.Transparency >= 1 then
1059
                                v:Destroy()
1060
                        else
1061
                                v.CanCollide = true
1062
                                local parts = v:GetTouchingParts()
1063
                                v.CanCollide = false
1064
                                for i = 1,#parts do
1065
                                        if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
1066
                                                parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
1067
                                        elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
1068
                                                parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
1069
                                        end
1070
1071
1072
1073
                                end
1074
                                v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
1075
                                v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
1076
                        end
1077
                end
1078
                for i = 1,#Joints do
1079
                        Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
1080
                end
1081
                light.Brightness = math.random(1,4)
1082
        end)
1083
1084
1085
-- ~Papyrus
1086
-- ~Papyrus 2016 
1087
1088
1089
-- ~ Papyrus 2016