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