View difference between Paste ID: MAbmMAZf and MJWqYSY1
SHOW: | | - or go back to the newest paste.
1
--[[Floaty thing by SezHu.
2
3
If you want a creation like this of your own, shoot me a friend request me on Discord! (Sezzie
4
#1875) Prices start at 250 robux.]]--
5
6
7
local songs = {
8-
	1257885677,    --Steamed hams
8+
	4995401298,  --Snat Music.
9-
	1117396305,  --Oh, it's you.
9+
       1511734302,   --Main Theme - Daytona USA
10-
	1014613357,   --Fortress of Lies
10+
        2496846835,   -- Pegboard Nerds - Try This
11-
	692796920,   --Soul Food
11+
         892591958, -- Nightcore - Nothings stopping me now
12-
        1137575800,   --Burn Marks
12+
13-
        388853531, 
13+
14-
        1388205829,   --D r o w z y 
14+
15-
        566546592,   --S a y o n a r a
15+
16-
        1446511374,   --Oracle
16+
	"epic",
17
	"a hat in time vibes",
18
	"peace and tranquility",
19
	"i dont have to prove myself to anyone",
20
        "no ones around to help",
21-
	"Something to relax to..",
21+
        "Snat music",
22-
	"Yawn..",
22+
23-
	"Just floatin'~",
23+
24-
	"Going up~",
24+
25-
	"I like this song..",
25+
26-
        "Time to kick back..",
26+
27-
        "^w^",
27+
28
      return
29
   end
30
31
32
   local children = obj:GetChildren()
33
   for i = 1, #children do
34
    soundbork(children[i])
35
   end
36
   
37
   return
38
end
39
40
--//Constants\\--
41
42
Effects = { }
43
local Player = game.Players.localPlayer
44
local Mouse = Player:GetMouse()
45
local Character = Player.Character
46
local Humanoid = Character.Humanoid
47
local Head = Character.Head
48
local RootPart = Character.HumanoidRootPart
49
local Torso = Character.Torso
50
local LeftArm = Character["Left Arm"]
51
local RightArm = Character["Right Arm"]
52
local LeftLeg = Character["Left Leg"]
53
local RightLeg = Character["Right Leg"]
54
local Camera = game.Workspace.CurrentCamera
55
local RootJoint = RootPart.RootJoint
56
local Equipped = false
57
local Attack = false
58
local Anim = 'Idle'
59
local Idle = 0
60
local Combo = 1
61
local TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
62
local Velocity = RootPart.Velocity.y
63
local Sine = 0
64
local Change = 1
65
local aoeconstant = 10
66
local maincol = "Pink"
67
local maincol2 = "White"
68
local randString = songs[math.random(#songs)]
69
local circleinthesky = false
70
Character.Humanoid.Name = "help"
71
humanoid = Character.help
72
Instance.new("ForceField",Character).Visible = false
73
74
75
76
77
78
local RbxUtility = LoadLibrary("RbxUtility")
79
local Create = RbxUtility.Create
80
81
humanoid.WalkSpeed = 3
82
humanoid.JumpPower = 0
83
humanoid.Animator.Parent = nil
84
Character.Animate.Parent = nil
85
86
local newMotor = function(part0, part1, c0, c1)
87
	local w = Create('Motor'){
88
		Parent = part0,
89
		Part0 = part0,
90
		Part1 = part1,
91
		C0 = c0,
92
		C1 = c1,
93
	}
94
	return w
95
end
96
97
98
skillcolorscheme = BrickColor.new(maincol).Color
99
100
local hue = 0
101
102
spawn(function()
103
while true do
104
    hue = hue + .0005
105
    if hue >= 1 then hue = 0 end
106
        maincol2 = Color3.fromHSV(hue,1,1)
107
    game["Run Service"].RenderStepped:wait()
108
end
109
end)
110
111
112
113
114
115
116
local scrn = Instance.new('ScreenGui', Player.PlayerGui)
117
function makeframe(par, trans, pos, size, color)
118
	local frame = Instance.new('Frame', par)
119
	frame.BackgroundTransparency = trans
120
	frame.BorderSizePixel = 0
121
	frame.Position = pos
122
	frame.Size = size
123
	frame.BackgroundColor3 = color
124
	return frame
125
end
126
127
--framesk1 = makeframe(scrn, .95, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
128
129
function clerp(a, b, t)
130
	return a:lerp(b, t)
131
end
132
133
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
134
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
135
136
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) 
137
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
138
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
139
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
140
RootJoint.C1 = CFrame.new(0, 0, 0)
141
RootJoint.C0 = CFrame.new(0, 0, 0)
142
Torso.Neck.C1 = CFrame.new(0, 0, 0)
143
Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
144
145
local rarmc1 = RW.C1
146
local larmc1 = LW.C1
147
local rlegc1 = RH.C1
148
local llegc1 = LH.C1
149
150
local resetc1 = false
151
152
function PlayAnimationFromTable(table, speed, bool)
153
	RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) 
154
	Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) 
155
	RW.C0 = clerp(RW.C0, table[3], speed) 
156
	LW.C0 = clerp(LW.C0, table[4], speed) 
157
	RH.C0 = clerp(RH.C0, table[5], speed) 
158
	LH.C0 = clerp(LH.C0, table[6], speed) 
159
	if bool == true then
160
		if resetc1 == false then
161
			resetc1 = true
162
			RootJoint.C1 = RootJoint.C1
163
			Torso.Neck.C1 = Torso.Neck.C1
164
			RW.C1 = rarmc1
165
			LW.C1 = larmc1
166
			RH.C1 = rlegc1
167
			LH.C1 = llegc1
168
		end
169
	end
170
end
171
172
ArtificialHB = Create("BindableEvent"){
173
	Parent = script,
174
	Name = "Heartbeat",
175
}
176
177
script:WaitForChild("Heartbeat")
178
179
frame = 1 / 35
180
tf = 0
181
allowframeloss = false
182
tossremainder = false
183
lastframe = tick()
184
script.Heartbeat:Fire()
185
186
game:GetService("RunService").Heartbeat:connect(function(s, p)
187
	tf = tf + s
188
	if tf >= frame then
189
		if allowframeloss then
190
			script.Heartbeat:Fire()
191
			lastframe = tick()
192
		else
193
			for i = 1, math.floor(tf / frame) do
194
				script.Heartbeat:Fire()
195
			end
196
			lastframe = tick()
197
		end
198
		if tossremainder then
199
			tf = 0
200
		else
201
			tf = tf - frame * math.floor(tf / frame)
202
		end
203
	end
204
end)
205
206
function swait(num)
207
	if num == 0 or num == nil then
208
		ArtificialHB.Event:wait()
209
	else
210
		for i = 0, num do
211
			ArtificialHB.Event:wait()
212
		end
213
	end
214
end
215
216
217
218
local m = Create("Model"){
219
	Parent = Character,
220
	Name = "WeaponModel"
221
}
222
223
function RemoveOutlines(part)
224
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
225
end
226
	
227
CFuncs = {	
228
	Part = {
229
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
230
			local Part = Create("Part"){
231
				Parent = Parent,
232
				Reflectance = Reflectance,
233
				Transparency = Transparency,
234
				CanCollide = false,
235
				Locked = true,
236
				BrickColor = BrickColor.new(tostring(BColor)),
237
				Name = Name,
238
				Size = Size,
239
				Material = Material,
240
			}
241
			RemoveOutlines(Part)
242
			if Size == Vector3.new() then
243
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
244
			else
245
				Part.Size = Size
246
			end
247
			return Part
248
		end;
249
	};
250
	
251
	Mesh = {
252
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
253
			local Msh = Create(Mesh){
254
				Parent = Part,
255
				Offset = OffSet,
256
				Scale = Scale,
257
			}
258
			if Mesh == "SpecialMesh" then
259
				Msh.MeshType = MeshType
260
				Msh.MeshId = MeshId
261
			end
262
			return Msh
263
		end;
264
	};
265
266
	Weld = {
267
		Create = function(Parent, Part0, Part1, C0, C1)
268
			local Weld = Create("Weld"){
269
				Parent = Parent,
270
				Part0 = Part0,
271
				Part1 = Part1,
272
				C0 = C0,
273
				C1 = C1,
274
			}
275
			return Weld
276
		end;
277
	};
278
279
	Sound = {
280
		Create = function(id, par, vol, pit, looped) 
281
			coroutine.resume(coroutine.create(function()
282
				local S = Create("Sound"){
283
					Volume = vol,
284
					Pitch = pit or 1,
285
					SoundId = "rbxassetid://" .. id,
286
					Parent = par or workspace,
287
					Looped = looped
288
				}
289
				wait() 
290
				S:play() 
291
			end))
292
		end;
293
	};
294
	
295
	ParticleEmitter = {
296
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
297
			local Particle = Create("ParticleEmitter"){
298
				Parent = Parent,
299
				Color = ColorSequence.new(Color1, Color2),
300
				LightEmission = LightEmission,
301
				Size = Size,
302
				Texture = Texture,
303
				Transparency = Transparency,
304
				ZOffset = ZOffset,
305
				Acceleration = Accel,
306
				Drag = Drag,
307
				LockedToPart = LockedToPart,
308
				VelocityInheritance = VelocityInheritance,
309
				EmissionDirection = EmissionDirection,
310
				Enabled = Enabled,
311
				Lifetime = LifeTime,
312
				Rate = Rate,
313
				Rotation = Rotation,
314
				RotSpeed = RotSpeed,
315
				Speed = Speed,
316
				VelocitySpread = VelocitySpread,
317
			}
318
			return Particle
319
		end;
320
	};
321
	
322
	CreateTemplate = {
323
		
324
	};
325
}
326
327
--/v/Don't touch this part. \v\--
328
329
playlist=Instance.new("Sound", Torso)
330
playlist.SoundId = "rbxassetid://" ..randString
331
playlist.Volume = 5
332
playlist.Looped = false
333
playlist.Name = "playlist"
334
playlist:Play()
335
336
--/^/Don't touch this part. \^\--
337
338
function RayCast(Position, Direction, Range, Ignore)
339
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) 
340
end 
341
342
FindNearestTorso = function(pos)
343
	local list = (game.Workspace:children())
344
	local torso = nil
345
	local dist = 1000
346
	local temp, human, temp2 = nil, nil, nil
347
	for x = 1, #list do
348
		temp2 = list[x]
349
		if temp2.className == "Model" and temp2.Name ~= Character.Name then
350
			temp = temp2:findFirstChild("Torso")
351
			human = temp2:findFirstChild("Humanoid")
352
			if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
353
				local dohit = true
354
				if dohit == true then
355
					torso = temp
356
					dist = (temp.Position - pos).magnitude
357
				end
358
			end
359
		end
360
	end
361
	return torso, dist
362
end
363
364
RootPart.CFrame =  RootPart.CFrame * CFrame.new(0,5,0)
365
366
Harness=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Harness",Vector3.new(0.420000285, 0.490000188, 0.399999768))
367
HarnessWeld=CFuncs.Weld.Create(m,Character["Torso"],Harness,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0500001907, -0.0350001119, -0.0871353149, -1, 0, 0, 0, 1, 0, 0, 0, -1))
368
FloatField2=CFuncs.Part.Create(m,Enum.Material.Neon,0,.5,"Lily white","FloatField2",Vector3.new(5, 8, 5))
369
FloatField2Weld=CFuncs.Weld.Create(m,Harness,FloatField2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.58035278e-05, 3.50000337e-05, 6.10351563e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1))
370
flotemesh=CFuncs.Mesh.Create("SpecialMesh",FloatField2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
371
spinny=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())	
372
spinny.Anchored=true
373
spinny.CanCollide=false
374
375
376
transp = .5
377
spawn(function()
378
while true do
379
    transp = transp + .001
380
        FloatField2.Transparency = transp
381
        swait()
382
if transp >= 1 then
383
transp = .5
384
end
385
end
386
end)
387
388
389
390
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
391
	if hit.Parent == nil then
392
		return
393
	end
394
	local h = hit.Parent:FindFirstChild("Humanoid")
395
	for _, v in pairs(hit.Parent:children()) do
396
		if v:IsA("Humanoid") then
397
			h = v
398
		end
399
	end
400
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
401
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
402
			if hit.Parent.DebounceHit.Value == true then
403
				return
404
			end
405
		end
406
		local c = Create("ObjectValue"){
407
			Name = "creator",
408
			Value = game:service("Players").LocalPlayer,
409
			Parent = h,
410
		}
411
		game:GetService("Debris"):AddItem(c, .5)
412
		if HitSound ~= nil and HitPitch ~= nil then
413
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
414
		end
415
		local Damage = math.random(minim, maxim)
416
		local blocked = false
417
		local block = hit.Parent:findFirstChild("Block")
418
		if block ~= nil then
419
			if block.className == "IntValue" then
420
				if block.Value > 0 then
421
					blocked = true
422
					block.Value = block.Value - 1
423
					print(block.Value)
424
				end
425
			end
426
		end
427
		if blocked == false then
428
			h.Health = h.Health - Damage
429
			--ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
430
		else
431
			h.Health = h.Health - (Damage / 2)
432
			--ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
433
		end
434
		if Type == "Knockdown" then
435
			local hum = hit.Parent.Humanoid
436
			hum.PlatformStand = true
437
			coroutine.resume(coroutine.create(function(HHumanoid)
438
				swait(1)
439
				HHumanoid.PlatformStand = false
440
			end), hum)
441
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
442
			local bodvol = Create("BodyVelocity"){
443
				velocity = angle * knockback,
444
				P = 5000,
445
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
446
				Parent = hit,
447
			}
448
			local rl = Create("BodyAngularVelocity"){
449
				P = 3000,
450
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
451
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
452
				Parent = hit,
453
			}
454
			game:GetService("Debris"):AddItem(bodvol, .5)
455
			game:GetService("Debris"):AddItem(rl, .5)
456
		elseif Type == "Normal" then
457
			local vp = Create("BodyVelocity"){
458
				P = 10,
459
				maxForce = Vector3.new(math.huge, 0, math.huge),
460
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
461
			}
462
			print(hit.Parent)
463
			if knockback > 0 then
464
				vp.Parent = hit.Parent.Torso
465
			end	
466
			local hum = hit.Parent.Humanoid
467
			hum.PlatformStand = true
468
local TotalMass = 0
469
for _, part in pairs(hit.Parent:GetChildren()) do
470
     if part:IsA("Part") then
471
          TotalMass = TotalMass + part:GetMass()
472
     end
473
end
474
475
476
477
local ForceOfGravity = -197 * TotalMass
478
local floatybits = Instance.new("BodyForce", hit.Parent.Torso)
479
floatybits.force = Vector3.new(0, -ForceOfGravity, 0)
480
481
482
483
484
485
486
spawn(function()
487
local spinny2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny2", Vector3.new())	
488
spinny2.Anchored=true
489
spinny2.CanCollide=false
490
for i = 0, 2, .001 do
491
local alg = math.floor(playlist.PlaybackLoudness)/500
492
local alg2 = math.floor(playlist.PlaybackLoudness)/80
493
local efekt2=CFuncs.Part.Create(hit.Parent.Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(.05,alg2,.3))	
494
efekt2.Anchored=true
495
efekt2.CanCollide=false
496
spinny2.CFrame = spinny2.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
497
spinny2.Position = hit.Parent.Torso.Position
498
efekt2.CFrame=spinny2.CFrame*CFrame.new(aoeconstant-5,0,0)
499
game:GetService("Debris"):AddItem(efekt2, .7)
500
swait()
501
end
502
end)
503
504
			local rl = Create("BodyAngularVelocity"){
505
				P = 500,
506
				maxTorque = Vector3.new(10, 10, 10),
507
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
508
				Parent = hit,
509
			}					
510
game:GetService("Debris"):AddItem(rl, 10)
511
game:GetService("Debris"):AddItem(floatybits, 10)
512
game:GetService("Debris"):AddItem(vp, .5)
513
514
		elseif Type == "Up" then
515
			local bodyVelocity = Create("BodyVelocity"){
516
				velocity = Vector3.new(0, 20, 0),
517
				P = 5000,
518
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
519
				Parent = hit,
520
			}
521
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
522
		elseif Type == "DarkUp" then
523
			coroutine.resume(coroutine.create(function()
524
				for i = 0, 1, 0.1 do
525
					swait()
526
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
527
				end
528
			end))
529
			local bodyVelocity = Create("BodyVelocity"){
530
				velocity = Vector3.new(0, 20, 0),
531
				P = 5000,
532
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
533
				Parent = hit,
534
			}
535
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
536
		elseif Type == "Snare" then
537
			local bp = Create("BodyPosition"){
538
				P = 2000,
539
				D = 100,
540
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
541
				position = hit.Parent.Torso.Position,
542
				Parent = hit.Parent.Torso,
543
			}
544
			game:GetService("Debris"):AddItem(bp, 1)
545
		elseif Type == "Freeze" then
546
			local BodPos = Create("BodyPosition"){
547
				P = 50000,
548
				D = 1000,
549
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
550
				position = hit.Parent.Torso.Position,
551
				Parent = hit.Parent.Torso,
552
			}
553
			local BodGy = Create("BodyGyro") {
554
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
555
				P = 20e+003,
556
				Parent = hit.Parent.Torso,
557
				cf = hit.Parent.Torso.CFrame,
558
			}
559
			hit.Parent.Torso.Anchored = true
560
			coroutine.resume(coroutine.create(function(Part) 
561
				swait(1.5)
562
				Part.Anchored = false
563
			end), hit.Parent.Torso)
564
			game:GetService("Debris"):AddItem(BodPos, 3)
565
			game:GetService("Debris"):AddItem(BodGy, 3)
566
		end
567
		local debounce = Create("BoolValue"){
568
			Name = "DebounceHit",
569
			Parent = hit.Parent,
570
			Value = true,
571
		}
572
		game:GetService("Debris"):AddItem(debounce, Delay)
573
		c = Create("ObjectValue"){
574
			Name = "creator",
575
			Value = Player,
576
			Parent = h,
577
		}
578
		game:GetService("Debris"):AddItem(c, .5)
579
	end
580
end
581
582
function ShowDamage(Pos, Text, Time, Color)
583
	local Rate = (1 / 60)
584
	local Pos = (Pos or Vector3.new(0, 0, 0))
585
	local Text = (Text or "")
586
	local Time = (Time or 2)
587
	local Color = (Color or Color3.new(1, 0, 1))
588
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
589
	EffectPart.Anchored = true
590
	local BillboardGui = Create("BillboardGui"){
591
		Size = UDim2.new(3, 0, 3, 0),
592
		Adornee = EffectPart,
593
		Parent = EffectPart,
594
	}
595
	local TextLabel = Create("TextLabel"){
596
		BackgroundTransparency = 1,
597
		Size = UDim2.new(1, 0, 1, 0),
598
		Text = Text,
599
		Font = "SourceSansLight",
600
		TextColor3 = Color,
601
		TextScaled = true,
602
		Parent = BillboardGui,
603
	}
604
	game.Debris:AddItem(EffectPart, (Time))
605
	EffectPart.Parent = game:GetService("Workspace")
606
	delay(0, function()
607
		local Frames = (Time / Rate)
608
		for Frame = 1, Frames do
609
			wait(Rate)
610
			local Percent = (Frame / Frames)
611
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
612
			TextLabel.TextTransparency = Percent
613
		end
614
		if EffectPart and EffectPart.Parent then
615
			EffectPart:Destroy()
616
		end
617
	end)
618
end
619
620
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
621
	for _, c in pairs(workspace:children()) do
622
		local hum = c:findFirstChild("Humanoid")
623
		if hum ~= nil then
624
			local head = c:findFirstChild("Torso")
625
			if head ~= nil then
626
				local targ = head.Position - Part.Position
627
				local mag = targ.magnitude
628
				if mag <= Magnitude and c.Name ~= Player.Name then 
629
					Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 10, "rbxassetid://" .. HitSound, HitPitch)
630
				end
631
			end
632
		end
633
	end
634
end
635
636
EffectModel = Create("Model"){
637
	Parent = Character,
638
	Name = "EffectModel",
639
}
640
641
Effects = {
642
	Block = {
643
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
644
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
645
			prt.Anchored = true
646
			prt.CFrame = cframe
647
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
648
			game:GetService("Debris"):AddItem(prt, 10)
649
			if Type == 1 or Type == nil then
650
				table.insert(Effects, {
651
					prt,
652
					"Block1",
653
					delay,
654
					x3,
655
					y3,
656
					z3,
657
					msh
658
				})
659
			elseif Type == 2 then
660
				table.insert(Effects, {
661
					prt,
662
					"Block2",
663
					delay,
664
					x3,
665
					y3,
666
					z3,
667
					msh
668
				})
669
			elseif Type == 3 then
670
				table.insert(Effects, {
671
					prt,
672
					"Block3",
673
					delay,
674
					x3,
675
					y3,
676
					z3,
677
					msh,
678
					Part
679
				})
680
			elseif Type == 4 then
681
				table.insert(Effects, {
682
					prt,
683
					"Block2Fire",
684
					delay,
685
					x3,
686
					y3,
687
					z3,
688
					msh
689
				})
690
			end
691
		end
692
	};
693
694
	Sphere = {
695
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
696
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
697
			prt.Anchored = true
698
			prt.CFrame = cframe
699
			if parent == nil then
700
				prt.Parent = workspace
701
			else
702
				prt.Parent = parent
703
			end
704
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
705
			game:GetService("Debris"):AddItem(prt, 10)
706
			table.insert(Effects, {
707
				prt,
708
				"Cylinder",
709
				delay,
710
				x3,
711
				y3,
712
				z3,
713
				msh
714
			})
715
		end
716
	};
717
718
	Blood = {
719
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
720
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
721
			prt.Anchored = true
722
			prt.CFrame = cframe
723
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
724
			game:GetService("Debris"):AddItem(prt, 10)
725
			table.insert(Effects, {
726
				prt,
727
				"Blood",
728
				delay,
729
				x3,
730
				y3,
731
				z3,
732
				msh
733
			})
734
		end
735
	};
736
737
	Blast = {
738
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
739
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
740
			prt.Anchored = true
741
			prt.CFrame = cframe
742
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
743
			game:GetService("Debris"):AddItem(prt, 10)
744
			table.insert(Effects, {
745
				prt,
746
				"Block4",
747
				delay,
748
				x3,
749
				y3,
750
				z3,
751
				msh,
752
				Part
753
			})
754
		end
755
	};
756
757
	Ring = {
758
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
759
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
760
			prt.Anchored = true
761
			prt.CFrame = cframe
762
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
763
			game:GetService("Debris"):AddItem(prt, 10)
764
			table.insert(Effects, {
765
				prt,
766
				"Cylinder",
767
				delay,
768
				x3,
769
				y3,
770
				z3,
771
				msh
772
			})
773
		end
774
	};
775
776
	Cylinder = {
777
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
778
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
779
			prt.Anchored = true
780
			prt.CFrame = cframe
781
			local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
782
			game:GetService("Debris"):AddItem(prt, 10)
783
			table.insert(Effects, {
784
				prt,
785
				"Cylinder",
786
				delay,
787
				x3,
788
				y3,
789
				z3,
790
				msh
791
			})
792
		end
793
	};
794
795
	Head = {
796
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
797
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
798
			prt.Anchored = true
799
			prt.CFrame = cframe
800
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
801
			game:GetService("Debris"):AddItem(prt, 10)
802
			table.insert(Effects, {
803
				prt,
804
				"Cylinder",
805
				delay,
806
				x3,
807
				y3,
808
				z3,
809
				msh
810
			})
811
		end
812
	};
813
814
	Wave = {
815
		Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
816
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
817
			prt.Anchored = true
818
			prt.CFrame = cframe
819
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "20329976", 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
833
	Break = {
834
		Create = function(brickcolor, cframe, x1, y1, z1)
835
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
836
			prt.Anchored = true
837
			prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
838
			game:GetService("Debris"):AddItem(prt, 10)
839
			local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
840
			local num = math.random(10, 50) / 1000
841
			table.insert(Effects, {
842
				prt,
843
				"Shatter",
844
				num,
845
				prt.CFrame,
846
				math.random() - math.random(),
847
				0,
848
				math.random(50, 100) / 100
849
			})
850
		end
851
	};
852
853
	Elec = {
854
		Create = function(brickcolor, cff, x, y, z)
855
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
856
			prt.Anchored = true
857
			prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
858
			prt.CFrame = CFrame.new(prt.Position)
859
			game:GetService("Debris"):AddItem(prt, 10)
860
			xval = math.random() / 9
861
			yval = math.random() / 9
862
			zval = math.random() / 9
863
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
864
			eul1 = math.random(-50, 50)
865
			eul2 = math.random(-50, 50)
866
			eul3 = math.random(-50, 50)
867
			euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
868
			euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
869
			table.insert(Effects, {
870
				prt,
871
				"Elec",
872
				.05,
873
				x,
874
				y,
875
				z,
876
				xval,
877
				yval,
878
				zval,
879
				msh,
880
				euld,
881
				euld2
882
			})
883
		end
884
	};
885
886
	Elec2 = {
887
		Create = function(brickcolor, cff, x, y, z)
888
			local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
889
			prt.Anchored = true
890
			prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
891
			prt.CFrame = CFrame.new(prt.Position)
892
			game:GetService("Debris"):AddItem(prt, 10)
893
			xval = math.random() / 7
894
			yval = math.random() / 7
895
			zval = math.random() / 7
896
			msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
897
			eul1 = math.random(-50, 50)
898
			eul2 = math.random(-50, 50)
899
			eul3 = math.random(-50, 50)
900
			euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
901
			euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
902
			table.insert(Effects, {
903
				prt,
904
				"Elec",
905
				.1,
906
				x,
907
				y,
908
				z,
909
				xval,
910
				yval,
911
				zval,
912
				msh,
913
				euld,
914
				euld2
915
			})
916
		end
917
	};
918
919
	Clone = {
920
		Create = function() 
921
			for _, v in pairs(Torso.Parent:children()) do
922
				if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
923
					local c = CFuncs.Part.Create(EffectModel, "Neon", 0, .5, BrickColor.new("Bright blue"), "Effect", v.Size)
924
					c.Anchored = true
925
					c.CFrame = v.CFrame
926
					game:GetService("Debris"):AddItem(c, 5)
927
					local cmsh = nil
928
					if v.Name == "Head" then
929
						cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
930
					else
931
						cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
932
					end
933
					table.insert(Effects, {
934
						c,
935
						"Cylinder",
936
						0.05,
937
						0.1,
938
						0.1,
939
						0.1,
940
						cmsh
941
					})
942
				end
943
			end
944
		end
945
	};
946
947
	EffectTemplate = {
948
949
	};
950
}
951
952
953
954
955
956
957
958
Mouse.Button1Down:connect(function()
959
		if Mouse ~= nil then
960
			if Mouse.Target ~= nil then
961
				part = Mouse.Target
962
				bp = Instance.new("BodyPosition",part)
963
				bp.MaxForce = Vector3.new(5000,5000,5000)
964
				bp.Position = part.Position
965
				dwn = true
966
			end
967
		while dwn == true do 
968
			wait()	
969
			bp.Position = Mouse.hit.p
970
			if part then
971
				if part.Parent:FindFirstChildOfClass("Humanoid") then
972
					part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
973
				end
974
			end
975
		end
976
	end
977
end)
978
Mouse.Button1Up:connect(function()
979
	dwn = false
980
	if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
981
	if bp then bp:Destroy() end
982
end)
983
	
984
985
Mouse.KeyDown:connect(function(k)
986
	k = k:lower()
987
	if k == 'm'  then
988
ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 5, 0)), quotes[math.random(#quotes)], 5, BrickColor.new(maincol2).Color)
989
playlist:Destroy()
990
playlist=Instance.new("Sound", Torso)
991
playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
992
playlist.Volume = 5
993
playlist.Looped = false
994
playlist.Name = "playlist"
995
playlist:Play()
996
	elseif k == 'n' and circleinthesky == false then
997
circleinthesky = true
998
	elseif k == 'n' and circleinthesky == true then
999
circleinthesky = false
1000
end
1001
end)
1002
1003
1004
1005
while true do
1006
	swait()
1007
	for i, v in pairs(Character:GetChildren()) do
1008
		if v:IsA("Part") then
1009
			v.Material = "SmoothPlastic"
1010
		elseif v:IsA("Accessory") then
1011
			v:WaitForChild("Handle").Material = "SmoothPlastic"
1012
		end
1013
	end
1014
	for i, v in pairs(Character:GetChildren()) do
1015
		if v:IsA'Model' then
1016
			for _, c in pairs(v:GetChildren()) do
1017
				if c:IsA'Part' then
1018
					c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1019
				end
1020
			end
1021
		end
1022
	end
1023
	if playlist.IsPlaying == false then
1024
ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 5, 0)), quotes[math.random(#quotes)], 5,  BrickColor.new(maincol2).Color)
1025
playlist:Destroy()
1026
playlist=Instance.new("Sound", Torso)
1027
playlist.SoundId = "rbxassetid://" ..songs[math.random(#songs)]
1028
playlist.Volume = 5
1029
playlist.Looped = false
1030
playlist.Name = "playlist"
1031
playlist:Play()
1032
end
1033
	TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
1034
	Velocity = RootPart.Velocity.y
1035
	Sine = Sine + Change
1036
	local hit, pos = RayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
1037
	if RootPart.Velocity.y > 1 and hit == nil then 
1038
		Anim = "Jump"
1039
		if Attack == false then
1040
			Change = 1
1041
		PlayAnimationFromTable({
1042
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0), 
1043
         CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0), 
1044
         CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1045
         CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1046
         CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0), 
1047
         CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0), 
1048
		}, .3, false)
1049
		MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
1050
		end
1051
	elseif RootPart.Velocity.y < -1 and hit == nil then 
1052
		Anim = "Fall"
1053
		if Attack == false then
1054
			Change = 1
1055
		PlayAnimationFromTable({
1056
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0), 
1057
         CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0), 
1058
         CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1059
         CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1060
         CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0), 
1061
         CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0), 
1062
		}, .3, false)
1063
		MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
1064
		end	
1065
	elseif TorsoVelocity < 1 and hit ~= nil then
1066
		Anim = "Idle"
1067
		if Attack == false then
1068
			Change = 1
1069
		PlayAnimationFromTable({
1070
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0), 
1071
         CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .1 * math.cos(Sine/35), 0, 0), 
1072
         CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1073
         CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1074
         CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0), 
1075
         CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0), 
1076
		}, .3, false)
1077
		MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
1078
		end
1079
	elseif TorsoVelocity > 2 and hit ~= nil then
1080
		Anim = "Walk"
1081
            if Attack == false then
1082
		PlayAnimationFromTable({
1083
         CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.342019022, -0.939693093, 0, 0.939693093, 0.342018992) * CFrame.new(0, 0, 0 + .5 * math.cos(Sine/35)) * CFrame.Angles(.3 + .005 * math.cos(Sine/35), 0, 0), 
1084
         CFrame.new(0, 1.4785918, -0.211434767, 1, 0, -0, 0, 0.98480767, 0.173649639, -0, -0.173649669, 0.984807611) * CFrame.new(0, 0, 0) * CFrame.Angles(0 + .05 * math.cos(Sine/35), 0, 0), 
1085
         CFrame.new(0.939720154, 1.23436928, 0.449271917, 0.866025388, 0.500000238, 0, 0.469846785, -0.81379807, 0.342019022, 0.17100957, -0.296197116, -0.939693093) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1086
         CFrame.new(-0.804059327, 1.1624434, 0.431921601, 0.866025269, -0.500000238, -1.92716968e-07, -0.492404282, -0.852868617, 0.173646882, -0.0868236423, -0.150382489, -0.984808087) * CFrame.new(0, 0, 0 - .01 * math.cos(Sine/35)) * CFrame.Angles(0, 0, 0), 
1087
         CFrame.new(0.662806809, -1.42266583, -0.425317377, 0.999114633, -0.0274195503, -0.0319078304, 0.0249254964, 0.996788979, -0.0760965645, 0.0338919051, 0.0752338469, 0.996589839) * CFrame.new(0, 0, 0 - .1 * math.cos(Sine/40)) * CFrame.Angles(0 + .1 * math.cos(Sine/40), 0, 0), 
1088
         CFrame.new(-0.358216971, -1.62964225, 0.259462059, 0.999541879, -0.0301539842, 0.0025981334, 0.0127545623, 0.497520745, 0.867358446, -0.027446935, -0.866927922, 0.497677386) * CFrame.new(0, 0, 0 - .2 * math.cos(Sine/35)) * CFrame.Angles(0 + .2 * math.cos(Sine/35), 0, 0), 
1089
		}, .3, false)
1090
		MagnitudeDamage(Torso, aoeconstant, 0, 0, 0, "Normal", " ", .8)
1091
		end
1092
	end
1093
	if #Effects > 0 then
1094
		for e = 1, #Effects do
1095
			if Effects[e] ~= nil then
1096
				local Thing = Effects[e]
1097
				if Thing ~= nil then
1098
					local Part = Thing[1]
1099
					local Mode = Thing[2]
1100
					local Delay = Thing[3]
1101
					local IncX = Thing[4]
1102
					local IncY = Thing[5]
1103
					if Thing[1].Transparency <= 1 then
1104
						if Thing[2] == "Block1" then
1105
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1106
							Mesh = Thing[7]
1107
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1108
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1109
						elseif Thing[2] == "Ice" then
1110
							if Thing[6] <= Thing[5] then
1111
								Thing[6] = Thing[6] + .05
1112
								Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .4, 0)
1113
							else
1114
								Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1115
							end
1116
						elseif Thing[2] == "Shatter" then
1117
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1118
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1119
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1120
							Thing[6] = Thing[6] + Thing[5]
1121
						elseif Thing[2] == "Block2" then
1122
							Thing[1].CFrame = Thing[1].CFrame
1123
							Mesh = Thing[7]
1124
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1125
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1126
						elseif Thing[2] == "Block3" then
1127
							Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1128
							Mesh = Thing[7]
1129
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1130
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1131
						elseif Thing[2] == "Block4" then
1132
							Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
1133
							Mesh = Thing[7]
1134
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1135
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1136
						elseif Thing[2] == "Block2Fire" then
1137
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1138
							Mesh = Thing[7]
1139
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1140
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1141
							if Thing[1].Transparency >= .3 then
1142
								Thing[1].BrickColor = BrickColor.new("Bright red")
1143
							else
1144
								Thing[1].BrickColor = BrickColor.new("Bright yellow")
1145
							end
1146
						elseif Thing[2] == "Cylinder" then
1147
							Mesh = Thing[7]
1148
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1149
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1150
						elseif Thing[2] == "Blood" then
1151
							Mesh = Thing[7]
1152
							Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -.5, 0)
1153
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1154
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1155
						elseif Thing[2] == "Elec" then
1156
							Mesh = Thing[10]
1157
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1158
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1159
							Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, .2)
1160
							Thing[1].Rotation = Vector3.new(0, 0, 0)
1161
						elseif Thing[2] == "Disappear" then
1162
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1163
						end
1164
					else
1165
						Part.Parent = nil
1166
						table.remove(Effects, e)
1167
					end
1168
				end
1169
			end
1170
		end
1171
	end
1172
local alg = math.floor(playlist.PlaybackLoudness)/500
1173
local alg2 = math.floor(playlist.PlaybackLoudness)/80
1174
1175
if circleinthesky == false then
1176
FloatField2.BrickColor = BrickColor.new(maincol2)
1177
spinny.Position = Torso.Position
1178
spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
1179
efekt=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(.05,alg2,.3))	
1180
efekt.Anchored=true
1181
efekt.CanCollide=false
1182
game:GetService("Debris"):AddItem(efekt, .5)
1183
--ShowDamage((efekt.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 102)).p + Vector3.new(0, 0, 0)), ".", 1, BrickColor.new(maincol2).Color)
1184
efekt.CFrame=spinny.CFrame*CFrame.new(aoeconstant,0,0)
1185
1186
      elseif circleinthesky == true then
1187
1188
FloatField2.BrickColor = BrickColor.new(maincol2)
1189
spinny.Position = Torso.Position
1190
spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
1191
efekt=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(1+alg2,.05,.3))	
1192
efekt.Anchored=true
1193
efekt.CanCollide=false
1194
efekt2=CFuncs.Part.Create(Torso, "Neon", 0, .3, BrickColor.new(maincol2), "ref", Vector3.new(alg2,.05,.3))	
1195
efekt2.Anchored=true
1196
efekt2.CanCollide=false
1197
game:GetService("Debris"):AddItem(efekt, 2)
1198
game:GetService("Debris"):AddItem(efekt2, 2)
1199
--ShowDamage((efekt.CFrame * CFrame.new(0, 0, (Torso.Size.Z / 102)).p + Vector3.new(0, 0, 0)), ".", 1, BrickColor.new(maincol2).Color)
1200
efekt.CFrame=spinny.CFrame*CFrame.new(aoeconstant,20,0)	
1201
efekt2.CFrame=spinny.CFrame*CFrame.new(aoeconstant-4,10,0)	
1202
end	
1203
humanoid.Health = math.huge
1204
soundbork(workspace) 
1205
end