View difference between Paste ID: E5vMmWte and 4a8ygbPW
SHOW: | | - or go back to the newest paste.
1-
script.Name = "Banisher Gun V3 / 1"
1+
2
--||			   CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
5
6-
--
6+
7-
local Player = game:GetService('Players').LocalPlayer
7+
8
Cam = workspace.CurrentCamera
9-
local Character = Player.Character
9+
10
repeat wait() until Player.Character
11-
--All The Settings for Trails in this Script
11+
12-
TrailSettings = {
12+
13-
	Lifetime = 0.7,
13+
14-
	Texture = 'rbxassetid://31270182',
14+
15-
	--Color1 is for UpperBody and Accessories, Color2 is for Lower Body
15+
16-
	Color1 = ColorSequence.new(BrickColor.new('Really red').Color,BrickColor.new('Really red').Color),
16+
17-
	Color2 = ColorSequence.new(BrickColor.new('Really red').Color,BrickColor.new('Really red').Color),
17+
18-
	AllBody = true,
18+
19-
	UpperBodyOnly = false,
19+
20-
	LowerBodyOnly = false,
20+
21-
	Accessories = false,
21+
22-
	Extras = true,
22+
23-
	R15 = false, --Change to true if you're using R15
23+
24-
	R15Parts = {
24+
25-
		'UpperTorso',
25+
26-
		'LowerTorso',
26+
27-
	}
27+
28-
}
28+
29
IT = Instance.new
30-
local Trail; --Making other Trails uses this in this Script
30+
31
VT = Vector3.new
32-
--UpperBody Function
32+
33-
UpperBody = function()
33+
34-
	if TrailSettings.R15 == false then
34+
35-
		A0 = Instance.new('Attachment',Character.Torso)
35+
36-
		A1 = Instance.new('Attachment',Character.Head)
36+
37-
	A2 = Instance.new('Attachment',Character['Right Arm'])
37+
38-
	A3 = Instance.new('Attachment',Character['Left Arm'])
38+
39-
Trail = Instance.new('Trail',Character)
39+
40-
Trail.Attachment0 = A0
40+
41-
Trail.Attachment1 = A1
41+
42-
Trail.Texture = TrailSettings.Texture
42+
43-
Trail.Color = TrailSettings.Color1
43+
44-
Trail.Lifetime = TrailSettings.Lifetime
44+
45-
local Trail2 = Trail:Clone()
45+
46-
Trail2.Parent = Character
46+
47-
Trail2.Attachment1 = A2
47+
48-
local Trail3 = Trail:Clone()
48+
49-
Trail3.Parent = Character
49+
50-
Trail3.Attachment1 = A3
50+
51-
local Trail6 = Trail:Clone()
51+
52-
Trail6.Parent = Character
52+
53-
Trail6.Attachment0 = A1
53+
54-
Trail6.Attachment1 = A2
54+
55-
local Trail7 = Trail:Clone()
55+
56-
Trail7.Parent = Character
56+
57-
Trail7.Attachment0 = A1
57+
58-
Trail7.Attachment1 = A3
58+
59
tecks2.TextSize = 30
60-
	A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
60+
61-
	A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
61+
62-
	A1 = Instance.new('Attachment',Character.Head)
62+
63-
	A2 = Instance.new('Attachment',Character['RightUpperArm'])
63+
64-
	A2R = Instance.new('Attachment',Character['RightLowerArm'])
64+
65-
	A3 = Instance.new('Attachment',Character['LeftUpperArm'])
65+
66-
	A3R = Instance.new('Attachment',Character['LeftLowerArm'])
66+
67-
Trail = Instance.new('Trail',Character)
67+
68-
Trail.Attachment0 = A0
68+
69-
Trail.Attachment1 = A1
69+
70-
Trail.Texture = TrailSettings.Texture
70+
71-
Trail.Color = TrailSettings.Color1
71+
72-
Trail.Lifetime = TrailSettings.Lifetime
72+
73-
local Trail2 = Trail:Clone()
73+
74-
Trail2.Parent = Character
74+
75-
Trail2.Attachment1 = A2
75+
76-
local Trail3 = Trail:Clone()
76+
77-
Trail3.Parent = Character
77+
78-
Trail3.Attachment1 = A3
78+
79-
local Trail6 = Trail:Clone()
79+
80-
Trail6.Parent = Character
80+
81-
Trail6.Attachment0 = A1
81+
82-
Trail6.Attachment1 = A2
82+
83-
local Trail7 = Trail:Clone()
83+
84-
Trail7.Parent = Character
84+
85-
Trail7.Attachment0 = A1
85+
86-
Trail7.Attachment1 = A3
86+
87-
--R15 Trails
87+
88-
local Trail1R = Trail:Clone()
88+
89-
Trail1R.Parent = Character
89+
90-
Trail1R.Attachment1 = A2R
90+
91-
local Trail2R = Trail:Clone()
91+
92-
Trail2R.Parent = Character
92+
93-
Trail2R.Attachment1 = A3R
93+
94-
local Trail6R = Trail:Clone()
94+
95-
Trail6.Parent = Character
95+
96-
Trail6.Attachment0 = A1
96+
97-
Trail6.Attachment1 = A2R
97+
98-
local Trail7R = Trail:Clone()
98+
99-
Trail7.Parent = Character
99+
100-
Trail7.Attachment0 = A1
100+
101-
Trail7.Attachment1 = A3R
101+
102
LeftLeg = Character["Left Leg"]
103
RootJoint = RootPart["RootJoint"]
104
Neck = Torso["Neck"]
105-
--Lower Body Function
105+
106-
LowerBody = function()
106+
107-
	if TrailSettings.R15 == false then
107+
108-
		A4 = Instance.new('Attachment',Character['Right Leg'])
108+
109-
		A5 = Instance.new('Attachment',Character['Left Leg'])
109+
110-
local Trail4 = Trail:Clone()
110+
111-
Trail4.Parent = Character
111+
112-
Trail4.Attachment1 = A4
112+
113-
local Trail5 = Trail:Clone()
113+
114-
Trail5.Parent = Character
114+
115-
Trail5.Attachment1 = A5
115+
116-
local Trail8 = Trail:Clone()
116+
117-
Trail8.Parent = Character
117+
118-
Trail8.Attachment0 = A2
118+
119-
Trail8.Attachment1 = A4
119+
120-
Trail8.Color = TrailSettings.Color2
120+
121-
local Trail9 = Trail:Clone()
121+
122-
Trail9.Parent = Character
122+
123-
Trail9.Attachment0 = A3
123+
124-
Trail9.Attachment1 = A5
124+
125-
Trail9.Color = TrailSettings.Color2
125+
126-
local FT = Trail:Clone()
126+
127-
FT.Parent = Character
127+
128-
FT.Attachment0 = A4
128+
129-
FT.Attachment1 = A5
129+
130-
FT.Color = TrailSettings.Color2
130+
131-
else
131+
132-
		A4 = Instance.new('Attachment',Character['RightLowerLeg'])
132+
133-
		A4R = Instance.new('Attachment',Character['RightUpperLeg'])
133+
134-
		A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
134+
135-
		A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
135+
136-
		local Trail4 = Trail:Clone()
136+
137-
Trail4.Parent = Character
137+
138-
Trail4.Attachment1 = A4
138+
139-
local Trail5 = Trail:Clone()
139+
140-
Trail5.Parent = Character
140+
141-
Trail5.Attachment1 = A5
141+
142-
local Trail8 = Trail:Clone()
142+
143-
Trail8.Parent = Character
143+
144-
Trail8.Attachment0 = A2
144+
145-
Trail8.Attachment1 = A4
145+
146-
Trail8.Color = TrailSettings.Color2
146+
147-
local Trail9 = Trail:Clone()
147+
148-
Trail9.Parent = Character
148+
149-
Trail9.Attachment0 = A3
149+
150-
Trail9.Attachment1 = A5
150+
151-
Trail9.Color = TrailSettings.Color2
151+
152-
local FT = Trail:Clone()
152+
153-
FT.Parent = Character
153+
154-
FT.Attachment0 = A4
154+
155-
FT.Attachment1 = A5
155+
156-
FT.Color = TrailSettings.Color2
156+
157-
--R15 Trails
157+
158-
local Trail3R = Trail:Clone()
158+
159-
Trail3R.Parent = Character
159+
160-
Trail3R.Attachment1 = A4R
160+
161-
local Trail4R = Trail:Clone()
161+
162-
Trail4R.Parent = Character
162+
163-
Trail4R.Attachment1 = A5R
163+
164-
local Trail8 = Trail:Clone()
164+
165-
Trail8.Parent = Character
165+
166-
Trail8.Attachment0 = A2R
166+
167-
Trail8.Attachment1 = A4R
167+
168-
Trail8.Color = TrailSettings.Color2
168+
169-
local Trail9 = Trail:Clone()
169+
170-
Trail9.Parent = Character
170+
171-
Trail9.Attachment0 = A3R
171+
172-
Trail9.Attachment1 = A5R
172+
173-
Trail9.Color = TrailSettings.Color2
173+
174-
local FT2R = Trail:Clone()
174+
175-
FT2R.Parent = Character
175+
176-
FT2R.Attachment0 = A4R
176+
177-
FT2R.Attachment1 = A5R
177+
178-
FT2R.Color = TrailSettings.Color2
178+
179
ArtificialHB.Name = "ArtificialHB"
180
181
script:WaitForChild("ArtificialHB")
182-
--All Body Function calling Both Functions
182+
183-
AllBody = function()
183+
184-
	UpperBody()
184+
185-
	LowerBody()
185+
186
tossremainder = false
187
lastframe = tick()
188-
--Checking to make sure that Only some Variables are Selected else do All Body
188+
189-
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
189+
190-
	TrailSettings.UpperBodyOnly = false
190+
191-
	TrailSettings.LowerBodyOnly = false
191+
192-
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
192+
193-
	TrailSettings.UpperBodyOnly = false
193+
194-
	TrailSettings.LowerBodyOnly = false
194+
195-
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
195+
196-
	TrailSettings.UpperBodyOnly = false
196+
197-
	TrailSettings.LowerBodyOnly = false
197+
198-
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
198+
199-
	TrailSettings.AllBody = true
199+
200-
	TrailSettings.UpperBodyOnly = false
200+
201-
	TrailSettings.LowerBodyOnly = false
201+
202
		if tossremainder then
203
			tf = 0
204-
--Call Trail Functions
204+
205-
if TrailSettings.UpperBodyOnly == true then
205+
206-
	UpperBody()
206+
207-
	print('Called Upper Body Trail')
207+
208-
elseif TrailSettings.LowerBodyOnly == true then
208+
209-
	LowerBody()
209+
210-
	print('Called Lower Body Trail')
210+
211-
elseif TrailSettings.AllBody == true then
211+
212-
	AllBody()
212+
213-
	print('Called Full Body Trail')
213+
214
--|| 	      SOME FUNCTIONS
215
--\\=================================//
216-
--Trails for Accessories
216+
217-
if TrailSettings.Accessories == true then
217+
218-
for Index,Item in pairs(Character:GetChildren()) do
218+
219-
	if Item:IsA'Accessory' then
219+
220-
		local AA = Instance.new('Attachment',Item.Handle)
220+
221-
		local ATrail = Trail:Clone()
221+
222-
		ATrail.Parent = Character
222+
223-
		ATrail.Attachment1 = AA
223+
224
	end
225
	return NUMBER
226
end
227
228-
--Extras
228+
229-
if TrailSettings.Extras == true then
229+
230-
	--Making an Invisible Platform Part
230+
231-
local a = Instance.new('Part',Character)
231+
232-
a.CanCollide = false
232+
233-
a.Size = Vector3.new(2,.2,2)
233+
234-
a.Transparency = 1
234+
235
function Swait(NUMBER)
236-
--Constantly putting it under your feet
236+
237-
if TrailSettings.R15 == false then
237+
238
	else
239-
	game:GetService('RunService').RenderStepped:connect(function()
239+
240-
		a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
240+
241
		end
242
	end
243-
else
243+
244
245-
	game:GetService('RunService').RenderStepped:connect(function()
245+
246-
		a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
246+
247
	if MESH == "SpecialMesh" then
248
		NEWMESH.MeshType = MESHTYPE
249
		if MESHID ~= "nil" and MESHID ~= "" then
250
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
251-
--Make a Trail from both feet to the Platform
251+
252-
spawn(function()
252+
253-
	repeat wait() until Trail
253+
254-
local AB = Instance.new('Attachment',a)
254+
255-
local ABT = Trail:Clone()
255+
256-
ABT.Parent = Character
256+
257-
ABT.Attachment0 = A4
257+
258-
ABT.Attachment1 = AB
258+
259-
ABT.Color = TrailSettings.Color2
259+
260-
local ABT2 = Trail:Clone()
260+
261-
ABT2.Parent = Character
261+
262-
ABT2.Attachment0 = A5
262+
263-
ABT2.Attachment1 = AB
263+
264-
ABT2.Color = TrailSettings.Color2
264+
265
	NEWPART.Reflectance = REFLECTANCE
266
	NEWPART.Transparency = TRANSPARENCY
267-
--
267+
268
	NEWPART.Locked = true
269
	NEWPART.Anchored = true
270
	if ANCHOR == false then
271
		NEWPART.Anchored = false
272
	end
273
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
274
	NEWPART.Name = NAME
275
	NEWPART.Size = SIZE
276
	NEWPART.Position = Torso.Position
277
	NEWPART.Material = MATERIAL
278
	NEWPART:BreakJoints()
279
	NEWPART.Parent = PARENT
280
	return NEWPART
281
end
282
283
	local function weldBetween(a, b)
284
	    local weldd = Instance.new("ManualWeld")
285
	    weldd.Part0 = a
286
	    weldd.Part1 = b
287
	    weldd.C0 = CFrame.new()
288
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
289
	    weldd.Parent = a
290
	    return weldd
291
	end
292
293
294
function QuaternionFromCFrame(cf)
295
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
296
	local trace = m00 + m11 + m22
297
	if trace > 0 then 
298
		local s = math.sqrt(1 + trace)
299
		local recip = 0.5 / s
300
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
301
	else
302
		local i = 0
303
		if m11 > m00 then
304
			i = 1
305
		end
306
		if m22 > (i == 0 and m00 or m11) then
307
			i = 2
308
		end
309
		if i == 0 then
310
			local s = math.sqrt(m00 - m11 - m22 + 1)
311
			local recip = 0.5 / s
312
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
313
		elseif i == 1 then
314
			local s = math.sqrt(m11 - m22 - m00 + 1)
315
			local recip = 0.5 / s
316
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
317
		elseif i == 2 then
318
			local s = math.sqrt(m22 - m00 - m11 + 1)
319
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
320
		end
321
	end
322
end
323
 
324
function QuaternionToCFrame(px, py, pz, x, y, z, w)
325
	local xs, ys, zs = x + x, y + y, z + z
326
	local wx, wy, wz = w * xs, w * ys, w * zs
327
	local xx = x * xs
328
	local xy = x * ys
329
	local xz = x * zs
330
	local yy = y * ys
331
	local yz = y * zs
332
	local zz = z * zs
333
	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))
334
end
335
 
336
function QuaternionSlerp(a, b, t)
337
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
338
	local startInterp, finishInterp;
339
	if cosTheta >= 0.0001 then
340
		if (1 - cosTheta) > 0.0001 then
341
			local theta = ACOS(cosTheta)
342
			local invSinTheta = 1 / SIN(theta)
343
			startInterp = SIN((1 - t) * theta) * invSinTheta
344
			finishInterp = SIN(t * theta) * invSinTheta
345
		else
346
			startInterp = 1 - t
347
			finishInterp = t
348
		end
349
	else
350
		if (1 + cosTheta) > 0.0001 then
351
			local theta = ACOS(-cosTheta)
352
			local invSinTheta = 1 / SIN(theta)
353
			startInterp = SIN((t - 1) * theta) * invSinTheta
354
			finishInterp = SIN(t * theta) * invSinTheta
355
		else
356
			startInterp = t - 1
357
			finishInterp = t
358
		end
359
	end
360
	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
361
end
362
363
function Clerp(a, b, t)
364
	local qa = {QuaternionFromCFrame(a)}
365
	local qb = {QuaternionFromCFrame(b)}
366
	local ax, ay, az = a.x, a.y, a.z
367
	local bx, by, bz = b.x, b.y, b.z
368
	local _t = 1 - t
369
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
370
end
371
372
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
373
	local frame = IT("Frame")
374
	frame.BackgroundTransparency = TRANSPARENCY
375
	frame.BorderSizePixel = BORDERSIZEPIXEL
376
	frame.Position = POSITION
377
	frame.Size = SIZE
378
	frame.BackgroundColor3 = COLOR
379
	frame.BorderColor3 = BORDERCOLOR
380
	frame.Name = NAME
381
	frame.Parent = PARENT
382
	return frame
383
end
384
385
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
386
	local label = IT("TextLabel")
387
	label.BackgroundTransparency = 1
388
	label.Size = UD2(1, 0, 1, 0)
389
	label.Position = UD2(0, 0, 0, 0)
390
	label.TextColor3 = TEXTCOLOR
391
	label.TextStrokeTransparency = STROKETRANSPARENCY
392
	label.TextTransparency = TRANSPARENCY
393
	label.FontSize = TEXTFONTSIZE
394
	label.Font = TEXTFONT
395
	label.BorderSizePixel = BORDERSIZEPIXEL
396
	label.TextScaled = false
397
	label.Text = TEXT
398
	label.Name = NAME
399
	label.Parent = PARENT
400
	return label
401
end
402
403
function NoOutlines(PART)
404
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
405
end
406
407
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
408
	local NEWWELD = IT(TYPE)
409
	NEWWELD.Part0 = PART0
410
	NEWWELD.Part1 = PART1
411
	NEWWELD.C0 = C0
412
	NEWWELD.C1 = C1
413
	NEWWELD.Parent = PARENT
414
	return NEWWELD
415
end
416
417
local S = IT("Sound")
418
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
419
	local NEWSOUND = nil
420
	coroutine.resume(coroutine.create(function()
421
		NEWSOUND = S:Clone()
422
		NEWSOUND.Parent = PARENT
423
		NEWSOUND.Volume = VOLUME
424
		NEWSOUND.Pitch = PITCH
425
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
426
		NEWSOUND:play()
427
		if DOESLOOP == true then
428
			NEWSOUND.Looped = true
429
		else
430
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
431
			NEWSOUND:remove()
432
		end
433
	end))
434
	return NEWSOUND
435
end
436
437
function CFrameFromTopBack(at, top, back)
438
	local right = top:Cross(back)
439
	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)
440
end
441
442
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
443
function WACKYEFFECT(Table)
444
	local TYPE = (Table.EffectType or "Sphere")
445
	local SIZE = (Table.Size or VT(1,1,1))
446
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
447
	local TRANSPARENCY = (Table.Transparency or 0)
448
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
449
	local CFRAME = (Table.CFrame or Torso.CFrame)
450
	local MOVEDIRECTION = (Table.MoveToPos or nil)
451
	local ROTATION1 = (Table.RotationX or 0)
452
	local ROTATION2 = (Table.RotationY or 0)
453
	local ROTATION3 = (Table.RotationZ or 0)
454
	local MATERIAL = (Table.Material or "Neon")
455
	local COLOR = (Table.Color or C3(1,1,1))
456
	local TIME = (Table.Time or 45)
457
	local SOUNDID = (Table.SoundID or nil)
458
	local SOUNDPITCH = (Table.SoundPitch or nil)
459
	local SOUNDVOLUME = (Table.SoundVolume or nil)
460
	coroutine.resume(coroutine.create(function()
461
		local PLAYSSOUND = false
462
		local SOUND = nil
463
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
464
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
465
			PLAYSSOUND = true
466
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
467
		end
468
		EFFECT.Color = COLOR
469
		local MSH = nil
470
		if TYPE == "Sphere" then
471
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
472
		elseif TYPE == "Block" then
473
			MSH = IT("BlockMesh",EFFECT)
474
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
475
		elseif TYPE == "Wave" then
476
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
477
		elseif TYPE == "Ring" then
478
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
479
		elseif TYPE == "Slash" then
480
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
481
		elseif TYPE == "Round Slash" then
482
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
483
		elseif TYPE == "Swirl" then
484
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
485
		elseif TYPE == "Skull" then
486
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
487
		elseif TYPE == "Crystal" then
488
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
489
		end
490
		if MSH ~= nil then
491
			local MOVESPEED = nil
492
			if MOVEDIRECTION ~= nil then
493
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
494
			end
495
			local GROWTH = SIZE - ENDSIZE
496
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
497
			if TYPE == "Block" then
498
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
499
			else
500
				EFFECT.CFrame = CFRAME
501
			end
502
			for LOOP = 1, TIME+1 do
503
				Swait()
504
				MSH.Scale = MSH.Scale - GROWTH/TIME
505
				if TYPE == "Wave" then
506
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
507
				end
508
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
509
				if TYPE == "Block" then
510
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
511
				else
512
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
513
				end
514
				if MOVEDIRECTION ~= nil then
515
					local ORI = EFFECT.Orientation
516
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
517
					EFFECT.Orientation = ORI
518
				end
519
			end
520
			if PLAYSSOUND == false then
521
				EFFECT:remove()
522
			else
523
				SOUND.Stopped:Connect(function()
524
					EFFECT:remove()
525
				end)
526
			end
527
		else
528
			if PLAYSSOUND == false then
529
				EFFECT:remove()
530
			else
531
				repeat Swait() until SOUND.Playing == false
532
				EFFECT:remove()
533
			end
534
		end
535
	end))
536
end
537
538
function MakeForm(PART,TYPE)
539
	if TYPE == "Cyl" then
540
		local MSH = IT("CylinderMesh",PART)
541
	elseif TYPE == "Ball" then
542
		local MSH = IT("SpecialMesh",PART)
543
		MSH.MeshType = "Sphere"
544
	elseif TYPE == "Wedge" then
545
		local MSH = IT("SpecialMesh",PART)
546
		MSH.MeshType = "Wedge"
547
	end
548
end
549
550
function SpawnTrail(FROM,TO,BIG)
551
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
552
	MakeForm(TRAIL,"Cyl")
553
	local DIST = (FROM - TO).Magnitude
554
	if BIG == true then
555
		TRAIL.Size = VT(0.5,DIST,0.5)
556
	else
557
		TRAIL.Size = VT(0.25,DIST,0.25)
558
	end
559
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
560
	coroutine.resume(coroutine.create(function()
561
		for i = 1, 5 do
562
			Swait()
563
			TRAIL.Transparency = TRAIL.Transparency + 0.1
564
		end
565
		TRAIL:remove()
566
	end))
567
end
568
569
Debris = game:GetService("Debris")
570
571
function CastProperRay(StartPos, EndPos, Distance, Ignore)
572
	local DIRECTION = CF(StartPos,EndPos).lookVector
573
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
574
end
575
576
function turnto(position)
577
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
578
end
579
local asd = Instance.new("ParticleEmitter")
580
asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
581
asd.LightEmission = .1
582
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
583
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
584
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
585
asd.Transparency = bbb
586
asd.Size = aaa
587
asd.ZOffset = .9
588
asd.Acceleration = Vector3.new(0, -15, 0)
589
asd.LockedToPart = false
590
asd.EmissionDirection = "Back"
591
asd.Lifetime = NumberRange.new(1, 2)
592
asd.Rotation = NumberRange.new(-100, 100)
593
asd.RotSpeed = NumberRange.new(-100, 100)
594
asd.Speed = NumberRange.new(10)
595
asd.Enabled = false
596
asd.VelocitySpread = 999
597
598
function getbloody(victim,amount)
599
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
600
	PART.CFrame = victim.CFrame
601
	local HITPLAYERSOUNDS = {"356551938","264486467"}
602
	Debris:AddItem(PART,5)
603
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
604
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
605
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
606
	local prtcl = asd:Clone()
607
	prtcl.Parent = PART
608
	prtcl:Emit(amount*10)
609
end
610
611
local Particle = IT("ParticleEmitter",nil)
612
Particle.Enabled = false
613
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
614
Particle.LightEmission = 0.5
615
Particle.Rate = 150
616
Particle.ZOffset = 1
617
Particle.Rotation = NumberRange.new(-180, 180)
618
Particle.RotSpeed = NumberRange.new(-180, 180)
619
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
620
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
621
622
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
623
function ParticleEmitter(Table)
624
	local PRTCL = Particle:Clone()
625
	local Speed = Table.Speed or 5
626
	local Drag = Table.Drag or 0
627
	local Size1 = Table.Size1 or 1
628
	local Size2 = Table.Size2 or 5
629
	local Lifetime1 = Table.Lifetime1 or 1
630
	local Lifetime2 = Table.Lifetime2 or 1.5
631
	local Parent = Table.Parent or Torso
632
	local Emit = Table.Emit or 100
633
	local Offset = Table.Offset or 360
634
	local Acel = Table.Acel or VT(0,0,0)
635
	local Enabled = Table.Enabled or false
636
	PRTCL.Parent = Parent
637
	PRTCL.Size = NumberSequence.new(Size1,Size2)
638
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
639
	PRTCL.Speed = NumberRange.new(Speed)
640
	PRTCL.VelocitySpread = Offset
641
	PRTCL.Drag = Drag
642
	PRTCL.Acceleration = Acel
643
	if Enabled == false then
644
		PRTCL:Emit(Emit)
645
		Debris:AddItem(PRTCL,Lifetime2)
646
	else
647
		PRTCL.Enabled = true
648
	end
649
	return PRTCL
650
end
651
652
653
--//=================================\\
654
--||	     WEAPON CREATION
655
--\\=================================//
656
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
657
txtfag.Adornee = suckadick
658
txtfag.Name = "kys nigga"
659
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
660
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
661
local textfag = Instance.new("TextLabel", txtfag)
662
textfag.Size = UDim2.new(6, 0, 1, 0)
663
textfag.FontSize = "Size8"
664
textfag.TextScaled = true
665
textfag.TextTransparency = 0
666
textfag.BackgroundTransparency = 1
667
textfag.TextTransparency = 0
668
textfag.TextStrokeTransparency = 0
669
textfag.Font = "Cartoon"
670
textfag.TextStrokeColor3 = Color3.new(17, 17, 17)
671
v = Instance.new("Part")
672
v.Name = "ColorBrick"
673
v.Parent = part
674
v.FormFactor = "Symmetric"
675
v.Anchored = true
676
v.CanCollide = false
677
v.BottomSurface = "Smooth"
678
v.TopSurface = "Smooth"
679
v.Size = Vector3.new(10, 5, 3)
680
v.Transparency = 0.7
681
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
682
v.Transparency = 1
683
textfag.TextColor3 = v.BrickColor.Color
684
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
685
v.Shape = "Block"
686
textfag.Text = "IM BACK FROM THE DEAD I WILL SHOW MY TURE POWER!"
687
wait(4)
688
textfag.Text = "Ultimate Demon"
689
wait(0.3)
690
function sandbox(var,func)
691
	local env = getfenv(func)
692
	local newenv = setmetatable({},{
693
		__index = function(self,k)
694
			if k=="script" then
695
				return var
696
			else
697
				return env[k]
698
			end
699
		end,
700
	})
701
	setfenv(func,newenv)
702
	return func
703
end
704
cors = {}
705
mas = Instance.new("Model",game:GetService("Lighting"))
706
Model0 = Instance.new("Model")
707
Part1 = Instance.new("Part")
708
Weld2 = Instance.new("Weld")
709
Part3 = Instance.new("Part")
710
Decal4 = Instance.new("Decal")
711
Decal5 = Instance.new("Decal")
712
Model0.Name = "Flagloldiefurshits"
713
Model0.Parent = mas
714
Part1.Name = "Stick"
715
Part1.Parent = Model0
716
Part1.Material = Enum.Material.Wood
717
Part1.BrickColor = BrickColor.new("Really red")
718
Part1.Rotation = Vector3.new(0, 0, 126)
719
Part1.Shape = Enum.PartType.Cylinder
720
Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
721
Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
722
Part1.BottomSurface = Enum.SurfaceType.Smooth
723
Part1.TopSurface = Enum.SurfaceType.Smooth
724
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
725
Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
726
Part1.Orientation = Vector3.new(0, 0, 126)
727
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
728
Weld2.Parent = Part1
729
Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1)
730
Weld2.Part0 = Part1
731
Weld2.Part1 = Part3
732
Part3.Name = "Flag"
733
Part3.Parent = Model0
734
Part3.BrickColor = BrickColor.new("Really red")
735
Part3.Rotation = Vector3.new(0, 0, 36)
736
Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
737
Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
738
Part3.BottomSurface = Enum.SurfaceType.Smooth
739
Part3.Color = Color3.new(255, 0, 0)
740
Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
741
Part3.Orientation = Vector3.new(0, 0, 36)
742
Part3.Color = Color3.new(255, 0, 0)
743
Decal4.Parent = Part3
744
Decal4.Texture = "rbxassetid://1150731665"
745
Decal5.Name = "Decal1"
746
Decal5.Parent = Part3
747
Decal5.Texture = "rbxassetid://1150731665"
748
Decal5.Face = Enum.NormalId.Back
749
for i,v in pairs(mas:GetChildren()) do
750
	v.Parent = game:GetService("Players").LocalPlayer.Character
751
	pcall(function() v:MakeJoints() end)
752
end
753
mas:Destroy()
754
for i,v in pairs(cors) do
755
	spawn(function()
756
		pcall(v)
757
	end)
758
end
759
760
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
761
MakeForm(LeftHole,"Cyl")
762
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
763
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
764
MakeForm(Eye,"Ball")
765
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
766
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
767
MakeForm(Eye,"Ball")
768
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
769
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
770
MakeForm(Eye,"Ball")
771
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
772
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
773
MakeForm(Eye,"Ball")
774
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
775
local A = IT("Attachment",Torso)
776
A.Position = VT(1,1.3,0)
777
A.Orientation = VT(-0.098, -89.999, 0.227)
778
local B = IT("Attachment",Torso)
779
B.Position = VT(-1.3,-0.6,0)
780
B.Orientation = VT(-88.911, -68.808, 158.782)
781
local ChainLink = IT("Beam",Torso)
782
ChainLink.Texture = "rbxassetid://343533707"
783
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
784
ChainLink.TextureSpeed = 1
785
ChainLink.FaceCamera = true
786
ChainLink.Width0 = 1
787
ChainLink.Width1 = 1
788
ChainLink.TextureLength = 3
789
ChainLink.Attachment0 = A
790
ChainLink.Attachment1 = B
791
ChainLink.CurveSize0 = 1.6
792
ChainLink.CurveSize1 = 1.6
793
ChainLink.FaceCamera = true
794
ChainLink.Transparency = NumberSequence.new(0)
795
local ChainLink = IT("Beam",Torso)
796
ChainLink.Texture = "rbxassetid://343533707"
797
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
798
ChainLink.TextureSpeed = 1
799
ChainLink.FaceCamera = true
800
ChainLink.Width0 = 1
801
ChainLink.Width1 = 1
802
ChainLink.TextureLength = 3
803
ChainLink.Attachment0 = B
804
ChainLink.Attachment1 = A
805
ChainLink.CurveSize0 = 1.6
806
ChainLink.CurveSize1 = 1.6
807
ChainLink.FaceCamera = true
808
ChainLink.Transparency = NumberSequence.new(0)
809
local A = IT("Attachment",Torso)
810
A.Position = VT(1.3,-0.85,0)
811
A.Orientation = VT(-0.098, -89.999, 0.227)
812
local B = IT("Attachment",Torso)
813
B.Position = VT(-1,2,0)
814-
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
814+
815
local ChainLink = IT("Beam",Torso)
816
ChainLink.Texture = "rbxassetid://343533707"
817
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
818
ChainLink.TextureSpeed = 1
819
ChainLink.FaceCamera = true
820
ChainLink.Width0 = 1
821
ChainLink.Width1 = 1
822
ChainLink.TextureLength = 3
823
ChainLink.Attachment0 = A
824
ChainLink.Attachment1 = B
825
ChainLink.CurveSize0 = 1.3
826
ChainLink.CurveSize1 = 1.3
827
ChainLink.FaceCamera = true
828
ChainLink.Transparency = NumberSequence.new(0)
829
local ChainLink = IT("Beam",Torso)
830
ChainLink.Texture = "rbxassetid://343533707"
831
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
832
ChainLink.TextureSpeed = 1
833
ChainLink.FaceCamera = true
834
ChainLink.Width0 = 1
835
ChainLink.Width1 = 1
836
ChainLink.TextureLength = 3
837
ChainLink.Attachment0 = B
838
ChainLink.Attachment1 = A
839
ChainLink.CurveSize0 = 1.3
840
ChainLink.CurveSize1 = 1.3
841
ChainLink.FaceCamera = true
842
ChainLink.Transparency = NumberSequence.new(0)
843
844
local A = IT("Attachment",RightBarrel)
845
A.Position = VT(0,-2.5,0)
846
local B = IT("Attachment",RightBarrel)
847
B.Position = VT(0,2.5,0)
848
local Trail = IT("Trail",RightBarrel)
849
Trail.Attachment0 = A
850
Trail.Attachment1 = B
851
Trail.Lifetime = 0.2
852
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
853
Trail.Transparency = NumberSequence.new(0, 1)
854
Trail.Enabled = false
855
856
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
857
PRT.LockedToPart = true
858
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
859
PRT.LockedToPart = true
860
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
861
PRT.LockedToPart = true
862
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
863
PRT.LockedToPart = true
864
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
865
PRT.LockedToPart = true
866
for _, c in pairs(Character:GetDescendants()) do
867
	if c and c.Parent then
868
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
869
			local ACCESSORY = c.Parent
870
			c.Parent = Character
871
			if c then
872
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
873
					weldBetween(Head,c)
874
				else
875
					weldBetween(Torso,c)
876
				end
877
			end
878
		end
879
	end
880
end
881
local BODY = {}
882
for _, c in pairs(Character:GetDescendants()) do
883
	if c:IsA("BasePart") and c.Name ~= "Handle" then
884
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
885
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
886
		end
887
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
888
	elseif c:IsA("JointInstance") then
889
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
890
	end
891
end
892
function refit()
893
	Character.Parent = workspace
894
	for e = 1, #BODY do
895
		if BODY[e] ~= nil then
896
			local STUFF = BODY[e]
897
			local PART = STUFF[1]
898
			local PARENT = STUFF[2]
899
			local MATERIAL = STUFF[3]
900
			local COLOR = STUFF[4]
901
			local TRANSPARENCY = STUFF[5]
902
			--local SIZE = STUFF[6]
903
			local NAME = STUFF[7]
904
			if PART.ClassName == "Part" and PART ~= RootPart then
905
				PART.Material = MATERIAL
906
				PART.Transparency = TRANSPARENCY
907
				PART.Name = NAME
908
			end
909
			if PART.Parent ~= PARENT then
910
				Humanoid:remove()
911
				PART.Parent = PARENT
912
				Humanoid = IT("Humanoid",Character)
913
			end
914
		end
915
	end
916
end
917
918
919
--[[
920
		Thanks for using Build-To-Lua by jarredbcv.
921
]]--
922
923
New = function(Object, Parent, Name, Data)
924
	local Object = Instance.new(Object)
925
	for Index, Value in pairs(Data or {}) do
926
		Object[Index] = Value
927
	end
928
	Object.Parent = Parent
929
	Object.Name = Name
930
	return Object
931
end
932
933
934
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
935
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
936
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
937
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
938
939
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
940
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
941
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Lime green"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
942
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
943
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
944
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
945
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
946
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
947
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
948
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
949
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
950
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
951
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
952
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
953
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
954
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
955
956
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
957
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
958
959
960
961
for i = 1, 35 do
962
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
963
	FACE.Color = C3(0,0,0)
964
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
965
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
966
end
967
968
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
969
MakeForm(Eye,"Ball")
970
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
971
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
972
MakeForm(Eye,"Ball")
973
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
974
local Eye = CreatePart(3, Character, "Neon", 0, 0, Really red", "Eye", VT(0.1,1,1)/2,false)
975
MakeForm(Eye,"Ball")
976
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
977
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
978
MakeForm(Eye,"Ball")
979
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
980
981
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(1.01,0.3,1.01),false)
982
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
983
for i = 1, 3 do
984
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
985
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
986
	MakeForm(Part,"Cyl")
987
end
988
for i = 1, 3 do
989
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Lime green", "BraceletPart", VT(0.2,1.02,0.2),false)
990
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
991
	MakeForm(Part,"Cyl")
992
end
993
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
994
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
995
MakeForm(Part,"Wedge")
996
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
997
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
998
MakeForm(Part,"Wedge")
999
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1000
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
1001
MakeForm(Part,"Wedge")
1002
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1003
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
1004
MakeForm(Part,"Wedge")
1005
1006
1007
1008
1009
1010
1011
1012
for _, c in pairs(Weapon:GetChildren()) do
1013
	if c.ClassName == "Part" then
1014
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1015
		local AURA = c:Clone()
1016
		AURA:BreakJoints()
1017
		AURA.Parent = c
1018
		AURA.CFrame = c.CFrame
1019
		AURA.Size = AURA.Size*1.001
1020
		AURA.Transparency = 0.8
1021
		AURA.BrickColor = BRICKC"Really red"
1022
		AURA.Material = "Neon"
1023
		weldBetween(c,AURA)
1024
	end
1025
end
1026
1027
local SKILLTEXTCOLOR = BRICKC"Really red".Color
1028
local SKILLFONT = "Bodoni"
1029
local SKILLTEXTSIZE = 7
1030
1031
Humanoid.DisplayDistanceType = "None"
1032
local naeeym2 = IT("BillboardGui",Character)
1033
naeeym2.AlwaysOnTop = true
1034
naeeym2.Size = UDim2.new(5,35,2,15)
1035
naeeym2.StudsOffset = Vector3.new(0,2,0)
1036
naeeym2.MaxDistance = 75
1037
naeeym2.Adornee = Character.Head
1038
naeeym2.Name = "Name"
1039
local tecks2 = IT("TextLabel",naeeym2)
1040
tecks2.BackgroundTransparency = 1
1041
tecks2.TextScaled = true
1042
tecks2.BorderSizePixel = 0
1043
tecks2.Text = ""
1044
tecks2.Font = "Fantasy"
1045
tecks2.TextSize = 30
1046
tecks2.TextStrokeTransparency = 0
1047
tecks2.TextColor3 = C3(255, 0, 0)
1048
tecks2.TextStrokeColor3 = C3(255, 0, 0)
1049
tecks2.Size = UDim2.new(1,0,0.5,0)
1050
tecks2.Parent = naeeym2
1051
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1052
MakeForm(LeftHole,"Cyl")
1053
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1054
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1055
MakeForm(Eye,"Ball")
1056
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1057
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1058
MakeForm(Eye,"Ball")
1059
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1060
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1061
MakeForm(Eye,"Ball")
1062
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1063
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1064
MakeForm(Eye,"Ball")
1065
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1066
local A = IT("Attachment",Torso)
1067
A.Position = VT(1,1.3,0)
1068
A.Orientation = VT(-0.098, -89.999, 0.227)
1069
local B = IT("Attachment",Torso)
1070
B.Position = VT(-1.3,-0.6,0)
1071
B.Orientation = VT(-88.911, -68.808, 158.782)
1072
local ChainLink = IT("Beam",Torso)
1073
ChainLink.Texture = "rbxassetid://343533707"
1074
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1075
ChainLink.TextureSpeed = 1
1076
ChainLink.FaceCamera = true
1077
ChainLink.Width0 = 1
1078
ChainLink.Width1 = 1
1079
ChainLink.TextureLength = 3
1080
ChainLink.Attachment0 = A
1081
ChainLink.Attachment1 = B
1082
ChainLink.CurveSize0 = 1.6
1083
ChainLink.CurveSize1 = 1.6
1084
ChainLink.FaceCamera = true
1085
ChainLink.Transparency = NumberSequence.new(0)
1086
local ChainLink = IT("Beam",Torso)
1087
ChainLink.Texture = "rbxassetid://343533707"
1088
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1089
ChainLink.TextureSpeed = 1
1090
ChainLink.FaceCamera = true
1091
ChainLink.Width0 = 1
1092
ChainLink.Width1 = 1
1093
ChainLink.TextureLength = 3
1094
ChainLink.Attachment0 = B
1095
ChainLink.Attachment1 = A
1096
ChainLink.CurveSize0 = 1.6
1097
ChainLink.CurveSize1 = 1.6
1098
ChainLink.FaceCamera = true
1099
ChainLink.Transparency = NumberSequence.new(0)
1100
local A = IT("Attachment",Torso)
1101
A.Position = VT(1.3,-0.85,0)
1102
A.Orientation = VT(-0.098, -89.999, 0.227)
1103
local B = IT("Attachment",Torso)
1104
B.Position = VT(-1,2,0)
1105
B.Orientation = VT(-88.911, -68.808, 158.782)
1106
local ChainLink = IT("Beam",Torso)
1107
ChainLink.Texture = "rbxassetid://343533707"
1108
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1109
ChainLink.TextureSpeed = 1
1110
ChainLink.FaceCamera = true
1111
ChainLink.Width0 = 1
1112
ChainLink.Width1 = 1
1113
ChainLink.TextureLength = 3
1114
ChainLink.Attachment0 = A
1115
ChainLink.Attachment1 = B
1116
ChainLink.CurveSize0 = 1.3
1117
ChainLink.CurveSize1 = 1.3
1118
ChainLink.FaceCamera = true
1119
ChainLink.Transparency = NumberSequence.new(0)
1120
local ChainLink = IT("Beam",Torso)
1121
ChainLink.Texture = "rbxassetid://343533707"
1122
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1123
ChainLink.TextureSpeed = 1
1124
ChainLink.FaceCamera = true
1125
ChainLink.Width0 = 1
1126
ChainLink.Width1 = 1
1127
ChainLink.TextureLength = 3
1128
ChainLink.Attachment0 = B
1129
ChainLink.Attachment1 = A
1130
ChainLink.CurveSize0 = 1.3
1131
ChainLink.CurveSize1 = 1.3
1132
ChainLink.FaceCamera = true
1133
ChainLink.Transparency = NumberSequence.new(0)
1134
1135
local A = IT("Attachment",RightBarrel)
1136
A.Position = VT(0,-2.5,0)
1137
local B = IT("Attachment",RightBarrel)
1138
B.Position = VT(0,2.5,0)
1139
local Trail = IT("Trail",RightBarrel)
1140
Trail.Attachment0 = A
1141
Trail.Attachment1 = B
1142
Trail.Lifetime = 0.2
1143
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1144
Trail.Transparency = NumberSequence.new(0, 1)
1145
Trail.Enabled = false
1146
1147
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
1148
PRT.LockedToPart = true
1149
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
1150
PRT.LockedToPart = true
1151
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
1152
PRT.LockedToPart = true
1153
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
1154
PRT.LockedToPart = true
1155
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
1156
PRT.LockedToPart = true
1157
for _, c in pairs(Character:GetDescendants()) do
1158
	if c and c.Parent then
1159
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1160
			local ACCESSORY = c.Parent
1161
			c.Parent = Character
1162
			if c then
1163
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1164
					weldBetween(Head,c)
1165
				else
1166
					weldBetween(Torso,c)
1167
				end
1168
			end
1169
		end
1170
	end
1171
end
1172
local BODY = {}
1173
for _, c in pairs(Character:GetDescendants()) do
1174
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1175
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1176
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1177
		end
1178
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1179
	elseif c:IsA("JointInstance") then
1180
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1181
	end
1182
end
1183
function refit()
1184
	Character.Parent = workspace
1185
	for e = 1, #BODY do
1186
		if BODY[e] ~= nil then
1187
			local STUFF = BODY[e]
1188
			local PART = STUFF[1]
1189
			local PARENT = STUFF[2]
1190
			local MATERIAL = STUFF[3]
1191
			local COLOR = STUFF[4]
1192
			local TRANSPARENCY = STUFF[5]
1193
			--local SIZE = STUFF[6]
1194
			local NAME = STUFF[7]
1195
			if PART.ClassName == "Part" and PART ~= RootPart then
1196
				PART.Material = MATERIAL
1197
				PART.Transparency = TRANSPARENCY
1198
				PART.Name = NAME
1199
			end
1200
			if PART.Parent ~= PARENT then
1201
				Humanoid:remove()
1202
				PART.Parent = PARENT
1203
				Humanoid = IT("Humanoid",Character)
1204
			end
1205
		end
1206
	end
1207
end
1208
1209
1210
local Particle = IT("ParticleEmitter",nil)
1211
Particle.Enabled = false
1212
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1213
Particle.LightEmission = 0.5
1214
Particle.Rate = 150
1215
Particle.ZOffset = 0.2
1216
Particle.Rotation = NumberRange.new(-180, 180)
1217
Particle.RotSpeed = NumberRange.new(-180, 180)
1218
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1219
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
1220
1221
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1222
function ParticleEmitter(Table)
1223
	local PRTCL = Particle:Clone()
1224
	local Speed = Table.Speed or 5
1225
	local Drag = Table.Drag or 0
1226
	local Size1 = Table.Size1 or 1
1227
	local Size2 = Table.Size2 or 5
1228
	local Lifetime1 = Table.Lifetime1 or 1
1229
	local Lifetime2 = Table.Lifetime2 or 1.5
1230
	local Parent = Table.Parent or Torso
1231
	local Emit = Table.Emit or 100
1232
	local Offset = Table.Offset or 360
1233
	local Acel = Table.Acel or VT(0,0,0)
1234
	local Enabled = Table.Enabled or false
1235
	PRTCL.Parent = Parent
1236
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1237
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1238
	PRTCL.Speed = NumberRange.new(Speed)
1239
	PRTCL.VelocitySpread = Offset
1240
	PRTCL.Drag = Drag
1241
	PRTCL.Acceleration = Acel
1242
	if Enabled == false then
1243
		PRTCL:Emit(Emit)
1244
		Debris:AddItem(PRTCL,Lifetime2)
1245
	else
1246
		PRTCL.Enabled = true
1247
	end
1248
	return PRTCL
1249
end
1250
1251
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1252
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1253
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1254
MakeForm(Part,"Wedge")
1255
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1256
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1257
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1258
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1259
MakeForm(Part,"Cyl")
1260
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1261
for i = 1, 8 do
1262
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1263
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1264
end
1265
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1266
MakeForm(Part,"Wedge")
1267
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1268
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1269
MakeForm(Part,"Cyl")
1270
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1271
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1272
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1273
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1274
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1275
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
1276
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1277
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1278
MakeForm(RightBarrel,"Cyl")
1279
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1280
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1281
MakeForm(Part,"Wedge")
1282
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1283
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1284
MakeForm(RightHole,"Cyl")
1285
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
1286
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1287
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1288
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1289
MakeForm(Part,"Wedge")
1290
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1291
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1292
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1293
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1294
MakeForm(Part,"Cyl")
1295
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1296
for i = 1, 8 do
1297
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1298
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1299
end
1300
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1301
MakeForm(Part,"Wedge")
1302
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1303
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1304
MakeForm(Part,"Cyl")
1305
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1306
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1307
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1308
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1309
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1310
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
1311
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1312
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1313
MakeForm(LeftBarrel,"Cyl")
1314
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1315
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1316
MakeForm(Part,"Wedge")
1317
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1318
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1319
MakeForm(LeftHole,"Cyl")
1320
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1321
1322
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false)
1323
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1324
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1325
MakeForm(Part,"Wedge")
1326
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1327
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false)
1328
MakeForm(Part,"Wedge")
1329
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1330
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false)
1331
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1332
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1333
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1334
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1335
MakeForm(Part,"Cyl")
1336
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1337
for i = 1, 8 do
1338
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1339
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1340
end
1341
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false)
1342
MakeForm(Part,"Cyl")
1343
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1344
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false)
1345
MakeForm(Part,"Ball")
1346
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1347
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false)
1348
MakeForm(Part,"Wedge")
1349
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1350
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false)
1351
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1352
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false)
1353
MakeForm(Part,"Cyl")
1354
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1355
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false)
1356
MakeForm(Part,"Cyl")
1357
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1358
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false)
1359
MakeForm(Part,"Cyl")
1360
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1361
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1362
MakeForm(Part,"Wedge")
1363
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1364
local LASTPART = Handle
1365
for i = 1, 10 do
1366
	if LASTPART == Handle then
1367
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false)
1368
		LASTPART = Part
1369
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1370
	else
1371
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false)
1372
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1373
		LASTPART = Part
1374
	end
1375
end
1376
1377
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
1378
MakeForm(Barrel,"Cyl")
1379
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1380
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
1381
MakeForm(Part,"Cyl")
1382
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1383
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
1384
MakeForm(Part,"Wedge")
1385
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1386
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
1387
MakeForm(Hole,"Cyl")
1388
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1389
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
1390
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1391
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1392
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
1393
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1394
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1395
coroutine.resume(coroutine.create(function()
1396
	while wait() do
1397
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1398
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1399
	end
1400
end))
1401
1402
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1403
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1404
1405
for _, c in pairs(Weapon:GetDescendants()) do
1406
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1407
		c.Material = "Glass"
1408
		c.Color = C3(255, 0, 0)
1409
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1410
		c.Color = C3(0,1,0)
1411
		c.Material = "Neon"
1412
	end
1413
end
1414
1415
Weapon.Parent = Character
1416
for _, c in pairs(Weapon:GetChildren()) do
1417
	if c.ClassName == "Part" then
1418
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1419
	end
1420
end
1421
1422
local SKILLTEXTCOLOR = C3(17, 17, 17)
1423
local SKILLFONT = "Fantasy"
1424
local SKILLTEXTSIZE = 6
1425
1426
Humanoid.Died:connect(function()
1427
	refit()
1428
end)
1429
1430
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1431
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1432
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1433
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1434
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1435
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1436
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1437
1438
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] HELL Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
1439
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Ultimate_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
1440
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] UltimateHellbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1441
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1442
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] HELL Dash", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
1443
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] Pitiful", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1444
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1445
1446
function printbye(Name)
1447
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1448
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1449
end
1450
1451
workspace.ChildAdded:connect(function(instance)
1452
    for BANISH = 1, #TOBANISH do
1453
		if TOBANISH[BANISH] ~= nil then
1454
			if instance.Name == TOBANISH[BANISH] then
1455
				coroutine.resume(coroutine.create(function()
1456
					printbye(instance.Name)
1457
					instance:ClearAllChildren()
1458
					Debris:AddItem(instance,0.0005)
1459
				end))
1460
			end
1461
		end
1462
	end
1463
end)
1464
1465
--//=================================\\
1466
--||			DAMAGING
1467
--\\=================================//
1468
1469
function Kill(Char)
1470
	local NewCharacter = IT("Model",Effects)
1471
	NewCharacter.Name = "DEAD"
1472
	for _, c in pairs(Char:GetDescendants()) do
1473
		if c:IsA("BasePart") and c.Transparency == 0 then
1474
			if c.Parent == Char then
1475
				getbloody(c,5)
1476
			end
1477
			c:BreakJoints()
1478
			c.Material = "Glass"
1479
			c.Color = C3(0,1,0)
1480
			c.CanCollide = true
1481
			c.Transparency = 0.3
1482
			if c:FindFirstChildOfClass("SpecialMesh") then
1483
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1484
			end
1485
			if c.Name == "Head" then
1486
				c:ClearAllChildren()
1487
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1488
			end
1489
			if c.ClassName == "MeshPart" then
1490
				c.TextureID = ""
1491
			end
1492
			if c:FindFirstChildOfClass("BodyPosition") then
1493
				c:FindFirstChildOfClass("BodyPosition"):remove()
1494
			end
1495
			if c:FindFirstChildOfClass("ParticleEmitter") then
1496
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1497
			end
1498
			c.Parent = NewCharacter
1499
			c.Name = "DeadPart"
1500
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1501
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1502
		end
1503
	end
1504
	Char:remove()
1505
	Debris:AddItem(NewCharacter,5)
1506
end
1507
1508
function ApplyAoE(POSITION,RANGE,BRUTAL)
1509
	local CHILDREN = workspace:GetDescendants()
1510
	for index, CHILD in pairs(CHILDREN) do
1511
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1512
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1513
			if HUM then
1514
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1515
				if TORSO then
1516
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1517
						if BRUTAL == true then
1518
							Kill(CHILD)
1519
						else
1520
							CHILD:BreakJoints()
1521
						end
1522
					end
1523
				end
1524
			end
1525
		end
1526
	end
1527
end
1528
1529
function BulletDetection(FROM,TO,BRUTAL)
1530
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1531
	coroutine.resume(coroutine.create(function()
1532
		if AIMHIT ~= nil then
1533
			if AIMHIT.Parent ~= Character then
1534
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1535
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1536
						if BRUTAL == true then
1537
							Kill(AIMHIT.Parent)
1538
						else
1539
							getbloody(AIMHIT,15)
1540
							AIMHIT.Parent:BreakJoints()
1541
							if AIMHIT.Name == "Head" then
1542
								AIMHIT.Name = "HEADSHOT"
1543
								AIMHIT:remove()
1544
							end
1545
						end
1546
					else
1547
						if BRUTAL == true then
1548
							Kill(AIMHIT.Parent.Parent)
1549
						else
1550
							AIMHIT.Parent.Parent:BreakJoints()
1551
						end
1552
					end
1553
				end
1554
			end
1555
		end
1556
	end))
1557
	SpawnTrail(FROM,AIMPOS)
1558
	return AIMHIT,AIMPOS,NORMAL
1559
end
1560
1561
function Banish(Foe)
1562
	if Foe then
1563
		coroutine.resume(coroutine.create(function()
1564
			--if game.Players:FindFirstChild(Foe.Name) then
1565
				table.insert(TOBANISH,Foe.Name)
1566
				printbye(Foe.Name)
1567
			--end
1568
			Foe.Archivable = true
1569
			local CLONE = Foe:Clone()
1570
			Foe:Destroy()
1571
			CLONE.Parent = Effects
1572
			CLONE:BreakJoints()
1573
			local MATERIALS = {"Glass","Neon"}
1574
			for _, c in pairs(CLONE:GetDescendants()) do
1575
				if c:IsA("BasePart") then
1576
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1577
 						CreateSound(340722848, c, 10, 1, false)
1578
					end
1579
					c.Anchored = true
1580
					c.Transparency = c.Transparency + 0.2
1581
					c.Material = MATERIALS[MRANDOM(1,2)]
1582
					c.Color = C3(255, 0, 0)
1583
					if c.ClassName == "MeshPart" then
1584
						c.TextureID = ""
1585
					end
1586
					if c:FindFirstChildOfClass("SpecialMesh") then
1587
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1588
					end
1589
					if c:FindFirstChildOfClass("Decal") then
1590
						c:FindFirstChildOfClass("Decal"):remove()
1591
					end
1592
					c.Name = "Banished"
1593
					c.CanCollide = false
1594
				else
1595
					c:remove()
1596
				end
1597
			end
1598
			local A = false
1599
			for i = 1, 35 do
1600
				if A == false then
1601
					A = true
1602
				elseif A == true then
1603
					A = false
1604
				end
1605
				for _, c in pairs(CLONE:GetDescendants()) do
1606
					if c:IsA("BasePart") then
1607
						c.Anchored = true
1608
						c.Material = MATERIALS[MRANDOM(1,2)]
1609
						c.Transparency = c.Transparency + 0.8/35
1610
						if A == false then
1611
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1612
						elseif A == true then
1613
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1614
						end
1615
					end
1616
				end
1617
				Swait()
1618
			end
1619
			CLONE:remove()
1620
		end))
1621
	end
1622
end
1623
1624
function ApplyAoE(POSITION,RANGE,ISBANISH)
1625
	local CHILDREN = workspace:GetDescendants()
1626
	for index, CHILD in pairs(CHILDREN) do
1627
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1628
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1629
			if HUM then
1630
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1631
				if TORSO then
1632
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1633
						if ISBANISH == true then
1634
							Banish(CHILD)
1635
						else
1636
							if ISBANISH == "Gravity" then
1637
								HUM.PlatformStand = true
1638
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1639
									local grav = Instance.new("BodyPosition",TORSO)
1640
									grav.D = 15
1641
									grav.P = 20000
1642
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1643
									grav.position = TORSO.Position
1644
									grav.Name = "V3BanishForce"..Player.Name
1645
								else
1646
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1647
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1648
								end
1649
							else
1650
								HUM.PlatformStand = false
1651
							end
1652
						end
1653
					elseif ISBANISH == "Gravity" then
1654
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1655
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1656
							HUM.PlatformStand = false
1657
						end
1658
					end
1659
				end
1660
			end
1661
		end
1662
	end
1663
end
1664
1665
--//=================================\\
1666
--||	ATTACK FUNCTIONS AND STUFF
1667
--\\=================================//
1668
1669
function TakeOnMe()
1670
    Speed = 5
1671
    local MEME = CreateSound(288703954, Effects, 2, 1, false)
1672
    ATTACK = true
1673
    Rooted = false
1674
    local DANCE = true
1675
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1676
        if NEWKEY == "p" then
1677
            DANCE = false
1678
        end
1679
    end)
1680
    PLAYSONG = false
1681
    while true do
1682
        for i = 1, 15 do
1683
            Swait()
1684
            MEME.Parent = Effects
1685
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1686
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1687
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1688
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1689
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1690
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1691
        end
1692
        if DANCE == false then
1693
            break
1694
        end
1695
        for i = 1, 15 do
1696
            Swait()
1697
            MEME.Parent = Effects
1698
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1699
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1700
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1701
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1702
            RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1703
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1704
        end
1705
    end
1706
    PLAYSONG = true
1707
    KEY:Disconnect()
1708
    MEME:remove()
1709
    Speed = 25
1710
    ATTACK = false
1711
    Rooted = false
1712
end
1713
1714
function RTaunt()
1715
    ATTACK = true
1716
    Rooted = true
1717
    local TAUNT = CreateSound(907330011, Torso, 7, 1, false)
1718
    repeat
1719
        Swait()
1720
        TAUNT.Parent = Torso
1721
        TAUNT.Playing = true
1722
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1723
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1724
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1725
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1726
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1727
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1728
    until TAUNT.TimePosition >= 1.25
1729
    for i=0, 1.6, 0.1 / Animation_Speed do
1730
        Swait()
1731
        TAUNT.Parent = Torso
1732
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
1733
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1734
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1735
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1736
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1737
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1738
    end
1739
    ATTACK = false
1740
    Rooted = false
1741
end
1742
1743
function Morning_Star()
1744
	ATTACK = true
1745
	Rooted = true
1746
	for i=0, 1, 0.1 / Animation_Speed do
1747
		Swait()
1748
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1749
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1750
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1751
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1752
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1753
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1754
	end	
1755
	coroutine.resume(coroutine.create(function()
1756
		local POS = Mouse.Hit.p
1757
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
1758
		MakeForm(RAY,"Cyl")
1759
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
1760
		MakeForm(SPHERE,"Ball")
1761
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
1762
		MakeForm(SHIELD,"Ball")
1763
		SHIELD.CFrame = CF(POS)
1764
		RAY.CFrame = CF(POS)
1765
		SPHERE.CFrame = CF(POS)
1766
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1767
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1768
		for i = 1, 200 do
1769
			Swait()
1770
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1771
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1772
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
1773
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
1774
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1775
		end	
1776
		for i = 1, 45 do
1777
			Swait()
1778
			RAY.Transparency = RAY.Transparency + 1/45
1779
			SPHERE.Transparency = RAY.Transparency 
1780
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1781
		end
1782
		RAY:remove()
1783
		SHIELD:remove()
1784
		SPHERE:remove()
1785
	end))
1786
	for i=0, 1, 0.1 / Animation_Speed do
1787
		Swait()
1788
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
1789
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1790
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1791
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1792
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1793
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1794
	end
1795
	ATTACK = false
1796
	Rooted = false
1797
end
1798
1799
function Deathbound()
1800
	ATTACK = true
1801
	Rooted = true
1802
	for i=0, 1, 0.1 / Animation_Speed do
1803
		Swait()
1804
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1805
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1806
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1807
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1808
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1809
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1810
	end
1811
	local DONE = false
1812
	local GATE = nil
1813
	local GATESPIN = true
1814
	coroutine.resume(coroutine.create(function()
1815
		repeat
1816
			Swait()
1817
			if GATE ~= nil then
1818
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
1819
			end
1820
		until GATESPIN == false
1821
	end))
1822
	coroutine.resume(coroutine.create(function()
1823
		repeat
1824
			Swait()
1825
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
1826
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1827
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1828
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1829
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1830
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
		until DONE == true
1832
		Swait(50)
1833
		for i = 1, 35 do
1834
			Swait(4)
1835
			local FIRED = false
1836
			local CHILDREN = workspace:GetDescendants()
1837
			for index, CHILD in pairs(CHILDREN) do
1838
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1839
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1840
					if HUM then
1841
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1842
						if TORSO then
1843
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1844
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1845
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1846
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
1847
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1848
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1849
								Kill(CHILD)
1850
								FIRED = true
1851
								break
1852
							end
1853
						end
1854
					end
1855
				end
1856
			end
1857
			if FIRED == false then
1858
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1859
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
1860
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1861
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
1862
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1863
				if HITBOD ~= nil then
1864
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1865
						Kill(HITBOD.Parent)
1866
					end
1867
				end
1868
			end
1869
		end
1870
		for i = 1, 45 do
1871
			Swait()
1872
			GATE.Size = GATE.Size - VT(3,0,3)
1873
		end
1874
		GATESPIN = false
1875
		GATE:remove()
1876
	end))
1877
	Swait(15)
1878
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
1879
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
1880
	local DECAL = IT("Decal",GATE)
1881
	DECAL.Texture = "http://www.roblox.com/asset/?id=26356434"
1882
	DECAL.Face = "Top"
1883
	GATE.CFrame = CF(HITPOS)
1884
	CreateSound(160772554, GATE, 7, 1.3, false)
1885
	for i = 1, 45 do
1886
		Swait()
1887
		GATE.Size = GATE.Size + VT(3,0,3)
1888
	end
1889
	CreateSound(145080998, RightHole, 7, 1, false)
1890
	CreateSound(145080998, LeftHole, 7, 1, false)
1891
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1892
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1893
	ATTACK = false
1894
	Rooted = false
1895
	DONE = true
1896
end
1897
1898
function Dash()
1899
	ATTACK = true
1900
	Rooted = false
1901
	local TARGET = nil
1902
	local TORS = nil
1903
	local GYRO = IT("BodyGyro",RootPart)
1904
	GYRO.D = 175
1905
	GYRO.P = 20000
1906
	GYRO.MaxTorque = VT(0,40000,0)
1907
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1908
	local RANGE = 5
1909
	CreateSound(541909867, Torso, 7, 1, false)
1910
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1911
	for i=0, 1, 0.1 / Animation_Speed do
1912
		Swait()
1913
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
1914
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1915
		local CHILDREN = workspace:GetDescendants()
1916
		for index, CHILD in pairs(CHILDREN) do
1917
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1918
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1919
				if HUM then
1920
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1921
					if TORSO then
1922
						if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
1923
							RANGE = (TORSO.Position - LeftHole.Position).Magnitude
1924
							TARGET = HUM
1925
							TORS = TORSO
1926
						end
1927
					end
1928
				end
1929
			end
1930
		end
1931
		if TARGET then
1932
			break
1933
		end
1934
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
1935
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
1936
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1937
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1938
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1939
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1940
	end
1941
	GYRO:remove()
1942
	if TORS and TARGET then
1943
		Rooted = true
1944
		local BODYPOSITION = IT("BodyPosition", TORS)
1945
		BODYPOSITION.P = 2000
1946
		BODYPOSITION.D = 100
1947
		BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
1948
		for i=0, 1, 0.1 / Animation_Speed do
1949
			Swait()
1950
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
1951
			BODYPOSITION.Position = TORS.Position
1952
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
1953
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
1954
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1955
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1956
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1957
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1958
		end
1959
		for i=0, 0.4, 0.1 / Animation_Speed do
1960
			Swait()
1961
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
1962
			BODYPOSITION.Position = TORS.Position
1963
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
1964
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
1965
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1966
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1967
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1968
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1969
		end	
1970
		local LOOP = 0
1971
		local LOOP2 = 0
1972
		for i=0, 5, 0.1 / Animation_Speed do
1973
			Swait()
1974
			LOOP = LOOP + 1
1975
			TORS.Anchored = true
1976
			LOOP2 = LOOP2 + 1
1977
			if LOOP2 >= 5 then
1978
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1979
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1980
				CreateSound(145080998, RightHole, 7, 1, false)
1981
				SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
1982
				LOOP2 = 0
1983
				getbloody(TORS,1)
1984
			end
1985
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
1986
			BODYPOSITION.Position = TORS.Position
1987
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
1988
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
1989
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1990
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1991
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1992
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1993
		end	
1994
		BODYPOSITION:remove()
1995
		if TORS then
1996
			TORS.Anchored = false
1997
			Kill(TORS.Parent)
1998
		end
1999
	end
2000
	ATTACK = false
2001
	Rooted = false
2002
end
2003
2004
function Taunt()
2005
	ATTACK = true
2006
	Rooted = true
2007
	local TAUNT = CreateSound(907330011,Torso,10,1,false)
2008
	coroutine.resume(coroutine.create(function()
2009
		repeat
2010
			Swait()
2011
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2012
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2013
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2014
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2015
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2016
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2017
		until ATTACK == false
2018
	end))
2019
	repeat wait() until TAUNT.Playing == false
2020
	ATTACK = false
2021
	Rooted = false
2022
end
2023
2024
2025
function Debree(POS,SWAIT)
2026
	coroutine.resume(coroutine.create(function()
2027
		local HOLDER = IT("Model",Effects)
2028
		HOLDER.Name = "Debree"
2029
		local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2030
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2031
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2032
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2033
		repeat Swait() until HITFLOOR ~= nil
2034
		local O = 0
2035
		for i = 1, 18 do
2036
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2037
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2038
			O = O - (45/4)/5+i/4
2039
			coroutine.resume(coroutine.create(function()
2040
				Swait(SWAIT)
2041
				for i = 1, 60 do
2042
					Swait()
2043
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2044
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2045
				end
2046
				for i = 1, 50 do
2047
					Swait()
2048
					Part.Size = Part.Size * 0.9
2049
				end
2050
			end))
2051
		end
2052
		local O = 0
2053
		for i = 1, 18 do
2054
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2055
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2056
			O = O + (45/4)/5-i/4
2057
			coroutine.resume(coroutine.create(function()
2058
				Swait(SWAIT)
2059
				for i = 1, 60 do
2060
					Swait()
2061
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2062
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2063
				end
2064
				for i = 1, 50 do
2065
					Swait()
2066
					Part.Size = Part.Size * 0.9
2067
				end
2068
			end))
2069
		end
2070
		Swait(SWAIT+110)
2071
		HOLDER:remove()
2072
	end))
2073
end
2074
2075
2076
2077
2078
function WarpVector()
2079
	ATTACK = false
2080
	Rooted = true
2081
	
2082
	Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
2083
	UNANCHOR = false
2084
	
2085
	RootPart.Anchored = true
2086
	for i=0, 2, 0.1 / Animation_Speed do
2087
		Swait()
2088
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2089
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2090
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2091
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2092
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2093
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2094
	end
2095
2096
	local POS = RootPart.Position
2097
	RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
2098
	Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
2099
	for i=0, 2, 0.1 / Animation_Speed do
2100
		Swait()
2101
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2102
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2103
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2104
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2105
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2106
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2107
	end
2108
UNANCHOR = true
2109
	ATTACK = false
2110
	Rooted = false
2111
end
2112
2113
function Banisher_Bullet()
2114
	ATTACK = true
2115
	Rooted = false
2116
	for i=2, 2, 2 / Animation_Speed do
2117
		Swait()
2118
		turnto(Mouse.Hit.p)
2119
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2120
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2121
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2122
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2123
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2124
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2125
	end
2126
	repeat
2127
		for i=0, 0.2, 0.1 / Animation_Speed do
2128
			Swait()
2129
			turnto(Mouse.Hit.p)
2130
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2131
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2132
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2133
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2134
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2135
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2136
		end
2137
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2138
		SpawnTrail(Hole.Position,POS)
2139
		if HIT ~= nil then
2140
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2141
				Banish(HIT.Parent)
2142
			end
2143
		end
2144
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2145
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2146
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2147
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2148
		for i=0, 0.3, 0.1 / Animation_Speed do
2149
			Swait()
2150
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2151
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2152
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2153
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2154
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2155
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2156
		end
2157
	until KEYHOLD == false
2158
	ATTACK = false
2159
	Rooted = false
2160
end
2161
2162
function AttackTemplate()
2163
	ATTACK = true
2164
	Rooted = false
2165
	for i=0, 1, 0.1 / Animation_Speed do
2166
		Swait()
2167
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2168
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
2169
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2170
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2171
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2172
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2173
	end
2174
	ATTACK = false
2175
	Rooted = false
2176
end
2177
2178
--//=================================\\
2179
--||	  ASSIGN THINGS TO KEYS
2180
--\\=================================//
2181
function MouseDown(Mouse)
2182
	if ATTACK == false then
2183
	end
2184
end
2185
2186
function MouseUp(Mouse)
2187
HOLD = false
2188
end
2189
2190
function KeyDown(Key)
2191
	KEYHOLD = true
2192
	if Key == "z" and ATTACK == false then
2193
		Banisher_Bullet()
2194
	end
2195
2196
	if Key == "v" and ATTACK == false then
2197
                Morning_Star()
2198
	end
2199
2200
	if Key == "b" and ATTACK == false then
2201
                RTaunt()  
2202
	end  
2203
2204
	if Key == "n" and ATTACK == false then
2205
                TakeOnMe()  
2206
	end 
2207
2208
	if Key == "q" and ATTACK == false then
2209
                Dash()
2210
	end
2211
2212
	if Key == "t" and ATTACK == false then
2213
		Taunt()
2214
	end
2215
2216
	if Key == "x" and ATTACK == false then
2217
                Deathbound()  
2218
	end  
2219
2220
	if Key == "c" and ATTACK == false then
2221
		WarpVector()
2222
	end
2223
end
2224
2225
function KeyUp(Key)
2226
	KEYHOLD = false
2227
end
2228
2229
	Mouse.Button1Down:connect(function(NEWKEY)
2230
		MouseDown(NEWKEY)
2231
	end)
2232
	Mouse.Button1Up:connect(function(NEWKEY)
2233
		MouseUp(NEWKEY)
2234
	end)
2235
	Mouse.KeyDown:connect(function(NEWKEY)
2236
		KeyDown(NEWKEY)
2237
	end)
2238
	Mouse.KeyUp:connect(function(NEWKEY)
2239
		KeyUp(NEWKEY)
2240
	end)
2241
2242
--//=================================\\
2243
--\\=================================//
2244
2245
2246
function unanchor()
2247
	if UNANCHOR == true then
2248
		g = Character:GetChildren()
2249
		for i = 1, #g do
2250
			if g[i].ClassName == "Part" then
2251
				g[i].Anchored = false
2252
			end
2253
		end
2254
	end
2255
end
2256
2257
2258
--//=================================\\
2259
--||	WRAP THE WHOLE SCRIPT UP
2260
--\\=================================//
2261
2262
Humanoid.Changed:connect(function(Jump)
2263
	if Jump == "Jump" and (Disable_Jump == true) then
2264
		Humanoid.Jump = false
2265
	end
2266
end)
2267
2268
local CONNECT = nil
2269
2270
while true do
2271
	Swait()
2272
	ANIMATE.Parent = nil
2273
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2274
		Humanoid = IT("Humanoid",Character)
2275
	end
2276
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2277
	    v:Stop();
2278
	end
2279
	SINE = SINE + CHANGE
2280
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2281
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2282
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2283
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2284
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2285
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2286
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
2287
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2288
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2289
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2290
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2291
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2292
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2293
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2294
	end
2295
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2296
		ANIM = "Jump"
2297
		if ATTACK == false then
2298
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2299
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2300
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2301
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2302
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
2303
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2304
	    end
2305
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2306
		ANIM = "Fall"
2307
		if ATTACK == false then
2308
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2309
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2310
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2311
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2312
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2313
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
2314
		end
2315
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2316
		ANIM = "Idle"
2317
		if ATTACK == false then
2318
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
2319
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
2320
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2321
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
2322
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2323
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2324
		end
2325
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2326
		ANIM = "Walk"
2327
		if ATTACK == false then
2328
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2329
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2330
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2331
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2332
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2333
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2334
		end
2335
	end
2336
	unanchor()
2337
	Humanoid.MaxHealth = "inf"
2338
	Humanoid.Health = "inf"
2339
	if Rooted == false then
2340
		Disable_Jump = false
2341
		Humanoid.WalkSpeed = Speed
2342
	elseif Rooted == true then
2343
		Disable_Jump = true
2344
		Humanoid.WalkSpeed = 0
2345
	end
2346
	sick.Parent = Torso
2347
	sick:resume()
2348
	sick.Volume = 5
2349
	sick.Pitch = 1.1
2350
	sick.SoundId = "rbxassetid://1696854181"
2351
	sick.Name = "BanishV3Music"
2352
        end
2353
	if Head:FindFirstChild("face") then
2354
		Head.face.Texture = "rbxassetid://176217464"
2355
end
2356
2357
Humanoid.Changed:connect(function(Jump)
2358
	if Jump == "Jump" and (Disable_Jump == true) then
2359
		Humanoid.Jump = false
2360
	end
2361
end)
2362
2363
local BLINKLOOP = 0
2364
2365
while true do
2366
	Swait()
2367
	script.Parent = WEAPONGUI
2368
	ANIMATE.Parent = nil
2369
	Humanoid.Parent = Character
2370
	if Humanoid then
2371
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2372
		IDLEANIMATION:Play()
2373
	end
2374
	SINE = SINE + CHANGE
2375
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2376
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2377
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2378
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2379
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2380
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2381
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
2382
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2383
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2384
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2385
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2386
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2387
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2388
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2389
	end
2390
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2391
		ANIM = "Jump"
2392
		if ATTACK == false then
2393
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2394
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2395
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2396
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2397
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2398
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2399
	    end
2400
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2401
		ANIM = "Fall"
2402
		if ATTACK == false then
2403
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2404
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2405
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2406
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2407
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2408
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2409
		end
2410
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2411
		ANIM = "Idle"
2412
		if ATTACK == false then
2413
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
2414
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
2415
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2416
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2417
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2418
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2419
		end
2420
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2421
		ANIM = "Walk"
2422
		if ATTACK == false then
2423
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2424
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2425
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2426
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2427
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2428
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2429
		end
2430
	end
2431
	unanchor()
2432
	Humanoid.MaxHealth = "inf"
2433
	Humanoid.Health = "inf"
2434
	if Rooted == false then
2435
		Disable_Jump = false
2436
		Humanoid.WalkSpeed = Speed
2437
	elseif Rooted == true then
2438
		Disable_Jump = true
2439
		Humanoid.WalkSpeed = 0
2440
	end
2441
	sick.SoundId = "rbxassetid://1696854181"
2442
	sick.Looped = true
2443
	sick.Pitch = 1.1
2444
	sick.Volume = 5
2445
	sick.Playing = true
2446
	sick.Parent = Torso
2447
	if Head:FindFirstChild("face") then
2448
		Head.face.Texture = "rbxassetid://404306534"
2449
	end
2450
	BLINKLOOP = BLINKLOOP + 1
2451
	if BLINKLOOP >=650 then
2452
		BLINKLOOP = 0
2453
		Blink()
2454
	end
2455
	if #GHOSTS>0 then
2456
		for e=1,#GHOSTS do
2457
			if GHOSTS[e]~=nil then
2458
				local Thing=GHOSTS[e]
2459
				if Thing~=nil then
2460
					if Thing:FindFirstChild("Head") then
2461
						if Thing:FindFirstChild("Head"):FindFirstChild("face") then
2462
							Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
2463
						end
2464
						if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
2465
							Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
2466
						end
2467
					end
2468
					local TORSO = Thing:FindFirstChild("Torso")
2469
					if TORSO then
2470
						TORSO.Anchored = false
2471
						local ROOT = Thing.HumanoidRootPart
2472
						local RootJoint1 = ROOT:FindFirstChild("RootJoint")
2473
						local Neck1 = TORSO:FindFirstChild("Neck")
2474
						local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
2475
						local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
2476
						local RightHip1 = TORSO:FindFirstChild("Right Hip")
2477
						local LeftHip1 = TORSO:FindFirstChild("Left Hip")
2478
						if ROOT and RootJoint1 then
2479
							local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
2480
							if VELOCITY < 1 then
2481
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2482
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2483
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2484
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2485
								RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
2486
								LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
2487
							elseif VELOCITY > 1 then
2488
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2489
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2490
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2491
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2492
								RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0))
2493
								LeftHip1.C0 = CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0))
2494
							end
2495
						end
2496
						local Human = Thing.Humanoid
2497
						if Human then
2498
							Human.HipHeight = 0.3
2499
							for _, c in pairs(Thing:GetChildren()) do
2500
								if c.ClassName == "Part" and c.Transparency < 1 then
2501
									c.Color = C3(0,0,0)
2502
									c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
2503
								elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
2504
									c:remove()
2505
								end
2506
							end
2507
							if Human then
2508
								local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
2509
								IDLEANIMATION:Play()
2510
							end
2511
							local list = game.Workspace:children()
2512
							local torso = nil
2513
							local dist = 50
2514
							local temp = nil
2515
							local human = nil
2516
							local temp2 = nil
2517
							local OwnerInDanger = false
2518
							for x = 1, #list do
2519
								temp2 = list[x]
2520
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2521
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2522
									human = temp2:findFirstChildOfClass("Humanoid")
2523
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2524
										if (temp.Position - Torso.Position).magnitude < 15 then
2525
											OwnerInDanger = true
2526
											newdist = (temp.Position - TORSO.Position).magnitude
2527
											dist = (Torso.Position - temp.Position).magnitude
2528
											Human:MoveTo(temp.Position)
2529
											torso = temp
2530
											if newdist < 7 then
2531
												torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
2532
												CreateSound(814168787, temp, 1, 2, false)
2533
												ApplyDamage(human,MRANDOM(15,35),temp)
2534
												WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2535
												WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2536
											end
2537
										end
2538
									end
2539
								end
2540
							end
2541
							if OwnerInDanger == false then
2542
								for x = 1, #list do
2543
									temp2 = list[x]
2544
									if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2545
										temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2546
										human = temp2:findFirstChildOfClass("Humanoid")
2547
										if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2548
											if (temp.Position - Torso.Position).magnitude < dist then
2549
												newdist = (temp.Position - TORSO.Position).magnitude
2550
												Human:MoveTo(temp.Position)
2551
												torso = temp
2552
												if newdist < 15 then
2553
													if MRANDOM(1,35) == 1 then
2554
														CreateSound(438665935, temp, 1, 3, false)
2555
														ApplyDamage(human,MRANDOM(2,20),temp)
2556
														WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2557
													end
2558
												end
2559
											end
2560
										end
2561
									end
2562
								end
2563
							end
2564
							if torso == nil then
2565
								Human.WalkSpeed = Speed -0.2
2566
								if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
2567
									Human:MoveTo(TORSO.Position)
2568
								elseif (Torso.Position - TORSO.Position).magnitude > 15 then
2569
									Human:MoveTo(Torso.Position)
2570
								elseif (Torso.Position - TORSO.Position).magnitude < 11 then
2571
									Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
2572
								end
2573
							else
2574
								if OwnerInDanger == false then
2575
									Human.WalkSpeed = Speed*1.2
2576
								else
2577
									Human.WalkSpeed = Speed*5
2578
								end
2579
							end
2580
							if Human.Health == 0 then
2581
								Thing:remove()
2582
								table.remove(GHOSTS,e)
2583
							else
2584
								Human.Health = Human.Health + 0.5
2585
							end
2586
						else
2587
							Thing:remove()
2588
							table.remove(GHOSTS,e)
2589
						end
2590
					else
2591
						Thing:remove()
2592
						table.remove(GHOSTS,e)
2593
					end
2594
				end
2595
			end
2596
		end
2597
	end
2598
	refit()
2599
end
2600
2601
--//=================================\\
2602
--\\=================================//
2603
2604
2605
2606
2607
2608
--//====================================================\\--
2609
--||			  		 END OF SCRIPT
2610
--\\====================================================//--