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