View difference between Paste ID: bFsydSV5 and QKjtjs07
SHOW: | | - or go back to the newest paste.
1
a--[[
2
~~ GENOCIDE SANS SCRIPT ~~
3
4
VERSION V3.0.3 (FINAL)
5
6
HowToUse:
7
GSans is compatable with all level 7s (Apart from RBX!PWN, 2big4rbx)
8
You can use it in ScriptBuilder by using bot/hastebin
9
Paste in console and click exe,
10
The script is automatically sent to localplayer, so no worries,
11
NOTE:
12
Deselect Telekinesis before using the attacks
13
CONTROLS:
14
Main Script Controls:
15
G = Genocide Mode (Music and eye)
16
K = Attack mode (You need to push this before most attacks)
17
Q = Basic attack
18
E = Ultra attack
19
Shift + W/A/S/D = Dodge
20
J = Remove Genocide Mode
21
Telek Controls:
22
Click + Drag = Use Telekinesis
23
Click + G = Explode ball (death on impact)
24
ect ect, find them as you go along i'm lazy lolol
25
Whats New?:
26
*1st attempt in adding skull (failed lol)
27
*Patched some more bugs
28
*1st attempt in adding bones (failed lol)
29
*removed ball spawning
30
*Leaked
31
- AzuLX
32
MSG OF THE DAY
33
*Leaked
34
35
Genocide Sans script from the Undertale game Script is edited by Xeradius, Isaac and Pingu.
36
Full credit to whoever made the base
37
Please do not leak this script.
38
Full credit to 'KrystalTeam' and 'rocky2u' for the Telek script.
39
TeamAzuL2K16
40
]]--
41
ID = '319332735'
42
Looped = false
43
44
Music=Instance.new("Sound" ,workspace)
45
Music.Name = "Music"
46
if Looped == true then
47
Music.Looped = true
48
end
49
Music.SoundId = "http://roblox.com/asset/?id=319332735"
50
Music:Play() --Demonic Laugh. (Omega Flowey) You can remove if you wish. Its very loud (To not make play, remove 'Music:Play()')
51
52
--full credit to krystal and rocky2u for below
53
Fire = false
54
55
Sparkles = false
56
57
Box = false
58
59
local Players = game.Players
60
61-
local Player = Players.LocalPlayer
61+
local Player = Players.Dogeness33
62
63
local Mouse = Player:GetMouse()
64
65
	
66
local dist = 25
67
68
local trans = 0
69
70
local dwn=false
71
72
local Bin = Instance.new("HopperBin") 
73
74
Bin.Name = "Sans' Telekinesis" 
75
76
Bin.Parent = Player.Backpack
77
78
79
local ScreenGUI = Instance.new("ScreenGui", Player.PlayerGui)
80
81
local Color = Instance.new("Color3Value", ScreenGUI)
82
83
local ColorValue = Color.Value
84
85
local Blue = Instance.new("TextButton", ScreenGUI)
86
87
local Red = Instance.new("TextButton", ScreenGUI)
88
89
local Green = Instance.new("TextButton", ScreenGUI)
90
91
local Yellow = Instance.new("TextButton", ScreenGUI)
92
93
local Pink = Instance.new("TextButton", ScreenGUI)
94
95
local LightBlue = Instance.new("TextButton", ScreenGUI)
96
97
local White = Instance.new("TextButton", ScreenGUI)
98
99
local FireTrue = Instance.new("TextButton", ScreenGUI)
100
101
local FireFalse = Instance.new("TextButton", ScreenGUI)
102
103
local SparklesTrue = Instance.new("TextButton", ScreenGUI)
104
105
local SparklesFalse = Instance.new("TextButton", ScreenGUI)
106
107
local BoxTrue = Instance.new("TextButton", ScreenGUI)
108
109
local BoxFalse = Instance.new("TextButton", ScreenGUI)
110
111
Color.Name = "Color"
112
113
Blue.BackgroundColor3 = BrickColor.new("Bright blue").Color
114
115
Blue.Transparency = 0.5
116
117
Blue.Size = UDim2.new(0, 20 ,0, 20)
118
119
Blue.Position = UDim2.new(1, -35, 1, -35)
120
121
Blue.Name = "Blue"
122
123
Blue.Text = ""
124
125
Blue.Visible = false
126
127
Red.BackgroundColor3 = BrickColor.new("Bright red").Color
128
129
Red.Transparency = 0.5
130
131
Red.Size = UDim2.new(0, 20 ,0, 20)
132
133
Red.Position = UDim2.new(1,-65, 1, -35)
134
135
Red.Name = "Red"
136
137
Red.Text = ""
138
139
Red.Visible = false
140
141
Green.BackgroundColor3 = BrickColor.new("Bright green").Color
142
143
Green.Transparency = 0.5
144
145
Green.Size = UDim2.new(0, 20 ,0, 20)
146
147
Green.Position = UDim2.new(1,-95, 1, -35)
148
149
Green.Name = "Green"
150
151
Green.Text = ""
152
153
Green.Visible = false
154
155
Yellow.BackgroundColor3 = BrickColor.new("New Yeller").Color
156
157
Yellow.Transparency = 0.5
158
159
Yellow.Size = UDim2.new(0, 20 ,0, 20)
160
161
Yellow.Position = UDim2.new(1,-125, 1, -35)
162
163
Yellow.Name = "Yellow"
164
165
Yellow.Text = ""
166
167
Yellow.Visible = false
168
169
Pink.BackgroundColor3 = BrickColor.new("Hot pink").Color
170
171
Pink.Transparency = 0.5
172
173
Pink.Size = UDim2.new(0, 20 ,0, 20)
174
175
Pink.Position = UDim2.new(1,-155, 1, -35)
176
177
Pink.Name = "Pink"
178
179
Pink.Text = ""
180
181
Pink.Visible = false
182
183
LightBlue.BackgroundColor3 = BrickColor.new("Cyan").Color
184
185
LightBlue.Transparency = 0.5
186
187
LightBlue.Size = UDim2.new(0, 20 ,0, 20)
188
189
LightBlue.Position = UDim2.new(1,-185, 1, -35)
190
191
LightBlue.Name = "LightBlue"
192
193
LightBlue.Text = ""
194
195
LightBlue.Visible = false
196
197
White.BackgroundColor3 = BrickColor.new("White").Color
198
199
White.Transparency = 0.5
200
201
White.Size = UDim2.new(0, 20 ,0, 20)
202
203
White.Position = UDim2.new(1,-215, 1, -35)
204
205
White.Name = "White"
206
207
White.Text = ""
208
209
White.Visible = false
210
211
FireFalse.BackgroundColor3 = BrickColor.new("Really black").Color
212
213
FireFalse.Transparency = 0.5
214
215
FireFalse.Size = UDim2.new(0, 50 ,0, 20)
216
217
FireFalse.Position = UDim2.new(1,-65, 1, -65)
218
219
FireFalse.Name = "FireFalse"
220
221
FireFalse.Text = "Fire: F"
222
223
FireFalse.Visible = false
224
225
FireFalse.FontSize = "Size12"
226
227
FireFalse.Font = "ArialBold"
228
229
FireFalse.TextColor = BrickColor.new(255,255,255)
230
231
FireFalse.TextTransparency = 0
232
233
FireTrue.BackgroundColor3 = BrickColor.new("Really black").Color
234
235
FireTrue.Transparency = 0.5
236
237
FireTrue.Size = UDim2.new(0, 50 ,0, 20)
238
239
FireTrue.Position = UDim2.new(1,-65, 1, -65)
240
241
FireTrue.Name = "FireTrue"
242
243
FireTrue.Text = "Fire: T"
244
245
FireTrue.Visible = false
246
247
FireTrue.FontSize = "Size12"
248
249
FireTrue.Font = "ArialBold"
250
251
FireTrue.TextColor = BrickColor.new(255,255,255)
252
253
FireTrue.TextTransparency = 0
254
255
SparklesTrue.BackgroundColor3 = BrickColor.new("Really black").Color
256
257
SparklesTrue.Transparency = 0.5
258
259
SparklesTrue.Size = UDim2.new(0, 50 ,0, 20)
260
261
SparklesTrue.Position = UDim2.new(1,-125, 1, -65)
262
263
SparklesTrue.Name = "SparklesTrue"
264
265
SparklesTrue.Text = "SP: T"
266
267
SparklesTrue.Visible = false
268
269
SparklesTrue.FontSize = "Size12"
270
271
SparklesTrue.Font = "ArialBold"
272
273
SparklesTrue.TextColor = BrickColor.new(255,255,255)
274
275
SparklesTrue.TextTransparency = 0
276
277
SparklesFalse.BackgroundColor3 = BrickColor.new("Really black").Color
278
279
SparklesFalse.Transparency = 0.5
280
281
SparklesFalse.Size = UDim2.new(0, 50 ,0, 20)
282
283
SparklesFalse.Position = UDim2.new(1,-125, 1, -65)
284
285
SparklesFalse.Name = "SparklesFalse"
286
287
SparklesFalse.Text = "SP: F"
288
289
SparklesFalse.Visible = false
290
291
SparklesFalse.FontSize = "Size12"
292
293
SparklesFalse.Font = "ArialBold"
294
295
SparklesFalse.TextColor = BrickColor.new(255,255,255)
296
297
SparklesFalse.TextTransparency = 0
298
299
BoxTrue.BackgroundColor3 = BrickColor.new("Really black").Color
300
301
BoxTrue.Transparency = 0.5
302
303
BoxTrue.Size = UDim2.new(0, 50 ,0, 20)
304
305
BoxTrue.Position = UDim2.new(1,-185, 1, -65)
306
307
BoxTrue.Name = "BoxTrue"
308
309
BoxTrue.Text = "Box: T"
310
311
BoxTrue.Visible = false
312
313
BoxTrue.FontSize = "Size12"
314
315
BoxTrue.Font = "ArialBold"
316
317
BoxTrue.TextColor = BrickColor.new(255,255,255)
318
319
BoxTrue.TextTransparency = 0
320
321
BoxFalse.BackgroundColor3 = BrickColor.new("Really black").Color
322
323
BoxFalse.Transparency = 0.5
324
325
BoxFalse.Size = UDim2.new(0, 50 ,0, 20)
326
327
BoxFalse.Position = UDim2.new(1,-185, 1, -65)
328
329
BoxFalse.Name = "BoxFalse"
330
331
BoxFalse.Text = "Box: F"
332
333
BoxFalse.Visible = false
334
335
BoxFalse.FontSize = "Size12"
336
337
BoxFalse.Font = "ArialBold"
338
339
BoxFalse.TextColor = BrickColor.new(255, 255, 255)
340
341
BoxFalse.TextTransparency = 0
342
343
local Credits = Instance.new("ScreenGui",Player.PlayerGui)
344
345
local Text = Instance.new("TextLabel",Credits)
346
347
Text.BackgroundTransparency = 1
348
349
Text.Position = UDim2.new(0, 0, 1, -25)
350
351
Text.Size = UDim2.new(0, 200, 0, 25)
352
353
Text.Font = "SourceSans"
354
355
Text.FontSize = "Size24"
356
357
Text.Text = "By AzuLX, Issac and Pingu - GSans Script."
358
359
Text.TextColor3 = Color3.new(255, 255, 255)
360
361
Text.TextXAlignment = "Left"
362
363
local bawl = Instance.new("Part", game.Lighting)
364
365
bawl.Name="TelekinesisGrab"
366
367
local bp = Instance.new("BodyPosition", bawl)
368
369
local w = Instance.new("Weld", bawl) 
370
371
function onButton1Down(mouse)
372
	
373
	bawl.Size = Vector3.new(2,2,2) 
374
	
375
	bawl.Material="Neon"
376
	
377
	bawl.Shape=0
378
	
379
	bawl.Transparency=trans
380
	
381
	bawl.Name="TelekinesisGrab"
382
	
383
	bawl.CanCollide = false  
384
	
385
	bawl.Parent = game.Workspace
386
	
387
	w.Parent = bawl 
388
	
389
	w.Name = "Weld"
390
	
391
	bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) 
392
	
393
	bp.Parent = bawl
394
	
395
	bp.Name="lolx"
396
	
397
	bawl.Parent = workspace
398
	
399
	if mouse ~= nil then
400
	
401
		if mouse.Target ~= nil then
402
	
403
			w.Part0 = mouse.Target 
404
			
405
			w.Part1 = bawl 
406
			
407
			dwn = true
408
	
409
			if mouse.Target.Parent:FindFirstChild("Humanoid") then
410
				
411
				mouse.Target.Parent:FindFirstChild("Humanoid").PlatformStand=true
412
				
413
			else
414
				
415
				print('no humanoid')
416
				
417
			end
418
	
419
		end
420
	
421
	end
422
	
423
	spawn(function()
424
		
425
		while dwn == true do 
426
			
427
			ypcall(function()		
428
			
429
				bp.Parent = bawl 
430
				
431
				bp.position = Player.Character.Torso.Position + (mouse.Hit.lookVector*dist)
432
				
433
				wait()
434
			
435
			end)
436
			
437
	    end
438
	
439
	end)
440
	
441
end
442
443
function onButton1Up(mouse)
444
		
445
	dwn=false
446
447
	if bawl ~= nil then
448
			
449
		bawl.Parent=game.Lighting 
450
			
451
	else 
452
			
453
		print('not found') 
454
			
455
	end
456
	
457
end 
458
	
459
function onKeyDown(key, mouse) 
460
		
461
	key:lower() 
462
		
463
	if key == "r" then 
464
			
465
		if bawl ~= nil then
466
				
467
			--bawl.Parent=nil
468
				
469
		end
470
			
471
	elseif key == "e" then 
472
			
473
		local p = Instance.new("Part", workspace)
474
			
475
		p.Size = Vector3.new(3,3,3)
476
			
477
		p.Material = "Neon"
478
			
479
		p.Position = mouse.Hit.p + Vector3.new(0,2,0) 
480
			
481
		p.BrickColor = bawl.BrickColor
482
			
483
		p.Shape = "Ball"
484
			
485
		p.BottomSurface = "Smooth"
486
			
487
		p.TopSurface = "Smooth"
488
			
489
	elseif key == "h" then
490
			
491
		if bawl ~= nil then
492
				
493
			if bawl:FindFirstChild("Weld") ~= nil then
494
				
495
				if bawl:FindFirstChild("Weld").Part0 ~= nil then
496
				
497
					bawl:FindFirstChild("Weld").Part0.Anchored=false
498
				
499
				end
500
				
501
			end
502
				
503
		end
504
			
505
	elseif key == "g" then
506
			
507
		if bawl ~= nil then
508
509
			local x = Instance.new("Explosion",workspace)
510
511
			x.Position=bawl.Position
512
				
513
		else
514
				
515
			print('some sort of error')
516
				
517
		end
518
			
519
	elseif key == "x" then 
520
			
521
		dist=dist - 5
522
			
523
	elseif key == "c" then 
524
			
525
		dist=15
526
			
527
	elseif key == "v" then 
528
			
529
		dist=100
530
			
531
	elseif key == "z" then 
532
			
533
		dist=dist + 5
534
			
535
	end  
536
		
537
end
538
539
FireX = 0
540
541
FireY = 0
542
543
FireZ = 0
544
545
SPX = 0
546
547
SPY = 0
548
549
SPZ = 0
550
551
BoxColor = "White"
552
553
FireFalse.MouseButton1Down:connect(function ()
554
	
555
	local Fire = Instance.new("Fire", bawl)
556
    Fire.Color = Color3.new(FireX,FireY,FireZ)
557
558
    Player.PlayerGui.ScreenGui.FireFalse.Visible = false
559
560
    Player.PlayerGui.ScreenGui.FireTrue.Visible = true
561
562
    Fire.Color = Color3.new(FireX,FireY,FireZ)
563
	
564
end)
565
566
FireTrue.MouseButton1Down:connect(function ()
567
	
568
	bawl.Fire:remove()
569
570
    Player.PlayerGui.ScreenGui.FireFalse.Visible = true
571
572
    Player.PlayerGui.ScreenGui.FireTrue.Visible = false
573
	
574
end)
575
576
SparklesFalse.MouseButton1Down:connect(function ()
577
	
578
	local SP = Instance.new("Sparkles", bawl)
579
    SP.Color = Color3.new(SPX,SPY,SPZ)
580
581
    Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
582
583
    Player.PlayerGui.ScreenGui.SparklesTrue.Visible = true
584
	
585
end)
586
587
SparklesTrue.MouseButton1Down:connect(function ()
588
	
589
	bawl.Sparkles:remove()
590
591
    Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
592
593
    Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
594
	
595
end)
596
597
BoxFalse.MouseButton1Down:connect(function ()
598
	
599
	local Box = Instance.new("SelectionBox", bawl)
600
    Box.Color = BrickColor.new(BoxColor)
601
    Box.Adornee = Box.Parent
602
603
    Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
604
605
    Player.PlayerGui.ScreenGui.BoxTrue.Visible = true
606
	
607
end)
608
609
BoxTrue.MouseButton1Down:connect(function ()
610
	
611
	bawl.SelectionBox:remove()
612
613
    Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
614
615
    Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
616
	
617
end)
618
	
619
Blue.MouseButton1Down:connect(function ()
620
621
	if bawl ~= nil then
622
		
623
		bawl.BrickColor = BrickColor.new("Bright blue")
624
		
625
		FireX = 0
626
		FireY = 0
627
		FireZ = 255
628
		
629
		SPX = 0
630
		SPY = 0
631
		SPZ = 255
632
		
633
		BoxColor = "Bright blue"
634
		
635
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,0,255)
636
		
637
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,0,255)
638
		
639
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright blue")
640
641
	end
642
643
end)
644
	
645
Red.MouseButton1Down:connect(function ()
646
		
647
	if bawl ~= nil then
648
			
649
		bawl.BrickColor = BrickColor.new("Bright red")
650
		
651
		FireX = 255
652
		FireY = 0
653
		FireZ = 0
654
		
655
		SPX = 255
656
		SPY = 0
657
		SPZ = 0
658
		
659
		BoxColor = "Bright red"
660
		
661
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,0)
662
		
663
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,0)
664
		
665
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright red")
666
667
	end
668
		
669
end)
670
	
671
Green.MouseButton1Down:connect(function ()
672
673
	if bawl ~= nil then
674
675
		bawl.BrickColor = BrickColor.new("Bright green")
676
		
677
		FireX = 0
678
		FireY = 255
679
		FireZ = 0
680
		
681
		SPX = 0
682
		SPY = 255
683
		SPZ = 0
684
		
685
		BoxColor = "Bright green"
686
		
687
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,0)
688
		
689
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,0)
690
		
691
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Bright green")
692
		
693
	end
694
	
695
end)
696
	
697
Yellow.MouseButton1Down:connect(function ()
698
		
699
	if bawl ~= nil then
700
			
701
		bawl.BrickColor = BrickColor.new("New Yeller")
702
		
703
		FireX = 255
704
		FireY = 255
705
		FireZ = 0
706
		
707
		SPX = 255
708
		SPY = 255
709
		SPZ = 0
710
		
711
		BoxColor = "New Yeller"
712
		
713
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,0)
714
		
715
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,0)
716
		
717
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("New Yeller")
718
			
719
	end
720
		
721
end)
722
	
723
Pink.MouseButton1Down:connect(function ()
724
		
725
	if bawl ~= nil then
726
			
727
		bawl.BrickColor = BrickColor.new("Hot pink")
728
		
729
		FireX = 255
730
		FireY = 0
731
		FireZ = 255
732
		
733
		SPX = 255
734
		SPY = 0
735
		SPZ = 255
736
		
737
		BoxColor = "Hot pink"
738
		
739
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,0,255)
740
		
741
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,0,255)
742
		
743
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Hot pink")
744
		
745
	end
746
		
747
end)
748
	
749
LightBlue.MouseButton1Down:connect(function ()
750
		
751
	if bawl ~= nil then
752
			
753
		bawl.BrickColor = BrickColor.new("Cyan")
754
		
755
		FireX = 0
756
		FireY = 255
757
		FireZ = 255
758
		
759
		SPX = 0
760
		SPY = 255
761
		SPZ = 255
762
		
763
		BoxColor = "Cyan"
764
		
765
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(0,255,255)
766
		
767
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(0,255,255)
768
		
769
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("Cyan")
770
			
771
	end
772
		
773
end)
774
    
775
	
776
White.MouseButton1Down:connect(function ()
777
778
	if bawl ~= nil then
779
			
780
		bawl.BrickColor = BrickColor.new("White")
781
		
782
		FireX = 255
783
		FireY = 255
784
		FireZ = 255
785
		
786
		SPX = 255
787
		SPY = 255
788
		SPZ = 255
789
		
790
		BoxColor = "White"
791
		
792
		game.Lighting.TelekinesisGrab.Fire.Color = Color3.new(255,255,255)
793
		
794
		game.Lighting.TelekinesisGrab.Sparkles.Color = Color3.new(255,255,255)
795
		
796
		game.Lighting.TelekinesisGrab.SelectionBox.Color = BrickColor.new("White")
797
			
798
	end
799
	
800
end)
801
802
Bin.Selected:connect(function ()
803
	
804
	Fire = false
805
	
806
	Player.PlayerGui.ScreenGui.Blue.Visible = true
807
	
808
	Player.PlayerGui.ScreenGui.Red.Visible = true
809
	
810
	Player.PlayerGui.ScreenGui.Green.Visible = true
811
	
812
	Player.PlayerGui.ScreenGui.Yellow.Visible = true
813
	
814
	Player.PlayerGui.ScreenGui.Pink.Visible = true
815
	
816
	Player.PlayerGui.ScreenGui.LightBlue.Visible = true
817
	
818
	Player.PlayerGui.ScreenGui.White.Visible = true
819
	
820
	Player.PlayerGui.ScreenGui.FireFalse.Visible = true
821
	
822
	Player.PlayerGui.ScreenGui.FireTrue.Visible = false
823
	
824
	Player.PlayerGui.ScreenGui.SparklesFalse.Visible = true
825
	
826
	Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
827
	
828
	Player.PlayerGui.ScreenGui.BoxFalse.Visible = true
829
	
830
	Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
831
	
832
end)
833
834
Bin.Deselected:connect(function ()
835
	
836
	Fire = false
837
	
838
	Player.PlayerGui.ScreenGui.Blue.Visible = false
839
	
840
	Player.PlayerGui.ScreenGui.Red.Visible = false
841
	
842
	Player.PlayerGui.ScreenGui.Green.Visible = false
843
	
844
	Player.PlayerGui.ScreenGui.Yellow.Visible = false
845
	
846
	Player.PlayerGui.ScreenGui.Pink.Visible = false
847
	
848
	Player.PlayerGui.ScreenGui.LightBlue.Visible = false
849
	
850
	Player.PlayerGui.ScreenGui.White.Visible = false
851
	
852
	Player.PlayerGui.ScreenGui.FireFalse.Visible = false
853
	
854
	Player.PlayerGui.ScreenGui.FireTrue.Visible = false
855
	
856
	Player.PlayerGui.ScreenGui.SparklesFalse.Visible = false
857
	
858
	Player.PlayerGui.ScreenGui.SparklesTrue.Visible = false
859
	
860
	Player.PlayerGui.ScreenGui.BoxFalse.Visible = false
861
	
862
	Player.PlayerGui.ScreenGui.BoxTrue.Visible = false
863
	
864
end)
865
	
866
Bin.Selected:connect(function(mouse)
867
	
868
	mouse.Button1Down:connect(function() onButton1Down(mouse) end)
869
	
870
	mouse.Button1Up:connect(function() onButton1Up(mouse) end)
871
	
872
	mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
873
	
874
end)
875
print 'Telek script has loaded, credit to Krystal and rocky2u'
876
dot = false
877
des = false
878
local ChatService = game:GetService("Chat")
879
local player = game.Players.LocalPlayer
880
char = player.Character
881
hum = char.Humanoid
882
torso = hum.Torso
883
lig = Instance.new("PointLight",player.Character.Torso)
884
lig.Color=Color3.new(0,255,255)
885
m=player:GetMouse()
886
bb = Instance.new("BillboardGui",player.Character.Head)
887
bb.Enabled = true
888
bb.AlwaysOnTop = true
889
bb.Size = UDim2.new(0,200,0,50)
890
bb.StudsOffset = Vector3.new(0,1,0)
891
gui=Instance.new("TextBox",bb)
892
gui.Text = "* "
893
gui.Size = UDim2.new(0,133,0,45)
894
gui.Position=UDim2.new(0,57,0,-40)
895
gui.TextColor3 = Color3.new(255,255,255)
896
gui.BackgroundColor3=Color3.new(0,0,0)
897
gui.TextWrapped = true
898
gui.TextScaled = true
899
gui.TextXAlignment = "Left"
900
gui.TextYAlignment = "Top"
901
gui.Visible = false
902
gui.BorderColor3 = Color3.new(0,0,0)
903
904
gui1=Instance.new("TextButton",bb)
905
gui1.Position=UDim2.new(0,5,0,-43)
906
gui1.Size = UDim2.new(0,190,0,51)
907
908
gui1.TextColor3 = Color3.new(255,255,255)
909
gui1.BackgroundColor3=Color3.new(255,255,255)
910
911
gui1.Visible = false
912
img = Instance.new("ImageLabel",bb)
913
img.Size = UDim2.new(0,46,0,47)
914
img.Position = UDim2.new(0,10,0,-41)
915
img.Image = "rbxassetid://388166921"
916
img.BorderColor3 = Color3.new(0,0,0)
917
img.Visible = false
918
asd = Instance.new("Sound",player.Character.Torso)
919
asd.SoundId = "http://www.roblox.com/asset/?id = 358280695"
920
921
asd1 = Instance.new("Sound",player.Character.Torso)
922
asd1.SoundId = "http://www.roblox.com/asset/?id = 358280695"
923
924
asd2 = Instance.new("Sound",player.Character.Torso)
925
asd2.SoundId = "http://www.roblox.com/asset/?id = 306370481"
926
asd2.Looped = true
927
asd3 = Instance.new("Sound",player.Character.Torso)
928
asd3.SoundId = "http://www.roblox.com/asset/?id = 316014309"
929
asd3.Looped = true
930
asd4 = Instance.new("Sound",player.Character.Torso)
931
asd4.SoundId = "http://www.roblox.com/asset/?id = 388938813"
932
asd4.Looped = false
933
asd5 = Instance.new("Sound",player.Character.Torso)
934
asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
935
asd5.Looped = true
936
dunkd = Instance.new("Sound",player.Character.Torso)
937
dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
938
dunkd.Looped = false
939
function play(play)
940
asd:Play()
941
asd1:Play()
942
end
943
eye = Instance.new("Part",player.Character)
944
eye.BrickColor = BrickColor.new("Toothpaste")
945
eye.Material = "Neon"
946
eye.FormFactor = 3
947
eye.Shape = "Ball"
948
eye.Size = Vector3.new(0.37,0.37,0.1)
949
weld = Instance.new("Weld",eye)
950
weld.Part0 = eye
951
weld.Part1 = player.Character.Head
952
weld.C0 = CFrame.new(0.1,-0.2,0.45)
953
eye.Transparency = 1
954
-- listen for their chatting
955
player.Chatted:connect(function(message)
956
a = string.len(message)
957
gui.Text = "* "
958
gui.Visible = true
959
gui1.Visible = true
960
des = false
961
img.Visible = true
962
print(a)
963
if dot == false then
964
for i = 1,string.len(message) do wait(0.07)
965
gui.Text =gui.Text..message:sub(i,i)
966
967
play()
968
end
969
end
970
971
des = true
972
end)
973
m.KeyDown:connect(function(k)
974
if k == "g" then
975
asd2:Play()
976
eye.Transparency = 0
977
978
end
979
end)
980
m.KeyDown:connect(function(k)
981
if k == "p" then
982
eye.Transparency = 1
983
asd3:Play()
984
end
985
end)
986
m.KeyDown:connect(function(k)
987
if k == "r" then
988
eye.Transparency = 0
989
asd4:Play()
990
end
991
end)
992
m.KeyDown:connect(function(k)
993
if k == "q" then
994
eye.Transparency = 1
995
asd5:Play()
996
end
997
end)
998
m.KeyDown:connect(function(k)
999
if k == "z" then
1000
1001
img.Image = "rbxassetid://388167098"
1002
end
1003
end)
1004
m.KeyDown:connect(function(k)
1005
if k == "c" then
1006
img.Image = "rbxassetid://388166921"
1007
end
1008
end)
1009
m.KeyDown:connect(function(k)
1010
if k == "n" then
1011
img.Image = "rbxassetid://388166991"
1012
end
1013
end)
1014
m.KeyDown:connect(function(k)
1015
if k == "b" then
1016
img.Image = "rbxassetid://378060690"
1017
end
1018
end)
1019
m.KeyDown:connect(function(k)
1020
if k == "m" then
1021
img.Image = "rbxassetid://378609498"
1022
end
1023
end)
1024
m.KeyDown:connect(function(k)
1025
if k == "v" then
1026
img.Image = "rbxassetid://388166961"
1027
end
1028
end)
1029
m.KeyDown:connect(function(k)
1030
if k == "h" then
1031
img.Image = "rbxassetid://378577428"
1032
end
1033
end)
1034
m.KeyDown:connect(function(k)
1035
if k == "j" then
1036
img.Image = "rbxassetid://388167116"
1037
end
1038
end)
1039
m.KeyDown:connect(function(k)
1040
if k == "l" then
1041
img.Image = "rbxassetid://388167154"
1042
print("You take your very last breath...")
1043
asdd = Instance.new("Sound",player.Character.Torso)
1044
asdd.SoundId = "http://www.roblox.com/asset/?id = 357417055"
1045
asdd.Looped = false
1046
spawn(function()
1047
wait()
1048
asdd:Play()
1049
end)
1050
wait(2)
1051
asddd = Instance.new("Sound",player.Character.Torso)
1052
asddd.SoundId = "http://www.roblox.com/asset/?id = 387183672"
1053
asddd.Looped = false
1054
spawn(function()
1055
wait()
1056
asddd:Play()
1057
end)
1058
wait(2)
1059
asdded = Instance.new("Sound",player.Character.Torso)
1060
asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
1061
asdded.Looped = false
1062
spawn(function()
1063
wait()
1064
asdded:Play()
1065
end)
1066
char:BreakJoints()
1067
end
1068
end) 
1069
m.KeyDown:connect(function(k)
1070
if k == "x" then
1071
if des == true then
1072
gui.Visible = false
1073
gui.Text = "* "
1074
gui1.Visible = false
1075
img.Visible = false
1076
end
1077
end
1078
end)
1079
m.KeyDown:connect(function(k)
1080
if k == "f" then
1081
asd3:Stop()
1082
asd2:Stop()
1083
asd4:Stop()
1084
dunkd:Stop()
1085
eye.Transparency = 1
1086
asd5:Stop()
1087
end
1088
end)
1089
m.KeyDown:connect(function(k)
1090
if k == "u" then
1091
dunkd = Instance.new("Sound",player.Character.Torso)
1092
dunkd.SoundId = "http://www.roblox.com/asset/?id = 333078694"
1093
dunkd.Looped = false
1094
dunkd:Play()
1095
end
1096
end)
1097
m.KeyDown:connect(function(k)
1098
if k == "y" then
1099
img.Image = "rbxassetid://378198656"
1100
end
1101
end)
1102
-- my god...
1103
-- Suck_HiyaThere moves to arizona
1104
1105
--------------------------------------------------------
1106
1107
        pls = game:GetService'Players'
1108
        rs = game:GetService'RunService'
1109
        uinps = game:GetService'UserInputService'
1110
        lp = pls.LocalPlayer
1111
        mouse = lp:GetMouse()
1112
        c = lp.Character
1113
        human = c.Humanoid
1114
        human.MaxHealth = 50
1115
        soundVol = 0
1116
        wait()
1117
        human.Health = 50
1118
        c.Health:Destroy()
1119
1120
--------------------------------------------------------
1121
1122
        Debounces = {
1123
                AnimationCycles = 0;
1124
                FPS = 0;
1125
                scalingDamage = false;
1126
                damageLevel = 0;
1127
                attackNumber = 0;
1128
                isAttacking = false;
1129
                isMoving = false;
1130
                isSprinting = false;
1131
                isBoosting = false;
1132
                isPassive = false;
1133
                isTyping = false;
1134
        }
1135
1136
--------------------------------------------------------
1137
1138
        numLerp = function(start, goal, alpha)
1139
                return(((goal - start) * alpha) + start)
1140
        end
1141
1142
        CFrameZero = function()
1143
                return CFrame.new(Vector3.new())
1144
        end
1145
1146
        rad = function(value)
1147
                return math.rad(value)
1148
        end
1149
1150
        CFAngles = function(Vector)
1151
                return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
1152
        end
1153
1154
--------------------------------------------------------
1155
1156
        AnimStat = {
1157
                lerpSpeed = .2;
1158
                lerpSpeed2 = .35;
1159
                lerpTween = 0;
1160
        }
1161
1162
        Joints = {
1163
                c.HumanoidRootPart.RootJoint;
1164
                c.Torso.Neck;
1165
                c.Torso['Left Shoulder'];
1166
                c.Torso['Right Shoulder'];
1167
                c.Torso['Left Hip'];
1168
                c.Torso['Right Hip'];
1169
        }
1170
1171
        JointTargets = {
1172
                CFrameZero();
1173
                CFrameZero();
1174
                CFrameZero();
1175
                CFrameZero();
1176
                CFrameZero();
1177
                CFrameZero();
1178
        }
1179
1180
--------------------------------------------------------
1181
1182
        BodyColors = {
1183
                HeadColor = BrickColor.new("Institutional white");
1184
                LeftArmColor = BrickColor.new("Institutional white");
1185
                RightArmColor = BrickColor.new("Institutional white");
1186
                LeftLegColor = BrickColor.new("Institutional white");
1187
                RightLegColor = BrickColor.new("Institutional white");
1188
                TorsoColor = BrickColor.new("Mid gray");
1189
        }
1190
1191
        Customs = {
1192
                Face = "http://www.roblox.com/asset/?id=8560915";
1193
                Shirt = "http://www.roblox.com/asset/?id=334781688";
1194
                Pants = "http://www.roblox.com/asset/?id=335237283";
1195
        }
1196
1197
--------------------------------------------------------
1198
1199
        prepareCharacter = function()
1200
                local transPoints = {
1201
                        NumberSequenceKeypoint.new(0,0,0),
1202
                        NumberSequenceKeypoint.new(.4,.05,0),
1203
                        NumberSequenceKeypoint.new(.8,.16,0),
1204
                        NumberSequenceKeypoint.new(1,.25,0)
1205
                }
1206
                local sizePoints = {
1207
                        NumberSequenceKeypoint.new(0,.5,0),
1208
                        NumberSequenceKeypoint.new(.18,.5,0),
1209
                        NumberSequenceKeypoint.new(.49,.69,0),
1210
                        NumberSequenceKeypoint.new(.74,.5,0),
1211
                        NumberSequenceKeypoint.new(.92,.25,0),
1212
                        NumberSequenceKeypoint.new(1,.0625,0)
1213
                }
1214
                local Size = NumberSequence.new(sizePoints)
1215
                local Transparency = NumberSequence.new(transPoints)
1216
                rayModel = Instance.new("Model",c)
1217
                efxBlock = Instance.new("Part",c)
1218
                efxBlock.Material = "Neon"
1219
                efxBlock.FormFactor = "Custom"
1220
                efxBlock.Size = Vector3.new(.3,.3,.3)
1221
                light = Instance.new("PointLight",c.Head)
1222
                light.Range = 8
1223
                light.Color = Color3.new(1,1,1)
1224
                light.Shadows = false
1225
                local particles = Instance.new("ParticleEmitter",efxBlock)
1226
                particles.Color = ColorSequence.new(Color3.new(.85,.85,.85),Color3.new(1,1,1))
1227
                particles.ZOffset = 1
1228
                particles.LightEmission = .96
1229
                particles.Size = Size
1230
                particles.Name = "Fire"
1231
                particles.Transparency = Transparency
1232
                particles.LockedToPart = true
1233
                particles.Rate = 25
1234
                particles.EmissionDirection = "Right"
1235
                particles.Acceleration = Vector3.new(-.5,0,0)
1236
                particles.Texture = "rbxassetid://24378732"
1237
                particles.Lifetime = NumberRange.new(.25,.25)
1238
                particles.Speed = NumberRange.new(-.5,5)
1239
                script.Parent = efxBlock
1240
                fire = particles
1241
                local offset = Vector3.new(0.2, .23, -0.5)
1242
                local weld = Instance.new("Weld",c.Head)
1243
                weld.Part0 = c.Head
1244
                weld.Part1 = efxBlock
1245
                weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1246
                efxBlock.Parent = c
1247
                local music = Instance.new("Sound",c.Torso)
1248
                music.SoundId = "rbxassetid://316012176"
1249
                music.Looped = true
1250
                music.Volume = soundVol
1251
                fight = music
1252
                local music2 = Instance.new("Sound",c.Torso)
1253
                music2.SoundId = "rbxassetid://316014309"
1254
                music2.Looped = true
1255
                music2.Volume = soundVol
1256
                sans = music2
1257
                pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
1258
                pointGyro.P = 1e7
1259
                pointGyro.D = 1e3
1260
                pointGyro.MaxTorque = Vector3.new(0,1e7,0)
1261
                animator = c.Humanoid:FindFirstChild("Animator")
1262
                if animator then
1263
                        animator:Destroy()
1264
                end
1265
                c.Torso.roblox:Destroy()
1266
                for i,v in pairs (c.Head:children()) do
1267
                        if v.ClassName == "Sound" then
1268
                                v:Destroy()
1269
                        end
1270
                end
1271
                for i = 1,#Joints do
1272
                        Joints[i].C1 = CFrame.new(Vector3.new())
1273
                end
1274
                human.WalkSpeed = 0
1275
                human.JumpPower = 0
1276
        end
1277
1278
        uinps.InputBegan:connect(function(InputObject)
1279
                if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
1280
                        Debounces.isPassive = not Debounces.isPassive
1281
                end
1282
        end)
1283
1284
        setJointCFrames = function(table)
1285
                for i = 1,#table do
1286
                        JointTargets[i] = table[i]
1287
                end
1288
                AnimationCycles = 0
1289
        end
1290
1291
        setLerp = function(speed)
1292
                AnimStat.lerpSpeed = speed
1293
        end
1294
1295
        setTween = function(tween)
1296
                AnimStat.lerpTween = tween
1297
        end
1298
1299
        takeDamage = function(position,damage,distance,platformStand)
1300
                for i,v in pairs (pls:children()) do
1301
                        if v.ClassName == "Player" and v:FindFirstChild("Character") then
1302
                                local torso = v.Character:FindFirstChild("Torso")
1303
                                if torso and (torso.Position - position).magnitude < distance then
1304
                                if v.Character.Humanoid.MaxHealth > 1000 then
1305
                                    v.Character.Humanoid.MaxHealth = 100;
1306
                               v.Character.Humanoid.Breakjoints()
1307
                                end
1308
                                
1309
                            
1310
                                        v.Character.Humanoid:TakeDamage(damage)
1311
                                        if platformStand == true then
1312
                                                v.Character.PlatformStand = platformStand
1313
                                        end
1314
                                end
1315
                        end
1316
                end
1317
        end
1318
1319
--------------------------------------------------------
1320
1321
        prepareCharacter()
1322
1323
--------------------------------------------------------
1324
1325
        spawn(function()
1326
                local sine = 0
1327
                while wait() do
1328
                        pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
1329
                        if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
1330
                                setLerp(.1)
1331
                                if Debounces.isPassive == true then
1332
                                         setJointCFrames({
1333
                                                CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
1334
                                                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));
1335
                                                CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
1336
                                                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));
1337
                                                CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
1338
                                                CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
1339
                                        })
1340
                                else
1341
                                        setJointCFrames({
1342
                                                CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
1343
                                                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));
1344
                                                CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
1345
                                                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));
1346
                                                CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
1347
                                                CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
1348
                                        })
1349
                                end
1350
                        elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
1351
                                sine = sine + math.rad(12)
1352
                                human.WalkSpeed = 15
1353
                                setLerp(.15)
1354
                                setJointCFrames({
1355
                                        CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
1356
                                        CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
1357
                                        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));
1358
                                        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));
1359
                                        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));
1360
                                        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));
1361
                                })
1362
                        end
1363
                        if Debounces.scalingDamage == true then
1364
                                takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
1365
                        end
1366
                end
1367
        end)
1368
1369
        human.Changed:connect(function(prop)
1370
                if prop == "MoveDirection" then
1371
                        if human.MoveDirection.magnitude > .02 then
1372
                                Debounces.isMoving = true
1373
                        else
1374
                                Debounces.isMoving = false
1375
                        end
1376
                end
1377
        end)
1378
1379
        uinps.InputBegan:connect(function(InputObject)
1380
                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
1381
                        Debounces.isBoosting = true
1382
                        Debounces.damageLevel = 10
1383
                        Debounces.scalingDamage = true
1384
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
1385
                        setLerp(.15)
1386
                        setJointCFrames({
1387
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
1388
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
1389
                                CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
1390
                                CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
1391
                                CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
1392
                                CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
1393
                        })
1394
                        local boostSpeed = 250
1395
                        local efx = Instance.new("Sound",c.Head)
1396
                        efx.SoundId = "rbxassetid://200632875"
1397
                        efx.Pitch = math.random(1100,1300)/1000
1398
                        efx.Volume = .5
1399
                        efx:Play()
1400
                        spawn(function()
1401
                                wait(5)
1402
                                efx:Destroy()
1403
                        end)
1404
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
1405
                        vel.P = 1e3
1406
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
1407
                        wait(.15)
1408
                        vel.P = 1000
1409
                        vel.MaxForce = Vector3.new(3000,0,3000)
1410
                        vel.Velocity = Vector3.new()
1411
                        wait(.3)
1412
                        setLerp(.3)
1413
                        setJointCFrames({
1414
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
1415
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
1416
                                CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
1417
                                CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
1418
                                CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
1419
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
1420
                        })
1421
                        wait(.2)
1422
                        vel:Destroy()
1423
                        Debounces.damageLevel = 0
1424
                        Debounces.scalingDamage = false
1425
                        Debounces.isBoosting = false
1426
                end
1427
        end)
1428
1429
        uinps.InputBegan:connect(function(InputObject)
1430
                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
1431
                        Debounces.isBoosting = true
1432
                        Debounces.damageLevel = 10
1433
                        Debounces.scalingDamage = true
1434
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
1435
                        setLerp(.15)
1436
                        setJointCFrames({
1437
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
1438
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
1439
                                CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
1440
                                CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
1441
                                CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
1442
                                CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
1443
                        })
1444
                        local boostSpeed = 250
1445
                        local efx = Instance.new("Sound",c.Head)
1446
                        efx.SoundId = "rbxassetid://200632875"
1447
                        efx.Pitch = math.random(1100,1300)/1000
1448
                        efx.Volume = .5
1449
                        efx:Play()
1450
                        spawn(function()
1451
                                wait(5)
1452
                                efx:Destroy()
1453
                        end)
1454
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
1455
                        vel.P = 1e3
1456
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
1457
                        wait(.15)
1458
                        vel.P = 1000
1459
                        vel.MaxForce = Vector3.new(3000,0,3000)
1460
                        vel.Velocity = Vector3.new()
1461
                        wait(.3)
1462
                        setLerp(.3)
1463
                        setJointCFrames({
1464
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
1465
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
1466
                                CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
1467
                                CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
1468
                                CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
1469
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
1470
                        })
1471
                        wait(.2)
1472
                        vel:Destroy()
1473
                        Debounces.damageLevel = 0
1474
                        Debounces.scalingDamage = false
1475
                        Debounces.isBoosting = false
1476
                end
1477
        end)
1478
1479
        uinps.InputBegan:connect(function(InputObject)
1480
                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
1481
                        Debounces.isBoosting = true
1482
                        Debounces.damageLevel = 10
1483
                        Debounces.scalingDamage = true
1484
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
1485
                        setLerp(.15)
1486
                        setJointCFrames({
1487
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
1488
                                CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
1489
                                CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
1490
                                CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
1491
                                CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
1492
                                CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
1493
                        })
1494
                        local boostSpeed = 250
1495
                        local efx = Instance.new("Sound",c.Head)
1496
                        efx.SoundId = "rbxassetid://200632875"
1497
                        efx.Pitch = math.random(1100,1300)/1000
1498
                        efx.Volume = .5
1499
                        efx:Play()
1500
                        spawn(function()
1501
                                wait(5)
1502
                                efx:Destroy()
1503
                        end)
1504
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
1505
                        vel.P = 1e3
1506
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
1507
                        wait(.15)
1508
                        vel.P = 1000
1509
                        vel.MaxForce = Vector3.new(3000,0,3000)
1510
                        vel.Velocity = Vector3.new()
1511
                        wait(.3)
1512
                        setLerp(.3)
1513
                        setJointCFrames({
1514
                                CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
1515
                                CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
1516
                                CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
1517
                                CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
1518
                                CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
1519
                                CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
1520
                        })
1521
                        wait(.2)
1522
                        vel:Destroy()
1523
                        Debounces.damageLevel = 0
1524
                        Debounces.scalingDamage = false
1525
                        Debounces.isBoosting = false
1526
                end
1527
        end)
1528
1529
        uinps.InputBegan:connect(function(InputObject)
1530
                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
1531
                        Debounces.isBoosting = true
1532
                        Debounces.damageLevel = 10
1533
                        Debounces.scalingDamage = true
1534
                        local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
1535
                        setLerp(.15)
1536
                        setJointCFrames({
1537
                                CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
1538
                                CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
1539
                                CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
1540
                                CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
1541
                                CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
1542
                                CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
1543
                        })
1544
                        local boostSpeed = 150
1545
                        local boostSpeed = 250
1546
                        local efx = Instance.new("Sound",c.Head)
1547
                        efx.SoundId = "rbxassetid://200632875"
1548
                        efx.Pitch = math.random(1100,1300)/1000
1549
                        efx.Volume = .5
1550
                        efx:Play()
1551
                        spawn(function()
1552
                                wait(5)
1553
                                efx:Destroy()
1554
                        end)
1555
                        vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
1556
                        vel.P = 1e3
1557
                        vel.MaxForce = Vector3.new(math.huge,0,math.huge)
1558
                        wait(.15)
1559
                        vel.P = 1000
1560
                        vel.MaxForce = Vector3.new(3000,0,3000)
1561
                        vel.Velocity = Vector3.new()
1562
                        wait(.3)
1563
                        setLerp(.3)
1564
                        setJointCFrames({
1565
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
1566
                                CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
1567
                                CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
1568
                                CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
1569
                                CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
1570
                                CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
1571
                        })
1572
                        wait(.2)
1573
                        vel:Destroy()
1574
                        Debounces.damageLevel = 0
1575
                        Debounces.scalingDamage = false
1576
                        Debounces.isBoosting = false
1577
                end
1578
        end)
1579
1580
        uinps.InputBegan:connect(function(InputObject)
1581
                if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
1582
                        local isLooping = true
1583
                        uinps.InputEnded:connect(function(InputObject2)
1584
                                if InputObject2.KeyCode == Enum.KeyCode.Q then
1585
                                        isLooping = false
1586
                                end
1587
                        end)
1588
                        while true do
1589
                                if isLooping == false then
1590
                                        break
1591
                                end
1592
                                Debounces.attackNumber = Debounces.attackNumber + 1
1593
                                local aimPos = mouse.Hit.p
1594
                                local head = Instance.new("Part",c)
1595
                                head.Size = Vector3.new(12,.2,12)
1596
                                head.CanCollide = false
1597
                                head.Anchored = true
1598
                                head.Transparency = 1
1599
                                for i = 1,2 do
1600
                                        local decal = Instance.new("Decal",head)
1601
                                        decal.Texture = "rbxassetid://323497117"
1602
                                        if i == 1 then
1603
                                                decal.Face = Enum.NormalId.Top
1604
                                        else
1605
                                                decal.Face = Enum.NormalId.Bottom
1606
                                        end
1607
                                end
1608
                                if Debounces.attackNumber%2 == 1 then
1609
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
1610
                                else
1611
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
1612
                                end
1613
                                spawn(function()
1614
                                        local timer = 0
1615
                                        while rs.RenderStepped:wait() do
1616
                                                if timer >= 1.55 then
1617
                                                        break
1618
                                                end
1619
                                                head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
1620
                                                timer = timer + 1/30/(Debounces.FPS/60)
1621
                                        end
1622
                                        head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1623
                                        local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
1624
                                        local hit, pos = workspace:FindPartOnRay(ray,c)
1625
                                        local dis = (head.CFrame.p - pos).magnitude
1626
                                        local rayPart = Instance.new("Part",rayModel)
1627
                                        rayPart.Material = "Neon"
1628
                                        rayPart.FormFactor = "Custom"
1629
                                        rayPart.BrickColor = BrickColor.new(1,1,1)
1630
                                        rayPart.Anchored = true
1631
                                        rayPart.CanCollide = false
1632
                                        rayPart.Size = Vector3.new(7,7,dis + 400)
1633
                                        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)
1634
                                        rayPart.CFrame = rayCFrame
1635
                                        head:Destroy()
1636
                                end)
1637
                                wait()
1638
                                local s = Instance.new("Sound",head)
1639
                                s.Volume = 1
1640
                                s.SoundId = "rbxassetid://332223043"
1641
                                s:Play()
1642
                                wait(.04)
1643
                        end
1644
                end
1645
        end)
1646
1647
        uinps.InputBegan:connect(function(InputObj)
1648
                if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
1649
                        Debounces.isAttacking = true
1650
                        local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
1651
                        local head = Instance.new("Part",c)
1652
                        head.Size = Vector3.new(18,.2,18)
1653
                        head.CanCollide = false
1654
                        head.Anchored = true
1655
                        head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
1656
                        head.Transparency = 1
1657
                        for i = 1,2 do
1658
                                local decal = Instance.new("Decal",head)
1659
                                decal.Texture = "rbxassetid://323497117"
1660
                                if i == 1 then
1661
                                        decal.Face = Enum.NormalId.Top
1662
                                else
1663
                                        decal.Face = Enum.NormalId.Bottom
1664
                                end
1665
                        end
1666
                        setLerp(.1)
1667
                        setJointCFrames({
1668
                                CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
1669
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
1670
                                CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
1671
                                CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
1672
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
1673
                                CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
1674
                        })
1675
                        spawn(function()
1676
                                local timer = 0
1677
                                while rs.RenderStepped:wait() do
1678
                                        if timer >= 1.55/.8 then
1679
                                                break
1680
                                        end
1681
                                        head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
1682
                                        timer = timer + 1/30/(Debounces.FPS/60)
1683
                                end
1684
                                head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1685
                                local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
1686
                                local hit, pos = workspace:FindPartOnRay(ray,c)
1687
                                local dis = (head.CFrame.p - pos).magnitude
1688
                                local rayPart = Instance.new("Part",rayModel)
1689
                                rayPart.Material = "Neon"
1690
                                rayPart.FormFactor = "Custom"
1691
                                rayPart.Name = "Punch"
1692
                                rayPart.BrickColor = BrickColor.new(1,1,1)
1693
                                rayPart.Anchored = true
1694
                                rayPart.CanCollide = false
1695
                                rayPart.Size = Vector3.new(28,28,dis + 400)
1696
                                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)
1697
                                rayPart.CFrame = rayCFrame
1698
                                head:Destroy()
1699
                        end)
1700
                        wait()
1701
                        local s = Instance.new("Sound",head)
1702
                        s.Volume = 1
1703
                        s.SoundId = "rbxassetid://332223043"
1704
                        s.Pitch = .8
1705
                        s:Play()
1706
                        wait(.75)
1707
                        setLerp(.17)
1708
                        setJointCFrames({
1709
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
1710
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
1711
                                CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
1712
                                CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
1713
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
1714
                                CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
1715
                        })
1716
                        wait(.5)
1717
                        Debounces.isAttacking = false
1718
                end
1719
        end)
1720
        
1721
        reflect = function(d,n)
1722
                local i, n = -1 * d.unit, n.unit
1723
                local dot = n:Dot(i)
1724
                return 2*dot*n - i
1725
        end
1726
1727
        makeReflectionBeam = function(pos,look,isCrit)
1728
                local ray = Ray.new(pos,look)
1729
                local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
1730
                local e = Instance.new("Part",rayModel)
1731
                e.Anchored = true
1732
                e.CanCollide = false
1733
                e.BrickColor = BrickColor.new("White")
1734
                e.Material = "Neon"
1735
                e.FormFactor = "Custom"
1736
                e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
1737
                if isCrit == true then
1738
                        e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
1739
                        e.Name = "Punch"
1740
                end
1741
                e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
1742
                local e = Instance.new("Sound",c)
1743
                if isCrit == true then
1744
                        e.Volume = .5
1745
                else
1746
                        e.Volume = .3
1747
                        e.Pitch = 1.5
1748
                end
1749
                e.SoundId = "rbxassetid://200632875"
1750
                e:Play()
1751
                spawn(function()
1752
                        wait(6)
1753
                        e:Destroy()
1754
                end)
1755
                wait(.05)
1756
                if hit ~= nil then
1757
                        newDir = reflect(look.unit,norm,isCrit)
1758
                        makeReflectionBeam(hitpos,newDir * 999,isCrit)
1759
                end
1760
        end
1761
1762
        uinps.InputBegan:connect(function(InputObject)
1763
                if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
1764
                        local isLooping = true
1765
                        uinps.InputEnded:connect(function(InputObject2)
1766
                                if InputObject2.KeyCode == Enum.KeyCode.Q then
1767
                                        isLooping = false
1768
                                end
1769
                        end)
1770
                        while true do
1771
                                if isLooping == false then
1772
                                        break
1773
                                end
1774
                                Debounces.attackNumber = Debounces.attackNumber + 1
1775
                                local aimPos = mouse.Hit.p
1776
                                local head = Instance.new("Part",c)
1777
                                head.Size = Vector3.new(12,.2,12)
1778
                                head.CanCollide = false
1779
                                head.Anchored = true
1780
                                head.Transparency = 1
1781
                                for i = 1,2 do
1782
                                        local decal = Instance.new("Decal",head)
1783
                                        decal.Texture = "rbxassetid://323497117"
1784
                                        if i == 1 then
1785
                                                decal.Face = Enum.NormalId.Top
1786
                                        else
1787
                                                decal.Face = Enum.NormalId.Bottom
1788
                                        end
1789
                                end
1790
                                if Debounces.attackNumber%2 == 1 then
1791
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
1792
                                else
1793
                                        head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
1794
                                end
1795
                                spawn(function()
1796
                                        local timer = 0
1797
                                        while rs.RenderStepped:wait() do
1798
                                                if timer >= 1.55 then
1799
                                                        break
1800
                                                end
1801
                                                head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
1802
                                                timer = timer + 1/30/(Debounces.FPS/60)
1803
                                        end
1804
                                        head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1805
                                        head:Destroy()
1806
                                        makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)        
1807
                                end)
1808
                                
1809
                                wait()
1810
                                local s = Instance.new("Sound",head)
1811
                                s.Volume = 1
1812
                                s.SoundId = "rbxassetid://332223043"
1813
                                s.Pitch = 1.02
1814
                                s:Play()
1815
                                wait(.2)
1816
                        end
1817
                end
1818
        end)
1819
1820
        uinps.InputBegan:connect(function(InputObj)
1821
                if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
1822
                        Debounces.isAttacking = true
1823
                        local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
1824
                        local head = Instance.new("Part",c)
1825
                        head.Size = Vector3.new(18,.2,18)
1826
                        head.CanCollide = false
1827
                        head.Anchored = true
1828
                        head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
1829
                        head.Transparency = 1
1830
                        for i = 1,2 do
1831
                                local decal = Instance.new("Decal",head)
1832
                                decal.Texture = "rbxassetid://323497117"
1833
                                if i == 1 then
1834
                                        decal.Face = Enum.NormalId.Top
1835
                                else
1836
                                        decal.Face = Enum.NormalId.Bottom
1837
                                end
1838
                        end
1839
                        setLerp(.1)
1840
                        setJointCFrames({
1841
                                CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
1842
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
1843
                                CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
1844
                                CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
1845
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
1846
                                CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
1847
                        })
1848
                        spawn(function()
1849
                                local timer = 0
1850
                                while rs.RenderStepped:wait() do
1851
                                        if timer >= 1.55/.8 then
1852
                                                break
1853
                                        end
1854
                                        head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
1855
                                        timer = timer + 1/30/(Debounces.FPS/60)
1856
                                end
1857
                                head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1858
                                head:Destroy()
1859
                                makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
1860
                        end)
1861
                        wait()
1862
                        local s = Instance.new("Sound",head)
1863
                        s.Volume = 2
1864
                        s.SoundId = "rbxassetid://332223043"
1865
                        s.Pitch = .8
1866
                        s:Play()
1867
                        wait(.75)
1868
                        setLerp(.17)
1869
                        setJointCFrames({
1870
                                CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
1871
                                CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
1872
                                CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
1873
                                CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
1874
                                CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
1875
                                CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
1876
                        })
1877
                        wait(.5)
1878
                        Debounces.isAttacking = false
1879
                end
1880
        end)
1881
1882
        uinps.InputBegan:connect(function(InputObj)
1883
                if InputObj.KeyCode == Enum.KeyCode.Slash then
1884
                        local finishEvent = nil
1885
                        Debounces.isTyping = true
1886
                        finishEvent = uinps.InputBegan:connect(function(InputObj)
1887
                                if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
1888
                                        Debounces.isTyping = false
1889
                                        finishEvent:disconnect()
1890
                                end
1891
                        end)
1892
                end
1893
        end)
1894
1895
        uinps.InputBegan:connect(function(InputObj)
1896
                if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1897
                        Debounces.isSprinting = true
1898
                end
1899
        end)
1900
1901
        uinps.InputEnded:connect(function(InputObj)
1902
                if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1903
                        Debounces.isSprinting = false
1904
                end
1905
        end)
1906
1907
        rs.RenderStepped:connect(function()
1908
                Debounces.FPS = 1/rs.RenderStepped:wait()
1909
                local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
1910
                if Debounces.isPassive == false then
1911
                        fight:Pause()
1912
                        sans:Resume()
1913
                        efxBlock.Transparency = 1
1914
                else
1915
                        fight:Resume()
1916
                        sans:Pause()
1917
                        efxBlock.Transparency = 0
1918
                end
1919
                for i,v in pairs (rayModel:children()) do
1920
                        if v.Transparency >= 1 then
1921
                                v:Destroy()
1922
                        else
1923
                                v.CanCollide = true
1924
                                local parts = v:GetTouchingParts()
1925
                                v.CanCollide = false
1926
                                for i = 1,#parts do
1927
                                        if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
1928
                                                parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
1929
                                        elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
1930
                                                parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
1931
                                        end
1932
                                end
1933
                                v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
1934
                                v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
1935
                        end
1936
                end
1937
                for i = 1,#Joints do
1938
                        Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
1939
                end
1940
                light.Brightness = math.random(1,4)
1941
        end)
1942
		
1943
--(C) Copyright AzuL // All Rights Reserved