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