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