View difference between Paste ID: ZfRssfVZ and b8zzM2LV
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by TameDoNotClick :)
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("Translated to FE by me, TameDoNotClick. Enjoy ;)")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
-----------------------
88
--[[ Name : Colorblind]]--
89
-------------------------------------------------------
90
game:GetService("StarterGui"):SetCore("SendNotification", {
91
	Title = "Colorblind";
92
	Text = "Edit By boss_kiddos.";
93
})
94
95
96
game:GetService("StarterGui"):SetCore("SendNotification", {
97
	Title = "Creator Credits";
98
	Text = "Credits to makhail7/Creterisk";
99
})
100
101
102
--The reality of my life isn't real but a Universe -makhail07
103
wait()
104
local plr = owner
105
print('Local User is '..plr.Name)
106
local char = plr.Character
107
local hum = char.Humanoid
108
local hed = char.Head
109
local root = char.HumanoidRootPart
110
local rootj = root.RootJoint
111
local tors = char.Torso
112
local ra = char["Right Arm"]
113
local la = char["Left Arm"]
114
local rl = char["Right Leg"]
115
local ll = char["Left Leg"]
116
local neck = tors["Neck"]
117
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
118
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
119
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
120
local maincolor = BrickColor.new("Institutional white")
121
122
-------------------------------------------------------
123
--Start Good Stuff--
124
-------------------------------------------------------
125
cam = game.Workspace.CurrentCamera
126
CF = CFrame.new
127
angles = CFrame.Angles
128
attack = false
129
Euler = CFrame.fromEulerAnglesXYZ
130
Rad = math.rad
131
IT = Instance.new
132
BrickC = BrickColor.new
133
Cos = math.cos
134
Acos = math.acos
135
Sin = math.sin
136
Asin = math.asin
137
Abs = math.abs
138
Mrandom = math.random
139
Floor = math.floor
140
-------------------------------------------------------
141
--End Good Stuff--
142
-------------------------------------------------------
143
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
144
RSH, LSH = nil, nil 
145
RW = Instance.new("Weld") 
146
LW = Instance.new("Weld")
147
RH = tors["Right Hip"]
148
LH = tors["Left Hip"]
149
RSH = tors["Right Shoulder"] 
150
LSH = tors["Left Shoulder"] 
151
RSH.Parent = nil 
152
LSH.Parent = nil 
153
RW.Name = "RW"
154
RW.Part0 = tors 
155
RW.C0 = CF(1.5, 0.5, 0)
156
RW.C1 = CF(0, 0.5, 0) 
157
RW.Part1 = ra
158
RW.Parent = tors 
159
LW.Name = "LW"
160
LW.Part0 = tors 
161
LW.C0 = CF(-1.5, 0.5, 0)
162
LW.C1 = CF(0, 0.5, 0) 
163
LW.Part1 = la
164
LW.Parent = tors
165
Effects = {}
166
-------------------------------------------------------
167
--Start HeartBeat--
168
-------------------------------------------------------
169
ArtificialHB = Instance.new("BindableEvent", script)
170
ArtificialHB.Name = "Heartbeat"
171
script:WaitForChild("Heartbeat")
172
173
frame = 1 / 60
174
tf = 0
175
allowframeloss = false
176
tossremainder = false
177
178
179
lastframe = tick()
180
script.Heartbeat:Fire()
181
182
183
game:GetService("RunService").Heartbeat:connect(function(s, p)
184
	tf = tf + s
185
	if tf >= frame then
186
		if allowframeloss then
187
			script.Heartbeat:Fire()
188
			lastframe = tick()
189
		else
190
			for i = 1, math.floor(tf / frame) do
191
				script.Heartbeat:Fire()
192
			end
193
			lastframe = tick()
194
		end
195
		if tossremainder then
196
			tf = 0
197
		else
198
			tf = tf - frame * math.floor(tf / frame)
199
		end
200
	end
201
end)
202
-------------------------------------------------------
203
--End HeartBeat--
204
-------------------------------------------------------
205
206
-------------------------------------------------------
207
--Start Important Functions--
208
-------------------------------------------------------
209
function swait(num)
210
	if num == 0 or num == nil then
211
		game:service("RunService").Stepped:wait(0)
212
	else
213
		for i = 0, num do
214
			game:service("RunService").Stepped:wait(0)
215
		end
216
	end
217
end
218
function thread(f)
219
	coroutine.resume(coroutine.create(f))
220
end
221
function clerp(a, b, t)
222
	local qa = {
223
		QuaternionFromCFrame(a)
224
	}
225
	local qb = {
226
		QuaternionFromCFrame(b)
227
	}
228
	local ax, ay, az = a.x, a.y, a.z
229
	local bx, by, bz = b.x, b.y, b.z
230
	local _t = 1 - t
231
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
232
end
233
function QuaternionFromCFrame(cf)
234
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
235
	local trace = m00 + m11 + m22
236
	if trace > 0 then
237
		local s = math.sqrt(1 + trace)
238
		local recip = 0.5 / s
239
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
240
	else
241
		local i = 0
242
		if m00 < m11 then
243
			i = 1
244
		end
245
		if m22 > (i == 0 and m00 or m11) then
246
			i = 2
247
		end
248
		if i == 0 then
249
			local s = math.sqrt(m00 - m11 - m22 + 1)
250
			local recip = 0.5 / s
251
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
252
		elseif i == 1 then
253
			local s = math.sqrt(m11 - m22 - m00 + 1)
254
			local recip = 0.5 / s
255
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
256
		elseif i == 2 then
257
			local s = math.sqrt(m22 - m00 - m11 + 1)
258
			local recip = 0.5 / s
259
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
260
		end
261
	end
262
end
263
function QuaternionToCFrame(px, py, pz, x, y, z, w)
264
	local xs, ys, zs = x + x, y + y, z + z
265
	local wx, wy, wz = w * xs, w * ys, w * zs
266
	local xx = x * xs
267
	local xy = x * ys
268
	local xz = x * zs
269
	local yy = y * ys
270
	local yz = y * zs
271
	local zz = z * zs
272
	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))
273
end
274
function QuaternionSlerp(a, b, t)
275
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
276
	local startInterp, finishInterp
277
	if cosTheta >= 1.0E-4 then
278
		if 1 - cosTheta > 1.0E-4 then
279
			local theta = math.acos(cosTheta)
280
			local invSinTheta = 1 / Sin(theta)
281
			startInterp = Sin((1 - t) * theta) * invSinTheta
282
			finishInterp = Sin(t * theta) * invSinTheta
283
		else
284
			startInterp = 1 - t
285
			finishInterp = t
286
		end
287
	elseif 1 + cosTheta > 1.0E-4 then
288
		local theta = math.acos(-cosTheta)
289
		local invSinTheta = 1 / Sin(theta)
290
		startInterp = Sin((t - 1) * theta) * invSinTheta
291
		finishInterp = Sin(t * theta) * invSinTheta
292
	else
293
		startInterp = t - 1
294
		finishInterp = t
295
	end
296
	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
297
end
298
function rayCast(Position, Direction, Range, Ignore)
299
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
300
end
301
local RbxUtility = LoadLibrary("RbxUtility")
302
local Create = RbxUtility.Create
303
304
-------------------------------------------------------
305
--Start Health--
306
-------------------------------------------------------
307
local pl = owner
308
local chara = pl.Character
309
local hum = chara:FindFirstChildOfClass("Humanoid")
310
hum.MaxHealth = 99999999999999999999999999999999999
311
hum.Health = 99999999999999999999999999999999999
312
313
-------------------------------------------------------
314
--Others--
315
-------------------------------------------------------
316
chara:WaitForChild"Body Colors"
317
char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
318
char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
319
char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
320
char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
321
char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
322
char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
323
324
ypcall(function()
325
shirt = Instance.new("Shirt", char)
326
shirt.Name = "Shirt"
327
pants = Instance.new("Pants", char)
328
pants.Name = "Pants"
329
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
330
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
331
end)
332
-------------------------------------------------------
333
--Start Damage Function--
334
-------------------------------------------------------
335
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
336
	if hit.Parent == nil then
337
		return
338
	end
339
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
340
	for _, v in pairs(hit.Parent:children()) do
341
		if v:IsA("Humanoid") then
342
			h = v
343
		end
344
	end
345
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
346
	
347
         hit.Parent:FindFirstChild("Head"):BreakJoints()
348
         end
349
350
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
351
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
352
			if hit.Parent.DebounceHit.Value == true then
353
				return
354
			end
355
		end
356
         if insta == true then
357
         hit.Parent:FindFirstChild("Head"):BreakJoints()
358
         end
359
		local c = Create("ObjectValue"){
360
			Name = "creator",
361
			Value = game:service("Players").LocalPlayer,
362
			Parent = h,
363
		}
364
		game:GetService("Debris"):AddItem(c, .5)
365
		if HitSound ~= nil and HitPitch ~= nil then
366
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
367
		end
368
		local Damage = math.random(minim, maxim)
369
		local blocked = false
370
		local block = hit.Parent:findFirstChild("Block")
371
		if block ~= nil then
372
			if block.className == "IntValue" then
373
				if block.Value > 0 then
374
					blocked = true
375
					block.Value = block.Value - 1
376
					print(block.Value)
377
				end
378
			end
379
		end
380
		if blocked == false then
381
			h.Health = h.Health - Damage
382
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
383
		else
384
			h.Health = h.Health - (Damage / 2)
385
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
386
		end
387
		if Type == "Knockdown" then
388
			local hum = hit.Parent.Humanoid
389
			hum.PlatformStand = true
390
			coroutine.resume(coroutine.create(function(HHumanoid)
391
				swait(1)
392
				HHumanoid.PlatformStand = false
393
			end), hum)
394
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
395
			local bodvol = Create("BodyVelocity"){
396
				velocity = angle * knockback,
397
				P = 5000,
398
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
399
				Parent = hit,
400
			}
401
			local rl = Create("BodyAngularVelocity"){
402
				P = 3000,
403
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
404
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
405
				Parent = hit,
406
			}
407
			game:GetService("Debris"):AddItem(bodvol, .5)
408
			game:GetService("Debris"):AddItem(rl, .5)
409
		elseif Type == "Normal" then
410
			local vp = Create("BodyVelocity"){
411
				P = 500,
412
				maxForce = Vector3.new(math.huge, 0, math.huge),
413
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
414
			}
415
			if knockback > 0 then
416
				vp.Parent = hit.Parent.Torso
417
			end
418
			game:GetService("Debris"):AddItem(vp, .5)
419
		elseif Type == "Up" then
420
			local bodyVelocity = Create("BodyVelocity"){
421
				velocity = Vector3.new(0, 20, 0),
422
				P = 5000,
423
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
424
				Parent = hit,
425
			}
426
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
427
		elseif Type == "DarkUp" then
428
			coroutine.resume(coroutine.create(function()
429
				for i = 0, 1, 0.1 do
430
					swait()
431
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
432
				end
433
			end))
434
			local bodyVelocity = Create("BodyVelocity"){
435
				velocity = Vector3.new(0, 20, 0),
436
				P = 5000,
437
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
438
				Parent = hit,
439
			}
440
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
441
		elseif Type == "Snare" then
442
			local bp = Create("BodyPosition"){
443
				P = 2000,
444
				D = 100,
445
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
446
				position = hit.Parent.Torso.Position,
447
				Parent = hit.Parent.Torso,
448
			}
449
			game:GetService("Debris"):AddItem(bp, 1)
450
		elseif Type == "Freeze" then
451
			local BodPos = Create("BodyPosition"){
452
				P = 50000,
453
				D = 1000,
454
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
455
				position = hit.Parent.Torso.Position,
456
				Parent = hit.Parent.Torso,
457
			}
458
			local BodGy = Create("BodyGyro") {
459
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
460
				P = 20e+003,
461
				Parent = hit.Parent.Torso,
462
				cframe = hit.Parent.Torso.CFrame,
463
			}
464
			hit.Parent.Torso.Anchored = true
465
			coroutine.resume(coroutine.create(function(Part) 
466
				swait(1.5)
467
				Part.Anchored = false
468
			end), hit.Parent.Torso)
469
			game:GetService("Debris"):AddItem(BodPos, 3)
470
			game:GetService("Debris"):AddItem(BodGy, 3)
471
		end
472
		local debounce = Create("BoolValue"){
473
			Name = "DebounceHit",
474
			Parent = hit.Parent,
475
			Value = true,
476
		}
477
		game:GetService("Debris"):AddItem(debounce, Delay)
478
		c = Create("ObjectValue"){
479
			Name = "creator",
480
			Value = Player,
481
			Parent = h,
482
		}
483
		game:GetService("Debris"):AddItem(c, .5)
484
	end
485
end
486
-------------------------------------------------------
487
--End Damage Function--
488
-------------------------------------------------------
489
490
-------------------------------------------------------
491
--Start Damage Function Customization--
492
-------------------------------------------------------
493
function ShowDamage(Pos, Text, Time, Color)
494
	local Rate = (1 / 30)
495
	local Pos = (Pos or Vector3.new(0, 0, 0))
496
	local Text = (Text or "")
497
	local Time = (Time or 2)
498
	local Color = (Color or Color3.new(1, 0, 1))
499
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
500
	EffectPart.Anchored = true
501
	local BillboardGui = Create("BillboardGui"){
502
		Size = UDim2.new(3, 0, 3, 0),
503
		Adornee = EffectPart,
504
		Parent = EffectPart,
505
	}
506
	local TextLabel = Create("TextLabel"){
507
		BackgroundTransparency = 1,
508
		Size = UDim2.new(1, 0, 1, 0),
509
		Text = Text,
510
		Font = "Bodoni",
511
		TextColor3 = Color,
512
		TextScaled = true,
513
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
514
		Parent = BillboardGui,
515
	}
516
	game.Debris:AddItem(EffectPart, (Time))
517
	EffectPart.Parent = game:GetService("Workspace")
518
	delay(0, function()
519
		local Frames = (Time / Rate)
520
		for Frame = 1, Frames do
521
			wait(Rate)
522
			local Percent = (Frame / Frames)
523
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
524
			TextLabel.TextTransparency = Percent
525
		end
526
		if EffectPart and EffectPart.Parent then
527
			EffectPart:Destroy()
528
		end
529
	end)
530
end
531
-------------------------------------------------------
532
--End Damage Function Customization--
533
-------------------------------------------------------
534
535
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
536
  for _, c in pairs(workspace:children()) do
537
    local hum = c:findFirstChild("Humanoid")
538
    if hum ~= nil then
539
      local head = c:findFirstChild("Head")
540
      if head ~= nil then
541
        local targ = head.Position - Part.Position
542
        local mag = targ.magnitude
543
        if magni >= mag and c.Name ~= plr.Name then
544
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
545
        end
546
      end
547
    end
548
  end
549
end
550
551
552
CFuncs = {
553
	Part = {
554
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
555
			local Part = Create("Part")({
556
				Parent = Parent,
557
				Reflectance = Reflectance,
558
				Transparency = Transparency,
559
				CanCollide = false,
560
				Locked = true,
561
				BrickColor = BrickColor.new(tostring(BColor)),
562
				Name = Name,
563
				Size = Size,
564
				Material = Material
565
			})
566
			RemoveOutlines(Part)
567
			return Part
568
		end
569
	},
570
	Mesh = {
571
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
572
			local Msh = Create(Mesh)({
573
				Parent = Part,
574
				Offset = OffSet,
575
				Scale = Scale
576
			})
577
			if Mesh == "SpecialMesh" then
578
				Msh.MeshType = MeshType
579
				Msh.MeshId = MeshId
580
			end
581
			return Msh
582
		end
583
	},
584
	Mesh = {
585
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
586
			local Msh = Create(Mesh)({
587
				Parent = Part,
588
				Offset = OffSet,
589
				Scale = Scale
590
			})
591
			if Mesh == "SpecialMesh" then
592
				Msh.MeshType = MeshType
593
				Msh.MeshId = MeshId
594
			end
595
			return Msh
596
		end
597
	},
598
	Weld = {
599
		Create = function(Parent, Part0, Part1, C0, C1)
600
			local Weld = Create("Weld")({
601
				Parent = Parent,
602
				Part0 = Part0,
603
				Part1 = Part1,
604
				C0 = C0,
605
				C1 = C1
606
			})
607
			return Weld
608
		end
609
	},
610
	Sound = {
611
		Create = function(id, par, vol, pit)
612
			coroutine.resume(coroutine.create(function()
613
				local S = Create("Sound")({
614
					Volume = vol,
615
					Pitch = pit or 1,
616
					SoundId = id,
617
					Parent = par or workspace
618
				})
619
				wait()
620
				S:play()
621
				game:GetService("Debris"):AddItem(S, 6)
622
			end))
623
		end
624
	},
625
	ParticleEmitter = {
626
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
627
			local fp = Create("ParticleEmitter")({
628
				Parent = Parent,
629
				Color = ColorSequence.new(Color1, Color2),
630
				LightEmission = LightEmission,
631
				Size = Size,
632
				Texture = Texture,
633
				Transparency = Transparency,
634
				ZOffset = ZOffset,
635
				Acceleration = Accel,
636
				Drag = Drag,
637
				LockedToPart = LockedToPart,
638
				VelocityInheritance = VelocityInheritance,
639
				EmissionDirection = EmissionDirection,
640
				Enabled = Enabled,
641
				Lifetime = LifeTime,
642
				Rate = Rate,
643
				Rotation = Rotation,
644
				RotSpeed = RotSpeed,
645
				Speed = Speed,
646
				VelocitySpread = VelocitySpread
647
			})
648
			return fp
649
		end
650
	}
651
}
652
function RemoveOutlines(part)
653
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
654
end
655
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
656
	local Part = Create("Part")({
657
		formFactor = FormFactor,
658
		Parent = Parent,
659
		Reflectance = Reflectance,
660
		Transparency = Transparency,
661
		CanCollide = false,
662
		Locked = true,
663
		BrickColor = BrickColor.new(tostring(BColor)),
664
		Name = Name,
665
		Size = Size,
666
		Material = Material
667
	})
668
	RemoveOutlines(Part)
669
	return Part
670
end
671
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
672
	local Msh = Create(Mesh)({
673
		Parent = Part,
674
		Offset = OffSet,
675
		Scale = Scale
676
	})
677
	if Mesh == "SpecialMesh" then
678
		Msh.MeshType = MeshType
679
		Msh.MeshId = MeshId
680
	end
681
	return Msh
682
end
683
function CreateWeld(Parent, Part0, Part1, C0, C1)
684
	local Weld = Create("Weld")({
685
		Parent = Parent,
686
		Part0 = Part0,
687
		Part1 = Part1,
688
		C0 = C0,
689
		C1 = C1
690
	})
691
	return Weld
692
end
693
694
695
-------------------------------------------------------
696
--Start Effect Function--
697
-------------------------------------------------------
698
EffectModel = Instance.new("Model", char)
699
Effects = {
700
  Block = {
701
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
702
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
703
      prt.Anchored = true
704
      prt.CFrame = cframe
705
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
706
      game:GetService("Debris"):AddItem(prt, 10)
707
      if Type == 1 or Type == nil then
708
        table.insert(Effects, {
709
          prt,
710
          "Block1",
711
          delay,
712
          x3,
713
          y3,
714
          z3,
715
          msh
716
        })
717
      elseif Type == 2 then
718
        table.insert(Effects, {
719
          prt,
720
          "Block2",
721
          delay,
722
          x3,
723
          y3,
724
          z3,
725
          msh
726
        })
727
      else
728
        table.insert(Effects, {
729
          prt,
730
          "Block3",
731
          delay,
732
          x3,
733
          y3,
734
          z3,
735
          msh
736
        })
737
      end
738
    end
739
  },
740
  Sphere = {
741
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
742
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
743
      prt.Anchored = true
744
      prt.CFrame = cframe
745
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
746
      game:GetService("Debris"):AddItem(prt, 10)
747
      table.insert(Effects, {
748
        prt,
749
        "Cylinder",
750
        delay,
751
        x3,
752
        y3,
753
        z3,
754
        msh
755
      })
756
    end
757
  },
758
  Cylinder = {
759
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
760
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
761
      prt.Anchored = true
762
      prt.CFrame = cframe
763
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
764
      game:GetService("Debris"):AddItem(prt, 10)
765
      table.insert(Effects, {
766
        prt,
767
        "Cylinder",
768
        delay,
769
        x3,
770
        y3,
771
        z3,
772
        msh
773
      })
774
    end
775
  },
776
  Wave = {
777
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
778
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
779
      prt.Anchored = true
780
      prt.CFrame = cframe
781
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
782
      game:GetService("Debris"):AddItem(prt, 10)
783
      table.insert(Effects, {
784
        prt,
785
        "Cylinder",
786
        delay,
787
        x3 / 60,
788
        y3 / 60,
789
        z3 / 60,
790
        msh
791
      })
792
    end
793
  },
794
  Ring = {
795
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
796
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
797
      prt.Anchored = true
798
      prt.CFrame = cframe
799
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
800
      game:GetService("Debris"):AddItem(prt, 10)
801
      table.insert(Effects, {
802
        prt,
803
        "Cylinder",
804
        delay,
805
        x3,
806
        y3,
807
        z3,
808
        msh
809
      })
810
    end
811
  },
812
  Break = {
813
    Create = function(brickcolor, cframe, x1, y1, z1)
814
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
815
      prt.Anchored = true
816
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
817
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
818
      local num = math.random(10, 50) / 1000
819
      game:GetService("Debris"):AddItem(prt, 10)
820
      table.insert(Effects, {
821
        prt,
822
        "Shatter",
823
        num,
824
        prt.CFrame,
825
        math.random() - math.random(),
826
        0,
827
        math.random(50, 100) / 100
828
      })
829
    end
830
  },
831
Spiral = {
832
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
833
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
834
      prt.Anchored = true
835
      prt.CFrame = cframe
836
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
837
      game:GetService("Debris"):AddItem(prt, 10)
838
      table.insert(Effects, {
839
        prt,
840
        "Cylinder",
841
        delay,
842
        x3,
843
        y3,
844
        z3,
845
        msh
846
      })
847
    end
848
  },
849
Push = {
850
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
851
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
852
      prt.Anchored = true
853
      prt.CFrame = cframe
854
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
855
      game:GetService("Debris"):AddItem(prt, 10)
856
      table.insert(Effects, {
857
        prt,
858
        "Cylinder",
859
        delay,
860
        x3,
861
        y3,
862
        z3,
863
        msh
864
      })
865
    end
866
  }
867
}
868
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
869
	local fp = IT("Part")
870
	fp.formFactor = formfactor 
871
	fp.Parent = parent
872
	fp.Reflectance = reflectance
873
	fp.Transparency = transparency
874
	fp.CanCollide = false 
875
	fp.Locked = true
876
	fp.BrickColor = brickcolor
877
	fp.Name = name
878
	fp.Size = size
879
	fp.Position = tors.Position 
880
	RemoveOutlines(fp)
881
	fp.Material = "SmoothPlastic"
882
	fp:BreakJoints()
883
	return fp 
884
end 
885
 
886
function mesh(Mesh,part,meshtype,meshid,offset,scale)
887
	local mesh = IT(Mesh) 
888
	mesh.Parent = part
889
	if Mesh == "SpecialMesh" then
890
		mesh.MeshType = meshtype
891
	if meshid ~= "nil" then
892
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
893
		end
894
	end
895
	mesh.Offset = offset
896
	mesh.Scale = scale
897
	return mesh
898
end
899
900
function Magic(bonuspeed, type, pos, scale, value, color, MType)
901
	local type = type
902
	local rng = Instance.new("Part", char)
903
	rng.Anchored = true
904
	rng.BrickColor = color
905
	rng.CanCollide = false
906
	rng.FormFactor = 3
907
	rng.Name = "Ring"
908
	rng.Material = "Neon"
909
	rng.Size = Vector3.new(1, 1, 1)
910
	rng.Transparency = 0
911
	rng.TopSurface = 0
912
	rng.BottomSurface = 0
913
	rng.CFrame = pos
914
	local rngm = Instance.new("SpecialMesh", rng)
915
	rngm.MeshType = MType
916
	rngm.Scale = scale
917
	local scaler2 = 1
918
	if type == "Add" then
919
		scaler2 = 1 * value
920
	elseif type == "Divide" then
921
		scaler2 = 1 / value
922
	end
923
	coroutine.resume(coroutine.create(function()
924
		for i = 0, 10 / bonuspeed, 0.1 do
925
			swait()
926
			if type == "Add" then
927
				scaler2 = scaler2 - 0.01 * value / bonuspeed
928
			elseif type == "Divide" then
929
				scaler2 = scaler2 - 0.01 / value * bonuspeed
930
			end
931
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
932
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
933
		end
934
		rng:Destroy()
935
	end))
936
end
937
938
function Eviscerate(dude)
939
	if dude.Name ~= char then
940
		local bgf = IT("BodyGyro", dude.Head)
941
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
942
		local val = IT("BoolValue", dude)
943
		val.Name = "IsHit"
944
		local ds = coroutine.wrap(function()
945
			dude:WaitForChild("Head"):BreakJoints()
946
			wait(0.5)
947
			target = nil
948
			coroutine.resume(coroutine.create(function()
949
				for i, v in pairs(dude:GetChildren()) do
950
					if v:IsA("Accessory") then
951
						v:Destroy()
952
					end
953
					if v:IsA("Humanoid") then
954
						v:Destroy()
955
					end
956
					if v:IsA("CharacterMesh") then
957
						v:Destroy()
958
					end
959
					if v:IsA("Model") then
960
						v:Destroy()
961
					end
962
					if v:IsA("Part") or v:IsA("MeshPart") then
963
						for x, o in pairs(v:GetChildren()) do
964
							if o:IsA("Decal") then
965
								o:Destroy()
966
							end
967
						end
968
						coroutine.resume(coroutine.create(function()
969
							v.Material = "Neon"
970
							v.CanCollide = false
971
							local PartEmmit1 = IT("ParticleEmitter", v)
972
							PartEmmit1.LightEmission = 1
973
							PartEmmit1.Texture = "rbxassetid://284205403"
974
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
975
							PartEmmit1.Rate = 150
976
							PartEmmit1.Lifetime = NumberRange.new(1)
977
							PartEmmit1.Size = NumberSequence.new({
978
								NumberSequenceKeypoint.new(0, 0.75, 0),
979
								NumberSequenceKeypoint.new(1, 0, 0)
980
							})
981
							PartEmmit1.Transparency = NumberSequence.new({
982
								NumberSequenceKeypoint.new(0, 0, 0),
983
								NumberSequenceKeypoint.new(1, 1, 0)
984
							})
985
							PartEmmit1.Speed = NumberRange.new(0, 0)
986
							PartEmmit1.VelocitySpread = 30000
987
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
988
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
989
							local BodPoss = IT("BodyPosition", v)
990
							BodPoss.P = 3000
991
							BodPoss.D = 1000
992
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
993
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
994
							v.Color = maincolor.Color
995
							coroutine.resume(coroutine.create(function()
996
								for i = 0, 49 do
997
									swait(1)
998
									v.Transparency = v.Transparency + 0.08
999
								end
1000
								wait(0.5)
1001
								PartEmmit1.Enabled = false
1002
								wait(3)
1003
								v:Destroy()
1004
								dude:Destroy()
1005
							end))
1006
						end))
1007
					end
1008
				end
1009
			end))
1010
		end)
1011
		ds()
1012
	end
1013
end
1014
1015
function FindNearestHead(Position, Distance, SinglePlayer)
1016
	if SinglePlayer then
1017
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1018
	end
1019
	local List = {}
1020
	for i, v in pairs(workspace:GetChildren()) do
1021
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1022
			table.insert(List, v)
1023
		end
1024
	end
1025
	return List
1026
end
1027
1028
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1029
	local type = type
1030
	local rng = Instance.new("Part", char)
1031
	rng.Anchored = true
1032
	rng.BrickColor = color
1033
	rng.CanCollide = false
1034
	rng.FormFactor = 3
1035
	rng.Name = "Ring"
1036
	rng.Material = "Neon"
1037
	rng.Size = Vector3.new(1, 1, 1)
1038
	rng.Transparency = 0
1039
	rng.TopSurface = 0
1040
	rng.BottomSurface = 0
1041
	rng.CFrame = pos
1042
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1043
	local rngm = Instance.new("SpecialMesh", rng)
1044
	rngm.MeshType = MType
1045
	rngm.Scale = Vector3.new(x1, y1, z1)
1046
	local scaler2 = 1
1047
	local speeder = FastSpeed
1048
	if type == "Add" then
1049
		scaler2 = 1 * value
1050
	elseif type == "Divide" then
1051
		scaler2 = 1 / value
1052
	end
1053
	coroutine.resume(coroutine.create(function()
1054
		for i = 0, 10 / bonuspeed, 0.1 do
1055
			swait()
1056
			if type == "Add" then
1057
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1058
			elseif type == "Divide" then
1059
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1060
			end
1061
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1062
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1063
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1064
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1065
		end
1066
		rng:Destroy()
1067
	end))
1068
end
1069
1070
function SoulSteal(dude)
1071
if dude.Name ~= char then
1072
local bgf = IT("BodyGyro", dude.Head)
1073
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1074
local val = IT("BoolValue", dude)
1075
val.Name = "IsHit"
1076
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1077
local soulst = coroutine.wrap(function()
1078
local soul = Instance.new("Part",dude)
1079
soul.Size = Vector3.new(1,1,1)
1080
soul.CanCollide = false
1081
soul.Anchored = false
1082
soul.Position = torso.Position
1083
soul.Transparency = 1
1084
local PartEmmit1 = IT("ParticleEmitter", soul)
1085
PartEmmit1.LightEmission = 1
1086
PartEmmit1.Texture = "rbxassetid://569507414"
1087
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1088
PartEmmit1.Rate = 250
1089
PartEmmit1.Lifetime = NumberRange.new(1.6)
1090
PartEmmit1.Size = NumberSequence.new({
1091
	NumberSequenceKeypoint.new(0, 1, 0),
1092
	NumberSequenceKeypoint.new(1, 0, 0)
1093
})
1094
PartEmmit1.Transparency = NumberSequence.new({
1095
	NumberSequenceKeypoint.new(0, 0, 0),
1096
	NumberSequenceKeypoint.new(1, 1, 0)
1097
})
1098
PartEmmit1.Speed = NumberRange.new(0, 0)
1099
PartEmmit1.VelocitySpread = 30000
1100
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1101
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1102
local BodPoss = IT("BodyPosition", soul)
1103
BodPoss.P = 3000
1104
BodPoss.D = 1000
1105
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1106
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1107
wait(1.6)
1108
soul.Touched:connect(function(hit)
1109
	if hit.Parent == char then
1110
	soul:Destroy()
1111
	end
1112
end)
1113
wait(1.2)
1114
while soul do
1115
	swait()
1116
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1117
	BodPoss.Position = tors.Position
1118
end
1119
end)
1120
	soulst()
1121
	end
1122
end
1123
function FaceMouse()
1124
local	Cam = workspace.CurrentCamera
1125
	return {
1126
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1127
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1128
	}
1129
end
1130
-------------------------------------------------------
1131
--End Effect Function--
1132
-------------------------------------------------------
1133
function Cso(ID, PARENT, VOLUME, PITCH)
1134
	local NSound = nil
1135
	coroutine.resume(coroutine.create(function()
1136
		NSound = IT("Sound", PARENT)
1137
		NSound.Volume = VOLUME
1138
		NSound.Pitch = PITCH
1139
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1140
		swait()
1141
		NSound:play()
1142
		game:GetService("Debris"):AddItem(NSound, 10)
1143
	end))
1144
	return NSound
1145
end
1146
function CameraEnshaking(Length, Intensity)
1147
	coroutine.resume(coroutine.create(function()
1148
		local intensity = 1 * Intensity
1149
		local rotM = 0.01 * Intensity
1150
		for i = 0, Length, 0.1 do
1151
			swait()
1152
			intensity = intensity - 0.05 * Intensity / Length
1153
			rotM = rotM - 5.0E-4 * Intensity / Length
1154
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1155
			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)
1156
		end
1157
		hum.CameraOffset = Vector3.new(0, 0, 0)
1158
	end))
1159
end
1160
-------------------------------------------------------
1161
--End Important Functions--
1162
-------------------------------------------------------
1163
1164
1165
-------------------------------------------------------
1166
--Start Customization--
1167
-------------------------------------------------------
1168
local Player_Size = 1
1169
if Player_Size ~= 1 then
1170
root.Size = root.Size * Player_Size
1171
tors.Size = tors.Size * Player_Size
1172
hed.Size = hed.Size * Player_Size
1173
ra.Size = ra.Size * Player_Size
1174
la.Size = la.Size * Player_Size
1175
rl.Size = rl.Size * Player_Size
1176
ll.Size = ll.Size * Player_Size
1177
----------------------------------------------------------------------------------
1178
rootj.Parent = root
1179
neck.Parent = tors
1180
RW.Parent = tors
1181
LW.Parent = tors
1182
RH.Parent = tors
1183
LH.Parent = tors
1184
----------------------------------------------------------------------------------
1185
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1186
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1187
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1188
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1189
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1190
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1191
----------------------------------------------------------------------------------
1192
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))
1193
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))
1194
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))
1195
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))
1196
--hat.Parent = Character
1197
end
1198
----------------------------------------------------------------------------------
1199
local SONG = 936414685
1200
local SONG2 = 0
1201
local Music = Instance.new("Sound",tors)
1202
Music.Volume = 2.5
1203
Music.Looped = true
1204
Music.Pitch = 1 --Pitcher
1205
----------------------------------------------------------------------------------
1206
local equipped = false
1207
local idle = 0
1208
local change = 1
1209
local val = 0
1210
local toim = 0
1211
local idleanim = 0.4
1212
local sine = 0
1213
local Sit = 1
1214
----------------------------------------------------------------------------------
1215
hum.WalkSpeed = 8
1216
hum.JumpPower = 57
1217
hum.Animator.Parent = nil
1218
----------------------------------------------------------------------------------
1219
local r = 255
1220
local g = 0
1221
local b = 0
1222
coroutine.resume(coroutine.create(function()
1223
	while wait() do
1224
		for i = 0, 50.8 do
1225
			swait()
1226
			g = g + 5
1227
		end
1228
		for i = 0, 50.8 do
1229
			swait()
1230
			r = r - 5
1231
		end
1232
		for i = 0, 50.8 do
1233
			swait()
1234
			b = b + 5
1235
		end
1236
		for i = 0, 50.8 do
1237
			swait()
1238
			g = g - 5
1239
		end
1240
		for i = 0, 50.8 do
1241
			swait()
1242
			r = r + 5
1243
		end
1244
		for i = 0, 50.8 do
1245
			swait()
1246
			b = b - 5
1247
		end
1248
	end
1249
end))
1250
----------------------------------------------------------------------------------
1251
local naeeym2 = IT("BillboardGui",char)
1252
naeeym2.AlwaysOnTop = true
1253
naeeym2.Size = UDim2.new(5,35,2,15)
1254
naeeym2.StudsOffset = Vector3.new(0,2,0)
1255
naeeym2.MaxDistance = 75
1256
naeeym2.Adornee = hed
1257
naeeym2.Name = "Name"
1258
local tecks2 = IT("TextLabel",naeeym2)
1259
tecks2.BackgroundTransparency = 1
1260
tecks2.TextScaled = true
1261
tecks2.BorderSizePixel = 0
1262
tecks2.Text = "I Am The Color-Blind."
1263
--tecks2.Font = "Cartoon"
1264
tecks2.TextSize = 30
1265
tecks2.TextStrokeTransparency = 0
1266
tecks2.TextColor3 = Color3.new(1,1,1)
1267
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1268
tecks2.Size = UDim2.new(1,0,0.5,0)
1269
tecks2.Parent = naeeym2
1270
hed.face.Texture = "rbxassetid://33752579"
1271
----------------------------------------------------------------------------------
1272
Reaper = IT("Model")
1273
Reaper.Parent = char
1274
Reaper.Name = "Reaper"
1275
RHe = IT("Part")
1276
RHe.Parent = Reaper
1277
RHe.BrickColor = BrickC("Really black")
1278
RHe.Locked = true
1279
RHe.CanCollide = false
1280
RHe.Transparency = 0
1281
PMesh = IT("SpecialMesh")
1282
RHe.formFactor =  "Symmetric"
1283
PMesh.MeshType = "FileMesh"
1284
PMesh.MeshId = "rbxassetid://1374148"
1285
PMesh.TextureId = "rbxassetid://185703978"
1286
PMesh.Scale = Vector3.new(1, 1, 1)
1287
PMesh.Parent = RHe
1288
local RWeld = IT("Weld")
1289
RWeld.Parent = RHe
1290
RWeld.Part0 = RHe
1291
RWeld.Part1 = hed
1292
RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
1293
-------------------------------------------------------
1294
--End Customization--
1295
-------------------------------------------------------
1296
1297
1298
-------------------------------------------------------
1299
--Start Attacks N Stuff--
1300
-------------------------------------------------------
1301
1302
-------------------------------------------------------
1303
--End Attacks N Stuff--
1304
-------------------------------------------------------
1305
mouse.KeyDown:connect(function(key)
1306
    if string.byte(key) == 48 then
1307
        Swing = 2
1308
        hum.WalkSpeed = 38.82
1309
	end
1310
end)
1311
mouse.KeyUp:connect(function(key)
1312
    if string.byte(key) == 48 then
1313
        Swing = 1
1314
        hum.WalkSpeed = 35
1315
	end
1316
end)
1317
1318
 
1319
1320
-------------------------------------------------------
1321
--Start Trails--
1322
-------------------------------------------------------
1323-
local Player = game:GetService("Players").LocalPlayer
1323+
local Player = owner
1324
repeat
1325
	wait()
1326
until Player.Character
1327
local Character = Player.Character
1328
TrailSettings = {
1329
	Lifetime = 2,
1330
	Texture = "http://www.roblox.com/asset/?id=632021011",
1331
	Color1 = ColorSequence.new(BrickColor.new("White").Color, BrickColor.new("White").Color),
1332
	Color2 = ColorSequence.new(BrickColor.new("White").Color, BrickColor.new("White").Color),
1333
	AllBody = true,
1334
	UpperBodyOnly = false,
1335
	LowerBodyOnly = false,
1336
	Accessories = false,
1337
	Extras = true,
1338
	R15 = false,
1339
	R15Parts = {"UpperTorso", "LowerTorso"}
1340
}
1341
local Trail
1342
function UpperBody()
1343
	if TrailSettings.R15 == false then
1344
		A0 = Instance.new("Attachment", Character.Torso)
1345
		A1 = Instance.new("Attachment", Character.Head)
1346
		A2 = Instance.new("Attachment", Character["Right Arm"])
1347
		A3 = Instance.new("Attachment", Character["Left Arm"])
1348
		Trail = Instance.new("Trail", Character)
1349
		Trail.Attachment0 = A0
1350
		Trail.Attachment1 = A1
1351
		Trail.Texture = TrailSettings.Texture
1352
		Trail.Color = TrailSettings.Color1
1353
		Trail.Lifetime = TrailSettings.Lifetime
1354
		local Trail2 = Trail:Clone()
1355
		Trail2.Parent = Character
1356
		Trail2.Attachment1 = A2
1357
		local Trail3 = Trail:Clone()
1358
		Trail3.Parent = Character
1359
		Trail3.Attachment1 = A3
1360
		local Trail6 = Trail:Clone()
1361
		Trail6.Parent = Character
1362
		Trail6.Attachment0 = A1
1363
		Trail6.Attachment1 = A2
1364
		local Trail7 = Trail:Clone()
1365
		Trail7.Parent = Character
1366
		Trail7.Attachment0 = A1
1367
		Trail7.Attachment1 = A3
1368
	else
1369
		A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
1370
		A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
1371
		A1 = Instance.new("Attachment", Character.Head)
1372
		A2 = Instance.new("Attachment", Character.RightUpperArm)
1373
		A2R = Instance.new("Attachment", Character.RightLowerArm)
1374
		A3 = Instance.new("Attachment", Character.LeftUpperArm)
1375
		A3R = Instance.new("Attachment", Character.LeftLowerArm)
1376
		Trail = Instance.new("Trail", Character)
1377
		Trail.Attachment0 = A0
1378
		Trail.Attachment1 = A1
1379
		Trail.Texture = TrailSettings.Texture
1380
		Trail.Color = TrailSettings.Color1
1381
		Trail.Lifetime = TrailSettings.Lifetime
1382
		local Trail2 = Trail:Clone()
1383
		Trail2.Parent = Character
1384
		Trail2.Attachment1 = A2
1385
		local Trail3 = Trail:Clone()
1386
		Trail3.Parent = Character
1387
		Trail3.Attachment1 = A3
1388
		local Trail6 = Trail:Clone()
1389
		Trail6.Parent = Character
1390
		Trail6.Attachment0 = A1
1391
		Trail6.Attachment1 = A2
1392
		local Trail7 = Trail:Clone()
1393
		Trail7.Parent = Character
1394
		Trail7.Attachment0 = A1
1395
		Trail7.Attachment1 = A3
1396
		local Trail1R = Trail:Clone()
1397
		Trail1R.Parent = Character
1398
		Trail1R.Attachment1 = A2R
1399
		local Trail2R = Trail:Clone()
1400
		Trail2R.Parent = Character
1401
		Trail2R.Attachment1 = A3R
1402
		local Trail6R = Trail:Clone()
1403
		Trail6.Parent = Character
1404
		Trail6.Attachment0 = A1
1405
		Trail6.Attachment1 = A2R
1406
		local Trail7R = Trail:Clone()
1407
		Trail7.Parent = Character
1408
		Trail7.Attachment0 = A1
1409
		Trail7.Attachment1 = A3R
1410
	end
1411
end
1412
function LowerBody()
1413
	if TrailSettings.R15 == false then
1414
		A4 = Instance.new("Attachment", Character["Right Leg"])
1415
		A5 = Instance.new("Attachment", Character["Left Leg"])
1416
		local Trail4 = Trail:Clone()
1417
		Trail4.Parent = Character
1418
		Trail4.Attachment1 = A4
1419
		local Trail5 = Trail:Clone()
1420
		Trail5.Parent = Character
1421
		Trail5.Attachment1 = A5
1422
		local Trail8 = Trail:Clone()
1423
		Trail8.Parent = Character
1424
		Trail8.Attachment0 = A2
1425
		Trail8.Attachment1 = A4
1426
		Trail8.Color = TrailSettings.Color2
1427
		local Trail9 = Trail:Clone()
1428
		Trail9.Parent = Character
1429
		Trail9.Attachment0 = A3
1430
		Trail9.Attachment1 = A5
1431
		Trail9.Color = TrailSettings.Color2
1432
		local FT = Trail:Clone()
1433
		FT.Parent = Character
1434
		FT.Attachment0 = A4
1435
		FT.Attachment1 = A5
1436
		FT.Color = TrailSettings.Color2
1437
	else
1438
		A4 = Instance.new("Attachment", Character.RightLowerLeg)
1439
		A4R = Instance.new("Attachment", Character.RightUpperLeg)
1440
		A5 = Instance.new("Attachment", Character.LeftLowerLeg)
1441
		A5R = Instance.new("Attachment", Character.LeftUpperLeg)
1442
		local Trail4 = Trail:Clone()
1443
		Trail4.Parent = Character
1444
		Trail4.Attachment1 = A4
1445
		local Trail5 = Trail:Clone()
1446
		Trail5.Parent = Character
1447
		Trail5.Attachment1 = A5
1448
		local Trail8 = Trail:Clone()
1449
		Trail8.Parent = Character
1450
		Trail8.Attachment0 = A2
1451
		Trail8.Attachment1 = A4
1452
		Trail8.Color = TrailSettings.Color2
1453
		local Trail9 = Trail:Clone()
1454
		Trail9.Parent = Character
1455
		Trail9.Attachment0 = A3
1456
		Trail9.Attachment1 = A5
1457
		Trail9.Color = TrailSettings.Color2
1458
		local FT = Trail:Clone()
1459
		FT.Parent = Character
1460
		FT.Attachment0 = A4
1461
		FT.Attachment1 = A5
1462
		FT.Color = TrailSettings.Color2
1463
		local Trail3R = Trail:Clone()
1464
		Trail3R.Parent = Character
1465
		Trail3R.Attachment1 = A4R
1466
		local Trail4R = Trail:Clone()
1467
		Trail4R.Parent = Character
1468
		Trail4R.Attachment1 = A5R
1469
		local Trail8 = Trail:Clone()
1470
		Trail8.Parent = Character
1471
		Trail8.Attachment0 = A2R
1472
		Trail8.Attachment1 = A4R
1473
		Trail8.Color = TrailSettings.Color2
1474
		local Trail9 = Trail:Clone()
1475
		Trail9.Parent = Character
1476
		Trail9.Attachment0 = A3R
1477
		Trail9.Attachment1 = A5R
1478
		Trail9.Color = TrailSettings.Color2
1479
		local FT2R = Trail:Clone()
1480
		FT2R.Parent = Character
1481
		FT2R.Attachment0 = A4R
1482
		FT2R.Attachment1 = A5R
1483
		FT2R.Color = TrailSettings.Color2
1484
	end
1485
end
1486
function AllBody()
1487
	UpperBody()
1488
	LowerBody()
1489
end
1490
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1491
	TrailSettings.UpperBodyOnly = false
1492
	TrailSettings.LowerBodyOnly = false
1493
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
1494
	TrailSettings.UpperBodyOnly = false
1495
	TrailSettings.LowerBodyOnly = false
1496
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
1497
	TrailSettings.UpperBodyOnly = false
1498
	TrailSettings.LowerBodyOnly = false
1499
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1500
	TrailSettings.AllBody = true
1501
	TrailSettings.UpperBodyOnly = false
1502
	TrailSettings.LowerBodyOnly = false
1503
end
1504
if TrailSettings.UpperBodyOnly == true then
1505
	UpperBody()
1506
	print("Called Upper Body Trail")
1507
elseif TrailSettings.LowerBodyOnly == true then
1508
	LowerBody()
1509
	print("Called Lower Body Trail")
1510
elseif TrailSettings.AllBody == true then
1511
	AllBody()
1512
	print("Called Full Body Trail")
1513
end
1514
if TrailSettings.Accessories == true then
1515
	for Index, Item in pairs(Character:GetChildren()) do
1516
		if Item:IsA("Accessory") then
1517
			local AA = Instance.new("Attachment", Item.Handle)
1518
			local ATrail = Trail:Clone()
1519
			ATrail.Parent = Character
1520
			ATrail.Attachment1 = AA
1521
		end
1522
	end
1523
end
1524
if TrailSettings.Extras == true then
1525
	spawn(function()
1526
		repeat
1527
			wait()
1528
		until Trail
1529
		local AB = Instance.new("Attachment", a)
1530
		local ABT = Trail:Clone()
1531
		ABT.Parent = Character
1532
		ABT.Attachment0 = A4
1533
		ABT.Attachment1 = AB
1534
		ABT.Color = TrailSettings.Color2
1535
		local ABT2 = Trail:Clone()
1536
		ABT2.Parent = Character
1537
		ABT2.Attachment0 = A5
1538
		ABT2.Attachment1 = AB
1539
		ABT2.Color = TrailSettings.Color2
1540
	end)
1541
end
1542
1543
1544
1545
-------------------------------------------------------
1546
--Start Particles--
1547
-------------------------------------------------------
1548
1549
emitters={}
1550
for i,v in pairs(char:GetChildren()) do
1551
if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
1552
local emitter = Instance.new("ParticleEmitter",v)
1553
emitter.LightEmission = 1
1554
emitter.Transparency = NumberSequence.new(0.95,1)
1555
emitter.Size = NumberSequence.new(2,5)
1556
emitter.SpreadAngle = Vector2.new(360,360)
1557
emitter.Speed = NumberRange.new(1)
1558
emitter.Lifetime = NumberRange.new(0.75)
1559
emitter.Texture = "rbxassetid://632021011"
1560
emitter.Rate = 20
1561
emitter.Color = ColorSequence.new(Color3.new(3.15,0,0))
1562
emitter.LockedToPart = true
1563
table.insert(emitters,emitter)
1564
end
1565
end
1566
1567
-------------------------------------------------------
1568
--Taunt--
1569
-------------------------------------------------------
1570
function Taunt()
1571
	ATTACK = true
1572
	local LAUGH = nil
1573
	coroutine.resume(coroutine.create(function()
1574
		repeat
1575
			Swait()
1576
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1577
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1578
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1579
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1580
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1581
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1582
		until LAUGH ~= nil
1583
		repeat
1584
			Swait()
1585
			LAUGH.Parent = Head
1586
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1587
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/55)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
1588
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/55), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1589
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/55), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1590
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1591
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1592
		until LAUGH.Playing == false
1593
	ATTACK = false
1594
	end))
1595
	wait(0.1)
1596
	sick:Stop()
1597
	LAUGH = CreateSound(846221985, Head, 10, 1, false)
1598
	sick:Resume()
1599
end
1600
1601
function Stop()
1602
	ATTACK = false
1603
	wait(0.1)
1604
	sick:Stop()
1605
	sick:Resume()
1606
        LAUGH = CreateSound(846221985, Head, 10, 1, false)
1607
        LAUGH:Stop()
1608
        Rooted = false
1609
        ATTACK = false
1610
end
1611
1612
1613
1614
-------------------------------------------------------
1615
--Keys--
1616
-------------------------------------------------------
1617
if Key == "t" and ATTACK == false then
1618
		Taunt()
1619
	end
1620
1621
 if Key == "p" and ATTACK == false then
1622
		Stop()
1623
	end
1624
1625
-------------------------------------------------------
1626
--Start Animations--
1627
-------------------------------------------------------
1628
while true do
1629
	swait()
1630
	sine = sine + change
1631
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1632
	local velderp = root.Velocity.y
1633
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1634
	if equipped == true or equipped == false then
1635
		if attack == false then
1636
			idle = idle + 1
1637
		else
1638
			idle = 0
1639
		end
1640
		tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
1641
		if 1 < root.Velocity.y and hitfloor == nil then
1642
			Anim = "Jump"
1643
			if attack == false then
1644
				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)
1645
				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)
1646
				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)
1647
				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)
1648
				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)
1649
				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)
1650
			end
1651
		elseif -1 > root.Velocity.y and hitfloor == nil then
1652
			Anim = "Fall"
1653
			if attack == false then
1654
				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)
1655
				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)
1656
				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)
1657
				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)
1658
				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)
1659
				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)
1660
			end
1661
		elseif torvel < 1 and hitfloor ~= nil then
1662
			Anim = "Idle"
1663
			change = .5
1664
			if attack == false then
1665
				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)
1666
				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)
1667
				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)
1668
				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)
1669
				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)
1670
				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)
1671
			end
1672
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
1673
			Anim = "Walk"
1674
			change = .9
1675
			if attack == false then
1676
				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)
1677
				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)
1678
				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)
1679
         		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)
1680
				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)
1681
				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)
1682
			end
1683
		elseif torvel >= 25 and hitfloor ~= nil then
1684
			Anim = "Sprint"
1685
			change = 1.35
1686
			if attack == false then
1687
			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)
1688
			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)
1689
			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)
1690
         	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)
1691
			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)
1692
			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)
1693
			end
1694
		end
1695
	end
1696
	Music.SoundId = "rbxassetid://"..SONG
1697
	Music.Looped = true
1698
	Music.Pitch = 1
1699
	Music.Volume = 5
1700
	Music.Parent = tors
1701
	Music:Resume()
1702
	if 0 < #Effects then
1703
		for e = 1, #Effects do
1704
			if Effects[e] ~= nil then
1705
				local Thing = Effects[e]
1706
				if Thing ~= nil then
1707
					local Part = Thing[1]
1708
					local Mode = Thing[2]
1709
					local Delay = Thing[3]
1710
					local IncX = Thing[4]
1711
					local IncY = Thing[5]
1712
					local IncZ = Thing[6]
1713
					if 1 >= Thing[1].Transparency then
1714
						if Thing[2] == "Block1" then
1715
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1716
							local Mesh = Thing[1].Mesh
1717
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1718
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1719
						elseif Thing[2] == "Block2" then
1720
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1721
							local Mesh = Thing[7]
1722
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1723
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1724
						elseif Thing[2] == "Block3" then
1725
							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)
1726
							local Mesh = Thing[7]
1727
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1728
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1729
						elseif Thing[2] == "Cylinder" then
1730
							local Mesh = Thing[1].Mesh
1731
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1732
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1733
						elseif Thing[2] == "Blood" then
1734
							local Mesh = Thing[7]
1735
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1736
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1737
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1738
						elseif Thing[2] == "Elec" then
1739
							local Mesh = Thing[1].Mesh
1740
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1741
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1742
						elseif Thing[2] == "Disappear" then
1743
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1744
						elseif Thing[2] == "Shatter" then
1745
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1746
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1747
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1748
							Thing[6] = Thing[6] + Thing[5]
1749
						end
1750
					else
1751
						Part.Parent = nil
1752
						table.remove(Effects, e)
1753
					end
1754
				end
1755
			end
1756
		end
1757
	end
1758
end
1759
-------------------------------------------------------
1760
--End Animations And Script--
1761
-------------------------------------------------------