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