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