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