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