View difference between Paste ID: Qn3AKy9G and 1biMScCD
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
-- This script has been converted to FE by iPxter
5
6
7
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
8
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
9
do
10
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
11-
Player = game:GetService("Players").LocalPlayer
11+
	script.Parent = Player.Character
12
13
	--RemoteEvent for communicating
14
	local Event = Instance.new("RemoteEvent")
15
	Event.Name = "UserInput_Event"
16
17-
Mouse = Player:GetMouse()
17+
	--Fake event to make stuff like Mouse.KeyDown work
18
	local function fakeEvent()
19
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
20
		t.connect = t.Connect
21
		return t
22
	end
23
24
	--Creating fake input objects with fake variables
25
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
26
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
27
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
28
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
29
	end}
30
	--Merged 2 functions into one by checking amount of arguments
31
	CAS.UnbindAction = CAS.BindAction
32
33
	--This function will trigger the events that have been :Connect()'ed
34
	local function te(self,ev,...)
35
		local t = m[ev]
36
		if t and t._fakeEvent and t.Function then
37
			t.Function(...)
38
		end
39
	end
40
	m.TrigEvent = te
41
	UIS.TrigEvent = te
42
43
	Event.OnServerEvent:Connect(function(plr,io)
44
	    if plr~=Player then return end
45
		if io.isMouse then
46
			m.Target = io.Target
47
			m.Hit = io.Hit
48
		else
49
			local b = io.UserInputState == Enum.UserInputState.Begin
50
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
51
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
52
			end
53
			for _,t in pairs(CAS.Actions) do
54
				for _,k in pairs(t.Keys) do
55
					if k==io.KeyCode then
56
						t.Function(t.Name,io.UserInputState,io)
57
					end
58
				end
59
			end
60
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62
	    end
63
	end)
64
	Event.Parent = NLS([==[
65
	local Player = game:GetService("Players").LocalPlayer
66
	local Event = script:WaitForChild("UserInput_Event")
67
68
	local UIS = game:GetService("UserInputService")
69
	local input = function(io,a)
70
		if a then return end
71
		--Since InputObject is a client-side instance, we create and pass table instead
72
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
73
	end
74
	UIS.InputBegan:Connect(input)
75
	UIS.InputEnded:Connect(input)
76
77
	local Mouse = Player:GetMouse()
78
	local h,t
79
	--Give the server mouse data 30 times every second, but only if the values changed
80
	--If player is not moving their mouse, client won't fire events
81
	while wait(1/30) do
82
		if h~=Mouse.Hit or t~=Mouse.Target then
83
			h,t=Mouse.Hit,Mouse.Target
84
			Event:FireServer({isMouse=true,Target=t,Hit=h})
85
		end
86
	end]==],Player.Character)
87
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
88
end
89
90
91
wait(0.2)
92
93
94
95
Player = owner
96
PlayerGui = Player.PlayerGui
97
Cam = workspace.CurrentCamera
98
Backpack = Player.Backpack
99
Character = Player.Character
100
Humanoid = Character.Humanoid
101
RootPart = Character["HumanoidRootPart"]
102
Torso = Character["Torso"]
103
Head = Character["Head"]
104
RightArm = Character["Right Arm"]
105
LeftArm = Character["Left Arm"]
106
RightLeg = Character["Right Leg"]
107
LeftLeg = Character["Left Leg"]
108
RootJoint = RootPart["RootJoint"]
109
Neck = Torso["Neck"]
110
RightShoulder = Torso["Right Shoulder"]
111
LeftShoulder = Torso["Left Shoulder"]
112
RightHip = Torso["Right Hip"]
113
LeftHip = Torso["Left Hip"]
114
local sick = Instance.new("Sound",Character)
115
sick.SoundId = "rbxassetid://815335430"
116
sick.Looped = true
117
sick.Pitch = 1
118
sick.Volume = 2
119
sick:Play()
120
Humanoid.DisplayDistanceType = "None"
121
script.Name = "CREEP"
122
123
IT = Instance.new
124
CF = CFrame.new
125
VT = Vector3.new
126
RAD = math.rad
127
C3 = Color3.new
128
UD2 = UDim2.new
129
BRICKC = BrickColor.new
130
ANGLES = CFrame.Angles
131
EULER = CFrame.fromEulerAnglesXYZ
132
COS = math.cos
133
ACOS = math.acos
134
SIN = math.sin
135
ASIN = math.asin
136
ABS = math.abs
137
MRANDOM = math.random
138
FLOOR = math.floor
139
140
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
141
	local NEWMESH = IT(MESH)
142
	if MESH == "SpecialMesh" then
143
		NEWMESH.MeshType = MESHTYPE
144
		if MESHID ~= "nil" and MESHID ~= "" then
145
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
146
		end
147
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
148
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
149
		end
150
	end
151
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
152
	NEWMESH.Scale = SCALE
153
	NEWMESH.Parent = PARENT
154
	return NEWMESH
155
end
156
157
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
158
	local NEWPART = IT("Part")
159
	NEWPART.formFactor = FORMFACTOR
160
	NEWPART.Reflectance = REFLECTANCE
161
	NEWPART.Transparency = TRANSPARENCY
162
	NEWPART.CanCollide = false
163
	NEWPART.Locked = true
164
	NEWPART.Anchored = true
165
	if ANCHOR == false then
166
		NEWPART.Anchored = false
167
	end
168
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
169
	NEWPART.Name = NAME
170
	NEWPART.Size = SIZE
171
	NEWPART.Position = Torso.Position
172
	NEWPART.Material = MATERIAL
173
	NEWPART:BreakJoints()
174
	NEWPART.Parent = PARENT
175
	return NEWPART
176
end
177
178
--//=================================\\
179
--||		  CUSTOMIZATION
180
--\\=================================//
181
182
Player_Size = 2 --Size of the player.
183
Animation_Speed = 3
184
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
185
186
local Speed = 16
187
local Effects2 = {}
188
189
--//=================================\\
190
--|| 	  END OF CUSTOMIZATION
191
--\\=================================//
192
193
	local function weldBetween(a, b)
194
	    local weldd = Instance.new("ManualWeld")
195
	    weldd.Part0 = a
196
	    weldd.Part1 = b
197
	    weldd.C0 = CFrame.new()
198
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
199
	    weldd.Parent = a
200
	    return weldd
201
	end
202
203
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
204
if TYPE == "Gem" then
205
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
206
	acs.Anchored = false
207
    acs.CanCollide = false
208
	acs.CFrame = PART.CFrame
209
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
210
weldBetween(PART,acs)
211
elseif TYPE == "Skull" then
212
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
213
	acs.Anchored = false
214
    acs.CanCollide = false
215
	acs.CFrame = PART.CFrame
216
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
217
weldBetween(PART,acs)
218
elseif TYPE == "Eye" then
219
	local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
220
	acs.Anchored = false
221
    acs.CanCollide = false
222
	acs.CFrame = PART.CFrame
223
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
224
weldBetween(PART,acs)
225
end
226
end
227
228
--//=================================\\
229
--|| 	      USEFUL VALUES
230
--\\=================================//
231
232
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
233
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
234
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
235
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
236
local CHANGEDEFENSE = 0
237
local CHANGEDAMAGE = 0
238
local CHANGEMOVEMENT = 0
239
local ANIM = "Idle"
240
local ATTACK = false
241
local EQUIPPED = false
242
local HOLD = false
243
local COMBO = 1
244
local Rooted = false
245
local SINE = 0
246
local KEYHOLD = false
247
local CHANGE = 2 / Animation_Speed
248
local WALKINGANIM = false
249
local WALK = 0
250
local VALUE1 = false
251
local VALUE2 = false
252
local ROBLOXIDLEANIMATION = IT("Animation")
253
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
254
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
255
--ROBLOXIDLEANIMATION.Parent = Humanoid
256
local WEAPONGUI = IT("ScreenGui", PlayerGui)
257
WEAPONGUI.Name = "Weapon GUI"
258
local Weapon = IT("Model")
259
Weapon.Name = "Adds"
260
local Effects = IT("Folder", Weapon)
261
Effects.Name = "Effects"
262
local ANIMATOR = Humanoid.Animator
263
local ANIMATE = Character.Animate
264
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
265
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
266
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
267
local HITBLOCKSOUNDS = {"199148933", "199148947"}
268
local UNANCHOR = true
269
local TAUNTS = {"368794227","368794903","368794985"}
270
271
local SKILLTEXTCOLOR = C3(0,0,0)
272
273
--//=================================\\
274
--\\=================================//
275
276
277
--//=================================\\
278
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
279
--\\=================================//
280
281
ArtificialHB = Instance.new("BindableEvent", script)
282
ArtificialHB.Name = "ArtificialHB"
283
284
script:WaitForChild("ArtificialHB")
285
286
frame = Frame_Speed
287
tf = 0
288
allowframeloss = false
289
tossremainder = false
290
lastframe = tick()
291
script.ArtificialHB:Fire()
292
293
game:GetService("RunService").Heartbeat:connect(function(s, p)
294
	tf = tf + s
295
	if tf >= frame then
296
		if allowframeloss then
297
			script.ArtificialHB:Fire()
298
			lastframe = tick()
299
		else
300
			for i = 1, math.floor(tf / frame) do
301
				script.ArtificialHB:Fire()
302
			end
303
		lastframe = tick()
304
		end
305
		if tossremainder then
306
			tf = 0
307
		else
308
			tf = tf - frame * math.floor(tf / frame)
309
		end
310
	end
311
end)
312
313
--//=================================\\
314
--\\=================================//
315
316
317
318
319
320
--//=================================\\
321
--|| 	      SOME FUNCTIONS
322
--\\=================================//
323
324
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
325
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
326
end
327
328
function PositiveAngle(NUMBER)
329
	if NUMBER >= 0 then
330
		NUMBER = 0
331
	end
332
	return NUMBER
333
end
334
335
function NegativeAngle(NUMBER)
336
	if NUMBER <= 0 then
337
		NUMBER = 0
338
	end
339
	return NUMBER
340
end
341
342
function Swait(NUMBER)
343
	if NUMBER == 0 or NUMBER == nil then
344
		ArtificialHB.Event:wait()
345
	else
346
		for i = 1, NUMBER do
347
			ArtificialHB.Event:wait()
348
		end
349
	end
350
end
351
352
function QuaternionFromCFrame(cf)
353
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
354
	local trace = m00 + m11 + m22
355
	if trace > 0 then 
356
		local s = math.sqrt(1 + trace)
357
		local recip = 0.5 / s
358
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
359
	else
360
		local i = 0
361
		if m11 > m00 then
362
			i = 1
363
		end
364
		if m22 > (i == 0 and m00 or m11) then
365
			i = 2
366
		end
367
		if i == 0 then
368
			local s = math.sqrt(m00 - m11 - m22 + 1)
369
			local recip = 0.5 / s
370
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
371
		elseif i == 1 then
372
			local s = math.sqrt(m11 - m22 - m00 + 1)
373
			local recip = 0.5 / s
374
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
375
		elseif i == 2 then
376
			local s = math.sqrt(m22 - m00 - m11 + 1)
377
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
378
		end
379
	end
380
end
381
 
382
function QuaternionToCFrame(px, py, pz, x, y, z, w)
383
	local xs, ys, zs = x + x, y + y, z + z
384
	local wx, wy, wz = w * xs, w * ys, w * zs
385
	local xx = x * xs
386
	local xy = x * ys
387
	local xz = x * zs
388
	local yy = y * ys
389
	local yz = y * zs
390
	local zz = z * zs
391
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
392
end
393
 
394
function QuaternionSlerp(a, b, t)
395
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
396
	local startInterp, finishInterp;
397
	if cosTheta >= 0.0001 then
398
		if (1 - cosTheta) > 0.0001 then
399
			local theta = ACOS(cosTheta)
400
			local invSinTheta = 1 / SIN(theta)
401
			startInterp = SIN((1 - t) * theta) * invSinTheta
402
			finishInterp = SIN(t * theta) * invSinTheta
403
		else
404
			startInterp = 1 - t
405
			finishInterp = t
406
		end
407
	else
408
		if (1 + cosTheta) > 0.0001 then
409
			local theta = ACOS(-cosTheta)
410
			local invSinTheta = 1 / SIN(theta)
411
			startInterp = SIN((t - 1) * theta) * invSinTheta
412
			finishInterp = SIN(t * theta) * invSinTheta
413
		else
414
			startInterp = t - 1
415
			finishInterp = t
416
		end
417
	end
418
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
419
end
420
421
function Clerp(a, b, t)
422
	local qa = {QuaternionFromCFrame(a)}
423
	local qb = {QuaternionFromCFrame(b)}
424
	local ax, ay, az = a.x, a.y, a.z
425
	local bx, by, bz = b.x, b.y, b.z
426
	local _t = 1 - t
427
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
428
end
429
430
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
431
	local frame = IT("Frame")
432
	frame.BackgroundTransparency = TRANSPARENCY
433
	frame.BorderSizePixel = BORDERSIZEPIXEL
434
	frame.Position = POSITION
435
	frame.Size = SIZE
436
	frame.BackgroundColor3 = COLOR
437
	frame.BorderColor3 = BORDERCOLOR
438
	frame.Name = NAME
439
	frame.Parent = PARENT
440
	return frame
441
end
442
443
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
444
	local label = IT("TextLabel")
445
	label.BackgroundTransparency = 1
446
	label.Size = UD2(1, 0, 1, 0)
447
	label.Position = UD2(0, 0, 0, 0)
448
	label.TextColor3 = TEXTCOLOR
449
	label.TextStrokeTransparency = STROKETRANSPARENCY
450
	label.TextTransparency = TRANSPARENCY
451
	label.FontSize = TEXTFONTSIZE
452
	label.Font = TEXTFONT
453
	label.BorderSizePixel = BORDERSIZEPIXEL
454
	label.TextScaled = false
455
	label.Text = TEXT
456
	label.Name = NAME
457
	label.Parent = PARENT
458
	return label
459
end
460
461
function NoOutlines(PART)
462
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
463
end
464
465
466
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
467
	local NEWWELD = IT(TYPE)
468
	NEWWELD.Part0 = PART0
469
	NEWWELD.Part1 = PART1
470
	NEWWELD.C0 = C0
471
	NEWWELD.C1 = C1
472
	NEWWELD.Parent = PARENT
473
	return NEWWELD
474
end
475
476
function CreateSound(ID, PARENT, VOLUME, PITCH)
477
	local NEWSOUND = nil
478
	coroutine.resume(coroutine.create(function()
479
		NEWSOUND = IT("Sound", PARENT)
480
		NEWSOUND.Volume = VOLUME
481
		NEWSOUND.Pitch = PITCH
482
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
483
		Swait()
484
		NEWSOUND:play()
485
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
486
	end))
487
	return NEWSOUND
488
end
489
490
function CFrameFromTopBack(at, top, back)
491
	local right = top:Cross(back)
492
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
493
end
494
495
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
496
	local wave = CreatePart(3, Effects, "Neon", 0, 0.9, BRICKC(COLOR), "Effect", VT(1,1,1), true)
497
	local mesh = IT("SpecialMesh",wave)
498
	mesh.MeshType = "Sphere"
499
	mesh.Scale = SIZE
500
	mesh.Offset = VT(0,0,0)
501
	wave.CFrame = CFRAME
502
	coroutine.resume(coroutine.create(function(PART)
503
		for i = 1, WAIT do
504
			Swait()
505
			mesh.Scale = mesh.Scale + GROW
506
			wave.Transparency = wave.Transparency + (0.1/WAIT)
507
			if wave.Transparency > 0.99 then
508
				wave:remove()
509
			end
510
		end
511
	end))
512
end
513
514
function MakeForm(PART,TYPE)
515
	if TYPE == "Cyl" then
516
		local MSH = IT("CylinderMesh",PART)
517
	elseif TYPE == "Ball" then
518
		local MSH = IT("SpecialMesh",PART)
519
		MSH.MeshType = "Sphere"
520
	elseif TYPE == "Wedge" then
521
		local MSH = IT("SpecialMesh",PART)
522
		MSH.MeshType = "Wedge"
523
	end
524
end
525
526
function CheckTableForString(Table, String)
527
	for i, v in pairs(Table) do
528
		if string.find(string.lower(String), string.lower(v)) then
529
			return true
530
		end
531
	end
532
	return false
533
end
534
535
function CheckIntangible(Hit)
536
	local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
537
	if Hit and Hit.Parent then
538
		if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
539
			return true
540
		end
541
	end
542
	return false
543
end
544
545
Debris = game:GetService("Debris")
546
547
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
548
	local Direction = CFrame.new(StartPos, Vec).lookVector
549
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
550
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
551
	if RayHit and CheckIntangible(RayHit) then
552
		if DelayIfHit then
553
			wait()
554
		end
555
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
556
	end
557
	return RayHit, RayPos, RayNormal
558
end
559
560
function turnto(position)
561
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
562
end
563
564
--//=================================\\
565
--|| 			SPEECH
566
--\\=================================//
567
568
function chatfunc(text,waitt)
569
local chat = coroutine.wrap(function()
570
if Character:FindFirstChild("TalkingBillBoard")~= nil then
571
Character:FindFirstChild("TalkingBillBoard"):destroy()
572
end
573
local naeeym2 = Instance.new("BillboardGui",Character)
574
naeeym2.Size = UDim2.new(0,100,0,40)
575
naeeym2.StudsOffset = Vector3.new(0,5,0)
576
naeeym2.Adornee = Character.Head
577
naeeym2.Name = "TalkingBillBoard"
578
naeeym2.AlwaysOnTop = true
579
local tecks2 = Instance.new("TextLabel",naeeym2)
580
tecks2.BackgroundTransparency = 1
581
tecks2.BorderSizePixel = 0
582
tecks2.Text = ""
583
tecks2.Font = "SciFi"
584
tecks2.TextSize = 30
585
tecks2.TextStrokeTransparency = 1
586
tecks2.TextColor3 = SKILLTEXTCOLOR
587
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
588
tecks2.Size = UDim2.new(1,0,0.5,0)
589
for i = 1,string.len(text),1 do
590
tecks2.Text = string.sub(text,1,i)
591
Swait()
592
end
593
wait(waitt)
594
coroutine.resume(coroutine.create(function()
595
	for i = 1, 10 do
596
		tecks2.TextTransparency = tecks2.TextTransparency + 0.1
597
		Swait()
598
	end
599
	naeeym2:Destroy()
600
end))
601
end)
602
chat()
603
end
604
605
--//=================================\\
606
--||	     WEAPON CREATION
607
--\\=================================//
608
609
if Player_Size ~= 1 then
610
RootPart.Size = RootPart.Size * Player_Size
611
Torso.Size = Torso.Size * Player_Size
612
Head.Size = Head.Size * Player_Size
613
RightArm.Size = RightArm.Size * Player_Size
614
LeftArm.Size = LeftArm.Size * Player_Size
615
RightLeg.Size = RightLeg.Size * Player_Size
616
LeftLeg.Size = LeftLeg.Size * Player_Size
617
RootJoint.Parent = RootPart
618
Neck.Parent = Torso
619
RightShoulder.Parent = Torso
620
LeftShoulder.Parent = Torso
621
RightHip.Parent = Torso
622
LeftHip.Parent = Torso
623
	
624
RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
625
	RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
626
	Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
627
	Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
628
	RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
629
	LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
630
	--if Disable_Moving_Arms == false then
631
		RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
632
		LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
633
	--else
634
		--RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
635
		--LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
636
	--end
637
	RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
638
	LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
639
	RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
640
	LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
641
end
642
643
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
644
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
645
MakeForm(part,"Ball")
646
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
647
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
648
MakeForm(part,"Ball")
649
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
650
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
651
MakeForm(part,"Ball")
652
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
653
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
654
MakeForm(part,"Ball")
655
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
656
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
657
MakeForm(part,"Ball")
658
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
659
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
660
MakeForm(part,"Ball")
661
local CLAW1 = part
662
CLAW1.CanCollide = true
663
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
664
local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(-0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
665
MakeForm(part,"Ball")
666
667
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
668
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
669
MakeForm(part,"Ball")
670
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
671
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
672
MakeForm(part,"Ball")
673
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
674
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.7,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
675
MakeForm(part,"Ball")
676
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
677
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
678
MakeForm(part,"Ball")
679
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
680
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
681
MakeForm(part,"Ball")
682
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.2,1,0.2)*2,false)
683
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.44,-3.2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
684
MakeForm(part,"Ball")
685
local CLAW2 = part
686
CLAW2.CanCollide = true
687
local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Claw part", VT(0.3,1,0.3)*2,false)
688
local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.50,-2,-0.6) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
689
MakeForm(part,"Ball")
690
691
for _, c in pairs(Weapon:GetChildren()) do
692
	if c.ClassName == "Part" then
693
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
694
	end
695
end
696
697
Weapon.Parent = Character
698
699
Humanoid.Died:connect(function()
700
	ATTACK = true
701
end)
702
703
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
704
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
705
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
706
707
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shriek", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 1")
708
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Devour", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
709
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Neck snap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 1, "Text 2")
710
711
--//=================================\\
712
--||	     DAMAGE FUNCTIONS
713
--\\=================================//
714
715
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
716
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
717
	STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
718
	local BODYGYRO = IT("BodyGyro", STATPART)
719
	local BODYPOSITION = IT("BodyPosition", STATPART)
720
	BODYPOSITION.P = 2000
721
	BODYPOSITION.D = 100
722
	BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
723
	BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
724
	game:GetService("Debris"):AddItem(STATPART ,5)
725
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
726
	BILLBOARDGUI.Adornee = STATPART
727
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
728
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
729
	BILLBOARDGUI.AlwaysOnTop = false
730
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
731
	TEXTLABEL.BackgroundTransparency = 1
732
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
733
	TEXTLABEL.Text = TEXT
734
	TEXTLABEL.Font = "SciFi"
735
	TEXTLABEL.FontSize="Size42"
736
	TEXTLABEL.TextColor3 = COLOR
737
	TEXTLABEL.TextStrokeTransparency = 1
738
	TEXTLABEL.TextScaled = true
739
	TEXTLABEL.TextWrapped = true
740
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
741
		if LABELTYPE == "Normal" then
742
			for i = 1, 30 do
743
				Swait()
744
				STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
745
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
746
			end
747
		elseif LABELTYPE == "Debuff" then
748
			for i = 1, 30 do
749
				Swait()
750
				STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
751
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
752
			end
753
		elseif LABELTYPE == "Shock" then
754
			local ORIGIN = STATPART.Position
755
			for i = 1, 30 do
756
				Swait()
757
				STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
758
				TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
759
			end
760
		end
761
		THEPART.Parent = nil
762
	end),STATPART, BODYPOSITION, TEXTLABEL)
763
end
764
765
--//=================================\\
766
--||			DAMAGING
767
--\\=================================//
768
769
function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
770
	if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
771
		local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
772
		local dmg = math.random(min,max)
773
		if humanoid.Health > 0 then
774
			if beserk == true then
775
				humanoid.Health = 0
776
			else
777
				CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], hit, 3, MRANDOM(7, 12) / 10)
778
				hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
779
				if math.random(1,100) < critrate+1 then
780
					humanoid.Health = humanoid.Health - dmg*critmultiplier
781
					StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
782
				else
783
					humanoid.Health = humanoid.Health - dmg
784
					StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
785
				end
786
				local defence = Instance.new("BoolValue",hit.Parent)
787
				defence.Name = ("HitBy"..Player.Name)
788
				game:GetService("Debris"):AddItem(defence, 0.5)
789
			end
790
		end
791
	end
792
end
793
794
function AoEStun(POS,RANGE,LAST)
795
	for i,v in ipairs(workspace:GetChildren()) do
796
	if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
797
		local body = v:GetChildren()
798
			for part = 1, #body do
799
				if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
800
					if(body[part].Position - POS).Magnitude < RANGE then
801
						if v.ClassName == "Model" then
802
							if v:FindFirstChild("Humanoid") then
803
								if v.Humanoid.Health ~= 0 then
804
									Stun(v.Humanoid,LAST)
805
									local defence = Instance.new("BoolValue",v)
806
									defence.Name = ("StunnedBy"..Player.Name)
807
									game:GetService("Debris"):AddItem(defence, 0.1)
808
								end
809
							end
810
						end
811
					end
812
				end
813
			end
814
		end
815
	end
816
end
817
818
function Stun(HUMANOID,LAST)
819
	if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
820
		HUMANOID.PlatformStand = true
821
		local defence = Instance.new("BoolValue",HUMANOID.Parent)
822
		defence.Name = ("StunnedBy"..Player.Name)
823
		game:GetService("Debris"):AddItem(defence, LAST)
824
		if HUMANOID.Parent:FindFirstChild("Head") then
825
			StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
826
		end
827
		coroutine.resume(coroutine.create(function()
828
			Swait(LAST*50)
829
			HUMANOID.PlatformStand = false
830
		end))
831
	end
832
end
833
834
--//=================================\\
835
--||	ATTACK FUNCTIONS AND STUFF
836
--\\=================================//
837
838
function AttackTemplate()
839
	ATTACK = true
840
	Rooted = false
841
	for i=0, 1, 0.1 / Animation_Speed do
842
		Swait()
843
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
844
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
845
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
846
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
847
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
848
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
849
	end
850
	ATTACK = false
851
	Rooted = false
852
end
853
854
function Strike()
855
	ATTACK = true
856
	Rooted = false
857
	CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 3, 2)
858
	for i=0, 0.5, 0.1 / Animation_Speed do
859
		Swait()
860
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
861
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
862
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
863
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
864
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.5 / Animation_Speed)
865
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.5 / Animation_Speed)
866
	end
867
	local HIT1 = CLAW1.Touched:Connect(function(hit)
868
		dealdamage(hit,25,65,6,false,5,2)
869
	end)
870
	local HIT2 = CLAW2.Touched:Connect(function(hit)
871
		dealdamage(hit,25,65,6,false,5,2)
872
	end)
873
	for i=0, 0.5, 0.1 / Animation_Speed do
874
		Swait()
875
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.75 / Animation_Speed)
876
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
877
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(75), RAD(-22)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
878
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, 0.5*2, -1) * ANGLES(RAD(55), RAD(-75), RAD(22)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
879
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-5)), 0.75 / Animation_Speed)
880
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12*2), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-25)), 0.75 / Animation_Speed)
881
	end
882
	HIT1:disconnect()
883
	HIT2:disconnect()
884
	ATTACK = false
885
	Rooted = false
886
end
887
888
function Shriek()
889
	ATTACK = true
890
	Rooted = false
891
	for i=0, 2.5, 0.1 / Animation_Speed do
892
		Swait()
893
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
894
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
895
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
896
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
897
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
898
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
899
	end
900
	Rooted = true
901
	CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
902
	for i=0, 4, 0.1 / Animation_Speed do
903
		Swait()
904
		AoEStun(Head.Position,40,12)
905
		MagicSphere(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
906
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4*2, -0.65*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(55), RAD(0), RAD(0)), 0.7 / Animation_Speed)
907
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-35+MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,1))), 1)
908
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
909
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(-15), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
910
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(15)), 0.75 / Animation_Speed)
911
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-55)), 0.75 / Animation_Speed)
912
	end
913
	ATTACK = false
914
	Rooted = false
915
end
916
917
local asd = Instance.new("ParticleEmitter")
918
asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
919
asd.LightEmission = .1
920
asd.Size = NumberSequence.new(0.2)
921
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
922
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
923
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
924
asd.Transparency = bbb
925
asd.Size = aaa
926
asd.ZOffset = .9
927
asd.Acceleration = Vector3.new(0, -15, 0)
928
asd.LockedToPart = false
929
asd.EmissionDirection = "Back"
930
asd.Lifetime = NumberRange.new(1, 2)
931
asd.Rotation = NumberRange.new(-100, 100)
932
asd.RotSpeed = NumberRange.new(-100, 100)
933
asd.Speed = NumberRange.new(2,6)
934
asd.Enabled = false
935
asd.VelocitySpread = 5
936
937
function getbloody(victim,amount)
938
local PART = IT("Part",Effects)
939
PART.Transparency = 1
940
PART.Size = victim.Size
941
PART.Anchored = true
942
PART.CanCollide = false
943
PART.CFrame = CF(victim.Position,victim.CFrame*CF(0,1,0).p)
944
local HITPLAYERSOUNDS = {"356551938","264486467"}
945
Debris:AddItem(PART,5)
946
local prtcl = asd:Clone()
947
prtcl.Parent = PART
948
prtcl:Emit(amount*10)
949
end
950
951
function Devour()
952
	ATTACK = true
953
	Rooted = false
954
	local TORS = nil
955
	local WELD = nil
956
	local HIT1 = CLAW1.Touched:Connect(function(hit)
957
		if hit.Parent:FindFirstChildOfClass("Humanoid") then
958
			TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
959
			if TORS ~= nil then
960
				UNANCHOR = false
961
				Rooted = true
962
				RootPart.Anchored = true
963
				WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
964
			end
965
		end
966
	end)
967
	for i=1, 45 do
968
		Swait()
969
		if TORS ~= nil then
970
			break
971
		end
972
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
973
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
974
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
975
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
976
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
977
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
978
	end
979
	HIT1:disconnect()
980
	if TORS ~= nil then
981
		for i=0, 2, 0.1 / Animation_Speed do
982
			Swait()
983
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
984
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
985
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
986
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
987
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
988
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
989
		end
990
		for i=0, 0.3, 0.1 / Animation_Speed do
991
			Swait()
992
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
993
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
994
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.5) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
995
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
996
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
997
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
998
		end
999
		local HITPLAYERSOUNDS2 = {"356551938","264486467"}
1000
		if TORS ~= nil then
1001
			if TORS.Parent:FindFirstChild("Head") then
1002
				CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], Head, 1, (math.random(8,12)/10))
1003
				CreateSound("230346233", Head, 10, (math.random(5,7)/10))
1004
				getbloody(TORS,4)
1005
				TORS.Parent.Head:remove()
1006
				TORS.Parent:remove()
1007
				for i=0, 1, 0.1 / Animation_Speed do
1008
					Swait()
1009
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1.5 / Animation_Speed)
1010
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1.15 / Animation_Speed)
1011
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, -1, -1.2) * ANGLES(RAD(170), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1012
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*2, -1, -1.2) * ANGLES(RAD(160), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1.15 / Animation_Speed)
1013
					RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1.15 / Animation_Speed)
1014
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1.15 / Animation_Speed)
1015
				end
1016
			end
1017
		end
1018
		UNANCHOR = true
1019
	end
1020
	ATTACK = false
1021
	Rooted = false
1022
end
1023
1024
function Snap()
1025
	ATTACK = true
1026
	Rooted = false
1027
	local TORS = nil
1028
	local WELD = nil
1029
	local HIT1 = CLAW1.Touched:Connect(function(hit)
1030
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Parent ~= Effects then
1031
			TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1032
			if TORS ~= nil then
1033
				UNANCHOR = false
1034
				Rooted = true
1035
				RootPart.Anchored = true
1036
				WELD = CreateWeldOrSnapOrMotor("Weld", TORS, RightArm, TORS, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
1037
			end
1038
		end
1039
	end)
1040
	for i=1, 45 do
1041
		Swait()
1042
		if TORS ~= nil then
1043
			break
1044
		end
1045
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1046
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1047
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1048
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1049
		RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1050
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1051
	end
1052
	HIT1:disconnect()
1053
	if TORS ~= nil then
1054
		local CLONE = IT("Model",Weapon)
1055
		CLONE.Name = "Corpse"
1056
		for i=0, 2, 0.1 / Animation_Speed do
1057
			Swait()
1058
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1059
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1060
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1061
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1062
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1063
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1064
		end
1065
		for i=0, 2, 0.1 / Animation_Speed do
1066
			Swait()
1067
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1068
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1069
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1070
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.5) * ANGLES(RAD(80), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1071
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1072
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1073
		end
1074
		for i=0, 3, 0.1 / Animation_Speed do
1075
			Swait()
1076
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1077
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1078
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1079
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(70), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1080
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1081
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1082
		end
1083
		local HITPLAYERSOUNDS = {"356551938","264486467"}
1084
		local DummyHead = nil
1085
		local q = TORS.Parent:GetChildren()
1086
		for i = 1,#q do
1087
			if q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
1088
				q[i].Parent = CLONE
1089
				if q[i].ClassName == "Humanoid" then
1090
					q[i].PlatformStand = true
1091
				end
1092
				if q[i].Name == "Head" then
1093
					DummyHead = CLONE.Head:Clone()
1094
					q[i]:ClearAllChildren()
1095
					q[i].Transparency = 1
1096
				end
1097
			else
1098
				q[i]:remove()
1099
			end
1100
		end
1101
		local TORS2 = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
1102
		DummyHead.Parent = Effects
1103
		local WELD1 = CreateWeldOrSnapOrMotor("Weld", DummyHead, LeftArm, DummyHead, CF(0,-2.5,0) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
1104
		local WELD2 = CreateWeldOrSnapOrMotor("Weld", TORS2, RightArm, TORS2, CF(0,-2.5,-0.5) * ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, 0, 0))
1105
		local HITPLAYERSOUNDS2 = {"356551938","264486467"}
1106
		CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], TORS2, 1, (math.random(8,12)/10))
1107
		getbloody(DummyHead,5)
1108
		for i=0, 3, 0.1 / Animation_Speed do
1109
			Swait()
1110
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1111
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
1112
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1113
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(120), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1114
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1115
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1116
		end
1117
		for i=0, 1, 0.1 / Animation_Speed do
1118
			Swait()
1119
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1120
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1121
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1122
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1123
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1124
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1125
		end
1126
		WELD1:remove()
1127
		for i=0, 0.5, 0.1 / Animation_Speed do
1128
			Swait()
1129
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1130
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(20 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1131
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(55), RAD(25), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1132
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(35), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1133
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1134
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1135
		end
1136
		local GROWLS = {"368795088","368795352","368795492","368795580"}
1137
		CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
1138
		repeat
1139
			Swait()
1140
			turnto(Mouse.Hit.p)
1141
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
1142
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1143
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, -1.5) * ANGLES(RAD(170), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1144
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1145
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1146
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1147
		until HOLD == true
1148
		WELD2:remove()
1149
		local bv = Instance.new("BodyVelocity") 
1150
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1151
		bv.velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
1152
		bv.Parent = TORS2
1153
		bv.Name = "MOVE"
1154
		coroutine.resume(coroutine.create(function()
1155
			local HIT1 = TORS2.Touched:Connect(function(hit)
1156
				dealdamage(hit,25,65,3,false,5,2)
1157
			end)
1158
			Swait(2)
1159
			HIT1:disconnect()
1160
		end))
1161
		Debris:AddItem(bv,0.2)
1162
		TORS2.Velocity = CF(TORS2.Position,Mouse.Hit.p).lookVector*300
1163
		for i=0, 1, 0.1 / Animation_Speed do
1164
			Swait()
1165
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1)
1166
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1)
1167
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*2, 0.35*2, 0) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1)
1168
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35*2, 0.5*2, -0.6) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1)
1169
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 1)
1170
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 1)
1171
		end
1172
	end
1173
	UNANCHOR = true
1174
	ATTACK = false
1175
	Rooted = false
1176
end
1177
1178
--//=================================\\
1179
--||	  ASSIGN THINGS TO KEYS
1180
--\\=================================//
1181
1182
function MouseDown(Mouse)
1183
	HOLD = true
1184
	if ATTACK == false then
1185
		Strike()
1186
	end
1187
end
1188
1189
function MouseUp(Mouse)
1190
HOLD = false
1191
end
1192
1193
function KeyDown(Key)
1194
	KEYHOLD = true
1195
	if Key == "z" and ATTACK == false then
1196
		Shriek()
1197
	end
1198
1199
	if Key == "b" and ATTACK == false then
1200
		Devour()
1201
	end
1202
1203
	if Key == "c" and ATTACK == false then
1204
		Snap()
1205
	end
1206
1207
	if Key == "q" and ATTACK == false then
1208
		if VALUE1 == false then
1209
			VALUE1 = true
1210
			Speed = 75
1211
			CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 2)
1212
		elseif VALUE1 == true then
1213
			VALUE1 = false
1214
			Speed = 20
1215
			local GROWLS = {"368795088","368795352","368795492","368795580"}
1216
			CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
1217
		end
1218
	end
1219
1220
	if Key == "t" and ATTACK == false then
1221
		local GROWLS = {"368795088","368795352","368795492","368795580"}
1222
		CreateSound(GROWLS[MRANDOM(1, #GROWLS)], Head, 4, (math.random(15,20)/10))
1223
	end
1224
end
1225
1226
function KeyUp(Key)
1227
	KEYHOLD = false
1228
end
1229
1230
	Mouse.Button1Down:connect(function(NEWKEY)
1231
		MouseDown(NEWKEY)
1232
	end)
1233
	Mouse.Button1Up:connect(function(NEWKEY)
1234
		MouseUp(NEWKEY)
1235
	end)
1236
	Mouse.KeyDown:connect(function(NEWKEY)
1237
		KeyDown(NEWKEY)
1238
	end)
1239
	Mouse.KeyUp:connect(function(NEWKEY)
1240
		KeyUp(NEWKEY)
1241
	end)
1242
1243
--//=================================\\
1244
--\\=================================//
1245
1246
1247
function unanchor()
1248
	if UNANCHOR == true then
1249
		g = Character:GetChildren()
1250
		for i = 1, #g do
1251
			if g[i].ClassName == "Part" then
1252
				g[i].Anchored = false
1253
			end
1254
		end
1255
	end
1256
end
1257
1258
1259
--//=================================\\
1260
--||	WRAP THE WHOLE SCRIPT UP
1261
--\\=================================//
1262
1263
Humanoid.Changed:connect(function(Jump)
1264
	if Jump == "Jump" and (Disable_Jump == true) then
1265
		Humanoid.Jump = false
1266
	end
1267
end)
1268
1269
createbodypart("Eye","Really red",Head,VT(0, 0.6, -1.2),VT(12,10,4))
1270
createbodypart("Eye","Really black",Head,VT(0, 0.6, -1.2),VT(7,9,5))
1271
1272
Speed = 20
1273
1274
while true do
1275
	Swait()
1276
	ANIMATE.Parent = nil
1277
	local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
1278
	IDLEANIMATION:Play()
1279
	SINE = SINE + CHANGE
1280
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1281
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1282
	local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
1283
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
1284
	local WALKSPEEDVALUE = 5
1285
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
1286
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1287
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1288
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1289
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1290
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1291
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1292
		Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1293
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1294
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1295
	end
1296
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1297
		ANIM = "Jump"
1298
			if ATTACK == false then
1299
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1300
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1301
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
1302
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(130), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1303
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1304
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1305
	        end
1306
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
1307
			ANIM = "Fall"
1308
			if ATTACK == false then
1309
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1310
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1311
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
1312
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
1313
				RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1314
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1315
			end
1316
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1317
		ANIM = "Idle"
1318
		if ATTACK == false then
1319
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1320
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1321
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1322
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1323
			RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
1324
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12), -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
1325
			if MRANDOM(1,35) == 1 then
1326
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
1327
			end
1328
		end
1329
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1330
		ANIM = "Walk"
1331
		WALK = WALK + 1 / Animation_Speed
1332
		if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
1333
			WALK = 0
1334
			if WALKINGANIM == true then
1335
				WALKINGANIM = false
1336
			elseif WALKINGANIM == false then
1337
				WALKINGANIM = true
1338
			end
1339
		end
1340
		--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1341
		--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
1342
		if ATTACK == false then
1343
			if VALUE1 == false then
1344
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1345
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1346
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(15+60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1347
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(15-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1348
				RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(25)), 0.15 / Animation_Speed)
1349
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-25)), 0.15 / Animation_Speed)
1350
			elseif VALUE1 == true then
1351
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5*2 + 0.05 * COS(SINE / 12)*2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1352
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(-55 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1353
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1354
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*2, 0.5*2, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1355
				RightHip.C0 = Clerp(RightHip.C0, CF(1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-3), RAD(-15), RAD(65)), 0.15 / Animation_Speed)
1356
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*2, -0.5*2 - 0.05 * COS(SINE / 12)*2, -0.4*2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-3), RAD(15), RAD(-65)), 0.15 / Animation_Speed)
1357
			end
1358
		end
1359
	end
1360
if #Effects2>0 then
1361
for e=1,#Effects2 do
1362
if Effects2[e]~=nil then
1363
local Thing=Effects2[e]
1364
if Thing~=nil then
1365
local Part=Thing[1]
1366
local Mode=Thing[2]
1367
local Delay=Thing[3]
1368
local IncX=Thing[4]
1369
local IncY=Thing[5]
1370
local IncZ=Thing[6]
1371
local Part2=Thing[8]
1372
if Thing[1].Transparency<=1 then
1373
if Thing[2]=="Block1" then
1374
Thing[1].CFrame=Thing[1].CFrame
1375
Mesh=Thing[1].Mesh
1376
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1377
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1378
elseif Thing[2]=="Cylinder" then
1379
Mesh=Thing[1].Mesh
1380
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1381
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1382
elseif Thing[2]=="Blood" then
1383
Mesh=Thing[7]
1384
Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
1385
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
1386
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1387
elseif Thing[2]=="Elec" then
1388
Mesh=Thing[1].Mesh
1389
Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
1390
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1391
elseif Thing[2]=="Disappear" then
1392
Thing[1].Transparency=Thing[1].Transparency+Thing[3]
1393
end
1394
else
1395
Part.Parent=nil
1396
table.remove(Effects2,e)
1397
end
1398
end
1399
end
1400
end
1401
end
1402
unanchor()
1403
Humanoid.MaxHealth = "inf"
1404
Humanoid.Health = "inf"
1405
if Rooted == false then
1406
	Disable_Jump = false
1407
	Humanoid.WalkSpeed = Speed
1408
elseif Rooted == true then
1409
	Disable_Jump = true
1410
	Humanoid.WalkSpeed = 0
1411
end
1412
q = Character:GetChildren()
1413
for u = 1, #q do
1414
	if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
1415
		q[u]:remove()
1416
	elseif q[u].ClassName == "Shirt" then
1417
		q[u]:Destroy()
1418
	elseif q[u].ClassName == "Pants" then
1419
		q[u]:Destroy()
1420
	elseif q[u].ClassName == "CharacterMesh" then
1421
		q[u]:remove()
1422
	elseif q[u].ClassName == "ShirtGraphic" then
1423
		q[u]:remove()
1424
	elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
1425
		q[u].Color = Color3.new(0,0,0)
1426
	end
1427
end
1428
if Head:FindFirstChild("face") then
1429
	Head.face:remove()
1430
end
1431
Humanoid.Name = "REEE"
1432
end
1433
1434
--//=================================\\
1435
--\\=================================//
1436
1437
1438
1439
1440
1441
--//====================================================\\--
1442
--||			  		 END OF SCRIPT
1443
--\\====================================================//--