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