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