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