View difference between Paste ID: 2Reyxdnk and tLKW9P5y
SHOW: | | - or go back to the newest paste.
1
wait(0.016666666666666666)
2
Effects = {}
3
local s = Instance.new("Sound")
4
 
5
s.Name = "Sound"
6-
s.SoundId = "http://www.roblox.com/asset/?id=294264993"
6+
s.SoundId = "http://www.roblox.com/asset/?id=261558095"
7-
s.Volume = 4
7+
s.Volume = 5
8
s.Looped = true
9
s.archivable = true
10
 
11
s.Parent = game.Workspace
12
 
13
wait(3)
14
 
15
s:play()
16
local Player = game.Players.localPlayer
17
local Character = Player.Character
18
local Humanoid = Character.Humanoid
19
Humanoid.WalkSpeed = 100
20
local Mouse = Player:GetMouse()
21
local LeftArm = Character["Left Arm"]
22
local RightArm = Character["Right Arm"]
23
local LeftLeg = Character["Left Leg"]
24
local RightLeg = Character["Right Leg"]
25
local Head = Character.Head
26
local Torso = Character.Torso
27
local Camera = game.Workspace.CurrentCamera
28
local RootPart = Character.HumanoidRootPart
29
local RootJoint = RootPart.RootJoint
30
local attack = false
31
local Anim = "Idle"
32
local attacktype = 1
33
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
34
local velocity = RootPart.Velocity.y
35
local sine = 0
36
local change = 1
37
local Create = LoadLibrary("RbxUtility").Create
38
Humanoid.Health = math.huge
39
Instance.new("ForceField", Character).Visible = false
40
hit = nil
41
oof = false
42
for y, t in pairs(Character:GetChildren()) do
43
end
44
DHandle = Instance.new("Part")
45
DMesh = Instance.new("SpecialMesh")
46
DWeld = Instance.new("Weld")
47
DHandle.Parent = Character
48
DHandle.Name = "Handle"
49
DHandle.CanCollide = false
50
DHandle.Locked = true
51
DHandle.Size = Vector3.new(1.93, 1.77, 1.6)
52
DMesh.Parent = DHandle
53
DMesh.Scale = DMesh.Scale
54
DWeld.Parent = DHandle
55
DWeld.Name = "no"
56
DWeld.Part0 = Head
57
DWeld.Part1 = DHandle
58
DWeld.C0 = CFrame.new(0, 0.4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), 0, 0)
59
VertexColor = Vector3.new(1, 1, 1)
60
DHandle.Transparency = 0
61
DMesh.MeshId = "http://www.roblox.com/asset/?id=0"
62
DMesh.TextureId = "http://www.roblox.com/asset/?id=0"
63
local m = Create("Model")({
64
	Parent = Character,
65
	Name = "WeaponModel"
66
})
67
Humanoid.Animator.Parent = nil
68
Character.Animate.Parent = nil
69
local function newMotor(part0, part1, c0, c1)
70
	local w = Create("Motor")({
71
		Parent = part0,
72
		Part0 = part0,
73
		Part1 = part1,
74
		C0 = c0,
75
		C1 = c1
76
	})
77
	return w
78
end
79
function clerp(a, b, t)
80
	return a:lerp(b, t)
81
end
82
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
83
NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
84
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
85
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
86
local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
87
local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
88
RootJoint.C1 = CFrame.new(0, 0, 0)
89
RootJoint.C0 = CFrame.new(0, 0, 0)
90
Torso.Neck.C1 = CFrame.new(0, 0, 0)
91
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
92
local rarmc1 = RW.C1
93
local larmc1 = LW.C1
94
local rlegc1 = RH.C1
95
local llegc1 = LH.C1
96
local resetc1 = false
97
function PlayAnimationFromTable(table, speed, bool)
98
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
99
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
100
	RW.C0 = clerp(RW.C0, table[3], speed)
101
	LW.C0 = clerp(LW.C0, table[4], speed)
102
	RH.C0 = clerp(RH.C0, table[5], speed)
103
	LH.C0 = clerp(LH.C0, table[6], speed)
104
	if bool == true and resetc1 == false then
105
		resetc1 = true
106
		RootJoint.C1 = RootJoint.C1
107
		Torso.Neck.C1 = Torso.Neck.C1
108
		RW.C1 = rarmc1
109
		LW.C1 = larmc1
110
		RH.C1 = rlegc1
111
		LH.C1 = llegc1
112
	end
113
end
114
ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
115
script:WaitForChild("Heartbeat")
116
frame = 0.002
117
tf = 0
118
allowframeloss = false
119
tossremainder = false
120
lastframe = tick()
121
script.Heartbeat:Fire()
122
game:GetService("RunService").Heartbeat:connect(function(s, p)
123
	tf = tf + s
124
	if tf >= frame then
125
		if allowframeloss then
126
			script.Heartbeat:Fire()
127
			lastframe = tick()
128
		else
129
			for i = 1, math.floor(tf / frame) do
130
				script.Heartbeat:Fire()
131
			end
132
			lastframe = tick()
133
		end
134
		if tossremainder then
135
			tf = 0
136
		else
137
			tf = tf - frame * math.floor(tf / frame)
138
		end
139
	end
140
end)
141
function swait(num)
142
	if num == 0 or num == nil then
143
		ArtificialHB.Event:wait()
144
	else
145
		for i = 0, num do
146
			ArtificialHB.Event:wait()
147
		end
148
	end
149
end
150
function RemoveOutlines(part)
151
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
152
end
153
CFuncs = {
154
	Part = {
155
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
156
			local Part = Create("Part")({
157
				Parent = Parent,
158
				Reflectance = Reflectance,
159
				Transparency = Transparency,
160
				CanCollide = false,
161
				Locked = true,
162
				BrickColor = BrickColor.new(tostring(BColor)),
163
				Name = Name,
164
				Size = Size,
165
				Material = Material
166
			})
167
			RemoveOutlines(Part)
168
			if Size == Vector3.new() then
169
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
170
			else
171
				Part.Size = Size
172
			end
173
			return Part
174
		end
175
	},
176
	Mesh = {
177
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
178
			local Msh = Create(Mesh)({
179
				Parent = Part,
180
				Offset = OffSet,
181
				Scale = Scale
182
			})
183
			if Mesh == "SpecialMesh" then
184
				Msh.MeshType = MeshType
185
				Msh.MeshId = MeshId
186
			end
187
			return Msh
188
		end
189
	},
190
	Weld = {
191
		Create = function(Parent, Part0, Part1, C0, C1)
192
			local Weld = Create("Weld")({
193
				Parent = Parent,
194
				Part0 = Part0,
195
				Part1 = Part1,
196
				C0 = C0,
197
				C1 = C1
198
			})
199
			return Weld
200
		end
201
	},
202
	Sound = {
203
		Create = function(id, par, vol, pit)
204
			local Sound = Create("Sound")({
205
				Volume = vol,
206
				Pitch = pit or 1,
207
				SoundId = "rbxassetid://" .. id,
208
				Parent = par or workspace
209
			})
210
			Sound:play()
211
		
212
		end
213
	},
214
	Decal = {
215
		Create = function(Color, Texture, Transparency, Name, Parent)
216
			local Decal = Create("Decal")({
217
				Color3 = Color,
218
				Texture = "rbxassetid://" .. Texture,
219
				Transparency = Transparency,
220
				Name = Name,
221
				Parent = Parent
222
			})
223
			return Decal
224
		end
225
	},
226
	BillboardGui = {
227
		Create = function(Parent, Image, Position, Size)
228
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
229
			BillPar.CFrame = CFrame.new(Position)
230
			local Bill = Create("BillboardGui")({
231
				Parent = BillPar,
232
				Adornee = BillPar,
233
				Size = UDim2.new(1, 0, 1, 0),
234
				SizeOffset = Vector2.new(Size, Size)
235
			})
236
			local d = Create("ImageLabel", Bill)({
237
				Parent = Bill,
238
				BackgroundTransparency = 1,
239
				Size = UDim2.new(1, 0, 1, 0),
240
				Image = "rbxassetid://" .. Image
241
			})
242
			return BillPar
243
		end
244
	},
245
	ParticleEmitter = {
246
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
247
			local Particle = Create("ParticleEmitter")({
248
				Parent = Parent,
249
				Color = ColorSequence.new(Color1, Color2),
250
				LightEmission = LightEmission,
251
				Size = Size,
252
				Texture = Texture,
253
				Transparency = Transparency,
254
				ZOffset = ZOffset,
255
				Acceleration = Accel,
256
				Drag = Drag,
257
				LockedToPart = LockedToPart,
258
				VelocityInheritance = VelocityInheritance,
259
				EmissionDirection = EmissionDirection,
260
				Enabled = Enabled,
261
				Lifetime = LifeTime,
262
				Rate = Rate,
263
				Rotation = Rotation,
264
				RotSpeed = RotSpeed,
265
				Speed = Speed,
266
				VelocitySpread = VelocitySpread
267
			})
268
			return Particle
269
		end
270
	},
271
	CreateTemplate = {}
272
}
273
function rayCast(Position, Direction, Range, Ignore)
274
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
275
end
276
function FindNearestTorso(Position, Distance, SinglePlayer)
277
	if SinglePlayer then
278
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
279
	end
280
	local List = {}
281
	for i, v in pairs(workspace:GetChildren()) do
282
		if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
283
			table.insert(List, v)
284
		end
285
	end
286
	return List
287
end
288
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
289
	if hit.Parent == nil then
290
		return
291
	end
292
	local h = hit.Parent:FindFirstChild("Part")
293
	for _, v in pairs(hit.Parent:children()) do
294
		if v:IsA("Part") then
295
			h = v
296
		end
297
	end
298
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent.Name ~= "Base" and hit ~= nil then
299
		if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
300
			return
301
		end
302
		local c = Create("ObjectValue")({
303
			Name = "creator",
304
			Value = game:service("Players").LocalPlayer,
305
			Parent = h
306
		})
307
		game:GetService("Debris"):AddItem(c, 0.5)
308
		CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
309
		local Damage = math.random(minim, maxim)
310
		local blocked = false
311
		local block = hit.Parent:findFirstChild("Block")
312
		if block ~= nil and block.className == "IntValue" and block.Value > 0 then
313
			blocked = true
314
			block.Value = block.Value - 1
315
			print(block.Value)
316
		end
317
		if Type == "Knockdown" then
318
			local hum = hit.Parent.Humanoid
319
			hum.PlatformStand = true
320
			coroutine.resume(coroutine.create(function(HHumanoid)
321
				swait(1)
322
				HHumanoid.PlatformStand = false
323
			end), hum)
324
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
325
			local bodvol = Create("BodyVelocity")({
326
				velocity = angle * knockback,
327
				P = 5000,
328
				maxForce = Vector3.new(8000, 8000, 8000),
329
				Parent = hit
330
			})
331
			local rl = Create("BodyAngularVelocity")({
332
				P = 3000,
333
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
334
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
335
				Parent = hit
336
			})
337
			game:GetService("Debris"):AddItem(bodvol, 0.5)
338
			game:GetService("Debris"):AddItem(rl, 0.5)
339
		elseif Type == "Normal" then
340
			local vp = Create("BodyVelocity")({
341
				P = 500,
342
				maxForce = Vector3.new(math.huge, 0, math.huge),
343
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
344
			})
345
			if knockback > 0 then
346
				vp.Parent = hit
347
				hit.Parent = workspace
348
				hit.Anchored = false
349
				hit.CanCollide = false
350
				hit:BreakJoints()
351
			end
352
			game:GetService("Debris"):AddItem(vp, 0.5)
353
		elseif Type == "Up" then
354
			local bodyVelocity = Create("BodyVelocity")({
355
				velocity = Vector3.new(0, 20, 0),
356
				P = 5000,
357
				maxForce = Vector3.new(8000, 8000, 8000),
358
				Parent = hit
359
			})
360
			game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
361
		elseif Type == "DarkUp" then
362
			coroutine.resume(coroutine.create(function()
363
				for i = 0, 1, 0.1 do
364
					swait()
365
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
366
				end
367
			end))
368
			local bodyVelocity = Create("BodyVelocity")({
369
				velocity = Vector3.new(0, 20, 0),
370
				P = 5000,
371
				maxForce = Vector3.new(8000, 8000, 8000),
372
				Parent = hit
373
			})
374
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
375
		elseif Type == "Snare" then
376
			local bp = Create("BodyPosition")({
377
				P = 2000,
378
				D = 100,
379
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
380
				position = hit.Parent.Torso.Position,
381
				Parent = hit.Parent.Torso
382
			})
383
			game:GetService("Debris"):AddItem(bp, 1)
384
		elseif Type == "Freeze" then
385
			local BodPos = Create("BodyPosition")({
386
				P = 50000,
387
				D = 1000,
388
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
389
				position = hit.Parent.Torso.Position,
390
				Parent = hit.Parent.Torso
391
			})
392
			local BodGy = Create("BodyGyro")({
393
				maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
394
				P = 20000,
395
				Parent = hit.Parent.Torso,
396
				cframe = hit.Parent.Torso.CFrame
397
			})
398
			hit.Parent.Torso.Anchored = true
399
			coroutine.resume(coroutine.create(function(Part)
400
				swait(1.5)
401
				Part.Anchored = false
402
			end), hit.Parent.Torso)
403
			game:GetService("Debris"):AddItem(BodPos, 3)
404
			game:GetService("Debris"):AddItem(BodGy, 3)
405
		end
406
		local debounce = Create("BoolValue")({
407
			Name = "DebounceHit",
408
			Parent = hit.Parent,
409
			Value = true
410
		})
411
		game:GetService("Debris"):AddItem(debounce, Delay)
412
		c = Create("ObjectValue")({
413
			Name = "creator",
414
			Value = Player,
415
			Parent = h
416
		})
417
		game:GetService("Debris"):AddItem(c, 0.5)
418
	end
419
end
420
function ShowDamage(Pos, Text, Time, Color)
421
	local Rate = 0.03333333333333333
422
	local Pos = Pos or Vector3.new(0, 0, 0)
423
	local Text = Text or ""
424
	local Time = Time or 2
425
	local Color = Color or Color3.new(1, 0, 1)
426
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
427
	EffectPart.Anchored = true
428
	local BillboardGui = Create("BillboardGui")({
429
		Size = UDim2.new(3, 0, 3, 0),
430
		Adornee = EffectPart,
431
		Parent = EffectPart
432
	})
433
	local TextLabel = Create("TextLabel")({
434
		BackgroundTransparency = 1,
435
		Size = UDim2.new(1, 0, 1, 0),
436
		Text = Text,
437
		Font = "Garamond",
438
		TextColor3 = Torso.Color,
439
		TextScaled = true,
440
		Parent = BillboardGui
441
	})
442
	game.Debris:AddItem(EffectPart, Time)
443
	EffectPart.Parent = game:GetService("Workspace")
444
	delay(0, function()
445
		local Frames = Time / Rate
446
		for Frame = 1, Frames do
447
			wait(Rate)
448
			local Percent = Frame / Frames
449
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
450
			TextLabel.TextTransparency = Percent
451
		end
452
		if EffectPart and EffectPart.Parent then
453
			EffectPart:Destroy()
454
		end
455
	end)
456
end
457
sound = Instance.new("Sound", Character)
458
sound.SoundId = "rbxassetid://1101468563"
459
sound.Volume = 0
460
sound.EmitterSize = 25
461
sound:Play()
462
sound.Looped = true
463
CV = "Maroon"
464
Player = game.Players.LocalPlayer
465
char = Player.Character
466
local txt = Instance.new("BillboardGui", Character)
467
txt.Adornee = Character.Head
468
txt.Name = "_status"
469
txt.Size = UDim2.new(2, 0, 1.2, 0)
470
txt.StudsOffset = Vector3.new(-9, 8, 0)
471
local text = Instance.new("TextLabel", txt)
472
text.Size = UDim2.new(10, 0, 7, 0)
473
text.FontSize = "Size24"
474
text.TextScaled = true
475
text.TextTransparency = 0
476
text.BackgroundTransparency = 1
477
text.TextTransparency = 0
478
text.TextStrokeTransparency = 1
479
text.Font = "Cartoon"
480
v = Instance.new("Part")
481
v.Name = "ColorBrick"
482
v.Parent = Player.Character
483
v.FormFactor = "Symmetric"
484
v.Anchored = true
485
v.CanCollide = false
486
v.BottomSurface = "Smooth"
487
v.TopSurface = "Smooth"
488
v.Size = Vector3.new(10, 5, 3)
489
v.Transparency = 1
490
v.CFrame = Character.Torso.CFrame
491
v.BrickColor = BrickColor.new(CV)
492
v.Transparency = 1
493
touchCounter = 0
494
local cR=255
495
local cG=0
496
local cB=0
497
local flg5=1 local omgidk=1
498
local add=15
499
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
500
	if omgidk>10000 then omgidk=0 end
501
	omgidk=omgidk+1
502
	if cR>=255 then flg5=1 end
503
	if cG>=255 then flg5=2 end
504
	if cB>=255 then flg5=3 end
505
	if flg5==1 then cR=cR-add cG=cG+add end
506
	if flg5==2 then cG=cG-add cB=cB+add end
507
	if flg5==3 then cB=cB-add cR=cR+add end
508
	color=Color3.fromRGB(cR,cG,cB)
509
	text.TextColor3 = color
510
end)
511
v.Shape = "Block"
512
text.Text = "A minecraft pro but with a rainbow shovel"
513
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
514
	for _, c in pairs(workspace:children()) do
515
		local hum = c:findFirstChild("Humanoid")
516
		if hum ~= nil then
517
			local head = hit
518
			if head ~= nil then
519
				local targ = head.Position - Part.Position
520
				local mag = targ.magnitude
521
				if Magnitude >= mag and c.Name ~= Player.Name then
522
					CFuncs.Sound.Create("324867021", head, 1, 1)
523
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
524
				end
525
			end
526
		end
527
	end
528
end
529
Handle = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 1, "Bright green", "Handle", Vector3.new(1, 1.20000005, 1))
530
HandleWeld = CFuncs.Weld.Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.435136795, -0.716373444, -0.168147802, -0.184279382, -0.967371345, 0.173878923, -0.0978992507, -0.157963246, -0.982580066, 0.977986097, -0.198091835, -0.0655955523))
531
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part", Vector3.new(1, 1.20000005, 1))
532
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.36849213E-5, 4.00039482, -5.86509705E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
533
CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.0500000007))
534
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part1", Vector3.new(1, 1.20000005, 1))
535
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.67979431E-5, -4.00035858, 0.499849081, -0.999994338, 5.56639861E-6, 1.65775418E-6, 5.24974894E-6, 0.999995232, -5.0291419E-6, -3.25776637E-6, -5.08874655E-6, -0.999990761))
536
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.0500000007, 1, 0.600000024))
537
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part2", Vector3.new(1, 1.20000005, 1))
538
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.17232513E-5, 3.20031929, -3.71932983E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
539
CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.60000002, 0.400000006, 0.0500000007))
540
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part3", Vector3.new(1, 1.20000005, 1))
541
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.48905945E-5, -4.00033379, 0.499926567, 1, -5.21628408E-6, -3.65823939E-6, 5.21626544E-6, 1, -5.09625352E-6, 3.658266E-6, 5.09623442E-6, 1))
542
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.0500000007, 1, 0.600000024))
543
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part4", Vector3.new(1, 1.20000005, 1))
544
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.74724579E-5, 2.90030861, -2.95639038E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
545
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 0.400000006, 0.400000006))
546
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part5", Vector3.new(1, 1.20000005, 1))
547
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0976924896, -1.42856026, 1.57356262E-5, 3.90782952E-6, 0.275675088, -0.961250901, 5.61308116E-6, -0.96125102, -0.275675088, -1.00000012, -4.33286186E-6, -5.2973628E-6))
548
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
549
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part6", Vector3.new(1, 1.20000005, 1))
550
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.93119049E-5, -0.700065613, 1.33514404E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
551
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
552
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part7", Vector3.new(1, 1.20000005, 1))
553
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0726666451, 1.43006897, 1.62124634E-5, -5.01610339E-6, 0.258840203, 0.96592015, -3.55858356E-6, 0.96592021, -0.258840173, -1.00000012, -4.73321415E-6, -3.92459333E-6))
554
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
555
Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part8", Vector3.new(1, 1.20000005, 1))
556
PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.14848328E-5, 4.36306E-5, 2.00019836, 1, -5.38327731E-6, -2.46055424E-6, -2.4586916E-6, 8.36700201E-6, -1, 5.40760811E-6, 1, 8.37445259E-6))
557
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
558
Shaft = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Brown", "Shaft", Vector3.new(0.3, 3.60000014, 0.3))
559
ShaftWeld = CFuncs.Weld.Create(m, Handle, Shaft, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.21729279E-5, 1.20008087, -2.24113464E-5, 3.14228237E-6, 4.38094139E-6, -1.00000012, 2.94635538E-6, -1, -4.38839197E-6, -1, -2.95066275E-6, -3.14228237E-6))
560
Hitbox = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Hitbox", Vector3.new(7, 3, 3))
561
HitboxWeld = CFuncs.Weld.Create(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.19377899, -0.184207916, -0.14117223, -5.3447485E-4, 0.99471724, -0.102652542, -0.999858558, 0.00119461119, 0.0167820305, 0.0168160032, 0.102646977, 0.994575679))
562
sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
563
sref.Anchored = true
564
local cR=255
565
local cG=0
566
local cB=0
567
local flg5=1 local omgidk=1
568
local add=15
569
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
570
	if omgidk>10000 then omgidk=0 end
571
	omgidk=omgidk+1
572
	if cR>=255 then flg5=1 end
573
	if cG>=255 then flg5=2 end
574
	if cB>=255 then flg5=3 end
575
	if flg5==1 then cR=cR-add cG=cG+add end
576
	if flg5==2 then cG=cG-add cB=cB+add end
577
	if flg5==3 then cB=cB-add cR=cR+add end
578
	color=Color3.fromRGB(cR,cG,cB)
579
	local d = Character.WeaponModel
580
	d.Shaft.Color = color
581
	d.Part.Color = color
582
	d.Part1.Color = color
583
	d.Part2.Color = color
584
	d.Part3.Color = color
585
	d.Part4.Color = color
586
	d.Part5.Color = color
587
	d.Part6.Color = color
588
	d.Part7.Color = color
589
	d.Part8.Color = color
590
	d.Part.Material = Enum.Material.Neon
591
	d.Part1.Material = Enum.Material.Neon
592
	d.Part2.Material = Enum.Material.Neon
593
	d.Part3.Material = Enum.Material.Neon
594
	d.Part4.Material = Enum.Material.Neon
595
	d.Part5.Material = Enum.Material.Neon
596
	d.Part6.Material = Enum.Material.Neon
597
	d.Part7.Material = Enum.Material.Neon
598
	d.Part8.Material = Enum.Material.Neon
599
end)
600
EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
601
Effects = {
602
	Block = {
603
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
604
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
605
			prt.Anchored = true
606
			prt.CFrame = cframe
607
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
608
			game:GetService("Debris"):AddItem(prt, 10)
609
			if Type == 1 or Type == nil then
610
				table.insert(Effects, {
611
					prt,
612
					"Block1",
613
					delay,
614
					x3,
615
					y3,
616
					z3,
617
					msh
618
				})
619
			elseif Type == 2 then
620
				table.insert(Effects, {
621
					prt,
622
					"Block2",
623
					delay,
624
					x3,
625
					y3,
626
					z3,
627
					msh
628
				})
629
			end
630
		end
631
	},
632
	Cylinder = {
633
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
634
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
635
			prt.Anchored = true
636
			prt.CFrame = cframe
637
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
638
			game:GetService("Debris"):AddItem(prt, 2)
639
			table.insert(Effects, {
640
				prt,
641
				"Cylinder",
642
				delay,
643
				x3,
644
				y3,
645
				z3,
646
				msh
647
			})
648
		end
649
	},
650
	Head = {
651
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
652
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
653
			prt.Anchored = true
654
			prt.CFrame = cframe
655
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
656
			game:GetService("Debris"):AddItem(prt, 10)
657
			table.insert(Effects, {
658
				prt,
659
				"Cylinder",
660
				delay,
661
				x3,
662
				y3,
663
				z3,
664
				msh
665
			})
666
		end
667
	},
668
	Sphere = {
669
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
670
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
671
			prt.Anchored = true
672
			prt.CFrame = cframe
673
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
674
			game:GetService("Debris"):AddItem(prt, 10)
675
			table.insert(Effects, {
676
				prt,
677
				"Cylinder",
678
				delay,
679
				x3,
680
				y3,
681
				z3,
682
				msh
683
			})
684
		end
685
	},
686
	Elect = {
687
		Create = function(cff, x, y, z)
688
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
689
			prt.Anchored = true
690
			prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
691
			prt.CFrame = CFrame.new(prt.Position)
692
			game:GetService("Debris"):AddItem(prt, 2)
693
			local xval = math.random() / 2
694
			local yval = math.random() / 2
695
			local zval = math.random() / 2
696
			local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
697
			table.insert(Effects, {
698
				prt,
699
				"Elec",
700
				0.1,
701
				x,
702
				y,
703
				z,
704
				xval,
705
				yval,
706
				zval
707
			})
708
		end
709
	},
710
	Ring = {
711
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
712
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
713
			prt.Anchored = true
714
			prt.CFrame = cframe
715
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
716
			game:GetService("Debris"):AddItem(prt, 10)
717
			table.insert(Effects, {
718
				prt,
719
				"Cylinder",
720
				delay,
721
				x3,
722
				y3,
723
				z3,
724
				msh
725
			})
726
		end
727
	},
728
	Wave = {
729
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
730
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
731
			prt.Anchored = true
732
			prt.CFrame = cframe
733
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
734
			game:GetService("Debris"):AddItem(prt, 10)
735
			table.insert(Effects, {
736
				prt,
737
				"Cylinder",
738
				delay,
739
				x3,
740
				y3,
741
				z3,
742
				msh
743
			})
744
		end
745
	},
746
	Break = {
747
		Create = function(brickcolor, cframe, x1, y1, z1)
748
			local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
749
			prt.Anchored = true
750
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
751
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
752
			local num = math.random(10, 50) / 1000
753
			game:GetService("Debris"):AddItem(prt, 10)
754
			table.insert(Effects, {
755
				prt,
756
				"Shatter",
757
				num,
758
				prt.CFrame,
759
				math.random() - math.random(),
760
				0,
761
				math.random(50, 100) / 100
762
			})
763
		end
764
	},
765
	Fire = {
766
		Create = function(brickcolor, cframe, x1, y1, z1, delay)
767
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
768
			prt.Anchored = true
769
			prt.CFrame = cframe
770
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
771
			game:GetService("Debris"):AddItem(prt, 10)
772
			table.insert(Effects, {
773
				prt,
774
				"Fire",
775
				delay,
776
				1,
777
				1,
778
				1,
779
				msh
780
			})
781
		end
782
	},
783
	FireWave = {
784
		Create = function(brickcolor, cframe, x1, y1, z1)
785
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
786
			prt.Anchored = true
787
			prt.CFrame = cframe
788
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
789
			local d = Create("Decal")({
790
				Parent = prt,
791
				Texture = "rbxassetid://26356434",
792
				Face = "Top"
793
			})
794
			local d = Create("Decal")({
795
				Parent = prt,
796
				Texture = "rbxassetid://26356434",
797
				Face = "Bottom"
798
			})
799
			game:GetService("Debris"):AddItem(prt, 10)
800
			table.insert(Effects, {
801
				prt,
802
				"FireWave",
803
				1,
804
				30,
805
				math.random(400, 600) / 100,
806
				msh
807
			})
808
		end
809
	},
810
	Lightning = {
811
		Create = function(p0, p1, tym, ofs, col, th, tra, last)
812
			local magz = (p0 - p1).magnitude
813
			local curpos = p0
814
			local trz = {
815
				-ofs,
816
				ofs
817
			}
818
			for i = 1, tym do
819
				local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
820
				local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
821
				local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
822
				li.Material = "Neon"
823
				if tym == i then
824
					local magz2 = (curpos - p1).magnitude
825
					li.Size = Vector3.new(th, th, magz2)
826
					li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
827
					table.insert(Effects, {
828
						li,
829
						"Disappear",
830
						last
831
					})
832
				else
833
					li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
834
					curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
835
					game.Debris:AddItem(li, 10)
836
					table.insert(Effects, {
837
						li,
838
						"Disappear",
839
						last
840
					})
841
				end
842
			end
843
		end
844
	},
845
	EffectTemplate = {}
846
}
847
function ears()
848
	local quote = math.random(1, 10)
849
	if quote == 1 then
850
		ow = CFuncs.Sound.Create("276916733", Character, 10, 1)
851
		Instance.new("DistortionSoundEffect", ow).Level = 0.95
852
	elseif quote == 2 then
853
		ow = CFuncs.Sound.Create("222045669", Character, 10, 1)
854
		Instance.new("DistortionSoundEffect", ow).Level = 0.95
855
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "I played college ball yaknow", 1.5, BrickColor.new("Grey").Color)
856
	elseif quote == 3 then
857
		ow = CFuncs.Sound.Create("657527128", Character, 10, 1)
858
		Instance.new("DistortionSoundEffect", ow).Level = 0.95
859
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "Oof", 1.5, BrickColor.new("Grey").Color)
860
	elseif quote == 4 then
861
		CFuncs.Sound.Create("230292394", Character, 10, 1)
862
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "AAAAAH", 1.5, BrickColor.new("Grey").Color)
863
	elseif quote == 5 then
864
		CFuncs.Sound.Create("230255621", Character, 10, 1)
865
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "SO", 1.5, BrickColor.new("Grey").Color)
866
		wait(0.2)
867
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "DAH", 1.5, BrickColor.new("Grey").Color)
868
	elseif quote == 6 then
869
		CFuncs.Sound.Create("230255698", Character, 10, 1)
870
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "Y E S", 1.5, BrickColor.new("Grey").Color)
871
	elseif quote == 7 then
872
		CFuncs.Sound.Create("230255738", Character, 10, 1)
873
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "OH", 1.5, BrickColor.new("Grey").Color)
874
	elseif quote == 8 then
875
		CFuncs.Sound.Create("230292118", Character, 10, 1)
876
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "AAAAAAAA", 1.5, BrickColor.new("Grey").Color)
877
	elseif quote == 9 then
878
		CFuncs.Sound.Create("230292073", Character, 10, 1)
879
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "UWEEEEEEEEEEH", 1.5, BrickColor.new("Grey").Color)
880
	elseif quote == 10 then
881
		ow = CFuncs.Sound.Create("225279648", Character, 10, 1)
882
		Instance.new("DistortionSoundEffect", ow).Level = 0.95
883
		ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "help", 1.5, BrickColor.new("Grey").Color)
884
	end
885
end
886
function joj()
887
	while oof == true do
888
		attack = true
889
		local con = Hitbox.Touched:connect(function(hit)
890
			Damage(Hitbox, hit, 0, 0, math.random(300, 300), "Normal", RootPart, 0.1, "146163534", 1)
891
		end)
892
		CFuncs.Sound.Create("1102186681", Hitbox, 10, 1)
893
		for i = 0, 1, 0.1 do
894
			swait()
895
			PlayAnimationFromTable({
896
				CFrame.new(0.318533748, 1.11758709E-8, -0.186876655, 0.571150839, -0.107324705, 0.813798547, -0.321393877, 0.883022606, 0.342018932, -0.755309701, -0.456894249, 0.469845593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
897
				CFrame.new(-0.136643112, 1.46224117, -0.102674514, 0.571150839, -0.321393877, -0.755309701, -0.107324705, 0.883022606, -0.456894249, 0.813798547, 0.342018932, 0.469845593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
898
				CFrame.new(1.34420753, 1.19733691, -0.575926542, -0.0377464592, -0.0365618169, 0.998618245, -0.0365605801, -0.998610795, -0.0379435122, 0.998618245, -0.0379423201, 0.0363572836) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
899
				CFrame.new(-1.54852927, 1.0183481, -0.403962731, 0.992945313, -0.0193823874, 0.11697869, 0.0193829238, -0.946746707, -0.321395338, 0.116978586, 0.321395338, -0.93969202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
900
				CFrame.new(1.30056286, -1.52663183, -0.684036016, 0.872286201, -0.321393877, -0.368541837, 0.13550131, 0.883022606, -0.449344397, 0.469847292, 0.342018932, 0.813797712) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
901
				CFrame.new(-0.0819230229, -1.98630714, -0.796365142, 0.843013644, -0.321393877, 0.431316614, 0.431316495, 0.883022606, -0.185032547, -0.321394026, 0.342018932, 0.883022547) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
902
			}, 0.3, false)
903
		end
904
		for i = 0, 1, 0.1 do
905
			swait()
906
			PlayAnimationFromTable({
907
				CFrame.new(-0.70452857, 1.34110451E-7, -0.85472101, 0.0479760207, 0.375900865, -0.925417125, -0.321394145, 0.883022726, 0.342018545, 0.945729494, 0.281014919, 0.163176239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
908
				CFrame.new(-0.332258016, 1.42813265, -0.198432297, 0.0479760207, -0.321394145, 0.945729494, 0.375900865, 0.883022726, 0.281014919, -0.925417125, 0.342018545, 0.163176239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
909
				CFrame.new(1.3427434, 0.740131199, -1.01291919, 0.0505371541, -0.0144109726, 0.998618364, 0.883102953, 0.467642725, -0.0379427671, -0.466449738, 0.883800209, 0.0363596678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
910
				CFrame.new(-1.46270001, 0.38253215, -1.0271579, 0.992945492, -0.11697793, -0.01938124, 0.0193838775, 0.321395963, -0.946746528, 0.116977483, 0.939691901, 0.321396172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
911
				CFrame.new(1.30056417, -1.52663159, -0.684035659, 0.872286379, -0.321394145, -0.368541002, 0.1355021, 0.883022726, -0.449344009, 0.469846606, 0.342018545, 0.813798249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
912
				CFrame.new(-0.0819211155, -1.98630702, -0.796365023, 0.84301424, -0.321394145, 0.431315303, 0.431316257, 0.883022726, -0.18503274, -0.321392775, 0.342018545, 0.883023262) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
913
			}, 0.3, false)
914
		end
915
		con:Disconnect()
916
		attack = false
917
	end
918
end
919
Mouse.Button1Down:connect(function()
920
	if attack == false and oof == false then
921
		oof = true
922
		joj()
923
	end
924
end)
925
Mouse.Button1Up:connect(function()
926
	if attack == true and oof == true then
927
		oof = false
928
	end
929
end)
930
Mouse.KeyDown:connect(function(k)
931
	k = k:lower()
932
	if k == "t" then
933
		ears()
934
	end
935
end)
936
while true do
937
	swait()
938
	sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
939
	for i, v in pairs(Character:GetChildren()) do
940
		if v:IsA("Part") then
941
			v.Material = "SmoothPlastic"
942
		elseif v:IsA("Accessory") then
943
			v:WaitForChild("Handle").Material = "SmoothPlastic"
944
		end
945
	end
946
	Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
947
	velocity = RootPart.Velocity.y
948
	sine = sine + change
949
	local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
950
	if RootPart.Velocity.y > 1 and hit == nil then
951
		Anim = "Jump"
952
		if attack == false then
953
			PlayAnimationFromTable({
954
				CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
955
				CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
956
				CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
957
				CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
958
				CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392E-7, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
959
				CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
960
			}, 0.3, false)
961
		end
962
	elseif RootPart.Velocity.y < -1 and hit == nil then
963
		Anim = "Fall"
964
		if attack == false then
965
			PlayAnimationFromTable({
966
				CFrame.new(0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
967
				CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
968
				CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
969
				CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
970
				CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
971
				CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
972
			}, 0.3, false)
973
		end
974
	elseif Torsovelocity < 1 and hit ~= nil then
975
		Anim = "Idle"
976
		if attack == false then
977
			change = 1
978
			PlayAnimationFromTable({
979
				CFrame.new(1.90734863E-6, 0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
980
				CFrame.new(-1.90734863E-6, 1.49520886, -0.307131112, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
981
				CFrame.new(1.37194049, -0.0753216743, -0.606283188, 0.229498088, 0.301554978, 0.925416291, 0.481514871, 0.791113436, -0.377204269, -0.845857084, 0.532169282, 0.0363558233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
982
				CFrame.new(-1.5, 0.0121572316, -0.267316073, 1, 0, 0, 0, 0.642788708, -0.766043544, 0, 0.766043544, 0.642788708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
983
				CFrame.new(0.699996471, -1.87938261, -0.684038877, 0.866025388, 0, -0.500000238, -0.171010032, 0.939692736, -0.296197921, 0.469846606, 0.342019886, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
984
				CFrame.new(-0.756342053, -1.83849907, -0.79636544, 0.939692736, 0, 0.342019886, 0.116977625, 0.939692736, -0.321393639, -0.321393639, 0.342019886, 0.883022428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
985
			}, 0.3, false)
986
		end
987
	elseif Torsovelocity > 2 and hit ~= nil then
988
		Anim = "Walk"
989
		if attack == false then
990
			change = 2
991
			PlayAnimationFromTable({
992
				CFrame.new(1.90734863E-6, 0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
993
				CFrame.new(-1.90734863E-6, 1.49520886, -0.307131112, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
994
				CFrame.new(1.37194049, -0.0753216743, -0.606283188, 0.229498088, 0.301554978, 0.925416291, 0.481514871, 0.791113436, -0.377204269, -0.845857084, 0.532169282, 0.0363558233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
995
				CFrame.new(-1.5, 0.0121572316, -0.267316073, 1, 0, 0, 0, 0.642788708, -0.766043544, 0, 0.766043544, 0.642788708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
996
				CFrame.new(0.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
997
				CFrame.new(-0.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0))
998
			}, 0.3, false)
999
		end
1000
	end
1001
	if 0 < #Effects then
1002
		for e = 1, #Effects do
1003
			if Effects[e] ~= nil then
1004
				local Thing = Effects[e]
1005
				if Thing ~= nil then
1006
					local Part = Thing[1]
1007
					local Mode = Thing[2]
1008
					local Delay = Thing[3]
1009
					local IncX = Thing[4]
1010
					local IncY = Thing[5]
1011
					local IncZ = Thing[6]
1012
					if Thing[2] == "Shoot" then
1013
						local Look = Thing[1]
1014
						local move = 5
1015
						local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
1016
						if Thing[10] ~= nil then
1017
							da = pos
1018
							cf2 = CFrame.new(Thing[4], Thing[10].Position)
1019
							cfa = CFrame.new(Thing[4], pos)
1020
							tehCF = cfa:lerp(cf2, 0.2)
1021
							Thing[1] = tehCF.lookVector
1022
						end
1023
						local mag = (Thing[4] - pos).magnitude
1024
						Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
1025
						Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
1026
						Thing[4] = Thing[4] + Look * move
1027
						Thing[3] = Thing[3] - 1
1028
						if 2 < Thing[5] then
1029
							Thing[5] = Thing[5] - 0.3
1030
							Thing[6] = Thing[6] - 0.3
1031
						end
1032
						if hit ~= nil then
1033
							Thing[3] = 0
1034
							MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
1035
							ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
1036
							ref.Anchored = true
1037
							ref.CFrame = CFrame.new(pos)
1038
							Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, 0.05)
1039
							Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
1040
							game:GetService("Debris"):AddItem(ref, 1)
1041
						end
1042
					end
1043
				end
1044
			end
1045
		end
1046
	end
1047
end