View difference between Paste ID: ZK2baJDV and Y7vWTaas
SHOW: | | - or go back to the newest paste.
1
--[[
2
	req list
3
	
4
	heart control (the force)
5
	
6
	teleport
7
	
8
	bone zone
9
	
10
	throw bones
11
--]]
12
13
14
15-
local Level=6666
15+
local Level=1
16
local function RiseLevel(hum,dmg)
17
if tonumber(Level)then
18-
if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+1111129132
18+
if hum.Health>0 and hum.Health-dmg<=0 then Level=Level+1
19
local s=Instance.new("Sound")end--s. end
20
else warn'String is not able to level up , or having issure to level.'end
21
end
22
23
local Tired={n=0,m=10000086756,d=false}local DefAble=true
24
local p = game:service'Players'.LocalPlayer
25
local char = p.Character
26
local mouse = p:GetMouse()
27
local larm = char["Left Arm"]
28
local rarm = char["Right Arm"]
29
local lleg = char["Left Leg"]
30
local rleg = char["Right Leg"]
31
local hed = char.Head
32
local Torso = char.Torso
33
local hum = char.Humanoid
34
local cam = workspace.CurrentCamera
35
local root = char.HumanoidRootPart
36
local deb = false
37
local shot = 0
38
local potential = false
39
local debris=game:service"Debris"
40
local l = game:GetService("Lighting")
41
local rs = game:GetService("RunService").RenderStepped
42
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
43
math.randomseed(os.time())
44
for i,v in pairs(char:children()) do
45
	if v:IsA("Accessory") then
46
		v:Destroy()
47
	end
48
end
49
for i,v in pairs (hed:GetChildren()) do
50
		if v:IsA("Sound") then
51
				v:Destroy()
52
		end
53
end
54
music = Instance.new("Sound",c)
55
music2 = Instance.new("Sound",c)
56
local pl = game:service'Players'.LocalPlayer
57
local chara = pl.Character
58
local hum = chara:FindFirstChildOfClass("Humanoid")
59
hum.MaxHealth = 10000000000000000000
60
hum.Health = 10000000000000000000
61
maincol = "White"
62
increment = 20
63
if 1 then
64
	local MovesGui=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
65
	local Frm=Instance.new("Frame",MovesGui)Frm.BackgroundColor3=Color3.new()Frm.BorderSizePixel=0
66
	Frm.BackgroundTransparency=.5 Frm.Size=UDim2.new(.3,0,.5,0)local Show=true Frm.Position=UDim2.new(.7,0,.5,0)
67
	local idk=Instance.new("TextButton",Frm)idk.Size=UDim2.new(.5,0,.1,0)idk.Position=UDim2.new(-.5,0,.8,0)
68
	idk.Text="Hide"idk.TextStrokeTransparency=0 idk.BackgroundTransparency=.5 idk.BackgroundColor3=Color3.new()
69
	idk.BorderSizePixel=0 idk.TextColor3=Color3.new(1,1,1)
70
	idk.MouseButton1Click:connect(function()Show=not Show idk.Text=Show and "Hide"or"Show"end)
71
	local normal=Instance.new("TextLabel",Frm)normal.Size=UDim2.new(1,0,1,0)normal.TextStrokeTransparency=0
72
	normal.BackgroundTransparency=1 normal.TextColor3=Color3.new(1,1,1)
73
	normal.TextXAlignment="Left"normal.TextYAlignment="Top"
74
	normal.Text=[[* Able to hold
75
! It changes function when sprint
76
----------------------------------
77-
K: X-Event
77+
K: Bad Time
78-
!*Q :X-Event Blaster (quick)
78+
!*Q :Gaster Blaster (quick)
79-
! E  :X-Event Blaster (high damage)
79+
! E  :Gaster Blaster (high damage)
80
T  :Teleport
81
F  :Bone Zone
82
*G :Bone Throw
83
*C :Heart Control
84
Shift : Sprint
85-
EDIT by PowerSans1234
85+
EDIT by ErrorSanseRo
86-
Helping for edit progr1717
86+
87-
channel: Power Sans
87+
88-
Channel progr1717: Papyrus1717
88+
89-
X-Event
89+
90
		Frm.Position=Frm.Position:lerp(UDim2.new(not Show and 1 or .7,0,.5,0),.1)
91
	end end)
92
end
93
--------------------------------------------------------
94
hed.face.Texture = "rbxassetid://475024101"
95
chara:WaitForChild"Body Colors"
96
char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
97
char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
98-
hed.face.Texture = "rbxassetid://515293110"
98+
99
char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
100
char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
101
char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
102
---------------------------------------
103
ypcall(function()
104
shirt = Instance.new("Shirt", char)
105
shirt.Name = "Shirt"
106
pants = Instance.new("Pants", char)
107
pants.Name = "Pants"
108
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=588603292"
109
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=814945908"
110
end)
111
--------------------------------------------------------		
112-
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=519610322"
112+
113-
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=515125291"
113+
114
KG.SoundId = "rbxassetid://861927323"
115
KG.Looped = true
116
KG:Play()
117
118-
KG.SoundId = "rbxassetid://523116431"
118+
119
CV="Eggplant"
120
	p = game.Players.LocalPlayer
121
	char = p.Character
122
	local txt = Instance.new("BillboardGui", char)
123
	txt.Adornee = char .Head
124
	txt.Name = "_status"
125
	txt.Size = UDim2.new(2, 0, 1.2, 0)
126
	txt.StudsOffset = Vector3.new(-9, 8, 0)
127
	local text = Instance.new("TextLabel", txt)
128
	text.Size = UDim2.new(10, 0, 7, 0)
129
	text.FontSize = "Size24"
130
	text.TextScaled = true
131
	text.TextTransparency = 0
132
	text.BackgroundTransparency = 1 
133
	text.TextTransparency = 0
134
	text.TextStrokeTransparency = 0
135
	text.Font = "Arcade"
136
	text.TextStrokeColor3 = Color3.new(255,255,255)
137
138
	v=Instance.new("Part")
139
	v.Name = "ColorBrick"
140
	v.Parent=p.Character
141
	v.FormFactor="Symmetric"
142
	v.Anchored=true
143
	v.CanCollide=false
144
	v.BottomSurface="Smooth"
145
	v.TopSurface="Smooth"
146
	v.Size=Vector3.new(10,5,3)
147
	v.Transparency=1
148
	v.CFrame=char.Torso.CFrame
149
	v.BrickColor=BrickColor.new(CV)
150
	v.Transparency=1
151
	text.TextColor3 = Color3.new(0,0,0)
152
	v.Shape="Block"
153
	wait()
154
	text.Text = "HELLO HUMAN!"
155-
	text.TextColor3 = Color3.new(255,0,0)
155+
156
	text.Text = "DO U GOING FIGHT?";
157
        wait(5)
158-
	text.Text = "HELLO INK WELCOME THAT X-EVENT"
158+
        text.Text = "AND THERE HAVE MY SPECIAL FORM!"
159
		wait(5)
160-
	text.Text = "RIGHT? CHARA? (Cross Chara: yes kill them ME NEEDS MONSTERS FOR NEW AU ;)";
160+
		text.TextColor3 = Color3.new(0,0,0)  
161
		spawn(function()while wait()do text.Text = "Under Swap Sans LV"..tostring(Level)end end)
162-
        text.Text = "Ink Sans: STOP THA (Cross Sans) heh you stop me kill your for new AU ;)"
162+
		hed.face.Texture = "rbxassetid://475024101"
163
--------------------------------------------------------  
164-
		text.TextColor3 = Color3.new(255,0,0)  
164+
165-
		spawn(function()while wait()do text.Text = "Cross Sans LV"..tostring(Level)end end)
165+
166-
		hed.face.Texture = "rbxassetid://515293110"
166+
167
		lp = pls.LocalPlayer
168
		mouse = lp:GetMouse()
169
		c = lp.Character
170
		human = c.Humanoid
171
		human.MaxHealth = 1/0
172
		wait()
173
		human.Health = 0/0
174
		c.Health:Destroy()
175
------------
176
177
		Debounces = {
178
				AnimationCycles = 0;
179
				FPS = 0;
180
				scalingDamage = false;
181
				damageLevel = 0;
182
				attackNumber = 0;
183
				isAttacking = false;
184
				isMoving = false;
185
				isSprinting = false;
186
				isBoosting = false;
187
				isPassive = false;
188
				isTyping = false;
189
		}
190
191
--------------------------------------------------------
192
193
		numLerp = function(start, goal, alpha)
194
				return(((goal - start) * alpha) + start)
195
		end
196
197
		CFrameZero = function()
198
				return CFrame.new(Vector3.new())
199
		end
200
201
		rad = function(value)
202
				return math.rad(value)
203
		end
204
205
		CFAngles = function(Vector)
206
				return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
207
		end
208
209
--------------------------------------------------------
210
211
		AnimStat = {
212
				lerpSpeed = .2;
213
				lerpSpeed2 = .35;
214
				lerpTween = 0;
215
		}
216
217
		Joints = {
218
				c.HumanoidRootPart.RootJoint;
219
				c.Torso.Neck;
220
				c.Torso['Left Shoulder'];
221
				c.Torso['Right Shoulder'];
222
				c.Torso['Left Hip'];
223
				c.Torso['Right Hip'];
224
		}
225
226
		JointTargets = {
227
				CFrameZero();
228
				CFrameZero();
229
				CFrameZero();
230
				CFrameZero();
231
				CFrameZero();
232
				CFrameZero();
233
		}
234
235
--------------------------------------------------------
236
237
		BodyColors = {
238
				HeadColor = BrickColor.new("Really black");
239
				LeftArmColor = BrickColor.new("Really black");
240
				RightArmColor = BrickColor.new("Really black");
241
				LeftLegColor = BrickColor.new("Really black");
242
				RightLegColor = BrickColor.new("Really black");
243
				TorsoColor = BrickColor.new("Really black");
244
		}
245
246
		Customs = {
247
				Face = "http://www.roblox.com/asset/?id=871052201";
248
				Shirt = "http://www.roblox.com/asset/?id=357134155";
249
				Pants = "http://www.roblox.com/asset/?id=343128366";
250
		}
251
252
--------------------------------------------------------
253
254
		prepareCharacter = function()
255
				local transPoints = {
256
						NumberSequenceKeypoint.new(0,.819,.0375),
257
						NumberSequenceKeypoint.new(.207,.594,.0187),
258
						NumberSequenceKeypoint.new(.4,.55,.031),
259
						NumberSequenceKeypoint.new(.57,.619,.05),
260
						NumberSequenceKeypoint.new(.76,.8,.0375),
261
						NumberSequenceKeypoint.new(1,1,0),
262
				}
263
				local sizePoints = {
264
						NumberSequenceKeypoint.new(0,.687,0),
265
						NumberSequenceKeypoint.new(.111,.875,0),
266
						NumberSequenceKeypoint.new(.327,1.19,0),
267
						NumberSequenceKeypoint.new(.646,1.56,0),
268
						NumberSequenceKeypoint.new(.805,1.37,0),
269
						NumberSequenceKeypoint.new(.905,1.06,0),
270
						NumberSequenceKeypoint.new(.968,.938,0),
271
						NumberSequenceKeypoint.new(.984,1.13,0),
272
						NumberSequenceKeypoint.new(1,1.62,0),
273
				}
274
				local Size = NumberSequence.new(sizePoints)
275
				local Transparency = NumberSequence.new(transPoints)
276
				rayModel = Instance.new("Model",c)
277
				efcModel = Instance.new("Model",c)
278
				efxBlock = Instance.new("Part",c)
279
				efxBlock.BrickColor = BrickColor.new("Teal")
280
				efxBlock.Material = "Neon"
281
				efxBlock.FormFactor = "Custom"
282
				efxBlock.Transparency = .3
283-
				efxBlock.BrickColor = BrickColor.new("Really black")
283+
284
  
285
				efxBlock.Size = Vector3.new(.3,.3,.3)
286
				local mesh = Instance.new("SpecialMesh",efxBlock)
287
				mesh.MeshType = Enum.MeshType.Sphere
288
				mesh.Scale = Vector3.new(1,1,1)
289-
				efxBlock.Size = Vector3.new(.0,.0,.0)
289+
290
				light.Range = 10
291
				light.Color = Color3.new(0,0,12)
292-
				mesh.Scale = Vector3.new(0,0,0)
292+
293
				local particles = Instance.new("ParticleEmitter",efxBlock)
294
			    particles.Color = ColorSequence.new(Color3.fromRGB(18,238,212))
295-
				light.Color = Color3.new(0,200/255,1)
295+
                particles.LightEmission = .5
296
				particles.Size = Size
297
				particles.Name = "Fire"
298-
			    particles.Color = ColorSequence.new(Color3.fromRGB(255,0,0))
298+
299
				particles.LockedToPart = true
300
				particles.VelocityInheritance = .5
301
				particles.LockedToPart = true
302
				particles.Rate = 47
303
				particles.Texture = "rbxassetid://170478388"
304
				particles.Lifetime = NumberRange.new(1,1)
305-
				particles.Rate = 200
305+
306-
				particles.Texture = "rbxassetid://594656663"
306+
307
				script.Parent = efxBlock
308
				fire = particles
309
				local offset = Vector3.new(-0.11, .23, -0.5)
310
				local weld = Instance.new("Weld",c.Head)
311
				weld.Part0 = c.Head
312
				weld.Part1 = efxBlock
313
				weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
314
				efxBlock.Parent = c
315
				music.SoundId = "rbxassetid://316012176"
316
				music.Looped = true
317
				music.Volume = 0
318
				fight = music
319
				music2.SoundId = "rbxassetid://316014309"
320
				music2.Looped = true
321
				music2.Volume = 0
322
				sans = music2
323
				pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
324
				pointGyro.P = 1e7
325
				pointGyro.D = 1e3
326
				pointGyro.MaxTorque = Vector3.new(0,1e7,0)
327
				animator = c.Humanoid:FindFirstChild("Animator")
328
				if animator then
329
						animator:Destroy()
330
				end
331
				c.Torso.roblox:Destroy()
332
				for i,v in pairs (c.Head:children()) do
333
						if v.ClassName == "Sound" then
334
								v:Destroy()
335
						end
336
				end
337
				for i = 1,#Joints do
338
						Joints[i].C1 = CFrame.new(Vector3.new())
339
				end
340
				human.WalkSpeed = 0
341
				human.JumpPower = 0
342
		end
343
344
		uinps.InputBegan:connect(function(InputObject)
345
				if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
346
						Debounces.isPassive = not Debounces.isPassive
347
				end
348
		end)
349
350
		setJointCFrames = function(table)
351
				for i = 1,#table do
352
						JointTargets[i] = table[i]
353
				end
354
				AnimationCycles = 0
355
		end
356
357
		setLerp = function(speed)
358
				AnimStat.lerpSpeed = speed
359
		end
360
361
		setTween = function(tween)
362
				AnimStat.lerpTween = tween
363
		end
364
365
		takeDamage = function(position,damage,distance,platformStand)
366
				for i,v in pairs (pls:children()) do
367
						if v.ClassName == "Player" and v:FindFirstChild("Character") then
368
								local torso = v.Character:FindFirstChild("Torso")
369
								if torso and (torso.Position - position).magnitude < distance then
370
										RiseLevel(v.Character.Humanoid,damage)
371
										v.Character.Humanoid:TakeDamage(damage)
372
										if platformStand == true then
373
												v.Character.PlatformStand = platformStand
374
										end
375
								end
376
						end
377
				end
378
		end
379
380
--------------------------------------------------------
381
382
		prepareCharacter()
383
384
--------------------------------------------------------
385
		hldng={}Player=p
386
function chatfunc(text)
387
spawn(function()local function lerp(a,b,t)return a*(1-t)+(b*t)end
388
	local rs=game:service'RunService'.RenderStepped
389
	local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end
390
	local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart
391
	local se=Instance.new("Sound",root)se.Volume=5 se.SoundId="rbxassetid://417445954"
392
	if Character:FindFirstChild("cht")then Character.cht:Destroy()end
393
394
	local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffsetWorldSpace=Vector3.new(0,4,0)b.Name="cht"
395
	local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0)
396
	local texts={}
397
	for i=1,snum do
398
		texts[i]=Instance.new("TextButton",b)
399
		texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30
400
		texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum,0,.3,0)
401
		texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1)
402
		texts[i].TextStrokeTransparency=1 texts[i].Font="Cartoon"texts[i].TextScaled=1 texts[i].TextTransparency=1
403
	end
404
	local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then
405
	if typeof(texts[i][Set])=="UDim2"then texts[i][Set]=texts[i][Set]:lerp(Val,LerpB)else texts[i][Set]=lerp(texts[i][Set],Val,LerpB)end
406
	else texts[i][Set]=Val end end end end
407
	for i=1,#texts do
408
		if texts[i].Parent then
409
			texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=0
410
		end
411
		if texts[i].Text~=" "then se.TimePosition=.06 se:Play()end
412
		sw(3)
413
	end
414
	sw(180)
415
	for i=1,0,-.025 do
416
		DoOpt("TextTransparency",1-i)--DoOpt("TextStrokeTransparency",1-i)
417
		sw()
418
	end
419
	b:Destroy()
420
end)
421
end Player.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,Player,Player))end)
422
		mouse.KeyUp:connect(function(k)
423
			hldng[k]=nil
424
		end)
425
		
426
		local function doit()
427
			if DefAble then
428
				return
429
			else
430
				if human.Health~=human.MaxHealth then
431
				DefAble=false
432
				human:Destroy()
433
				human=Instance.new("Humanoid",chara)Instance.new("Model",human).Name="Status"
434
				human.MaxHealth=1 human.Health=1
435
				human.HealthChanged:connect(doit)
436
				root.CFrame=root.CFrame*CFrame.new(0,0,10)
437
				hldng.r=nil warn"Dodged"
438
				Tired.n=Tired.n+10
439
				end
440
			end
441
		end
442
		dodge=human.HealthChanged:connect(doit)
443
		local sw=function(n)if n then for i=1,n do rs.RenderStepped:wait()end else rs.RenderStepped:wait()end end
444
		spawn(function()
445
				local sine = 0
446
				local idk=Instance.new("ScreenGui",p:FindFirstChildOfClass'PlayerGui')
447
				local frm=Instance.new("Frame",idk)frm.BorderSizePixel=0
448
				frm.BackgroundTransparency=.5 frm.Size=UDim2.new(.4,0,.03,0)
449
				frm.Position=UDim2.new(.3,0,.7,0)
450
				
451
				local t=Instance.new("TextLabel",frm)t.Text="wait"t.BorderSizePixel=0
452
				t.TextColor3=Color3.new(1,1,1)t.TextStrokeTransparency=0-- t.TextScaled=1
453
				t.BackgroundTransparency=0 t.TextXAlignment="Left" t.BackgroundColor3=Color3.new(1)
454
				while wait()do
455
						t.Size=UDim2.new(Tired.n/Tired.m,0,1,0)
456
						if Tired.n>=Tired.m then
457
							Tired.n=Tired.m
458
							Tired.d=true
459
						end
460
						if Tired.d then
461
							Tired.n=Tired.n-5 DefAble=true hldng.r=nil
462
						end t.Text=tostring(math.floor(Tired.n*10)/10).."/"..tostring(Tired.m)
463
						if Tired.n<=0 then Tired.n=0 Tired.d=false end
464
						if DefAble then human.MaxHealth=1 human.Health=1 human.Name="Humanoid"else
465
						dodge:disconnect()human.MaxHealth=1 human.Health=1 dodge=human.HealthChanged:connect(doit)
466
						
467
						end
468
						
469
						if hldng.r then DefAble=false else DefAble=1 end
470
						
471
						pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
472
						if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
473
								setLerp(.1)
474
								if Debounces.isPassive == true then --walk
475
										setJointCFrames({
476
												CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
477
												CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
478
												CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
479
												CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
480
												CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
481
												CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
482
										})
483
								else
484
										setJointCFrames({
485
												CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
486
												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));
487
												CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
488
												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));
489
												CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
490
												CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
491
										})
492
								end
493
						elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
494
								sine = sine + math.rad(12) --else jump
495
								human.WalkSpeed = 25
496
								setLerp(.15)
497
								setJointCFrames({
498
										CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
499
										CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
500
										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));
501
										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));
502
										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));
503
										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));
504
								})
505
						end
506
						if Debounces.scalingDamage == true then
507
								takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
508
						end
509
				end
510
		end)
511
		human.Changed:connect(function(prop)
512
				if prop == "MoveDirection" then
513
						if human.MoveDirection.magnitude > .02 then
514
								Debounces.isMoving = true
515
						else
516
								Debounces.isMoving = false
517
						end
518
				end
519
		end)
520
		local dunkedon=false
521
		mouse.KeyDown:connect(function(k)
522
			hldng[k]=true
523
			if not Debounces.isAttacking then
524
				if k=="c"and not Tired.d and Debounces.isPassive then
525
					local GrabObj=mouse.Target
526
					local hum=nil
527
					if GrabObj then
528
						if not GrabObj.Anchored then
529
							if GrabObj.Parent then
530
								if GrabObj.Parent:FindFirstChild'Humanoid'then
531
									hum=GrabObj.Parent.Humanoid
532
								end
533
							end
534
							local jet=Instance.new("BodyPosition",GrabObj)
535
							if not hum then jet.D=2000 jet.P=2000 end
536
							while hldng.c and not Tired.d do
537
								jet.MaxForce=Vector3.new(10,10,10)*10000000
538
								jet.Position=mouse.Target~=nil and mouse.Hit.p or jet.Position
539
								Tired.n=Tired.n+((not hum or hum.Health==0) and 1 or 2)
540
								local vel=GrabObj.Velocity.x+GrabObj.Velocity.y+GrabObj.Velocity.z
541
								if hum and vel>20 then RiseLevel(hum,vel/400)hum.Health=hum.Health-vel/400 end
542
								sw()
543
							end
544
							jet:Destroy()
545
						else
546
							warn'The object is anchored!'
547
						end
548
					end
549
				end
550
				if k=="t"and not Tired.d then -- TELEPORT
551
					if mouse.Target then Debounces.isAttacking=true
552
					local pos=mouse.Hit KG:Pause()
553
					root.Anchored=1 root.CFrame=CFrame.new(9999,9999,109999)
554
					local jam=Instance.new("ScreenGui",p:FindFirstChildOfClass("PlayerGui"))
555
					jam.DisplayOrder=12 local j=Instance.new("Frame",jam)j.BackgroundColor3=Color3.new()
556
					j.BorderSizePixel=0 j.Size=UDim2.new(1,0,1,0)
557
					wait(1)Debounces.isAttacking=false KG:Resume()
558
					root.CFrame=pos+Vector3.new(0,3,0)
559
					jam:Destroy()root.Anchored=false
560
					end
561
					Tired.n=Tired.n+50
562
				end
563
				if k=="f"and not Tired.d and not dunkedon and Debounces.isPassive then
564
					dunkedon=true local pos=mouse.Hit.p
565
					Tired.n=Tired.n+100
566
					local idk=Instance.new("Part",efcModel)
567
					idk.Size=Vector3.new(2,80,80)local sp=Instance.new("SpecialMesh",idk)idk.Anchored=1 idk.CanCollide=nil
568
					sp.Scale=idk.Size*20 idk.Size=Vector3.new()idk.Color=Color3.new(1,.1,.1)sp.MeshType="Cylinder"
569
					idk.Transparency=.5 idk.CFrame=CFrame.new(pos)*CFrame.Angles(0,0,math.rad(90))
570
					idk.Material="SmoothPlastic"
571
					idk.Transparency=.5 sw(20)idk:Destroy()
572
					spawn(function()for i=1,300 do
573
						local pos=CFrame.new(pos)*CFrame.Angles(0,math.rad(math.random(360)),0)*CFrame.new(0,0,math.random(380)/10)*CFrame.Angles(0,math.rad(math.random(180)),0)+Vector3.new(0,-6,0)
574
						spawn(function()
575
							local p=Instance.new("Part",efcModel)
576
							p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
577
							p.Color=Color3.new(83,255,255)p.Size=Vector3.new(10,1,10)p.CFrame=pos
578
							local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
579
							local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937"
580-
							p.Color=Color3.new(12,0,0)p.Size=Vector3.new(10,1,10)p.CFrame=pos
580+
581
							spawn(function()
582
								for i=0,1,.05 do p.CFrame=p.CFrame+Vector3.new(0,.6,0)sw()end
583
								sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
584
							end)
585
						end)
586
						sw()
587
					end
588
					end)
589
					wait(5)
590
					
591
					dunkedon=false
592
				end
593
			end
594
			if Debounces.isPassive and k=="g"then
595
				while hldng.g and not Tired.d do
596
					sw(10)
597
					Tired.n=Tired.n+1
598
					local pos=CFrame.new((root.CFrame+Vector3.new(0,4,0))*CFrame.new(math.random(-70,70)/10,math.random(-10,10)/10,math.random(-70,70)/10).p,mouse.Hit.p)
599
					spawn(function()
600
						local p=Instance.new("Part",efcModel)
601
						p.Touched:connect(function(p)if p.Parent:FindFirstChild("Humanoid")then if p.Parent.Humanoid~=human then RiseLevel(p.Parent.Humanoid,1)p.Parent.Humanoid.Health=p.Parent.Humanoid.Health-1 end end end)
602
						p.Color=Color3.new(1,1,1)p.Size=Vector3.new(4,4,4)p.CFrame=pos
603
						local j=Instance.new("BodyVelocity",p)j.MaxForce=Vector3.new(1,1,1)/0 j.Velocity=Vector3.new()p.CanCollide=nil
604
						local m=Instance.new("SpecialMesh",p)m.MeshId="rbxassetid://465130937" 
605-
						p.Color=Color3.new(12,0,0)p.Size=Vector3.new(4,4,4)p.CFrame=pos
605+
606
						spawn(function()
607
							for i=0,1,.005 do p.CFrame=pos*CFrame.new(0,0,-i*300)*CFrame.Angles(math.rad(90),0,0)sw()end
608
							sw(10)for i=0,1,.05 do p.Transparency=i sw()end p:Destroy()
609
						end)
610
					end)
611
				end
612
			end
613
		
614
		end)
615
		uinps.InputBegan:connect(function(InputObject)
616
				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
617
						Debounces.isBoosting = true
618
						Debounces.damageLevel = 10
619
						Debounces.scalingDamage = true
620
						local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
621
						setLerp(.15)
622
						setJointCFrames({
623
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
624
								CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
625
								CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
626
								CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
627
								CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
628
								CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
629
						})
630
						local boostSpeed = 400
631
						local efx = Instance.new("Sound",c.Head)
632
						efx.SoundId = "rbxassetid://200632875"
633
						efx.Pitch = math.random(1100,1300)/1000
634
						efx.Volume = .5
635
						efx:Play()
636
						spawn(function()
637
								wait(5)
638
								efx:Destroy()
639
						end)
640
						vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
641
						vel.P = 1e3
642
						vel.MaxForce = Vector3.new(math.huge,0,math.huge)
643
						wait(.15)
644
						vel.P = 1000
645
						vel.MaxForce = Vector3.new(3000,0,3000)
646
						vel.Velocity = Vector3.new()
647
						wait(.3)
648
						setLerp(.3)
649
						setJointCFrames({
650
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
651
								CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
652
								CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
653
								CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
654
								CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
655
								CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
656
						})
657
						wait(.2)
658
						vel:Destroy()
659
						Debounces.damageLevel = 0
660
						Debounces.scalingDamage = false
661
						Debounces.isBoosting = false
662
				end
663
		end)
664
665
		uinps.InputBegan:connect(function(InputObject)
666
				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
667
						Debounces.isBoosting = true
668
						Debounces.damageLevel = 10
669
						Debounces.scalingDamage = true
670
						local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
671
						setLerp(.15)
672
						setJointCFrames({
673
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
674
								CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
675
								CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
676
								CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
677
								CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
678
								CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
679
						})
680
						local boostSpeed = 250
681
						local efx = Instance.new("Sound",c.Head)
682
						efx.SoundId = "rbxassetid://200632875"
683
						efx.Pitch = math.random(1100,1300)/1000
684
						efx.Volume = .5
685
						efx:Play()
686
						spawn(function()
687
								wait(5)
688
								efx:Destroy()
689
						end)
690
						vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
691
						vel.P = 1e3
692
						vel.MaxForce = Vector3.new(math.huge,0,math.huge)
693
						wait(.15)
694
						vel.P = 1000
695
						vel.MaxForce = Vector3.new(3000,0,3000)
696
						vel.Velocity = Vector3.new()
697
						wait(.3)
698
						setLerp(.3)
699
						setJointCFrames({
700
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
701
								CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
702
								CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
703
								CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
704
								CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
705
								CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
706
						})
707
						wait(.2)
708
						vel:Destroy()
709
						Debounces.damageLevel = 0
710
						Debounces.scalingDamage = false
711
						Debounces.isBoosting = false
712
				end
713
		end)
714
715
		uinps.InputBegan:connect(function(InputObject)
716
				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
717
						Debounces.isBoosting = true
718
						Debounces.damageLevel = 10
719
						Debounces.scalingDamage = true
720
						local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
721
						setLerp(.15)
722
						setJointCFrames({
723
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
724
								CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
725
								CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
726
								CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
727
								CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
728
								CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
729
						})
730
						local boostSpeed = 350
731
						local efx = Instance.new("Sound",c.Head)
732
						efx.SoundId = "rbxassetid://200632875"
733
						efx.Pitch = math.random(1100,1300)/1000
734
						efx.Volume = .5
735
						efx:Play()
736
						spawn(function()
737
								wait(5)
738
								efx:Destroy()
739
						end)
740
						vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
741
						vel.P = 1e3
742
						vel.MaxForce = Vector3.new(math.huge,0,math.huge)
743
						wait(.15)
744
						vel.P = 1000
745
						vel.MaxForce = Vector3.new(3000,0,3000)
746
						vel.Velocity = Vector3.new()
747
						wait(.3)
748
						setLerp(.3)
749
						setJointCFrames({
750
								CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
751
								CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
752
								CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
753
								CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
754
								CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
755
								CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
756
						})
757
						wait(.2)
758
						vel:Destroy()
759
						Debounces.damageLevel = 0
760
						Debounces.scalingDamage = false
761
						Debounces.isBoosting = false
762
				end
763
		end)
764
765
		uinps.InputBegan:connect(function(InputObject)
766
				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
767
						Debounces.isBoosting = true
768
						Debounces.damageLevel = 30
769
						Debounces.scalingDamage = true
770
						local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
771
						setLerp(.15)
772
						setJointCFrames({
773
								CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
774
								CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
775
								CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
776
								CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
777
								CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
778
								CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
779
						})
780
						local boostSpeed = 400
781
						local boostSpeed = 400
782
						local efx = Instance.new("Sound",c.Head)
783
						efx.SoundId = "rbxassetid://200632875"
784
						efx.Pitch = math.random(1100,1300)/1000
785
						efx.Volume = .5
786
						efx:Play()
787
						spawn(function()
788
								wait(5)
789
								efx:Destroy()
790
						end)
791
						vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
792
						vel.P = 1e3
793
						vel.MaxForce = Vector3.new(math.huge,0,math.huge)
794
						wait(.15)
795
						vel.P = 1000
796
						vel.MaxForce = Vector3.new(3000,0,3000)
797
						vel.Velocity = Vector3.new()
798
						wait(.3)
799
						setLerp(.3)
800
						setJointCFrames({
801
								CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
802
								CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
803
								CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
804
								CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
805
								CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
806
								CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
807
						})
808
						wait(.2)
809
						vel:Destroy()
810
						Debounces.damageLevel = 0
811
						Debounces.scalingDamage = false
812
						Debounces.isBoosting = false
813
				end
814
		end)
815
816
		uinps.InputBegan:connect(function(InputObject)
817
				if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false and not Tired.d then
818
						local isLooping = true
819
						uinps.InputEnded:connect(function(InputObject2)
820
								if InputObject2.KeyCode == Enum.KeyCode.Q then
821
										isLooping = false
822
								end
823
						end)
824
						while not Tired.d do
825
								if isLooping == false then
826
										break
827
								end
828
								Debounces.attackNumber = Debounces.attackNumber + 1
829
								local aimPos = mouse.Hit.p
830
								local head = Instance.new("Part",c)
831
								head.Size = Vector3.new(12,.2,12)
832
								head.CanCollide = false
833
								head.Anchored = true
834
								head.Transparency = 1
835
					   			local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
836
					   			mesh.Scale=Vector3.new(.05,.05,.05)
837
								local decal = Instance.new("Decal",head)
838
								decal.Texture = "rbxassetid://441975828"
839
								Color3.new(100,100,0)
840
								if Debounces.attackNumber%2 == 1 then
841
										head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
842
								else
843
										head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
844
								end head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
845
								spawn(function()
846
										local timer = 0
847
										while rs.RenderStepped:wait() do
848
												if timer >= 1.55 then
849
														break
850
												end
851
												head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
852
												timer = timer + 1/30/(Debounces.FPS/60)
853
										end
854
										head.CFrame = CFrame.new(head.CFrame.p,aimPos)
855
										local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
856
										local hit, pos = workspace:FindPartOnRay(ray,c)
857
										local dis = (head.CFrame.p - pos).magnitude
858
										local rayPart = Instance.new("Part",rayModel)
859
										rayPart.Material = "Neon"
860
										rayPart.FormFactor = "Custom"
861
										rayPart.BrickColor = BrickColor.new"Pearl"
862
										rayPart.Anchored = true
863
										rayPart.CanCollide = false
864-
										rayPart.BrickColor = BrickColor.new"Really red"
864+
865
										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)
866
										rayPart.CFrame = rayCFrame
867
										head:Destroy()
868
								end)
869
								wait()
870
								local s = Instance.new("Sound",head)
871
								s.Volume = 1
872
								s.SoundId = "rbxassetid://332223043"
873
								s:Play()
874
								wait(.04)
875
								Tired.n=Tired.n+2
876
						end
877
				end
878
		end)
879
880
		uinps.InputBegan:connect(function(InputObj)
881
				if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and not Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
882
						Debounces.isAttacking = true
883
						local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
884
						local head = Instance.new("Part",c)
885
						head.Size = Vector3.new(18,.2,18)
886
						head.CanCollide = false
887
						head.Anchored = true
888
						head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
889
						head.Transparency = 1 head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
890
						local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
891
						mesh.Scale=Vector3.new(.1,.1,.1)
892
						local decal = Instance.new("Decal",head)
893
						decal.Texture = "rbxassetid://441975828"
894
						setLerp(.1)
895
						setJointCFrames({
896
								CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
897
								CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
898
								CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
899
								CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
900
								CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
901
								CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
902
						})
903
						spawn(function()
904
								local timer = 0
905
								while rs.RenderStepped:wait() do
906
										if timer >= 1.55/.8 then
907
												break
908
										end
909
										head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
910
										timer = timer + 1/30/(Debounces.FPS/60)
911
								end
912
								head.CFrame = CFrame.new(head.CFrame.p,aimPos)
913
								local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
914
								local hit, pos = workspace:FindPartOnRay(ray,c)
915
								local dis = (head.CFrame.p - pos).magnitude
916
								local rayPart = Instance.new("Part",rayModel)
917
								rayPart.Material = "Neon"
918
								rayPart.FormFactor = "Custom"
919
								rayPart.Name = "Punch"
920
								rayPart.BrickColor = BrickColor.new"Pearl"
921
								rayPart.Anchored = true
922
								rayPart.CanCollide = false
923-
								rayPart.BrickColor = BrickColor.new"Really red"
923+
924
								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)
925
								rayPart.CFrame = rayCFrame
926
								head:Destroy()
927
						end)
928
						wait()
929
						local s = Instance.new("Sound",head)
930
						s.Volume = 1
931
						s.SoundId = "rbxassetid://332223043"
932
						s.Pitch = .8
933
						s:Play()
934
						wait(.75)
935
						setLerp(.17)
936
						setJointCFrames({
937
								CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
938
								CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
939
								CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
940
								CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
941
								CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
942
								CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
943
						})
944
						Tired.n=Tired.n+15
945
						wait(.5)
946
						Debounces.isAttacking = false
947
				end
948
		end)
949
		
950
		reflect = function(d,n)
951
				local i, n = -1 * d.unit, n.unit
952
				local dot = n:Dot(i)
953
				return 2*dot*n - i
954
		end
955
956
		makeReflectionBeam = function(pos,look,isCrit)
957
				local ray = Ray.new(pos,look)
958
				local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
959
				local e = Instance.new("Part",rayModel)
960
				e.Anchored = true
961
				e.CanCollide = false
962
				e.BrickColor = BrickColor.new("Teal")
963
				e.Material = "Neon"
964
				e.FormFactor = "Custom"
965-
				e.BrickColor = BrickColor.new("Really red")
965+
966
				if isCrit == true then
967
						e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
968
						e.Name = "Punch"
969
				end
970
				e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
971
				local e = Instance.new("Sound",c)
972
				if isCrit == true then
973
						e.Volume = .5
974
				else
975
						e.Volume = .3
976
						e.Pitch = 1.5
977
				end
978
				e.SoundId = "rbxassetid://200632875"
979
				e:Play()
980
				spawn(function()
981
						wait(6)
982
						e:Destroy()
983
				end)
984
				wait(.05)
985
				if hit ~= nil then
986
						newDir = reflect(look.unit,norm,isCrit)
987
						makeReflectionBeam(hitpos,newDir * 999,isCrit)
988
				end
989
		end
990
991
		uinps.InputBegan:connect(function(InputObject)
992
				if InputObject.KeyCode == Enum.KeyCode.Q and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
993
						local isLooping = true
994
						uinps.InputEnded:connect(function(InputObject2)
995
								if InputObject2.KeyCode == Enum.KeyCode.Q then
996
										isLooping = false
997
								end
998
						end)
999
						while not Tired.d do
1000
								if isLooping == false then
1001
										break
1002
								end
1003
								Debounces.attackNumber = Debounces.attackNumber + 1
1004
								local aimPos = mouse.Hit.p
1005
								local head = Instance.new("Part",c)
1006
								head.Size = Vector3.new(12,.2,12)
1007
								head.CanCollide = false
1008
1009
								head.Anchored = true
1010
								head.Transparency=1
1011
								local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
1012
					  		 	mesh.Scale=Vector3.new(.05,.05,.05)
1013
								local decal = Instance.new("Decal",head)
1014
								decal.Texture = "rbxassetid://441975828"
1015
								
1016
								
1017-
								decal.Texture = "rbxassetid://431908407"
1017+
1018
										head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
1019
								else
1020
										head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
1021
								end
1022
								head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
1023
								spawn(function()
1024
										local timer = 0
1025
										while rs.RenderStepped:wait() do
1026
												if timer >= 1.55 then
1027
														break
1028
												end
1029
												head.CFrame = head.CFrame * CFrame.new(0,0,-timer/10)
1030
												timer = timer + 1/30/(Debounces.FPS/60)
1031
										end
1032
										head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1033
										head:Destroy()
1034
										makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)		
1035
								end)
1036
								
1037
								wait()
1038
								local s = Instance.new("Sound",head)
1039
								s.Volume = 1
1040
								s.SoundId = "rbxassetid://332223043"
1041
								s.Pitch = 1.02
1042
								s:Play()
1043
								Tired.n=Tired.n+15
1044
								wait(.2)
1045
						end
1046
				end
1047
		end)
1048
1049
		uinps.InputBegan:connect(function(InputObj)
1050
				if InputObj.KeyCode == Enum.KeyCode.E and not Debounces.isAttacking and Debounces.isSprinting and Debounces.isPassive and not Debounces.isTyping and not Tired.d then
1051
						Debounces.isAttacking = true
1052
						local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
1053
						local head = Instance.new("Part",c)
1054
						head.Size = Vector3.new(18,.2,18)
1055
						head.CanCollide = false
1056
						head.Anchored = true
1057
						head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
1058
						head.Transparency = 1
1059
						local mesh=Instance.new("SpecialMesh",head)mesh.MeshType="FileMesh"mesh.MeshId="rbxassetid://431908407"
1060
					   	mesh.Scale=Vector3.new(.1,.1,.1)
1061
						local decal = Instance.new("Decal",head)
1062
						decal.Texture = "rbxassetid://441975828"
1063
						head.CFrame=head.CFrame*CFrame.Angles(0,math.rad(180),0)
1064
						setLerp(.1)
1065
						setJointCFrames({
1066
								CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
1067
								CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
1068
								CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
1069
								CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
1070
								CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
1071
								CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
1072
						})
1073
						spawn(function()
1074
								local timer = 0
1075
								while rs.RenderStepped:wait() do
1076
										if timer >= 1.55/.8 then
1077
												break
1078
										end
1079
										head.CFrame = head.CFrame --* CFrame.new(0,0,-timer/10)
1080
										timer = timer + 1/30/(Debounces.FPS/60)
1081
								end
1082
								head.CFrame = CFrame.new(head.CFrame.p,aimPos)
1083
								head:Destroy()
1084
								makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
1085
						end)
1086
						wait()
1087
						local s = Instance.new("Sound",head)
1088
						s.Volume = 2
1089
						s.SoundId = "rbxassetid://332223043"
1090
						s.Pitch = .8
1091
						s:Play()
1092
						wait(.75)
1093
						setLerp(.17)
1094
						setJointCFrames({
1095
								CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
1096
								CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
1097
								CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
1098
								CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
1099
								CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
1100
								CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
1101
						})
1102
						Tired.n=Tired.n+30
1103
						wait(.5)
1104
						Debounces.isAttacking = false
1105
				end
1106
		end)
1107
1108
		uinps.InputBegan:connect(function(InputObj)
1109
				if InputObj.KeyCode == Enum.KeyCode.Slash then
1110
						local finishEvent = nil
1111
						Debounces.isTyping = true
1112
						finishEvent = uinps.InputBegan:connect(function(InputObj)
1113
								if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
1114
										Debounces.isTyping = false
1115
										finishEvent:disconnect()
1116
								end
1117
						end)
1118
				end
1119
		end)
1120
1121
		uinps.InputBegan:connect(function(InputObj)
1122
				if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1123
						Debounces.isSprinting = true
1124
				end
1125
		end)
1126
1127
		uinps.InputEnded:connect(function(InputObj)
1128
				if InputObj.KeyCode == Enum.KeyCode.LeftShift then
1129
						Debounces.isSprinting = false
1130
				end
1131
		end)
1132
		uinps.InputBegan:connect(function(InputObj)
1133
			
1134
		end)
1135
1136
		rs.RenderStepped:connect(function()
1137
				Debounces.FPS = 1/rs.RenderStepped:wait()
1138
				local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
1139
				if Debounces.isPassive == false then
1140
						fire.Enabled = false
1141
						light.Range = 0
1142
						fight:Pause()
1143
						sans:Resume()
1144
						efxBlock.Transparency = 1
1145
				else
1146
						fire.Enabled = true
1147
						light.Range = 10
1148
						fight:Resume()
1149
						sans:Pause()
1150
						efxBlock.Transparency = 0
1151
				end local tD=3
1152
				for i,v in pairs (rayModel:children()) do
1153
						if v.Transparency >= 1 then
1154
								v:Destroy()
1155
						else
1156
								v.CanCollide = true
1157
								local parts = v:GetTouchingParts()
1158
								v.CanCollide = false
1159
								for i = 1,#parts do
1160
										if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
1161
												RiseLevel(parts[i].Parent.Humanoid,.5/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
1162
										elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
1163
											   RiseLevel(parts[i].Parent.Humanoid,3.1/(Debounces.FPS/60))parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
1164
										end
1165
								end
1166
								v.Size = v.Size / Vector3.new(1+(v.Transparency/tD),1+(v.Transparency/tD),1)--- Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
1167
								v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
1168
						end
1169
				end
1170
				for i = 1,#Joints do
1171
						Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
1172
				end
1173
				local sineval = math.sin(tick() * 2) * 3
1174
				fire.Acceleration = Vector3.new(sineval,1,sineval)
1175
				light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
1176
1177
	
1178
1179
1180
1181
		end)