View difference between Paste ID: Vwbhvx9J and deenG5ve
SHOW: | | - or go back to the newest paste.
1
-----------------------
2
--[[ Name : Ņ̢̨͢͟ó͢ ̧͢ơ̶̶̶̢n͜͏ę̶̡͠'͏́́͞҉ş̨͏ ͜a͝҉r̵̷̛̛͟o̶̡͟͝ų̶̸̵͝ń͡͡͏̷d̀͜͟ ̵̡́́͜t̡̀͘o͏̀̕͡ ͢h͠͏e̵͢͜ļ̡͢͡ṕ̛͏.̷̧̨ ]]--
3
-------------------------------------------------------
4
--A script By makhail07
5
6
--Discord Creterisk#2958 
7
8
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
9
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
10
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
11
--YOU FUCKING SKIDS,
12
--For Those who log/decompile this, If you sell or trade this,
13
--and I find out who you are, i will take massive action.
14
-------------------------------------------------------
15
16
local FavIDs = {
17
	640647817, --Nefl Crystals
18
	640647817, --Dimension
19
	640647817, --Fantasy
20
	640647817, --Ordinary Days
21
	640647817, --Oh wait, it's you.
22
	640647817, --Action Winter Journey
23
	640647817, --Sprawling Idiot Effigy
24
	640647817, --Good Day Sunshine
25
	640647817, --Knife Fight
26
	640647817, --The Earth Is Counting On You!
27
	640647817--Robot Language
28
	}
29
30
31
32
--The reality of my life isn't real but a Universe -makhail07
33
wait()
34
local plr = game:service'Players'.LocalPlayer
35
print('Local User is '..plr.Name)
36
local char = plr.Character
37
local hum = char.Humanoid
38
local hed = char.Head
39
local root = char.HumanoidRootPart
40
local rootj = root.RootJoint
41
local tors = char.Torso
42
local ra = char["Right Arm"]
43
local la = char["Left Arm"]
44
local rl = char["Right Leg"]
45
local ll = char["Left Leg"]
46
local neck = tors["Neck"]
47
local mouse = plr:GetMouse()
48
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
49
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
50
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
51
local maincolor = BrickColor.new("Institutional white")
52
53
-------------------------------------------------------
54
--Start Good Stuff--
55
-------------------------------------------------------
56
cam = game.Workspace.CurrentCamera
57
CF = CFrame.new
58
angles = CFrame.Angles
59
attack = false
60
Euler = CFrame.fromEulerAnglesXYZ
61
Rad = math.rad
62
IT = Instance.new
63
BrickC = BrickColor.new
64
Cos = math.cos
65
Acos = math.acos
66
Sin = math.sin
67
Asin = math.asin
68
Abs = math.abs
69
Mrandom = math.random
70
Floor = math.floor
71
-------------------------------------------------------
72
--End Good Stuff--
73
-------------------------------------------------------
74
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
75
RSH, LSH = nil, nil 
76
RW = Instance.new("Weld") 
77
LW = Instance.new("Weld")
78
RH = tors["Right Hip"]
79
LH = tors["Left Hip"]
80
RSH = tors["Right Shoulder"] 
81
LSH = tors["Left Shoulder"] 
82
RSH.Parent = nil 
83
LSH.Parent = nil 
84
RW.Name = "RW"
85
RW.Part0 = tors 
86
RW.C0 = CF(1.5, 0.5, 0)
87
RW.C1 = CF(0, 0.5, 0) 
88
RW.Part1 = ra
89
RW.Parent = tors 
90
LW.Name = "LW"
91
LW.Part0 = tors 
92
LW.C0 = CF(-1.5, 0.5, 0)
93
LW.C1 = CF(0, 0.5, 0) 
94
LW.Part1 = la
95
LW.Parent = tors
96
Effects = {}
97
-------------------------------------------------------
98
--Start HeartBeat--
99
-------------------------------------------------------
100
ArtificialHB = Instance.new("BindableEvent", script)
101
ArtificialHB.Name = "Heartbeat"
102
script:WaitForChild("Heartbeat")
103
104
frame = 1 / 60
105
tf = 0
106
allowframeloss = false
107
tossremainder = false
108
109
110
lastframe = tick()
111
script.Heartbeat:Fire()
112
113
114
game:GetService("RunService").Heartbeat:connect(function(s, p)
115
	tf = tf + s
116
	if tf >= frame then
117
		if allowframeloss then
118
			script.Heartbeat:Fire()
119
			lastframe = tick()
120
		else
121
			for i = 1, math.floor(tf / frame) do
122
				script.Heartbeat:Fire()
123
			end
124
			lastframe = tick()
125
		end
126
		if tossremainder then
127
			tf = 0
128
		else
129
			tf = tf - frame * math.floor(tf / frame)
130
		end
131
	end
132
end)
133
-------------------------------------------------------
134
--End HeartBeat--
135
-------------------------------------------------------
136
137
-------------------------------------------------------
138
--Start Important Functions--
139
-------------------------------------------------------
140
function swait(num)
141
	if num == 0 or num == nil then
142
		game:service("RunService").Stepped:wait(0)
143
	else
144
		for i = 0, num do
145
			game:service("RunService").Stepped:wait(0)
146
		end
147
	end
148
end
149
function thread(f)
150
	coroutine.resume(coroutine.create(f))
151
end
152
function clerp(a, b, t)
153
	local qa = {
154
		QuaternionFromCFrame(a)
155
	}
156
	local qb = {
157
		QuaternionFromCFrame(b)
158
	}
159
	local ax, ay, az = a.x, a.y, a.z
160
	local bx, by, bz = b.x, b.y, b.z
161
	local _t = 1 - t
162
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
163
end
164
function QuaternionFromCFrame(cf)
165
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
166
	local trace = m00 + m11 + m22
167
	if trace > 0 then
168
		local s = math.sqrt(1 + trace)
169
		local recip = 0.5 / s
170
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
171
	else
172
		local i = 0
173
		if m00 < m11 then
174
			i = 1
175
		end
176
		if m22 > (i == 0 and m00 or m11) then
177
			i = 2
178
		end
179
		if i == 0 then
180
			local s = math.sqrt(m00 - m11 - m22 + 1)
181
			local recip = 0.5 / s
182
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
183
		elseif i == 1 then
184
			local s = math.sqrt(m11 - m22 - m00 + 1)
185
			local recip = 0.5 / s
186
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
187
		elseif i == 2 then
188
			local s = math.sqrt(m22 - m00 - m11 + 1)
189
			local recip = 0.5 / s
190
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
191
		end
192
	end
193
end
194
function QuaternionToCFrame(px, py, pz, x, y, z, w)
195
	local xs, ys, zs = x + x, y + y, z + z
196
	local wx, wy, wz = w * xs, w * ys, w * zs
197
	local xx = x * xs
198
	local xy = x * ys
199
	local xz = x * zs
200
	local yy = y * ys
201
	local yz = y * zs
202
	local zz = z * zs
203
	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))
204
end
205
function QuaternionSlerp(a, b, t)
206
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
207
	local startInterp, finishInterp
208
	if cosTheta >= 1.0E-4 then
209
		if 1 - cosTheta > 1.0E-4 then
210
			local theta = math.acos(cosTheta)
211
			local invSinTheta = 1 / Sin(theta)
212
			startInterp = Sin((1 - t) * theta) * invSinTheta
213
			finishInterp = Sin(t * theta) * invSinTheta
214
		else
215
			startInterp = 1 - t
216
			finishInterp = t
217
		end
218
	elseif 1 + cosTheta > 1.0E-4 then
219
		local theta = math.acos(-cosTheta)
220
		local invSinTheta = 1 / Sin(theta)
221
		startInterp = Sin((t - 1) * theta) * invSinTheta
222
		finishInterp = Sin(t * theta) * invSinTheta
223
	else
224
		startInterp = t - 1
225
		finishInterp = t
226
	end
227
	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
228
end
229
function rayCast(Position, Direction, Range, Ignore)
230
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
231
end
232
local RbxUtility = LoadLibrary("RbxUtility")
233
local Create = RbxUtility.Create
234
235
-------------------------------------------------------
236
--Start Damage Function--
237
-------------------------------------------------------
238
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
239
	if hit.Parent == nil then
240
		return
241
	end
242
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
243
	for _, v in pairs(hit.Parent:children()) do
244
		if v:IsA("Humanoid") then
245
			h = v
246
		end
247
	end
248
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
249
	
250
         hit.Parent:FindFirstChild("Head"):BreakJoints()
251
         end
252
253
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
254
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
255
			if hit.Parent.DebounceHit.Value == true then
256
				return
257
			end
258
		end
259
         if insta == true then
260
         hit.Parent:FindFirstChild("Head"):BreakJoints()
261
         end
262
		local c = Create("ObjectValue"){
263
			Name = "creator",
264
			Value = game:service("Players").LocalPlayer,
265
			Parent = h,
266
		}
267
		game:GetService("Debris"):AddItem(c, .5)
268
		if HitSound ~= nil and HitPitch ~= nil then
269
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
270
		end
271
		local Damage = math.random(minim, maxim)
272
		local blocked = false
273
		local block = hit.Parent:findFirstChild("Block")
274
		if block ~= nil then
275
			if block.className == "IntValue" then
276
				if block.Value > 0 then
277
					blocked = true
278
					block.Value = block.Value - 1
279
					print(block.Value)
280
				end
281
			end
282
		end
283
		if blocked == false then
284
			h.Health = h.Health - Damage
285
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
286
		else
287
			h.Health = h.Health - (Damage / 2)
288
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
289
		end
290
		if Type == "Knockdown" then
291
			local hum = hit.Parent.Humanoid
292
			hum.PlatformStand = true
293
			coroutine.resume(coroutine.create(function(HHumanoid)
294
				swait(1)
295
				HHumanoid.PlatformStand = false
296
			end), hum)
297
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
298
			local bodvol = Create("BodyVelocity"){
299
				velocity = angle * knockback,
300
				P = 5000,
301
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
302
				Parent = hit,
303
			}
304
			local rl = Create("BodyAngularVelocity"){
305
				P = 3000,
306
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
307
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
308
				Parent = hit,
309
			}
310
			game:GetService("Debris"):AddItem(bodvol, .5)
311
			game:GetService("Debris"):AddItem(rl, .5)
312
		elseif Type == "Normal" then
313
			local vp = Create("BodyVelocity"){
314
				P = 500,
315
				maxForce = Vector3.new(math.huge, 0, math.huge),
316
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
317
			}
318
			if knockback > 0 then
319
				vp.Parent = hit.Parent.Torso
320
			end
321
			game:GetService("Debris"):AddItem(vp, .5)
322
		elseif Type == "Up" then
323
			local bodyVelocity = Create("BodyVelocity"){
324
				velocity = Vector3.new(0, 20, 0),
325
				P = 5000,
326
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
327
				Parent = hit,
328
			}
329
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
330
		elseif Type == "DarkUp" then
331
			coroutine.resume(coroutine.create(function()
332
				for i = 0, 1, 0.1 do
333
					swait()
334
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
335
				end
336
			end))
337
			local bodyVelocity = Create("BodyVelocity"){
338
				velocity = Vector3.new(0, 20, 0),
339
				P = 5000,
340
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
341
				Parent = hit,
342
			}
343
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
344
		elseif Type == "Snare" then
345
			local bp = Create("BodyPosition"){
346
				P = 2000,
347
				D = 100,
348
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
349
				position = hit.Parent.Torso.Position,
350
				Parent = hit.Parent.Torso,
351
			}
352
			game:GetService("Debris"):AddItem(bp, 1)
353
		elseif Type == "Freeze" then
354
			local BodPos = Create("BodyPosition"){
355
				P = 50000,
356
				D = 1000,
357
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
358
				position = hit.Parent.Torso.Position,
359
				Parent = hit.Parent.Torso,
360
			}
361
			local BodGy = Create("BodyGyro") {
362
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
363
				P = 20e+003,
364
				Parent = hit.Parent.Torso,
365
				cframe = hit.Parent.Torso.CFrame,
366
			}
367
			hit.Parent.Torso.Anchored = true
368
			coroutine.resume(coroutine.create(function(Part) 
369
				swait(1.5)
370
				Part.Anchored = false
371
			end), hit.Parent.Torso)
372
			game:GetService("Debris"):AddItem(BodPos, 3)
373
			game:GetService("Debris"):AddItem(BodGy, 3)
374
		end
375
		local debounce = Create("BoolValue"){
376
			Name = "DebounceHit",
377
			Parent = hit.Parent,
378
			Value = true,
379
		}
380
		game:GetService("Debris"):AddItem(debounce, Delay)
381
		c = Create("ObjectValue"){
382
			Name = "creator",
383
			Value = Player,
384
			Parent = h,
385
		}
386
		game:GetService("Debris"):AddItem(c, .5)
387
	end
388
end
389
-------------------------------------------------------
390
--End Damage Function--
391
-------------------------------------------------------
392
393
-------------------------------------------------------
394
--Start Damage Function Customization--
395
-------------------------------------------------------
396
function ShowDamage(Pos, Text, Time, Color)
397
	local Rate = (1 / 30)
398
	local Pos = (Pos or Vector3.new(0, 0, 0))
399
	local Text = (Text or "")
400
	local Time = (Time or 2)
401
	local Color = (Color or Color3.new(1, 0, 1))
402
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
403
	EffectPart.Anchored = true
404
	local BillboardGui = Create("BillboardGui"){
405
		Size = UDim2.new(3, 0, 3, 0),
406
		Adornee = EffectPart,
407
		Parent = EffectPart,
408
	}
409
	local TextLabel = Create("TextLabel"){
410
		BackgroundTransparency = 1,
411
		Size = UDim2.new(1, 0, 1, 0),
412
		Text = Text,
413
		Font = "Bodoni",
414
		TextColor3 = Color,
415
		TextScaled = true,
416
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
417
		Parent = BillboardGui,
418
	}
419
	game.Debris:AddItem(EffectPart, (Time))
420
	EffectPart.Parent = game:GetService("Workspace")
421
	delay(0, function()
422
		local Frames = (Time / Rate)
423
		for Frame = 1, Frames do
424
			wait(Rate)
425
			local Percent = (Frame / Frames)
426
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
427
			TextLabel.TextTransparency = Percent
428
		end
429
		if EffectPart and EffectPart.Parent then
430
			EffectPart:Destroy()
431
		end
432
	end)
433
end
434
-------------------------------------------------------
435
--End Damage Function Customization--
436
-------------------------------------------------------
437
438
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
439
  for _, c in pairs(workspace:children()) do
440
    local hum = c:findFirstChild("Humanoid")
441
    if hum ~= nil then
442
      local head = c:findFirstChild("Head")
443
      if head ~= nil then
444
        local targ = head.Position - Part.Position
445
        local mag = targ.magnitude
446
        if magni >= mag and c.Name ~= plr.Name then
447
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
448
        end
449
      end
450
    end
451
  end
452
end
453
454
455
CFuncs = {
456
	Part = {
457
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
458
			local Part = Create("Part")({
459
				Parent = Parent,
460
				Reflectance = Reflectance,
461
				Transparency = Transparency,
462
				CanCollide = false,
463
				Locked = true,
464
				BrickColor = BrickColor.new(tostring(BColor)),
465
				Name = Name,
466
				Size = Size,
467
				Material = Material
468
			})
469
			RemoveOutlines(Part)
470
			return Part
471
		end
472
	},
473
	Mesh = {
474
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
475
			local Msh = Create(Mesh)({
476
				Parent = Part,
477
				Offset = OffSet,
478
				Scale = Scale
479
			})
480
			if Mesh == "SpecialMesh" then
481
				Msh.MeshType = MeshType
482
				Msh.MeshId = MeshId
483
			end
484
			return Msh
485
		end
486
	},
487
	Mesh = {
488
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
489
			local Msh = Create(Mesh)({
490
				Parent = Part,
491
				Offset = OffSet,
492
				Scale = Scale
493
			})
494
			if Mesh == "SpecialMesh" then
495
				Msh.MeshType = MeshType
496
				Msh.MeshId = MeshId
497
			end
498
			return Msh
499
		end
500
	},
501
	Weld = {
502
		Create = function(Parent, Part0, Part1, C0, C1)
503
			local Weld = Create("Weld")({
504
				Parent = Parent,
505
				Part0 = Part0,
506
				Part1 = Part1,
507
				C0 = C0,
508
				C1 = C1
509
			})
510
			return Weld
511
		end
512
	},
513
	Sound = {
514
		Create = function(id, par, vol, pit)
515
			coroutine.resume(coroutine.create(function()
516
				local S = Create("Sound")({
517
					Volume = vol,
518
					Pitch = pit or 1,
519
					SoundId = id,
520
					Parent = par or workspace
521
				})
522
				wait()
523
				S:play()
524
				game:GetService("Debris"):AddItem(S, 6)
525
			end))
526
		end
527
	},
528
	ParticleEmitter = {
529
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
530
			local fp = Create("ParticleEmitter")({
531
				Parent = Parent,
532
				Color = ColorSequence.new(Color1, Color2),
533
				LightEmission = LightEmission,
534
				Size = Size,
535
				Texture = Texture,
536
				Transparency = Transparency,
537
				ZOffset = ZOffset,
538
				Acceleration = Accel,
539
				Drag = Drag,
540
				LockedToPart = LockedToPart,
541
				VelocityInheritance = VelocityInheritance,
542
				EmissionDirection = EmissionDirection,
543
				Enabled = Enabled,
544
				Lifetime = LifeTime,
545
				Rate = Rate,
546
				Rotation = Rotation,
547
				RotSpeed = RotSpeed,
548
				Speed = Speed,
549
				VelocitySpread = VelocitySpread
550
			})
551
			return fp
552
		end
553
	}
554
}
555
function RemoveOutlines(part)
556
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
557
end
558
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
559
	local Part = Create("Part")({
560
		formFactor = FormFactor,
561
		Parent = Parent,
562
		Reflectance = Reflectance,
563
		Transparency = Transparency,
564
		CanCollide = false,
565
		Locked = true,
566
		BrickColor = BrickColor.new(tostring(BColor)),
567
		Name = Name,
568
		Size = Size,
569
		Material = Material
570
	})
571
	RemoveOutlines(Part)
572
	return Part
573
end
574
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
575
	local Msh = Create(Mesh)({
576
		Parent = Part,
577
		Offset = OffSet,
578
		Scale = Scale
579
	})
580
	if Mesh == "SpecialMesh" then
581
		Msh.MeshType = MeshType
582
		Msh.MeshId = MeshId
583
	end
584
	return Msh
585
end
586
function CreateWeld(Parent, Part0, Part1, C0, C1)
587
	local Weld = Create("Weld")({
588
		Parent = Parent,
589
		Part0 = Part0,
590
		Part1 = Part1,
591
		C0 = C0,
592
		C1 = C1
593
	})
594
	return Weld
595
end
596
597
598
-------------------------------------------------------
599
--Start Effect Function--
600
-------------------------------------------------------
601
EffectModel = Instance.new("Model", char)
602
Effects = {
603
  Block = {
604
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
605
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
606
      prt.Anchored = true
607
      prt.CFrame = cframe
608
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
609
      game:GetService("Debris"):AddItem(prt, 10)
610
      if Type == 1 or Type == nil then
611
        table.insert(Effects, {
612
          prt,
613
          "Block1",
614
          delay,
615
          x3,
616
          y3,
617
          z3,
618
          msh
619
        })
620
      elseif Type == 2 then
621
        table.insert(Effects, {
622
          prt,
623
          "Block2",
624
          delay,
625
          x3,
626
          y3,
627
          z3,
628
          msh
629
        })
630
      else
631
        table.insert(Effects, {
632
          prt,
633
          "Block3",
634
          delay,
635
          x3,
636
          y3,
637
          z3,
638
          msh
639
        })
640
      end
641
    end
642
  },
643
  Sphere = {
644
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
645
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
646
      prt.Anchored = true
647
      prt.CFrame = cframe
648
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
649
      game:GetService("Debris"):AddItem(prt, 10)
650
      table.insert(Effects, {
651
        prt,
652
        "Cylinder",
653
        delay,
654
        x3,
655
        y3,
656
        z3,
657
        msh
658
      })
659
    end
660
  },
661
  Cylinder = {
662
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
663
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
664
      prt.Anchored = true
665
      prt.CFrame = cframe
666
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
667
      game:GetService("Debris"):AddItem(prt, 10)
668
      table.insert(Effects, {
669
        prt,
670
        "Cylinder",
671
        delay,
672
        x3,
673
        y3,
674
        z3,
675
        msh
676
      })
677
    end
678
  },
679
  Wave = {
680
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
681
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
682
      prt.Anchored = true
683
      prt.CFrame = cframe
684
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
685
      game:GetService("Debris"):AddItem(prt, 10)
686
      table.insert(Effects, {
687
        prt,
688
        "Cylinder",
689
        delay,
690
        x3 / 60,
691
        y3 / 60,
692
        z3 / 60,
693
        msh
694
      })
695
    end
696
  },
697
  Ring = {
698
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
699
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
700
      prt.Anchored = true
701
      prt.CFrame = cframe
702
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
703
      game:GetService("Debris"):AddItem(prt, 10)
704
      table.insert(Effects, {
705
        prt,
706
        "Cylinder",
707
        delay,
708
        x3,
709
        y3,
710
        z3,
711
        msh
712
      })
713
    end
714
  },
715
  Break = {
716
    Create = function(brickcolor, cframe, x1, y1, z1)
717
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
718
      prt.Anchored = true
719
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
720
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
721
      local num = math.random(10, 50) / 1000
722
      game:GetService("Debris"):AddItem(prt, 10)
723
      table.insert(Effects, {
724
        prt,
725
        "Shatter",
726
        num,
727
        prt.CFrame,
728
        math.random() - math.random(),
729
        0,
730
        math.random(50, 100) / 100
731
      })
732
    end
733
  },
734
Spiral = {
735
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
736
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
737
      prt.Anchored = true
738
      prt.CFrame = cframe
739
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
740
      game:GetService("Debris"):AddItem(prt, 10)
741
      table.insert(Effects, {
742
        prt,
743
        "Cylinder",
744
        delay,
745
        x3,
746
        y3,
747
        z3,
748
        msh
749
      })
750
    end
751
  },
752
Push = {
753
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
754
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
755
      prt.Anchored = true
756
      prt.CFrame = cframe
757
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
758
      game:GetService("Debris"):AddItem(prt, 10)
759
      table.insert(Effects, {
760
        prt,
761
        "Cylinder",
762
        delay,
763
        x3,
764
        y3,
765
        z3,
766
        msh
767
      })
768
    end
769
  }
770
}
771
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
772
	local fp = IT("Part")
773
	fp.formFactor = formfactor 
774
	fp.Parent = parent
775
	fp.Reflectance = reflectance
776
	fp.Transparency = transparency
777
	fp.CanCollide = false 
778
	fp.Locked = true
779
	fp.BrickColor = brickcolor
780
	fp.Name = name
781
	fp.Size = size
782
	fp.Position = tors.Position 
783
	RemoveOutlines(fp)
784
	fp.Material = "SmoothPlastic"
785
	fp:BreakJoints()
786
	return fp 
787
end 
788
 
789
function mesh(Mesh,part,meshtype,meshid,offset,scale)
790
	local mesh = IT(Mesh) 
791
	mesh.Parent = part
792
	if Mesh == "SpecialMesh" then
793
		mesh.MeshType = meshtype
794
	if meshid ~= "nil" then
795
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
796
		end
797
	end
798
	mesh.Offset = offset
799
	mesh.Scale = scale
800
	return mesh
801
end
802
803
function Magic(bonuspeed, type, pos, scale, value, color, MType)
804
	local type = type
805
	local rng = Instance.new("Part", char)
806
	rng.Anchored = true
807
	rng.BrickColor = color
808
	rng.CanCollide = false
809
	rng.FormFactor = 3
810
	rng.Name = "Ring"
811
	rng.Material = "Neon"
812
	rng.Size = Vector3.new(1, 1, 1)
813
	rng.Transparency = 0
814
	rng.TopSurface = 0
815
	rng.BottomSurface = 0
816
	rng.CFrame = pos
817
	local rngm = Instance.new("SpecialMesh", rng)
818
	rngm.MeshType = MType
819
	rngm.Scale = scale
820
	local scaler2 = 1
821
	if type == "Add" then
822
		scaler2 = 1 * value
823
	elseif type == "Divide" then
824
		scaler2 = 1 / value
825
	end
826
	coroutine.resume(coroutine.create(function()
827
		for i = 0, 10 / bonuspeed, 0.1 do
828
			swait()
829
			if type == "Add" then
830
				scaler2 = scaler2 - 0.01 * value / bonuspeed
831
			elseif type == "Divide" then
832
				scaler2 = scaler2 - 0.01 / value * bonuspeed
833
			end
834
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
835
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
836
		end
837
		rng:Destroy()
838
	end))
839
end
840
841
function Eviscerate(dude)
842
	if dude.Name ~= char then
843
		local bgf = IT("BodyGyro", dude.Head)
844
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
845
		local val = IT("BoolValue", dude)
846
		val.Name = "IsHit"
847
		local ds = coroutine.wrap(function()
848
			dude:WaitForChild("Head"):BreakJoints()
849
			wait(0.5)
850
			target = nil
851
			coroutine.resume(coroutine.create(function()
852
				for i, v in pairs(dude:GetChildren()) do
853
					if v:IsA("Accessory") then
854
						v:Destroy()
855
					end
856
					if v:IsA("Humanoid") then
857
						v:Destroy()
858
					end
859
					if v:IsA("CharacterMesh") then
860
						v:Destroy()
861
					end
862
					if v:IsA("Model") then
863
						v:Destroy()
864
					end
865
					if v:IsA("Part") or v:IsA("MeshPart") then
866
						for x, o in pairs(v:GetChildren()) do
867
							if o:IsA("Decal") then
868
								o:Destroy()
869
							end
870
						end
871
						coroutine.resume(coroutine.create(function()
872
							v.Material = "Neon"
873
							v.CanCollide = false
874
							local PartEmmit1 = IT("ParticleEmitter", v)
875
							PartEmmit1.LightEmission = 1
876
							PartEmmit1.Texture = "rbxassetid://284205403"
877
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
878
							PartEmmit1.Rate = 150
879
							PartEmmit1.Lifetime = NumberRange.new(1)
880
							PartEmmit1.Size = NumberSequence.new({
881
								NumberSequenceKeypoint.new(0, 0.75, 0),
882
								NumberSequenceKeypoint.new(1, 0, 0)
883
							})
884
							PartEmmit1.Transparency = NumberSequence.new({
885
								NumberSequenceKeypoint.new(0, 0, 0),
886
								NumberSequenceKeypoint.new(1, 1, 0)
887
							})
888
							PartEmmit1.Speed = NumberRange.new(0, 0)
889
							PartEmmit1.VelocitySpread = 30000
890
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
891
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
892
							local BodPoss = IT("BodyPosition", v)
893
							BodPoss.P = 3000
894
							BodPoss.D = 1000
895
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
896
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
897
							v.Color = maincolor.Color
898
							coroutine.resume(coroutine.create(function()
899
								for i = 0, 49 do
900
									swait(1)
901
									v.Transparency = v.Transparency + 0.08
902
								end
903
								wait(0.5)
904
								PartEmmit1.Enabled = false
905
								wait(3)
906
								v:Destroy()
907
								dude:Destroy()
908
							end))
909
						end))
910
					end
911
				end
912
			end))
913
		end)
914
		ds()
915
	end
916
end
917
918
function FindNearestHead(Position, Distance, SinglePlayer)
919
	if SinglePlayer then
920
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
921
	end
922
	local List = {}
923
	for i, v in pairs(workspace:GetChildren()) do
924
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
925
			table.insert(List, v)
926
		end
927
	end
928
	return List
929
end
930
931
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
932
	local type = type
933
	local rng = Instance.new("Part", char)
934
	rng.Anchored = true
935
	rng.BrickColor = color
936
	rng.CanCollide = false
937
	rng.FormFactor = 3
938
	rng.Name = "Ring"
939
	rng.Material = "Neon"
940
	rng.Size = Vector3.new(1, 1, 1)
941
	rng.Transparency = 0
942
	rng.TopSurface = 0
943
	rng.BottomSurface = 0
944
	rng.CFrame = pos
945
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
946
	local rngm = Instance.new("SpecialMesh", rng)
947
	rngm.MeshType = MType
948
	rngm.Scale = Vector3.new(x1, y1, z1)
949
	local scaler2 = 1
950
	local speeder = FastSpeed
951
	if type == "Add" then
952
		scaler2 = 1 * value
953
	elseif type == "Divide" then
954
		scaler2 = 1 / value
955
	end
956
	coroutine.resume(coroutine.create(function()
957
		for i = 0, 10 / bonuspeed, 0.1 do
958
			swait()
959
			if type == "Add" then
960
				scaler2 = scaler2 - 0.01 * value / bonuspeed
961
			elseif type == "Divide" then
962
				scaler2 = scaler2 - 0.01 / value * bonuspeed
963
			end
964
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
965
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
966
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
967
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
968
		end
969
		rng:Destroy()
970
	end))
971
end
972
973
function SoulSteal(dude)
974
if dude.Name ~= char then
975
local bgf = IT("BodyGyro", dude.Head)
976
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
977
local val = IT("BoolValue", dude)
978
val.Name = "IsHit"
979
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
980
local soulst = coroutine.wrap(function()
981
local soul = Instance.new("Part",dude)
982
soul.Size = Vector3.new(1,1,1)
983
soul.CanCollide = false
984
soul.Anchored = false
985
soul.Position = torso.Position
986
soul.Transparency = 1
987
local PartEmmit1 = IT("ParticleEmitter", soul)
988
PartEmmit1.LightEmission = 1
989
PartEmmit1.Texture = "rbxassetid://569507414"
990
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
991
PartEmmit1.Rate = 250
992
PartEmmit1.Lifetime = NumberRange.new(1.6)
993
PartEmmit1.Size = NumberSequence.new({
994
	NumberSequenceKeypoint.new(0, 1, 0),
995
	NumberSequenceKeypoint.new(1, 0, 0)
996
})
997
PartEmmit1.Transparency = NumberSequence.new({
998
	NumberSequenceKeypoint.new(0, 0, 0),
999
	NumberSequenceKeypoint.new(1, 1, 0)
1000
})
1001
PartEmmit1.Speed = NumberRange.new(0, 0)
1002
PartEmmit1.VelocitySpread = 30000
1003
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1004
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1005
local BodPoss = IT("BodyPosition", soul)
1006
BodPoss.P = 3000
1007
BodPoss.D = 1000
1008
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1009
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1010
wait(1.6)
1011
soul.Touched:connect(function(hit)
1012
	if hit.Parent == char then
1013
	soul:Destroy()
1014
	end
1015
end)
1016
wait(1.2)
1017
while soul do
1018
	swait()
1019
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1020
	BodPoss.Position = tors.Position
1021
end
1022
end)
1023
	soulst()
1024
	end
1025
end
1026
function FaceMouse()
1027
local	Cam = workspace.CurrentCamera
1028
	return {
1029
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1030
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1031
	}
1032
end
1033
-------------------------------------------------------
1034
--End Effect Function--
1035
-------------------------------------------------------
1036
function Cso(ID, PARENT, VOLUME, PITCH)
1037
	local NSound = nil
1038
	coroutine.resume(coroutine.create(function()
1039
		NSound = IT("Sound", PARENT)
1040
		NSound.Volume = VOLUME
1041
		NSound.Pitch = PITCH
1042
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1043
		swait()
1044
		NSound:play()
1045
		game:GetService("Debris"):AddItem(NSound, 10)
1046
	end))
1047
	return NSound
1048
end
1049
function CameraEnshaking(Length, Intensity)
1050
	coroutine.resume(coroutine.create(function()
1051
		local intensity = 1 * Intensity
1052
		local rotM = 0.01 * Intensity
1053
		for i = 0, Length, 0.1 do
1054
			swait()
1055
			intensity = intensity - 0.05 * Intensity / Length
1056
			rotM = rotM - 5.0E-4 * Intensity / Length
1057
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1058
			cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
1059
		end
1060
		hum.CameraOffset = Vector3.new(0, 0, 0)
1061
	end))
1062
end
1063
-------------------------------------------------------
1064
--End Important Functions--
1065
-------------------------------------------------------
1066
1067
1068
-------------------------------------------------------
1069
--Start Customization--
1070
-------------------------------------------------------
1071
local Player_Size = 1
1072
if Player_Size ~= 1 then
1073
root.Size = root.Size * Player_Size
1074
tors.Size = tors.Size * Player_Size
1075
hed.Size = hed.Size * Player_Size
1076
ra.Size = ra.Size * Player_Size
1077
la.Size = la.Size * Player_Size
1078
rl.Size = rl.Size * Player_Size
1079
ll.Size = ll.Size * Player_Size
1080
----------------------------------------------------------------------------------
1081
rootj.Parent = root
1082
neck.Parent = tors
1083
RW.Parent = tors
1084
LW.Parent = tors
1085
RH.Parent = tors
1086
LH.Parent = tors
1087
----------------------------------------------------------------------------------
1088
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1089
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1090
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1091
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1092
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1093
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1094
----------------------------------------------------------------------------------
1095
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1096
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1097
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1098
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1099
--hat.Parent = Character
1100
end
1101
----------------------------------------------------------------------------------
1102
local SONG = 1280408510
1103
local SONG2 = 0
1104
local Music = Instance.new("Sound",tors)
1105
Music.Volume = 2.5
1106
Music.Looped = true
1107
Music.Pitch = 1 --Pitcher
1108
----------------------------------------------------------------------------------
1109
local equipped = false
1110
local idle = 0
1111
local change = 1
1112
local val = 0
1113
local toim = 0
1114
local idleanim = 0.4
1115
local sine = 0
1116
local Sit = 1
1117
----------------------------------------------------------------------------------
1118
hum.WalkSpeed = 8
1119
hum.JumpPower = 57
1120
hum.Animator.Parent = nil
1121
----------------------------------------------------------------------------------
1122
local r = 255
1123
local g = 0
1124
local b = 0
1125
coroutine.resume(coroutine.create(function()
1126
	while wait() do
1127
		for i = 0, 50.8 do
1128
			swait()
1129
			g = g + 5
1130
		end
1131
		for i = 0, 50.8 do
1132
			swait()
1133
			r = r - 5
1134
		end
1135
		for i = 0, 50.8 do
1136
			swait()
1137
			b = b + 5
1138
		end
1139
		for i = 0, 50.8 do
1140
			swait()
1141
			g = g - 5
1142
		end
1143
		for i = 0, 50.8 do
1144
			swait()
1145
			r = r + 5
1146
		end
1147
		for i = 0, 50.8 do
1148
			swait()
1149
			b = b - 5
1150
		end
1151
	end
1152
end))
1153
----------------------------------------------------------------------------------
1154
local naeeym2 = IT("BillboardGui",char)
1155
naeeym2.AlwaysOnTop = true
1156
naeeym2.Size = UDim2.new(5,35,2,15)
1157
naeeym2.StudsOffset = Vector3.new(0,2,0)
1158
naeeym2.MaxDistance = 75
1159
naeeym2.Adornee = hed
1160
naeeym2.Name = "Name"
1161
local tecks2 = IT("TextLabel",naeeym2)
1162
tecks2.BackgroundTransparency = 1
1163
tecks2.TextScaled = true
1164
tecks2.BorderSizePixel = 0
1165-
tecks2.Text = "No one's around to help."
1165+
tecks2.Text = "HELP ME"
1166
--tecks2.Font = "Fantasy"
1167
tecks2.TextSize = 30
1168
tecks2.TextStrokeTransparency = 0
1169
tecks2.TextColor3 = Color3.new(1,1,1)
1170
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1171
tecks2.Size = UDim2.new(1,0,0.5,0)
1172
tecks2.Parent = naeeym2
1173
hed.face.Texture = "rbxassetid://275614650"
1174
----------------------------------------------------------------------------------
1175
Reaper = IT("Model")
1176
Reaper.Parent = char
1177
Reaper.Name = "Reaper"
1178
RHe = IT("Part")
1179
RHe.Parent = Reaper
1180
RHe.BrickColor = BrickC("Really black")
1181
RHe.Locked = true
1182
RHe.CanCollide = false
1183
RHe.Transparency = 0
1184
PMesh = IT("SpecialMesh")
1185
RHe.formFactor =  "Symmetric"
1186
PMesh.MeshType = "FileMesh"
1187
PMesh.MeshId = "rbxassetid://1374148"
1188
PMesh.TextureId = "rbxassetid://185703978"
1189
PMesh.Scale = Vector3.new(1, 1, 1)
1190
PMesh.Parent = RHe
1191
local RWeld = IT("Weld")
1192
RWeld.Parent = RHe
1193
RWeld.Part0 = RHe
1194
RWeld.Part1 = hed
1195
RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
1196
-------------------------------------------------------
1197
--End Customization--
1198
-------------------------------------------------------
1199
1200
1201
-------------------------------------------------------
1202
--Start Attacks N Stuff--
1203
-------------------------------------------------------
1204
1205
-------------------------------------------------------
1206
--End Attacks N Stuff--
1207
-------------------------------------------------------
1208
mouse.KeyDown:connect(function(key)
1209
    if string.byte(key) == 48 then
1210
        Swing = 2
1211
        hum.WalkSpeed = 38.82
1212
	end
1213
end)
1214
mouse.KeyUp:connect(function(key)
1215
    if string.byte(key) == 48 then
1216
        Swing = 1
1217
        hum.WalkSpeed = 8
1218
	end
1219
end)
1220
1221
 
1222
1223
1224
1225
1226
1227
1228
-------------------------------------------------------
1229
--Start Animations--
1230
-------------------------------------------------------
1231
while true do
1232
	swait()
1233
	sine = sine + change
1234
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1235
	local velderp = root.Velocity.y
1236
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1237
	if equipped == true or equipped == false then
1238
		if attack == false then
1239
			idle = idle + 1
1240
		else
1241
			idle = 0
1242
		end
1243
		tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
1244
		if 1 < root.Velocity.y and hitfloor == nil then
1245
			Anim = "Jump"
1246
			if attack == false then
1247
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
1248
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1249
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1250
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1251
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
1252
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
1253
			end
1254
		elseif -1 > root.Velocity.y and hitfloor == nil then
1255
			Anim = "Fall"
1256
			if attack == false then
1257
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
1258
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1259
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1260
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1261
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
1262
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
1263
			end
1264
		elseif torvel < 1 and hitfloor ~= nil then
1265
			Anim = "Idle"
1266
			change = .5
1267
			if attack == false then
1268
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.05 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1269
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 3)), Rad(-4.5 * Sin(sine / 3)), Rad(0)), 0.3)
1270
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 + 0.1 * Cos(sine / 3)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-5)), 0.15)
1271
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1272
				RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.05 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
1273
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20* Player_Size), 0* Player_Size) * angles(Rad(-30 * Sin(sine / 10)), Rad(0), Rad(-5 - 4.5 * Sin(sine / 20))), 0.1)
1274
			end
1275
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
1276
			Anim = "Walk"
1277
			change = .9
1278
			if attack == false then
1279
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
1280
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1281
				RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2)  * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1282
         		LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1283
				RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37)  * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
1284
				LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37)  * Cos(sine / 7) , Rad(0) ,	Rad(.6) + la.RotVelocity.Y / 75), 0.1)
1285
			end
1286
		elseif torvel >= 25 and hitfloor ~= nil then
1287
			Anim = "Sprint"
1288
			change = 1.35
1289
			if attack == false then
1290
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
1291
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1292
			RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1293
         	LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1294
			RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1295
			LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
1296
			end
1297
		end
1298
	end
1299
	Music.SoundId = "rbxassetid://"..SONG
1300
	Music.Looped = true
1301
	Music.Pitch = 1
1302
	Music.Volume = 5
1303
	Music.Parent = tors
1304
	Music:Resume()
1305
	if 0 < #Effects then
1306
		for e = 1, #Effects do
1307
			if Effects[e] ~= nil then
1308
				local Thing = Effects[e]
1309
				if Thing ~= nil then
1310
					local Part = Thing[1]
1311
					local Mode = Thing[2]
1312
					local Delay = Thing[3]
1313
					local IncX = Thing[4]
1314
					local IncY = Thing[5]
1315
					local IncZ = Thing[6]
1316
					if 1 >= Thing[1].Transparency then
1317
						if Thing[2] == "Block1" then
1318
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1319
							local Mesh = Thing[1].Mesh
1320
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1321
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1322
						elseif Thing[2] == "Block2" then
1323
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1324
							local Mesh = Thing[7]
1325
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1326
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1327
						elseif Thing[2] == "Block3" then
1328
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1329
							local Mesh = Thing[7]
1330
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1331
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1332
						elseif Thing[2] == "Cylinder" then
1333
							local Mesh = Thing[1].Mesh
1334
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1335
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1336
						elseif Thing[2] == "Blood" then
1337
							local Mesh = Thing[7]
1338
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1339
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1340
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1341
						elseif Thing[2] == "Elec" then
1342
							local Mesh = Thing[1].Mesh
1343
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1344
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1345
						elseif Thing[2] == "Disappear" then
1346
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1347
						elseif Thing[2] == "Shatter" then
1348
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1349
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1350
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1351
							Thing[6] = Thing[6] + Thing[5]
1352
						end
1353
					else
1354
						Part.Parent = nil
1355
						table.remove(Effects, e)
1356
					end
1357
				end
1358
			end
1359
		end
1360
	end
1361
end
1362
-------------------------------------------------------
1363
--End Animations And Script--
1364
-------------------------------------------------------