View difference between Paste ID: 7AApHvSV and iZaryDcc
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
2
print("FE Compatibility: by by by by")
3
InternalData = {}
4
do
5
	script.Parent = owner.Character
6
	local Event = Instance.new("RemoteEvent")
7
	Event.Name = "UserInput"
8
	local function NewFakeEvent()
9
		local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
10
		return Fake
11
	end
12
	local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
13
	local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
14
	local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
15
		self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
16
	end};ContextActionService.UnBindAction = ContextActionService.BindAction
17
	local function TriggerEvent(self,Event,...)
18
		local Trigger = Mouse[Event]
19
		if Trigger and Trigger.fakeEvent and Trigger.Function then
20
			Trigger.Function(...)
21
		end
22
	end
23
	Mouse.TrigEvent = TriggerEvent
24
	UserInputService.TrigEvent = TriggerEvent
25
	Event.OnServerEvent:Connect(function(FiredBy,Input)
26
		if FiredBy.Name ~= owner.Name then end
27
		if Input.MouseEvent then
28
			Mouse.Target = Input.Target
29
			Mouse.Hit = Input.Hit
30
		else
31
			local Begin = Input.UserInputState == Enum.UserInputState.Begin
32
			if Input.UserInputType == Enum.UserInputType.MouseButton1 then
33
				return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
34
			end
35
			for _,Action in pairs(ContextActionService.Actions) do
36
				for _,Key in pairs(Action.Keys) do
37
					if Key==Input.KeyCode then
38
						Action.Function(Action.Name,Input.UserInputState,Input)
39
					end
40
				end
41
			end
42
			Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
43
			UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
44
		end
45
	end)
46
	InternalData["Mouse"] = Mouse
47
	InternalData["ContextActionService"] = ContextActionService
48
	InternalData["UserInputService"] = UserInputService
49
	Event.Parent = NLS([[
50
		local Player = owner
51
		local Event = script:WaitForChild("UserInput")
52
		local UserInputService = game:GetService("UserInputService")
53
		local Mouse = Player:GetMouse()
54
		local Input = function(Input,gameProcessedEvent)
55
			if gameProcessedEvent then return end
56
			Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
57
		end
58
		UserInputService.InputBegan:Connect(Input)
59
		UserInputService.InputEnded:Connect(Input)
60
		local Hit,Target
61
		while wait(1/30) do
62
			if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
63
				Hit,Target = Mouse.Hit,Mouse.Target
64
				Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
65
			end
66
		end
67
	]],owner.Character)
68
end
69
RealGame = game;game = setmetatable({},{
70
	__index = function (self,Index)
71
		local Sandbox = function (Thing)
72
			if Thing:IsA("Player") then
73
				local RealPlayer = Thing
74
				return setmetatable({},{
75
					__index = function (self,Index)
76
						local Type = type(RealPlayer[Index])
77
						if Type == "function" then
78
							if Index:lower() == "getmouse" or Index:lower() == "mouse" then
79
								return function (self)
80
									return InternalData["Mouse"]
81
								end
82
							end
83
							return function (self,...)
84
								return RealPlayer[Index](RealPlayer,...)
85
							end
86
						else
87
							if Index == "PlrObj" then
88
								return RealPlayer
89
							end
90
							return RealPlayer[Index]
91
						end
92
					end;
93
					__tostring = function(self)
94
						return RealPlayer.Name
95
					end
96
				})
97
			end
98
		end
99
		if RealGame[Index] then
100
			local Type = type(RealGame[Index])
101
			if Type == "function" then
102
				if Index:lower() == "getservice" or Index:lower() == "service" then
103
					return function (self,Service)
104
						if Service:lower() == "players" then
105
							return setmetatable({},{
106
								__index = function (self2,Index2)
107
									local RealService = RealGame:GetService(Service)
108
									local Type2 = type(Index2)
109
									if Type2 == "function" then
110
										return function (self,...)
111
											return RealService[Index2](RealService,...)
112
										end
113
									else
114
										if Index2:lower() == "localplayer" then
115
											return Sandbox(owner)
116
										end
117
										return RealService[Index2]
118
									end
119
								end;
120
								__tostring = function(self)
121
									return RealGame:GetService(Service).Name
122
								end
123
							})
124
						elseif Service:lower() == "contextactionservice" then
125
							return InternalData["ContextActionService"]
126
						elseif Service:lower() == "contextactionservice" then
127
							return InternalData["UserInputService"]
128
						elseif Service:lower() == "runservice" then
129
							return setmetatable({},{
130
								__index = function(self2,Index2)
131
									local RealService = RealGame:GetService(Service)
132
									local Type2 = type(Index2)
133
									if Type2 == "function" then
134
										return function (self,...)
135
											return RealService[Index2](RealService,...)
136
										end
137
									else
138
										if Index2:lower() == "bindtorenderstep" then
139
											return function (self,Name,Priority,Function)
140
												return RealGame:GetService("RunService").Stepped:Connect(Function)
141
											end
142
										end
143
										if Index2:lower() == "renderstepped" then
144
											return RealService["Stepped"]
145
										end
146
										return RealService[Index2]
147
									end
148
								end
149
							})
150
						else
151
							return RealGame:GetService(Service)
152
						end
153
					end
154
				end
155
				return function (self,...)
156
					return RealGame[Index](RealGame,...)
157
				end
158
			else
159
				if game:GetService(Index) then
160
					return game:GetService(Index)
161
				end
162
				return RealGame[Index]
163
			end
164
		else
165
			return nil
166
		end
167
	end
168
});Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
169
print("Complete! Running...")
170
171
172
--//Paste script below this line.
173
174
warn("Dummy Glitcher")
175
warn("Bonnie Song Changed!")
176
warn("Edit By Mediakiller7")
177
warn("Heres The Link Skids =https://pastebin.com/raw/eJ791JcE=")
178
warn("Expert Mode Added Name of Song == A Hat in The Time TrainWreck ==")
179
warn("Adding New mode Next Day")
180
warn("Stop It ADded")
181
plr = game.Players.LocalPlayer
182
char = plr.Character
183
hum = char.Humanoid
184
local cam = game.Workspace.CurrentCamera
185
Camera = cam
186
local CamInterrupt = false
187
local TwoD = false
188
local TargetInfo = {nil, nil}
189
cam.CameraType = "Custom"
190
t = char.Torso
191
h = char.Head
192
ra = char["Right Arm"]
193
la = char["Left Arm"]
194
rl = char["Right Leg"]
195
ll = char["Left Leg"]
196
tors = char.Torso
197
lleg = char["Left Leg"]
198
root = char.HumanoidRootPart
199
hed = char.Head
200
rleg = char["Right Leg"]
201
rarm = char["Right Arm"]
202
larm = char["Left Arm"]
203
radian = math.rad
204
random = math.random
205
Vec3 = Vector3.new
206
Inst = Instance.new
207
cFrame = CFrame.new
208
Euler = CFrame.fromEulerAnglesXYZ
209
vt = Vector3.new
210
bc = BrickColor.new
211
br = BrickColor.random
212
it = Instance.new
213
cf = CFrame.new
214
local Booleans = {CamFollow = true, GyroUse = true}
215
function lerp(object, newCFrame, alpha)
216
	return object:lerp(newCFrame, alpha)
217
end
218
219
ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
220
ff.Visible = false
221
222
223
local Directer = Inst("BodyGyro", root)
224
Directer.MaxTorque = Vec3(0, 0, 0)
225
Directer.P = 600000
226
local CPart = Inst("Part")
227
CPart.Anchored = true
228
CPart.CanCollide = false
229
CPart.Locked = true
230
CPart.Transparency = 1
231
local rainbowmode = false
232
local chaosmode = false
233
kan = Instance.new("Sound", char)
234
kan.Volume = 1.98
235
kan.TimePosition = 0
236
kan.PlaybackSpeed = 1
237
kan.Pitch = 1
238
kan.SoundId = "rbxassetid://280614407"
239
kan.Name = "wrecked"
240
kan.Looped = true
241
kan:Play()
242
function newTheme(ID, timepos, pitch, vol)
243
	local kanz = kan
244
	kanz.PlaybackSpeed = pitch
245
	kanz.Pitch = pitch
246
	kanz.SoundId = ID
247
	kanz.Name = "wrecked"
248
	kanz.Looped = true
249
end
250
function CameraShake(Times, Power, PlayerTarget)
251
	coroutine.resume(coroutine.create(function()
252
		FV = Instance.new("BoolValue", PlayerTarget)
253
		FV.Name = "CameraShake"
254
		for ShakeNum = 1, Times do
255
			swait()
256
			local ef = Power
257
			if ef >= 1 then
258
				Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
259
			else
260
				ef = Power * 10
261
				Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
262
			end
263
		end
264
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
265
		FV:Destroy()
266
	end))
267
end
268
function CameraEnshaking(Length, Intensity)
269
	coroutine.resume(coroutine.create(function()
270
		local intensity = 1 * Intensity
271
		local rotM = 0.01 * Intensity
272
		for i = 0, Length, 0.1 do
273
			swait()
274
			intensity = intensity - 0.05 * Intensity / Length
275
			rotM = rotM - 5.0E-4 * Intensity / Length
276
			hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
277
			cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
278
		end
279
		Humanoid.CameraOffset = Vec3(0, 0, 0)
280
	end))
281
end
282
function CamShake(Part, Distan, Power, Times)
283
	local de = Part.Position
284
	for i, v in pairs(workspace:children()) do
285
		if v:IsA("Model") and v:findFirstChild("Humanoid") then
286
			for _, c in pairs(v:children()) do
287
				if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
288
					do
289
						local Noob = v.Humanoid
290
						if Noob ~= nil then
291
							coroutine.resume(coroutine.create(function()
292
								FV = Instance.new("BoolValue", Noob)
293
								FV.Name = "CameraShake"
294
								for ShakeNum = 1, Times do
295
									swait()
296
									local ef = Power
297
									if ef >= 1 then
298
										Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
299
									else
300
										ef = Power * 10
301
										Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
302
									end
303
								end
304
								Humanoid.CameraOffset = Vector3.new(0, 0, 0)
305
								FV:Destroy()
306
							end))
307
							CameraShake(Times, Power, Noob)
308
						end
309
					end
310
				end
311
			end
312
		end
313
	end
314
end
315
function chatfunc(text, color)
316
	local chat = coroutine.wrap(function()
317
		if Character:FindFirstChild("TalkingBillBoard") ~= nil then
318
			Character:FindFirstChild("TalkingBillBoard"):destroy()
319
		end
320
		local naeeym2 = Instance.new("BillboardGui", Character)
321
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
322
		naeeym2.StudsOffset = Vector3.new(0, 3, 0)
323
		naeeym2.Adornee = Character.Head
324
		naeeym2.Name = "TalkingBillBoard"
325
		local tecks2 = Instance.new("TextLabel", naeeym2)
326
		tecks2.BackgroundTransparency = 1
327
		tecks2.BorderSizePixel = 0
328
		tecks2.Text = ""
329
		tecks2.Font = "SciFi"
330
		tecks2.TextSize = 30
331
		tecks2.TextStrokeTransparency = 0
332
		tecks2.TextColor3 = color
333
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
334
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
335
		local tecks3 = Instance.new("TextLabel", naeeym2)
336
		tecks3.BackgroundTransparency = 1
337
		tecks3.BorderSizePixel = 0
338
		tecks3.Text = ""
339
		tecks3.Font = "SciFi"
340
		tecks3.TextSize = 30
341
		tecks3.TextStrokeTransparency = 0
342
		tecks3.TextColor3 = Color3.new(0, 0, 0)
343
		tecks3.TextStrokeColor3 = color
344
		tecks3.Size = UDim2.new(1, 0, 0.5, 0)
345
		coroutine.resume(coroutine.create(function()
346
			while true do
347
				swait(1)
348
				if chaosmode == true then
349
					tecks2.TextColor3 = BrickColor.random().Color
350
					tecks3.TextStrokeColor3 = BrickColor.random().Color
351
				end
352
				tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
353
				tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
354
				tecks2.Rotation = math.random(-5, 5)
355
				tecks3.Rotation = math.random(-5, 5)
356
			end
357
		end))
358
		for i = 1, string.len(text) do
359
			CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
360
			tecks2.Text = string.sub(text, 1, i)
361
			tecks3.Text = string.sub(text, 1, i)
362
			swait(1)
363
		end
364
		wait(1)
365
		local randomrot = math.random(1, 2)
366
		if randomrot == 1 then
367
			for i = 1, 50 do
368
				swait()
369
				tecks2.Rotation = tecks2.Rotation - 0.75
370
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
371
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
372
				tecks3.Rotation = tecks2.Rotation + 0.75
373
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
374
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
375
			end
376
		elseif randomrot == 2 then
377
			for i = 1, 50 do
378
				swait()
379
				tecks2.Rotation = tecks2.Rotation + 0.75
380
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
381
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
382
				tecks3.Rotation = tecks2.Rotation - 0.75
383
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
384
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
385
			end
386
		end
387
		naeeym2:Destroy()
388
	end)
389
	chat()
390
end
391
local Create = LoadLibrary("RbxUtility").Create
392
CFuncs = {
393
	Part = {
394
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
395
			local Part = Create("Part")({
396
				Parent = Parent,
397
				Reflectance = Reflectance,
398
				Transparency = Transparency,
399
				CanCollide = false,
400
				Locked = true,
401
				BrickColor = BrickColor.new(tostring(BColor)),
402
				Name = Name,
403
				Size = Size,
404
				Material = Material
405
			})
406
			RemoveOutlines(Part)
407
			return Part
408
		end
409
	},
410
	Mesh = {
411
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
412
			local Msh = Create(Mesh)({
413
				Parent = Part,
414
				Offset = OffSet,
415
				Scale = Scale
416
			})
417
			if Mesh == "SpecialMesh" then
418
				Msh.MeshType = MeshType
419
				Msh.MeshId = MeshId
420
			end
421
			return Msh
422
		end
423
	},
424
	Mesh = {
425
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
426
			local Msh = Create(Mesh)({
427
				Parent = Part,
428
				Offset = OffSet,
429
				Scale = Scale
430
			})
431
			if Mesh == "SpecialMesh" then
432
				Msh.MeshType = MeshType
433
				Msh.MeshId = MeshId
434
			end
435
			return Msh
436
		end
437
	},
438
	Weld = {
439
		Create = function(Parent, Part0, Part1, C0, C1)
440
			local Weld = Create("Weld")({
441
				Parent = Parent,
442
				Part0 = Part0,
443
				Part1 = Part1,
444
				C0 = C0,
445
				C1 = C1
446
			})
447
			return Weld
448
		end
449
	},
450
	Sound = {
451
		Create = function(id, par, vol, pit)
452
			coroutine.resume(coroutine.create(function()
453
				local S = Create("Sound")({
454
					Volume = vol,
455
					Pitch = pit or 1,
456
					SoundId = id,
457
					Parent = par or workspace
458
				})
459
				wait()
460
				S:play()
461
				game:GetService("Debris"):AddItem(S, 10)
462
			end))
463
		end
464
	},
465
	LongSound = {
466
		Create = function(id, par, vol, pit)
467
			coroutine.resume(coroutine.create(function()
468
				local S = Create("Sound")({
469
					Volume = vol,
470
					Pitch = pit or 1,
471
					SoundId = id,
472
					Parent = par or workspace
473
				})
474
				wait()
475
				S:play()
476
				game:GetService("Debris"):AddItem(S, 30)
477
			end))
478
		end
479
	},
480
	ParticleEmitter = {
481
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
482
			local fp = Create("ParticleEmitter")({
483
				Parent = Parent,
484
				Color = ColorSequence.new(Color1, Color2),
485
				LightEmission = LightEmission,
486
				Size = Size,
487
				Texture = Texture,
488
				Transparency = Transparency,
489
				ZOffset = ZOffset,
490
				Acceleration = Accel,
491
				Drag = Drag,
492
				LockedToPart = LockedToPart,
493
				VelocityInheritance = VelocityInheritance,
494
				EmissionDirection = EmissionDirection,
495
				Enabled = Enabled,
496
				Lifetime = LifeTime,
497
				Rate = Rate,
498
				Rotation = Rotation,
499
				RotSpeed = RotSpeed,
500
				Speed = Speed,
501
				VelocitySpread = VelocitySpread
502
			})
503
			return fp
504
		end
505
	},
506
	CreateTemplate = {}
507
}
508
function New(Object, Parent, Name, Data)
509
	local Object = Instance.new(Object)
510
	for Index, Value in pairs(Data or {}) do
511
		Object[Index] = Value
512
	end
513
	Object.Parent = Parent
514
	Object.Name = Name
515
	return Object
516
end
517
local halocolor = BrickColor.new("Pastel light blue")
518
local halocolor2 = BrickColor.new("Really black")
519
local starcolor = BrickColor.new("Really black")
520
local lunacolor = BrickColor.new("Navy blue")
521
local lunacolor2 = BrickColor.new("Bright blue")
522
local wepcolor = BrickColor.new("Really black")
523
local maincolor = BrickColor.new("Really black")
524
local m = Instance.new("Model", char)
525
local m2 = Instance.new("Model", char)
526
local m3 = Instance.new("Model", char)
527
local mw1 = Instance.new("Model", char)
528
local mw2 = Instance.new("Model", char)
529
local extrawingmod1 = Instance.new("Model", char)
530
local extrawingmod2 = Instance.new("Model", char)
531
function CreateParta(parent, transparency, reflectance, material, brickcolor)
532
	local p = Instance.new("Part")
533
	p.TopSurface = 0
534
	p.BottomSurface = 0
535
	p.Parent = parent
536
	p.Size = Vector3.new(0.1, 0.1, 0.1)
537
	p.Transparency = transparency
538
	p.Reflectance = reflectance
539
	p.CanCollide = false
540
	p.Locked = true
541
	p.BrickColor = brickcolor
542
	p.Material = material
543
	return p
544
end
545
function CreateMesh(parent, meshtype, x1, y1, z1)
546
	local mesh = Instance.new("SpecialMesh", parent)
547
	mesh.MeshType = meshtype
548
	mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
549
	return mesh
550
end
551
function CreateSpecialMesh(parent, meshid, x1, y1, z1)
552
	local mesh = Instance.new("SpecialMesh", parent)
553
	mesh.MeshType = "FileMesh"
554
	mesh.MeshId = meshid
555
	mesh.Scale = Vector3.new(x1, y1, z1)
556
	return mesh
557
end
558
function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
559
	local mesh = Instance.new("SpecialMesh", parent)
560
	mesh.MeshType = "FileMesh"
561
	mesh.MeshId = meshid
562
	mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
563
	mesh.Scale = Vector3.new(x1, y1, z1)
564
	mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
565
	return mesh
566
end
567
function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
568
	local weld = Instance.new("Weld")
569
	weld.Parent = parent
570
	weld.Part0 = part0
571
	weld.Part1 = part1
572
	weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
573
	weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
574
	return weld
575
end
576
local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
577
CreateMesh(handle, "Brick", 0, 0, 0)
578
local handlexweld = CreateWeld(handlex, tors, handlex, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
579
local valuaring = 10
580
for i = 0, 49 do
581
	valuaring = valuaring + 10
582
	rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
583
	CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
584
	CreateWeld(rn, handlex, rn, 0, 1, 0, math.rad(0), math.rad(0), math.rad(valuaring), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
585
end
586
local handle = CreateParta(m, 1, 1, "Neon", maincolor)
587
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
588
local handleweld = CreateWeld(handle, tors, handle, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
589
local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
590
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
591
local lwing1weld = CreateWeld(lwing1, handle, lwing1, 3, 0, 0, math.rad(5), math.rad(0), math.rad(12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
592
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
593
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
594
CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
595
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
596
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
597
CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
598
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
599
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
600
CreateWeld(wed, lwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
601
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
602
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
603
CreateWeld(wed, lwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
604
local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
605
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
606
local lwing2weld = CreateWeld(lwing2, handle, lwing2, 4, 1, 0, math.rad(10), math.rad(0), math.rad(25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
607
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
608
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
609
CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
610
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
611
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
612
CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
613
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
614
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
615
CreateWeld(wed, lwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
616
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
617
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
618
CreateWeld(wed, lwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
619
local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
620
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
621
local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
622
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
623
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
624
CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
625
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
626
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
627
CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
628
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
629
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
630
CreateWeld(wed, lwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
631
wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
632
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
633
CreateWeld(wed, lwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
634
local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
635
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
636
local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5.75, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
637
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
638
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
639
CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
640
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
641
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
642
CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
643
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
644
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
645
CreateWeld(wed, lwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
646
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
647
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
648
CreateWeld(wed, lwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
649
local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
650
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
651
local lwing5weld = CreateWeld(lwing5, handle, lwing5, 6.75, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
652
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
653
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
654
CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
655
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
656
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
657
CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
658
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
659
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
660
CreateWeld(wed, lwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
661
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
662
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
663
CreateWeld(wed, lwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
664
local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
665
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
666
local lwing6weld = CreateWeld(lwing6, handle, lwing6, 7.75, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
667
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
668
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
669
CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
670
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
671
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
672
CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
673
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
674
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
675
CreateWeld(wed, lwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
676
wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
677
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
678
CreateWeld(wed, lwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
679
local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
680
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
681
local rwing1weld = CreateWeld(rwing1, handle, rwing1, -3, 0, 0, math.rad(5), math.rad(0), math.rad(-12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
682
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
683
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
684
CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
685
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
686
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
687
CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
688
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
689
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
690
CreateWeld(wed, rwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
691
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
692
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
693
CreateWeld(wed, rwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
694
local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
695
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
696
local rwing2weld = CreateWeld(rwing2, handle, rwing2, -4, 1, 0, math.rad(10), math.rad(0), math.rad(-25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
697
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
698
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
699
CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
700
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
701
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
702
CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
703
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
704
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
705
CreateWeld(wed, rwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
706
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
707
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
708
CreateWeld(wed, rwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
709
local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
710
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
711
local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
712
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
713
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
714
CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
715
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
716
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
717
CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
718
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
719
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
720
CreateWeld(wed, rwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
721
wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
722
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
723
CreateWeld(wed, rwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
724
local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
725
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
726
local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5.75, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
727
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
728
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
729
CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
730
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
731
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
732
CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
733
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
734
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
735
CreateWeld(wed, rwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
736
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
737
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
738
CreateWeld(wed, rwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
739
local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
740
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
741
local rwing5weld = CreateWeld(rwing5, handle, rwing5, -6.75, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
742
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
743
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
744
CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
745
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
746
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
747
CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
748
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
749
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
750
CreateWeld(wed, rwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
751
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
752
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
753
CreateWeld(wed, rwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
754
local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
755
CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
756
local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
757
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
758
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
759
CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
760
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
761
CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
762
CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
763
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
764
CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
765
CreateWeld(wed, rwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
766
wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
767
CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
768
CreateWeld(wed, rwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
769
ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
770
CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
771
CreateWeld(ran, larm, ran, 0, 0.15, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
772
ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
773
CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
774
CreateWeld(ran, larm, ran, 0, 0.155, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
775
ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
776
CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
777
CreateWeld(ran, larm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
778
gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
779
CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
780
CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
781
gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
782
CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
783
CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
784
gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
785
CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
786
CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
787
gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
788
CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
789
CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
790
gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
791
CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
792
CreateWeld(gane, larm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
793
star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
794
CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
795
CreateWeld(star, larm, star, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
796
starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
797
CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
798
CreateWeld(starl, larm, starl, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
799
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
800
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
801
CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
802
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
803
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
804
CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
805
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
806
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
807
CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
808
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
809
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
810
CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
811
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
812
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
813
CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
814
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
815
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
816
CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
817
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
818
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
819
CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
820
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
821
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
822
CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
823
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
824
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
825
CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
826
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
827
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
828
CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
829
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
830
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
831
CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
832
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
833
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
834
CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
835
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
836
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
837
CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
838
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
839
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
840
CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
841
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
842
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
843
CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
844
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
845
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
846
CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
847
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
848
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
849
CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
850
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
851
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
852
CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
853
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
854
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
855
CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
856
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
857
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
858
CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
859
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
860
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
861
CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
862
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
863
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
864
CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
865
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
866
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
867
CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
868
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
869
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
870
CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
871
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
872
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
873
CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
874
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
875
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
876
CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
877
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
878
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
879
CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
880
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
881
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
882
CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
883
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
884
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
885
CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
886
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
887
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
888
CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
889
ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
890
CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
891
CreateWeld(ran, rarm, ran, 0, 0.15, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
892
ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
893
CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
894
CreateWeld(ran, rarm, ran, 0, 0.155, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
895
ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
896
CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
897
CreateWeld(ran, rarm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
898
gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
899
CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
900
CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
901
gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
902
CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
903
CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
904
gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
905
CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
906
CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
907
gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
908
CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
909
CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
910
gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
911
CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
912
CreateWeld(gane, rarm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
913
star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
914
CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
915
CreateWeld(star, rarm, star, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
916
starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
917
CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
918
CreateWeld(starl, rarm, starl, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
919
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
920
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
921
CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
922
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
923
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
924
CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
925
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
926
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
927
CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
928
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
929
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
930
CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
931
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
932
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
933
CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
934
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
935
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
936
CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
937
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
938
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
939
CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
940
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
941
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
942
CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
943
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
944
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
945
CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
946
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
947
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
948
CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
949
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
950
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
951
CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
952
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
953
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
954
CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
955
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
956
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
957
CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
958
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
959
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
960
CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
961
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
962
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
963
CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
964
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
965
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
966
CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
967
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
968
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
969
CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
970
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
971
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
972
CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
973
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
974
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
975
CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
976
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
977
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
978
CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
979
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
980
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
981
CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
982
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
983
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
984
CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
985
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
986
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
987
CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
988
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
989
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
990
CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
991
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
992
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
993
CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
994
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
995
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
996
CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
997
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
998
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
999
CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
1000
dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
1001
CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
1002
CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
1003
dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
1004
CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
1005
CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
1006
dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
1007
CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
1008
CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
1009
for i, v in pairs(m:GetChildren()) do
1010
	if v:IsA("Part") then
1011
		v.BrickColor = BrickColor.new("Really black")
1012
		v.Material = "Glass"
1013
	end
1014
end
1015
for i, v in pairs(m2:GetChildren()) do
1016
	if v:IsA("Part") then
1017
		v.BrickColor = BrickColor.new("Crimson")
1018
		v.Material = "Granite"
1019
	end
1020
end
1021
for i, v in pairs(m3:GetChildren()) do
1022
	if v:IsA("Part") then
1023
		v.BrickColor = BrickColor.new("Really red")
1024
		v.Material = "Neon"
1025
	end
1026
end
1027
for i, v in pairs(mw2:GetChildren()) do
1028
	if v:IsA("Part") then
1029
		v.BrickColor = BrickColor.new("Really red")
1030
		v.Material = "Neon"
1031
	end
1032
end
1033
for i, v in pairs(mw1:GetChildren()) do
1034
	if v:IsA("Part") then
1035
		v.Transparency = 1
1036
		v.BrickColor = BrickColor.new("Really red")
1037
		v.Material = "Neon"
1038
	end
1039
end
1040
for i, v in pairs(extrawingmod1:GetChildren()) do
1041
	if v:IsA("Part") then
1042
		v.Transparency = 1
1043
		v.BrickColor = BrickColor.new("White")
1044
		v.Material = "Neon"
1045
	end
1046
end
1047
for i, v in pairs(extrawingmod2:GetChildren()) do
1048
	if v:IsA("Part") then
1049
		v.Transparency = 1
1050
		v.BrickColor = BrickColor.new("White")
1051
		v.Material = "Neon"
1052
	end
1053
end
1054
1055
FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1056
Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
1057
Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
1058
FHead.CanCollide = false
1059
1060
1061
1062
local MAINRUINCOLOR = BrickColor.new("Really red")
1063
function RemoveOutlines(part)
1064
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1065
end
1066
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1067
	local Part = Create("Part")({
1068
		Parent = Parent,
1069
		Reflectance = Reflectance,
1070
		Transparency = Transparency,
1071
		CanCollide = false,
1072
		Locked = true,
1073
		BrickColor = BrickColor.new(tostring(BColor)),
1074
		Name = Name,
1075
		Size = Size,
1076
		Material = Material
1077
	})
1078
	Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1079
	RemoveOutlines(Part)
1080
	return Part
1081
end
1082
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1083
	local Msh = Create(Mesh)({
1084
		Parent = Part,
1085
		Offset = OffSet,
1086
		Scale = Scale
1087
	})
1088
	if Mesh == "SpecialMesh" then
1089
		Msh.MeshType = MeshType
1090
		Msh.MeshId = MeshId
1091
	end
1092
	return Msh
1093
end
1094
function CreateWeld(Parent, Part0, Part1, C0, C1)
1095
	local Weld = Create("Weld")({
1096
		Parent = Parent,
1097
		Part0 = Part0,
1098
		Part1 = Part1,
1099
		C0 = C0,
1100
		C1 = C1
1101
	})
1102
	return Weld
1103
end
1104
Player = game:GetService("Players").LocalPlayer
1105
Character = Player.Character
1106
PlayerGui = Player.PlayerGui
1107
Backpack = Player.Backpack
1108
Torso = Character.Torso
1109
Head = Character.Head
1110
Humanoid = Character.Humanoid
1111
m = Instance.new("Model", Character)
1112
LeftArm = Character["Left Arm"]
1113
LeftLeg = Character["Left Leg"]
1114
RightArm = Character["Right Arm"]
1115
RightLeg = Character["Right Leg"]
1116
LS = Torso["Left Shoulder"]
1117
LH = Torso["Left Hip"]
1118
RS = Torso["Right Shoulder"]
1119
RH = Torso["Right Hip"]
1120
Face = Head.face
1121
Neck = Torso.Neck
1122
it = Instance.new
1123
attacktype = 1
1124
vt = Vector3.new
1125
cf = CFrame.new
1126
euler = CFrame.fromEulerAnglesXYZ
1127
angles = CFrame.Angles
1128
cloaked = false
1129
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1130
necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1131
LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1132
LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
1133
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1134
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
1135
RootPart = Character.HumanoidRootPart
1136
RootJoint = RootPart.RootJoint
1137
RootCF = euler(-1.57, 0, 3.14)
1138
attack = false
1139
attackdebounce = false
1140
deb = false
1141
equipped = true
1142
hand = false
1143
MMouse = nil
1144
combo = 0
1145
mana = 0
1146
trispeed = 0.2
1147
attackmode = "none"
1148
local idle = 0
1149
local Anim = "Idle"
1150-
local Effects = {}
1150+
1151
local shoot = false
1152
local sine = 0
1153
local change = 1
1154
player = nil
1155
local toggleTag = true
1156
local txt = Instance.new("BillboardGui", Head)
1157
txt.Adornee = nil
1158
txt.Name = "NameDetect"
1159
txt.Size = UDim2.new(4, 0, 1.2, 0)
1160
txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
1161
local text = Instance.new("TextLabel", txt)
1162
text.Size = UDim2.new(5, 0, 3.5, 0)
1163
text.FontSize = "Size8"
1164
text.TextScaled = true
1165
text.TextTransparency = 0
1166
text.BackgroundTransparency = 1
1167
text.TextTransparency = 0
1168
text.TextStrokeTransparency = 0
1169
text.Font = "Cartoon"
1170
text.TextStrokeColor3 = Color3.new(1, 0, 0)
1171
text.TextColor3 = Color3.new(196, 40, 28)
1172
text.Text = "Welcome"
1173
function RecolorTextAndRename(name, col1, col2)
1174
	text.TextStrokeColor3 = col2
1175
	text.TextColor3 = col1
1176
	text.Text = name
1177
end
1178
mouse = Player:GetMouse()
1179
RSH, LSH = nil, nil
1180
RW, LW = Instance.new("Weld"), Instance.new("Weld")
1181
RW.Name = "Right Shoulder"
1182
LW.Name = "Left Shoulder"
1183
LH = Torso["Left Hip"]
1184
RH = Torso["Right Hip"]
1185
TorsoColor = Torso.BrickColor
1186
function NoOutline(Part)
1187
	Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
1188
end
1189
player = Player
1190
ch = Character
1191
RSH = ch.Torso["Right Shoulder"]
1192
LSH = ch.Torso["Left Shoulder"]
1193
RSH.Parent = nil
1194
LSH.Parent = nil
1195
RW.Name = "Right Shoulder"
1196
RW.Part0 = ch.Torso
1197
RW.C0 = cf(1.5, 0.5, 0)
1198
RW.C1 = cf(0, 0.5, 0)
1199
RW.Part1 = ch["Right Arm"]
1200
RW.Parent = ch.Torso
1201
LW.Name = "Left Shoulder"
1202
LW.Part0 = ch.Torso
1203
LW.C0 = cf(-1.5, 0.5, 0)
1204
LW.C1 = cf(0, 0.5, 0)
1205
LW.Part1 = ch["Left Arm"]
1206
LW.Parent = ch.Torso
1207
local Stats = Instance.new("BoolValue")
1208
Stats.Name = "Stats"
1209
Stats.Parent = Character
1210
local Atk = Instance.new("NumberValue")
1211
Atk.Name = "Damage"
1212
Atk.Parent = Stats
1213
Atk.Value = 1
1214
local Def = Instance.new("NumberValue")
1215
Def.Name = "Defense"
1216
Def.Parent = Stats
1217
Def.Value = 1
1218
local Speed = Instance.new("NumberValue")
1219
Speed.Name = "Speed"
1220
Speed.Parent = Stats
1221
Speed.Value = 1
1222
local Mvmt = Instance.new("NumberValue")
1223
Mvmt.Name = "Movement"
1224
Mvmt.Parent = Stats
1225
Mvmt.Value = 1
1226
local donum = 0
1227
function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
1228
	local fp = it("Part")
1229
	fp.formFactor = formfactor
1230
	fp.Parent = parent
1231
	fp.Reflectance = reflectance
1232
	fp.Transparency = transparency
1233
	fp.CanCollide = false
1234
	fp.Locked = true
1235
	fp.BrickColor = brickcolor
1236
	fp.Name = name
1237
	fp.Size = size
1238
	fp.Position = Torso.Position
1239
	NoOutline(fp)
1240
	fp.Material = "SmoothPlastic"
1241
	fp:BreakJoints()
1242
	return fp
1243
end
1244
function mesh(Mesh, part, meshtype, meshid, offset, scale)
1245
	local mesh = it(Mesh)
1246
	mesh.Parent = part
1247
	if Mesh == "SpecialMesh" then
1248
		mesh.MeshType = meshtype
1249
		if meshid ~= "nil" then
1250
			mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
1251
		end
1252
	end
1253
	mesh.Offset = offset
1254
	mesh.Scale = scale
1255
	return mesh
1256
end
1257
function weld(parent, part0, part1, c0)
1258
	local weld = it("Weld")
1259
	weld.Parent = parent
1260
	weld.Part0 = part0
1261
	weld.Part1 = part1
1262
	weld.C0 = c0
1263
	return weld
1264
end
1265
local Color1 = Torso.BrickColor
1266
local bodvel = Instance.new("BodyVelocity")
1267
local bg = Instance.new("BodyGyro")
1268
function swait(num)
1269
	if num == 0 or num == nil then
1270
		game:service("RunService").Stepped:wait(0)
1271
	else
1272
		for i = 0, num do
1273
			game:service("RunService").Stepped:wait(0)
1274
		end
1275
	end
1276
end
1277
local r = 255
1278
local g = 0
1279
local b = 0
1280
coroutine.resume(coroutine.create(function()
1281
	while wait() do
1282
		for i = 0, 50.8 do
1283
			swait()
1284
			g = g + 5
1285
		end
1286
		for i = 0, 50.8 do
1287
			swait()
1288
			r = r - 5
1289
		end
1290
		for i = 0, 50.8 do
1291
			swait()
1292
			b = b + 5
1293
		end
1294
		for i = 0, 50.8 do
1295
			swait()
1296
			g = g - 5
1297
		end
1298
		for i = 0, 50.8 do
1299
			swait()
1300
			r = r + 5
1301
		end
1302
		for i = 0, 50.8 do
1303
			swait()
1304
			b = b - 5
1305
		end
1306
	end
1307
end))
1308
function so(id, par, vol, pit)
1309
	coroutine.resume(coroutine.create(function()
1310
		local sou = Instance.new("Sound", par or workspace)
1311
		sou.Volume = vol
1312
		sou.Pitch = pit or 1
1313
		sou.SoundId = id
1314
		swait()
1315
		sou:play()
1316
		game:GetService("Debris"):AddItem(sou, 6)
1317
	end))
1318
end
1319
function clerp(a, b, t)
1320
	local qa = {
1321
		QuaternionFromCFrame(a)
1322
	}
1323
	local qb = {
1324
		QuaternionFromCFrame(b)
1325
	}
1326
	local ax, ay, az = a.x, a.y, a.z
1327
	local bx, by, bz = b.x, b.y, b.z
1328
	local _t = 1 - t
1329
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1330
end
1331
function QuaternionFromCFrame(cf)
1332
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1333
	local trace = m00 + m11 + m22
1334
	if trace > 0 then
1335
		local s = math.sqrt(1 + trace)
1336
		local recip = 0.5 / s
1337
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1338
	else
1339
		local i = 0
1340
		if m00 < m11 then
1341
			i = 1
1342
		end
1343
		if m22 > (i == 0 and m00 or m11) then
1344
			i = 2
1345
		end
1346
		if i == 0 then
1347
			local s = math.sqrt(m00 - m11 - m22 + 1)
1348
			local recip = 0.5 / s
1349
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1350
		elseif i == 1 then
1351
			local s = math.sqrt(m11 - m22 - m00 + 1)
1352
			local recip = 0.5 / s
1353
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1354
		elseif i == 2 then
1355
			local s = math.sqrt(m22 - m00 - m11 + 1)
1356
			local recip = 0.5 / s
1357
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1358
		end
1359
	end
1360
end
1361
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1362
	local xs, ys, zs = x + x, y + y, z + z
1363
	local wx, wy, wz = w * xs, w * ys, w * zs
1364
	local xx = x * xs
1365
	local xy = x * ys
1366
	local xz = x * zs
1367
	local yy = y * ys
1368
	local yz = y * zs
1369
	local zz = z * zs
1370
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
1371
end
1372
function QuaternionSlerp(a, b, t)
1373
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1374
	local startInterp, finishInterp
1375
	if cosTheta >= 1.0E-4 then
1376
		if 1 - cosTheta > 1.0E-4 then
1377
			local theta = math.acos(cosTheta)
1378
			local invSinTheta = 1 / math.sin(theta)
1379
			startInterp = math.sin((1 - t) * theta) * invSinTheta
1380
			finishInterp = math.sin(t * theta) * invSinTheta
1381
		else
1382
			startInterp = 1 - t
1383
			finishInterp = t
1384
		end
1385
	elseif 1 + cosTheta > 1.0E-4 then
1386
		local theta = math.acos(-cosTheta)
1387
		local invSinTheta = 1 / math.sin(theta)
1388
		startInterp = math.sin((t - 1) * theta) * invSinTheta
1389
		finishInterp = math.sin(t * theta) * invSinTheta
1390
	else
1391
		startInterp = t - 1
1392
		finishInterp = t
1393
	end
1394
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
1395
end
1396
local CFrameFromTopBack = function(at, top, back)
1397
	local right = top:Cross(back)
1398
	return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
1399
end
1400
function Triangle(a, b, c)
1401
	local edg1 = (c - a):Dot((b - a).unit)
1402
	local edg2 = (a - b):Dot((c - b).unit)
1403
	local edg3 = (b - c):Dot((a - c).unit)
1404
	if edg1 <= (b - a).magnitude and edg1 >= 0 then
1405
		a, b = a, b
1406
	elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
1407
		a, b, c = b, c, a
1408
	elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
1409
		a, b, c = c, a, b
1410
	else
1411
		assert(false, "unreachable")
1412
	end
1413
	local len1 = (c - a):Dot((b - a).unit)
1414
	local len2 = (b - a).magnitude - len1
1415
	local width = (a + (b - a).unit * len1 - c).magnitude
1416
	local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
1417
	local list = {}
1418
	if len1 > 0.01 then
1419
		local w1 = Instance.new("WedgePart", m)
1420
		game:GetService("Debris"):AddItem(w1, 5)
1421
		w1.Material = "SmoothPlastic"
1422
		w1.FormFactor = "Custom"
1423
		w1.BrickColor = BrickColor.new("Really red")
1424
		w1.Transparency = 0
1425
		w1.Reflectance = 0
1426
		w1.Material = "SmoothPlastic"
1427
		w1.CanCollide = false
1428
		local l1 = Instance.new("PointLight", w1)
1429
		l1.Color = Color3.new(170, 0, 0)
1430
		NoOutline(w1)
1431
		local sz = Vector3.new(0.2, width, len1)
1432
		w1.Size = sz
1433
		local sp = Instance.new("SpecialMesh", w1)
1434
		sp.MeshType = "Wedge"
1435
		sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
1436
		w1:BreakJoints()
1437
		w1.Anchored = true
1438
		w1.Parent = workspace
1439
		w1.Transparency = 0.7
1440
			w1,
1441-
		table.insert(Effects, {
1441+
1442
			0.01
1443
		})
1444
		w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
1445
		table.insert(list, w1)
1446
	end
1447
	if len2 > 0.01 then
1448
		local w2 = Instance.new("WedgePart", m)
1449
		game:GetService("Debris"):AddItem(w2, 5)
1450
		w2.Material = "SmoothPlastic"
1451
		w2.FormFactor = "Custom"
1452
		w2.BrickColor = BrickColor.new("Really red")
1453
		w2.Transparency = 0
1454
		w2.Reflectance = 0
1455
		w2.Material = "SmoothPlastic"
1456
		w2.CanCollide = false
1457
		local l2 = Instance.new("PointLight", w2)
1458
		l2.Color = Color3.new(170, 0, 0)
1459
		NoOutline(w2)
1460
		local sz = Vector3.new(0.2, width, len2)
1461
		w2.Size = sz
1462
		local sp = Instance.new("SpecialMesh", w2)
1463
		sp.MeshType = "Wedge"
1464
		sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
1465
		w2:BreakJoints()
1466
		w2.Anchored = true
1467
		w2.Parent = workspace
1468
		w2.Transparency = 0.7
1469
			w2,
1470
			"Disappear",
1471-
		table.insert(Effects, {
1471+
1472
		})
1473
		w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
1474
		table.insert(list, w2)
1475
	end
1476
	return unpack(list)
1477
end
1478
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1479
	if hit.Parent == nil then
1480
		return
1481
	end
1482
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1483
	for _, v in pairs(hit.Parent:children()) do
1484
		if v:IsA("Humanoid") then
1485
			h = v
1486
		end
1487
	end
1488
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1489
		if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1490
			return
1491
		end
1492
		local c = Create("ObjectValue")({
1493
			Name = "creator",
1494
			Value = RealGame:service("Players")[owner.Name],
1495
			Parent = h
1496
		})
1497
		game:GetService("Debris"):AddItem(c, 0.5)
1498
		if HitSound ~= nil and HitPitch ~= nil then
1499
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1500
		end
1501
		local Damage = math.random(minim, maxim)
1502
		local blocked = false
1503
		local block = hit.Parent:findFirstChild("Block")
1504
		if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1505
			blocked = true
1506
			block.Value = block.Value - 1
1507
			print(block.Value)
1508
		end
1509
		if blocked == false then
1510
			HitHealth = h.Health
1511
			h.Health = h.Health - Damage
1512
			if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1513
				print("gained kill")
1514
			end
1515
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1516
		else
1517
			h.Health = h.Health - Damage / 2
1518
			ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1519
		end
1520
		if Type == "Knockdown" then
1521
			local hum = hit.Parent.Humanoid
1522
			hum.PlatformStand = true
1523
			coroutine.resume(coroutine.create(function(HHumanoid)
1524
				swait(1)
1525
				HHumanoid.PlatformStand = false
1526
			end), hum)
1527
			local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1528
			local bodvol = Create("BodyVelocity")({
1529
				velocity = angle * knockback,
1530
				P = 5000,
1531
				maxForce = Vector3.new(8000, 8000, 8000),
1532
				Parent = hit
1533
			})
1534
			local rl = Create("BodyAngularVelocity")({
1535
				P = 3000,
1536
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1537
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1538
				Parent = hit
1539
			})
1540
			game:GetService("Debris"):AddItem(bodvol, 0.5)
1541
			game:GetService("Debris"):AddItem(rl, 0.5)
1542
		elseif Type == "Normal" then
1543
			local vp = Create("BodyVelocity")({
1544
				P = 500,
1545
				maxForce = Vector3.new(math.huge, 0, math.huge),
1546
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1547
			})
1548
			if knockback > 0 then
1549
				vp.Parent = hit.Parent.Head
1550
			end
1551
			game:GetService("Debris"):AddItem(vp, 0.5)
1552
		elseif Type == "Up" then
1553
			local bodyVelocity = Create("BodyVelocity")({
1554
				velocity = Vector3.new(0, 20, 0),
1555
				P = 5000,
1556
				maxForce = Vector3.new(8000, 8000, 8000),
1557
				Parent = hit
1558
			})
1559
			game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1560
			local bodyVelocity = Create("BodyVelocity")({
1561
				velocity = Vector3.new(0, 20, 0),
1562
				P = 5000,
1563
				maxForce = Vector3.new(8000, 8000, 8000),
1564
				Parent = hit
1565
			})
1566
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
1567
		elseif Type == "Leech" then
1568
			local hum = hit.Parent.Humanoid
1569
			if hum ~= nil then
1570
				Humanoid.Health = Humanoid.Health + 10
1571
			end
1572
		elseif Type == "UpKnock" then
1573-
				for i = 0, 2 do
1573+
1574-
					Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1574+
1575
			if hum ~= nil then
1576
				hitr = true
1577
			end
1578
			coroutine.resume(coroutine.create(function(HHumanoid)
1579
				swait(5)
1580
				HHumanoid.PlatformStand = false
1581
				hitr = false
1582
			end), hum)
1583
			local bodyVelocity = Create("BodyVelocity")({
1584
				velocity = Vector3.new(0, 20, 0),
1585
				P = 5000,
1586
				maxForce = Vector3.new(8000, 8000, 8000),
1587
				Parent = hit
1588
			})
1589
			game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1590
			local bodyVelocity = Create("BodyVelocity")({
1591
				velocity = Vector3.new(0, 20, 0),
1592
				P = 5000,
1593
				maxForce = Vector3.new(8000, 8000, 8000),
1594
				Parent = hit
1595
			})
1596
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
1597
		elseif Type == "Snare" then
1598
			local bp = Create("BodyPosition")({
1599
				P = 2000,
1600
				D = 100,
1601
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1602
				position = hit.Parent.Torso.Position,
1603
				Parent = hit.Parent.Torso
1604
			})
1605
			local bp = Create("BodyPosition")({
1606
				P = 2000,
1607
				D = 100,
1608
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1609
				position = hit.Parent.Torso.Position,
1610
				Parent = hit.Parent.Torso
1611
			})
1612-
		elseif Type == "Slashnare" then
1612+
1613-
			Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
1613+
1614-
			for i = 1, math.random(4, 5) do
1614+
1615-
				Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
1615+
1616
				P = 2000,
1617
				D = 100,
1618
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1619
				position = hit.Parent.Torso.Position,
1620
				Parent = hit.Parent.Torso
1621
			})
1622
			game:GetService("Debris"):AddItem(bp, 1)
1623
		elseif Type == "Freeze" then
1624
			local BodPos = Create("BodyPosition")({
1625
				P = 50000,
1626
				D = 1000,
1627
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
1628
				position = hit.Parent.Torso.Position,
1629
				Parent = hit.Parent.Torso
1630
			})
1631
			local BodGy = Create("BodyGyro")({
1632
				maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1633
				P = 20000,
1634
				Parent = hit.Parent.Torso,
1635
				cframe = hit.Parent.Torso.CFrame
1636
			})
1637
			hit.Parent.Torso.Anchored = true
1638
			coroutine.resume(coroutine.create(function(Part)
1639
				swait(1.5)
1640
				Part.Anchored = false
1641
			end), hit.Parent.Torso)
1642
			game:GetService("Debris"):AddItem(BodPos, 3)
1643
			game:GetService("Debris"):AddItem(BodGy, 3)
1644
		end
1645
		local debounce = Create("BoolValue")({
1646
			Name = "DebounceHit",
1647
			Parent = hit.Parent,
1648
			Value = true
1649
		})
1650
		game:GetService("Debris"):AddItem(debounce, Delay)
1651
		c = Instance.new("ObjectValue")
1652
		c.Name = "creator"
1653
		c.Value = RealGame:service("Players")[owner.Name];
1654
		c.Parent = h
1655
		game:GetService("Debris"):AddItem(c, 0.5)
1656
	end
1657
end
1658
function ShowDamage(Pos, Text, Time, Color)
1659
	local Rate = 0.03333333333333333
1660
	local Pos = Pos or Vector3.new(0, 0, 0)
1661
	local Text = Text or ""
1662
	local Time = Time or 2
1663
	local Color = Color or Color3.new(1, 0, 1)
1664
	})
1665
	local TextLabel = Create("TextLabel")({
1666
		BackgroundTransparency = 1,
1667
		Size = UDim2.new(1, 0, 1, 0),
1668
		Text = Text,
1669
		TextColor3 = Color,
1670
		TextScaled = true,
1671
		Font = Enum.Font.ArialBold,
1672
		Parent = BillboardGui
1673
	})
1674
	game.Debris:AddItem(EffectPart, Time + 0.1)
1675
	EffectPart.Parent = game:GetService("Workspace")
1676-
	local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1676+
1677-
	EffectPart.Anchored = true
1677+
1678-
	local BillboardGui = Create("BillboardGui")({
1678+
1679-
		Size = UDim2.new(3, 0, 3, 0),
1679+
1680-
		Adornee = EffectPart,
1680+
1681-
		Parent = EffectPart
1681+
1682
			TextLabel.TextTransparency = Percent
1683
		end
1684
		if EffectPart and EffectPart.Parent then
1685
			EffectPart:Destroy()
1686
		end
1687
	end)
1688
end
1689
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1690
	for _, c in pairs(workspace:children()) do
1691
		local hum = c:findFirstChildOfClass("Humanoid")
1692
		if hum ~= nil then
1693
			local head = c:findFirstChild("Head")
1694
			if head ~= nil then
1695
				local targ = head.Position - Part.Position
1696
				local mag = targ.magnitude
1697
				if magni >= mag and c.Name ~= Player.Name then
1698
					Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1699
				end
1700
			end
1701
		end
1702
	end
1703
end
1704
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
1705
	for _, c in pairs(workspace:children()) do
1706
		local hum = c:findFirstChild("Humanoid")
1707
		if hum ~= nil then
1708
			local head = c:findFirstChild("Torso")
1709
			if head ~= nil then
1710
				local targ = head.Position - Part.Position
1711
				local mag = targ.magnitude
1712
				if magni >= mag and c.Name ~= Player.Name then
1713
					MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
1714
					Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1715
				end
1716
			end
1717
		end
1718
	end
1719
end
1720
function rayCast(Pos, Dir, Max, Ignore)
1721
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
1722
end
1723
function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
1724
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1725
	prt.Anchored = true
1726
	prt.CFrame = cframe
1727
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
1728
	game:GetService("Debris"):AddItem(prt, 2)
1729
	CF = prt.CFrame
1730
	coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
1731
		for i = 0, 1, 0.2 do
1732
			wait()
1733
			Part.CFrame = CF * cf(0, 0, -0.4)
1734
		end
1735
		for i = 0, 1, delay do
1736
			wait()
1737
			Mesh.Scale = Mesh.Scale
1738
		end
1739
		for i = 0, 1, 0.1 do
1740
			wait()
1741
			Part.Transparency = i
1742
		end
1743
		Part.Parent = nil
1744
	end), prt, msh, CF)
1745
end
1746
function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1747
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1748
	prt.Anchored = true
1749
	prt.Material = "Neon"
1750
	prt.CFrame = cframe
1751
	prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1752
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1753
	game:GetService("Debris"):AddItem(prt, 5)
1754
	coroutine.resume(coroutine.create(function(Part, Mesh)
1755
		for i = 0, 1, delay do
1756
			swait()
1757
			Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1758
			Part.Transparency = i
1759
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1760
		end
1761
		Part.Parent = nil
1762
	end), prt, msh)
1763
end
1764
function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1765
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1766
	prt.Anchored = true
1767
	prt.Material = "Neon"
1768
	prt.CFrame = cframe
1769
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1770
	game:GetService("Debris"):AddItem(prt, 5)
1771
	coroutine.resume(coroutine.create(function(Part, Mesh)
1772
		local rtype = rottype
1773
		for i = 0, 1, delay do
1774
			swait()
1775
			if rtype == 1 then
1776
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1777
			elseif rtype == 2 then
1778
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1779
			end
1780
			Part.Transparency = i
1781
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1782
		end
1783
		Part.Parent = nil
1784
	end), prt, msh)
1785
end
1786
function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1787
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1788
	prt.Anchored = true
1789
	prt.CFrame = cframe
1790
	prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1791
	msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1792
	game:GetService("Debris"):AddItem(prt, 5)
1793
	coroutine.resume(coroutine.create(function(Part, Mesh)
1794
		for i = 0, 1, delay do
1795
			wait()
1796
			Part.Transparency = i
1797
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1798
		end
1799
		Part.Parent = nil
1800
	end), prt, msh)
1801
end
1802
function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1803
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1804
	prt.Anchored = true
1805
	prt.Material = "Neon"
1806
	prt.CFrame = cframe
1807
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1808
	game:GetService("Debris"):AddItem(prt, 5)
1809
	coroutine.resume(coroutine.create(function(Part, Mesh)
1810
		local rtype = rottype
1811
		for i = 0, 1, delay do
1812
			swait()
1813
			if rtype == 1 then
1814
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1815
			elseif rtype == 2 then
1816
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1817
			end
1818
			Part.Transparency = i
1819
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1820
		end
1821
		Part.Parent = nil
1822
	end), prt, msh)
1823
end
1824
function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1825
	local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1826
	prt.Anchored = true
1827
	prt.Material = "Neon"
1828
	prt.CFrame = cframe
1829
	local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
1830
	local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
1831
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
1832
	game:GetService("Debris"):AddItem(prt, 5)
1833
	coroutine.resume(coroutine.create(function(Part, Mesh)
1834
		local rtype = rottype
1835
		for i = 0, 1, delay do
1836
			swait()
1837
			if rtype == 1 then
1838
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1839
			elseif rtype == 2 then
1840
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1841
			end
1842
			dec.Transparency = i
1843
			dec2.Transparency = i
1844
			Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
1845
		end
1846
		Part.Parent = nil
1847
	end), prt, msh)
1848
end
1849
function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
1850
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1851
	prt.Anchored = true
1852
	prt.Material = "Neon"
1853
	prt.CFrame = cframe
1854
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
1855
	game:GetService("Debris"):AddItem(prt, 5)
1856
	coroutine.resume(coroutine.create(function(Part, Mesh)
1857
		local rtype = rottype
1858
		for i = 0, 1, delay do
1859
			swait()
1860
			if rtype == 1 then
1861
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1862
			elseif rtype == 2 then
1863
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1864
			end
1865
			prt.Transparency = i
1866
			Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
1867
		end
1868
		Part.Parent = nil
1869
	end), prt, msh)
1870
end
1871
function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
1872
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1873
	prt.Anchored = true
1874
	prt.Material = "Neon"
1875
	prt.CFrame = cframe
1876
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
1877
	game:GetService("Debris"):AddItem(prt, 5)
1878
	coroutine.resume(coroutine.create(function(Part, Mesh)
1879
		local rtype = rottype
1880
		for i = 0, 1, delay do
1881
			swait()
1882
			if rtype == 1 then
1883
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
1884
			elseif rtype == 2 then
1885
				prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
1886
			end
1887
			prt.Transparency = i
1888
			Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
1889
		end
1890
		Part.Parent = nil
1891
	end), prt, msh)
1892
end
1893
function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
1894
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1895
	prt.Anchored = true
1896
	prt.Material = "Neon"
1897
	prt.CFrame = cframe
1898
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1899
	game:GetService("Debris"):AddItem(prt, 5)
1900
	coroutine.resume(coroutine.create(function(Part, Mesh)
1901
		local rtype = rottype
1902
		for i = 0, 1, delay do
1903
			swait()
1904
			if rtype == 1 then
1905
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1906
			elseif rtype == 2 then
1907
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1908
			end
1909
			prt.Transparency = i
1910
			Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
1911
		end
1912
		Part.Parent = nil
1913
	end), prt, msh)
1914
end
1915
function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
1916
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1917
	prt.Anchored = true
1918
	prt.Material = "Neon"
1919
	prt.CFrame = cframe
1920
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1921
	game:GetService("Debris"):AddItem(prt, 5)
1922
	coroutine.resume(coroutine.create(function(Part, Mesh)
1923
		local rtype = rottype
1924
		for i = 0, 1, delay do
1925
			swait()
1926
			if rtype == 1 then
1927
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
1928
			elseif rtype == 2 then
1929
				prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
1930
			end
1931
			prt.Transparency = i
1932
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1933
		end
1934
		Part.Parent = nil
1935
	end), prt, msh)
1936
end
1937
function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
1938
	local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1939
	prt.Anchored = false
1940
	prt.CFrame = cframe
1941
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1942
	local wld = weld(prt, prt, Parent, cframe)
1943
	game:GetService("Debris"):AddItem(prt, 5)
1944
	coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
1945
		for i = 0, 1, delay do
1946
			wait()
1947
			Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
1948
			Part.Transparency = i
1949
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1950
		end
1951
		Part.Parent = nil
1952
	end), prt, msh, wld)
1953
end
1954
function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
1955
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1956
	prt.Anchored = false
1957
	prt.CFrame = cframe
1958
	msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1959
	local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
1960
	game:GetService("Debris"):AddItem(prt, 5)
1961
	coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
1962
		for i = 0, 1, delay do
1963
			wait()
1964
			Weld.C0 = euler(i * 20, 0, 0)
1965
			Part.Transparency = i
1966
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1967
		end
1968
		Part.Parent = nil
1969
	end), prt, msh, wld)
1970
end
1971
function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1972
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1973
	prt.Anchored = true
1974
	prt.CFrame = cframe
1975
	local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1976
	game:GetService("Debris"):AddItem(prt, 2)
1977
	coroutine.resume(coroutine.create(function(Part, Mesh)
1978
		for i = 0, 1, delay do
1979
			wait()
1980
			Part.CFrame = Part.CFrame
1981
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1982
			local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
1983
			prt2.Anchored = true
1984
			prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1985
			local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
1986
			game:GetService("Debris"):AddItem(prt2, 2)
1987
			coroutine.resume(coroutine.create(function(Part, Mesh)
1988
				for i = 0, 1, 0.1 do
1989
					wait()
1990
					Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
1991
				end
1992
				Part.Parent = nil
1993
			end), prt2, msh2)
1994
		end
1995
		for i = 0, 1, delay * 2 do
1996
			wait()
1997
			Part.CFrame = Part.CFrame
1998
			Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
1999
		end
2000
		Part.Parent = nil
2001
	end), prt, msh)
2002
end
2003
function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2004
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2005
	prt.Anchored = true
2006
	prt.CFrame = cframe
2007
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
2008
	game:GetService("Debris"):AddItem(prt, 2)
2009
	coroutine.resume(coroutine.create(function(Part, Mesh)
2010
		for i = 0, 1, delay do
2011
			wait()
2012
			Part.CFrame = Part.CFrame
2013
			Part.Transparency = i
2014
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
2015
		end
2016
		Part.Parent = nil
2017
	end), prt, msh)
2018
end
2019
function BreakEffect(brickcolor, cframe, x1, y1, z1)
2020
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2021
	prt.Anchored = true
2022
	prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2023
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
2024
	game:GetService("Debris"):AddItem(prt, 2)
2025
	coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
2026
		CF = Part.CFrame
2027
		Numbb = 0
2028
		randnumb = math.random() / 10
2029
		rand1 = math.random() / 10
2030
		for i = 0, 1, rand1 do
2031
			wait()
2032
			CF = CF * cf(0, math.random() / 2, 0)
2033
			Part.CFrame = CF * euler(Numbb, 0, 0)
2034
			Part.Transparency = i
2035
			Numbb = Numbb + randnumb
2036
		end
2037
		Part.Parent = nil
2038
	end), prt, CF, Numbb, randnumb)
2039
end
2040
function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2041
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2042
	prt.Anchored = true
2043
	prt.CFrame = cframe
2044
	msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
2045
	game:GetService("Debris"):AddItem(prt, 5)
2046
	coroutine.resume(coroutine.create(function(Part, Mesh)
2047
		for i = 0, 1, delay do
2048
			wait()
2049
			Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
2050
			Part.Transparency = i
2051
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
2052
		end
2053
		Part.Parent = nil
2054
	end), prt, msh)
2055
end
2056
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2057
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2058
	prt.Anchored = true
2059
	prt.CFrame = cframe
2060
	msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
2061
	game:GetService("Debris"):AddItem(prt, 2)
2062
	coroutine.resume(coroutine.create(function(Part, Mesh)
2063
		for i = 0, 1, delay do
2064
			wait()
2065
			Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
2066
			Part.Transparency = i
2067
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
2068
		end
2069
		Part.Parent = nil
2070
	end), prt, msh)
2071
end
2072
function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
2073
	local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2074
	prt.Anchored = true
2075
	prt.CFrame = cframe * cf(x, y, z)
2076
	msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
2077
	game:GetService("Debris"):AddItem(prt, 5)
2078
	coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
2079
		local num = math.random()
2080
		local num2 = math.random(-3, 2) + math.random()
2081
		local numm = 0
2082
		for i = 0, 1, delay * 2 do
2083
			swait()
2084
			Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
2085
			Part.Transparency = i
2086
			numm = numm + 0.01
2087
		end
2088
		Part.Parent = nil
2089
		Mesh.Parent = nil
2090
	end), prt, msh, x, y, z)
2091
end
2092
function dmgstart(dmg, what)
2093
	hitcon = what.Touched:connect(function(hit)
2094
		local hum = hit.Parent:FindFirstChild("Humanoid")
2095
		if hum and not hum:IsDescendantOf(Character) then
2096
			hum:TakeDamage(dmg)
2097
		end
2098
	end)
2099
end
2100
function dmgstop()
2101
	hitcon:disconnect()
2102
end
2103
function Cloak()
2104
	Face.Parent = nil
2105
	cloaked = true
2106
	for _, v in pairs(Torso.Parent:children()) do
2107
		if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2108
			coroutine.resume(coroutine.create(function()
2109
				for i = 0, 1, 0.2 do
2110
					wait()
2111
					v.Transparency = i
2112
				end
2113
				v.Transparency = 1
2114
			end))
2115
		end
2116
		if v.className == "Hat" then
2117
			hatp = v.Handle
2118
			coroutine.resume(coroutine.create(function(derp)
2119
				for i = 0, 1, 0.2 do
2120
					wait()
2121
					derp.Transparency = i
2122
				end
2123
				derp.Transparency = 1
2124
			end), hatp)
2125
		end
2126
	end
2127
	for _, v in pairs(m:children()) do
2128
		if v.className == "Part" then
2129
			coroutine.resume(coroutine.create(function()
2130
				for i = 0, 1, 0.2 do
2131
					wait()
2132
					v.Transparency = i
2133
				end
2134
				v.Transparency = 1
2135
			end))
2136
		end
2137
	end
2138
end
2139
function UnCloak()
2140
	so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
2141
	Face.Parent = Head
2142
	cloaked = false
2143
	for _, v in pairs(Torso.Parent:children()) do
2144
		if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2145
			coroutine.resume(coroutine.create(function()
2146
				for i = 0, 1, 0.1 do
2147
					wait()
2148
					v.Transparency = v.Transparency - 0.1
2149
				end
2150
				v.Transparency = 0
2151
			end))
2152
		end
2153
		if v.className == "Hat" then
2154
			hatp = v.Handle
2155
			coroutine.resume(coroutine.create(function(derp)
2156
				for i = 0, 1, 0.1 do
2157
					wait()
2158
					derp.Transparency = derp.Transparency - 0.1
2159
				end
2160
				derp.Transparency = 0
2161
			end), hatp)
2162
		end
2163
	end
2164
	for _, v in pairs(m:children()) do
2165
		if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
2166
			coroutine.resume(coroutine.create(function()
2167
				for i = 0, 1, 0.1 do
2168
					wait()
2169
					v.Transparency = v.Transparency - 0.1
2170
				end
2171
				v.Transparency = 0
2172
			end))
2173
			v.Transparency = 0
2174
		end
2175
	end
2176
end
2177
local origcolor = BrickColor.new("Pastel light blue")
2178
function Explode(rad, par, pitch, vol, mindam, maxdam)
2179
	local expart = Instance.new("Part", char)
2180
	local expart2 = Instance.new("Part", char)
2181
	local rin = Instance.new("Part", char)
2182
	local rin2 = Instance.new("Part", char)
2183
	local partMesh = Instance.new("SpecialMesh", expart)
2184
	partMesh.MeshType = "Sphere"
2185
	local partMesh2 = Instance.new("SpecialMesh", expart2)
2186
	partMesh2.MeshType = "Sphere"
2187
	local partMesh3 = Instance.new("SpecialMesh", rin)
2188
	partMesh3.MeshType = "Brick"
2189
	local partMesh4 = Instance.new("SpecialMesh", rin2)
2190
	partMesh4.MeshType = "Brick"
2191
	CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
2192
	partMesh.Scale = vt(rad, rad, rad)
2193
	expart.Size = vt(1, 1, 1)
2194
	expart.Transparency = 0
2195
	expart.Anchored = true
2196
	expart.Material = "Neon"
2197
	expart.BrickColor = bc("White")
2198
	expart.CFrame = par.CFrame
2199
	partMesh2.Scale = vt(rad, rad, rad)
2200
	expart2.Size = vt(1.15, 1.15, 1.15)
2201
	expart2.Transparency = 0.5
2202
	expart2.Anchored = true
2203
	expart2.Material = "Neon"
2204
	expart2.BrickColor = par.BrickColor
2205
	expart2.CFrame = par.CFrame
2206
	rin.Size = vt(1.15, 1.15, 1.15)
2207
	rin.Transparency = 1
2208
	rin.Anchored = true
2209
	rin.Material = "Neon"
2210
	rin.BrickColor = par.BrickColor
2211
	rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
2212
	rin2.Size = vt(1.15, 1.15, 1.15)
2213
	rin2.Transparency = 1
2214
	rin2.Anchored = true
2215
	rin2.Material = "Neon"
2216
	rin2.BrickColor = par.BrickColor
2217
	rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
2218
	partMesh3.Scale = vt(0, 1, 0)
2219
	partMesh4.Scale = vt(0, 1, 0)
2220
	local dec2 = Instance.new("Decal", rin)
2221
	dec2.Face = "Top"
2222
	dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
2223
	dec2.Parent = rin
2224
	local dec2b = dec2:Clone()
2225
	dec2b.Face = "Bottom"
2226
	dec2b.Parent = rin
2227
	local dec2a = Instance.new("Decal", rin2)
2228
	dec2a.Face = "Top"
2229
	dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
2230
	dec2a.Parent = rin2
2231
	local dec2ab = dec2a:Clone()
2232
	dec2ab.Face = "Bottom"
2233
	dec2ab.Parent = rin2
2234
	expart.CanCollide = false
2235
	expart2.CanCollide = false
2236
	rin.CanCollide = false
2237
	rin2.CanCollide = false
2238
	MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
2239
	local value = 1 * rad / 6.5
2240
	for i = 0, 199 do
2241
		partMesh.Scale = partMesh.Scale + vt(value, value, value)
2242
		expart.CFrame = expart.CFrame
2243
		partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
2244
		expart2.CFrame = expart.CFrame
2245
		value = value - 0.035 * rad / 30
2246
		if value < 7.5 then
2247
			partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
2248
			rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
2249
			partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
2250
			rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
2251
		end
2252
		if value < 0 then
2253
			dec2.Transparency = dec2.Transparency + 0.025
2254
			dec2a.Transparency = dec2a.Transparency + 0.025
2255
			dec2b.Transparency = dec2b.Transparency + 0.025
2256
			dec2ab.Transparency = dec2ab.Transparency + 0.025
2257
			expart.Transparency = expart.Transparency + 0.025
2258
			expart2.Transparency = expart2.Transparency + 0.025
2259
			rin.Transparency = rin.Transparency + 0.025
2260
			rin2.Transparency = rin2.Transparency + 0.025
2261
		end
2262
		swait()
2263
	end
2264
	game:GetService("Debris"):AddItem(expart, 1)
2265
	game:GetService("Debris"):AddItem(expart2, 1)
2266
	game:GetService("Debris"):AddItem(rin, 1)
2267
	game:GetService("Debris"):AddItem(rin2, 1)
2268
end
2269
function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
2270
	local expart = Instance.new("Part", char)
2271
	local expart2 = Instance.new("Part", char)
2272
	local partMesh = Instance.new("SpecialMesh", expart)
2273
	partMesh.MeshType = "Sphere"
2274
	local partMesh2 = Instance.new("SpecialMesh", expart2)
2275
	partMesh2.MeshType = "Sphere"
2276
	CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
2277
	partMesh.Scale = vt(rad, rad, rad)
2278
	expart.Size = vt(1, 1, 1)
2279
	expart.Transparency = 0
2280
	expart.Anchored = true
2281
	expart.Material = "Neon"
2282
	expart.BrickColor = bc("White")
2283
	expart.CFrame = par.CFrame
2284
	partMesh2.Scale = vt(rad, rad, rad)
2285
	expart2.Size = vt(1.15, 1.15, 1.15)
2286
	expart2.Transparency = 0.5
2287
	expart2.Anchored = true
2288
	expart2.Material = "Neon"
2289
	expart2.BrickColor = par.BrickColor
2290
	expart2.CFrame = par.CFrame
2291
	expart.CanCollide = false
2292
	expart2.CanCollide = false
2293
	MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
2294
	local value = 1 * rad / 6.5
2295
	for i = 0, 75 do
2296
		partMesh.Scale = partMesh.Scale + vt(value, value, value)
2297
		expart.CFrame = expart.CFrame
2298
		partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
2299
		expart2.CFrame = expart.CFrame
2300
		value = value - 0.035 * rad / 5
2301
		if value < 0 then
2302
			value = 0
2303
			expart.Transparency = expart.Transparency + 0.05
2304
			expart2.Transparency = expart2.Transparency + 0.05
2305
		end
2306
		swait()
2307
	end
2308
	game:GetService("Debris"):AddItem(expart, 1)
2309
	game:GetService("Debris"):AddItem(expart2, 1)
2310
end
2311
function AreaDanger(rad, par, mindam, maxdam)
2312
	local expart = Instance.new("Part", char)
2313
	local partMesh = Instance.new("SpecialMesh", expart)
2314
	CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
2315
	partMesh.MeshType = "Sphere"
2316
	partMesh.Scale = vt(rad, rad, rad)
2317
	expart.Size = vt(1, 1, 1)
2318
	expart.Transparency = 0.5
2319
	expart.Anchored = true
2320
	expart.Material = "Neon"
2321
	expart.CanCollide = false
2322
	expart.BrickColor = par.BrickColor
2323
	expart.CFrame = par.CFrame
2324
	local value = 1 * rad / 5
2325
	MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
2326
	for i = 0, 14 do
2327
		wait()
2328
		partMesh.Scale = partMesh.Scale + vt(value, value, value)
2329
		expart.CFrame = expart.CFrame
2330
		value = value - 0.035 * rad
2331
		if value < 0 then
2332
			value = 0
2333
		end
2334
	end
2335
	wait(0.25)
2336
	CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
2337
	wait(0.5)
2338
	CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
2339
	CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
2340
	MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
2341
	MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
2342
	for i = 0, 14 do
2343
		wait()
2344
		partMesh.Scale = partMesh.Scale + vt(value, value, value)
2345
		expart.CFrame = expart.CFrame
2346
		value = value - 0.035 * rad / 2
2347
	end
2348
	expart.Transparency = 1
2349
	game:GetService("Debris"):AddItem(expart, 5)
2350
end
2351
function Swarmsplosions(negrad, rad, par, mindam, maxdam)
2352
	CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
2353
	CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
2354
	CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
2355
	CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
2356
	MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
2357
	MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
2358
	for i = 0, 24 do
2359
		MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2))
2360
	end
2361
	for i = 0, 24 do
2362
		local expart = Instance.new("Part", char)
2363
		expart.Transparency = 1
2364
		expart.Anchored = true
2365
		expart.CanCollide = false
2366
		expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
2367
		CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
2368
		CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
2369
		MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
2370
		MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
2371
		for i = 0, 9 do
2372
			MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2))
2373
		end
2374
		game:GetService("Debris"):AddItem(expart, 2)
2375
		wait(0.1)
2376
	end
2377
end
2378
function EXterPlosion(par)
2379
	CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
2380
	CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
2381
	CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
2382
	CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
2383
	MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
2384
	MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
2385
	MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
2386
	for i = 0, 24 do
2387
		MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2))
2388
	end
2389
	for i = 0, 24 do
2390
		MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2))
2391
	end
2392
end
2393
function ring(type, pos, scale, value)
2394
	local type = type
2395
	local rng = Instance.new("Part", char)
2396
	rng.Anchored = true
2397
	rng.BrickColor = origcolor
2398
	rng.CanCollide = false
2399
	rng.FormFactor = 3
2400
	rng.Name = "Ring"
2401
	rng.Size = Vector3.new(1, 1, 1)
2402
	rng.Transparency = 0
2403
	rng.TopSurface = 0
2404
	rng.BottomSurface = 0
2405
	rng.CFrame = pos
2406
	local rngm = Instance.new("SpecialMesh", rng)
2407
	rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2408
	rngm.Scale = scale
2409
	local scaler2 = 1
2410
	if type == "Add" then
2411
		scaler2 = 1 * value
2412
	elseif type == "Divide" then
2413
		scaler2 = 1 / value
2414
	end
2415
	coroutine.resume(coroutine.create(function()
2416
		for i = 0, 10, 0.1 do
2417
			swait()
2418
			if type == "Add" then
2419
				scaler2 = scaler2 - 0.01 * value
2420
			elseif type == "Divide" then
2421
				scaler2 = scaler2 - 0.01 / value
2422
			end
2423
			rng.Transparency = rng.Transparency + 0.01
2424
			rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2425
		end
2426
		rng:Destroy()
2427
	end))
2428
end
2429
function wave(type, pos, scale, value)
2430
	local type = type
2431
	local rng = Instance.new("Part", char)
2432
	rng.Anchored = true
2433
	rng.BrickColor = origcolor
2434
	rng.CanCollide = false
2435
	rng.FormFactor = 3
2436
	rng.Name = "Ring"
2437
	rng.Size = Vector3.new(1, 1, 1)
2438
	rng.Transparency = 0
2439
	rng.TopSurface = 0
2440
	rng.BottomSurface = 0
2441
	rng.CFrame = pos
2442
	local rngm = Instance.new("SpecialMesh", rng)
2443
	rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2444
	rngm.Scale = scale
2445
	local scaler2 = 1
2446
	if type == "Add" then
2447
		scaler2 = 1 * value
2448
	elseif type == "Divide" then
2449
		scaler2 = 1 / value
2450
	end
2451
	coroutine.resume(coroutine.create(function()
2452
		for i = 0, 10, 0.1 do
2453
			swait()
2454
			if type == "Add" then
2455
				scaler2 = scaler2 - 0.01 * value
2456
			elseif type == "Divide" then
2457
				scaler2 = scaler2 - 0.01 / value
2458
			end
2459
			rng.Transparency = rng.Transparency + 0.01
2460
			rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2461
		end
2462
		rng:Destroy()
2463
	end))
2464
end
2465
function wind(type, pos, scale, value, speed)
2466
	local type = type
2467
	local rng = Instance.new("Part", char)
2468
	rng.Anchored = true
2469
	rng.BrickColor = origcolor
2470
	rng.CanCollide = false
2471
	rng.FormFactor = 3
2472
	rng.Name = "Ring"
2473
	rng.Size = Vector3.new(1, 1, 1)
2474
	rng.Transparency = 0
2475
	rng.TopSurface = 0
2476
	rng.BottomSurface = 0
2477
	rng.CFrame = pos
2478
	local rngm = Instance.new("SpecialMesh", rng)
2479
	rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2480
	rngm.Scale = scale
2481
	local scaler2 = 1
2482
	if type == "Add" then
2483
		scaler2 = 1 * value
2484
	elseif type == "Divide" then
2485
		scaler2 = 1 / value
2486
	end
2487
	coroutine.resume(coroutine.create(function()
2488
		for i = 0, 10, 0.1 do
2489
			swait()
2490
			if type == "Add" then
2491
				scaler2 = scaler2 - 0.01 * value
2492
			elseif type == "Divide" then
2493
				scaler2 = scaler2 - 0.01 / value
2494
			end
2495
			rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
2496
			rng.Transparency = rng.Transparency + 0.01
2497
			rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2498
		end
2499
		rng:Destroy()
2500
	end))
2501
end
2502
function groundwind(type, pos, scale, value, speed)
2503
	local type = type
2504
	local rng = Instance.new("Part", char)
2505
	rng.Anchored = true
2506
	rng.BrickColor = origcolor
2507
	rng.CanCollide = false
2508
	rng.FormFactor = 3
2509
	rng.Name = "Ring"
2510
	rng.Size = Vector3.new(1, 1, 1)
2511
	rng.Transparency = 0
2512
	rng.TopSurface = 0
2513
	rng.BottomSurface = 0
2514
	rng.CFrame = pos
2515
	local rngm = Instance.new("SpecialMesh", rng)
2516
	rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2517
	rngm.Scale = scale
2518
	local scaler2 = 1
2519
	if type == "Add" then
2520
		scaler2 = 1 * value
2521
	elseif type == "Divide" then
2522
		scaler2 = 1 / value
2523
	end
2524
	coroutine.resume(coroutine.create(function()
2525
		for i = 0, 10, 0.1 do
2526
			swait()
2527
			if type == "Add" then
2528
				scaler2 = scaler2 - 0.01 * value
2529
			elseif type == "Divide" then
2530
				scaler2 = scaler2 - 0.01 / value
2531
			end
2532
			rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
2533
			rng.Transparency = rng.Transparency + 0.01
2534
			rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
2535
		end
2536
		rng:Destroy()
2537
	end))
2538
end
2539
function CameraManager()
2540
	if TwoD and not CamInterrupt then
2541
		if Humanoid.Health > 0 then
2542
			Camera.CameraSubject = Humanoid
2543
			Camera.CameraType = "Scriptable"
2544
			Humanoid.AutoRotate = false
2545
			if Booleans.GyroUse then
2546
				Directer.MaxTorque = Vec3(0, huge, 0)
2547
			else
2548
				Directer.MaxTorque = Vec3(0, 0, 0)
2549
			end
2550
			if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
2551
				if Booleans.CamFollow then
2552
					CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
2553
					Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
2554
				else
2555
					CPart.Position = RootPart.Position
2556
				end
2557
			else
2558
				local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
2559
				CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
2560
			end
2561
			Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
2562
		else
2563
			Camera.CameraSubject = Humanoid
2564
			Camera.CameraType = "Custom"
2565
		end
2566
	end
2567
end
2568
function sphere(bonuspeed, type, pos, scale, value, color)
2569
	local type = type
2570
	local rng = Instance.new("Part", char)
2571
	rng.Anchored = true
2572
	rng.BrickColor = color
2573
	rng.CanCollide = false
2574
	rng.FormFactor = 3
2575
	rng.Name = "Ring"
2576
	rng.Material = "Neon"
2577
	rng.Size = Vector3.new(1, 1, 1)
2578
	rng.Transparency = 0
2579
	rng.TopSurface = 0
2580
	rng.BottomSurface = 0
2581
	rng.CFrame = pos
2582
	local rngm = Instance.new("SpecialMesh", rng)
2583
	rngm.MeshType = "Sphere"
2584
	rngm.Scale = scale
2585
	if rainbowmode == true then
2586
		rng.Color = Color3.new(r / 255, g / 255, b / 255)
2587
	end
2588
	local scaler2 = 1
2589
	if type == "Add" then
2590
		scaler2 = 1 * value
2591
	elseif type == "Divide" then
2592
		scaler2 = 1 / value
2593
	end
2594
	coroutine.resume(coroutine.create(function()
2595
		for i = 0, 10 / bonuspeed, 0.1 do
2596
			swait()
2597
			if rainbowmode == true then
2598
				rng.Color = Color3.new(r / 255, g / 255, b / 255)
2599
			end
2600
			if type == "Add" then
2601
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2602
			elseif type == "Divide" then
2603
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2604
			end
2605
			if chaosmode == true then
2606
				rng.BrickColor = BrickColor.random()
2607
			end
2608
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2609
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
2610
		end
2611
		rng:Destroy()
2612
	end))
2613
end
2614
function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
2615
	local type = type
2616
	local rng = Instance.new("Part", char)
2617
	rng.Anchored = true
2618
	rng.BrickColor = color
2619
	rng.CanCollide = false
2620
	rng.FormFactor = 3
2621
	rng.Name = "Ring"
2622
	rng.Material = "Neon"
2623
	rng.Size = Vector3.new(1, 1, 1)
2624
	rng.Transparency = 0
2625
	rng.TopSurface = 0
2626
	rng.BottomSurface = 0
2627
	rng.CFrame = pos
2628
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2629
	local rngm = Instance.new("SpecialMesh", rng)
2630
	rngm.MeshType = "Sphere"
2631
	rngm.Scale = vt(x1, y1, z1)
2632
	if rainbowmode == true then
2633
		rng.Color = Color3.new(r / 255, g / 255, b / 255)
2634
	end
2635
	local scaler2 = 1
2636
	local speeder = FastSpeed
2637
	if type == "Add" then
2638
		scaler2 = 1 * value
2639
	elseif type == "Divide" then
2640
		scaler2 = 1 / value
2641
	end
2642
	coroutine.resume(coroutine.create(function()
2643
		for i = 0, 10 / bonuspeed, 0.1 do
2644
			swait()
2645
			if rainbowmode == true then
2646
				rng.Color = Color3.new(r / 255, g / 255, b / 255)
2647
			end
2648
			if type == "Add" then
2649
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2650
			elseif type == "Divide" then
2651
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2652
			end
2653
			if chaosmode == true then
2654
				rng.BrickColor = BrickColor.random()
2655
			end
2656
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2657
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2658
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
2659
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2660
		end
2661
		rng:Destroy()
2662
	end))
2663
end
2664
function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
2665
	local type = type
2666
	local rng = Instance.new("Part", char)
2667
	rng.Anchored = true
2668
	rng.BrickColor = color
2669
	rng.CanCollide = false
2670
	rng.FormFactor = 3
2671
	rng.Name = "Ring"
2672
	rng.Material = "Neon"
2673
	rng.Size = Vector3.new(1, 1, 1)
2674
	rng.Transparency = 1
2675
	rng.TopSurface = 0
2676
	rng.BottomSurface = 0
2677
	rng.CFrame = pos
2678
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
2679
	local rngm = Instance.new("SpecialMesh", rng)
2680
	rngm.MeshType = "Sphere"
2681
	rngm.Scale = vt(x1, y1, z1)
2682
	if rainbowmode == true then
2683
		rng.Color = Color3.new(r / 255, g / 255, b / 255)
2684
	end
2685
	local scaler2 = 1
2686
	local speeder = FastSpeed
2687
	if type == "Add" then
2688
		scaler2 = 1 * value
2689
	elseif type == "Divide" then
2690
		scaler2 = 1 / value
2691
	end
2692
	coroutine.resume(coroutine.create(function()
2693
		for i = 0, 10 / bonuspeed, 0.1 do
2694
			swait()
2695
			if rainbowmode == true then
2696
				rng.Color = Color3.new(r / 255, g / 255, b / 255)
2697
			end
2698
			if type == "Add" then
2699
				scaler2 = scaler2 - 0.01 * value / bonuspeed
2700
			elseif type == "Divide" then
2701
				scaler2 = scaler2 - 0.01 / value * bonuspeed
2702
			end
2703
			if chaosmode == true then
2704
				rng.BrickColor = BrickColor.random()
2705
			end
2706
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
2707
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
2708
			rng.Transparency = rng.Transparency - 0.01 * bonuspeed
2709
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
2710
		end
2711
		rng:Destroy()
2712
	end))
2713
end
2714
function dmg(dude)
2715
	if dude.Name ~= Character then
2716
		local bgf = Instance.new("BodyGyro", dude.Head)
2717
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
2718
		local val = Instance.new("BoolValue", dude)
2719
		val.Name = "IsHit"
2720
		local ds = coroutine.wrap(function()
2721
			dude:WaitForChild("Head"):BreakJoints()
2722
			wait(0.5)
2723
			targetted = nil
2724
			CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
2725
			coroutine.resume(coroutine.create(function()
2726
				for i, v in pairs(dude:GetChildren()) do
2727
					if v:IsA("Accessory") then
2728
						v:Destroy()
2729
					end
2730
					if v:IsA("Humanoid") then
2731
						v:Destroy()
2732
					end
2733
					if v:IsA("CharacterMesh") then
2734
						v:Destroy()
2735
					end
2736
					if v:IsA("Model") then
2737
						v:Destroy()
2738
					end
2739
					if v:IsA("Part") or v:IsA("MeshPart") then
2740
						for x, o in pairs(v:GetChildren()) do
2741
							if o:IsA("Decal") then
2742
								o:Destroy()
2743
							end
2744
						end
2745
						coroutine.resume(coroutine.create(function()
2746
							v.Material = "Neon"
2747
							v.CanCollide = false
2748
							local bld = Instance.new("ParticleEmitter", v)
2749
							bld.LightEmission = 1
2750
							bld.Texture = "rbxassetid://284205403"
2751
							bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
2752
							bld.Rate = 50
2753
							bld.Lifetime = NumberRange.new(1)
2754
							bld.Size = NumberSequence.new({
2755
								NumberSequenceKeypoint.new(0, 0.75, 0),
2756
								NumberSequenceKeypoint.new(1, 0, 0)
2757
							})
2758
							bld.Transparency = NumberSequence.new({
2759
								NumberSequenceKeypoint.new(0, 0, 0),
2760
								NumberSequenceKeypoint.new(1, 1, 0)
2761
							})
2762
							bld.Speed = NumberRange.new(0, 0)
2763
							bld.VelocitySpread = 50000
2764
							bld.Rotation = NumberRange.new(-500, 500)
2765
							bld.RotSpeed = NumberRange.new(-500, 500)
2766
							local sbs = Instance.new("BodyPosition", v)
2767
							sbs.P = 3000
2768
							sbs.D = 1000
2769
							sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2770
							sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
2771
							v.Color = Color3.new(1, 1, 1)
2772
							coroutine.resume(coroutine.create(function()
2773
								for i = 0, 49 do
2774
									swait(1)
2775
									v.Transparency = v.Transparency + 0.02
2776
								end
2777
								CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
2778
								bld.Speed = NumberRange.new(1, 5)
2779
								bld.Acceleration = vt(0, 10, 0)
2780
								wait(0.5)
2781
								bld.Enabled = false
2782
								wait(3)
2783
								v:Destroy()
2784
								dude:Destroy()
2785
							end))
2786
						end))
2787
					end
2788
				end
2789
			end))
2790
		end)
2791
		ds()
2792
	end
2793
end
2794
function FindNearestHead(Position, Distance, SinglePlayer)
2795
	if SinglePlayer then
2796
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
2797
	end
2798
	local List = {}
2799
	for i, v in pairs(workspace:GetChildren()) do
2800
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
2801
			table.insert(List, v)
2802
		end
2803
	end
2804
	return List
2805
end
2806
function FaceMouse()
2807
	Cam = workspace.CurrentCamera
2808
	return {
2809
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
2810
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2811
	}
2812
end
2813
function FaceMouse2()
2814
	Cam = workspace.CurrentCamera
2815
	return {
2816
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
2817
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
2818
	}
2819
end
2820
local ModeOfGlitch = 1
2821
local storehumanoidWS = 16
2822
function ExtinctiveHeartbreak()
2823
	local targetted
2824
	if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
2825
		targetted = mouse.Target.Parent
2826
	end
2827
	if targetted ~= nil then
2828
		attack = true
2829
		CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
2830
		for i = 0, 9 do
2831
			sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
2832
		end
2833
		sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
2834
		local originalpos = root.CFrame
2835
		RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
2836
		for i = 0, 9 do
2837
			sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
2838
		end
2839
		hum.WalkSpeed = 0
2840
		targetted.Head.Anchored = true
2841
		sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
2842
		for i = 0, 2, 0.1 do
2843
			swait()
2844
			RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
2845
			LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
2846
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
2847
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
2848
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
2849
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
2850
		end
2851
		coroutine.resume(coroutine.create(function()
2852
			bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
2853
			bld.LightEmission = 0.1
2854
			bld.Texture = "rbxassetid://284205403"
2855
			bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
2856
			bld.Rate = 500
2857
			bld.Lifetime = NumberRange.new(1)
2858
			bld.Size = NumberSequence.new({
2859
				NumberSequenceKeypoint.new(0, 2, 0),
2860
				NumberSequenceKeypoint.new(1, 0, 0)
2861
			})
2862
			bld.Acceleration = vt(0, -25, 0)
2863
			bld.Transparency = NumberSequence.new({
2864
				NumberSequenceKeypoint.new(0, 0, 0),
2865
				NumberSequenceKeypoint.new(1, 0, 0)
2866
			})
2867
			bld.Speed = NumberRange.new(10, 50)
2868
			bld.EmissionDirection = "Front"
2869
			bld.VelocitySpread = 25
2870
			bld.Rotation = NumberRange.new(-500, 500)
2871
			bld.RotSpeed = NumberRange.new(-500, 500)
2872
		end))
2873
		coroutine.resume(coroutine.create(function()
2874
			bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
2875
			bld.LightEmission = 0.1
2876
			bld.Texture = "rbxassetid://284205403"
2877
			bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
2878
			bld.Rate = 500
2879
			bld.Lifetime = NumberRange.new(1)
2880
			bld.Size = NumberSequence.new({
2881
				NumberSequenceKeypoint.new(0, 2, 0),
2882
				NumberSequenceKeypoint.new(1, 0, 0)
2883
			})
2884
			bld.Acceleration = vt(0, -25, 0)
2885
			bld.Transparency = NumberSequence.new({
2886
				NumberSequenceKeypoint.new(0, 0, 0),
2887
				NumberSequenceKeypoint.new(1, 0, 0)
2888
			})
2889
			bld.Speed = NumberRange.new(10, 50)
2890
			bld.EmissionDirection = "Front"
2891
			bld.VelocitySpread = 25
2892
			bld.Rotation = NumberRange.new(-500, 500)
2893
			bld.RotSpeed = NumberRange.new(-500, 500)
2894
		end))
2895
		CameraEnshaking(5, 5)
2896
		game:GetService("Debris"):AddItem(bld, 3)
2897
		dmg(targetted)
2898
		CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
2899
		for i = 0, 1, 0.1 do
2900
			swait()
2901
			RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
2902
			LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
2903
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
2904
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
2905
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
2906
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
2907
		end
2908
		CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
2909
		for i = 0, 9 do
2910
			sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
2911
		end
2912
		sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
2913
		root.CFrame = originalpos
2914
		for i = 0, 9 do
2915
			sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
2916
		end
2917
		sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
2918
		bld.Enabled = false
2919
		attack = false
2920
		hum.WalkSpeed = storehumanoidWS
2921
	end
2922
end
2923
function PureBomb()
2924
	attack = true
2925
	local orb = Instance.new("Part", char)
2926
	orb.Anchored = true
2927
	orb.BrickColor = BrickColor.new("Toothpaste")
2928
	orb.CanCollide = false
2929
	orb.FormFactor = 3
2930
	orb.Name = "Ring"
2931
	orb.Material = "Neon"
2932
	orb.Size = Vector3.new(1, 1, 1)
2933
	orb.Transparency = 0
2934
	orb.TopSurface = 0
2935
	orb.BottomSurface = 0
2936
	local orbm = Instance.new("SpecialMesh", orb)
2937
	orbm.MeshType = "Sphere"
2938
	orbm.Name = "SizeMesh"
2939
	orbm.Scale = vt(0, 0, 0)
2940
	local scaled = 0.1
2941
	local posid = 0
2942
	CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
2943
	for i = 0, 5, 0.1 do
2944
		swait()
2945
		scaled = scaled - 0.001
2946
		posid = posid - scaled
2947
		orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
2948
		orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
2949
		sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Toothpaste"), 10)
2950
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1)
2951
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1)
2952
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2953
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
2954
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
2955
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1)
2956
	end
2957
	for i = 0, 2, 0.1 do
2958
		swait()
2959
		orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
2960
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
2961
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
2962
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
2963
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
2964
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
2965
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
2966
	end
2967
	coroutine.resume(coroutine.create(function()
2968
		orb.Anchored = false
2969
		CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
2970
		local a = Instance.new("Part", workspace)
2971
		a.Name = "Direction"
2972
		a.Anchored = true
2973
		a.BrickColor = bc("Bright red")
2974
		a.Material = "Neon"
2975
		a.Transparency = 1
2976
		a.CanCollide = false
2977
		local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
2978
		local ignore = orb
2979
		local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
2980
		a.BottomSurface = 10
2981
		a.TopSurface = 10
2982
		local distance = (orb.CFrame.p - position).magnitude
2983
		a.Size = Vector3.new(0.1, 0.1, 0.1)
2984
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
2985
		orb.CFrame = a.CFrame
2986
		a:Destroy()
2987
		local bv = Instance.new("BodyVelocity")
2988
		bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
2989
		bv.velocity = orb.CFrame.lookVector * 125
2990
		bv.Parent = orb
2991
		local hitted = false
2992
		game:GetService("Debris"):AddItem(orb, 15)
2993
		wait()
2994
		local hit = orb.Touched:connect(function(hit)
2995
			if hitted == false then
2996
				hitted = true
2997
				CameraEnshaking(10, 2.5)
2998
				CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
2999
				MagniDamage(orb, 65, 65, 90, 0, "Normal")
3000
				sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
3001
				sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
3002
				for i = 0, 9 do
3003
					sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
3004
					sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
3005
				end
3006
				orb.Anchored = true
3007
				orb.Transparency = 1
3008
				wait(8)
3009
				orb:Destroy()
3010
			end
3011
		end)
3012
	end))
3013
	for i = 0, 1, 0.1 do
3014
		swait()
3015
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
3016
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
3017
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4)
3018
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
3019
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
3020
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
3021
	end
3022
	attack = false
3023
end
3024
function ChaosGroundStrike()
3025
	attack = true
3026
	for i = 0, 2, 0.1 do
3027
		swait()
3028
		RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
3029
		LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
3030
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
3031
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
3032
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
3033
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
3034
	end
3035
	CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
3036
	CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
3037
	CameraEnshaking(4, 12)
3038
	for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
3039
		if v:FindFirstChild("Head") then
3040
			dmg(v)
3041
		end
3042
	end
3043
	sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
3044
	sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
3045
	sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
3046
	for i = 0, 2, 0.1 do
3047
		swait()
3048
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3049
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3050
		RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
3051
		LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
3052
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
3053
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
3054
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
3055
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
3056
	end
3057
	attack = false
3058
end
3059
function ChaosBegone()
3060
	attack = true
3061
	chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
3062
	for i = 0, 10, 0.1 do
3063
		swait()
3064
		RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
3065
		LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
3066
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
3067
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
3068
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
3069
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
3070
	end
3071
	chatfunc("DIE!!", BrickColor.random().Color)
3072
	CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
3073
	CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
3074
	CameraEnshaking(5, 25)
3075
	for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
3076
		if v:FindFirstChild("Head") then
3077
			dmg(v)
3078
		end
3079
	end
3080
	sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
3081
	sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
3082
	sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
3083
	for i = 0, 3, 0.1 do
3084
		swait()
3085
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3086
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3087
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3088
		sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
3089
		RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
3090
		LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
3091
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
3092
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
3093
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
3094
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
3095
	end
3096
	attack = false
3097
end
3098
function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
3099
	local orb = Instance.new("Part", char)
3100
	orb.Anchored = true
3101
	orb.BrickColor = color
3102
	orb.CanCollide = false
3103
	orb.FormFactor = 3
3104
	orb.Name = "Ring"
3105
	orb.Material = "Neon"
3106
	orb.Size = Vector3.new(1, 1, 1)
3107
	orb.Transparency = 0
3108
	orb.TopSurface = 0
3109
	orb.BottomSurface = 0
3110
	local orbm = Instance.new("SpecialMesh", orb)
3111
	orbm.MeshType = "Sphere"
3112
	orb.CFrame = positted
3113
	orbm.Name = "SizeMesh"
3114
	orbm.Scale = vt(1, 1, 1)
3115
	CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
3116
	sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
3117
	coroutine.resume(coroutine.create(function()
3118
		wait(timer)
3119
		CameraEnshaking(3, ShakePower)
3120
		orb.Transparency = 1
3121
		MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
3122
		sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
3123
		CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
3124
		wait(3)
3125
		orb:Destroy()
3126
	end))
3127
end
3128
function orb_spawn(positted, timer)
3129
	local randomcol = math.random(1, 2)
3130
	local orb = Instance.new("Part", char)
3131
	orb.Anchored = true
3132
	if randomcol == 1 then
3133
		orb.BrickColor = BrickColor.new("White")
3134
	elseif randomcol == 2 then
3135
		orb.BrickColor = BrickColor.new("Really black")
3136
	end
3137
	orb.CanCollide = false
3138
	orb.FormFactor = 3
3139
	orb.Name = "Ring"
3140
	orb.Material = "Neon"
3141
	orb.Size = Vector3.new(1, 1, 1)
3142
	orb.Transparency = 0
3143
	orb.TopSurface = 0
3144
	orb.BottomSurface = 0
3145
	local orbm = Instance.new("SpecialMesh", orb)
3146
	orbm.MeshType = "Sphere"
3147
	orb.CFrame = positted
3148
	orbm.Name = "SizeMesh"
3149
	orbm.Scale = vt(1, 1, 1)
3150
	CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
3151
	sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
3152
	for i = 0, 2 do
3153
		sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0)
3154
	end
3155
	coroutine.resume(coroutine.create(function()
3156
		wait(timer)
3157
		CameraEnshaking(3, 2)
3158
		orb.Transparency = 1
3159
		MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
3160
		sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
3161
		for i = 0, 4 do
3162
			sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0)
3163
		end
3164
		CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
3165
		wait(3)
3166
		orb:Destroy()
3167
	end))
3168
end
3169
function scattercorrupt()
3170
	attack = true
3171
	local rot = 0
3172
	local randomrotations = math.random(1, 2)
3173
	local lookv = 2.5
3174
	local power = 5
3175
	sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
3176
	sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
3177
	for i = 0, 9 do
3178
		sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0)
3179
	end
3180
	CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
3181
	CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
3182
	CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
3183
	CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
3184
	CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
3185
	local hite = Instance.new("Part", char)
3186
	hite.Anchored = true
3187
	hite.CanCollide = false
3188
	hite.FormFactor = 3
3189
	hite.Name = "Ring"
3190
	hite.Material = "Neon"
3191
	hite.Size = Vector3.new(1, 1, 1)
3192
	hite.Transparency = 1
3193
	hite.TopSurface = 0
3194
	hite.BottomSurface = 0
3195
	hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
3196
	local rem = Instance.new("Part", char)
3197
	rem.Anchored = true
3198
	rem.CanCollide = false
3199
	rem.FormFactor = 3
3200
	rem.Name = "Ring"
3201
	rem.Material = "Neon"
3202
	rem.Size = Vector3.new(1, 1, 1)
3203
	rem.Transparency = 1
3204
	rem.TopSurface = 0
3205
	rem.BottomSurface = 0
3206
	rem.CFrame = hite.CFrame
3207
	local rem2 = rem:Clone()
3208
	rem2.Parent = char
3209
	rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
3210
	local rem3 = rem:Clone()
3211
	rem3.Parent = char
3212
	rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
3213
	local rem4 = rem:Clone()
3214
	rem4.Parent = char
3215
	rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
3216
	hite:Destroy()
3217
	coroutine.resume(coroutine.create(function()
3218
		for i = 0, 24 do
3219
			swait(1)
3220
			if randomrotations == 1 then
3221
				rot = rot + 1
3222
			elseif randomrotations == 2 then
3223
				rot = rot - 1
3224
			end
3225
			power = power + 0.5
3226
			lookv = lookv + 7.5
3227
			rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
3228
			rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
3229
			rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
3230
			rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
3231
			orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
3232
			orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
3233
			orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
3234
			orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
3235
		end
3236
	end))
3237
	attack = false
3238
end
3239
function yinyangi()
3240
	attack = true
3241
	for i = 0, 2, 0.1 do
3242
		swait()
3243
		RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
3244
		LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
3245
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
3246
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
3247
		RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
3248
		LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
3249
	end
3250
	local bv = Instance.new("BodyVelocity")
3251
	bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3252
	bv.velocity = root.CFrame.lookVector * 175
3253
	bv.Parent = root
3254
	for Rotations = 0, 9 do
3255
		for i = 0, 1, 0.5 do
3256
			swait()
3257
			bv.velocity = root.CFrame.lookVector * 175
3258
			RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
3259
			LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
3260
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
3261
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
3262
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3263
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3264
		end
3265
		orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
3266
		for i = 0, 1, 0.5 do
3267
			swait()
3268
			bv.velocity = root.CFrame.lookVector * 175
3269
			RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
3270
			LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
3271
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5)
3272
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
3273
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3274
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3275
		end
3276
		orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
3277
		for i = 0, 1, 0.5 do
3278
			swait()
3279
			bv.velocity = root.CFrame.lookVector * 175
3280
			RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
3281
			LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
3282
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5)
3283
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
3284
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3285
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3286
		end
3287
		orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
3288
		for i = 0, 1, 0.5 do
3289
			swait()
3290
			bv.velocity = root.CFrame.lookVector * 175
3291
			RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
3292
			LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
3293
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5)
3294
			Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
3295
			RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
3296
			LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
3297
		end
3298
		orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
3299
	end
3300
	bv:Destroy()
3301
	attack = false
3302
end
3303
function Wip()
3304
	attack = true
3305
	local rngb = Instance.new("Part", char)
3306
	rngb.Anchored = true
3307
	rngb.BrickColor = origcolor
3308
	rngb.CanCollide = false
3309
	rngb.FormFactor = 3
3310
	rngb.Name = "Ring"
3311
	rngb.Material = "Neon"
3312
	rngb.Size = Vector3.new(1, 0.05, 1)
3313
	rngb.Transparency = 1
3314
	rngb.TopSurface = 0
3315
	rngb.BottomSurface = 0
3316
	local rngmb = Instance.new("SpecialMesh", rngb)
3317
	rngmb.MeshType = "Brick"
3318
	rngmb.Name = "SizeMesh"
3319
	rngmb.Scale = vt(0, 1, 0)
3320
	local orb = rngb:Clone()
3321
	orb.Parent = char
3322
	orb.Transparency = 0
3323
	orb.BrickColor = BrickColor.new("White")
3324
	orb.Size = vt(1, 1, 1)
3325
	local orbmish = orb.SizeMesh
3326
	orbmish.Scale = vt(0, 0, 0)
3327
	orbmish.MeshType = "Sphere"
3328
	local orbe = rngb:Clone()
3329
	orbe.Parent = char
3330
	orbe.Transparency = 0.5
3331
	orbe.BrickColor = BrickColor.new("New Yeller")
3332
	orbe.Size = vt(1, 1, 1)
3333
	local orbmish2 = orbe.SizeMesh
3334
	orbmish2.Scale = vt(0, 0, 0)
3335
	orbmish2.MeshType = "Sphere"
3336
	orbe.Color = Color3.new(r / 255, g / 255, b / 255)
3337
	rngb:Destroy()
3338
	for i = 0, 5, 0.1 do
3339
		swait()
3340
		if rainbowmode == true then
3341
			orbe.Color = Color3.new(r / 255, g / 255, b / 255)
3342
		end
3343
		orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
3344
		orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
3345
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
3346
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
3347
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
3348
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
3349
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
3350
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
3351
		RootPart.CFrame = FaceMouse()[1]
3352
	end
3353
	orbe.Transparency = 1
3354
	orb.Transparency = 1
3355
	orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
3356
	CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
3357
	local a = Instance.new("Part", Character)
3358
	a.Name = "Direction"
3359
	a.Anchored = true
3360
	a.BrickColor = bc("White")
3361
	a.Material = "Neon"
3362
	a.Transparency = 0
3363
	a.Shape = "Cylinder"
3364
	a.CanCollide = false
3365
	local a2 = Instance.new("Part", Character)
3366
	a2.Name = "Direction"
3367
	a2.Anchored = true
3368
	a2.BrickColor = bc("New Yeller")
3369
	a2.Color = Color3.new(r / 255, g / 255, b / 255)
3370
	a2.Material = "Neon"
3371
	a2.Transparency = 0.5
3372
	a2.Shape = "Cylinder"
3373
	a2.CanCollide = false
3374
	local ba = Instance.new("Part", Character)
3375
	ba.Name = "HitDirect"
3376
	ba.Anchored = true
3377
	ba.BrickColor = bc("Really black")
3378
	ba.Material = "Neon"
3379
	ba.Transparency = 1
3380
	ba.CanCollide = false
3381
	local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3382
	local ignore = Character
3383
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3384
	a.BottomSurface = 10
3385
	a.TopSurface = 10
3386
	a2.BottomSurface = 10
3387
	a2.TopSurface = 10
3388
	local distance = (orb.CFrame.p - position).magnitude
3389
	a.Size = Vector3.new(distance, 1, 1)
3390
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3391
	a2.Size = Vector3.new(distance, 1, 1)
3392
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3393
	ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3394
	a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3395
	a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3396
	game:GetService("Debris"):AddItem(a, 20)
3397
	game:GetService("Debris"):AddItem(a2, 20)
3398
	game:GetService("Debris"):AddItem(ba, 20)
3399
	local msh = Instance.new("SpecialMesh", a)
3400
	msh.MeshType = "Cylinder"
3401
	msh.Scale = vt(1, 25, 25)
3402
	local msh2 = Instance.new("SpecialMesh", a2)
3403
	msh2.MeshType = "Cylinder"
3404
	msh2.Scale = vt(1, 30, 30)
3405
	for i = 0, 10, 0.1 do
3406
		swait()
3407
		CameraEnshaking(1, 5)
3408
		a2.Color = Color3.new(r / 255, g / 255, b / 255)
3409
		orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3410
		orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3411
		ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3412
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3413
		distance = (orb.CFrame.p - position).magnitude
3414
		if typrot == 1 then
3415
			rotation = rotation + 2.5
3416
		elseif typrot == 2 then
3417
			rotation = rotation - 2.5
3418
		end
3419
		RootPart.CFrame = FaceMouse()[1]
3420
		a.Size = Vector3.new(distance, 1, 1)
3421
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3422
		a2.Size = Vector3.new(distance, 1, 1)
3423
		a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3424
		ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3425
		a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3426
		a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3427
		msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
3428
		msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
3429
		sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
3430
		sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
3431
		MagniDamage(ba, 30, 500, 60000, 0, "Normal")
3432
	end
3433
	a:Destroy()
3434
	a2:Destroy()
3435
	ba:Destroy()
3436
	orb:Destroy()
3437
	orbe:Destroy()
3438
	attack = false
3439
end
3440
function UniversalSpark()
3441
	attack = true
3442
	local rngb = Instance.new("Part", char)
3443
	rngb.Anchored = true
3444
	rngb.BrickColor = origcolor
3445
	rngb.CanCollide = false
3446
	rngb.FormFactor = 3
3447
	rngb.Name = "Ring"
3448
	rngb.Material = "Neon"
3449
	rngb.Size = Vector3.new(1, 0.05, 1)
3450
	rngb.Transparency = 1
3451
	rngb.TopSurface = 0
3452
	rngb.BottomSurface = 0
3453
	local rngmb = Instance.new("SpecialMesh", rngb)
3454
	rngmb.MeshType = "Brick"
3455
	rngmb.Name = "SizeMesh"
3456
	rngmb.Scale = vt(0, 1, 0)
3457
	local orb = rngb:Clone()
3458
	orb.Parent = char
3459
	orb.Transparency = 0
3460
	orb.BrickColor = BrickColor.new("White")
3461
	orb.Size = vt(1, 1, 1)
3462
	local orbmish = orb.SizeMesh
3463
	orbmish.Scale = vt(0, 0, 0)
3464
	orbmish.MeshType = "Sphere"
3465
	local orbe = rngb:Clone()
3466
	orbe.Parent = char
3467
	orbe.Transparency = 0.5
3468
	orbe.BrickColor = BrickColor.new("New Yeller")
3469
	orbe.Size = vt(1, 1, 1)
3470
	local orbmish2 = orbe.SizeMesh
3471
	orbmish2.Scale = vt(0, 0, 0)
3472
	orbmish2.MeshType = "Sphere"
3473
	orbe.Color = Color3.new(r / 255, g / 255, b / 255)
3474
	rngb:Destroy()
3475
	for i = 0, 5, 0.1 do
3476
		swait()
3477
		if rainbowmode == true then
3478
			orbe.Color = Color3.new(r / 255, g / 255, b / 255)
3479
		end
3480
		orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
3481
		orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
3482
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
3483
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
3484
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
3485
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
3486
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
3487
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
3488
		RootPart.CFrame = FaceMouse()[1]
3489
	end
3490
	orbe.Transparency = 1
3491
	orb.Transparency = 1
3492
	orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
3493
	CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
3494
	CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
3495
	CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
3496
	CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
3497
	CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
3498
	CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
3499
	CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
3500
	local xd = Instance.new("Sound", char)
3501
	xd.SoundId = "rbxassetid://445796828"
3502
	xd.Pitch = 0.75
3503
	xd.Looped = true
3504
	xd.Volume = 1.25
3505
	xd:Play()
3506
	local a = Instance.new("Part", Character)
3507
	a.Name = "Direction"
3508
	a.Anchored = true
3509
	a.BrickColor = bc("Alder")
3510
	a.Color = MAINRUINCOLOR.Color
3511
	a.Material = "Neon"
3512
	a.Transparency = 0.5
3513
	a.Shape = "Cylinder"
3514
	a.CanCollide = false
3515
	local a2 = Instance.new("Part", Character)
3516
	a2.Name = "Direction"
3517
	a2.Anchored = true
3518
	a2.BrickColor = bc("New Yeller")
3519
	a2.Color = MAINRUINCOLOR.Color
3520
	a2.Material = "Neon"
3521
	a2.Transparency = 0.5
3522
	a2.Shape = "Cylinder"
3523
	a2.CanCollide = false
3524
	local ba = Instance.new("Part", Character)
3525
	ba.Name = "HitDirect"
3526
	ba.Anchored = true
3527
	ba.BrickColor = bc("Really black")
3528
	ba.Material = "Neon"
3529
	ba.Transparency = 1
3530
	ba.CanCollide = false
3531
	local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3532
	local ignore = Character
3533
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3534
	a.BottomSurface = 10
3535
	a.TopSurface = 10
3536
	a2.BottomSurface = 10
3537
	a2.TopSurface = 10
3538
	local distance = (orb.CFrame.p - position).magnitude
3539
	a.Size = Vector3.new(distance, 1, 1)
3540
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3541
	a2.Size = Vector3.new(distance, 1, 1)
3542
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3543
	ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3544
	a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3545
	a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3546
	game:GetService("Debris"):AddItem(a, 60)
3547
	game:GetService("Debris"):AddItem(a2, 60)
3548
	game:GetService("Debris"):AddItem(ba, 60)
3549
	local outerscale = 0
3550
	local msh = Instance.new("SpecialMesh", a)
3551
	msh.MeshType = "Cylinder"
3552
	msh.Scale = vt(1, 0, 0)
3553
	local msh2 = Instance.new("SpecialMesh", a2)
3554
	msh2.MeshType = "Cylinder"
3555
	msh2.Scale = vt(1, 0, 0)
3556
	for i = 0, 2, 0.1 do
3557
		swait()
3558
		CameraEnshaking(1, 1)
3559
		msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
3560
		msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
3561
		outerscale = outerscale - 0.015
3562
		orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3563
		orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3564
		ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3565
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3566
		distance = (orb.CFrame.p - position).magnitude
3567
		if typrot == 1 then
3568
			rotation = rotation + 2.5
3569
		elseif typrot == 2 then
3570
			rotation = rotation - 2.5
3571
		end
3572
		RootPart.CFrame = FaceMouse()[1]
3573
		a.Size = Vector3.new(distance, 1, 1)
3574
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3575
		a2.Size = Vector3.new(distance, 1, 1)
3576
		a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3577
		ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3578
		a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3579
		a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3580
		sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3581
		sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3582
		MagniDamage(ba, 100, 500, 60000, 0, "Normal")
3583
	end
3584
	for z = 0, 2 do
3585
		for i = 0, 4, 0.1 do
3586
			swait()
3587
			CameraEnshaking(1, 1)
3588
			msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
3589
			msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
3590
			outerscale = outerscale + 0.015
3591
			orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3592
			orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3593
			ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3594
			hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3595
			distance = (orb.CFrame.p - position).magnitude
3596
			if typrot == 1 then
3597
				rotation = rotation + 2.5
3598
			elseif typrot == 2 then
3599
				rotation = rotation - 2.5
3600
			end
3601
			RootPart.CFrame = FaceMouse()[1]
3602
			a.Size = Vector3.new(distance, 1, 1)
3603
			a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3604
			a2.Size = Vector3.new(distance, 1, 1)
3605
			a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3606
			ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3607
			a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3608
			a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3609
			sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3610
			sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3611
			MagniDamage(ba, 100, 500, 60000, 0, "Normal")
3612
		end
3613
		for i = 0, 4, 0.1 do
3614
			swait()
3615
			CameraEnshaking(1, 1)
3616
			msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
3617
			msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
3618
			outerscale = outerscale - 0.015
3619
			orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3620
			orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3621
			ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3622
			hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3623
			distance = (orb.CFrame.p - position).magnitude
3624
			if typrot == 1 then
3625
				rotation = rotation + 2.5
3626
			elseif typrot == 2 then
3627
				rotation = rotation - 2.5
3628
			end
3629
			RootPart.CFrame = FaceMouse()[1]
3630
			a.Size = Vector3.new(distance, 1, 1)
3631
			a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3632
			a2.Size = Vector3.new(distance, 1, 1)
3633
			a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3634
			ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3635
			a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3636
			a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3637
			sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3638
			sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3639
			MagniDamage(ba, 100, 500, 60000, 0, "Normal")
3640
		end
3641
	end
3642
	for i = 0, 4, 0.1 do
3643
		swait()
3644
		CameraEnshaking(1, 1)
3645
		msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
3646
		msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
3647
		xd.Volume = xd.Volume - 0.025
3648
		a.Transparency = a.Transparency + 0.025
3649
		a2.Transparency = a2.Transparency + 0.025
3650
		outerscale = outerscale - 0.015
3651
		orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3652
		orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
3653
		ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
3654
		hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3655
		distance = (orb.CFrame.p - position).magnitude
3656
		if typrot == 1 then
3657
			rotation = rotation + 2.5
3658
		elseif typrot == 2 then
3659
			rotation = rotation - 2.5
3660
		end
3661
		RootPart.CFrame = FaceMouse()[1]
3662
		a.Size = Vector3.new(distance, 1, 1)
3663
		a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3664
		a2.Size = Vector3.new(distance, 1, 1)
3665
		a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
3666
		ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
3667
		a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
3668
		a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
3669
		sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3670
		sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
3671
		MagniDamage(ba, 100, 500, 60000, 0, "Normal")
3672
	end
3673
	xd:Destroy()
3674
	a:Destroy()
3675
	a2:Destroy()
3676
	ba:Destroy()
3677
	orb:Destroy()
3678
	orbe:Destroy()
3679
	attack = false
3680
end
3681
function resetmode()
3682
	rainbowmode = false
3683
	chaosmode = false
3684
	RecolorTextAndRename("Ricardo", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
3685
	ModeOfGlitch = 1
3686
	storehumanoidWS = 16
3687
	for i, v in pairs(mw2:GetChildren()) do
3688
		if v:IsA("Part") then
3689
			v.BrickColor = BrickColor.new("Really red")
3690
			v.Material = "Neon"
3691
		end
3692
	end
3693
	for i, v in pairs(mw1:GetChildren()) do
3694
		if v:IsA("Part") then
3695
			v.Transparency = 1
3696
			v.BrickColor = BrickColor.new("Really red")
3697
			v.Material = "Neon"
3698
		end
3699
	end
3700
	MAINRUINCOLOR = BrickColor.new("Really red")
3701
	hum.WalkSpeed = 16
3702
	newTheme("rbxassetid://2836916383", 0, 1, 10)
3703
	for i, v in pairs(m:GetChildren()) do
3704
		if v:IsA("Part") then
3705
			v.BrickColor = BrickColor.new("Really black")
3706
			v.Material = "Glass"
3707
		end
3708
	end
3709
	for i, v in pairs(m2:GetChildren()) do
3710
		if v:IsA("Part") then
3711
			v.BrickColor = BrickColor.new("Crimson")
3712
			v.Material = "Granite"
3713
		end
3714
	end
3715
	for i, v in pairs(m3:GetChildren()) do
3716
		if v:IsA("Part") then
3717
			v.BrickColor = BrickColor.new("Really red")
3718
			v.Material = "Neon"
3719
		end
3720
	end
3721
	for i, v in pairs(extrawingmod1:GetChildren()) do
3722
		if v:IsA("Part") then
3723
			v.Transparency = 1
3724
			v.BrickColor = BrickColor.new("White")
3725
			v.Material = "Neon"
3726
		end
3727
	end
3728
	for i, v in pairs(extrawingmod2:GetChildren()) do
3729
		if v:IsA("Part") then
3730
			v.Transparency = 1
3731
			v.BrickColor = BrickColor.new("White")
3732
			v.Material = "Neon"
3733
		end
3734
	end
3735
end
3736
function attackone()
3737
	attack = true
3738
	for i = 0, 1, 0.1 do
3739
		swait()
3740
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
3741
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
3742
		RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
3743
		LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
3744
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
3745
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
3746
	end
3747
	CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
3748
	local hitb = Instance.new("Part", char)
3749
	hitb.Anchored = true
3750
	hitb.CanCollide = false
3751
	hitb.FormFactor = 3
3752
	hitb.Name = "Ring"
3753
	hitb.Material = "Neon"
3754
	hitb.Size = Vector3.new(1, 1, 1)
3755
	hitb.Transparency = 1
3756
	hitb.TopSurface = 0
3757
	hitb.BottomSurface = 0
3758
	hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
3759
	MagniDamage(hitb, 3, 10, 30, 0, "Normal")
3760
	hitb:Destroy()
3761
	for i = 0, 1, 0.1 do
3762
		swait()
3763
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
3764
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
3765
		RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
3766
		LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
3767
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
3768
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
3769
	end
3770
	attack = false
3771
end
3772
function attacktwo()
3773
	attack = true
3774
	for i = 0, 1, 0.1 do
3775
		swait()
3776
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
3777
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
3778
		RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
3779
		LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
3780
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
3781
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
3782
	end
3783
	CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
3784
	local hitb = Instance.new("Part", char)
3785
	hitb.Anchored = true
3786
	hitb.CanCollide = false
3787
	hitb.FormFactor = 3
3788
	hitb.Name = "Ring"
3789
	hitb.Material = "Neon"
3790
	hitb.Size = Vector3.new(1, 1, 1)
3791
	hitb.Transparency = 1
3792
	hitb.TopSurface = 0
3793
	hitb.BottomSurface = 0
3794
	hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
3795
	MagniDamage(hitb, 3, 10, 30, 0, "Normal")
3796
	hitb:Destroy()
3797
	for i = 0, 1, 0.1 do
3798
		swait()
3799
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
3800
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
3801
		RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
3802
		LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
3803
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
3804
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
3805
	end
3806
	attack = false
3807
end
3808
function attackthree()
3809
	attack = true
3810
	for i = 0, 1, 0.1 do
3811
		swait()
3812
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
3813
		Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
3814
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
3815
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
3816
		RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
3817
		LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
3818
	end
3819
	local distlook = 5
3820
	for i = 0, 4 do
3821
		swait(2)
3822
		CameraEnshaking(2, 3)
3823
		local hite = Instance.new("Part", char)
3824
		hite.Anchored = true
3825
		hite.CanCollide = false
3826
		hite.FormFactor = 3
3827
		hite.Name = "Ring"
3828
		hite.Material = "Neon"
3829
		hite.Size = Vector3.new(1, 1, 1)
3830
		hite.Transparency = 1
3831
		hite.TopSurface = 0
3832
		hite.BottomSurface = 0
3833
		hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
3834
		sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
3835
		sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
3836
		MagniDamage(hite, 10, 15, 35, 0, "Normal")
3837
		for i = 0, 2 do
3838
			sphereMK(2, 0.2, "Add", rarm.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
3839
			sphereMK(3, 0.2, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
3840
			sphereMK(6, 0.35, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
3841
		end
3842
		CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
3843
		CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
3844
		game:GetService("Debris"):AddItem(hite, 5)
3845
		distlook = distlook + 10
3846
	end
3847
	attack = false
3848
end
3849
local attacktype = 1
3850
mouse.Button1Down:connect(function()
3851
	if attack == false and attacktype == 1 then
3852
		attacktype = 2
3853
		attackone()
3854
	elseif attack == false and attacktype == 2 then
3855
		attacktype = 3
3856
		attacktwo()
3857
	elseif attack == false and attacktype == 3 then
3858
		attacktype = 1
3859
		attackthree()
3860
	elseif attack == false and attacktype == 4 then
3861
		attacktype = 1
3862
	end
3863
end)
3864
mouse.KeyDown:connect(function(k)
3865
	if k == "q" and attack == false and ModeOfGlitch ~= 2 then
3866
		ModeOfGlitch = 2
3867
		storehumanoidWS = 16
3868
		hum.WalkSpeed = 16
3869
		rainbowmode = false
3870
		chaosmode = false
3871
		RecolorTextAndRename("Look at the BOIs", Color3.new(0, 0, 21), Color3.new(196, 40, 28))
3872
		newTheme("rbxassetid://662742095", 20.25, 1, 1)
3873
		MAINRUINCOLOR = BrickColor.new("Bright blue")
3874
		for i, v in pairs(mw2:GetChildren()) do
3875
			if v:IsA("Part") then
3876
				v.BrickColor = MAINRUINCOLOR
3877
				v.Material = "Neon"
3878
			end
3879
		end
3880
		for i, v in pairs(mw1:GetChildren()) do
3881
			if v:IsA("Part") then
3882
				v.Transparency = 1
3883
				v.BrickColor = MAINRUINCOLOR
3884
				v.Material = "Neon"
3885
			end
3886
		end
3887
		for i, v in pairs(m:GetChildren()) do
3888
			if v:IsA("Part") then
3889
				v.BrickColor = BrickColor.new("Bright blue")
3890
				v.Material = "Ice"
3891
			end
3892
		end
3893
		for i, v in pairs(m2:GetChildren()) do
3894
			if v:IsA("Part") then
3895
				v.BrickColor = BrickColor.new("Bright blue")
3896
				v.Material = "Glass"
3897
			end
3898
		end
3899
		for i, v in pairs(m3:GetChildren()) do
3900
			if v:IsA("Part") then
3901
				v.BrickColor = BrickColor.new("Bright blue")
3902
				v.Material = "Neon"
3903
			end
3904
		end
3905
		for i, v in pairs(extrawingmod1:GetChildren()) do
3906
			if v:IsA("Part") then
3907
				v.Transparency = 1
3908
				v.BrickColor = BrickColor.new("Bright blue")
3909
				v.Material = "Neon"
3910
			end
3911
		end
3912
		for i, v in pairs(extrawingmod2:GetChildren()) do
3913
			if v:IsA("Part") then
3914
				v.Transparency = 1
3915
				v.BrickColor = BrickColor.new("Bright blue")
3916
				v.Material = "Neon"
3917
			end
3918
		end
3919
	elseif k == "q" and attack == false and ModeOfGlitch == 2 then
3920
		resetmode()
3921
	end
3922
	if k == "e" and attack == false and ModeOfGlitch ~= 3 then
3923
		ModeOfGlitch = 3
3924
		storehumanoidWS = 16
3925
		hum.WalkSpeed = 16
3926
		rainbowmode = false
3927
		chaosmode = false
3928
		RecolorTextAndRename("JUST NICO! :D", Color3.new(228, 173, 200), Color3.new(0.35, 0, 1))
3929
		newTheme("rbxassetid://611284474", 58.15, 1,2)
3930
		MAINRUINCOLOR = BrickColor.new("Light orange brown")
3931
		for i, v in pairs(mw2:GetChildren()) do
3932
			if v:IsA("Part") then
3933
				v.BrickColor = MAINRUINCOLOR
3934
				v.Material = "Neon"
3935
			end
3936
		end
3937
		for i, v in pairs(mw1:GetChildren()) do
3938
			if v:IsA("Part") then
3939
				v.Transparency = 1
3940
				v.BrickColor = MAINRUINCOLOR
3941
				v.Material = "Neon"
3942
			end
3943
		end
3944
		for i, v in pairs(m:GetChildren()) do
3945
			if v:IsA("Part") then
3946
				v.BrickColor = BrickColor.new("Pastel Blue")
3947
				v.Material = "Ice"
3948
			end
3949
		end
3950
		for i, v in pairs(m2:GetChildren()) do
3951
			if v:IsA("Part") then
3952
				v.BrickColor = BrickColor.new("Earth orange")
3953
				v.Material = "Glass"
3954
			end
3955
		end
3956
		for i, v in pairs(m3:GetChildren()) do
3957
			if v:IsA("Part") then
3958
				v.BrickColor = BrickColor.new("Earth orange")
3959
				v.Material = "Neon"
3960
			end
3961
		end
3962
		for i, v in pairs(extrawingmod1:GetChildren()) do
3963
			if v:IsA("Part") then
3964
				v.Transparency = 1
3965
				v.BrickColor = BrickColor.new("White")
3966
				v.Material = "Neon"
3967
			end
3968
		end
3969
		for i, v in pairs(extrawingmod2:GetChildren()) do
3970
			if v:IsA("Part") then
3971
				v.Transparency = 1
3972
				v.BrickColor = BrickColor.new("White")
3973
				v.Material = "Neon"
3974
			end
3975
		end
3976
	elseif k == "e" and attack == false and ModeOfGlitch == 3 then
3977
		resetmode()
3978
	end
3979
	if k == "r" and attack == false and ModeOfGlitch ~= 4 then
3980
		ModeOfGlitch = 4
3981
		storehumanoidWS = 16
3982
		hum.WalkSpeed = 16
3983
		rainbowmode = false
3984
		chaosmode = true
3985
		RecolorTextAndRename("kArMa", Color3.new(107, 50, 124), BrickColor.random().Color)
3986
		newTheme("rbxassetid://1233248685", 0, 1, 10)
3987
		MAINRUINCOLOR = BrickColor.new("Black")
3988
		for i, v in pairs(mw2:GetChildren()) do
3989
			if v:IsA("Part") then
3990
				v.BrickColor = MAINRUINCOLOR
3991
				v.Material = "Neon"
3992
			end
3993
		end
3994
		for i, v in pairs(mw1:GetChildren()) do
3995
			if v:IsA("Part") then
3996
				v.Transparency = 0.75
3997
				v.BrickColor = BrickColor.random()
3998
				v.Material = "Neon"
3999
			end
4000
		end
4001
		for i, v in pairs(m:GetChildren()) do
4002
			if v:IsA("Part") then
4003
				v.BrickColor = BrickColor.new("Black")
4004
				v.Material = "Neon"
4005
			end
4006
		end
4007
		for i, v in pairs(m2:GetChildren()) do
4008
			if v:IsA("Part") then
4009
				v.BrickColor = BrickColor.random()
4010
				v.Material = "Neon"
4011
			end
4012
		end
4013
		for i, v in pairs(m3:GetChildren()) do
4014
			if v:IsA("Part") then
4015
				v.BrickColor = BrickColor.new("Black")
4016
				v.Material = "Neon"
4017
			end
4018
		end
4019
		for i, v in pairs(extrawingmod1:GetChildren()) do
4020
			if v:IsA("Part") then
4021
				v.Transparency = 1
4022
				v.BrickColor = BrickColor.new("White")
4023
				v.Material = "Neon"
4024
			end
4025
		end
4026
		for i, v in pairs(extrawingmod2:GetChildren()) do
4027
			if v:IsA("Part") then
4028
				v.Transparency = 1
4029
				v.BrickColor = BrickColor.new("White")
4030
				v.Material = "Neon"
4031
			end
4032
		end
4033
	elseif k == "r" and attack == false and ModeOfGlitch == 4 then
4034
		resetmode()
4035
	end
4036
	if k == "t" and attack == false and ModeOfGlitch ~= 5 then
4037
		ModeOfGlitch = 5
4038
		
4039
		storehumanoidWS = 16
4040
		hum.WalkSpeed = 16
4041
		rainbowmode = false
4042
		chaosmode = false
4043
		RecolorTextAndRename("Depression", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
4044
		newTheme("rbxassetid://1006800683", 10, 1, 3.2)
4045
   ModeOfGlitch = 1		
4046
		MAINRUINCOLOR = BrickColor.new("White")
4047
		for i, v in pairs(mw2:GetChildren()) do
4048
			if v:IsA("Part") then
4049
				v.BrickColor = MAINRUINCOLOR
4050
				v.Material = "Neon"
4051
			end
4052
		end
4053
		for i, v in pairs(mw1:GetChildren()) do
4054
			if v:IsA("Part") then
4055
				v.Transparency = 0
4056
				v.BrickColor = MAINRUINCOLOR
4057
				v.Material = "Neon"
4058
			end
4059
		end
4060
		for i, v in pairs(m:GetChildren()) do
4061
			if v:IsA("Part") then
4062
				v.BrickColor = BrickColor.new("Really black")
4063
				v.Material = "Ice"
4064
			end
4065
		end
4066
		for i, v in pairs(m2:GetChildren()) do
4067
			if v:IsA("Part") then
4068
				v.BrickColor = BrickColor.new("Really Black")
4069
				v.Material = "Ice"
4070
			end
4071
		end
4072
		for i, v in pairs(m3:GetChildren()) do
4073
			if v:IsA("Part") then
4074
				v.BrickColor = BrickColor.new("Really Black")
4075
				v.Material = "Neon"
4076
			end
4077
		end
4078
		for i, v in pairs(extrawingmod1:GetChildren()) do
4079
			if v:IsA("Part") then
4080
				v.Transparency = 1
4081
				v.BrickColor = BrickColor.new("Really Black")
4082
				v.Material = "Neon"
4083
			end
4084
		end
4085
		for i, v in pairs(extrawingmod2:GetChildren()) do
4086
			if v:IsA("Part") then
4087
				v.Transparency = 1
4088
				v.BrickColor = BrickColor.new("Really Black")
4089
				v.Material = "Neon"
4090
			end
4091
		end
4092
	elseif k == "t" and attack == false and ModeOfGlitch == 5 then
4093
		resetmode()
4094
	end
4095
	if k == "y" and attack == false and ModeOfGlitch ~= 6 then
4096
		ModeOfGlitch = 6
4097
		storehumanoidWS = 75
4098
		hum.WalkSpeed = 75
4099
		rainbowmode = false
4100
		chaosmode = false
4101
		RecolorTextAndRename("Brazil", Color3.new(247, 241, 141), Color3.new(247, 241, 141))
4102
		newTheme("rbxassetid://2682658080", 0, 1, 1)
4103
		MAINRUINCOLOR = BrickColor.new("Cool yellow")
4104
		for i, v in pairs(mw2:GetChildren()) do
4105
			if v:IsA("Part") then
4106
				v.BrickColor = BrickColor.new("Cool yellow")
4107
				v.Material = "Neon"
4108
			end
4109
		end
4110
		for i, v in pairs(mw1:GetChildren()) do
4111
			if v:IsA("Part") then
4112
				v.Transparency = 0
4113
				v.BrickColor = BrickColor.new("Cool yellow")
4114
				v.Material = "Neon"
4115
			end
4116
		end
4117
		for i, v in pairs(m:GetChildren()) do
4118
			if v:IsA("Part") then
4119
				v.BrickColor = BrickColor.new("Cool yellow")
4120
				v.Material = "Ice"
4121
			end
4122
		end
4123
		for i, v in pairs(m2:GetChildren()) do
4124
			if v:IsA("Part") then
4125
				v.BrickColor = BrickColor.new("Cool yellow")
4126
				v.Material = "Ice"
4127
			end
4128
		end
4129
		for i, v in pairs(m3:GetChildren()) do
4130
			if v:IsA("Part") then
4131
				v.BrickColor = BrickColor.new("Cool Yellow")
4132
				v.Material = "Neon"
4133
			end
4134
		end
4135
		for i, v in pairs(extrawingmod1:GetChildren()) do
4136
			if v:IsA("Part") then
4137
				v.Transparency = 1
4138
				v.BrickColor = BrickColor.new("Cool yellow")
4139
				v.Material = "Neon"
4140
			end
4141
		end
4142
		for i, v in pairs(extrawingmod2:GetChildren()) do
4143
			if v:IsA("Part") then
4144
				v.Transparency = 1
4145
				v.BrickColor = BrickColor.new("Cool yellow")
4146
				v.Material = "Neon"
4147
			end
4148
		end
4149
		
4150
		
4151
	elseif k == "y" and attack == false and ModeOfGlitch == 6 then
4152
		resetmode()
4153
	end
4154
	if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
4155
		ModeOfGlitch = 6127843
4156
		storehumanoidWS = 50
4157
		hum.WalkSpeed = 50
4158
		rainbowmode = true
4159
		chaosmode = false
4160
		RecolorTextAndRename(":>", Color3.new(109, 110, 108), Color3.new(1, 1, 1))
4161
		newTheme("rbxassetid://2633517495", 0, 1, 1)
4162
		MAINRUINCOLOR = BrickColor.new("White")
4163
		for i, v in pairs(mw2:GetChildren()) do
4164
			if v:IsA("Part") then
4165
				v.BrickColor = MAINRUINCOLOR
4166
				v.Material = "Neon"
4167
			end
4168
		end
4169
		for i, v in pairs(mw1:GetChildren()) do
4170
			if v:IsA("Part") then
4171
				v.Transparency = 0
4172
				v.BrickColor = MAINRUINCOLOR
4173
				v.Material = "Neon"
4174
			end
4175
		end
4176
		for i, v in pairs(m:GetChildren()) do
4177
			if v:IsA("Part") then
4178
				v.BrickColor = BrickColor.new("White")
4179
				v.Material = "Neon"
4180
			end
4181
		end
4182
		for i, v in pairs(m2:GetChildren()) do
4183
			if v:IsA("Part") then
4184
				v.BrickColor = BrickColor.new("White")
4185
				v.Material = "Neon"
4186
			end
4187
		end
4188
		for i, v in pairs(m3:GetChildren()) do
4189
			if v:IsA("Part") then
4190
				v.BrickColor = BrickColor.new("White")
4191
				v.Material = "Neon"
4192
			end
4193
		end
4194
		for i, v in pairs(extrawingmod1:GetChildren()) do
4195
			if v:IsA("Part") then
4196
				v.Transparency = 1
4197
				v.BrickColor = BrickColor.new("White")
4198
				v.Material = "Neon"
4199
			end
4200
		end
4201
		for i, v in pairs(extrawingmod2:GetChildren()) do
4202
			if v:IsA("Part") then
4203
				v.Transparency = 1
4204
				v.BrickColor = BrickColor.new("White")
4205
				v.Material = "Neon"
4206
			end
4207
		end
4208
	elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
4209
		resetmode()
4210
	end
4211
	if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
4212
		ModeOfGlitch = 1000000
4213
		storehumanoidWS = 100
4214
		hum.WalkSpeed = 100
4215
		rainbowmode = false
4216
		chaosmode = false
4217
		RecolorTextAndRename("Xi Ki Bri Ki", Color3.new(13, 105, 172), Color3.new(0.5, 0, 1))
4218
		newTheme("rbxassetid://3259462913", 0, 1, 1)
4219
		MAINRUINCOLOR = BrickColor.new("Bright violet")
4220
		for i, v in pairs(mw2:GetChildren()) do
4221
			if v:IsA("Part") then
4222
				v.BrickColor = MAINRUINCOLOR
4223
				v.Material = "Neon"
4224
			end
4225
		end
4226
		for i, v in pairs(mw1:GetChildren()) do
4227
			if v:IsA("Part") then
4228
				v.Transparency = 0
4229
				v.BrickColor = MAINRUINCOLOR
4230
				v.Material = "Neon"
4231
			end
4232
		end
4233
		for i, v in pairs(m:GetChildren()) do
4234
			if v:IsA("Part") then
4235
				v.Color = Color3.new(0.5, 0, 1)
4236
				v.Material = "Neon"
4237
			end
4238
		end
4239
		for i, v in pairs(m2:GetChildren()) do
4240
			if v:IsA("Part") then
4241
				v.Color = Color3.new(0.25, 0, 1)
4242
				v.Material = "Neon"
4243
			end
4244
		end
4245
		for i, v in pairs(m3:GetChildren()) do
4246
			if v:IsA("Part") then
4247
				v.Color = Color3.new(0.45, 0, 1)
4248
				v.Material = "Neon"
4249
			end
4250
		end
4251
		for i, v in pairs(extrawingmod1:GetChildren()) do
4252
			if v:IsA("Part") then
4253
				v.Transparency = 0
4254
				v.Color = Color3.new(0.25, 0, 1)
4255
				v.Material = "Neon"
4256
			end
4257
		end
4258
		for i, v in pairs(extrawingmod2:GetChildren()) do
4259
			if v:IsA("Part") then
4260
				v.Transparency = 0
4261
				v.Color = Color3.new(0.5, 0, 1)
4262
				v.Material = "Neon"
4263
			end
4264
		end
4265
	elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
4266
		resetmode()
4267
	end
4268
	if k == "l" and toggleTag == false then
4269
		toggleTag = true
4270
		text.TextTransparency = 0
4271
		text.TextStrokeTransparency = 0
4272
	elseif k == "l" and toggleTag == true then
4273
		toggleTag = false
4274
		text.TextTransparency = 1
4275
		text.TextStrokeTransparency = 1
4276
	end
4277
	if k == "z" and attack == false and ModeOfGlitch == 1 then
4278
		ExtinctiveHeartbreak()
4279
	elseif k == "z" and attack == false and ModeOfGlitch == 2 then
4280
		PureBomb()
4281
	elseif k == "z" and attack == false and ModeOfGlitch == 3 then
4282
		scattercorrupt()
4283
	elseif k == "z" and attack == false and ModeOfGlitch == 4 then
4284
		ChaosGroundStrike()
4285
	elseif k == "z" and attack == false and ModeOfGlitch == 5 then
4286
	elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
4287
		UniversalSpark()
4288
    elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
4289
        scattercorrupt()
4290
        wait(1)
4291
        yinyangi()
4292
    elseif k == "l" and attack == false and ModeOfGlitch == 5 then
4293
        scattercorrupt()
4294
        scattercorrupt()
4295
	elseif k == "z" and attack == false and ModeOfGlitch == 6 then
4296
		yinyangi()
4297
	elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
4298
		Wip()
4299
	end
4300
	if k == "l" and attack == false and ModeOfGlitch == 4 then
4301
		ChaosBegone()
4302
	end
4303
end)
4304
coroutine.resume(coroutine.create(function()
4305
	while true do
4306
		swait(2)
4307
		if rainbowmode == true or ModeOfGlitch == 6 then
4308
			sphereMK(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0)
4309
		end
4310
	end
4311
end))
4312
coroutine.resume(coroutine.create(function()
4313
	while true do
4314
		swait(0.5)
4315
		if ModeOfGlitch == 1000000 then
4316
			sphereMK(5, 0.5, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0)
4317
		end
4318
	end
4319
end))
4320
coroutine.resume(coroutine.create(function()
4321
	while true do
4322
		swait(2)
4323
		if chaosmode == true then
4324
			RecolorTextAndRename("Expert", Color3.new(0, 0, 0), BrickColor.random().Color)
4325
			for i, v in pairs(mw1:GetChildren()) do
4326
				if v:IsA("Part") then
4327
					v.Transparency = 0.75
4328
					v.BrickColor = BrickColor.random()
4329
					v.Material = "Neon"
4330
				end
4331
			end
4332
			for i, v in pairs(m2:GetChildren()) do
4333
				if v:IsA("Part") then
4334
					v.BrickColor = BrickColor.random()
4335
					v.Material = "Neon"
4336
				end
4337
			end
4338
		end
4339
	end
4340
end))
4341
Humanoid.Name = "STARGLITCHER"
4342
Humanoid.MaxHealth = math.huge
4343
Humanoid.Health = math.huge
4344
Instance.new("ForceField", char).Visible = false
4345
Humanoid.Animator.Parent = nil
4346
idleanim = 0.4
4347
while true do
4348
	if rainbowmode == true then
4349
		RecolorTextAndRename(":>", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
4350
		MAINRUINCOLOR = BrickColor.new("White")
4351
		for i, v in pairs(m:GetChildren()) do
4352
			if v:IsA("Part") then
4353
				v.Color = Color3.new(r / 255, g / 255, b / 255)
4354
			end
4355
		end
4356
		for i, v in pairs(m2:GetChildren()) do
4357
			if v:IsA("Part") then
4358
				v.Color = Color3.new(r / 255, g / 255, b / 255)
4359
			end
4360
		end
4361
		for i, v in pairs(m3:GetChildren()) do
4362
			if v:IsA("Part") then
4363
				v.Color = Color3.new(r / 255, g / 255, b / 255)
4364
			end
4365
		end
4366
		for i, v in pairs(mw1:GetChildren()) do
4367
			if v:IsA("Part") then
4368
				v.Color = Color3.new(r / 255, g / 255, b / 255)
4369
				v.Material = "Neon"
4370
			end
4371
		end
4372
		for i, v in pairs(mw2:GetChildren()) do
4373
			if v:IsA("Part") then
4374
				v.Color = Color3.new(r / 255, g / 255, b / 255)
4375
				v.Material = "Neon"
4376
			end
4377
		end
4378
	end
4379
	CameraManager()
4380
	swait()
4381
	lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3)
4382
	lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3)
4383
	lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3)
4384
	lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3)
4385
	lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3)
4386
	lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3)
4387
	rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3)
4388
	rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3)
4389
	rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3)
4390
	rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3)
4391
	rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3)
4392
	rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3)
4393
	sine = sine + change
4394
	local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
4395
	local velderp = RootPart.Velocity.y
4396
	hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
4397
	if equipped == true or equipped == false then
4398
		if attack == false then
4399
			idle = idle + 1
4400
		else
4401
			idle = 0
4402
		end
4403
		if not (idle >= 500) or attack == false then
4404
		end
4405
		if RootPart.Velocity.y > 1 and hitfloor == nil then
4406
			Anim = "Jump"
4407
			if attack == false then
4408
				RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
4409
				LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
4410
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
4411
				Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
4412
				RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(25)), 0.1)
4413
				LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(-25)), 0.1)
4414
			end
4415
		elseif RootPart.Velocity.y < -1 and hitfloor == nil then
4416
			Anim = "Fall"
4417
			if attack == false then
4418
				RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
4419
				LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
4420
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
4421
				Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
4422
				RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
4423
				LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
4424
			end
4425
		elseif torvel < 1 and hitfloor ~= nil then
4426
			Anim = "Idle"
4427
			if attack == false then
4428
				if ModeOfGlitch == 1 then
4429
					RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10 - 2.5 * math.cos(sine / 32)), math.rad(-20), math.rad(0)), 0.1)
4430
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.1)
4431
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(10 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1)
4432
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1)
4433
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
4434
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
4435
				elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
4436
					RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
4437
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
4438
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
4439
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
4440
					RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1)
4441
					LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1)
4442
				elseif ModeOfGlitch == 3 then
4443
					RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 - 1 * math.cos(sine / 34))), 0.1)
4444
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
4445
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-20)), 0.1)
4446
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1)
4447
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
4448
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
4449
				elseif ModeOfGlitch == 4 then
4450
					RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
4451
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
4452
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
4453
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
4454
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
4455
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
4456
				elseif ModeOfGlitch == 5 then
4457
					RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
4458
					LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
4459
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
4460
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
4461
					RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
4462
					LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
4463
				elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
4464
					RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
4465
					LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1)
4466
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
4467
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
4468
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
4469
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
4470
				end
4471
			end
4472
		elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
4473
			Anim = "Walk"
4474
			if attack == false then
4475
				if ModeOfGlitch == 1 then
4476
					RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
4477
					LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
4478
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
4479
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
4480
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
4481
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
4482
				elseif ModeOfGlitch == 4 then
4483
					RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1)
4484
					LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1)
4485
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1)
4486
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
4487
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
4488
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
4489
				elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
4490
					RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
4491
					LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
4492
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
4493
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
4494
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
4495
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1)
4496
				end
4497
			end
4498
		elseif torvel >= 22 and hitfloor ~= nil then
4499
			Anim = "Run"
4500
			if attack == false then
4501
				if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
4502
					RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
4503
					LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
4504
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1)
4505
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1)
4506
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1)
4507
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1)
4508
				elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
4509
					RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
4510
					LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
4511
					RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
4512
					Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
4513
					RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2)
4514
					LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2)
4515
				end
4516
			end
4517
		end
4518
	end
4519
end