View difference between Paste ID: AXrrNnz7 and RrEsN7v4
SHOW: | | - or go back to the newest paste.
1-
plr = game:GetService("Players").LocalPlayer
1+
2
3
4
5
6
7
8
9
10
11
print([[
12
13
Ramin9992/ramin999232:
14
15
Leaked by me, Not created my me.
16
17
_____________________________________________
18
19
20
LUNAR BANISHER
21
22
23
24
I don't think you can't escape?
25
26
_____________________________________________
27
28
29
30
Script Status: Leaked
31
_____________________________________________
32
33
34
)]]
35
36
37
plr = owner
38
char = plr.Character
39
hum = char.Humanoid
40
local cam = game.Workspace.CurrentCamera
41
Camera = cam
42
local CamInterrupt = false
43
local TwoD = false
44
local TargetInfo = {nil, nil}
45
cam.CameraType = "Custom"
46
t = char.Torso
47
h = char.Head
48
ra = char["Right Arm"]
49
la = char["Left Arm"]
50
rl = char["Right Leg"]
51
ll = char["Left Leg"]
52
tors = char.Torso
53
lleg = char["Left Leg"]
54
root = char.HumanoidRootPart
55
hed = char.Head
56
rleg = char["Right Leg"]
57
rarm = char["Right Arm"]
58
larm = char["Left Arm"]
59
radian = math.rad
60
random = math.random
61
Vec3 = Vector3.new
62
Inst = Instance.new
63
cFrame = CFrame.new
64
Euler = CFrame.fromEulerAnglesXYZ
65
vt = Vector3.new
66
bc = BrickColor.new
67
br = BrickColor.random
68
it = Instance.new
69
cf = CFrame.new
70
71
local Booleans = {
72
  CamFollow = true,
73
  GyroUse = true
74
}
75
76
function lerp(object, newCFrame, alpha)
77
  return object:lerp(newCFrame, alpha)
78
end
79
80
local Directer = Inst("BodyGyro", root)
81
Directer.MaxTorque = Vec3(0, 0, 0)
82
Directer.P = 600000
83
local CPart = Inst("Part")
84
CPart.Anchored = true
85
CPart.CanCollide = false
86
CPart.Locked = true
87
CPart.Transparency = 1
88
89
local rainbowmode = false
90
local chaosmode = false
91
92
local kan = Instance.new("Sound",char)
93
kan.Volume = 5
94
kan.TimePosition = 0
95
kan.PlaybackSpeed = 1
96
kan.Pitch = 1
97
kan.SoundId = "rbxassetid://561833161"
98
kan.Name = "wrecked"
99
kan.Looped = true
100
kan:Play()
101
102
local currentThemePlaying = kan.SoundId
103
local currentPitch = kan.Pitch
104
local currentVol = kan.Volume
105
function newTheme(ID,timepos,pitch,vol)
106
local kanz = kan
107
--kanz:Stop()
108
kanz.Volume = vol
109
--kanz.TimePosition = timepos
110
kanz.PlaybackSpeed = pitch
111
kanz.Pitch = pitch
112
kanz.SoundId = ID
113
kanz.Name = "wrecked"
114
kanz.Looped = true
115
currentThemePlaying = kanz.SoundId
116
currentVol = kanz.Volume
117
currentPitch = kanz.Pitch
118
--kanz:Play()
119
--coroutine.resume(coroutine.create(function()
120
--wait(0.05)
121
--end))
122
end
123
124
125
function newThemeCust(ID,timepos,pitch,vol)
126
local kanz = kan
127
kanz:Stop()
128
kanz.Volume = vol
129
kanz.TimePosition = timepos
130
kanz.PlaybackSpeed = pitch
131
kanz.Pitch = pitch
132
kanz.SoundId = ID
133
kanz.Name = "wrecked"
134
kanz.Looped = true
135
currentThemePlaying = kanz.SoundId
136
currentVol = kanz.Volume
137
currentPitch = kanz.Pitch
138
kanz:Play()
139
coroutine.resume(coroutine.create(function()
140
wait(0.05)
141
end))
142
end
143
144
local mutedtog = false
145
146
function CameraEnshaking(Length,Intensity)
147
coroutine.resume(coroutine.create(function()
148
      local intensity = 1*Intensity
149
      local rotM = 0.01*Intensity
150
for i = 0, Length, 0.1 do
151
swait()
152
intensity = intensity - 0.05*Intensity/Length
153
rotM = rotM - 0.0005*Intensity/Length
154
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
155
      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)
156
end
157
Humanoid.CameraOffset = Vec3(0, 0, 0)
158
end))
159
end
160
CamShake=function(Part,Distan,Power,Times) 
161
local de=Part.Position
162
for i,v in pairs(workspace:children()) do
163
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
164
for _,c in pairs(v:children()) do
165
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
166
local Noob=v.Humanoid
167
if Noob~=nil then
168
coroutine.resume(coroutine.create(function()
169
FV = Instance.new("BoolValue", Noob)
170
FV.Name = "CameraShake"
171
for ShakeNum=1,Times do
172
swait()
173
local ef=Power
174
  if ef>=1 then
175
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
176
  else
177
   ef=Power*10
178
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
179
  end	
180
end
181
Humanoid.CameraOffset = Vector3.new(0,0,0)
182
FV:Destroy()
183
end))
184
CameraShake(Times, Power, Noob)
185
end
186
end
187
end
188
end
189
end
190
end
191
192
193
function chatfunc(text,color,typet,font,timeex)
194
local chat = coroutine.wrap(function()
195
if Character:FindFirstChild("TalkingBillBoard")~= nil then
196
Character:FindFirstChild("TalkingBillBoard"):destroy()
197
end
198
local naeeym2 = Instance.new("BillboardGui",Character)
199
naeeym2.Size = UDim2.new(0,100,0,40)
200
naeeym2.StudsOffset = Vector3.new(0,3,0)
201
naeeym2.Adornee = Character.Head
202
naeeym2.Name = "TalkingBillBoard"
203
local tecks2 = Instance.new("TextLabel",naeeym2)
204
tecks2.BackgroundTransparency = 1
205
tecks2.BorderSizePixel = 0
206
tecks2.Text = ""
207
tecks2.Font = font
208
tecks2.TextSize = 30
209
tecks2.TextStrokeTransparency = 0
210
tecks2.TextColor3 = color
211
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
212
tecks2.Size = UDim2.new(1,0,0.5,0)
213
local tecks3 = Instance.new("TextLabel",naeeym2)
214
tecks3.BackgroundTransparency = 1
215
tecks3.BorderSizePixel = 0
216
tecks3.Text = ""
217
tecks3.Font = font
218
tecks3.TextSize = 30
219
tecks3.TextStrokeTransparency = 0
220
if typet == "Inverted" then
221
tecks3.TextColor3 = Color3.new(0,0,0)
222
tecks3.TextStrokeColor3 = color
223
elseif typet == "Normal" then
224
tecks3.TextColor3 = color
225
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
226
end
227
tecks3.Size = UDim2.new(1,0,0.5,0)
228
coroutine.resume(coroutine.create(function()
229
while true do
230
swait(1)
231
if chaosmode == true then
232
tecks2.TextColor3 = BrickColor.random().Color
233
tecks3.TextStrokeColor3 = BrickColor.random().Color
234
end
235
end
236
end))
237
modet.TextTransparency = modet.TextTransparency  + 1
238
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
239
for i = 0, 74*timeex do
240
swait()
241
modet.TextTransparency = 1
242
modet.TextStrokeTransparency = 1
243
tecks2.Text = text
244
tecks3.Text = text
245
end
246
local randomrot = math.random(1,2)
247
if randomrot == 1 then
248
for i = 1, 50 do
249
swait()
250
tecks2.Text = text
251
tecks3.Text = text
252
modet.TextTransparency = modet.TextTransparency - .02
253
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
254
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
255
tecks2.TextTransparency = tecks2.TextTransparency + .04
256
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
257
tecks3.TextTransparency = tecks2.TextTransparency + .04
258
end
259
elseif randomrot == 2 then
260
	for i = 1, 50 do
261
swait()
262
tecks2.Text = text
263
tecks3.Text = text
264
modet.TextTransparency = modet.TextTransparency - .02
265
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
266
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
267
tecks2.TextTransparency = tecks2.TextTransparency + .04
268
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
269
tecks3.TextTransparency = tecks2.TextTransparency + .04
270
end
271
end
272
modet.TextTransparency = 0
273
modet.TextStrokeTransparency = 0
274
if toggleTag == false then
275
modet.TextTransparency = 1
276
modet.TextStrokeTransparency = 1
277
end
278
naeeym2:Destroy()
279
end)
280
chat()
281
end
282
283
function bosschatfunc(text,color,watval)
284
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
285
coroutine.resume(coroutine.create(function()
286
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
287
v.PlayerGui:FindFirstChild("Dialog"):destroy()
288
end
289
local scrg = Instance.new("ScreenGui",v.PlayerGui)
290
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
291
scrg.Name = "Dialog"
292
local txtlb = Instance.new("TextLabel",scrg)
293
txtlb.Text = ""
294
txtlb.Font = "Bodoni"
295
txtlb.TextColor3 = Color3.new(0,0,0)
296
txtlb.TextStrokeTransparency = 0
297
txtlb.BackgroundTransparency = 0.75
298
txtlb.BackgroundColor3 = Color3.new(0,0,0)
299
txtlb.TextStrokeColor3 = color
300
txtlb.TextScaled = true
301
txtlb.Size = UDim2.new(1,0,0.25,0)
302
txtlb.TextXAlignment = "Left"
303
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
304
local txtlb2 = Instance.new("TextLabel",scrg)
305
txtlb2.Text = "Lunar Banisher"
306
txtlb2.Font = "Arcade"
307
txtlb2.TextColor3 = Color3.new(0,0,0)
308
txtlb2.TextStrokeTransparency = 0
309
txtlb2.BackgroundTransparency = 1
310
txtlb2.TextStrokeColor3 = color
311
txtlb2.TextSize = 40
312
txtlb2.Size = UDim2.new(1,0,0.25,0)
313
txtlb2.TextXAlignment = "Left"
314
txtlb2.Position = UDim2.new(0,0,1,0)
315
local fvalen = 0.55
316
local fval = -0.49
317
coroutine.resume(coroutine.create(function()
318
while true do
319
swait()
320
if chaosmode == true then
321
txtlb.Rotation = math.random(-1,1)
322
txtlb2.Rotation = math.random(-1,1)
323
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
324
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
325
txtlb.TextStrokeColor3 = BrickColor.random().Color
326
txtlb2.TextStrokeColor3 = BrickColor.random().Color
327
end
328
end
329
end))
330
coroutine.resume(coroutine.create(function()
331
while true do
332
swait()
333
if scrg.Parent ~= nil then
334
	fvalen = fvalen - 0.0001
335
elseif scrg.Parent == nil then
336
break
337
end
338
end
339
end))
340
local flol = 1.75
341
local flil = 1.6
342
coroutine.resume(coroutine.create(function()
343
	for i = 0, 9 do
344
		swait()
345
		fval = fval + 0.05
346
		flol = flol - 0.1
347
		flil = flil - 0.1
348
		txtlb.Text = ""
349
		txtlb.Position = UDim2.new(0,0,flol,0)
350
		txtlb2.Position = UDim2.new(0,0,flil,0)
351
	end
352
	txtlb.Text = text
353
wait(watval)
354
local valinc = 0
355
for i = 0, 99 do
356
swait()
357
valinc = valinc + 0.0001
358
flol = flol + valinc
359
flil = flil + valinc
360
txtlb.Rotation = txtlb.Rotation + valinc*20
361
txtlb2.Rotation = txtlb2.Rotation - valinc*50
362
txtlb.Position = UDim2.new(0,0,flol,0)
363
txtlb2.Position = UDim2.new(0,0,flil,0)
364
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
365
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
366
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
367
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
368
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
369
end
370
scrg:Destroy()
371
end))
372
end))
373
end
374
end
375
376
local disably = false
377
function warnedpeople(text,represfont,color,color2)
378
	if disably ~= true then
379
CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
380
CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
381
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
382
coroutine.resume(coroutine.create(function()
383
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
384
v.PlayerGui:FindFirstChild("Spinny"):destroy()
385
end
386
local scrg = Instance.new("ScreenGui",v.PlayerGui)
387
scrg.Name = "Spinny"
388
local frm = Instance.new("Frame",scrg)
389
frm.BackgroundTransparency = 0.25
390
frm.BackgroundColor3 = color
391
frm.BorderSizePixel = 0
392
frm.Rotation = 45
393
frm.Size = UDim2.new(3,0,0,100)
394
frm.Position = UDim2.new(-4,0,0,0)
395
local frm2 = frm:Clone()
396
frm2.Parent = scrg
397
frm2.BackgroundColor3 = color2
398
frm2.Position = UDim2.new(-4.05,0,0,0)
399
local imlb = Instance.new("ImageLabel",scrg)
400
imlb.BackgroundTransparency = 1
401
imlb.BackgroundColor3 = Color3.new(0,0,0)
402
imlb.Image = "rbxassetid://2344851144"
403
imlb.Size = UDim2.new(0,750,0,750)
404
imlb.ImageColor3 = color2
405
imlb.ImageTransparency = 0.25
406
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
407
local imlb2 = imlb:Clone()
408
imlb2.Image = "rbxassetid://2325939897"
409
imlb2.Size = UDim2.new(1,0,1,0)
410
imlb2.ImageColor3 = color
411
imlb2.ImageTransparency = 0
412
imlb2.Position = UDim2.new(0,0,0,0)
413
local imlb3 = imlb:Clone()
414
imlb3.Image = "rbxassetid://2344830904"
415
imlb3.Size = UDim2.new(1,0,1,0)
416
imlb3.ImageColor3 = color2
417
imlb3.ImageTransparency = 0
418
imlb3.Position = UDim2.new(0,0,0,0)
419
local imlb4 = imlb:Clone()
420
imlb4.Image = "rbxassetid://2344870656"
421
imlb4.Size = UDim2.new(3,0,3,0)
422
imlb4.ImageColor3 = Color3.new(1,1,1)
423
imlb4.ImageTransparency = 0
424
imlb4.Position = UDim2.new(-1,0,-1,0)
425
local imlb5 = imlb:Clone()
426
imlb5.Image = "rbxassetid://2344870656"
427
imlb5.Size = UDim2.new(10,0,10,0)
428
imlb5.ImageColor3 = color2
429
imlb5.ImageTransparency = 0
430
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
431
imlb2.Parent = imlb
432
imlb3.Parent = imlb
433
imlb4.Parent = imlb
434
imlb5.Parent = imlb
435
local txtlb2 = Instance.new("TextLabel",imlb)
436
txtlb2.Text = text
437
txtlb2.Font = represfont
438
txtlb2.TextColor3 = color
439
txtlb2.TextStrokeTransparency = 0
440
txtlb2.BackgroundTransparency = 1
441
txtlb2.TextStrokeColor3 = color2
442
txtlb2.TextScaled = true
443
txtlb2.Size = UDim2.new(1,0,1,0)
444
txtlb2.Position = UDim2.new(0,0,0,0)
445
local fvalen = 0.55
446
local fval = -0.49
447
coroutine.resume(coroutine.create(function()
448
while true do
449
swait()
450
if chaosmode == true then
451
txtlb2.Rotation = math.random(-1,1)
452
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
453
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
454
imlb.ImageColor3 = BrickColor.random().Color
455
txtlb2.TextStrokeColor3 = BrickColor.random().Color
456
end
457
end
458
end))
459
coroutine.resume(coroutine.create(function()
460
while true do
461
swait()
462
if scrg.Parent ~= nil then
463
	fvalen = fvalen - 0.0001
464
elseif scrg.Parent == nil then
465
break
466
end
467
end
468
end))
469
local flol = -5
470
local flil = 1.6
471
coroutine.resume(coroutine.create(function()
472
	for i = 0, 49 do
473
		swait()
474
		flol = flol + 0.125
475
		flil = flil - 0.1
476
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
477
		frm.Rotation = frm.Rotation - 0.25
478
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
479
		frm2.Rotation = frm.Rotation + 0.325
480
		imlb3.Rotation = imlb3.Rotation - 10
481
		imlb2.Rotation = imlb.Rotation + 7.5
482
		imlb.Rotation = imlb.Rotation + 5
483
		txtlb2.Rotation = txtlb2.Rotation - 5.125
484
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
485
	end
486
	for i = 0, 99 do
487
		swait()
488
		fval = fval + 0.05
489
		flol = flol + 0.005
490
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
491
		frm.Rotation = frm.Rotation - 0.075
492
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
493
		frm2.Rotation = frm2.Rotation + 0.125
494
		imlb3.Rotation = imlb3.Rotation - 2
495
		imlb2.Rotation = imlb.Rotation + 1.5
496
		imlb.Rotation = imlb.Rotation + 1
497
		txtlb2.Rotation = txtlb2.Rotation - 1.125
498
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
499
	end
500
local valinc = 0
501
local vinc2 = 1
502
for i = 0, 99 do
503
swait()
504
vinc2 = vinc2 + 0.25
505
valinc = valinc + 0.0001
506
flol = flol + valinc
507
flil = flil + valinc
508
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
509
imlb3.Rotation = imlb3.Rotation - 2*vinc2
510
imlb.Rotation = imlb.Rotation + 1*vinc2
511
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
512
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
513
frm.Rotation = frm.Rotation + 0.1*vinc2
514
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
515
frm2.Rotation = frm2.Rotation + 0.225*vinc2
516
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
517
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
518
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
519
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
520
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
521
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
522
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
523
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
524
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
525
end
526
scrg:Destroy()
527
end))
528
end))
529
end
530
end
531
end
532
533
local Create = LoadLibrary("RbxUtility").Create
534
535
CFuncs = {	
536
	["Part"] = {
537
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
538
			local Part = Create("Part"){
539
				Parent = Parent,
540
				Reflectance = Reflectance,
541
				Transparency = Transparency,
542
				CanCollide = false,
543
				Locked = true,
544
				BrickColor = BrickColor.new(tostring(BColor)),
545
				Name = Name,
546
				Size = Size,
547
				Material = Material,
548
			}
549
			RemoveOutlines(Part)
550
			return Part
551
		end;
552
	};
553
	
554
	["Mesh"] = {
555
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
556
			local Msh = Create(Mesh){
557
				Parent = Part,
558
				Offset = OffSet,
559
				Scale = Scale,
560
			}
561
			if Mesh == "SpecialMesh" then
562
				Msh.MeshType = MeshType
563
				Msh.MeshId = MeshId
564
			end
565
			return Msh
566
		end;
567
	};
568
	
569
	["Mesh"] = {
570
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
571
			local Msh = Create(Mesh){
572
				Parent = Part,
573
				Offset = OffSet,
574
				Scale = Scale,
575
			}
576
			if Mesh == "SpecialMesh" then
577
				Msh.MeshType = MeshType
578
				Msh.MeshId = MeshId
579
			end
580
			return Msh
581
		end;
582
	};
583
	
584
	["Weld"] = {
585
		Create = function(Parent, Part0, Part1, C0, C1)
586
			local Weld = Create("Weld"){
587
				Parent = Parent,
588
				Part0 = Part0,
589
				Part1 = Part1,
590
				C0 = C0,
591
				C1 = C1,
592
			}
593
			return Weld
594
		end;
595
	};
596
597
	["Sound"] = {
598
		Create = function(id, par, vol, pit) 
599
			coroutine.resume(coroutine.create(function()
600
				local S = Create("Sound"){
601
					Volume = vol,
602
                                        Name = "EffectSoundo",
603
					Pitch = pit or 1,
604
					SoundId = id,
605
					Parent = par or workspace,
606
				}
607
				wait() 
608
				S:play() 
609
				game:GetService("Debris"):AddItem(S, 10)
610
			end))
611
		end;
612
	};
613
614
	["TimeSound"] = {
615
		Create = function(id, par, vol, pit, timepos) 
616
			coroutine.resume(coroutine.create(function()
617
				local S = Create("Sound"){
618
					Volume = vol,
619
                                        Name = "EffectSoundo",
620
					Pitch = pit or 1,
621
					SoundId = id,
622
                                        TimePosition = timepos,
623
					Parent = par or workspace,
624
				}
625
				wait() 
626
				S:play() 
627
				game:GetService("Debris"):AddItem(S, 10)
628
			end))
629
		end;
630
	};
631
		["EchoSound"] = {
632
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
633
			coroutine.resume(coroutine.create(function()
634
				local Sas = Create("Sound"){
635
					Volume = vol,
636
                    Name = "EffectSoundo",
637
					Pitch = pit or 1,
638
					SoundId = id,
639
                    TimePosition = timepos,
640
					Parent = par or workspace,
641
				}
642
				local E = Create("EchoSoundEffect"){
643
					Delay = echodelay,
644
                    Name = "Echo",
645
					Feedback = fedb,
646
                    DryLevel = dryl,
647
					Parent = Sas,
648
				}
649
				wait() 
650
				Sas:play() 
651
				game:GetService("Debris"):AddItem(Sas, delays)
652
			end))
653
		end;
654
	};
655
656
["LongSound"] = {
657
		Create = function(id, par, vol, pit) 
658
			coroutine.resume(coroutine.create(function()
659
				local S = Create("Sound"){
660
					Volume = vol,
661
					Pitch = pit or 1,
662
					SoundId = id,
663
					Parent = par or workspace,
664
				}
665
				wait() 
666
				S:play() 
667
				game:GetService("Debris"):AddItem(S, 60)
668
			end))
669
		end;
670
	};
671
	
672
	["ParticleEmitter"] = {
673
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
674
			local fp = Create("ParticleEmitter"){
675
				Parent = Parent,
676
				Color = ColorSequence.new(Color1, Color2),
677
				LightEmission = LightEmission,
678
				Size = Size,
679
				Texture = Texture,
680
				Transparency = Transparency,
681
				ZOffset = ZOffset,
682
				Acceleration = Accel,
683
				Drag = Drag,
684
				LockedToPart = LockedToPart,
685
				VelocityInheritance = VelocityInheritance,
686
				EmissionDirection = EmissionDirection,
687
				Enabled = Enabled,
688
				Lifetime = LifeTime,
689
				Rate = Rate,
690
				Rotation = Rotation,
691
				RotSpeed = RotSpeed,
692
				Speed = Speed,
693
				VelocitySpread = VelocitySpread,
694
			}
695
			return fp
696
		end;
697
	};
698
699
	CreateTemplate = {
700
	
701
	};
702
}
703
704
705
706
New = function(Object, Parent, Name, Data)
707
	local Object = Instance.new(Object)
708
	for Index, Value in pairs(Data or {}) do
709
		Object[Index] = Value
710
	end
711
	Object.Parent = Parent
712
	Object.Name = Name
713
	return Object
714
end
715
local halocolor = BrickColor.new("Pastel light blue")
716
local halocolor2 = BrickColor.new("Cool yellow")
717
local starcolor = BrickColor.new("Bright yellow")
718
local lunacolor = BrickColor.new("Navy blue")
719
local lunacolor2 = BrickColor.new("Bright blue")
720
local wepcolor = BrickColor.new("Really black")
721
local maincolor = BrickColor.new("Really black")
722
local m = Instance.new("Model",char)
723
local m2 = Instance.new("Model",char)
724
local m3 = Instance.new("Model",char)
725
local mw1 = Instance.new("Model",char)
726
local mw2 = Instance.new("Model",char)
727
728
729
730
731
local extrawingmod1 = Instance.new("Model",char)
732
local extrawingmod2 = Instance.new("Model",char)
733
734
function CreateParta(parent,transparency,reflectance,material,brickcolor)
735
local p = Instance.new("Part")
736
p.TopSurface = 0
737
p.BottomSurface = 0
738
p.Parent = parent
739
p.Size = Vector3.new(0.1,0.1,0.1)
740
p.Transparency = transparency
741
p.Reflectance = reflectance
742
p.CanCollide = false
743
p.Locked = true
744
p.BrickColor = brickcolor
745
p.Material = material
746
return p
747
end
748
749
function CreateMesh(parent,meshtype,x1,y1,z1)
750
local mesh = Instance.new("SpecialMesh",parent)
751
mesh.MeshType = meshtype
752
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
753
return mesh
754
end
755
756
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
757
local mesh = Instance.new("SpecialMesh",parent)
758
mesh.MeshType = "FileMesh"
759
mesh.MeshId = meshid
760
mesh.Scale = Vector3.new(x1,y1,z1)
761
return mesh
762
end
763
764
765
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
766
local mesh = Instance.new("SpecialMesh",parent)
767
mesh.MeshType = "FileMesh"
768
mesh.MeshId = meshid
769
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
770
mesh.Scale = Vector3.new(x1,y1,z1)
771
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
772
return mesh
773
end
774
775
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
776
local weld = Instance.new("Weld")
777
weld.Parent = parent
778
weld.Part0 = part0
779
weld.Part1 = part1
780
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
781
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
782
return weld
783
end
784
785
786
--------------
787
--------------
788
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
789
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))
790
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
791
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))
792
793
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
794
CreateMesh(handle,"Brick",0,0,0)
795
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))
796
local valuaring = 10
797
for i = 0, 49 do
798
	valuaring = valuaring + 10
799
rn = CreateParta(mw2,0,0,"Neon",halocolor)
800
CreateMesh(rn,"Brick",0.25,0.1,0.1)
801
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))
802
end
803
804
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
805
CreateMesh(handle,"Brick",0,0,0)
806
CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
807
local valuaring = 10
808
for i = 0, 49 do
809
	valuaring = valuaring + 10
810
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
811
CreateMesh(rn,"Brick",0.5,0.2,0.2)
812
CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
813
end
814
815
816
local handle = CreateParta(m,1,1,"Neon",maincolor)
817
CreateMesh(handle,"Brick",0.5,0.5,0.5)
818
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))
819
820
--- Left wing.
821
822
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
823
CreateMesh(handle,"Brick",0.5,0.5,0.5)
824
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))
825
826
wed = CreateParta(mw1,0,0,"Neon",halocolor)
827
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
828
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))
829
wed = CreateParta(mw1,0,0,"Neon",halocolor)
830
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
831
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))
832
A0 = Instance.new('Attachment',wed)
833
A0.Position = vt(0,0.25,0.25)
834
wed = CreateParta(mw1,0,0,"Neon",halocolor)
835
CreateMesh(wed,"Wedge",0.05,0.5,3)
836
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))
837
A1 = Instance.new('Attachment',wed)
838
A1.Position = vt(0,-0.25,-2)
839
wed = CreateParta(mw1,0,0,"Neon",halocolor)
840
CreateMesh(wed,"Wedge",0.05,3,0.5)
841
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))
842
843
tl1 = Instance.new('Trail',wed)
844
tl1.Attachment0 = A1
845
tl1.Attachment1 = A0
846
tl1.Texture = "rbxassetid://2108945559"
847
tl1.LightEmission = 1
848
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
849
tl1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
850
tl1.Lifetime = 0.6
851
852
853
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
854
CreateMesh(handle,"Brick",0.5,0.5,0.5)
855
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))
856
857
wed = CreateParta(mw1,0,0,"Neon",halocolor)
858
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
859
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))
860
wed = CreateParta(mw1,0,0,"Neon",halocolor)
861
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
862
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))
863
A0 = Instance.new('Attachment',wed)
864
A0.Position = vt(0,0.25,0.25)
865
wed = CreateParta(mw1,0,0,"Neon",halocolor)
866
CreateMesh(wed,"Wedge",0.05,0.5,3)
867
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))
868
A1 = Instance.new('Attachment',wed)
869
A1.Position = vt(0,-0.25,-2)
870
wed = CreateParta(mw1,0,0,"Neon",halocolor)
871
CreateMesh(wed,"Wedge",0.05,3,0.5)
872
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))
873
874
tl2 = Instance.new('Trail',wed)
875
tl2.Attachment0 = A1
876
tl2.Attachment1 = A0
877
tl2.Texture = "rbxassetid://2108945559"
878
tl2.LightEmission = 1
879
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
880
tl2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
881
tl2.Lifetime = 0.6
882
883
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
884
CreateMesh(handle,"Brick",0.5,0.5,0.5)
885
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))
886
887
wed = CreateParta(mw1,0,0,"Neon",halocolor)
888
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
889
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))
890
wed = CreateParta(mw1,0,0,"Neon",halocolor)
891
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
892
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))
893
A0 = Instance.new('Attachment',wed)
894
A0.Position = vt(0,0.25,0.25)
895
wed = CreateParta(mw1,0,0,"Neon",halocolor)
896
CreateMesh(wed,"Wedge",0.05,0.5,3)
897
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))
898
A1 = Instance.new('Attachment',wed)
899
A1.Position = vt(0,-0.25,-2)
900
wed = CreateParta(mw1,0,0,"Neon",halocolor)
901
CreateMesh(wed,"Wedge",0.05,3,0.5)
902
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))
903
904
tl3 = Instance.new('Trail',wed)
905
tl3.Attachment0 = A1
906
tl3.Attachment1 = A0
907
tl3.Texture = "rbxassetid://2108945559"
908
tl3.LightEmission = 1
909
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
910
tl3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
911
tl3.Lifetime = 0.6
912
913
tl1.Enabled = false
914
tl2.Enabled = false
915
tl3.Enabled = false
916
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
917
CreateMesh(handle,"Brick",0.5,0.5,0.5)
918
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))
919
920
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
921
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
922
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))
923
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
924
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
925
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))
926
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
927
CreateMesh(wed,"Wedge",0.05,0.5,3)
928
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))
929
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
930
CreateMesh(wed,"Wedge",0.05,3,0.5)
931
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))
932
933
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
934
CreateMesh(handle,"Brick",0.5,0.5,0.5)
935
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))
936
937
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
938
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
939
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))
940
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
941
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
942
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))
943
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
944
CreateMesh(wed,"Wedge",0.05,0.5,3)
945
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))
946
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
947
CreateMesh(wed,"Wedge",0.05,3,0.5)
948
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))
949
950
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
951
CreateMesh(handle,"Brick",0.5,0.5,0.5)
952
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))
953
954
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
955
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
956
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))
957
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
958
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
959
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))
960
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
961
CreateMesh(wed,"Wedge",0.05,0.5,3)
962
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))
963
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
964
CreateMesh(wed,"Wedge",0.05,3,0.5)
965
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))
966
967
-- Right wing.
968
969
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
970
CreateMesh(handle,"Brick",0.5,0.5,0.5)
971
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))
972
973
wed = CreateParta(mw2,0,0,"Neon",halocolor)
974
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
975
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))
976
A0 = Instance.new('Attachment',wed)
977
A0.Position = vt(0,0.25,0.25)
978
wed = CreateParta(mw2,0,0,"Neon",halocolor)
979
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
980
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))
981
wed = CreateParta(mw2,0,0,"Neon",halocolor)
982
CreateMesh(wed,"Wedge",0.05,0.5,3)
983
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))
984
wed = CreateParta(mw2,0,0,"Neon",halocolor)
985
CreateMesh(wed,"Wedge",0.05,3,0.5)
986
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))
987
A1 = Instance.new('Attachment',wed)
988
A1.Position = vt(0,2,0.25)
989
990
tr1 = Instance.new('Trail',wed)
991
tr1.Attachment0 = A1
992
tr1.Attachment1 = A0
993
tr1.Texture = "rbxassetid://2108945559"
994
tr1.LightEmission = 1
995
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
996
tr1.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
997
tr1.Lifetime = 0.6
998
999
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1000
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1001
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))
1002
1003
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1004
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1005
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))
1006
A0 = Instance.new('Attachment',wed)
1007
A0.Position = vt(0,0.25,0.25)
1008
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1009
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1010
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))
1011
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1012
CreateMesh(wed,"Wedge",0.05,0.5,3)
1013
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))
1014
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1015
CreateMesh(wed,"Wedge",0.05,3,0.5)
1016
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))
1017
A1 = Instance.new('Attachment',wed)
1018
A1.Position = vt(0,2,0.25)
1019
1020
tr2 = Instance.new('Trail',wed)
1021
tr2.Attachment0 = A1
1022
tr2.Attachment1 = A0
1023
tr2.Texture = "rbxassetid://2108945559"
1024
tr2.LightEmission = 1
1025
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1026
tr2.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
1027
tr2.Lifetime = 0.6
1028
1029
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1030
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1031
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))
1032
1033
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1034
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1035
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))
1036
A0 = Instance.new('Attachment',wed)
1037
A0.Position = vt(0,0.25,0.25)
1038
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1039
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1040
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))
1041
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1042
CreateMesh(wed,"Wedge",0.05,0.5,3)
1043
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))
1044
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1045
CreateMesh(wed,"Wedge",0.05,3,0.5)
1046
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))
1047
A1 = Instance.new('Attachment',wed)
1048
A1.Position = vt(0,2,0.25)
1049
1050
tr3 = Instance.new('Trail',wed)
1051
tr3.Attachment0 = A1
1052
tr3.Attachment1 = A0
1053
tr3.Texture = "rbxassetid://2108945559"
1054
tr3.LightEmission = 1
1055
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1056
tr3.Color = ColorSequence.new(BrickColor.new('Really blue').Color)
1057
tr3.Lifetime = 0.6
1058
1059
1060
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1061
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1062
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))
1063
1064
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1065
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1066
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))
1067
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1068
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1069
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))
1070
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1071
CreateMesh(wed,"Wedge",0.05,0.5,3)
1072
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))
1073
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1074
CreateMesh(wed,"Wedge",0.05,3,0.5)
1075
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))
1076
1077
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1078
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1079
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))
1080
1081
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1082
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1083
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))
1084
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1085
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1086
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))
1087
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1088
CreateMesh(wed,"Wedge",0.05,0.5,3)
1089
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))
1090
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1091
CreateMesh(wed,"Wedge",0.05,3,0.5)
1092
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))
1093
1094
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1095
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1096
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))
1097
1098
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1099
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1100
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))
1101
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1102
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1103
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))
1104
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1105
CreateMesh(wed,"Wedge",0.05,0.5,3)
1106
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))
1107
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1108
CreateMesh(wed,"Wedge",0.05,3,0.5)
1109
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))
1110
1111
--HERES THE RING
1112
1113
1114
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1115
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1116
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))
1117
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1118
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1119
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))
1120
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1121
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1122
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))
1123
1124
1125
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1126
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1127
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))
1128
1129
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1130
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1131
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))
1132
1133
1134
1135
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1136
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1137
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))
1138
1139
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1140
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1141
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))
1142
1143
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1144
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1145
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))
1146
1147
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1148
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1149
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))
1150
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1151
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1152
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))]]--
1153
1154
--- second ring
1155
1156
1157
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1158
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1159
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))
1160
1161
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1162
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1163
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))
1164
1165
1166
1167
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1168
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1169
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))
1170
1171
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1172
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1173
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))
1174
1175
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1176
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1177
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))
1178
1179
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1180
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1181
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))
1182
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1183
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1184
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))
1185
1186
1187
1188
for i, v in pairs(m:GetChildren()) do
1189
if v:IsA("Part") then
1190
v.BrickColor = BrickColor.new("Really black")
1191
v.Material = "Glass"
1192
end
1193
end
1194
for i, v in pairs(m2:GetChildren()) do
1195
if v:IsA("Part") then
1196
v.BrickColor = BrickColor.new("Crimson")
1197
v.Material = "Granite"
1198
end
1199
end
1200
for i, v in pairs(m3:GetChildren()) do
1201
if v:IsA("Part") then
1202
v.BrickColor = BrickColor.new("Really blue")
1203
v.Material = "Neon"
1204
end
1205
end
1206
for i, v in pairs(mw2:GetChildren()) do
1207
if v:IsA("Part") then
1208
v.BrickColor = BrickColor.new("Really blue")
1209
v.Material = "Neon"
1210
end
1211
end
1212
for i, v in pairs(mw1:GetChildren()) do
1213
if v:IsA("Part") then
1214
v.Transparency = 1
1215
v.BrickColor = BrickColor.new("Really blue")
1216
v.Material = "Neon"
1217
end
1218
end
1219
for i, v in pairs(extrawingmod1:GetChildren()) do
1220
if v:IsA("Part") then
1221
v.Transparency = 1
1222
v.BrickColor = BrickColor.new("White")
1223
v.Material = "Neon"
1224
end
1225
end
1226
for i, v in pairs(extrawingmod2:GetChildren()) do
1227
if v:IsA("Part") then
1228
v.Transparency = 1
1229
v.BrickColor = BrickColor.new("White")
1230
v.Material = "Neon"
1231
end
1232
end
1233
local MAINRUINCOLOR = BrickColor.new("Navy blue")
1234
local SECONDRUINCOLOR  = BrickColor.new("Navy blue")
1235
local THIRDRUINCOLOR = BrickColor.new("Really black")
1236
1237
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
1238
for i, v in pairs(mw2:GetChildren()) do
1239
if v:IsA("Part") then
1240
v.BrickColor = one
1241
v.Material = "Neon"
1242
end
1243
end
1244
refec.Color = ColorSequence.new(one.Color)
1245
refec2.Color = ColorSequence.new(one.Color)
1246
refec3.Color = ColorSequence.new(one.Color)
1247
tr1.Color = ColorSequence.new(one.Color)
1248
tr2.Color = ColorSequence.new(one.Color)
1249
tr3.Color = ColorSequence.new(one.Color)
1250
imgl2.ImageColor3 = one.Color
1251
circl.ImageColor3 = two.Color
1252
techc.ImageColor3 = one.Color
1253
circl2.ImageColor3 = one.Color
1254
ned.TextColor3 = two.Color
1255
ned.TextStrokeColor3 = one.Color
1256
for i, v in pairs(mw1:GetChildren()) do
1257
if v:IsA("Part") then
1258
v.Transparency = 0
1259
v.BrickColor = two
1260
v.Material = "Neon"
1261
end
1262
end
1263
tl1.Color = ColorSequence.new(two.Color)
1264
tl2.Color = ColorSequence.new(two.Color)
1265
tl3.Color = ColorSequence.new(two.Color)
1266
for i, v in pairs(m:GetChildren()) do
1267
if v:IsA("Part") then
1268
v.BrickColor = three
1269
v.Material = "Ice"
1270
end
1271
end
1272
for i, v in pairs(m2:GetChildren()) do
1273
if v:IsA("Part") then
1274
v.BrickColor = four
1275
v.Material = "Ice"
1276
end
1277
end
1278
for i, v in pairs(m3:GetChildren()) do
1279
if v:IsA("Part") then
1280
v.BrickColor = five
1281
v.Material = "Neon"
1282
end
1283
end
1284
for i, v in pairs(extrawingmod1:GetChildren()) do
1285
if v:IsA("Part") then
1286
v.Transparency = exonetran
1287
v.BrickColor = exone
1288
v.Material = "Neon"
1289
end
1290
end
1291
for i, v in pairs(extrawingmod2:GetChildren()) do
1292
if v:IsA("Part") then
1293
v.Transparency = extwotran
1294
v.BrickColor = extwo
1295
v.Material = "Neon"
1296
end
1297
end
1298
end
1299
1300
function bosschatfunc(text,color,watval)
1301
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1302
coroutine.resume(coroutine.create(function()
1303
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1304
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1305
end
1306
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1307
scrg.Name = "Dialog"
1308
local txtlb = Instance.new("TextLabel",scrg)
1309
txtlb.Text = ""
1310
txtlb.Font = "Bodoni"
1311
txtlb.TextColor3 = Color3.new(0,0,0)
1312
txtlb.TextStrokeTransparency = 0
1313
txtlb.BackgroundTransparency = 0.75
1314
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1315
txtlb.TextStrokeColor3 = color
1316
txtlb.TextScaled = true
1317
txtlb.Size = UDim2.new(1,0,0.25,0)
1318
txtlb.TextXAlignment = "Left"
1319
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1320
local txtlb2 = Instance.new("TextLabel",scrg)
1321
txtlb2.Text = "Chaotic:"
1322
txtlb2.Font = "Arcade"
1323
txtlb2.TextColor3 = Color3.new(0,0,0)
1324
txtlb2.TextStrokeTransparency = 0
1325
txtlb2.BackgroundTransparency = 1
1326
txtlb2.TextStrokeColor3 = color
1327
txtlb2.TextSize = 40
1328
txtlb2.Size = UDim2.new(1,0,0.25,0)
1329
txtlb2.TextXAlignment = "Left"
1330
txtlb2.Position = UDim2.new(0,0,1,0)
1331
local fvalen = 0.55
1332
local fval = -0.49
1333
coroutine.resume(coroutine.create(function()
1334
while true do
1335
Swait()
1336
if MODE == "Sanity" then
1337
txtlb.Rotation = math.random(-1,1)
1338
txtlb2.Rotation = math.random(-1,1)
1339
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1340
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1341
txtlb.TextStrokeColor3 = BrickColor.random().Color
1342
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1343
end
1344
end
1345
end))
1346
coroutine.resume(coroutine.create(function()
1347
while true do
1348
Swait()
1349
if scrg.Parent ~= nil then
1350
	fvalen = fvalen - 0.0001
1351
elseif scrg.Parent == nil then
1352
break
1353
end
1354
end
1355
end))
1356
local flol = 1.75
1357
local flil = 1.6
1358
coroutine.resume(coroutine.create(function()
1359
	for i = 0, 9 do
1360
		Swait()
1361
		fval = fval + 0.05
1362
		flol = flol - 0.1
1363
		flil = flil - 0.1
1364
		txtlb.Text = ""
1365
		txtlb.Position = UDim2.new(0,0,flol,0)
1366
		txtlb2.Position = UDim2.new(0,0,flil,0)
1367
	end
1368
	txtlb.Text = text
1369
wait(watval)
1370
local valinc = 0
1371
for i = 0, 99 do
1372
Swait()
1373
valinc = valinc + 0.0001
1374
flol = flol + valinc
1375
flil = flil + valinc
1376
txtlb.Rotation = txtlb.Rotation + valinc*20
1377
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1378
txtlb.Position = UDim2.new(0,0,flol,0)
1379
txtlb2.Position = UDim2.new(0,0,flil,0)
1380
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1381
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1382
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1383
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1384
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1385
end
1386
scrg:Destroy()
1387
end))
1388
end))
1389
end
1390
end
1391
1392
function BigBlack(text,color,watval)
1393
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1394
coroutine.resume(coroutine.create(function()
1395
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1396
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1397
end
1398
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1399
scrg.Name = "Dialog"
1400
local txtlb = Instance.new("TextLabel",scrg)
1401
txtlb.Text = ""
1402
txtlb.Font = "Bodoni"
1403
txtlb.TextColor3 = Color3.new(0,0,0)
1404
txtlb.TextStrokeTransparency = 1
1405
txtlb.BackgroundTransparency = 1
1406
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1407
txtlb.TextStrokeColor3 = color
1408
txtlb.TextScaled = true
1409
txtlb.Size = UDim2.new(1,0,1,0)
1410
txtlb.TextXAlignment = "Center"
1411
txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
1412
local txtlb2 = Instance.new("TextLabel",scrg)
1413
txtlb2.Text = "Chaotic:"
1414
txtlb2.Font = "Arcade"
1415
txtlb2.TextColor3 = Color3.new(0,0,0)
1416
txtlb2.TextStrokeTransparency = 0
1417
txtlb2.BackgroundTransparency = 1
1418
txtlb2.TextStrokeColor3 = color
1419
txtlb2.TextSize = 40
1420
txtlb2.Size = UDim2.new(1,0,0.25,0)
1421
txtlb2.TextXAlignment = "Left"
1422
txtlb2.Position = UDim2.new(0,0,1,0)
1423
local fvalen = 0.55
1424
local fval = -0.49
1425
coroutine.resume(coroutine.create(function()
1426
while true do
1427
Swait()
1428
if MODE == "Sanity" then
1429
txtlb.Rotation = math.random(-1,1)
1430
txtlb2.Rotation = math.random(-1,1)
1431
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1432
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1433
txtlb.TextStrokeColor3 = BrickColor.random().Color
1434
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1435
end
1436
end
1437
end))
1438
coroutine.resume(coroutine.create(function()
1439
while true do
1440
Swait()
1441
if scrg.Parent ~= nil then
1442
	fvalen = fvalen - 0.0001
1443
elseif scrg.Parent == nil then
1444
break
1445
end
1446
end
1447
end))
1448
local flol = 1.05
1449
local flil = 0.75
1450
local flil2 = -0.2
1451
	coroutine.resume(coroutine.create(function()
1452
	for i = 1,string.len(text),1 do
1453
		wait()
1454
		text.Text = string.sub(text,1,i)
1455
	end
1456
	end))
1457
coroutine.resume(coroutine.create(function()
1458
	for i = 0, 1 do
1459
		fval = fval + 0.05
1460
		flol = flol - 0.1
1461
		flil2 = flil2 + 0.1
1462
		txtlb.Text = ""
1463
		txtlb.Position = UDim2.new(flil2,0,0,0)
1464
		txtlb.BackgroundTransparency = 1 - 0.1
1465
		txtlb2.Position = UDim2.new(flil2,0,0,0)
1466
	end
1467
	
1468
		for i = 0, 99 do
1469
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
1470
txtlb.TextTransparency = txtlb.TextTransparency - 0.01
1471
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
1472
txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
1473
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
1474
	end
1475
	
1476
	txtlb.Text = text
1477
wait(watval)
1478
local valinc = 0
1479
for i = 0, 99 do
1480
Swait()
1481
valinc = valinc + 0.0002
1482
flol = flol + valinc
1483
flil2 = flil2 + valinc
1484
txtlb.Rotation = txtlb.Rotation + valinc*15
1485
txtlb2.Rotation = txtlb2.Rotation - valinc*15
1486
txtlb.Position = UDim2.new(flil2,0,0,0)
1487
txtlb2.Position = UDim2.new(flil2,0,0,0)
1488
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1489
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1490
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1491
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1492
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1493
end
1494
scrg:Destroy()
1495
end))
1496
end))
1497
end
1498
end
1499
------
1500
1501
1502
function RemoveOutlines(part)
1503
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1504
end
1505
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1506
  local Part = Create("Part")({
1507
    Parent = Parent,
1508
    Reflectance = Reflectance,
1509
    Transparency = Transparency,
1510
    CanCollide = false,
1511
    Locked = true,
1512
    BrickColor = BrickColor.new(tostring(BColor)),
1513
    Name = Name,
1514
    Size = Size,
1515
    Material = Material
1516
  })
1517
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1518
  RemoveOutlines(Part)
1519
  return Part
1520
end
1521
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1522
  local Msh = Create(Mesh)({
1523
    Parent = Part,
1524
    Offset = OffSet,
1525
    Scale = Scale
1526
  })
1527
  if Mesh == "SpecialMesh" then
1528
    Msh.MeshType = MeshType
1529
    Msh.MeshId = MeshId
1530
  end
1531
  return Msh
1532
end
1533
function CreateWeld(Parent, Part0, Part1, C0, C1)
1534
  local Weld = Create("Weld")({
1535
    Parent = Parent,
1536
    Part0 = Part0,
1537
    Part1 = Part1,
1538
    C0 = C0,
1539
    C1 = C1
1540
  })
1541
  return Weld
1542
end
1543
1544
1545
1546
Player = plr
1547
PlayerGui = Player.PlayerGui
1548
Cam = workspace.CurrentCamera
1549
Backpack = Player.Backpack
1550
Character = Player.Character
1551
Humanoid = Character.Humanoid
1552
RootPart = Character["HumanoidRootPart"]
1553
Torso = Character["Torso"]
1554
Head = Character["Head"]
1555
RightArm = Character["Right Arm"]
1556
LeftArm = Character["Left Arm"]
1557
RightLeg = Character["Right Leg"]
1558
LeftLeg = Character["Left Leg"]
1559
RootJoint = RootPart["RootJoint"]
1560
Neck = Torso["Neck"]
1561
RightShoulder = Torso["Right Shoulder"]
1562
LeftShoulder = Torso["Left Shoulder"]
1563
RightHip = Torso["Right Hip"]
1564
LeftHip = Torso["Left Hip"]
1565
local sick = Instance.new("Sound",Torso)
1566
sick.SoundId = "rbxassetid://1306847940"
1567
sick.Looped = true
1568
sick.Pitch = 1
1569
sick.Volume = 0
1570
sick.TimePosition = 0
1571
Character.Archivable = true
1572
Humanoid.DisplayDistanceType = "None"
1573
1574
local naeeym2 = Instance.new("BillboardGui",Character)
1575
naeeym2.AlwaysOnTop = true
1576
naeeym2.Size = UDim2.new(5,35,2,35)
1577
naeeym2.StudsOffset = Vector3.new(0,3,0)
1578
naeeym2.Adornee = Character.Head
1579
naeeym2.Name = "Name"
1580
local tecks2 = Instance.new("TextLabel",naeeym2)
1581
tecks2.BackgroundTransparency = 1
1582
tecks2.TextScaled = true
1583
tecks2.BorderSizePixel = 0
1584
tecks2.Text = "Lunar"
1585
tecks2.Font = "Antique"
1586
tecks2.TextSize = 30
1587
tecks2.TextTransparency = 1
1588
tecks2.TextStrokeTransparency = 1
1589
tecks2.TextColor3 = Color3.new(0/255,0/255,255/255)
1590
tecks2.Size = UDim2.new(1,0,0.5,0)
1591
tecks2.Parent = naeeym2
1592
1593
IT = Instance.new
1594
CF = CFrame.new
1595
VT = Vector3.new
1596
RAD = math.rad
1597
C3 = Color3.new
1598
UD2 = UDim2.new
1599
BRICKC = BrickColor.new
1600
ANGLES = CFrame.Angles
1601
EULER = CFrame.fromEulerAnglesXYZ
1602
COS = math.cos
1603
ACOS = math.acos
1604
SIN = math.sin
1605
ASIN = math.asin
1606
ABS = math.abs
1607
MRANDOM = math.random
1608
FLOOR = math.floor
1609
1610
--//=================================\\
1611
--|| 	      USEFUL VALUES
1612
--\\=================================//
1613
1614
Animation_Speed = 3
1615
local FORCERESET = false
1616
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
1617
local Speed = 16
1618
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1619
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1620
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
1621
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
1622
local DAMAGEMULTIPLIER = 1
1623
local ANIM = "Idle"
1624
local ATTACK = false
1625
local EQUIPPED = false
1626
local HOLD = false
1627
local COMBO = 1
1628
local Rooted = false
1629
local INTRO = false
1630
local Gun = IT("Model")
1631
Gun.Name = "Gun"
1632
local SINE = 0
1633
local KEYHOLD = false
1634
local CHANGE = 2 / Animation_Speed
1635
local WALKINGANIM = false
1636
local VALUE1 = false
1637
local VALUE2 = false
1638
local ROBLOXIDLEANIMATION = IT("Animation")
1639
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
1640
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
1641
--ROBLOXIDLEANIMATION.Parent = Humanoid
1642
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1643
WEAPONGUI.Name = "BanishV3Gui"
1644
local Weapon = IT("Model")
1645
Weapon.Name = "Adds"
1646
local FaceGradient = IT("Folder", Character)
1647
FaceGradient.Name = "FaceGradient"
1648
local Effects = IT("Folder", Weapon)
1649
Effects.Name = "Effects"
1650
local ANIMATOR = Humanoid.Animator
1651
local ANIMATE = Character:FindFirstChild("Animate")
1652
local UNANCHOR = true
1653
local TOBANISH = {}
1654
script.Parent = PlayerGui
1655
1656
--//=================================\\
1657
--\\=================================//
1658
1659
1660
--//=================================\\
1661
--||		  CUSTOMIZATION
1662
--\\=================================//
1663
1664
Class_Name = "Sharpshooter"
1665
Weapon_Name = "Add-ons"
1666
1667
	Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
1668
	Custom_Color_2 = BRICKC("Maroon"); --2nd color for the weapon.
1669
1670
	Custom_Color_3 = BRICKC("Navy blue"); --Color for the abilities.
1671
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
1672
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
1673
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
1674
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
1675
1676
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
1677
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
1678
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
1679
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
1680
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
1681
1682
1683
Player_Size = 1 --Size of the player.
1684
Animation_Speed = 3
1685
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
1686
1687
local Speed = 16
1688
local Effects2 = {}
1689
1690
--//=================================\\
1691
--|| 	  END OF CUSTOMIZATION
1692
--\\=================================//
1693
1694
1695
--//=================================\\
1696
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
1697
--\\=================================//
1698
1699
ArtificialHB = Instance.new("BindableEvent", script)
1700
ArtificialHB.Name = "ArtificialHB"
1701
1702
script:WaitForChild("ArtificialHB")
1703
1704
frame = Frame_Speed
1705
tf = 0
1706
allowframeloss = false
1707
tossremainder = false
1708
lastframe = tick()
1709
script.ArtificialHB:Fire()
1710
1711
game:GetService("RunService").Heartbeat:connect(function(s, p)
1712
	tf = tf + s
1713
	if tf >= frame then
1714
		if allowframeloss then
1715
			script.ArtificialHB:Fire()
1716
			lastframe = tick()
1717
		else
1718
			for i = 1, math.floor(tf / frame) do
1719
				script.ArtificialHB:Fire()
1720
			end
1721
		lastframe = tick()
1722
		end
1723
		if tossremainder then
1724
			tf = 0
1725
		else
1726
			tf = tf - frame * math.floor(tf / frame)
1727
		end
1728
	end
1729
end)
1730
1731
--//=================================\\
1732
--\\=================================//
1733
1734
--//=================================\\
1735
--|| 	      SOME FUNCTIONS
1736
--\\=================================//
1737
1738
function Clerp(a, b, t)
1739
	local qa = {QuaternionFromCFrame(a)}
1740
	local qb = {QuaternionFromCFrame(b)}
1741
	local ax, ay, az = a.x, a.y, a.z
1742
	local bx, by, bz = b.x, b.y, b.z
1743
	local _t = 1 - t
1744
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1745
end
1746
1747
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1748
	local frame = IT("Frame")
1749
	frame.BackgroundTransparency = TRANSPARENCY
1750
	frame.BorderSizePixel = BORDERSIZEPIXEL
1751
	frame.Position = POSITION
1752
	frame.Size = SIZE
1753
	frame.BackgroundColor3 = COLOR
1754
	frame.BorderColor3 = BORDERCOLOR
1755
	frame.Name = NAME
1756
	frame.Parent = PARENT
1757
	return frame
1758
end
1759
1760
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1761
	local label = IT("TextLabel")
1762
	label.BackgroundTransparency = 1
1763
	label.Size = UD2(1, 0, 1, 0)
1764
	label.Position = UD2(0, 0, 0, 0)
1765
	label.TextColor3 = TEXTCOLOR
1766
	label.TextStrokeTransparency = STROKETRANSPARENCY
1767
	label.TextTransparency = TRANSPARENCY
1768
	label.FontSize = TEXTFONTSIZE
1769
	label.Font = TEXTFONT
1770
	label.BorderSizePixel = BORDERSIZEPIXEL
1771
	label.TextScaled = false
1772
	label.Text = TEXT
1773
	label.Name = NAME
1774
	label.Parent = PARENT
1775
	return label
1776
end
1777
1778
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
1779
	if FLOOR ~= nil then
1780
		coroutine.resume(coroutine.create(function()
1781
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
1782
			PART.CFrame = CF(POSITION)
1783
			for i = 1, 45 do
1784
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
1785
				RingPiece.Material = FLOOR.Material
1786
				RingPiece.Color = FLOOR.Color
1787
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1788
				Debris:AddItem(RingPiece,SWAIT)
1789
			end
1790
			PART:remove()
1791
		end))
1792
	end
1793
end
1794
1795
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
1796
	if FLOOR ~= nil then
1797
		for i = 1, AMOUNT do
1798
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
1799
			DEBREE.Material = FLOOR.Material
1800
			DEBREE.Color = FLOOR.Color
1801
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1802
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
1803
			coroutine.resume(coroutine.create(function()
1804
				Swait(15)
1805
				DEBREE.Parent = workspace
1806
				DEBREE.CanCollide = true
1807
				Debris:AddItem(DEBREE,SWAIT)
1808
			end))
1809
		end
1810
	end
1811
end
1812
1813
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1814
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1815
end
1816
1817
function PositiveAngle(NUMBER)
1818
	if NUMBER >= 0 then
1819
		NUMBER = 0
1820
	end
1821
	return NUMBER
1822
end
1823
1824
function NegativeAngle(NUMBER)
1825
	if NUMBER <= 0 then
1826
		NUMBER = 0
1827
	end
1828
	return NUMBER
1829
end
1830
1831
function Swait(NUMBER)
1832
	if NUMBER == 0 or NUMBER == nil then
1833
		ArtificialHB.Event:wait()
1834
	else
1835
		for i = 1, NUMBER do
1836
			ArtificialHB.Event:wait()
1837
		end
1838
	end
1839
end
1840
1841
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1842
	local NEWMESH = IT(MESH)
1843
	if MESH == "SpecialMesh" then
1844
		NEWMESH.MeshType = MESHTYPE
1845
		if MESHID ~= "nil" and MESHID ~= "" then
1846
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1847
		end
1848
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1849
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1850
		end
1851
	end
1852
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1853
	NEWMESH.Scale = SCALE
1854
	NEWMESH.Parent = PARENT
1855
	return NEWMESH
1856
end
1857
1858
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1859
	local NEWPART = IT("Part")
1860
	NEWPART.formFactor = FORMFACTOR
1861
	NEWPART.Reflectance = REFLECTANCE
1862
	NEWPART.Transparency = TRANSPARENCY
1863
	NEWPART.CanCollide = false
1864
	NEWPART.Locked = true
1865
	NEWPART.Anchored = true
1866
	if ANCHOR == false then
1867
		NEWPART.Anchored = false
1868
	end
1869
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1870
	NEWPART.Name = NAME
1871
	NEWPART.Size = SIZE
1872
	NEWPART.Position = Torso.Position
1873
	NEWPART.Material = MATERIAL
1874
	NEWPART:BreakJoints()
1875
	NEWPART.Parent = PARENT
1876
	return NEWPART
1877
end
1878
1879
	local function weldBetween(a, b)
1880
	    local weldd = Instance.new("ManualWeld")
1881
	    weldd.Part0 = a
1882
	    weldd.Part1 = b
1883
	    weldd.C0 = CFrame.new()
1884
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1885
	    weldd.Parent = a
1886
	    return weldd
1887
	end
1888
1889
1890
function QuaternionFromCFrame(cf)
1891
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1892
	local trace = m00 + m11 + m22
1893
	if trace > 0 then 
1894
		local s = math.sqrt(1 + trace)
1895
		local recip = 0.5 / s
1896
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1897
	else
1898
		local i = 0
1899
		if m11 > m00 then
1900
			i = 1
1901
		end
1902
		if m22 > (i == 0 and m00 or m11) then
1903
			i = 2
1904
		end
1905
		if i == 0 then
1906
			local s = math.sqrt(m00 - m11 - m22 + 1)
1907
			local recip = 0.5 / s
1908
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1909
		elseif i == 1 then
1910
			local s = math.sqrt(m11 - m22 - m00 + 1)
1911
			local recip = 0.5 / s
1912
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1913
		elseif i == 2 then
1914
			local s = math.sqrt(m22 - m00 - m11 + 1)
1915
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1916
		end
1917
	end
1918
end
1919
 
1920
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1921
	local xs, ys, zs = x + x, y + y, z + z
1922
	local wx, wy, wz = w * xs, w * ys, w * zs
1923
	local xx = x * xs
1924
	local xy = x * ys
1925
	local xz = x * zs
1926
	local yy = y * ys
1927
	local yz = y * zs
1928
	local zz = z * zs
1929
	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))
1930
end
1931
 
1932
function QuaternionSlerp(a, b, t)
1933
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1934
	local startInterp, finishInterp;
1935
	if cosTheta >= 0.0001 then
1936
		if (1 - cosTheta) > 0.0001 then
1937
			local theta = ACOS(cosTheta)
1938
			local invSinTheta = 1 / SIN(theta)
1939
			startInterp = SIN((1 - t) * theta) * invSinTheta
1940
			finishInterp = SIN(t * theta) * invSinTheta
1941
		else
1942
			startInterp = 1 - t
1943
			finishInterp = t
1944
		end
1945
	else
1946
		if (1 + cosTheta) > 0.0001 then
1947
			local theta = ACOS(-cosTheta)
1948
			local invSinTheta = 1 / SIN(theta)
1949
			startInterp = SIN((t - 1) * theta) * invSinTheta
1950
			finishInterp = SIN(t * theta) * invSinTheta
1951
		else
1952
			startInterp = t - 1
1953
			finishInterp = t
1954
		end
1955
	end
1956
	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
1957
end
1958
1959
function Clerp(a, b, t)
1960
	local qa = {QuaternionFromCFrame(a)}
1961
	local qb = {QuaternionFromCFrame(b)}
1962
	local ax, ay, az = a.x, a.y, a.z
1963
	local bx, by, bz = b.x, b.y, b.z
1964
	local _t = 1 - t
1965
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1966
end
1967
1968
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1969
	local frame = IT("Frame")
1970
	frame.BackgroundTransparency = TRANSPARENCY
1971
	frame.BorderSizePixel = BORDERSIZEPIXEL
1972
	frame.Position = POSITION
1973
	frame.Size = SIZE
1974
	frame.BackgroundColor3 = COLOR
1975
	frame.BorderColor3 = BORDERCOLOR
1976
	frame.Name = NAME
1977
	frame.Parent = PARENT
1978
	return frame
1979
end
1980
1981
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1982
	local label = IT("TextLabel")
1983
	label.BackgroundTransparency = 1
1984
	label.Size = UD2(1, 0, 1, 0)
1985
	label.Position = UD2(0, 0, 0, 0)
1986
	label.TextColor3 = TEXTCOLOR
1987
	label.TextStrokeTransparency = STROKETRANSPARENCY
1988
	label.TextTransparency = TRANSPARENCY
1989
	label.FontSize = TEXTFONTSIZE
1990
	label.Font = TEXTFONT
1991
	label.BorderSizePixel = BORDERSIZEPIXEL
1992
	label.TextScaled = false
1993
	label.Text = TEXT
1994
	label.Name = NAME
1995
	label.Parent = PARENT
1996
	return label
1997
end
1998
1999
function NoOutlines(PART)
2000
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
2001
end
2002
2003
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
2004
	local NEWWELD = IT(TYPE)
2005
	NEWWELD.Part0 = PART0
2006
	NEWWELD.Part1 = PART1
2007
	NEWWELD.C0 = C0
2008
	NEWWELD.C1 = C1
2009
	NEWWELD.Parent = PARENT
2010
	return NEWWELD
2011
end
2012
2013
local S = IT("Sound")
2014
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
2015
	local NEWSOUND = nil
2016
	coroutine.resume(coroutine.create(function()
2017
		NEWSOUND = S:Clone()
2018
		NEWSOUND.Parent = PARENT
2019
		NEWSOUND.Volume = VOLUME
2020
		NEWSOUND.Pitch = PITCH
2021
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
2022
		NEWSOUND:play()
2023
		if DOESLOOP == true then
2024
			NEWSOUND.Looped = true
2025
		else
2026
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
2027
			NEWSOUND:remove()
2028
		end
2029
	end))
2030
	return NEWSOUND
2031
end
2032
2033
function CFrameFromTopBack(at, top, back)
2034
	local right = top:Cross(back)
2035
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
2036
end
2037
2038
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2039
function WACKYEFFECT(Table)
2040
	local TYPE = (Table.EffectType or "Sphere")
2041
	local SIZE = (Table.Size or VT(1,1,1))
2042
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
2043
	local TRANSPARENCY = (Table.Transparency or 0)
2044
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
2045
	local CFRAME = (Table.CFrame or Torso.CFrame)
2046
	local MOVEDIRECTION = (Table.MoveToPos or nil)
2047
	local ROTATION1 = (Table.RotationX or 0)
2048
	local ROTATION2 = (Table.RotationY or 0)
2049
	local ROTATION3 = (Table.RotationZ or 0)
2050
	local MATERIAL = (Table.Material or "Neon")
2051
	local COLOR = (Table.Color or C3(1,1,1))
2052
	local TIME = (Table.Time or 45)
2053
	local SOUNDID = (Table.SoundID or nil)
2054
	local SOUNDPITCH = (Table.SoundPitch or nil)
2055
	local SOUNDVOLUME = (Table.SoundVolume or nil)
2056
	coroutine.resume(coroutine.create(function()
2057
		local PLAYSSOUND = false
2058
		local SOUND = nil
2059
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
2060
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
2061
			PLAYSSOUND = true
2062
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
2063
		end
2064
		EFFECT.Color = COLOR
2065
		local MSH = nil
2066
		if TYPE == "Sphere" then
2067
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
2068
		elseif TYPE == "Block" then
2069
			MSH = IT("BlockMesh",EFFECT)
2070
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
2071
		elseif TYPE == "Wave" then
2072
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
2073
		elseif TYPE == "Ring" then
2074
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
2075
		elseif TYPE == "Slash" then
2076
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2077
		elseif TYPE == "Round Slash" then
2078
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2079
		elseif TYPE == "Swirl" then
2080
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
2081
		elseif TYPE == "Skull" then
2082
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
2083
		elseif TYPE == "Crystal" then
2084
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
2085
		end
2086
		if MSH ~= nil then
2087
			local MOVESPEED = nil
2088
			if MOVEDIRECTION ~= nil then
2089
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
2090
			end
2091
			local GROWTH = SIZE - ENDSIZE
2092
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
2093
			if TYPE == "Block" then
2094
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2095
			else
2096
				EFFECT.CFrame = CFRAME
2097
			end
2098
			for LOOP = 1, TIME+1 do
2099
				Swait()
2100
				MSH.Scale = MSH.Scale - GROWTH/TIME
2101
				if TYPE == "Wave" then
2102
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
2103
				end
2104
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
2105
				if TYPE == "Block" then
2106
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2107
				else
2108
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
2109
				end
2110
				if MOVEDIRECTION ~= nil then
2111
					local ORI = EFFECT.Orientation
2112
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
2113
					EFFECT.Orientation = ORI
2114
				end
2115
			end
2116
			if PLAYSSOUND == false then
2117
				EFFECT:remove()
2118
			else
2119
				SOUND.Stopped:Connect(function()
2120
					EFFECT:remove()
2121
				end)
2122
			end
2123
		else
2124
			if PLAYSSOUND == false then
2125
				EFFECT:remove()
2126
			else
2127
				repeat Swait() until SOUND.Playing == false
2128
				EFFECT:remove()
2129
			end
2130
		end
2131
	end))
2132
end
2133
2134
local DECAL = IT("Decal")
2135
function MakeRing()
2136
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Navy blue"), "MagicRing", VT(0, 0, 0), true)
2137
	local MSH = IT("BlockMesh", RING)
2138
	local TOP = DECAL:Clone()
2139
	local BOTTOM = DECAL:Clone()
2140
	TOP.Parent = RING
2141
	BOTTOM.Parent = RING
2142
	TOP.Face = "Top"
2143
	BOTTOM.Face = "Bottom"
2144
	TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
2145
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
2146
	local function REMOVE()
2147
		coroutine.resume(coroutine.create(function()
2148
			local SIZE = MSH.Scale.X
2149
			for i = 1, 35 do
2150
				Swait()
2151
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
2152
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
2153
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
2154
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
2155
			end
2156
			RING:remove()
2157
		end))
2158
	end
2159
	return RING, MSH, REMOVE
2160
end
2161
2162
function MakeForm(PART,TYPE)
2163
	if TYPE == "Cyl" then
2164
		local MSH = IT("CylinderMesh",PART)
2165
	elseif TYPE == "Ball" then
2166
		local MSH = IT("SpecialMesh",PART)
2167
		MSH.MeshType = "Sphere"
2168
	elseif TYPE == "Wedge" then
2169
		local MSH = IT("SpecialMesh",PART)
2170
		MSH.MeshType = "Wedge"
2171
	end
2172
end
2173
2174
function SpawnTrail(FROM,TO,BIG)
2175
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
2176
	MakeForm(TRAIL,"Cyl")
2177
	local DIST = (FROM - TO).Magnitude
2178
	if BIG == true then
2179
		TRAIL.Size = VT(0.5,DIST,0.5)
2180
	else
2181
		TRAIL.Size = VT(0.25,DIST,0.25)
2182
	end
2183
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
2184
	coroutine.resume(coroutine.create(function()
2185
		for i = 1, 5 do
2186
			Swait()
2187
			TRAIL.Transparency = TRAIL.Transparency + 0.1
2188
		end
2189
		TRAIL:remove()
2190
	end))
2191
end
2192
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2193
function WACKYEFFECT(Table)
2194
	local TYPE = (Table.EffectType or "Sphere")
2195
	local SIZE = (Table.Size or VT(1,1,1))
2196
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
2197
	local TRANSPARENCY = (Table.Transparency or 0)
2198
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
2199
	local CFRAME = (Table.CFrame or Torso.CFrame)
2200
	local MOVEDIRECTION = (Table.MoveToPos or nil)
2201
	local ROTATION1 = (Table.RotationX or 0)
2202
	local ROTATION2 = (Table.RotationY or 0)
2203
	local ROTATION3 = (Table.RotationZ or 0)
2204
	local MATERIAL = (Table.Material or "Neon")
2205
	local COLOR = (Table.Color or C3(1,1,1))
2206
	local TIME = (Table.Time or 45)
2207
	local SOUNDID = (Table.SoundID or nil)
2208
	local SOUNDPITCH = (Table.SoundPitch or nil)
2209
	local SOUNDVOLUME = (Table.SoundVolume or nil)
2210
	coroutine.resume(coroutine.create(function()
2211
		local PLAYSSOUND = false
2212
		local SOUND = nil
2213
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
2214
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
2215
			PLAYSSOUND = true
2216
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
2217
		end
2218
		EFFECT.Color = COLOR
2219
		local MSH = nil
2220
		if TYPE == "Sphere" then
2221
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
2222
		elseif TYPE == "Block" or TYPE == "Box" then
2223
			MSH = IT("BlockMesh",EFFECT)
2224
			MSH.Scale = SIZE
2225
		elseif TYPE == "Wave" then
2226
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
2227
		elseif TYPE == "Ring" then
2228
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
2229
		elseif TYPE == "Slash" then
2230
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2231
		elseif TYPE == "Round Slash" then
2232
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2233
		elseif TYPE == "Swirl" then
2234
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
2235
		elseif TYPE == "Skull" then
2236
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
2237
		elseif TYPE == "Crystal" then
2238
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
2239
		end
2240
		if MSH ~= nil then
2241
			local MOVESPEED = nil
2242
			if MOVEDIRECTION ~= nil then
2243
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
2244
			end
2245
			local GROWTH = SIZE - ENDSIZE
2246
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
2247
			if TYPE == "Block" then
2248
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2249
			else
2250
				EFFECT.CFrame = CFRAME
2251
			end
2252
			for LOOP = 1, TIME+1 do
2253
				Swait()
2254
				MSH.Scale = MSH.Scale - GROWTH/TIME
2255
				if TYPE == "Wave" then
2256
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
2257
				end
2258
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
2259
				if TYPE == "Block" then
2260
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2261
				else
2262
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
2263
				end
2264
				if MOVEDIRECTION ~= nil then
2265
					local ORI = EFFECT.Orientation
2266
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
2267
					EFFECT.Orientation = ORI
2268
				end
2269
			end
2270
			if PLAYSSOUND == false then
2271
				EFFECT:remove()
2272
			else
2273
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
2274
				EFFECT:remove()
2275
			end
2276
		else
2277
			if PLAYSSOUND == false then
2278
				EFFECT:remove()
2279
			else
2280
				repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
2281
				EFFECT:remove()
2282
			end
2283
		end
2284
	end))
2285
end
2286
2287
function MakeForm(PART,TYPE)
2288
	if TYPE == "Cyl" then
2289
		local MSH = IT("CylinderMesh",PART)
2290
	elseif TYPE == "Ball" then
2291
		local MSH = IT("SpecialMesh",PART)
2292
		MSH.MeshType = "Sphere"
2293
	elseif TYPE == "Wedge" then
2294
		local MSH = IT("SpecialMesh",PART)
2295
		MSH.MeshType = "Wedge"
2296
	end
2297
end
2298
2299
function SpawnTrail(FROM,TO,BIG)
2300
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Navy blue", "Trail", VT(0,0,0))
2301
	MakeForm(TRAIL,"Cyl")
2302
	local DIST = (FROM - TO).Magnitude
2303
	if BIG == true then
2304
		TRAIL.Size = VT(0.5,DIST,0.5)
2305
	else
2306
		TRAIL.Size = VT(0.25,DIST,0.25)
2307
	end
2308
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
2309
	coroutine.resume(coroutine.create(function()
2310
		for i = 1, 5 do
2311
			Swait()
2312
			TRAIL.Transparency = TRAIL.Transparency + 0.1
2313
		end
2314
		TRAIL:remove()
2315
	end))
2316
end
2317
2318
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
2319
	local TORSO = Torso
2320
	local HUM = Humanoid
2321
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
2322
		coroutine.wrap(function()
2323
			VT = Vector3.new
2324
			MRANDOM = math.random
2325
			local A = TIME
2326
			local B = INTENSITY
2327
			local C = true
2328
			local HUMANOID = Humanoid
2329
			local TIMER = A or 35
2330
			local SHAKE = B or 5
2331
			local FADE = C or true
2332
			if HUMANOID then
2333
				local FADER = SHAKE / TIMER
2334
				for i = 1, TIMER do
2335
					wait()
2336
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
2337
				end
2338
				HUMANOID.CameraOffset = VT(0, 0, 0)
2339
			end
2340
2341
		end)()
2342
	end
2343
end
2344
2345
function chatfunc(text)
2346
	local chat = coroutine.wrap(function()
2347
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
2348
		Character:FindFirstChild("TalkingBillBoard"):destroy()
2349
	end
2350
	local Bill = Instance.new("BillboardGui",Character)
2351
	Bill.Size = UDim2.new(0,100,0,40)
2352
	Bill.StudsOffset = Vector3.new(0,3,0)
2353
	Bill.Adornee = Character.Head
2354
	Bill.Name = "TalkingBillBoard"
2355
	local Hehe = Instance.new("TextLabel",Bill)
2356
	Hehe.BackgroundTransparency = 1
2357
	Hehe.BorderSizePixel = 0
2358
	Hehe.Text = ""
2359
	Hehe.Font = "Bodoni"
2360
	Hehe.TextSize = 40
2361
	Hehe.TextStrokeTransparency = 0
2362
	Hehe.Size = UDim2.new(1,0,0.5,0)
2363
	coroutine.resume(coroutine.create(function()
2364
		while Hehe ~= nil do
2365
			Swait()	
2366
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
2367
			Hehe.Rotation = math.random(-2.5,2.5)
2368
			Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
2369
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
2370
		end
2371
	end))
2372
	for i = 1,string.len(text),1 do
2373
		Swait()
2374
		Hehe.Text = string.sub(text,1,i)
2375
	end
2376
	Swait(90)--Re[math.random(1, 93)]
2377
	for i = 0, 1, .025 do
2378
		Swait()
2379
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
2380
		Hehe.TextStrokeTransparency = i
2381
		Hehe.TextTransparency = i
2382
	end
2383
	Bill:Destroy()
2384
	end)
2385
chat()
2386
end
2387
2388
Debris = game:GetService("Debris")
2389
2390
function CastProperRay(StartPos, EndPos, Distance, Ignore)
2391
	local DIRECTION = CF(StartPos,EndPos).lookVector
2392
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
2393
end
2394
2395
function turnto(position)
2396
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
2397
end
2398
2399
--//=================================\\
2400
--||	     RAGDOLL STUFF
2401
--\\=================================//
2402
2403
function recurse(root,callback,i)
2404
	i= i or 0
2405
	for _,v in pairs(root:GetChildren()) do
2406
		i = i + 1
2407
		callback(i,v)
2408
		
2409
		if #v:GetChildren() > 0 then
2410
			i = recurse(v,callback,i)
2411
		end
2412
	end
2413
	
2414
	return i
2415
end
2416
2417
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
2418
	attachmentName = attachmentName.."RigAttachment"
2419
	local constraint = Instance.new(className.."Constraint")
2420
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
2421
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
2422
	constraint.Name = "RagdollConstraint"..part1.Name
2423
	
2424
	for _,propertyData in next,properties or {} do
2425
		constraint[propertyData[1]] = propertyData[2]
2426
	end
2427
	
2428
	constraint.Parent = character
2429
end
2430
2431
function getAttachment0(character, attachmentName)
2432
	for _,child in next,character:GetChildren() do
2433
		local attachment = child:FindFirstChild(attachmentName)
2434
		if attachment then
2435
			return attachment
2436
		end
2437
	end
2438
end
2439
2440
function ArtificialHitbox(Part)
2441
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
2442
	HITBOX.CanCollide = true
2443
	HITBOX.CFrame = Part.CFrame
2444
	weldBetween(Part,HITBOX)
2445
end
2446
2447
function R15Ragdoll(character,KeepArms)
2448
	character:BreakJoints()
2449
	coroutine.resume(coroutine.create(function()
2450
		recurse(character, function(_,v)
2451
			if v:IsA("Attachment") then
2452
				v.Axis = Vector3.new(0, 1, 0)
2453
				v.SecondaryAxis = Vector3.new(0, 0, 1)
2454
				v.Rotation = Vector3.new(0, 0, 0)
2455
			end
2456
		end)
2457
		for _,child in next,character:GetChildren() do
2458
			if child:IsA("Accoutrement") then
2459
				for _,part in next,child:GetChildren() do
2460
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
2461
						local attachment1 = part:FindFirstChildOfClass("Attachment")
2462
						local attachment0 = getAttachment0(character,attachment1.Name)
2463
						if attachment0 and attachment1 then
2464
							local constraint = Instance.new("HingeConstraint")
2465
							constraint.Attachment0 = attachment0
2466
							constraint.Attachment1 = attachment1
2467
							constraint.LimitsEnabled = true
2468
							constraint.UpperAngle = 0
2469
							constraint.LowerAngle = 0
2470
							constraint.Parent = character
2471
						end
2472
						ArtificialHitbox(part)
2473
					elseif part.Name == "HumanoidRootPart" then
2474
						part:remove()
2475
					end
2476
				end
2477
			end
2478
		end
2479
		
2480
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
2481
			{"LimitsEnabled",true};
2482
			{"UpperAngle",5};
2483
		})
2484
		if character:FindFirstChild("Head") then
2485
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
2486
				{"LimitsEnabled",true};
2487
				{"UpperAngle",15};
2488
			})
2489
		end
2490
		
2491
		local handProperties = {
2492
			{"LimitsEnabled", true};
2493
			{"UpperAngle",0};
2494
			{"LowerAngle",0};
2495
		}
2496
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
2497
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
2498
		
2499
		local shinProperties = {
2500
			{"LimitsEnabled", true};
2501
			{"UpperAngle", 0};
2502
			{"LowerAngle", -75};
2503
		}
2504
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
2505
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
2506
		
2507
		local footProperties = {
2508
			{"LimitsEnabled", true};
2509
			{"UpperAngle", 15};
2510
			{"LowerAngle", -45};
2511
		}
2512
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
2513
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
2514
		if KeepArms == true then
2515
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
2516
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
2517
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
2518
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
2519
		end
2520
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
2521
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
2522
		Debris:AddItem(character,5)
2523
	end))
2524
end
2525
2526
function Ragdoll(Character2,CharTorso,KeepArms)
2527
	coroutine.resume(coroutine.create(function()
2528
		Character2:BreakJoints()
2529
		local hum = Character2:findFirstChild("Humanoid")
2530
		hum:remove()
2531
		local function Scan(ch)
2532
			local e
2533
			for e = 1,#ch do
2534
				Scan(ch[e]:GetChildren())
2535
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
2536
					ch[e]:remove()
2537
				end
2538
			end
2539
		end
2540
		local NEWHUM = IT("Humanoid")
2541
		NEWHUM.Name = "Corpse"
2542
		NEWHUM.Health = 0
2543
		NEWHUM.MaxHealth = 0
2544
		NEWHUM.PlatformStand = true
2545
		NEWHUM.Parent = Character2
2546
		NEWHUM.DisplayDistanceType = "None"
2547
	
2548
		local ch = Character2:GetChildren()
2549
		local i
2550
		for i = 1,#ch do
2551
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2552
				ch[i]:remove()
2553
			end
2554
		end
2555
	
2556
		local Torso2 = Character2.Torso
2557
		local movevector = Vector3.new()
2558
	
2559
		if Torso2 then
2560
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
2561
			local Head = Character2:FindFirstChild("Head")
2562
			if Head then
2563
				local Neck = Instance.new("Weld")
2564
				Neck.Name = "Neck"
2565
				Neck.Part0 = Torso2
2566
				Neck.Part1 = Head
2567
				Neck.C0 = CFrame.new(0, 1.5, 0)
2568
				Neck.C1 = CFrame.new()
2569
				Neck.Parent = Torso2
2570
	
2571
			end
2572
			local Limb = Character2:FindFirstChild("Right Arm")
2573
			if Limb and KeepArms == true then
2574
	
2575
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
2576
				local Joint = Instance.new("Glue")
2577
				Joint.Name = "RightShoulder"
2578
				Joint.Part0 = Torso2
2579
				Joint.Part1 = Limb
2580
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2581
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2582
				Joint.Parent = Torso2
2583
	
2584
				local B = Instance.new("Part")
2585
				B.TopSurface = 0
2586
				B.BottomSurface = 0
2587
				B.formFactor = "Symmetric"
2588
				B.Size = Vector3.new(1, 1, 1)
2589
				B.Transparency = 1
2590
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2591
				B.Parent = Character2
2592
				local W = Instance.new("Weld")
2593
				W.Part0 = Limb
2594
				W.Part1 = B
2595
				W.C0 = CFrame.new(0, -0.5, 0)
2596
				W.Parent = Limb
2597
	
2598
			end
2599
			local Limb = Character2:FindFirstChild("Left Arm")
2600
			if Limb and KeepArms == true then
2601
	
2602
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
2603
				local Joint = Instance.new("Glue")
2604
				Joint.Name = "LeftShoulder"
2605
				Joint.Part0 = Torso2
2606
				Joint.Part1 = Limb
2607
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2608
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2609
				Joint.Parent = Torso2
2610
	
2611
				local B = Instance.new("Part")
2612
				B.TopSurface = 0
2613
				B.BottomSurface = 0
2614
				B.formFactor = "Symmetric"
2615
				B.Size = Vector3.new(1, 1, 1)
2616
				B.Transparency = 1
2617
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2618
				B.Parent = Character2
2619
				local W = Instance.new("Weld")
2620
				W.Part0 = Limb
2621
				W.Part1 = B
2622
				W.C0 = CFrame.new(0, -0.5, 0)
2623
				W.Parent = Limb
2624
	
2625
			end
2626
			local Limb = Character2:FindFirstChild("Right Leg")
2627
			if Limb then
2628
	
2629
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
2630
				local Joint = Instance.new("Glue")
2631
				Joint.Name = "RightHip"
2632
				Joint.Part0 = Torso2
2633
				Joint.Part1 = Limb
2634
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2635
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2636
				Joint.Parent = Torso2
2637
	
2638
				local B = Instance.new("Part")
2639
				B.TopSurface = 0
2640
				B.BottomSurface = 0
2641
				B.formFactor = "Symmetric"
2642
				B.Size = Vector3.new(1, 1, 1)
2643
				B.Transparency = 1
2644
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2645
				B.Parent = Character2
2646
				local W = Instance.new("Weld")
2647
				W.Part0 = Limb
2648
				W.Part1 = B
2649
				W.C0 = CFrame.new(0, -0.5, 0)
2650
				W.Parent = Limb
2651
	
2652
			end
2653
			local Limb = Character2:FindFirstChild("Left Leg")
2654
			if Limb then
2655
	
2656
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
2657
				local Joint = Instance.new("Glue")
2658
				Joint.Name = "LeftHip"
2659
				Joint.Part0 = Torso2
2660
				Joint.Part1 = Limb
2661
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2662
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2663
				Joint.Parent = Torso2
2664
	
2665
				local B = Instance.new("Part")
2666
				B.TopSurface = 0
2667
				B.BottomSurface = 0
2668
				B.formFactor = "Symmetric"
2669
				B.Size = Vector3.new(1, 1, 1)
2670
				B.Transparency = 1
2671
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2672
				B.Parent = Character2
2673
				local W = Instance.new("Weld")
2674
				W.Part0 = Limb
2675
				W.Part1 = B
2676
				W.C0 = CFrame.new(0, -0.5, 0)
2677
				W.Parent = Limb
2678
	
2679
			end
2680
			--[
2681
			local Bar = Instance.new("Part")
2682
			Bar.TopSurface = 0
2683
			Bar.BottomSurface = 0
2684
			Bar.formFactor = "Symmetric"
2685
			Bar.Size = Vector3.new(1, 1, 1)
2686
			Bar.Transparency = 1
2687
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
2688
			Bar.Parent = Character2
2689
			local Weld = Instance.new("Weld")
2690
			Weld.Part0 = Torso2
2691
			Weld.Part1 = Bar
2692
			Weld.C0 = CFrame.new(0, 0.5, 0)
2693
			Weld.Parent = Torso2
2694
			--]]
2695
		end
2696
		Character2.Parent = workspace
2697
		Debris:AddItem(Character2,5)
2698
	
2699
		return Character2,Torso2
2700
	end))
2701
end
2702
2703
--//=================================\\
2704
--||	     WEAPON CREATION
2705
--\\=================================//
2706
2707
2708
local Particle = IT("ParticleEmitter",nil)
2709
Particle.Enabled = false
2710
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
2711
Particle.LightEmission = 0.5
2712
Particle.Rate = 150
2713
Particle.ZOffset = 0.2
2714
Particle.Rotation = NumberRange.new(-180, 180)
2715
Particle.RotSpeed = NumberRange.new(-180, 180)
2716
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
2717
Particle.Color = ColorSequence.new(C3(0/255,0/255,255/255),C3(0.4,0,0))
2718
2719
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
2720
function ParticleEmitter(Table)
2721
	local PRTCL = Particle:Clone()
2722
	local Speed = Table.Speed or 5
2723
	local Drag = Table.Drag or 0
2724
	local Size1 = Table.Size1 or 1
2725
	local Size2 = Table.Size2 or 5
2726
	local Lifetime1 = Table.Lifetime1 or 1
2727
	local Lifetime2 = Table.Lifetime2 or 1.5
2728
	local Parent = Table.Parent or Torso
2729
	local Emit = Table.Emit or 100
2730
	local Offset = Table.Offset or 360
2731
	local Acel = Table.Acel or VT(0,0,0)
2732
	local Enabled = Table.Enabled or false
2733
	PRTCL.Parent = Parent
2734
	PRTCL.Size = NumberSequence.new(Size1,Size2)
2735
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2736
	PRTCL.Speed = NumberRange.new(Speed)
2737
	PRTCL.VelocitySpread = Offset
2738
	PRTCL.Drag = Drag
2739
	PRTCL.Acceleration = Acel
2740
	if Enabled == false then
2741
		PRTCL:Emit(Emit)
2742
		Debris:AddItem(PRTCL,Lifetime2)
2743
	else
2744
		PRTCL.Enabled = true
2745
	end
2746
	return PRTCL
2747
end
2748
2749
local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
2750
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2751
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
2752
MakeForm(Part,"Wedge")
2753
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2754
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
2755
MakeForm(Part,"Wedge")
2756
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
2757
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
2758
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2759
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
2760
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2761
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
2762
MakeForm(Part,"Cyl")
2763
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2764
for i = 1, 8 do
2765
	local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
2766
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2767
end
2768
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
2769
MakeForm(Part,"Cyl")
2770
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2771
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
2772
MakeForm(Part,"Ball")
2773
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2774
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
2775
MakeForm(Part,"Wedge")
2776
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
2777
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
2778
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2779
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
2780
MakeForm(Part,"Cyl")
2781
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2782
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
2783
MakeForm(Part,"Cyl")
2784
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2785
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
2786
MakeForm(Part,"Cyl")
2787
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2788
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
2789
MakeForm(Part,"Wedge")
2790
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
2791
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
2792
MakeForm(Part,"Cyl")
2793
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2794
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
2795
MakeForm(Part,"Wedge")
2796
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2797
local LASTPART = Handle
2798
for i = 1, 10 do
2799
	if LASTPART == Handle then
2800
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
2801
		LASTPART = Part
2802
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2803
	else
2804
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
2805
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
2806
		LASTPART = Part
2807
	end
2808
end
2809
2810
local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
2811
MakeForm(Barrel,"Cyl")
2812
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2813
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
2814
MakeForm(Part,"Cyl")
2815
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
2816
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
2817
MakeForm(Part,"Wedge")
2818
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2819
local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
2820
MakeForm(Hole,"Cyl")
2821
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
2822
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
2823
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2824
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
2825
local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
2826
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2827
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
2828
coroutine.resume(coroutine.create(function()
2829
	while wait() do
2830
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
2831
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
2832
	end
2833
end))
2834
2835
for _, c in pairs(Gun:GetDescendants()) do
2836
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2837
		c.Material = "Glass"
2838
		c.Color = C3(0,0,0)
2839
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2840
		c.Color = C3(0/255,0/255,255/255)
2841
		c.Material = "Neon"
2842
	end
2843
end
2844
2845
for i = 1, 35 do
2846
	local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
2847
	FACE.Color = C3(0,0,0)
2848
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2849
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
2850
end
2851
2852
local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
2853
MakeForm(Eye,"Ball")
2854
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
2855
local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.6,0.1,1)/2,false)
2856
MakeForm(Eye,"Ball")
2857
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
2858
local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
2859
MakeForm(Eye,"Ball")
2860
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2861
local Eye = CreatePart(3, FaceGradient, "Neon", 0, 0, "Navy blue", "Eye", VT(0.1,1,1)/2,false)
2862
MakeForm(Eye,"Ball")
2863
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
2864
2865
local A = IT("Attachment",Torso)
2866
A.Position = VT(1,1.3,0)
2867
A.Orientation = VT(-0.098, -89.999, 0.227)
2868
local B = IT("Attachment",Torso)
2869
B.Position = VT(-1.3,-0.6,0)
2870
B.Orientation = VT(-88.911, -68.808, 158.782)
2871
local ChainLink = IT("Beam",Torso)
2872
ChainLink.Texture = "rbxassetid://73042633"
2873
ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
2874
ChainLink.TextureSpeed = 1
2875
ChainLink.FaceCamera = true
2876
ChainLink.Width0 = 1
2877
ChainLink.Width1 = 1
2878
ChainLink.TextureLength = 3
2879
ChainLink.Attachment0 = A
2880
ChainLink.Attachment1 = B
2881
ChainLink.CurveSize0 = 1.6
2882
ChainLink.CurveSize1 = 1.6
2883
ChainLink.FaceCamera = true
2884
ChainLink.Transparency = NumberSequence.new(0)
2885
local ChainLink = IT("Beam",Torso)
2886
ChainLink.Texture = "rbxassetid://73042633"
2887
ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
2888
ChainLink.TextureSpeed = 1
2889
ChainLink.FaceCamera = true
2890
ChainLink.Width0 = 1
2891
ChainLink.Width1 = 1
2892
ChainLink.TextureLength = 3
2893
ChainLink.Attachment0 = B
2894
ChainLink.Attachment1 = A
2895
ChainLink.CurveSize0 = 1.6
2896
ChainLink.CurveSize1 = 1.6
2897
ChainLink.FaceCamera = true
2898
ChainLink.Transparency = NumberSequence.new(0)
2899
local A = IT("Attachment",Torso)
2900
A.Position = VT(1.3,-0.85,0)
2901
A.Orientation = VT(-0.098, -89.999, 0.227)
2902
local B = IT("Attachment",Torso)
2903
B.Position = VT(-1,2,0)
2904
B.Orientation = VT(-88.911, -68.808, 158.782)
2905
local ChainLink = IT("Beam",Torso)
2906
ChainLink.Texture = "rbxassetid://73042633"
2907
ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
2908
ChainLink.TextureSpeed = 1
2909
ChainLink.FaceCamera = true
2910
ChainLink.Width0 = 1
2911
ChainLink.Width1 = 1
2912
ChainLink.TextureLength = 3
2913
ChainLink.Attachment0 = A
2914
ChainLink.Attachment1 = B
2915
ChainLink.CurveSize0 = 1.3
2916
ChainLink.CurveSize1 = 1.3
2917
ChainLink.FaceCamera = true
2918
ChainLink.Transparency = NumberSequence.new(0)
2919
local ChainLink = IT("Beam",Torso)
2920
ChainLink.Texture = "rbxassetid://73042633"
2921
ChainLink.Color = ColorSequence.new(C3(0/255,0/255,255/255))
2922
ChainLink.TextureSpeed = 1
2923
ChainLink.FaceCamera = true
2924
ChainLink.Width0 = 1
2925
ChainLink.Width1 = 1
2926
ChainLink.TextureLength = 3
2927
ChainLink.Attachment0 = B
2928
ChainLink.Attachment1 = A
2929
ChainLink.CurveSize0 = 1.3
2930
ChainLink.CurveSize1 = 1.3
2931
ChainLink.FaceCamera = true
2932
ChainLink.Transparency = NumberSequence.new(0)
2933
2934
Weapon.Parent = Character
2935
for _, c in pairs(Weapon:GetChildren()) do
2936
	if c.ClassName == "Part" then
2937
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2938
	end
2939
end
2940
2941
Weapon.Parent = Character
2942
Gun.Parent = nil
2943
2944
for _, c in pairs(Gun:GetChildren()) do
2945
	if c.ClassName == "Part" then
2946
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2947
	end
2948
end
2949
2950
for _, c in pairs(Weapon:GetChildren()) do
2951
	if c.ClassName == "Part" then
2952
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2953
	end
2954
end
2955
2956
local EXE = Instance.new("Shirt")
2957
EXE.ShirtTemplate = "rbxassetid://338740550"
2958
EXE.Parent = Character
2959
EXE.Name = "Cloth"
2960
local LOL = Instance.new("Pants")
2961
LOL.PantsTemplate = "rbxassetid://338750779"
2962
LOL.Parent = Character
2963
LOL.Name = "Cloth"
2964
2965
Head.Color = C3(21,71,109)
2966
Torso.Color = C3(21,71,109)
2967
LeftArm.Color = C3(21,71,109)
2968
LeftLeg.Color = C3(21,71,109)
2969
RightArm.Color = C3(21,71,109)
2970
RightLeg.Color = C3(21,71,109)
2971
2972
local SKILLTEXTCOLOR = C3(0/255,0/255,255/255)
2973
local SKILLFONT = "Antique"
2974
local SKILLTEXTSIZE = 7
2975
2976
Humanoid.Died:connect(function()
2977
	ATTACK = true
2978
end)
2979
2980
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 1 Frame")
2981
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 2 Frame")
2982
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 3 Frame")
2983
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 4 Frame")
2984
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0/255,0/255,255/255), C3(0, 0, 0), "Skill 5 Frame")
2985
2986
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
2987
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
2988
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
2989
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
2990
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
2991
2992
function printbye(Name)
2993
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
2994
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
2995
end
2996
	if INTRO == false and INSTANT == false then
2997
		INTRO = true
2998
		coroutine.resume(coroutine.create(function()
2999
			sick:Play()
3000
			Intro()
3001
		end))
3002
	end
3003
3004
workspace.ChildAdded:connect(function(instance)
3005
    for BANISH = 1, #TOBANISH do
3006
		if TOBANISH[BANISH] ~= nil then
3007
			if instance.Name == TOBANISH[BANISH] then
3008
				coroutine.resume(coroutine.create(function()
3009
					printbye(instance.Name)
3010
					instance:ClearAllChildren()
3011
					Debris:AddItem(instance,0.0005)
3012
				end))
3013
			end
3014
		end
3015
	end
3016
end)
3017
3018
--//=================================\\
3019
--||			DAMAGING
3020
--\\=================================//
3021
3022
function ApplyDamage(Humanoid,Damage,OneShot)
3023
	Damage = Damage * DAMAGEMULTIPLIER
3024
	local DEAD = false
3025
	if Humanoid.Health < 2000 and OneShot == false then
3026
		if Humanoid.Health - Damage > 0 then
3027
			Humanoid.Health = Humanoid.Health - Damage
3028
		else
3029
			Humanoid.Parent:BreakJoints()
3030
			DEAD = true
3031
		end
3032
	else
3033
		DEAD = true
3034
		Humanoid.Parent:BreakJoints()
3035
	end
3036
	if DEAD == true then
3037
		local PARTS = {}
3038
		for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
3039
			if CHILD:IsA("BasePart") then
3040
				table.insert(PARTS,CHILD)
3041
			end
3042
		end
3043
		coroutine.resume(coroutine.create(function()
3044
			wait(2)
3045
			repeat
3046
				Swait()
3047
				local PIECE = nil
3048
				if MRANDOM(1,5) == 1 then
3049
					for E = 1, #PARTS do
3050
						if MRANDOM(1,5) == 1 then
3051
							PIECE = PARTS[E]
3052
							table.remove(PARTS,E)
3053
							break
3054
						end
3055
					end
3056
				end
3057
				if PIECE ~= nil then
3058
					if PIECE.Name == "Head" then
3059
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
3060
					else
3061
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
3062
					end
3063
					PIECE:remove()
3064
				end
3065
			until #PARTS == 0
3066
		end))
3067
	end
3068
end
3069
3070
3071
function ApplyDamage3(Humanoid,Damage,TorsoPart)
3072
	local defence = Instance.new("BoolValue",Humanoid.Parent)
3073
	defence.Name = ("HitBy"..Player.Name)
3074
	game:GetService("Debris"):AddItem(defence, 0.001)
3075
	Damage = Damage * DAMAGEMULTIPLIER
3076
	if Humanoid.Health ~= 0 then
3077
		local CritChance = MRANDOM(1,100)
3078
		if Damage > Humanoid.Health then
3079
			Damage = math.ceil(Humanoid.Health)
3080
			if Damage == 0 then
3081
				Damage = 0.1
3082
			end
3083
		end
3084
		Humanoid.Health = Humanoid.Health - Damage
3085
	end
3086
end
3087
3088
function ApplyDamage3(Humanoid,Damage,TorsoPart)
3089
	local defence = Instance.new("BoolValue",Humanoid.Parent)
3090
	defence.Name = ("HitBy"..Player.Name)
3091
	game:GetService("Debris"):AddItem(defence, 0.001)
3092
	Damage = Damage * DAMAGEMULTIPLIER
3093
	if Humanoid.Health ~= 0 then
3094
		local CritChance = MRANDOM(1,100)
3095
		if Damage > Humanoid.Health then
3096
			Damage = math.ceil(Humanoid.Health)
3097
			if Damage == 0 then
3098
				Damage = 0.1
3099
			end
3100
		end
3101
		Humanoid.Health = Humanoid.Health - Damage
3102
	end
3103
end
3104
3105
function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
3106
	local CHILDREN = workspace:GetDescendants()
3107
	for index, CHILD in pairs(CHILDREN) do
3108
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
3109
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3110
			if HUM then
3111
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3112
				if TORSO then
3113
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3114
						if INSTAKILL == true then
3115
							CHILD:BreakJoints()
3116
						else
3117
							local DMG = MRANDOM(MINDMG,MAXDMG)
3118
							ApplyDamage(HUM,DMG,TORSO)
3119
						end
3120
						if FLING > 0 then
3121
							for _, c in pairs(CHILD:GetChildren()) do
3122
								if c:IsA("BasePart") then
3123
									local bv = Instance.new("BodyVelocity") 
3124
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3125
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
3126
									bv.Parent = c
3127
									Debris:AddItem(bv,0.05)
3128
								end
3129
							end
3130
						end
3131
					end
3132
				end
3133
			end
3134
		end
3135
	end
3136
end
3137
3138
function CameraEnshaking(Length, Intensity)
3139
	coroutine.resume(coroutine.create(function()
3140
		local intensity = 1 * Intensity
3141
		local rotM = 0.01 * Intensity
3142
		for i = 0, Length, 0.1 do
3143
			Swait()
3144
			intensity = intensity - 0.05 * Intensity / Length
3145
			rotM = rotM - 5.0E-4 * Intensity / Length
3146
			Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
3147
			Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
3148
		end
3149
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
3150
	end))
3151
end
3152
3153
function KillChildren(v)
3154
	v:BreakJoints()
3155
	for _, c in pairs(v:GetChildren()) do
3156
		if c:IsA("BasePart") then
3157
			if c.Transparency < 1 then
3158
				if c:FindFirstChildOfClass("Decal") then
3159
					c:FindFirstChildOfClass("Decal"):remove()
3160
				end
3161
				particles(c)
3162
				c.PE.Enabled = true
3163
				c.Parent = Effects
3164
				c.CanCollide = false
3165
				c.Material = "Neon"
3166
				c.Color = C3(0/255,0/255,255/255)
3167
				c.Transparency = 1
3168
				local grav = Instance.new("BodyPosition",c)
3169
				grav.P = 20000
3170
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3171
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
3172
				grav.Name = "GravityForce"
3173
				coroutine.resume(coroutine.create(function()
3174
					for i = 1, 20 do
3175
						Swait()
3176
						c.Transparency = c.Transparency + 1/20
3177
					end
3178
					c.PE.Enabled = false
3179
					Debris:AddItem(c,2)
3180
				end))
3181
			end
3182
		end
3183
	end
3184
end
3185
3186
function ApplyAoE(POSITION,RANGE)
3187
	local CHILDREN = workspace:GetDescendants()
3188
	for index, CHILD in pairs(CHILDREN) do
3189
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3190
			local LISTED = false
3191
			for LIST = 1, #WHITELIST do
3192
				if WHITELIST[LIST] ~= nil then
3193
					if CHILD.Name == WHITELIST[LIST] then
3194
						LISTED = true
3195
					end
3196
				end
3197
			end
3198
			if LISTED == false then
3199
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3200
				if HUM then
3201
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3202
					if TORSO then
3203
						if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
3204
							KillChildren(CHILD)
3205
						end
3206
					end
3207
				end
3208
			end
3209
		end
3210
	end
3211
end
3212
3213
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
3214
	coroutine.resume(coroutine.create(function()
3215
		local METEOR = IT("Model",Effects)
3216
		METEOR.Name = "Meteorite"
3217
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
3218
		METEOR.PrimaryPart = CENTER
3219
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
3220
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
3221
		for i = 1, 15 do
3222
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Navy blue", "Fire", VT(5.1,1,5.1)*SIZE)
3223
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
3224
		end
3225
		if ISDEBREE ~= true then
3226
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
3227
		else
3228
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
3229
		end
3230
		local IMPACT = false
3231
		CreateSound(463593339, CENTER, 10, 0.6)
3232
		if SIZE >= 3.5 then
3233
			for i = 1, MRANDOM(3,7) do
3234
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
3235
			end
3236
		end
3237
		for i = 1, 200 do
3238
			Swait()
3239
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
3240
			if HITFLOOR == nil then
3241
				local ORI = CENTER.Orientation
3242
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
3243
			else
3244
				if HITFLOOR.Anchored == true then
3245
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
3246
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
3247
				end
3248
				IMPACT = true
3249
				break
3250
			end
3251
		end
3252
		if IMPACT == true then
3253
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
3254
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
3255
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
3256
			ApplyAoE(CENTER.Position,30*SIZE)
3257
		end
3258
		METEOR:remove()
3259
	end))
3260
end
3261
3262
function ApplyAoE4(POSITION,RANGE,BRUTAL)
3263
	local CHILDREN = workspace:GetDescendants()
3264
	for index, CHILD in pairs(CHILDREN) do
3265
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3266
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3267
			if HUM then
3268
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3269
				if TORSO then
3270
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3271
						if BRUTAL == true then
3272
							Kill(CHILD)
3273
						else
3274
							CHILD:BreakJoints()
3275
						end
3276
					end
3277
				end
3278
			end
3279
		end
3280
	end
3281
end
3282
3283
function Kill(Char)
3284
	local NewCharacter = IT("Model",Effects)
3285
	NewCharacter.Name = "Ow im ded ;-;"
3286
	for _, c in pairs(Char:GetDescendants()) do
3287
		if c:IsA("BasePart") and c.Transparency == 0 then
3288
			c:BreakJoints()
3289
			c.Material = "Glass"
3290
			c.Color = C3(0/255,0/255,255/255)
3291
			c.CanCollide = true
3292
			c.Transparency = 0.3
3293
			if c:FindFirstChildOfClass("SpecialMesh") then
3294
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
3295
			end
3296
			if c.Name == "Head" then
3297
				c:ClearAllChildren()
3298
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
3299
			end
3300
			if c.ClassName == "MeshPart" then
3301
				c.TextureID = ""
3302
			end
3303
			if c:FindFirstChildOfClass("BodyPosition") then
3304
				c:FindFirstChildOfClass("BodyPosition"):remove()
3305
			end
3306
			if c:FindFirstChildOfClass("ParticleEmitter") then
3307
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
3308
			end
3309
			c.Parent = NewCharacter
3310
			c.Name = "DeadPart"
3311
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
3312
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
3313
		end
3314
	end
3315
	Char:remove()
3316
	Debris:AddItem(NewCharacter,5)
3317
end
3318
3319
function ApplyAoE(POSITION,RANGE,BRUTAL)
3320
	local CHILDREN = workspace:GetDescendants()
3321
	for index, CHILD in pairs(CHILDREN) do
3322
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3323
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3324
			if HUM then
3325
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3326
				if TORSO then
3327
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3328
						if BRUTAL == true then
3329
							Kill(CHILD)
3330
						else
3331
							CHILD:BreakJoints()
3332
						end
3333
					end
3334
				end
3335
			end
3336
		end
3337
	end
3338
end
3339
3340
function ApplyAoE(POSITION,RANGE,BRUTAL)
3341
	local CHILDREN = workspace:GetDescendants()
3342
	for index, CHILD in pairs(CHILDREN) do
3343
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3344
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3345
			if HUM then
3346
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3347
				if TORSO then
3348
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3349
						if BRUTAL == true then
3350
							Kill(CHILD)
3351
						else
3352
							CHILD:BreakJoints()
3353
						end
3354
					end
3355
				end
3356
			end
3357
		end
3358
	end
3359
end
3360
3361
function Banish(Foe)
3362
	if Foe then
3363
		coroutine.resume(coroutine.create(function()
3364
			--if game.Players:FindFirstChild(Foe.Name) then
3365
				table.insert(TOBANISH,Foe.Name)
3366
				printbye(Foe.Name)
3367
			--end
3368
			Foe.Archivable = true
3369
			local CLONE = Foe:Clone()
3370
			Foe:Destroy()
3371
			CLONE.Parent = Effects
3372
			CLONE:BreakJoints()
3373
			local MATERIALS = {"Glass","Neon"}
3374
			for _, c in pairs(CLONE:GetDescendants()) do
3375
				if c:IsA("BasePart") then
3376
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
3377
 						CreateSound(138271815, c, 10, 1, false)
3378
					end
3379
					c.Anchored = true
3380
					c.Transparency = c.Transparency + 0.2
3381
					c.Material = MATERIALS[MRANDOM(1,2)]
3382
					c.Color = C3(0/255,0/255,255/255)
3383
					if c.ClassName == "MeshPart" then
3384
						c.TextureID = ""
3385
					end
3386
					if c:FindFirstChildOfClass("SpecialMesh") then
3387
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
3388
					end
3389
					if c:FindFirstChildOfClass("Decal") then
3390
						c:FindFirstChildOfClass("Decal"):remove()
3391
					end
3392
					c.Name = "Banished"
3393
					c.CanCollide = false
3394
				else
3395
					c:remove()
3396
				end
3397
			end
3398
			local A = false
3399
			for i = 1, 35 do
3400
				if A == false then
3401
					A = true
3402
				elseif A == true then
3403
					A = false
3404
				end
3405
				for _, c in pairs(CLONE:GetDescendants()) do
3406
					if c:IsA("BasePart") then
3407
						c.Anchored = true
3408
						c.Material = MATERIALS[MRANDOM(1,2)]
3409
						c.Transparency = c.Transparency + 0.8/35
3410
						if A == false then
3411
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
3412
						elseif A == true then
3413
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
3414
						end
3415
					end
3416
				end
3417
				Swait()
3418
			end
3419
			CLONE:remove()
3420
		end))
3421
	end
3422
end
3423
3424
3425
function ApplyAoE(POSITION,RANGE,ISBANISH)
3426
	local CHILDREN = workspace:GetDescendants()
3427
	for index, CHILD in pairs(CHILDREN) do
3428
		if CHILD.ClassName == "Model" and CHILD ~= Character then
3429
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3430
			if HUM then
3431
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3432
				if TORSO then
3433
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
3434
						if ISBANISH == true then
3435
							Banish(CHILD)
3436
						else
3437
							if ISBANISH == "Gravity" then
3438
								HUM.PlatformStand = true
3439
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3440
									local grav = Instance.new("BodyPosition",TORSO)
3441
									grav.D = 15
3442
									grav.P = 20000
3443
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3444
									grav.position = TORSO.Position
3445
									grav.Name = "V3BanishForce"..Player.Name
3446
								else
3447
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
3448
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
3449
								end
3450
							else
3451
								HUM.PlatformStand = false
3452
							end
3453
						end
3454
					elseif ISBANISH == "Gravity" then
3455
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
3456
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
3457
							HUM.PlatformStand = false
3458
						end
3459
					end
3460
				end
3461
			end
3462
		end
3463
	end
3464
end
3465
3466
function SpawnSmite(POS)
3467
	local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
3468
	local EMITPOS = HITPOS
3469
	if HITFLOOR ~= nil then
3470
		if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
3471
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
3472
			EMITPOS = HITPOS
3473
		elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
3474
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
3475
			EMITPOS = HITPOS
3476
		end
3477
	end
3478
	if HITFLOOR ~= nil then
3479
		ApplyAoE(EMITPOS,10)
3480
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
3481
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3482
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3483
		for i = 1, 5 do
3484
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
3485
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
3486
		end
3487
	end
3488
end
3489
3490
--//=================================\\
3491
--||	ATTACK FUNCTIONS AND STUFF
3492
--\\=================================//
3493
3494
function eh()
3495
	ATTACK = true
3496
	Rooted = false
3497
	Speed = 20
3498
		Swait()
3499
		local CHILDREN = workspace:GetDescendants()
3500
		for index, CHILD in pairs(CHILDREN) do
3501
			if CHILD.ClassName == "Model" and CHILD ~= Character then
3502
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3503
				if HUM then
3504
					local TORSO = CHILD:FindFirstChild("Head")
3505
					if TORSO then
3506
						if (TORSO.Position - Head.Position).Magnitude <= 25 then
3507
							WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3508
							TORSO:remove()
3509
							if CHILD:FindFirstChild("Torso") then
3510
								Ragdoll(CHILD,Torso,true)
3511
							elseif CHILD:FindFirstChild("UpperTorso") then
3512
								R15Ragdoll(CHILD,true)
3513
							end
3514
						end
3515
					end
3516
				end
3517
			end
3518
		end
3519
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3520
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
3521
	for i=0, 0.3, 0.1 / Animation_Speed do
3522
		Swait()
3523
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)	
3524
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3525
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
3526
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
3527
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3528
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3529
end
3530
	Speed = 20
3531
	ATTACK = false
3532
	Rooted = false
3533
end
3534
3535
function Taunt()
3536
	ATTACK = true
3537
	Rooted = true
3538
	        CreateSound("1238240145", Torso, 6, 0.9)
3539
		for i=0, 0.6, 0.1 / Animation_Speed do
3540
			Swait()
3541
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3542
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3543
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3544
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3545
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3546
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3547
		end
3548
		for i=0, 0.6, 0.1 / Animation_Speed do
3549
			Swait()
3550
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3551
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3552
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3553
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3554
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3555
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3556
		end
3557
		for i=0, 0.6, 0.1 / Animation_Speed do
3558
			Swait()
3559
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3560
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3561
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3562
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3563
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3564
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3565
		end
3566
		for i=0, 0.6, 0.1 / Animation_Speed do
3567
			Swait()
3568
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3569
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3570
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3571
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3572
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3573
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3574
		end
3575
		for i=0, 0.6, 0.1 / Animation_Speed do
3576
			Swait()
3577
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3578
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3579
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3580
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3581
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3582
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3583
		end
3584
		for i=0, 0.6, 0.1 / Animation_Speed do
3585
			Swait()
3586
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3587
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3588
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3589
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3590
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3591
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3592
		end
3593
	ATTACK = false
3594
	Rooted = false
3595
end
3596
3597
function TakeOnMe()
3598
	Speed = 16
3599
	local MEME = CreateSound(1171341451, Effects, 2, 1, false)
3600
	ATTACK = true
3601
	Rooted = false
3602
	local DANCE = true
3603
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
3604
		if NEWKEY == "p" then
3605
			DANCE = false
3606
		end
3607
	end)
3608
	PLAYSONG = false
3609
	while true do
3610
		for i = 1, 15 do
3611
			Swait()
3612
			MEME.Parent = Effects
3613
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3614
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3615
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3616
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3617
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3618
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3619
		end
3620
		if DANCE == false then
3621
			break
3622
		end
3623
		for i = 1, 15 do
3624
			Swait()
3625
			MEME.Parent = Effects
3626
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3627
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
3628
			if MRANDOM(1,7) == 1 then
3629
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3630
			end			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3631
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3632
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3633
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3634
		end
3635
	end
3636
	PLAYSONG = true
3637
	KEY:Disconnect()
3638
	MEME:remove()
3639
	Speed = 25
3640
	ATTACK = false
3641
	Rooted = false
3642
end
3643
3644
function Intro()
3645
	ATTACK = true
3646
	Rooted = true
3647
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3648
	local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(0),RAD(0))*CF(0,1,0).p
3649
	BigBlack("GoodBye Script Showcaser!!!",MAINRUINCOLOR.Color,3)
3650
	for i=0, 6, 0.1 / Animation_Speed do
3651
		Swait()
3652
			WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3653
			WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3654
			rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3655
			rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5  - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3656
			rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3657
			lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3658
			lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3659
			lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3660
			handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
3661
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 5 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3662
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3663
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
3664
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
3665
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3666
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)				
3667
	end
3668
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3669
	WACKYEFFECT({EffectType = "Block", Size = VT(8,8,8), Size2 = VT(17,17,17), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3670
	CreateSound(1208650519, Torso, 2, 0.8)
3671
	CreateSound(333446256, Character, 10, 1)
3672
	BigBlack("hahahahaha...",MAINRUINCOLOR.Color,6)
3673
	for i=0, 17, 0.1 / Animation_Speed do
3674
		Swait()
3675
			WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3676
			WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3677
			rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3678
			rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5  - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3679
			rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3680
			lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3681
			lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3682
			lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3683
			handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
3684
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3685
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3686
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
3687
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
3688
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3689
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)				
3690
	end
3691
    WACKYEFFECT({Time = 50 ,EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})	
3692
    WACKYEFFECT({Time = 150 ,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(90,90,90), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.CFrame.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3693
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3694
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3695
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3696
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3697
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3698
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3699
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3700
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3701
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3702
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3703
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3704
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3705
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3706
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3707
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3708
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3709
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3710
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3711
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3712
    WACKYEFFECT({Time = 50 ,EffectType = "Box", Size = VT(0,0,0), Size2 = VT(5,150,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3713
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3714
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3715
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3716
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3717
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3718
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3719
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3720
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3721
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3722
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3723
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3724
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3725
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3726
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3727
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3728
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3729
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3730
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3731
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3732
    WACKYEFFECT({Time = 75 ,EffectType = "Crystal", Size = VT(0,0,0), Size2 = VT(5,100,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3733
	CreateSound(1841058541,Character,3,1,false)
3734
	for i=0, 0.7, 0.1 / Animation_Speed do
3735
		Swait()
3736
			rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3737
			rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5  - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3738
			rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3739
			lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
3740
			lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
3741
			lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
3742
			handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
3743
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
3744
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3745
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
3746
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3747
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
3748
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)				
3749
	end
3750
	Head.Color = C3(0/255,0/255,255/255)
3751
	Torso.Color = C3(0/255,0/255,255/255)
3752
	LeftArm.Color = C3(0/255,0/255,255/255)
3753
	LeftLeg.Color = C3(0/255,0/255,255/255)
3754
	RightArm.Color = C3(0/255,0/255,255/255)
3755
	RightLeg.Color = C3(0/255,0/255,255/255)
3756
	EXE.ShirtTemplate = "rbxassetid://692429048"
3757
	LOL.PantsTemplate = "rbxassetid://692430604"
3758
	Gun.Parent = Character
3759
	tecks2.TextTransparency = 0
3760
	for i = 1, 100 do
3761
		Swait()
3762
		for _, c in pairs(Character:GetChildren()) do
3763
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
3764
				c.Transparency = 0
3765
			end
3766
		end
3767
		for _, c in pairs(Weapon:GetChildren()) do
3768
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
3769
				c.Transparency = 0
3770
			end
3771
		end
3772
	end
3773
	TRANSFORMED = true
3774
	ATTACK = false
3775
	Rooted = false
3776
end
3777
3778
function Shot()
3779
	ATTACK = true
3780
	Rooted = false
3781
	for i=0, 0.2, 0.05 / Animation_Speed do
3782
		Swait()
3783
		turnto(Mouse.Hit.p)
3784
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3785
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3786
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3787
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3788
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3789
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3790
	end
3791
	repeat
3792
		for i=0, 0.2, 0.05 / Animation_Speed do
3793
			Swait()
3794
			turnto(Mouse.Hit.p)
3795
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3796
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3797
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3798
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3799
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3800
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3801
		end
3802
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
3803
		SpawnTrail(Hole.Position,POS)
3804
		if HIT ~= nil then
3805
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3806
				Banish(HIT.Parent)
3807
			end
3808
		end
3809
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3810
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3811
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3812
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3813
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3814
		for i=0, 0.2, 0.05 / Animation_Speed do
3815
			Swait()
3816
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3817
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
3818
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3819
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3820
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3821
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3822
		end
3823
	until KEYHOLD == false
3824
	ATTACK = false
3825
	Rooted = false
3826
end
3827
3828
function Shot2()
3829
	ATTACK = true
3830
	Rooted = false
3831
	for i=0, 0.2, 0.05 / Animation_Speed do
3832
		Swait()
3833
		turnto(Mouse.Hit.p)
3834
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3835
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3836
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3837
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3838
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3839
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3840
	end
3841
	repeat
3842
		for i=0, 0.2, 0.05 / Animation_Speed do
3843
			Swait()
3844
			turnto(Mouse.Hit.p)
3845
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3846
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3847
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3848
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3849
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3850
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3851
		end
3852
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
3853
		SpawnTrail(Hole.Position,POS)
3854
		if HIT ~= nil then
3855
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3856
				Kill(HIT.Parent)
3857
			end
3858
		end
3859
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3860
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3861
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3862
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3863
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3864
		for i=0, 0.2, 0.05 / Animation_Speed do
3865
			Swait()
3866
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3867
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
3868
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3869
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3870
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3871
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3872
		end
3873
	until KEYHOLD == false
3874
	ATTACK = false
3875
	Rooted = false
3876
end
3877
3878
function AttackTemplate()
3879
	ATTACK = true
3880
	Rooted = false
3881
	for i=0, 1, 0.1 / Animation_Speed do
3882
		Swait()
3883
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3884
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3885
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3886
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3887
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3888
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3889
	end
3890
	ATTACK = false
3891
	Rooted = false
3892
end
3893
3894
function Finisher()
3895
	local TARGET = Mouse.Target
3896
	if TARGET ~= nil then
3897
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
3898
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
3899
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
3900
			if ROOT and HUM.Health > 0 then
3901
				local FOE = Mouse.Target.Parent
3902
				ATTACK = true
3903
				Rooted = true
3904
				RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
3905
				ROOT.Anchored = true
3906
				CreateSound(670796769, Torso, 9999, 0.6, false)
3907
				CreateSound(159882598, Torso, 5, 0.9, false)
3908
				for i=0, 0.4, 0.1 / Animation_Speed do
3909
					Swait()
3910
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3911
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3912
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3913
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3914
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3915
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3916
				end
3917
				HUM.PlatformStand = true
3918
				ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
3919
				coroutine.resume(coroutine.create(function()
3920
					Swait()
3921
					ROOT.Anchored = true
3922
				end))
3923
				RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
3924
				for i=0, 0.2, 0.1 / Animation_Speed do
3925
					Swait()
3926
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
3927
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
3928
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3929
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3930
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3931
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3932
				end
3933
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3934
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3935
				for i=0, 0.2, 0.1 / Animation_Speed do
3936
					Swait()
3937
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
3938
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
3939
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3940
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3941
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3942
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3943
				end
3944
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3945
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3946
				local AMMO = 6
3947
				local FIRING = true
3948
				local SHOOTING = false
3949
				local TIMER = 70
3950
				CreateSound(147722227, GunPoint, 6, 1.3, false)
3951
				for i=0, 0.2, 0.1 / Animation_Speed do
3952
					Swait()
3953
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
3954
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
3955
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3956
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3957
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3958
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3959
				end
3960
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3961
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3962
				for i = 1, 6 do
3963
					local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
3964
					local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
3965
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3966
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3967
					HUM.Health = HUM.Health/1.5
3968
					for i=0, 0.2, 0.1 / Animation_Speed do
3969
						Swait()
3970
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
3971
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
3972
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3973
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3974
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3975
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3976
				end
3977
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3978
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3979
					for i=0, 0.2, 0.1 / Animation_Speed do
3980
						Swait()
3981
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
3982
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
3983
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3984
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3985
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3986
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
3987
					end
3988
				end
3989
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3990
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0/255,0/255,255/255), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3991
				ApplyDamage(HUM,0,true)
3992
				FOE:BreakJoints()
3993
				ROOT.Anchored = false
3994
				for i=0, 0.3, 0.1 / Animation_Speed do
3995
					Swait()
3996
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3997
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
3998
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3999
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4000
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4001
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4002
				end
4003
				ATTACK = false
4004
				Rooted = false
4005
			end
4006
		end
4007
	end
4008
end
4009
4010
--//=================================\\
4011
--||	  ASSIGN THINGS TO KEYS
4012
--\\=================================//
4013
4014
function MouseDown(Mouse)
4015
	if ATTACK == false then
4016
	end
4017
end
4018
4019
function MouseUp(Mouse)
4020
HOLD = false
4021
end
4022
4023
function KeyDown(Key)
4024
	KEYHOLD = true
4025
	if Key == "z" and ATTACK == false then
4026
		Shot()
4027
	end
4028
4029
	if Key == "v" and ATTACK == false then
4030
		Shot2()
4031
	end
4032
4033
	if Key == "x" and ATTACK == false then
4034
                Finisher()
4035
	end
4036
4037
	if Key == "t" and ATTACK == false then
4038
               Taunt()
4039
	end
4040
4041
	if Key == "c" and ATTACK == false then
4042
                eh()
4043
	end
4044
end
4045
4046
local OVMID = 561833161
4047
local OVMPIT = 1
4048
local OVMVOL = 1
4049
plr.Chatted:connect(function(message)
4050
if ATTACK == false then
4051
if message:sub(1,5) == "play/" then
4052
OVMID = message:sub(6)
4053
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4054
elseif message:sub(1,6) == "pitch/" then
4055
OVMPIT = message:sub(7)
4056
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4057
elseif message:sub(1,4) == "vol/" then
4058
OVMVOL = message:sub(5)
4059
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
4060
elseif message:sub(1,7) == "sr/" then
4061
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4062
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
4063
elseif message:sub(1,9) == "te/" then
4064
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
4065
end
4066
end
4067
end)
4068
4069
function KeyUp(Key)
4070
	KEYHOLD = false
4071
end
4072
4073
	Mouse.Button1Down:connect(function(NEWKEY)
4074
		MouseDown(NEWKEY)
4075
	end)
4076
	Mouse.Button1Up:connect(function(NEWKEY)
4077
		MouseUp(NEWKEY)
4078
	end)
4079
	Mouse.KeyDown:connect(function(NEWKEY)
4080
		KeyDown(NEWKEY)
4081
	end)
4082
	Mouse.KeyUp:connect(function(NEWKEY)
4083
		KeyUp(NEWKEY)
4084
	end)
4085
4086
--//=================================\\
4087
--\\=================================//
4088
4089
4090
function unanchor()
4091
	if UNANCHOR == true then
4092
		g = Character:GetChildren()
4093
		for i = 1, #g do
4094
			if g[i].ClassName == "Part" then
4095
				g[i].Anchored = false
4096
			end
4097
		end
4098
	end
4099
end
4100
4101
4102
--//=================================\\
4103
--||	WRAP THE WHOLE SCRIPT UP
4104
--\\=================================//
4105
4106
Humanoid.Changed:connect(function(Jump)
4107
	if Jump == "Jump" and (Disable_Jump == true) then
4108
		Humanoid.Jump = false
4109
	end
4110
end)
4111
4112
local FF = IT("ForceField",Character)
4113
FF.Visible = false
4114
INSTANT = false
4115
Speed = 20
4116
4117
while true do
4118
	Swait()
4119
	SINE = SINE + CHANGE
4120
		ANIMATE.Parent = nil
4121
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
4122
		IDLEANIMATION:Play()
4123
		if TRANSFORMED == true then
4124
			tecks2.TextTransparency = 0
4125
			for _, c in pairs(Character:GetChildren()) do
4126
				if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
4127
					c.Anchored = false
4128
					c.Transparency = 0
4129
				end
4130
			end
4131
			for _, c in pairs(Weapon:GetChildren()) do
4132
				if c.ClassName == "Part" then
4133
					c.Transparency = 0
4134
				end
4135
			end
4136
			local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
4137
			local TORSOVERTICALVELOCITY = RootPart.Velocity.y
4138
			local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
4139
			local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
4140
			local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
4141
			rwing1weld.C1 = Clerp(rwing1weld.C1, CF(-2.5, -1, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 15) - 1.75 * COS(SINE / 15)), RAD(-1 - 8 * SIN(SINE / 15))), 3 / Animation_Speed)
4142
			rwing2weld.C1 = Clerp(rwing2weld.C1, CF(-4, -1.25, 0) * ANGLES(RAD(0), RAD(0 + 1 * SIN(SINE / 15) - 2 * COS(SINE / 15)), RAD(-5  - 6 * SIN(SINE / 15))), 3 / Animation_Speed)
4143
			rwing3weld.C1 = Clerp(rwing3weld.C1, CF(-5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 + 1.25 * SIN(SINE / 15) - 2.25 * COS(SINE / 15)), RAD(-10 - 4 * SIN(SINE / 15))), 3 / Animation_Speed)
4144
			lwing1weld.C1 = Clerp(lwing1weld.C1, CF(2.5, -1, 0) * ANGLES(RAD(0), RAD(0 - 0.75 * SIN(SINE / 15) + 1.75 * COS(SINE / 15)), RAD(-1 + 8 * SIN(SINE / 15))), 3 / Animation_Speed)
4145
			lwing2weld.C1 = Clerp(lwing2weld.C1, CF(4, -1.25, 0) * ANGLES(RAD(0), RAD(0 - 1 * SIN(SINE / 15) + 2 * COS(SINE / 15)), RAD(5 + 6 * SIN(SINE / 15))), 3 / Animation_Speed)
4146
			lwing3weld.C1 = Clerp(lwing3weld.C1, CF(5.5, -1.5, 0) * ANGLES(RAD(0), RAD(0 - 1.25 * SIN(SINE / 15) + 2.25 * COS(SINE / 15)), RAD(10 + 4 * SIN(SINE / 15))), 3 / Animation_Speed)
4147
			handleweld.C1 = Clerp(handleweld.C1, CF(0, -1, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
4148
			if ATTACK == false and VALUE2 == false then
4149
                            end
4150
			if ANIM == "Walk" and TORSOVELOCITY > 1 then
4151
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4152
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4153
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4154
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4155
			elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
4156
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4157
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4158
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4159
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4160
			end
4161
			if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
4162
				ANIM = "Jump"
4163
				if ATTACK == false then
4164
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4165
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4166
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4167
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4168
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
4169
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4170
			       end
4171
			elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
4172
				ANIM = "Fall"
4173
				if ATTACK == false then
4174
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4175
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4176
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4177
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4178
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4179
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4180
				end
4181
			elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
4182
				ANIM = "Idle"
4183
				if ATTACK == false then
4184
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
4185
			if MRANDOM(1,7) == 1 then
4186
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
4187
			end		
4188
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
4189
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
4190
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
4191
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
4192
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
4193
				end
4194
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
4195
				ANIM = "Walk"
4196
				if ATTACK == false then
4197
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4198
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
4199
			if MRANDOM(1,7) == 1 then
4200
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
4201
			end
4202
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4203
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
4204
					RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
4205
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
4206
				end
4207
			end
4208
		end
4209
	--end
4210
	Humanoid.DisplayDistanceType = "None"
4211
	unanchor()
4212
	Humanoid.MaxHealth = "inf"
4213
	Humanoid.Health = "inf"
4214
	if Rooted == false then
4215
		Disable_Jump = false
4216
		Humanoid.WalkSpeed = Speed
4217
	elseif Rooted == true then
4218
		Disable_Jump = true
4219
		Humanoid.WalkSpeed = 0
4220
	end
4221
	if Head:FindFirstChild("face") then
4222
		Head.face.Texture = "rbxassetid://403870689"
4223
	end
4224
	for _, c in pairs(Character:GetChildren()) do
4225
		if (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
4226
			c:remove()
4227
		end
4228
			if c:FindFirstChildOfClass("ParticleEmitter") then
4229
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
4230
			end
4231
	end
4232
	local MATHS = {"0","1"}
4233
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
4234
	Humanoid.PlatformStand = false
4235
	if INTRO == false and INSTANT == false then
4236
		INTRO = true
4237
		coroutine.resume(coroutine.create(function()
4238
			sick:Play()
4239
			Intro()
4240
		end))
4241
	end
4242
	if INSTANT == true then
4243
		if TRANSFORMED == false then
4244
			sick.TimePosition = 60
4245
			sick:Play()
4246
		end
4247
		TRANSFORMED = true
4248
	end
4249
	script.Parent = PlayerGui
4250
	Character.Parent = workspace
4251
	Humanoid.Parent = Character
4252
end
4253
--//=================================\\
4254
--\\=================================//
4255
4256
4257
4258
4259
4260
--//====================================================\\--
4261
--||			  		 END OF SCRIPT
4262
--\\====================================================//--