View difference between Paste ID: DcScibh2 and wC64LrAJ
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
-----------//VEREUS\\-----------
154
--[[Movelist
155
Q = The reverse penance stare,
156
E = Doom Pillars
157
T = Unleashed evil ball
158
Y = The hunt is on
159
Z = CRAZY XESTER SWITCH!!!
160
X = Re_*101011Dact/^ed.exe
161
---------]]
162
163
--To get this shit out of the way, this is NOT a edit of void boss, it was a little project of mine to see how easy it was to animate 2 hands and a head.--
164
--Also stop calling this void boss v2, void boss switcher or any other name you come up with.--
165
--I'm not proud of this project however, having a script this powerful is uncreative and boring + that's what skids care about anyway.--
166
--Alright enjoy it guys please do not abuse the shit out of this.--
167
168
Player=game:GetService("Players").LocalPlayer
169
Character=Player.Character
170
Character.Humanoid.Name = "vereus"
171
hum = Character.vereus
172
LeftArm=Character["Left Arm"]
173
LeftLeg=Character["Left Leg"]
174
RightArm=Character["Right Arm"]
175
RightLeg=Character["Right Leg"]
176
Root=Character["HumanoidRootPart"]
177
Head=Character["Head"]
178
Torso=Character["Torso"]
179
Neck=Torso["Neck"]
180
attacking = false
181
snoring = false
182
laughing = false
183
taim = nil
184
secondform = false
185
change = 0
186
xester = false
187
rachjumper = false
188
ws = 92
189
hpheight = 5
190
huntdown = false
191
visualizer = false
192
jumpscared = false
193
appi = false
194
stoplev = false
195
tauntdebounce = false
196
allowlev = true
197
MseGuide = true
198
position = nil
199
levitate = false
200
mouse = Player:GetMouse()
201
settime = 0
202
sine = 0
203
t = 0
204
dgs = 75
205
RunSrv = game:GetService("RunService")
206
RenderStepped = game:GetService("RunService").RenderStepped
207
removeuseless = game:GetService("Debris")
208
smoothen = game:GetService("TweenService")
209
randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"}
210
random = #randomcolortable
211
smoothen = game:GetService("TweenService")
212
local dmt2 = {143536946,2858940717}
213
local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
214
local soundtable2 = {2616767970,2614901458,2616891279,2614896603,2616768521,2616848595,2614905967,2614918002,2563244734,2563244134,2563244444,2563244999,2563245407,2563654940,2563656758,2563658474,2563659001}
215
laugh = #laughs
216
217
local HEADLERP = Instance.new("ManualWeld")
218
HEADLERP.Parent = Head
219
HEADLERP.Part0 = Head
220
HEADLERP.Part1 = Head
221
HEADLERP.C0 = CFrame.new(0, -1.5, -.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0))
222
223
local TORSOLERP = Instance.new("ManualWeld")
224
TORSOLERP.Parent = Root
225
TORSOLERP.Part0 = Torso
226
TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
227
228
local ROOTLERP = Instance.new("ManualWeld")
229
ROOTLERP.Parent = Root
230
ROOTLERP.Part0 = Root
231
ROOTLERP.Part1 = Torso
232
ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
233
234
local RIGHTARMLERP = Instance.new("ManualWeld")
235
RIGHTARMLERP.Parent = RightArm
236
RIGHTARMLERP.Part0 = RightArm
237
RIGHTARMLERP.Part1 = Torso
238
RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
239
240
local LEFTARMLERP = Instance.new("ManualWeld")
241
LEFTARMLERP.Parent = LeftArm
242
LEFTARMLERP.Part0 = LeftArm
243
LEFTARMLERP.Part1 = Torso
244
LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
245
246
local RIGHTLEGLERP = Instance.new("ManualWeld")
247
RIGHTLEGLERP.Parent = RightLeg
248
RIGHTLEGLERP.Part0 = RightLeg
249
RIGHTLEGLERP.Part1 = Torso
250
RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
251
252
local LEFTLEGLERP = Instance.new("ManualWeld")
253
LEFTLEGLERP.Parent = LeftLeg
254
LEFTLEGLERP.Part0 = LeftLeg
255
LEFTLEGLERP.Part1 = Torso
256
LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
257
258
local function weldBetween(a, b)
259
    local weld = Instance.new("ManualWeld", a)
260
    weld.Part0 = a
261
    weld.Part1 = b
262
    weld.C0 = a.CFrame:inverse() * b.CFrame
263
    return weld
264
end
265
266
function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
267
A = Instance.new("Attachment", PARENT)
268
A.Position = POSITION1
269
A.Name = "A"
270
B = Instance.new("Attachment", PARENT)
271
B.Position = POSITION2
272
B.Name = "B"
273
tr1 = Instance.new("Trail", PARENT)
274
tr1.Attachment0 = A
275
tr1.Attachment1 = B
276
tr1.Enabled = true
277
tr1.Lifetime = LIFETIME
278
tr1.TextureMode = "Static"
279
tr1.LightInfluence = 0
280
tr1.Color = COLOR
281
tr1.Transparency = NumberSequence.new(0, 1)
282
end
283
284
coroutine.wrap(function()
285
while wait() do
286
hum.WalkSpeed = ws
287
end
288
end)()
289
godmode = coroutine.wrap(function()
290
for i,v in pairs(Character:GetChildren()) do
291
if v:IsA("BasePart") and v ~= Root then
292
v.Anchored = false
293
end
294
end
295
while true do
296
hum.MaxHealth = math.huge
297
wait(0.0000001)
298
hum.Health = math.huge
299
wait()
300
end
301
end)
302
godmode()
303
ff = Instance.new("ForceField", Character)
304
ff.Visible = false
305
306
coroutine.wrap(function()
307
for i,v in pairs(Character:GetChildren()) do
308
if v.Name == "Animate" then v:Remove()
309
end
310
end
311
end)()
312
313
for _,x in pairs(Character:GetChildren()) do
314
if x:IsA("Decal") then x:Remove() end
315
end
316
317
function damagealll(Radius,Position)		
318
	local Returning = {}		
319
	for _,v in pairs(workspace:GetChildren()) do		
320
		if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
321
if v:FindFirstChild("Torso") then		
322
			local Mag = (v.Torso.Position - Position).magnitude		
323
			if Mag < Radius then		
324
				table.insert(Returning,v)		
325
			end
326
elseif v:FindFirstChild("UpperTorso") then	
327
			local Mag = (v.UpperTorso.Position - Position).magnitude		
328
			if Mag < Radius then		
329
				table.insert(Returning,v)		
330
			end
331
end	
332
		end		
333
	end		
334
	return Returning		
335
end
336
337
ArtificialHB = Instance.new("BindableEvent", script)
338
ArtificialHB.Name = "Heartbeat"
339
script:WaitForChild("Heartbeat")
340
341
frame = 1 / 60
342
tf = 0
343
allowframeloss = false
344
tossremainder = false
345
346
347
lastframe = tick()
348
script.Heartbeat:Fire()
349
350
351
game:GetService("RunService").Heartbeat:connect(function(s, p)
352
	tf = tf + s
353
	if tf >= frame then
354
		if allowframeloss then
355
			script.Heartbeat:Fire()
356
			lastframe = tick()
357
		else
358
			for i = 1, math.floor(tf / frame) do
359
				script.Heartbeat:Fire()
360
			end
361
			lastframe = tick()
362
		end
363
		if tossremainder then
364
			tf = 0
365
		else
366
			tf = tf - frame * math.floor(tf / frame)
367
		end
368
	end
369
end)
370
371
function swait(num)
372
	if num == 0 or num == nil then
373
		game:service("RunService").Stepped:wait(0)
374
	else
375
		for i = 0, num do
376
			game:service("RunService").Stepped:wait(0)
377
		end
378
	end
379
end
380
381
for i,v in pairs(Root.Parent:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end
382
383
id = "rbxassetid://2858940717"
384
385
386
dmt2random = dmt2[math.random(1,#dmt2)]
387
doomtheme = Instance.new("Sound", Torso)
388
doomtheme.Volume = 4
389
doomtheme.Name = "doomtheme"
390
doomtheme.Looped = true
391
doomtheme.SoundId = "rbxassetid://"..dmt2random
392
if doomtheme.SoundId == "rbxassetid://2858940717" then
393
doomtheme.Pitch = .49
394
else
395
doomtheme.Pitch = 1
396
end
397
doomtheme:Play()
398
399
400
Torso.ChildRemoved:connect(function(removed)
401
if removed.Name == "doomtheme" then
402
if xester then
403
doomtheme = Instance.new("Sound",Torso)
404
doomtheme.Volume = 4
405
doomtheme.Name = "doomtheme"
406
doomtheme.Looped = true
407
doomtheme.SoundId = "rbxassetid://1382488262"
408
doomtheme.TimePosition = 20.72
409
doomtheme:Play()
410
else
411
dmt2random = dmt2[math.random(1,#dmt2)]
412
doomtheme = Instance.new("Sound",Torso)
413
doomtheme.Volume = 4
414
doomtheme.Name = "doomtheme"
415
doomtheme.Looped = true
416
doomtheme.SoundId = "rbxassetid://"..dmt2random
417
if doomtheme.SoundId == "rbxassetid://2858940717" then
418
doomtheme.Pitch = .49
419
else
420
doomtheme.Pitch = 1
421
end
422
doomtheme:Play()
423
end
424
end
425
end)
426
427
function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
428
local so = Instance.new("Sound")
429
so.Parent = PARENT
430
so.SoundId = "rbxassetid://"..ID
431
so.Volume = VOL
432
so.Looped = LOOP
433
so:Play()
434
removeuseless:AddItem(so,REMOVE)
435
end
436
437
bighead = Instance.new("Part",Torso)
438
bighead.Size = Vector3.new(1,1,1)
439
bighead.Anchored = false
440
bighead.CanCollide = false
441
bighead.Locked = true
442
bighead.Size = Vector3.new(4.75, 4.89, 4.77)
443
bighead.BrickColor = BrickColor.new("Really black")
444
bighead.CFrame = Head.CFrame
445
bigheadweld = weldBetween(bighead,Head)
446
headmesh = Instance.new("SpecialMesh",bighead)
447
headmesh.MeshType = "Head"
448
headmesh.Scale = Vector3.new(1.25,1.25,1.25)
449
450
mask = Instance.new("Part",Torso)
451
mask.Size = Vector3.new(.1, 0.39, .1)
452
mask.Anchored = false
453
mask.Locked = true
454
mask.CanCollide = false
455
mask.BrickColor = BrickColor.new("White")
456
mask.Material = "Corroded Metal"
457
maskweld = weldBetween(mask,bighead)
458
maskweld.C0 = CFrame.new(0,-2.4,0) * CFrame.Angles(math.rad(90),0,0)
459
maskmesh = Instance.new("SpecialMesh",mask)
460
maskmesh.MeshId = "rbxassetid://5158270"
461
maskmesh.TextureId = "rbxassetid://128212042"
462
maskmesh.Scale = Vector3.new(0.7, 0.5, 0.5)
463
464
lightpart1 = Instance.new("Part",Head)
465
lightpart1.Size = Vector3.new(2.42,2,.516)
466
lightpart1.Anchored = false
467
lightpart1.Transparency = 1
468
lightpart1.BrickColor = BrickColor.new("White")
469
lightpart1.Material = "Neon"
470
lightpart1weld = weldBetween(lightpart1,Head)
471
lightpart1weld.C0 = CFrame.new(0,.9,2.595)
472
473
horns = Instance.new("Part",Torso)
474
horns.Size = Vector3.new(.1,.1,.1)
475
horns.Material = "Slate"
476
horns.Locked = true
477
horns.BrickColor = BrickColor.new("Really black")
478
horns.CFrame = Head.CFrame * CFrame.new(0,3,0)
479
hornsmesh = Instance.new("SpecialMesh",horns)
480
hornsmesh.MeshId = "rbxassetid://434078905"
481
hornsmesh.Scale = Vector3.new(13,12,12)
482
hornsweld = weldBetween(horns,bighead)
483
hornsweld.C0 = CFrame.new(0,-3.3,.82) * CFrame.Angles(math.rad(0),math.rad(180),0)
484
485
hand1 = Instance.new("Part",Torso)
486
hand1.Size = Vector3.new(.1,.1,.1)
487
hand1.Anchored = false
488
hand1.Locked = true
489
hand1.CanCollide = false
490
hand1.BrickColor = BrickColor.new("White")
491
hand1.Material = "Slate"
492
hand1mesh = Instance.new("SpecialMesh",hand1)
493
hand1mesh.MeshId = "rbxassetid://37241605"
494
hand1mesh.Scale = Vector3.new(8, 8, 8)
495
HAND1LERP = weldBetween(hand1,Torso)
496
HAND1LERP.C0 = CFrame.new(4.5,-5,6) * CFrame.Angles(math.rad(10),math.rad(-5),math.rad(-36))
497
498
hand2 = Instance.new("Part",Torso)
499
hand2.Size = Vector3.new(.1,.1,.1)
500
hand2.Anchored = false
501
hand2.CanCollide = false
502
hand2.Locked = true
503
hand2.BrickColor = BrickColor.new("White")
504
hand2.Material = "Slate"
505
hand2mesh = Instance.new("SpecialMesh",hand2)
506
hand2mesh.MeshId = "rbxassetid://2899129749"
507
hand2mesh.Scale = Vector3.new(.8, .8, .8)
508
HAND2LERP = weldBetween(hand2,Torso)
509
HAND2LERP.C0 = HAND2LERP.C0:Inverse() * CFrame.new(-5,-5,6) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(95))
510
511
mg1 = Instance.new("Part",Torso)
512
mg1.Anchored = false
513
mg1.CanCollide = false
514
mg1.Locked = true
515
mg1.Size = Vector3.new(4,4,4)
516
mg1.Shape = "Ball"
517
mg1.BrickColor = BrickColor.new("Really black")
518
mg1.Material = "Neon"
519
mg1.CFrame = hand1.CFrame
520
mg1weld = weldBetween(mg1,hand1)
521
mg1weld.C0 = CFrame.new(0,2.7,-4)
522
blackhole = Instance.new("ParticleEmitter",mg1)
523
blackhole.Texture = "rbxassetid://258128463"
524
blackhole.Size = NumberSequence.new(2,2)
525
blackhole.Rate = 50
526
blackhole.LockedToPart = true
527
blackhole.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color)
528
blackhole.RotSpeed = NumberRange.new(50)
529
blackhole.Lifetime = NumberRange.new(1)
530
blackhole.Speed = NumberRange.new(0)
531
532
mg2 = Instance.new("Part",Torso)
533
mg2.Anchored = false
534
mg2.CanCollide = false
535
mg2.Shape = "Ball"
536
mg2.Locked = true
537
mg2.Size = Vector3.new(4,4,4)
538
mg2.BrickColor = BrickColor.new("Really black")
539
mg2.Material = "Neon"
540
mg2.CFrame = hand2.CFrame
541
mg2weld = weldBetween(mg2,hand2)
542
mg2weld.C0 = CFrame.new(0,2.7,-4)
543
blackhole2 = Instance.new("ParticleEmitter",mg2)
544
blackhole2.Texture = "rbxassetid://258128463"
545
blackhole2.Size = NumberSequence.new(2,2)
546
blackhole2.Rate = 50
547
blackhole2.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color)
548
blackhole2.RotSpeed = NumberRange.new(50)
549
blackhole2.Lifetime = NumberRange.new(1)
550
blackhole2.LockedToPart = true
551
blackhole2.Speed = NumberRange.new(0)
552
553
slaten = Instance.new("Decal",hand2)
554
slaten.Texture = "rbxassetid://647441616"
555
slaten.Color3 = Color3.new(0, 0, 0)
556
slaten.Face = "Top"
557
558
slaten2 = Instance.new("Decal",hand2)
559
slaten2.Texture = "rbxassetid://647417318"
560
slaten2.Color3 = Color3.new(0,0,0)
561
slaten2.Face = "Top"
562
563
slatez = Instance.new("Decal",hand1)
564
slatez.Texture = "rbxassetid://647441616"
565
slatez.Color3 = Color3.new(0, 0, 0)
566
slatez.Face = "Top"
567
568
slatez2 = Instance.new("Decal",hand1)
569
slatez2.Texture = "rbxassetid://647417318"
570
slatez2.Color3 = Color3.new(0,0,0)
571
slatez2.Face = "Top"
572
573
slatez3 = Instance.new("Decal",hand1)
574
slatez3.Texture = "rbxassetid://647410994"
575
slatez3.Color3 = Color3.new(1,1,1)
576
slatez3.Face = "Top"
577
578
slatez4 = Instance.new("Decal",hand1)
579
slatez4.Texture = "rbxassetid://647413967"
580
slatez4.Color3 = Color3.new(1,1,1)
581
slatez4.Face = "Top"
582
583
slatex = Instance.new("Decal",horns)
584
slatex.Texture = "rbxassetid://647441616"
585
slatex.Color3 = Color3.new(0, 0, 0)
586
slatex.Face = "Top"
587
588
slatex2 = Instance.new("Decal",horns)
589
slatex2.Texture = "rbxassetid://647417318"
590
slatex2.Color3 = Color3.new(0,0,0)
591
slatex2.Face = "Top"
592
593
slatex3 = Instance.new("Decal",horns)
594
slatex3.Texture = "rbxassetid://647410994"
595
slatex3.Color3 = Color3.new(1,1,1)
596
slatex3.Face = "Top"
597
598
slatex4 = Instance.new("Decal",horns)
599
slatex4.Texture = "rbxassetid://647413967"
600
slatex4.Color3 = Color3.new(1,1,1)
601
slatex4.Face = "Top"
602
603
slatex5 = Instance.new("Decal",horns)
604
slatex5.Texture = "rbxassetid://64739326f6"
605
slatex5.Color3 = Color3.new(1, 1, 1)
606
slatex5.Face = "Top"
607
608
eyeball1 = Instance.new("Part",Torso)
609
eyeball1.Anchored = false
610
eyeball1.CanCollide = false
611
eyeball1.Locked = true
612
eyeball1.Shape = "Ball"
613
eyeball1.Material = "Glass"
614
eyeball1.Size = Vector3.new(3.25, 3.25, 3.25)
615
eyeball1.BrickColor = BrickColor.new("Really black")
616
eyeball1weld = weldBetween(eyeball1,Head)
617
eyeball1weld.C0 = CFrame.new(.6,-.2,1.25)
618
619
eyeball2 = Instance.new("Part",Torso)
620
eyeball2.Anchored = false
621
eyeball2.CanCollide = false
622
eyeball2.Shape = "Ball"
623
eyeball2.Locked = true
624
eyeball2.Material = "Glass"
625
eyeball2.Size = Vector3.new(3.25, 3.25, 3.25)
626
eyeball2.BrickColor = BrickColor.new("Really black")
627
eyeball2weld = weldBetween(eyeball2,Head)
628
eyeball2weld.C0 = CFrame.new(-.6,-.2,1.25)
629
630
eyeball3 = Instance.new("Part",Torso)
631
eyeball3.Anchored = false
632
eyeball3.CanCollide = false
633
eyeball3.Locked = true
634
eyeball3.Material = "Neon"
635
eyeball3.Size = Vector3.new(0.4, 0.4, 0.4)
636
eyeball3.BrickColor = BrickColor.new("Crimson")
637
eyeball3mesh = Instance.new("SpecialMesh",eyeball3)
638
eyeball3mesh.MeshType = "Sphere"
639
eyeball3weld = weldBetween(eyeball3,Head)
640
eyeball3weld.C0 = CFrame.new(-1.2,-.3,2.65)
641
642
eyeball4 = Instance.new("Part",Torso)
643
eyeball4.Anchored = false
644
eyeball4.CanCollide = false
645
eyeball4.Material = "Neon"
646
eyeball4.Locked = true
647
eyeball4.Size = Vector3.new(0.4, 0.4, 0.4)
648
eyeball4.BrickColor = BrickColor.new("Crimson")
649
eyeball4mesh = Instance.new("SpecialMesh",eyeball4)
650
eyeball4mesh.MeshType = "Sphere"
651
eyeball4weld = weldBetween(eyeball4,Head)
652
eyeball4weld.C0 = CFrame.new(1.2,-.3,2.65)
653
654
coroutine.wrap(function()
655
while true do
656
wait(5)
657
for i = 1, 10 do
658
eyeball3.Size = eyeball3.Size - Vector3.new(0,.04,0)
659
eyeball4.Size = eyeball4.Size - Vector3.new(0,.04,0)
660
swait()
661
end
662
for i = 1, 10 do
663
eyeball3.Size = eyeball3.Size + Vector3.new(0,.04,0)
664
eyeball4.Size = eyeball4.Size + Vector3.new(0,.04,0)
665
swait()
666
end
667
swait()
668
end
669
end)()
670
671
slateh = Instance.new("Decal",mask)
672
slateh.Texture = "rbxassetid://647441616"
673
slateh.Color3 = Color3.new(0, 0, 0)
674
slateh.Face = "Top"
675
676
slateh2 = Instance.new("Decal",mask)
677
slateh2.Texture = "rbxassetid://647417318"
678
slateh2.Color3 = Color3.new(0,0,0)
679
slateh2.Face = "Top"
680
681
slateh3 = Instance.new("Decal",mask)
682
slateh3.Texture = "rbxassetid://647410994"
683
slateh3.Color3 = Color3.new(1,1,1)
684
slateh3.Face = "Top"
685
686
slateh4 = Instance.new("Decal",mask)
687
slateh4.Texture = "rbxassetid://647413967"
688
slateh4.Color3 = Color3.new(1,1,1)
689
slateh4.Face = "Top"
690
691
slateh5 = Instance.new("Decal",mask)
692
slateh5.Texture = "rbxassetid://64739326f6"
693
slateh5.Color3 = Color3.new(1, 1, 1)
694
slateh5.Face = "Top"
695
696
mouse.KeyDown:connect(function(Press)
697
Press=Press:lower()
698
if Press=='m' then
699
immortality()
700
elseif Press=='t' then
701
if xester then
702
if tauntdebounce then return end
703
tauntdebounce = true
704
laughing = true
705
laugh = laughs[math.random(1,#laughs)]
706
laughy = Instance.new("Sound",Head)
707
laughy.SoundId = "rbxassetid://"..laugh
708
laughy.Volume = 10
709
laughy:Play()
710
wait(1)
711
wait(laughy.TimeLength)
712
laughing = false
713
laughy:Remove()
714
tauntdebounce = false
715
elseif rachjumper then
716
if tauntdebounce == true then return end
717
tauntdebounce = true
718
rdnm2 = soundtable2[math.random(1,#soundtable2)]
719
tauntsound = Instance.new("Sound", Head)
720
tauntsound.Volume = 8
721
tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2
722
tauntsound.Looped = false
723
tauntsound:Play()
724
wait(3)
725
wait(tauntsound.TimeLength)
726
tauntsound:Remove()
727
wait(1)
728
tauntdebounce = false
729
else
730
if debounce then return end
731
debounce = true
732
attacking = true
733
ws = 0
734
local energball = Instance.new("Part",Torso)
735
energball.Shape = "Ball"
736
energball.Material = "Neon"
737
energball.Size = Vector3.new(.1,.1,.1)
738
energball.Anchored = true
739
energball.CanCollide = false
740
energball.BrickColor = BrickColor.new("Really black")
741
energball.CFrame = hand1.CFrame * CFrame.new(0,1,-2.5)
742
SOUND(energball,2880335731,10,false,10)
743
local g1 = Instance.new("BodyGyro", Root)
744
g1.D = 175
745
g1.P = 20000
746
g1.MaxTorque = Vector3.new(0,9000,0)
747
for i = 1, 250 do
748
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
749
coroutine.wrap(function()
750
local sk = Instance.new("Part",Torso)
751
sk.CanCollide = false
752
sk.Anchored = true
753
sk.BrickColor = BrickColor.new("Really black")
754
sk.Name = "sk"
755
sk.CFrame = energball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
756
local skmesh = Instance.new("SpecialMesh",sk)
757
skmesh.MeshId = "rbxassetid://662586858"
758
skmesh.Name = "wave"
759
skmesh.Scale = Vector3.new(.02,.005,.02)
760
for i = 1, 20 do
761
skmesh.Scale = skmesh.Scale + Vector3.new(.004,0,.004)
762
sk.Transparency = sk.Transparency + .05
763
swait()
764
end
765
sk:Remove()
766
end)()
767
coroutine.wrap(function()
768
local shockwave = Instance.new("Part", Torso)
769
shockwave.Size = Vector3.new(1,1,1)
770
shockwave.CanCollide = false
771
shockwave.Anchored = true
772
shockwave.Transparency = .7
773
shockwave.BrickColor = BrickColor.new("Really black")
774
shockwave.CFrame = CFrame.new(energball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
775
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
776
shockwavemesh.Scale = Vector3.new(7,.1,7)
777
shockwavemesh.MeshId = "rbxassetid://20329976"
778
for i = 1, 20 do
779
shockwave.Transparency = shockwave.Transparency + .05
780
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.5,0,.5)
781
swait()
782
end
783
shockwave:Remove()
784
end)()
785
coroutine.wrap(function()
786
local shockwave = Instance.new("Part", Torso)
787
shockwave.Size = Vector3.new(1,1,1)
788
shockwave.CanCollide = false
789
shockwave.Anchored = true
790
shockwave.Transparency = .4
791
shockwave.BrickColor = BrickColor.new("Really black")
792
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
793
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
794
shockwavemesh.Scale = Vector3.new(10,1,10)
795
shockwavemesh.MeshId = "rbxassetid://20329976"
796
local shockwave2 = Instance.new("Part", Torso)
797
shockwave2.Size = Vector3.new(1,1,1)
798
shockwave2.CanCollide = false
799
shockwave2.Anchored = true
800
shockwave2.Transparency = .4
801
shockwave2.BrickColor = BrickColor.new("Really black")
802
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
803
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
804
shockwavemesh2.Scale = Vector3.new(1,1,1)
805
shockwavemesh2.MeshId = "rbxassetid://20329976"
806
for i = 1, 30 do
807
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0)
808
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0)
809
shockwave.Transparency = shockwave.Transparency + 0.05
810
shockwave2.Transparency = shockwave2.Transparency + 0.05
811
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,1,8)
812
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,.5,10)
813
swait()
814
end
815
shockwave:Remove()
816
shockwave2:Remove()
817
	end)()
818
energball.Size = energball.Size + Vector3.new(.02,.02,.02)
819
energball.CFrame = hand1.CFrame * CFrame.new(0,0,-3)
820
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6.5,0,-1) * CFrame.Angles(math.rad(70),math.rad(90),math.rad(0)),.2)
821
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(6.5,0,-5) * CFrame.Angles(math.rad(-110),math.rad(90),math.rad(0)),.2)
822
swait()
823
end
824
local bwoo = Instance.new("Sound",Torso)
825
bwoo.SoundId = "rbxassetid://134012322"
826
bwoo.Volume = 10
827
bwoo.Pitch = .85
828
bwoo:Play()
829
removeuseless:AddItem(bwoo,10)
830
for i = 1, 20 do
831
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
832
energball.CFrame = hand2.CFrame * CFrame.new(0,0,-3)
833
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-35),0),.2)
834
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2)
835
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.5,0,7) * CFrame.Angles(math.rad(-90),math.rad(18),math.rad(37)),.2)
836
swait()
837
end
838
energball.Anchored = false
839
local bov = Instance.new("BodyVelocity",energball)
840
bov.maxForce = Vector3.new(99999,99999,99999)
841
energball.CFrame = CFrame.new(energball.Position,mouse.Hit.p)
842
bov.velocity = energball.CFrame.lookVector*300
843
local hitted = false
844
energball.Touched:connect(function(hit)
845
if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "rachjumper" and hit.Parent.Parent ~= Character then
846
if hitted then return end
847
hitted = true
848
print("hit")
849
energball.Anchored = true
850
local energballplosion = energball:Clone() energballplosion.Parent = Torso
851
energball.Transparency = 1
852
local render = Instance.new("Sound",energball)
853
render.SoundId = "rbxassetid://2006635781"
854
render.Volume = 10 * 10
855
render:Play()
856
local zm = 0
857
for i = 1, 70 do
858
zm = zm + 2
859
Hit = damagealll(zm,energball.Position)
860
for _,v in pairs(Hit) do
861
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
862
slachtoffer = v:FindFirstChildOfClass("Humanoid")
863
coroutine.wrap(function()
864
local w = Instance.new("Part",Torso)
865
w.Anchored = true
866
w.CanCollide = false
867
w.Material = "Neon"
868
w.BrickColor = BrickColor.new("Really black")
869
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
870
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
871
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
872
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
873
end
874
w.Size = Vector3.new(3,3,3)
875
w.Shape = "Ball"
876
for i = 1, 50 do
877
w.Transparency = w.Transparency + .05
878
w.Size = w.Size + Vector3.new(3.5,3.5,3.5)
879
swait()
880
end
881
w:Remove()
882
end)()
883
for i = 1, 8 do
884
coroutine.wrap(function()
885
local ps = Instance.new("Part",Torso)
886
ps.Size = Vector3.new(1,1,1)
887
ps.Anchored = true
888
ps.BrickColor = BrickColor.new("Really black")
889
ps.Material = "Neon"
890
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
891
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
892
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
893
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
894
end
895
local psm = Instance.new("SpecialMesh",ps)
896
psm.MeshType = "Sphere"
897
psm.Scale = Vector3.new(3,1,3)
898
for i = 1, 50 do
899
psm.Scale = psm.Scale + Vector3.new(0,5,0)
900
ps.Transparency = ps.Transparency + .025
901
swait()
902
end
903
ps:Remove()
904
end)()
905
end
906
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false
907
x.CanCollide = true x:BreakJoints() end end
908
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end
909
slachtoffer.Parent:BreakJoints()
910
end
911
end
912
coroutine.wrap(function()
913
local shockwave = Instance.new("Part", Torso)
914
shockwave.Size = Vector3.new(1,1,1)
915
shockwave.CanCollide = false
916
shockwave.Anchored = true
917
shockwave.Transparency = .4
918
shockwave.BrickColor = BrickColor.new("Really black")
919
shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0)
920
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
921
shockwavemesh.Scale = Vector3.new(10,2,10)
922
shockwavemesh.MeshId = "rbxassetid://20329976"
923
local shockwave2 = Instance.new("Part", Torso)
924
shockwave2.Size = Vector3.new(1,1,1)
925
shockwave2.CanCollide = false
926
shockwave2.Anchored = true
927
shockwave2.Transparency = .4
928
shockwave2.BrickColor = BrickColor.new("Really black")
929
shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0)
930
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
931
shockwavemesh2.Scale = Vector3.new(11,2,11)
932
shockwavemesh2.MeshId = "rbxassetid://20329976"
933
local biggar = 0
934
for i = 1, 30 do
935
biggar = biggar + 4
936
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0)
937
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0)
938
shockwave.Transparency = shockwave.Transparency + 0.05
939
shockwave2.Transparency = shockwave2.Transparency + 0.05
940
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8 + biggar,4,8 + biggar)
941
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10 + biggar,4,10 + biggar)
942
swait()
943
end
944
shockwave:Remove()
945
shockwave2:Remove()
946
	end)()
947
energballplosion.Size = energballplosion.Size + Vector3.new(2,2,2)
948
swait()
949
end
950
for i = 1, 80 do
951
zm = zm + 3.5
952
Hit = damagealll(zm,energball.Position)
953
for _,v in pairs(Hit) do
954
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
955
slachtoffer = v:FindFirstChildOfClass("Humanoid")
956
coroutine.wrap(function()
957
local w = Instance.new("Part",Torso)
958
w.Anchored = true
959
w.CanCollide = false
960
w.Material = "Neon"
961
w.BrickColor = BrickColor.new("Really black")
962
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
963
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
964
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
965
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
966
end
967
w.Size = Vector3.new(3,3,3)
968
w.Shape = "Ball"
969
for i = 1, 50 do
970
w.Transparency = w.Transparency + .05
971
w.Size = w.Size + Vector3.new(3.5,3.5,3.5)
972
swait()
973
end
974
w:Remove()
975
end)()
976
for i = 1, 8 do
977
coroutine.wrap(function()
978
local ps = Instance.new("Part",Torso)
979
ps.Size = Vector3.new(1,1,1)
980
ps.Anchored = true
981
ps.BrickColor = BrickColor.new("Really black")
982
ps.Material = "Neon"
983
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
984
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
985
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
986
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
987
end
988
local psm = Instance.new("SpecialMesh",ps)
989
psm.MeshType = "Sphere"
990
psm.Scale = Vector3.new(3,1,3)
991
for i = 1, 50 do
992
psm.Scale = psm.Scale + Vector3.new(0,5,0)
993
ps.Transparency = ps.Transparency + .025
994
swait()
995
end
996
ps:Remove()
997
end)()
998
end
999
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false
1000
x.CanCollide = true x:BreakJoints() end end
1001
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end
1002
slachtoffer.Parent:BreakJoints()
1003
end
1004
end
1005
coroutine.wrap(function()
1006
local shockwave = Instance.new("Part", Torso)
1007
shockwave.Size = Vector3.new(1,1,1)
1008
shockwave.CanCollide = false
1009
shockwave.Anchored = true
1010
shockwave.Transparency = .4
1011
shockwave.BrickColor = BrickColor.new("Really black")
1012
shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0)
1013
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
1014
shockwavemesh.Scale = Vector3.new(10,6,10)
1015
shockwavemesh.MeshId = "rbxassetid://20329976"
1016
local shockwave2 = Instance.new("Part", Torso)
1017
shockwave2.Size = Vector3.new(1,1,1)
1018
shockwave2.CanCollide = false
1019
shockwave2.Anchored = true
1020
shockwave2.Transparency = .4
1021
shockwave2.BrickColor = BrickColor.new("Really black")
1022
shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0)
1023
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
1024
shockwavemesh2.Scale = Vector3.new(11,6,11)
1025
shockwavemesh2.MeshId = "rbxassetid://20329976"
1026
local biggar = 0
1027
local biggar2 = 0
1028
for i = 1, 30 do
1029
biggar = biggar + 14
1030
biggar2 = biggar2 + 22
1031
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0)
1032
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0)
1033
shockwave.Transparency = shockwave.Transparency + 0.05
1034
shockwave2.Transparency = shockwave2.Transparency + 0.05
1035
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(16 + biggar,12 + biggar,16 + biggar)
1036
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18 + biggar2,12,18 + biggar2)
1037
swait()
1038
end
1039
shockwave:Remove()
1040
shockwave2:Remove()
1041
	end)()
1042
energballplosion.Size = energballplosion.Size + Vector3.new(7,7,7)
1043
swait()
1044
end
1045
for i = 1, 50 do
1046
energballplosion.Size = energballplosion.Size + Vector3.new(5,5,5)
1047
energballplosion.Transparency = energballplosion.Transparency + .025
1048
swait()
1049
end
1050
energballplosion:Remove()
1051
end
1052
end)
1053
for i = 1, 20 do
1054
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(20 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2)
1055
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.5,0,5) * CFrame.Angles(math.rad(30),math.rad(-28),math.rad(37)),.2)
1056
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(35),0),.2)
1057
swait()
1058
end
1059
removeuseless:AddItem(g1,.001)
1060
debounce = false
1061
if xester then
1062
ws = 155
1063
else
1064
ws = 92
1065
end
1066
attacking = false
1067
end
1068
elseif Press=='x' then
1069
if debounce then return end
1070
debounce = true
1071
attacking = true
1072
ws = 0
1073
for i = 1, 70 do
1074
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1)
1075
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1)
1076
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1)
1077
swait()
1078
end
1079
for i = 1, 40 do
1080
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1081
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05)
1082
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05)
1083
swait()
1084
end
1085
rachjumper = true
1086
xester = false
1087
doomtheme.Volume = 0
1088
coroutine.wrap(function()
1089
local shockwave = Instance.new("Part", Torso)
1090
shockwave.Size = Vector3.new(1,1,1)
1091
shockwave.CanCollide = false
1092
shockwave.Anchored = true
1093
shockwave.Transparency = .2
1094
shockwave.BrickColor = BrickColor.new("Really red")
1095
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
1096
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
1097
shockwavemesh.Scale = Vector3.new(10,1,10)
1098
shockwavemesh.MeshId = "rbxassetid://20329976"
1099
local shockwave2 = Instance.new("Part", Torso)
1100
shockwave2.Size = Vector3.new(1,1,1)
1101
shockwave2.CanCollide = false
1102
shockwave2.Anchored = true
1103
shockwave2.Transparency = .2
1104
shockwave2.BrickColor = BrickColor.new("Really red")
1105
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
1106
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
1107
shockwavemesh2.Scale = Vector3.new(1,1,1)
1108
shockwavemesh2.MeshId = "rbxassetid://20329976"
1109
for i = 1, 30 do
1110
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0)
1111
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
1112
shockwave.Transparency = shockwave.Transparency + 0.05
1113
shockwave2.Transparency = shockwave2.Transparency + 0.05
1114
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10)
1115
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14)
1116
swait()
1117
end
1118
shockwave:Remove()
1119
shockwave2:Remove()
1120
	end)()
1121
coroutine.wrap(function()
1122
local nball = Instance.new("Part",Torso)
1123
nball.Size = Vector3.new(4,4,4)
1124
nball.Material = "Neon"
1125
nball.BrickColor = BrickColor.new("Really red")
1126
nball.Shape = "Ball"
1127
nball.Anchored = true
1128
nball.CanCollide = false
1129
nball.CFrame = Torso.CFrame
1130
for i = 1, 40 do
1131
nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5)
1132
nball.Transparency = nball.Transparency + .05
1133
swait()
1134
end
1135
nball:Remove()
1136
end)()
1137
particlecolor = ColorSequence.new(Color3.new(255, 255, 255))
1138
1139
particlemiter1 = Instance.new("ParticleEmitter", bighead)
1140
particlemiter1.Enabled = true
1141
particlemiter1.Color = particlecolor
1142
particlemiter1.Texture = "rbxassetid://1390780157"
1143
particlemiter1.Lifetime = NumberRange.new(.05)
1144
particlemiter1.Size = NumberSequence.new(7.5,7.5)
1145
particlemiter1.Rate = 4
1146
particlemiter1.Rotation = NumberRange.new(0,360)
1147
particlemiter1.RotSpeed = NumberRange.new(0)
1148
particlemiter1.Speed = NumberRange.new(0)
1149
1150
particlemiter2 = Instance.new("ParticleEmitter", hand1)
1151
particlemiter2.Enabled = true
1152
particlemiter2.Color = particlecolor
1153
particlemiter2.Texture = "rbxassetid://1390780157"
1154
particlemiter2.Lifetime = NumberRange.new(.05)
1155
particlemiter2.Size = NumberSequence.new(5,5)
1156
particlemiter2.Rate = 4
1157
particlemiter2.Rotation = NumberRange.new(0,360)
1158
particlemiter2.RotSpeed = NumberRange.new(0)
1159
particlemiter2.Speed = NumberRange.new(0)
1160
1161
particlemiter3 = Instance.new("ParticleEmitter", hand2)
1162
particlemiter3.Enabled = true
1163
particlemiter3.Color = particlecolor
1164
particlemiter3.Texture = "rbxassetid://1390780157"
1165
particlemiter3.Lifetime = NumberRange.new(.05)
1166
particlemiter3.Size = NumberSequence.new(5,5)
1167
particlemiter3.Rate = 4
1168
particlemiter3.Rotation = NumberRange.new(0,360)
1169
particlemiter3.RotSpeed = NumberRange.new(0)
1170
particlemiter3.Speed = NumberRange.new(0)
1171
coroutine.wrap(function()
1172
transformsound = Instance.new("Sound",Torso)
1173
transformsound.Volume = 10
1174
transformsound.SoundId = "rbxassetid://159576182"
1175
transformsound:Play() 
1176
coroutine.wrap(function()
1177
wait(1)
1178
realmofexistence = Instance.new("Sound",Torso)
1179
realmofexistence.Volume = 8
1180
realmofexistence.SoundId = "rbxassetid://2565721367"
1181
realmofexistence:Play()
1182
end)()
1183
wait(2.2)
1184
doomtheme.SoundId = "rbxassetid://2902017580"
1185
doomtheme:Play()
1186
doomtheme.Pitch = 1
1187
doomtheme.TimePosition = 0
1188
for i = 1, 30 do
1189
doomtheme.Volume = doomtheme.Volume + .25
1190
swait()
1191
end
1192
end)()
1193
1194
slaten.Transparency = 1
1195
slaten2.Transparency = 1
1196
slateh.Transparency = 1
1197
slateh2.Transparency = 1
1198
slateh3.Transparency = 1
1199
slateh4.Transparency = 1
1200
slateh5.Transparency = 1
1201
slatex.Transparency = 1
1202
slatex2.Transparency = 1
1203
slatex3.Transparency = 1
1204
slatex4.Transparency = 1
1205
slatex5.Transparency = 1
1206
slatez.Transparency = 1
1207
slatez2.Transparency = 1
1208
slatez3.Transparency = 1
1209
slatez4.Transparency = 1
1210
eyeball1.Transparency = 1
1211
eyeball2.Transparency = 1
1212
eyeball3.Transparency = 1
1213
eyeball4.Transparency = 1
1214
lightpart1.Transparency = 1
1215
Root.Anchored = false
1216
horns.Material = "Slate"
1217
horns.Locked = true
1218
horns.BrickColor = BrickColor.new("Really black")
1219
hornsmesh.MeshId = "rbxassetid://398618628"
1220
hornsmesh.VertexColor = Vector3.new(1,0,0)
1221
hornsmesh.TextureId = "rbxassetid://1461382301"
1222
hornsmesh.Scale = Vector3.new(4.9, 5.5, 5.8)
1223
hornsweld.C0 = CFrame.new(0,3.8,-4.5) * CFrame.Angles(math.rad(0),math.rad(0),0)
1224
mask.Anchored = false
1225
mask.Locked = true
1226
mask.CanCollide = false
1227
mask.Transparency = 0
1228
mask.BrickColor = BrickColor.new("White")
1229
mask.Material = "Corroded Metal"
1230
maskweld.C0 = CFrame.new(0,1.45,-.4) * CFrame.Angles(math.rad(0),0,0)
1231
maskmesh.MeshId = "rbxassetid://64560176"
1232
maskmesh.TextureId = "rbxassetid://1326186614"
1233
maskmesh.Scale = Vector3.new(5.04, 5.04, 5.04)
1234
hand2.BrickColor = BrickColor.new("Really black")
1235
hand1.BrickColor = BrickColor.new("Really black")
1236
face = Instance.new("Decal",bighead)
1237
face.Texture = "rbxassetid://1127768638"
1238
face.Color3 = Color3.new(255, 255, 255)
1239
face.Face = "Front"
1240
attacking = false
1241
ws = 92
1242
debounce = false
1243
elseif Press=='z' then
1244
if debounce then return end
1245
debounce = true
1246
attacking = true
1247
ws = 0
1248
for i = 1, 70 do
1249
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1)
1250
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1)
1251
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1)
1252
swait()
1253
end
1254
for i = 1, 40 do
1255
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1256
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05)
1257
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05)
1258
swait()
1259
end
1260
if rachjumper then
1261
face:Remove()
1262
particlemiter1:Remove()
1263
particlemiter2:Remove()
1264
particlemiter3:Remove()
1265
end
1266
xester = true
1267
rachjumper = false
1268
hand1.BrickColor = BrickColor.new("White")
1269
hand2.BrickColor = BrickColor.new("White")
1270
coroutine.wrap(function()
1271
local shockwave = Instance.new("Part", Torso)
1272
shockwave.Size = Vector3.new(1,1,1)
1273
shockwave.CanCollide = false
1274
shockwave.Anchored = true
1275
shockwave.Transparency = .2
1276
shockwave.BrickColor = BrickColor.new("White")
1277
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
1278
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
1279
shockwavemesh.Scale = Vector3.new(10,1,10)
1280
shockwavemesh.MeshId = "rbxassetid://20329976"
1281
local shockwave2 = Instance.new("Part", Torso)
1282
shockwave2.Size = Vector3.new(1,1,1)
1283
shockwave2.CanCollide = false
1284
shockwave2.Anchored = true
1285
shockwave2.Transparency = .2
1286
shockwave2.BrickColor = BrickColor.new("White")
1287
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0)
1288
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
1289
shockwavemesh2.Scale = Vector3.new(1,1,1)
1290
shockwavemesh2.MeshId = "rbxassetid://20329976"
1291
for i = 1, 30 do
1292
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0)
1293
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
1294
shockwave.Transparency = shockwave.Transparency + 0.05
1295
shockwave2.Transparency = shockwave2.Transparency + 0.05
1296
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10)
1297
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14)
1298
swait()
1299
end
1300
shockwave:Remove()
1301
shockwave2:Remove()
1302
	end)()
1303
coroutine.wrap(function()
1304
local nball = Instance.new("Part",Torso)
1305
nball.Size = Vector3.new(4,4,4)
1306
nball.Material = "Neon"
1307
nball.BrickColor = BrickColor.new("White")
1308
nball.Shape = "Ball"
1309
nball.Anchored = true
1310
nball.CanCollide = false
1311
nball.CFrame = Torso.CFrame
1312
for i = 1, 40 do
1313
nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5)
1314
nball.Transparency = nball.Transparency + .05
1315
swait()
1316
end
1317
nball:Remove()
1318
end)()
1319
doomtheme.SoundId = "rbxassetid://1382488262"
1320
doomtheme:Play()
1321
doomtheme.Volume = 6
1322
doomtheme.Pitch = 1
1323
doomtheme.TimePosition = 20.7
1324
slaten.Transparency = 1
1325
slaten2.Transparency = 1
1326
slateh.Transparency = 1
1327
slateh2.Transparency = 1
1328
slateh3.Transparency = 1
1329
slateh4.Transparency = 1
1330
slateh5.Transparency = 1
1331
slatex.Transparency = 1
1332
slatex2.Transparency = 1
1333
slatex3.Transparency = 1
1334
slatex4.Transparency = 1
1335
slatex5.Transparency = 1
1336
slatez.Transparency = 1
1337
slatez2.Transparency = 1
1338
slatez3.Transparency = 1
1339
slatez4.Transparency = 1
1340
eyeball1.Transparency = 1
1341
eyeball2.Transparency = 1
1342
eyeball3.Transparency = 1
1343
eyeball4.Transparency = 1
1344
lightpart1.Transparency = 0
1345
laugh = laughs[math.random(1,#laughs)]
1346
local laughy = Instance.new("Sound",Head)
1347
laughy.SoundId = "rbxassetid://"..laugh
1348
laughy.Volume = 10
1349
laughy:Play()
1350
removeuseless:AddItem(laughy,10)
1351
Root.Anchored = false
1352
horns.Material = "Slate"
1353
horns.Locked = true
1354
horns.BrickColor = BrickColor.new("Really black")
1355
hornsmesh.MeshId = "rbxassetid://193760002"
1356
hornsmesh.VertexColor = Vector3.new(1,0,0)
1357
hornsmesh.TextureId = "rbxassetid://379225327"
1358
hornsmesh.Scale = Vector3.new(5.41,5.41,5.41)
1359
hornsweld.C0 = CFrame.new(0,-2.75,-1.7) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
1360
mask.Anchored = false
1361
mask.Locked = true
1362
mask.CanCollide = false
1363
mask.BrickColor = BrickColor.new("White")
1364
mask.Material = "Corroded Metal"
1365
maskweld.C0 = CFrame.new(0,0,2.5) * CFrame.Angles(math.rad(0),0,0)
1366
maskmesh.MeshId = "rbxassetid://13520257"
1367
maskmesh.TextureId = "rbxassetid://13520260"
1368
maskmesh.Scale = Vector3.new(5.53, 5, 5.1)
1369
for i = 1, 30 do
1370
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1)
1371
swait()
1372
end
1373
for i = 1, 50 do
1374
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.03)
1375
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.03)
1376
swait()
1377
end
1378
for i = 1, 50 do
1379
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 - 5 * math.sin(sine)),math.rad(-30 - 8 * math.sin(sine))),.03)
1380
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 + 5 * math.sin(sine)),math.rad(30 + 8 * math.sin(sine))),.03)
1381
swait()
1382
end
1383
ws = 155
1384
Root.Anchored = false
1385
debounce = false
1386
attacking = false
1387
xester = true
1388
elseif Press=='r' then
1389
if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
1390
if debounce then return end
1391
debounce = true
1392
attacking = true
1393
local enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1394
local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent
1395
SOUND(Head,1837106999,10,false,10)
1396
ws = 0
1397
local z = { 
1398
Color = BrickColor.new("Crimson").Color
1399
}
1400
local z2 = { 
1401
Color = BrickColor.new("Really black").Color
1402
}
1403
eyeball1.Material = "Neon"
1404
eyeball2.Material = "Neon"
1405
for i = 1, 7 do
1406
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1407
lol:Play()
1408
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1409
lol2:Play()
1410
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(10)),.2)
1411
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(-10)),.2)
1412
swait()
1413
end
1414
for i = 1, 70 do
1415
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1416
lol:Play()
1417
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1418
lol2:Play()
1419
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1420
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.05)
1421
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.05)
1422
swait()
1423
end
1424
for i = 1, 40 do
1425
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1426
lol:Play()
1427
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1428
lol2:Play()
1429
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1430
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05)
1431
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05)
1432
swait()
1433
end
1434
attacking = false
1435
local targetfound = false
1436
local chasemusic = Instance.new("Sound",Head)
1437
chasemusic.Volume = 10
1438
chasemusic.SoundId = "rbxassetid://2866313732"
1439
chasemusic.Looped = true
1440
chasemusic:Play()
1441
for i = 1, 1000 do
1442
if targetfound then break end
1443
local Hit = damagealll(15,Torso.Position)
1444
for _,v in pairs(Hit) do
1445
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then
1446
targetfound = true
1447
slachtoffer = v:FindFirstChildOfClass("Humanoid")
1448
end
1449
end
1450
huntdown = true
1451
hum:MoveTo(enemy.Parent.Torso.Position)
1452
ws = 150
1453
swait()
1454
end
1455
if targetfound then
1456
attacking = true
1457
local lweld = weldBetween(enemy.Parent.Torso,hand1)
1458
lweld.C0 = CFrame.new(2,-2,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
1459
ws = 0
1460
enemy.WalkSpeed = 0
1461
enemy.JumpPower = 0
1462
local IAMHERE = Instance.new("Sound",Head)
1463
IAMHERE.SoundId = "rbxassetid://2867055627"
1464
IAMHERE.Volume = 10
1465
IAMHERE:Play()
1466
removeuseless:AddItem(IAMHERE,10)
1467
for i = 1, 220 do
1468
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1469
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-2.2) * CFrame.Angles(math.rad(90 + 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(-80 + 2 * math.sin(sine))),.2)
1470
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-2.2) * CFrame.Angles(math.rad(90 - 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(80 - 2 * math.sin(sine))),.2)
1471
swait()
1472
end
1473
lweld:Remove()
1474
coroutine.wrap(function()
1475
local w = Instance.new("Part",Torso)
1476
w.Anchored = true
1477
w.CanCollide = false
1478
w.Material = "Neon"
1479
w.BrickColor = BrickColor.new("Really black")
1480
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then
1481
w.CFrame = targ:FindFirstChild("UpperTorso").CFrame
1482
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
1483
w.CFrame = targ:FindFirstChild("Torso").CFrame
1484
end
1485
w.Size = Vector3.new(3,3,3)
1486
w.Shape = "Ball"
1487
for i = 1, 50 do
1488
w.Transparency = w.Transparency + .05
1489
w.Size = w.Size + Vector3.new(3.5,3.5,3.5)
1490
swait()
1491
end
1492
w:Remove()
1493
end)()
1494
for i = 1, 8 do
1495
coroutine.wrap(function()
1496
local ps = Instance.new("Part",Torso)
1497
ps.Size = Vector3.new(1,1,1)
1498
ps.Anchored = true
1499
ps.BrickColor = BrickColor.new("Really black")
1500
ps.Material = "Neon"
1501
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then
1502
ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1503
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
1504
ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1505
end
1506
local psm = Instance.new("SpecialMesh",ps)
1507
psm.MeshType = "Sphere"
1508
psm.Scale = Vector3.new(3,1,3)
1509
for i = 1, 50 do
1510
psm.Scale = psm.Scale + Vector3.new(0,5,0)
1511
ps.Transparency = ps.Transparency + .025
1512
swait()
1513
end
1514
ps:Remove()
1515
end)()
1516
end
1517
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false
1518
x.CanCollide = true x:BreakJoints() end end
1519
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end
1520
targ:BreakJoints()
1521
SOUND(hand1,264486467,8,false,10)
1522
huntdown = false
1523
for i = 1, 25 do
1524
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05)
1525
local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2)
1526
lol:Play()
1527
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2)
1528
lol2:Play()
1529
chasemusic.Volume = chasemusic.Volume - .5
1530
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-80)),.2)
1531
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)),.2)
1532
swait()
1533
end
1534
chasemusic:Remove()
1535
if xester then
1536
ws = 155
1537
else
1538
ws = 92
1539
end
1540
eyeball1.Material = "Glass"
1541
eyeball2.Material = "Glass"
1542
attacking = false
1543
debounce = false
1544
else
1545
if xester then
1546
ws = 155
1547
else
1548
ws = 92
1549
end
1550
huntdown = false
1551
eyeball1.Material = "Glass"
1552
eyeball2.Material = "Glass"
1553
debounce = false
1554
attacking = false
1555
coroutine.wrap(function()
1556
for i = 1, 25 do
1557
if debounce then break end
1558
local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2)
1559
lol:Play()
1560
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2)
1561
lol2:Play()
1562
swait()
1563
end
1564
end)()
1565
chasemusic:Remove()
1566
end
1567
end
1568
elseif Press=='e' then
1569
if debounce then return end
1570
debounce = true
1571
attacking = true
1572
g1 = Instance.new("BodyGyro", Root)
1573
g1.D = 175
1574
g1.P = 20000
1575
g1.MaxTorque = Vector3.new(0,9000,0)
1576
ws = 30
1577
for i =  1,  75 do
1578
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
1579
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(15 * math.sin(sine/12)),math.rad(16 * math.sin(sine/14)),math.rad(0)),.2)
1580
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(-15 * math.sin(sine/12)),math.rad(-16 * math.sin(sine/14)),math.rad(0)),.2)
1581
swait()
1582
end
1583
local bwoo = Instance.new("Sound",Torso)
1584
bwoo.SoundId = "rbxassetid://134012322"
1585
bwoo.Volume = 10
1586
bwoo.Pitch = .85
1587
bwoo:Play()
1588
removeuseless:AddItem(bwoo,7)
1589
for i =  1,  25 do
1590
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
1591
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2)
1592
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-94 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2)
1593
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-94 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2)
1594
swait()
1595
end
1596
ws = 0
1597
for i =  1,  3 do
1598
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2)
1599
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-76 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2)
1600
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-76 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2)
1601
swait()
1602
end
1603
local rocksm = Instance.new("Sound",Torso)
1604
rocksm.SoundId = "rbxassetid://168514932"
1605
rocksm.Volume = 10
1606
rocksm.Pitch = .94
1607
rocksm:Play()
1608
removeuseless:AddItem(rocksm,7)
1609
removeuseless:AddItem(g1,.001)
1610
local rb = Instance.new("Part",Torso)
1611
rb.Size = Vector3.new(.1,.1,.1)
1612
rb.Anchored = false
1613
rb.Transparency = 1
1614
rb.CanCollide = false
1615
rb.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,30,10)
1616
local rbweld = weldBetween(rb,Root)
1617
rbweld.C0 = CFrame.new(0,10,45)
1618
local txc = 10
1619
coroutine.wrap(function()
1620
	for i = 1, 10 do
1621
		coroutine.wrap(function()
1622
	local sondb = Instance.new("Part",rb)
1623
	sondb.Anchored = true
1624
	sondb.Transparency = 1
1625
	sondb.CanCollide = false
1626
	sondb.CFrame = rb.CFrame
1627
	local booms = Instance.new("Sound",sondb)
1628
	booms.SoundId = "rbxassetid://2175667385"
1629
	booms.Volume = 5
1630
	booms.Pitch = .8
1631
	for i = 1, 20 do
1632
		swait()
1633
	end
1634
	wait(1)
1635
	booms:Play()
1636
	end)()
1637
	swait(6)
1638
	end
1639
end)()
1640
for i = 1, 90 do
1641
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2)
1642
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-2,7.2 + .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(-9),math.rad(0)),.2)
1643
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-2,7.2+ .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(9),math.rad(0)),.2)
1644
	coroutine.wrap(function()
1645
	local cyl = Instance.new("Part",Torso)
1646
	cyl.Shape = "Cylinder"
1647
	cyl.BrickColor = BrickColor.new("Really black")
1648
	cyl.Anchored = true
1649
	cyl.Transparency = 1
1650
	cyl.CanCollide = false
1651
	cyl.Material = "Neon"
1652
	cyl.CFrame = rb.CFrame * CFrame.new(math.random(-30,30),2,math.random(-30,30)) * CFrame.Angles(math.rad(90),math.rad(90),0)
1653
	cyl.Size = Vector3.new(4,6 * math.random(4,8),6 * math.random(4,8))
1654
	for i = 1, 20 do
1655
		cyl.Transparency = cyl.Transparency - .05
1656
		swait()
1657
	end
1658
	wait(1)
1659
	local brock = Instance.new("Part",Torso)
1660
	brock.Size = Vector3.new(9,70 + math.random(10,33),9)
1661
	brock.Anchored = true
1662
	brock.Transparency = .3
1663
	brock.CanCollide = false
1664
	brock.Material = "Neon"
1665
	brock.BrickColor = BrickColor.new("Really black")
1666
	brock.CFrame = cyl.CFrame * CFrame.new(0,70,0)
1667
	coroutine.wrap(function()
1668
local shockwave = Instance.new("Part", Torso)
1669
shockwave.Size = Vector3.new(1,1,1)
1670
shockwave.CanCollide = false
1671
shockwave.Anchored = true
1672
shockwave.Transparency = .4
1673
shockwave.BrickColor = BrickColor.new("White")
1674
shockwave.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0)
1675
local shockwavemesh = Instance.new("SpecialMesh", shockwave)
1676
shockwavemesh.Scale = Vector3.new(10,1,10)
1677
shockwavemesh.MeshId = "rbxassetid://20329976"
1678
local shockwave2 = Instance.new("Part", Torso)
1679
shockwave2.Size = Vector3.new(1,1,1)
1680
shockwave2.CanCollide = false
1681
shockwave2.Anchored = true
1682
shockwave2.Transparency = .4
1683
shockwave2.BrickColor = BrickColor.new("White")
1684
shockwave2.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0)
1685
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
1686
shockwavemesh2.Scale = Vector3.new(1,1,1)
1687
shockwavemesh2.MeshId = "rbxassetid://20329976"
1688
for i = 1, 30 do
1689
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0)
1690
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0)
1691
shockwave.Transparency = shockwave.Transparency + 0.05
1692
shockwave2.Transparency = shockwave2.Transparency + 0.05
1693
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2.5,8)
1694
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,2,10)
1695
swait()
1696
end
1697
shockwave:Remove()
1698
shockwave2:Remove()
1699
	end)()
1700
Hit = damagealll(52,brock.Position)
1701
for _,v in pairs(Hit) do
1702
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
1703
slachtoffer = v:FindFirstChildOfClass("Humanoid")
1704
coroutine.wrap(function()
1705
local w = Instance.new("Part",Torso)
1706
w.Anchored = true
1707
w.CanCollide = false
1708
w.Material = "Neon"
1709
w.BrickColor = BrickColor.new("Really black")
1710
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then
1711
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame
1712
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then
1713
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame
1714
end
1715
w.Size = Vector3.new(3,3,3)
1716
w.Shape = "Ball"
1717
for i = 1, 50 do
1718
w.Transparency = w.Transparency + .05
1719
w.Size = w.Size + Vector3.new(3.5,3.5,3.5)
1720
swait()
1721
end
1722
w:Remove()
1723
end)()
1724
for i = 1, 8 do
1725
coroutine.wrap(function()
1726
local ps = Instance.new("Part",Torso)
1727
ps.Size = Vector3.new(1,1,1)
1728
ps.Anchored = true
1729
ps.BrickColor = BrickColor.new("Really black")
1730
ps.Material = "Neon"
1731
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then
1732
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1733
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then
1734
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1735
end
1736
local psm = Instance.new("SpecialMesh",ps)
1737
psm.MeshType = "Sphere"
1738
psm.Scale = Vector3.new(3,1,3)
1739
for i = 1, 50 do
1740
psm.Scale = psm.Scale + Vector3.new(0,5,0)
1741
ps.Transparency = ps.Transparency + .025
1742
swait()
1743
end
1744
ps:Remove()
1745
end)()
1746
end
1747
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false
1748
x.CanCollide = true x:BreakJoints() end end
1749
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end
1750
slachtoffer.Parent:BreakJoints()
1751
end
1752
end
1753
	for i = 1, 50 do
1754
		brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25)
1755
		swait()
1756
	end
1757
	wait(4)
1758
	for i = 1, 40 do
1759
		brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25)
1760
		swait()
1761
	end
1762
	for i = 1, 40 do
1763
		brock.Transparency = brock.Transparency + .025
1764
		brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,-40,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.09)
1765
		swait()
1766
	end
1767
	brock:Remove()
1768
	for i = 1, 30 do
1769
		cyl.Size = cyl.Size + Vector3.new(0,3,3)
1770
		cyl.Transparency = cyl.Transparency + .05
1771
		swait()
1772
	end
1773
	cyl:Remove()
1774
	rb:Remove()
1775
	end)()
1776
	txc = txc + 8
1777
	rbweld.C0 = rbweld.C0:lerp(CFrame.new(0,10,txc),.3)
1778
	swait()
1779
end
1780
attacking = false
1781
debounce = false
1782
if xester then
1783
ws = 155
1784
else
1785
ws = 92
1786
end
1787
elseif Press=='q' then
1788
if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then
1789
if debounce then return end
1790
debounce = true
1791
ws = 0
1792
g1 = Instance.new("BodyGyro", Root)
1793
g1.D = 175
1794
g1.P = 20000
1795
g1.MaxTorque = Vector3.new(0,9000,0)
1796
local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent
1797
for i = 1, 20 do
1798
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,targ.Head.Position),.2)
1799
swait()
1800
end
1801
removeuseless:AddItem(g1,.001)
1802
eyeball1.BrickColor = BrickColor.new("Crimson")
1803
eyeball1.Material = "Neon"
1804
eyeball2.BrickColor = BrickColor.new("Crimson")
1805
eyeball2.Material = "Neon"
1806
local z = { 
1807
Color = BrickColor.new("Really black").Color
1808
}
1809
SOUND(Head,2175667385,10,false,10)
1810
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1811
coroutine.wrap(function()
1812
coroutine.wrap(function()
1813
coroutine.wrap(function()
1814
local w = Instance.new("Part",Torso)
1815
w.Anchored = true
1816
w.CanCollide = false
1817
w.Material = "Neon"
1818
w.BrickColor = BrickColor.new("Really black")
1819
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then
1820
w.CFrame = targ:FindFirstChild("UpperTorso").CFrame
1821
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
1822
w.CFrame = targ:FindFirstChild("Torso").CFrame
1823
end
1824
w.Size = Vector3.new(3,3,3)
1825
w.Shape = "Ball"
1826
for i = 1, 50 do
1827
w.Transparency = w.Transparency + .05
1828
w.Size = w.Size + Vector3.new(3.5,3.5,3.5)
1829
swait()
1830
end
1831
w:Remove()
1832
end)()
1833
for i = 1, 8 do
1834
coroutine.wrap(function()
1835
local ps = Instance.new("Part",Torso)
1836
ps.Size = Vector3.new(1,1,1)
1837
ps.Anchored = true
1838
ps.BrickColor = BrickColor.new("Really black")
1839
ps.Material = "Neon"
1840
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then
1841
ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1842
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
1843
ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
1844
end
1845
local psm = Instance.new("SpecialMesh",ps)
1846
psm.MeshType = "Sphere"
1847
psm.Scale = Vector3.new(3,1,3)
1848
for i = 1, 50 do
1849
psm.Scale = psm.Scale + Vector3.new(0,5,0)
1850
ps.Transparency = ps.Transparency + .025
1851
swait()
1852
end
1853
ps:Remove()
1854
end)()
1855
end
1856
end)()
1857
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false
1858
x.CanCollide = true x:BreakJoints() end end
1859
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end
1860
targ:BreakJoints()
1861
for i = 1, 40 do
1862
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1863
lol:Play()
1864
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z)
1865
lol2:Play()
1866
swait()
1867
end
1868
eyeball1.BrickColor = BrickColor.new("Really black")
1869
eyeball2.BrickColor = BrickColor.new("Really black")
1870
eyeball1.Material = "Glass"
1871
eyeball2.Material = "Glass"
1872
debounce = false
1873
if xester then
1874
ws = 155
1875
else
1876
ws = 92
1877
end
1878
end)()
1879
end
1880
end
1881
end
1882
end)
1883
1884
checks1 = coroutine.wrap(function() -------Checks
1885
while true do
1886
if Root.Velocity.Magnitude < 10 then
1887
position = "Idle"
1888
elseif Root.Velocity.Magnitude > 10 then
1889
position = "Walking"
1890
else
1891
end
1892
wait()
1893
end
1894
end)
1895
checks1()
1896
1897
function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1898
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1899
end
1900
1901
function ray2(StartPos, EndPos, Distance, Ignore)
1902
local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
1903
return ray(StartPos, DIRECTION, Distance, Ignore)
1904
end
1905
1906
OrgnC0 = Neck.C0
1907
local movelimbs = coroutine.wrap(function()
1908
while RunSrv.RenderStepped:wait() do
1909
TrsoLV = Torso.CFrame.lookVector
1910
Dist = nil
1911
Diff = nil
1912
if not MseGuide then
1913
print("Failed to recognize")
1914
else
1915
local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1916
Dist = (Head.CFrame.p-Point).magnitude
1917
Diff = Head.CFrame.Y-Point.Y
1918
local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
1919
Dist2 = (LeftArm.CFrame.p-Point).magnitude
1920
Diff2 = LeftArm.CFrame.Y-Point.Y
1921
HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
1922
Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
1923
end
1924
end
1925
end)
1926
movelimbs()
1927
immortal = {}
1928
for i,v in pairs(Character:GetDescendants()) do
1929
	if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
1930
		if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
1931
			v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1932
		end
1933
		table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
1934
	elseif v:IsA("JointInstance") then
1935
		table.insert(immortal,{v,v.Parent,nil,nil,nil})
1936
	end
1937
end
1938
for e = 1, #immortal do
1939
	if immortal[e] ~= nil then
1940
		local STUFF = immortal[e]
1941
		local PART = STUFF[1]
1942
		local PARENT = STUFF[2]
1943
		local MATERIAL = STUFF[3]
1944
		local COLOR = STUFF[4]
1945
		local TRANSPARENCY = STUFF[5]
1946
if levitate then
1947
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1948
			PART.Material = MATERIAL
1949
			PART.Color = COLOR
1950
			PART.Transparency = TRANSPARENCY
1951
		end
1952
		PART.AncestryChanged:connect(function()
1953
			PART.Parent = PARENT
1954
		end)
1955
else
1956
		if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
1957
			PART.Material = MATERIAL
1958
			PART.Color = COLOR
1959
			PART.Transparency = TRANSPARENCY
1960
		end
1961
		PART.AncestryChanged:connect(function()
1962
			PART.Parent = PARENT
1963
		end)
1964
end
1965
	end
1966
end
1967
function immortality()
1968
	for e = 1, #immortal do
1969
		if immortal[e] ~= nil then
1970
			local STUFF = immortal[e]
1971
			local PART = STUFF[1]
1972
			local PARENT = STUFF[2]
1973
			local MATERIAL = STUFF[3]
1974
			local COLOR = STUFF[4]
1975
			local TRANSPARENCY = STUFF[5]
1976
			if PART.ClassName == "Part" and PART == Root then
1977
				PART.Material = MATERIAL
1978
				PART.Color = COLOR
1979
				PART.Transparency = TRANSPARENCY
1980
			end
1981
			if PART.Parent ~= PARENT then
1982
				hum:Remove()
1983
				PART.Parent = PARENT
1984
				hum = Instance.new("Humanoid",Character)
1985
if levitate then
1986
eyo1:Remove()
1987
eyo2:Remove()
1988
end
1989
                                hum.Name = "noneofurbusiness"
1990
			end
1991
		end
1992
	end
1993
end
1994
coroutine.wrap(function()
1995
while true do
1996
hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
1997
if hum.Health < .1 then
1998
immortality()
1999
end
2000
wait()
2001
end
2002
end)()
2003
2004
leftlocation = Instance.new("Part",LeftArm)
2005
leftlocation.Size = Vector3.new(1,1,1)
2006
leftlocation.Transparency = 1
2007
leftlocationweld = weldBetween(leftlocation,LeftArm)
2008
leftlocationweld.C0 = CFrame.new(0,1.2,0)
2009
rightlocation = Instance.new("Part",RightArm)
2010
rightlocation.Size = Vector3.new(1,1,1)
2011
rightlocation.Transparency = 1
2012
rightlocationweld = weldBetween(rightlocation,RightArm)
2013
rightlocationweld.C0 = CFrame.new(0,1.2,0)
2014
2015
coroutine.wrap(function()
2016
while true do
2017
hpheight = 5.8 + .95 * math.sin(sine/12)
2018
hum.HipHeight = hpheight
2019
swait()
2020
end
2021
end)()
2022
2023
local anims = coroutine.wrap(function()
2024
while true do
2025
settime = 0.05
2026
sine = sine + change
2027
if position == "Walking" and attacking == false then
2028
if huntdown then
2029
change = .85
2030
else
2031
change = .5
2032
end
2033
walking = true
2034
if xester then
2035
ws = 155
2036
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(-25),math.rad(2 * math.sin(sine/6))),.2)
2037
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(25),math.rad(2 * math.sin(sine/6))),.2)
2038
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/3.5)),math.rad(0 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2)
2039
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25)
2040
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25)
2041
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2)
2042
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2)
2043
else
2044
ws = 92
2045
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2)
2046
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * -math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2)
2047
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,1 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/3.5)),math.rad(10 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2)
2048
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25)
2049
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25)
2050
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2)
2051
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2)
2052
end
2053
elseif position == "Idle" and attacking == false then
2054
change = .5
2055
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2)
2056
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(13 - 3 * math.sin(sine/12)),math.rad(36 - 3 * math.sin(sine/13)),math.rad(35 + 2 * math.sin(sine/11))),.2)
2057
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/12)),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2)
2058
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25)
2059
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25)
2060
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2)
2061
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2)
2062
end
2063
swait()
2064
end
2065
end)
2066
anims()
2067
warn("The one you fear, Made by Supr14.")