View difference between Paste ID: Ghmbe060 and 85LFZMJX
SHOW: | | - or go back to the newest paste.
1-
local Player = game:GetService("Players").myrealuseristhat
1+
local Player = game:GetService("Players").silver22352
2
local Mouse,mouse,UserInputService,ContextActionService
3
do
4
	script.Parent = Player.Character
5
	local CAS = {Actions={}}
6
	local Event = Instance.new("RemoteEvent")
7
	Event.Name = "UserInput_Event"
8
	Event.Parent = Player.Character
9
	local fakeEvent = function()
10
		local t = {_fakeEvent=true}
11
		t.Connect = function(self,f)self.Function=f end
12
		t.connect = t.Connect
13
		return t
14
	end
15
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
16
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
17
	function CAS:BindAction(name,fun,touch,...)
18
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
19
	end
20
	function CAS:UnbindAction(name)
21
		CAS.Actions[name] = nil
22
	end
23
	local function te(self,ev,...)
24
		local t = m[ev]
25
		if t and t._fakeEvent and t.Function then
26
			t.Function(...)
27
		end
28
	end
29
	m.TrigEvent = te
30
	UIS.TrigEvent = te
31
	Event.OnServerEvent:Connect(function(plr,io)
32
	    if plr~=Player then return end
33
		if io.isMouse then
34
			m.Target = io.Target
35
			m.Hit = io.Hit
36
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
37
	        if io.UserInputState == Enum.UserInputState.Begin then
38
				m:TrigEvent("Button1Down")
39
			else
40
				m:TrigEvent("Button1Up")
41
			end
42
		else
43
			for n,t in pairs(CAS.Actions) do
44
				for _,k in pairs(t.Keys) do
45
					if k==io.KeyCode then
46
						t.Function(t.Name,io.UserInputState,io)
47
					end
48
				end
49
			end
50
	        if io.UserInputState == Enum.UserInputState.Begin then
51
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
52
				UIS:TrigEvent("InputBegan",io,false)
53
			else
54
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
55
				UIS:TrigEvent("InputEnded",io,false)
56
	        end
57
	    end
58
	end)
59
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
60
	end
61
62
print("A well awaited Remake Of Void Shooter By ihatemyson9713 and myrealuseristhat")
63
warn("A Strange Presence Overwhelms you")
64
script:ClearAllChildren()
65
wait(0.2)
66
67-
plr = game:GetService("Players").myrealuseristhat
67+
plr = game:GetService("Players").silver22352
68
char = plr.Character
69
hum = char.Humanoid
70
local cam = game.Workspace.CurrentCamera
71
Camera = cam
72
local CamInterrupt = false
73
local TwoD = false
74
local TargetInfo = {nil, nil}
75
cam.CameraType = "Custom"
76
t = char.Torso
77
h = char.Head
78
ra = char["Right Arm"]
79
la = char["Left Arm"]
80
rl = char["Right Leg"]
81
ll = char["Left Leg"]
82
tors = char.Torso
83
lleg = char["Left Leg"]
84
root = char.HumanoidRootPart
85
hed = char.Head
86
rleg = char["Right Leg"]
87
rarm = char["Right Arm"]
88
larm = char["Left Arm"]
89
radian = math.rad
90
random = math.random
91
Vec3 = Vector3.new
92
Inst = Instance.new
93
cFrame = CFrame.new
94
Euler = CFrame.fromEulerAnglesXYZ
95
vt = Vector3.new
96
bc = BrickColor.new
97
br = BrickColor.random
98
it = Instance.new
99
cf = CFrame.new
100
101
New = function(Object, Parent, Name, Data)
102
	local Object = Instance.new(Object)
103
	for Index, Value in pairs(Data or {}) do
104
		Object[Index] = Value
105
	end
106
	Object.Parent = Parent
107
	Object.Name = Name
108
	return Object
109
end
110
local halocolor = BrickColor.new("Magenta") --Here the Gloves color
111
local halocolor2 = BrickColor.new("Royal purple") --Here the Gloves color
112
local starcolor = BrickColor.new("Royal purple") --Here the Gloves color
113
local lunacolor = BrickColor.new("Magenta") --Here the Gloves color
114
local lunacolor2 = BrickColor.new("Magenta") --Here the Gloves color
115
local wepcolor = BrickColor.new("Really black") --Here the Gloves color
116
local maincolor = BrickColor.new("Really black") --Here the Gloves color
117
local m = Instance.new("Model",char)
118
local m2 = Instance.new("Model",char)
119
local m3 = Instance.new("Model",char)
120
local mw1 = Instance.new("Model",char)
121
local mw2 = Instance.new("Model",char)
122
123
local extrawingmod1 = Instance.new("Model",char)
124
local extrawingmod2 = Instance.new("Model",char)
125
126
function CreateParta(parent,transparency,reflectance,material,brickcolor)
127
local p = Instance.new("Part")
128
p.TopSurface = 0
129
p.BottomSurface = 0
130
p.Parent = parent
131
p.Size = Vector3.new(0.1,0.1,0.1)
132
p.Transparency = transparency
133
p.Reflectance = reflectance
134
p.CanCollide = false
135
p.Locked = true
136
p.BrickColor = brickcolor
137
p.Material = material
138
return p
139
end
140
141
function CreateMesh(parent,meshtype,x1,y1,z1)
142
local mesh = Instance.new("SpecialMesh",parent)
143
mesh.MeshType = meshtype
144
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
145
return mesh
146
end
147
148
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
149
local mesh = Instance.new("SpecialMesh",parent)
150
mesh.MeshType = "FileMesh"
151
mesh.MeshId = meshid
152
mesh.Scale = Vector3.new(x1,y1,z1)
153
return mesh
154
end
155
156
157
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
158
local mesh = Instance.new("SpecialMesh",parent)
159
mesh.MeshType = "FileMesh"
160
mesh.MeshId = meshid
161
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
162
mesh.Scale = Vector3.new(x1,y1,z1)
163
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
164
return mesh
165
end
166
167
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
168
local weld = Instance.new("Weld")
169
weld.Parent = parent
170
weld.Part0 = part0
171
weld.Part1 = part1
172
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
173
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
174
return weld
175
end
176
177
178
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
179
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
180
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))
181
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
182
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
183
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))
184
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
185
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
186
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))
187
188
189
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
190
CreateMesh(gan,"Brick",1.075,0.1,1.075)
191
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))
192
193
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
194
CreateMesh(gan,"Brick",1.075,0.1,1.075)
195
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))
196
197
198
199
gan = CreateParta(m2,0,0,"Neon",halocolor2)
200
CreateMesh(gan,"Brick",1.095,0.035,1.095)
201
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))
202
203
gan = CreateParta(m2,0,0,"Neon",halocolor2)
204
CreateMesh(gan,"Brick",1.095,0.035,1.095)
205
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))
206
207
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
208
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
209
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))
210
211
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
212
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
213
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))
214
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
215
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
216
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))
217
218
--- second ring
219
220
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
221
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
222
CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
223
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
224
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
225
CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
226
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
227
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
228
CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
229
230
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
231
CreateMesh(gan,"Brick",1.075,0.1,1.075)
232
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))
233
234
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
235
CreateMesh(gan,"Brick",1.075,0.1,1.075)
236
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))
237
238
239
240
gan = CreateParta(m2,0,0,"Neon",halocolor2)
241
CreateMesh(gan,"Brick",1.095,0.035,1.095)
242
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))
243
244
gan = CreateParta(m2,0,0,"Neon",halocolor2)
245
CreateMesh(gan,"Brick",1.095,0.035,1.095)
246
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))
247
248
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
249
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
250
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))
251
252
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
253
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
254
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))
255
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
256
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
257
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))
258
259-
Player = game:GetService("Players").myrealuseristhat
259+
Player = game:GetService("Players").silver22352
260
PlayerGui = Player.PlayerGui
261
Cam = workspace.CurrentCamera
262
Backpack = Player.Backpack
263
Character = Player.Character
264
Humanoid = Character.Humanoid
265
RootPart = Character["HumanoidRootPart"]
266
Torso = Character["Torso"]
267
Head = Character["Head"]
268
RightArm = Character["Right Arm"]
269
LeftArm = Character["Left Arm"]
270
RightLeg = Character["Right Leg"]
271
LeftLeg = Character["Left Leg"]
272
RootJoint = RootPart["RootJoint"]
273
Neck = Torso["Neck"]
274
RightShoulder = Torso["Right Shoulder"]
275
LeftShoulder = Torso["Left Shoulder"]
276
RightHip = Torso["Right Hip"]
277
LeftHip = Torso["Left Hip"]
278
local TIME = 0
279
local sick = Instance.new("Sound",Torso)
280
281
IT = Instance.new
282
CF = CFrame.new
283
VT = Vector3.new
284
RAD = math.rad
285
C3 = Color3.new
286
UD2 = UDim2.new
287
BRICKC = BrickColor.new
288
ANGLES = CFrame.Angles
289
EULER = CFrame.fromEulerAnglesXYZ
290
COS = math.cos
291
ACOS = math.acos
292
SIN = math.sin
293
ASIN = math.asin
294
ABS = math.abs
295
MRANDOM = math.random
296
FLOOR = math.floor
297
298
--//=================================\\
299
--|| 	      USEFUL VALUES
300
--\\=================================//
301
302
Animation_Speed = 3
303
local FORCERESET = false
304
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
305
local Speed = 16
306
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
307
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
308
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
309
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
310
local DAMAGEMULTIPLIER = 1
311
local ANIM = "Idle"
312
local ATTACK = false
313
local EQUIPPED = false
314
local HOLD = false
315
local COMBO = 1
316
local Rooted = false
317
local SINE = 0
318
local KEYHOLD = false
319
local CHANGE = 2 / Animation_Speed
320
local WALKINGANIM = false
321
local VALUE1 = false
322
local VALUE2 = false
323
local ROBLOXIDLEANIMATION = IT("Animation")
324
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
325
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
326
--ROBLOXIDLEANIMATION.Parent = Humanoid
327
local WEAPONGUI = IT("ScreenGui", PlayerGui)
328
WEAPONGUI.Name = "BanishV3Gui"
329
local Weapon = IT("Model")
330
Weapon.Name = "Adds"
331
local Effects = IT("Folder", Weapon)
332
Effects.Name = "Effects"
333
local ANIMATOR = Humanoid.Animator
334
local ANIMATE = Character:FindFirstChild("Animate")
335
local UNANCHOR = true
336
local TOBANISH = {}
337
script.Parent = PlayerGui
338
339
--//=================================\\
340
--\\=================================//
341
342
local s = Instance.new("Sound",char)
343
	s.Name = "BGMusic"
344
	s.SoundId = "rbxassetid://1241592221"
345
	s.Pitch = 0.8
346
	s.Volume = 40
347
	s.Looped = true
348
	s.archivable = false
349
	s.Parent = char.Head
350
	wait(0.1)
351
	s:play()
352
353
--//=================================\\
354
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
355
--\\=================================//
356
357
ArtificialHB = Instance.new("BindableEvent", script)
358
ArtificialHB.Name = "ArtificialHB"
359
360
script:WaitForChild("ArtificialHB")
361
362
frame = Frame_Speed
363
tf = 0
364
allowframeloss = false
365
tossremainder = false
366
lastframe = tick()
367
script.ArtificialHB:Fire()
368
369
game:GetService("RunService").Heartbeat:connect(function(s, p)
370
	tf = tf + s
371
	if tf >= frame then
372
		if allowframeloss then
373
			script.ArtificialHB:Fire()
374
			lastframe = tick()
375
		else
376
			for i = 1, math.floor(tf / frame) do
377
				script.ArtificialHB:Fire()
378
			end
379
		lastframe = tick()
380
		end
381
		if tossremainder then
382
			tf = 0
383
		else
384
			tf = tf - frame * math.floor(tf / frame)
385
		end
386
	end
387
end)
388
389
--//=================================\\
390
--\\=================================//
391
392
--//=================================\\
393
--|| 	      SOME FUNCTIONS
394
--\\=================================//
395
396
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
397
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
398
end
399
400
function PositiveAngle(NUMBER)
401
	if NUMBER >= 0 then
402
		NUMBER = 0
403
	end
404
	return NUMBER
405
end
406
407
function NegativeAngle(NUMBER)
408
	if NUMBER <= 0 then
409
		NUMBER = 0
410
	end
411
	return NUMBER
412
end
413
414
function Swait(NUMBER)
415
	if NUMBER == 0 or NUMBER == nil then
416
		ArtificialHB.Event:wait()
417
	else
418
		for i = 1, NUMBER do
419
			ArtificialHB.Event:wait()
420
		end
421
	end
422
end
423
424
function swait(num)
425
	if num == 0 or num == nil then
426
		ArtificialHB.Event:wait()
427
	else
428
		for i = 0, num do
429
			ArtificialHB.Event:wait()
430
		end
431
	end
432
end
433
434
function chatfunc(text)
435
	local chat = coroutine.wrap(function()
436
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
437
		Character:FindFirstChild("TalkingBillBoard"):destroy()
438
	end
439
	local Bill = Instance.new("BillboardGui",Character)
440
	Bill.Size = UDim2.new(0,100,0,40)
441
	Bill.StudsOffset = Vector3.new(0,3,0)
442
	Bill.Adornee = Character.Head
443
	Bill.Name = "TalkingBillBoard"
444
	local Hehe = Instance.new("TextLabel",Bill)
445
	Hehe.BackgroundTransparency = 1
446
	Hehe.BorderSizePixel = 0
447
	Hehe.Text = ""
448
	Hehe.Font = "Garamond"
449
	Hehe.TextSize = 40
450
	Hehe.TextStrokeTransparency = 0
451
	Hehe.Size = UDim2.new(1,0,0.5,0)
452
	coroutine.resume(coroutine.create(function()
453
		while Hehe ~= nil do
454
			swait()	
455
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
456
			Hehe.Rotation = math.random(-5,5)
457
			Hehe.TextColor3 = Color3.new(255,0,255)
458
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
459
		end
460
	end))
461
	for i = 1,string.len(text),1 do
462
		swait()
463
		Hehe.Text = string.sub(text,1,i)
464
	end
465
	swait(90)--Re[math.random(1, 93)]
466
	for i = 0, 1, .025 do
467
		swait()
468
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
469
		Hehe.TextStrokeTransparency = i
470
		Hehe.TextTransparency = i
471
	end
472
	Bill:Destroy()
473
	end)
474
chat()
475
end
476
477
function onChatted(msg)
478
	chatfunc(msg)
479
end
480
481
Player.Chatted:connect(onChatted)
482
483
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
484
	local NEWMESH = IT(MESH)
485
	if MESH == "SpecialMesh" then
486
		NEWMESH.MeshType = MESHTYPE
487
		if MESHID ~= "nil" and MESHID ~= "" then
488
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
489
		end
490
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
491
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
492
		end
493
	end
494
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
495
	NEWMESH.Scale = SCALE
496
	NEWMESH.Parent = PARENT
497
	return NEWMESH
498
end
499
500
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
501
	local NEWPART = IT("Part")
502
	NEWPART.formFactor = FORMFACTOR
503
	NEWPART.Reflectance = REFLECTANCE
504
	NEWPART.Transparency = TRANSPARENCY
505
	NEWPART.CanCollide = false
506
	NEWPART.Locked = true
507
	NEWPART.Anchored = true
508
	if ANCHOR == false then
509
		NEWPART.Anchored = false
510
	end
511
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
512
	NEWPART.Name = NAME
513
	NEWPART.Size = SIZE
514
	NEWPART.Position = Torso.Position
515
	NEWPART.Material = MATERIAL
516
	NEWPART:BreakJoints()
517
	NEWPART.Parent = PARENT
518
	return NEWPART
519
end
520
521
	local function weldBetween(a, b)
522
	    local weldd = Instance.new("ManualWeld")
523
	    weldd.Part0 = a
524
	    weldd.Part1 = b
525
	    weldd.C0 = CFrame.new()
526
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
527
	    weldd.Parent = a
528
	    return weldd
529
	end
530
531
532
function QuaternionFromCFrame(cf)
533
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
534
	local trace = m00 + m11 + m22
535
	if trace > 0 then 
536
		local s = math.sqrt(1 + trace)
537
		local recip = 0.5 / s
538
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
539
	else
540
		local i = 0
541
		if m11 > m00 then
542
			i = 1
543
		end
544
		if m22 > (i == 0 and m00 or m11) then
545
			i = 2
546
		end
547
		if i == 0 then
548
			local s = math.sqrt(m00 - m11 - m22 + 1)
549
			local recip = 0.5 / s
550
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
551
		elseif i == 1 then
552
			local s = math.sqrt(m11 - m22 - m00 + 1)
553
			local recip = 0.5 / s
554
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
555
		elseif i == 2 then
556
			local s = math.sqrt(m22 - m00 - m11 + 1)
557
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
558
		end
559
	end
560
end
561
 
562
function QuaternionToCFrame(px, py, pz, x, y, z, w)
563
	local xs, ys, zs = x + x, y + y, z + z
564
	local wx, wy, wz = w * xs, w * ys, w * zs
565
	local xx = x * xs
566
	local xy = x * ys
567
	local xz = x * zs
568
	local yy = y * ys
569
	local yz = y * zs
570
	local zz = z * zs
571
	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))
572
end
573
 
574
function QuaternionSlerp(a, b, t)
575
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
576
	local startInterp, finishInterp;
577
	if cosTheta >= 0.0001 then
578
		if (1 - cosTheta) > 0.0001 then
579
			local theta = ACOS(cosTheta)
580
			local invSinTheta = 1 / SIN(theta)
581
			startInterp = SIN((1 - t) * theta) * invSinTheta
582
			finishInterp = SIN(t * theta) * invSinTheta
583
		else
584
			startInterp = 1 - t
585
			finishInterp = t
586
		end
587
	else
588
		if (1 + cosTheta) > 0.0001 then
589
			local theta = ACOS(-cosTheta)
590
			local invSinTheta = 1 / SIN(theta)
591
			startInterp = SIN((t - 1) * theta) * invSinTheta
592
			finishInterp = SIN(t * theta) * invSinTheta
593
		else
594
			startInterp = t - 1
595
			finishInterp = t
596
		end
597
	end
598
	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
599
end
600
601
function Clerp(a, b, t)
602
	local qa = {QuaternionFromCFrame(a)}
603
	local qb = {QuaternionFromCFrame(b)}
604
	local ax, ay, az = a.x, a.y, a.z
605
	local bx, by, bz = b.x, b.y, b.z
606
	local _t = 1 - t
607
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
608
end
609
610
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
611
	local frame = IT("Frame")
612
	frame.BackgroundTransparency = TRANSPARENCY
613
	frame.BorderSizePixel = BORDERSIZEPIXEL
614
	frame.Position = POSITION
615
	frame.Size = SIZE
616
	frame.BackgroundColor3 = COLOR
617
	frame.BorderColor3 = BORDERCOLOR
618
	frame.Name = NAME
619
	frame.Parent = PARENT
620
	return frame
621
end
622
623
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
624
	local label = IT("TextLabel")
625
	label.BackgroundTransparency = 1
626
	label.Size = UD2(1, 0, 1, 0)
627
	label.Position = UD2(0, 0, 0, 0)
628
	label.TextColor3 = TEXTCOLOR
629
	label.TextStrokeTransparency = STROKETRANSPARENCY
630
	label.TextTransparency = TRANSPARENCY
631
	label.FontSize = TEXTFONTSIZE
632
	label.Font = TEXTFONT
633
	label.BorderSizePixel = BORDERSIZEPIXEL
634
	label.TextScaled = false
635
	label.Text = TEXT
636
	label.Name = NAME
637
	label.Parent = PARENT
638
	return label
639
end
640
641
function NoOutlines(PART)
642
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
643
end
644
645
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
646
	local NEWWELD = IT(TYPE)
647
	NEWWELD.Part0 = PART0
648
	NEWWELD.Part1 = PART1
649
	NEWWELD.C0 = C0
650
	NEWWELD.C1 = C1
651
	NEWWELD.Parent = PARENT
652
	return NEWWELD
653
end
654
655
local S = IT("Sound")
656
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
657
	local NEWSOUND = nil
658
	coroutine.resume(coroutine.create(function()
659
		NEWSOUND = S:Clone()
660
		NEWSOUND.Parent = PARENT
661
		NEWSOUND.Volume = VOLUME
662
		NEWSOUND.Pitch = PITCH
663
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
664
		NEWSOUND:play()
665
		if DOESLOOP == true then
666
			NEWSOUND.Looped = true
667
		else
668
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
669
			NEWSOUND:remove()
670
		end
671
	end))
672
	return NEWSOUND
673
end
674
675
function CFrameFromTopBack(at, top, back)
676
	local right = top:Cross(back)
677
	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)
678
end
679
680
--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})
681
function WACKYEFFECT(Table)
682
	local TYPE = (Table.EffectType or "Sphere")
683
	local SIZE = (Table.Size or VT(1,1,1))
684
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
685
	local TRANSPARENCY = (Table.Transparency or 0)
686
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
687
	local CFRAME = (Table.CFrame or Torso.CFrame)
688
	local MOVEDIRECTION = (Table.MoveToPos or nil)
689
	local ROTATION1 = (Table.RotationX or 0)
690
	local ROTATION2 = (Table.RotationY or 0)
691
	local ROTATION3 = (Table.RotationZ or 0)
692
	local MATERIAL = (Table.Material or "Neon")
693
	local COLOR = (Table.Color or C3(1,1,1))
694
	local TIME = (Table.Time or 45)
695
	local SOUNDID = (Table.SoundID or nil)
696
	local SOUNDPITCH = (Table.SoundPitch or nil)
697
	local SOUNDVOLUME = (Table.SoundVolume or nil)
698
	coroutine.resume(coroutine.create(function()
699
		local PLAYSSOUND = false
700
		local SOUND = nil
701
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
702
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
703
			PLAYSSOUND = true
704
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
705
		end
706
		EFFECT.Color = COLOR
707
		local MSH = nil
708
		if TYPE == "Sphere" then
709
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
710
		elseif TYPE == "Block" then
711
			MSH = IT("BlockMesh",EFFECT)
712
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
713
		elseif TYPE == "Wave" then
714
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
715
		elseif TYPE == "Ring" then
716
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
717
		elseif TYPE == "Slash" then
718
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
719
		elseif TYPE == "Round Slash" then
720
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
721
		elseif TYPE == "Swirl" then
722
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
723
		elseif TYPE == "Skull" then
724
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
725
		elseif TYPE == "Crystal" then
726
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
727
		end
728
		if MSH ~= nil then
729
			local MOVESPEED = nil
730
			if MOVEDIRECTION ~= nil then
731
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
732
			end
733
			local GROWTH = SIZE - ENDSIZE
734
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
735
			if TYPE == "Block" then
736
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
737
			else
738
				EFFECT.CFrame = CFRAME
739
			end
740
			for LOOP = 1, TIME+1 do
741
				Swait()
742
				MSH.Scale = MSH.Scale - GROWTH/TIME
743
				if TYPE == "Wave" then
744
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
745
				end
746
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
747
				if TYPE == "Block" then
748
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
749
				else
750
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
751
				end
752
				if MOVEDIRECTION ~= nil then
753
					local ORI = EFFECT.Orientation
754
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
755
					EFFECT.Orientation = ORI
756
				end
757
			end
758
			if PLAYSSOUND == false then
759
				EFFECT:remove()
760
			else
761
				SOUND.Stopped:Connect(function()
762
					EFFECT:remove()
763
				end)
764
			end
765
		else
766
			if PLAYSSOUND == false then
767
				EFFECT:remove()
768
			else
769
				repeat Swait() until SOUND.Playing == false
770
				EFFECT:remove()
771
			end
772
		end
773
	end))
774
end
775
776
function MakeForm(PART,TYPE)
777
	if TYPE == "Cyl" then
778
		local MSH = IT("CylinderMesh",PART)
779
	elseif TYPE == "Ball" then
780
		local MSH = IT("SpecialMesh",PART)
781
		MSH.MeshType = "Sphere"
782
	elseif TYPE == "Wedge" then
783
		local MSH = IT("SpecialMesh",PART)
784
		MSH.MeshType = "Wedge"
785
	end
786
end
787
788
function SpawnTrail(FROM,TO,BIG)
789
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal purple", "Trail", VT(0,0,0))
790
	MakeForm(TRAIL,"Cyl")
791
	local DIST = (FROM - TO).Magnitude
792
	if BIG == true then
793
		TRAIL.Size = VT(0.5,DIST,0.5)
794
	else
795
		TRAIL.Size = VT(0.25,DIST,0.25)
796
	end
797
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
798
	coroutine.resume(coroutine.create(function()
799
		for i = 1, 5 do
800
			Swait()
801
			TRAIL.Transparency = TRAIL.Transparency + 0.1
802
		end
803
		TRAIL:remove()
804
	end))
805
end
806
807
Debris = game:GetService("Debris")
808
809
function CastProperRay(StartPos, EndPos, Distance, Ignore)
810
	local DIRECTION = CF(StartPos,EndPos).lookVector
811
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
812
end
813
814
function turnto(position)
815
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
816
end
817
local asd = Instance.new("ParticleEmitter")
818
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
819
asd.LightEmission = .1
820
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
821
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
822
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
823
asd.Transparency = bbb
824
asd.Size = aaa
825
asd.ZOffset = .9
826
asd.Acceleration = Vector3.new(0, -15, 0)
827
asd.LockedToPart = false
828
asd.EmissionDirection = "Back"
829
asd.Lifetime = NumberRange.new(1, 2)
830
asd.Rotation = NumberRange.new(-100, 100)
831
asd.RotSpeed = NumberRange.new(-100, 100)
832
asd.Speed = NumberRange.new(10)
833
asd.Enabled = false
834
asd.VelocitySpread = 999
835
836
function getbloody(victim,amount)
837
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
838
	PART.CFrame = victim.CFrame
839
	local HITPLAYERSOUNDS = {"356551938","264486467"}
840
	Debris:AddItem(PART,5)
841
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
842
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
843
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
844
	local prtcl = asd:Clone()
845
	prtcl.Parent = PART
846
	prtcl:Emit(amount*10)
847
end
848
849
local Particle = IT("ParticleEmitter",nil)
850
Particle.Enabled = false
851
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
852
Particle.LightEmission = 0.5
853
Particle.Rate = 150
854
Particle.ZOffset = 1
855
Particle.Rotation = NumberRange.new(-180, 180)
856
Particle.RotSpeed = NumberRange.new(-180, 180)
857
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
858
Particle.Color = ColorSequence.new(C3(1,0,1),C3(0.4,0,0))
859
860
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
861
function ParticleEmitter(Table)
862
	local PRTCL = Particle:Clone()
863
	local Speed = Table.Speed or 5
864
	local Drag = Table.Drag or 0
865
	local Size1 = Table.Size1 or 1
866
	local Size2 = Table.Size2 or 5
867
	local Lifetime1 = Table.Lifetime1 or 1
868
	local Lifetime2 = Table.Lifetime2 or 1.5
869
	local Parent = Table.Parent or Torso
870
	local Emit = Table.Emit or 100
871
	local Offset = Table.Offset or 360
872
	local Acel = Table.Acel or VT(0,0,0)
873
	local Enabled = Table.Enabled or false
874
	PRTCL.Parent = Parent
875
	PRTCL.Size = NumberSequence.new(Size1,Size2)
876
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
877
	PRTCL.Speed = NumberRange.new(Speed)
878
	PRTCL.VelocitySpread = Offset
879
	PRTCL.Drag = Drag
880
	PRTCL.Acceleration = Acel
881
	if Enabled == false then
882
		PRTCL:Emit(Emit)
883
		Debris:AddItem(PRTCL,Lifetime2)
884
	else
885
		PRTCL.Enabled = true
886
	end
887
	return PRTCL
888
end
889
890
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
891
if TYPE == "Gem" then
892
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
893
	acs.Anchored = false
894
    acs.CanCollide = false
895
	acs.CFrame = PART.CFrame
896
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
897
weldBetween(PART,acs)
898
elseif TYPE == "Skull" then
899
	local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
900
	acs.Anchored = false
901
    acs.CanCollide = false
902
	acs.CFrame = PART.CFrame
903
	local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
904
weldBetween(PART,acs)
905
elseif TYPE == "Eye" then
906
	local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
907
	acs.Anchored = false
908
    acs.CanCollide = false
909
	acs.CFrame = PART.CFrame
910
	local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
911
weldBetween(PART,acs)
912
end
913
end
914
915
916
Class_Name = "Sin Unleashed"
917
Weapon_Name = "Add-ons"
918
--//=================================\\
919
--||	     WEAPON CREATION
920
--\\=================================//
921
922
--//=================================\\
923
--||          SOME TAG EDIT
924
--\\=================================//
925
926-
m = game.Players.myrealuseristhat
926+
m = game.Players.silver22352
927
char = m.Character
928
local txt = Instance.new("BillboardGui", char)
929
txt.Adornee = char.Head
930
txt.Name = "_status"
931
txt.Size = UDim2.new(2, 0, 1.2, 0)
932
txt.StudsOffset = Vector3.new(-9, 8, 0)
933
local text = Instance.new("TextLabel", txt)
934
text.Size = UDim2.new(10, 0, 7, 0)
935
text.FontSize = "Size24"
936
text.TextScaled = true
937
text.TextTransparency = 0
938
text.BackgroundTransparency = 1
939
text.TextTransparency = 0
940
text.TextStrokeTransparency = 0
941
text.Font = "Bodoni"
942
text.TextStrokeColor3 = Color3.new(0, 0, 0)
943
v = Instance.new("Part")
944
v.Name = "ColorBrick"
945
v.Parent = m.Character
946
v.FormFactor = "Symmetric"
947
v.Anchored = true
948
v.CanCollide = false
949
v.BottomSurface = "Smooth"
950
v.TopSurface = "Smooth"
951
v.Size = Vector3.new(10, 5, 3)
952
v.Transparency = 1
953
v.CFrame = char.Torso.CFrame
954
v.BrickColor = BrickColor.new("Really black")
955
v.Transparency = 1
956
v.Shape = "Block"
957
spawn(function()
958
local TweenService = game:GetService("TweenService")
959
local Colours = {Color3.fromRGB(255,0,255),Color3.fromRGB(0,0,0),Color3.fromRGB(.8,0,.8),Color3.fromRGB(.6,0,.6),Color3.fromRGB(.4,0,.4),Color3.fromRGB(.4,0,.4),Color3.fromRGB(.2,0,.2),Color3.fromRGB(0,0,0)}
960
local Int = 0
961
while wait(0.5) do
962
    if Int == #Colours then Int = 0 end
963
    Int = Int+1
964
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
965
end
966
end)
967
text.Text = "Void Shooter"
968
969-
m = game.Players.myrealuseristhat
969+
m = game.Players.silver22352
970
char = m.Character
971
                IntroSound = Instance.new("Sound")
972
		IntroSound.Parent = char.Torso
973
		IntroSound.Volume = 20
974
		IntroSound.Pitch = 1
975
		IntroSound.SoundId = "http://www.roblox.com/asset/?id=907331307"
976
		IntroSound:Play()
977
               wait(0.1)
978
979
980
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
981
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
982
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
983
MakeForm(Part,"Wedge")
984
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
985
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
986
MakeForm(Part,"Wedge")
987
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
988
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
989
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
990
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
991
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
992
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
993
MakeForm(Part,"Cyl")
994
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
995
for i = 1, 8 do
996
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
997
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
998
end
999
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1000
MakeForm(Part,"Cyl")
1001
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1002
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1003
MakeForm(Part,"Ball")
1004
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1005
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1006
MakeForm(Part,"Wedge")
1007
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1008
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1009
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1010
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1011
MakeForm(Part,"Cyl")
1012
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1013
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1014
MakeForm(Part,"Cyl")
1015
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1016
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1017
MakeForm(Part,"Cyl")
1018
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1019
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1020
MakeForm(Part,"Wedge")
1021
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1022
local LASTPART = Handle
1023
for i = 1, 10 do
1024
	if LASTPART == Handle then
1025
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1026
		LASTPART = Part
1027
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1028
	else
1029
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1030
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1031
		LASTPART = Part
1032
	end
1033
end
1034
1035
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1036
MakeForm(Barrel,"Cyl")
1037
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1038
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1039
MakeForm(Part,"Cyl")
1040
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1041
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1042
MakeForm(Part,"Wedge")
1043
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1044
local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1045
MakeForm(Hole2,"Cyl")
1046
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
1047
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1048
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1049
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1050
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1051
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1052
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1053
coroutine.resume(coroutine.create(function()
1054
	while wait() do
1055
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1056
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1057
	end
1058
end))
1059
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
1060
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
1061
1062
for _, c in pairs(Weapon:GetDescendants()) do
1063
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1064
		c.Material = "Glass"
1065
		c.Color = C3(0,0,0)
1066
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1067
		c.Color = C3(1,0,1)
1068
		c.Material = "Neon"
1069
	end
1070
end
1071
1072
Weapon.Parent = Character
1073
for _, c in pairs(Weapon:GetChildren()) do
1074
	if c.ClassName == "Part" then
1075
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1076
	end
1077
end
1078
1079
function ParticleEmitter(Table)
1080
	local PRTCL = Particle:Clone()
1081
	local Speed = Table.Speed or 5
1082
	local Drag = Table.Drag or 0
1083
	local Size1 = Table.Size1 or 1
1084
	local Size2 = Table.Size2 or 5
1085
	local Lifetime1 = Table.Lifetime1 or 1
1086
	local Lifetime2 = Table.Lifetime2 or 1.5
1087
	local Parent = Table.Parent or Torso
1088
	local Emit = Table.Emit or 100
1089
	local Offset = Table.Offset or 360
1090
	local Acel = Table.Acel or VT(0,0,0)
1091
	local Enabled = Table.Enabled or false
1092
	PRTCL.Parent = Parent
1093
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1094
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1095
	PRTCL.Speed = NumberRange.new(Speed)
1096
	PRTCL.VelocitySpread = Offset
1097
	PRTCL.Drag = Drag
1098
	PRTCL.Acceleration = Acel
1099
	if Enabled == false then
1100
		PRTCL:Emit(Emit)
1101
		Debris:AddItem(PRTCL,Lifetime2)
1102
	else
1103
		PRTCL.Enabled = true
1104
	end
1105
	return PRTCL
1106
end
1107
1108
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1109
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1110
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1111
MakeForm(Part,"Wedge")
1112
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1113
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1114
MakeForm(Part,"Wedge")
1115
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1116
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1117
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1118
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1119
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1120
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1121
MakeForm(Part,"Cyl")
1122
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1123
for i = 1, 8 do
1124
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1125
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1126
end
1127
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1128
MakeForm(Part,"Cyl")
1129
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1130
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1131
MakeForm(Part,"Ball")
1132
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1133
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1134
MakeForm(Part,"Wedge")
1135
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1136
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1137
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1138
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1139
MakeForm(Part,"Cyl")
1140
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1141
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1142
MakeForm(Part,"Cyl")
1143
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1144
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1145
MakeForm(Part,"Cyl")
1146
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1147
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1148
MakeForm(Part,"Wedge")
1149
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1150
local LASTPART = Handle
1151
for i = 1, 10 do
1152
	if LASTPART == Handle then
1153
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1154
		LASTPART = Part
1155
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1156
	else
1157
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1158
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1159
		LASTPART = Part
1160
	end
1161
end
1162
1163
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1164
MakeForm(Barrel,"Cyl")
1165
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1166
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1167
MakeForm(Part,"Cyl")
1168
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1169
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1170
MakeForm(Part,"Wedge")
1171
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1172
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1173
MakeForm(Hole,"Cyl")
1174
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1175
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1176
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1177
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1178
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1179
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1180
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1181
coroutine.resume(coroutine.create(function()
1182
	while wait() do
1183
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1184
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1185
	end
1186
end))
1187
1188
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
1189
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(13,19,18)})
1190
1191
for _, c in pairs(Weapon:GetDescendants()) do
1192
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1193
		c.Material = "Glass"
1194
		c.Color = C3(0,0,0)
1195
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1196
		c.Color = C3(1,0,1)
1197
		c.Material = "Neon"
1198
	end
1199
end
1200
1201
1202
1203
for i = 1, 35 do
1204
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
1205
	FACE.Color = C3(0,0,0)
1206
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1207
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
1208
end
1209
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eyeball", VT(0.15,0,0.15),false)
1210
MakeForm(EYE,"Ball")
1211
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
1212
local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Eyeball", VT(0.15,0.15,0.15),false)
1213
MakeForm(EYE2,"Ball")
1214
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
1215
local Eyes = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eyes", VT(0.6,0.1,1)/2,false)
1216
MakeForm(Eyes,"Ball")
1217
CreateWeldOrSnapOrMotor("Weld", Eyes, Head, Eyes, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1218
local Eyes = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eyes", VT(0.6,0.1,1)/2,false)
1219
MakeForm(Eyes,"Ball")
1220
CreateWeldOrSnapOrMotor("Weld", Eyes, Head, Eyes, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1221
1222
Weapon.Parent = Character
1223
for _, c in pairs(Weapon:GetChildren()) do
1224
	if c.ClassName == "Part" then
1225
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1226
	end
1227
end
1228
1229
1230
1231
New = function(Object, Parent, Name, Data)
1232
	local Object = Instance.new(Object)
1233
	for Index, Value in pairs(Data or {}) do
1234
		Object[Index] = Value
1235
	end
1236
	Object.Parent = Parent
1237
	Object.Name = Name
1238
	return Object
1239
end
1240
1241
1242
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
1243
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1244
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
1245
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1246
1247
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
1248
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1249
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1250
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1251
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1252
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1253
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1254
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1255
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1256
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1257
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1258
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1259
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
1260
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1261
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
1262
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
1263
1264
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
1265
mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
1266
1267
local LASTPART = Head
1268
for i = 1, 20 do
1269
	local MATH = (1-(i/25))
1270
	if LASTPART == Head then
1271
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1272
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
1273
		LASTPART = Horn
1274
		Horn.Color = C3(1,0,1)
1275
	else
1276
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1277
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
1278
		LASTPART = Horn
1279
		Horn.Color = C3(1,0,1)
1280
	end
1281
end
1282
local LASTPART = Head
1283
for i = 1, 20 do
1284
	local MATH = (1-(i/25))
1285
	if LASTPART == Head then
1286
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1287
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
1288
		LASTPART = Horn
1289
		Horn.Color = C3(1,0,1)
1290
	else
1291
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
1292
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
1293
		LASTPART = Horn
1294
		Horn.Color = C3(1,0,1)
1295
	end
1296
end
1297
1298
1299
local SKILLTEXTCOLOR = C3(1,0,1)
1300
local SKILLFONT = "Antique"
1301
local SKILLTEXTSIZE = 7
1302
1303
Humanoid.Died:connect(function()
1304
	ATTACK = true
1305
end)
1306
1307
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1308
--[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1309
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1310
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1311
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1312
]]
1313
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "Void Shooter Remaster WIP", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1314
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1315
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1316
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1317
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1318
]]
1319
function printbye(Name)
1320
	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, "}
1321
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1322
end
1323
1324
workspace.ChildAdded:connect(function(instance)
1325
    for BANISH = 1, #TOBANISH do
1326
		if TOBANISH[BANISH] ~= nil then
1327
			if instance.Name == TOBANISH[BANISH] then
1328
				coroutine.resume(coroutine.create(function()
1329
					printbye(instance.Name)
1330
					instance:ClearAllChildren()
1331
					Debris:AddItem(instance,0.0005)
1332
				end))
1333
			end
1334
		end
1335
	end
1336
end)
1337
--//=================================\\
1338
--||			DAMAGING
1339
--\\=================================//
1340
1341
function Banish(Foe)
1342
	if Foe then
1343
		coroutine.resume(coroutine.create(function()
1344
			--if game.Players:FindFirstChild(Foe.Name) then
1345
				table.insert(TOBANISH,Foe.Name)
1346
				printbye(Foe.Name)
1347
			--end
1348
			Foe.Archivable = true
1349
			local CLONE = Foe:Clone()
1350
			Foe:Destroy()
1351
			CLONE.Parent = Effects
1352
			CLONE:BreakJoints()
1353
			local MATERIALS = {"Glass","Neon"}
1354
			for _, c in pairs(CLONE:GetDescendants()) do
1355
				if c:IsA("BasePart") then
1356
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1357
 						CreateSound(340722848, c, 10, 1, false)
1358
					end
1359
					c.Anchored = true
1360
					c.Transparency = c.Transparency + 0.2
1361
					c.Material = MATERIALS[MRANDOM(1,2)]
1362
					c.Color = C3(1,0,1)
1363
					if c.ClassName == "MeshPart" then
1364
						c.TextureID = ""
1365
					end
1366
					if c:FindFirstChildOfClass("SpecialMesh") then
1367
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1368
					end
1369
					if c:FindFirstChildOfClass("Decal") then
1370
						c:FindFirstChildOfClass("Decal"):remove()
1371
					end
1372
					c.Name = "Banished"
1373
					c.CanCollide = false
1374
				else
1375
					c:remove()
1376
				end
1377
			end
1378
			local A = false
1379
			for i = 1, 35 do
1380
				if A == false then
1381
					A = true
1382
				elseif A == true then
1383
					A = false
1384
				end
1385
				for _, c in pairs(CLONE:GetDescendants()) do
1386
					if c:IsA("BasePart") then
1387
						c.Anchored = true
1388
						c.Material = MATERIALS[MRANDOM(1,2)]
1389
						c.Transparency = c.Transparency + 0.8/35
1390
						if A == false then
1391
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1392
						elseif A == true then
1393
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1394
						end
1395
					end
1396
				end
1397
				Swait()
1398
			end
1399
			CLONE:remove()
1400
		end))
1401
	end
1402
end
1403
1404
function ApplyAoE(POSITION,RANGE,ISBANISH)
1405
	local CHILDREN = workspace:GetDescendants()
1406
	for index, CHILD in pairs(CHILDREN) do
1407
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1408
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1409
			if HUM then
1410
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1411
				if TORSO then
1412
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1413
						if ISBANISH == true then
1414
							Banish(CHILD)
1415
						else
1416
							if ISBANISH == "Gravity" then
1417
								HUM.PlatformStand = true
1418
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1419
									local grav = Instance.new("BodyPosition",TORSO)
1420
									grav.D = 15
1421
									grav.P = 20000
1422
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1423
									grav.position = TORSO.Position
1424
									grav.Name = "V3BanishForce"..Player.Name
1425
								else
1426
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1427
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1428
								end
1429
							else
1430
								HUM.PlatformStand = false
1431
							end
1432
						end
1433
					elseif ISBANISH == "Gravity" then
1434
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1435
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1436
							HUM.PlatformStand = false
1437
						end
1438
					end
1439
				end
1440
			end
1441
		end
1442
	end
1443
end
1444
1445
	local sillsky = Instance.new('Sky', game:GetService'Lighting')
1446
sillsky.SkyboxBk = "rbxassetid://157784474"
1447
sillsky.SkyboxDn = "rbxassetid://157784290"
1448
sillsky.SkyboxFt = "rbxassetid://157784317"
1449
sillsky.SkyboxLf = "rbxassetid://157784355"
1450
sillsky.SkyboxRt = "rbxassetid://157784340"
1451
sillsky.SkyboxUp = "rbxassetid://157784452"
1452
sillsky.StarCount = 0
1453
sillsky.SunAngularSize = 0
1454
sillsky.MoonAngularSize = 0
1455
sillsky.MoonTextureId = ""
1456
sillsky.CelestialBodiesShown = false
1457
game.Lighting.FogColor = Color3.new(0,0,0)
1458
game.Lighting.FogEnd = 1400
1459
--//=================================\\
1460
--||	ATTACK FUNCTIONS AND STUFF
1461
--\\=================================//
1462
1463
function Taunt()
1464
	ATTACK = true
1465
	Rooted = false
1466
	CreateSound(907333294, Torso, 6, 1, false)
1467
	for i=0, 0.1, 0.1 / Animation_Speed do
1468
		Swait()
1469
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1470
	end
1471
	for i=0, 1, 0.1 / Animation_Speed do
1472
		Swait()
1473
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.4) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(25), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1474
	end
1475
	for i=0, 1, 0.1 / Animation_Speed do
1476
		Swait()
1477
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25-3 * COS(SINE / 6)), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1478
	end
1479
	ATTACK = false
1480
	Rooted = false
1481
end
1482
function Banisher_Bullet()
1483
	ATTACK = true
1484
	Rooted = false
1485
	for i=0, 0.4, 0.1 / Animation_Speed do
1486
		Swait()
1487
		turnto(Mouse.Hit.p)
1488
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1489
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1490
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1491
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1492
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1493
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1494
	end
1495
	repeat
1496
		for i=0, 0.2, 0.1 / Animation_Speed do
1497
			Swait()
1498
			turnto(Mouse.Hit.p)
1499
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1500
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1501
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1502
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1503
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1504
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1505
		end
1506
		local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
1507
		SpawnTrail(Hole2.Position,POS)
1508
		if HIT ~= nil then
1509
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1510
				Banish(HIT.Parent)
1511
			end
1512
		end
1513
			local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1514
		SpawnTrail(Hole.Position,POS)
1515
		if HIT ~= nil then
1516
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1517
				Banish(HIT.Parent)
1518
			end
1519
		end
1520
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1521
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1522
		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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(.6,0,.6), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1523
		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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.6,0,.6), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1524
		for i=0, 0.3, 0.1 / Animation_Speed do
1525
			Swait()
1526
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1527
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
1528
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1529
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1530
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1531
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1532
		end
1533
				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(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1534
		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(1,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1535
		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(1,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1536
		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(.8,0,.8), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1537
	until KEYHOLD == false
1538
	ATTACK = false
1539
	Rooted = false
1540
end
1541
1542
function AttackTemplate()
1543
	ATTACK = true
1544
	Rooted = false
1545
	for i=0, 1, 0.1 / Animation_Speed do
1546
		Swait()
1547
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1548
		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)
1549
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1550
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1551
		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)
1552
		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)
1553
	end
1554
	ATTACK = false
1555
	Rooted = false
1556
end
1557
1558
--Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
1559
function Lightning(Table)
1560
	local Color = Table.Color or C3(1,1,1)
1561
	local StartPos = Table.Start or Torso.Position
1562
	local EndPos = Table.End or Mouse.Hit.p
1563
	local SegmentLength = Table.SegmentL or 2
1564
	local Thickness = Table.Thickness or 0.1
1565
	local Dissapear = Table.DoesFade or false
1566
	local Parent = Table.Ignore or Character
1567
	local MaxDist = Table.MaxDist or 400
1568
	local Branches = Table.Branches or false
1569
	local Thicken = Table.Thicken or false
1570
	local FadeTime = Table.FadeTime or 15
1571
	local FadeIn = Table.FadeIn or false
1572
	local Material = Table.Material or "Neon"
1573
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
1574
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
1575
	local LIGHTNINGMODEL = IT("Model",Effects)
1576
	LIGHTNINGMODEL.Name = "Lightning"
1577
	local LastBolt = nil
1578
	for E = 1, DISTANCE do
1579
		local ExtraSize = 0
1580
		if Thicken == true then
1581
			ExtraSize = (DISTANCE-E)/15
1582
		end
1583
		local TRANSPARENCY = 0
1584
		if FadeIn == true then
1585
			TRANSPARENCY = 1-(E/(DISTANCE/1.5))
1586
			if TRANSPARENCY < 0 then
1587
				TRANSPARENCY = 0
1588
			end
1589
		end
1590
		local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
1591
		PART.Color = Color
1592
		MakeForm(PART,"Cyl")
1593
		if LastBolt == nil then
1594
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1595
		else
1596
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1597
		end
1598
		LastBolt = PART
1599
		if Branches == true and E < (DISTANCE-5) then
1600
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
1601
			if CHOICE == 1 then
1602
				local LASTBRANCH = nil
1603
				for i = 1, MRANDOM(2,5) do
1604
					local ExtraSize2 = 0
1605
					if Thicken == true then
1606
						ExtraSize = ((DISTANCE-E)/25)/i
1607
					end
1608
					local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
1609
					PART.Color = Color
1610
					MakeForm(PART,"Cyl")
1611
					if LASTBRANCH == nil then
1612
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1613
					else
1614
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1615
					end
1616
					LASTBRANCH = PART
1617
				end
1618
			end
1619
		end
1620
	end
1621
	if Dissapear == true then
1622
		coroutine.resume(coroutine.create(function()
1623
			for i = 1, FadeTime do
1624
				Swait()
1625
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
1626
					if c.ClassName == "Part" then
1627
						c.Transparency = c.Transparency + (i/FadeTime)/10
1628
					end
1629
				end
1630
			end
1631
			LIGHTNINGMODEL:remove()
1632
		end))
1633
	elseif Dissapear == false then
1634
		Debris:AddItem(LIGHTNINGMODEL,0.1)
1635
	end
1636
	return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
1637
end
1638
1639
function leoof()
1640
	ATTACK = true
1641
	Rooted = true
1642
	local SOUND = CreateSound("134978657", Head, 10, 1)
1643
	Swait()
1644
	repeat
1645
		Swait()
1646
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1647
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1648
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1649
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1650
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1651
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1652
	until SOUND.Playing == false
1653
	ATTACK = false
1654
	Rooted = false
1655
end
1656
1657
function Voided(Char)
1658
	local NewCharacter = IT("Model",Effects)
1659
	NewCharacter.Name = "Ow im ded ;-;"
1660
	for _, c in pairs(Char:GetDescendants()) do
1661
		if c:IsA("BasePart") and c.Transparency == 0 then
1662
			if c.Parent == Char then
1663
				
1664
			end
1665
			c:BreakJoints()
1666
			c.Material = "Glass"
1667
			c.Color = C3(0.5,0,0.5)
1668
			c.CanCollide = true
1669
			c.Transparency = 0.3
1670
			if c:FindFirstChildOfClass("SpecialMesh") then
1671
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1672
			end
1673
			if c.Name == "Head" then
1674
				c:ClearAllChildren()
1675
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1676
			end
1677
			if c.ClassName == "MeshPart" then
1678
				c.TextureID = ""
1679
			end
1680
			if c:FindFirstChildOfClass("BodyPosition") then
1681
				c:FindFirstChildOfClass("BodyPosition"):remove()
1682
			end
1683
			if c:FindFirstChildOfClass("ParticleEmitter") then
1684
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1685
			end
1686
			c.Parent = NewCharacter
1687
			c.Name = "DeadPart"
1688
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1689
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1690
		end
1691
	end
1692
	Char:remove()
1693
	Debris:AddItem(NewCharacter,5)
1694
end
1695
INSTAKILL = true
1696
function ApplyAoE(POSITION,RANGE,BRUTAL)
1697
	local CHILDREN = workspace:GetDescendants()
1698
	for index, CHILD in pairs(CHILDREN) do
1699
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1700
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1701
			if HUM then
1702
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1703
				if TORSO then
1704
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1705
						if BRUTAL == true then
1706
							Voided(CHILD)
1707
						else
1708
							CHILD:BreakJoints()
1709
						end
1710
					end
1711
				end
1712
			end
1713
		end
1714
	end
1715
end
1716
function MakeForm(PART, TYPE)
1717
	if TYPE == "Cyl" then
1718
		local MSH = IT("CylinderMesh", PART)
1719
	elseif TYPE == "Ball" then
1720
		local MSH = IT("SpecialMesh", PART)
1721
		MSH.MeshType = "Sphere"
1722
	elseif TYPE == "Wedge" then
1723
		local MSH = IT("SpecialMesh", PART)
1724
		MSH.MeshType = "Wedge"
1725
	end
1726
end
1727
function Void_Hole()
1728
	ATTACK = true
1729
	Rooted = true
1730
	
1731
	for i=0, 0.5, 0.1 / Animation_Speed do
1732
		Swait()
1733
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1734
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1735
	end
1736
	coroutine.resume(coroutine.create(function()
1737
		local POS = Mouse.Hit.p
1738
		
1739
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,0,0))
1740
		MakeForm(SPHERE,"Ball")
1741
		
1742
		
1743
	
1744
		SPHERE.CFrame = CF(POS)
1745
		CreateSound(251399049, SPHERE, 10, 0.8, false)
1746
		CreateSound(1146688617, SPHERE, 10, 0.8, false)
1747
		for i = 1, 200 do
1748
			Swait()
1749
			
1750
			
1751
			SPHERE.Size = SPHERE.Size + VT(5,5,5)
1752
			
1753
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1754
		end	
1755
		for i = 1, 45 do
1756
			Swait()
1757
			
1758
			SPHERE.Transparency = SPHERE.Transparency + 1/45
1759
			
1760
		end
1761
		
1762
		
1763
		SPHERE:remove()
1764
	end))
1765
	for i=0, 0.1, 0.1 / Animation_Speed do
1766
		Swait()
1767
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
1768
	end
1769
	ATTACK = false
1770
	Rooted = false
1771
end
1772
1773
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1774
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1775
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1776
    wave.CFrame = CFRAME
1777
    coroutine.resume(coroutine.create(function(PART)
1778
        for i = 1, WAIT do
1779
            Swait()
1780
            mesh.Scale = mesh.Scale + GROW
1781
            wave.Transparency = wave.Transparency + 1 / WAIT
1782
            if wave.Transparency > 0.99 then
1783
                wave:remove()
1784
            end
1785
        end
1786
    end))
1787
end
1788
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1789
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1790
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1791
    wave.CFrame = CFRAME
1792
    coroutine.resume(coroutine.create(function(PART)
1793
        for i = 1, WAIT do
1794
            Swait()
1795
            mesh.Scale = mesh.Scale + GROW
1796
            mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1797
            if DOESROT == true then
1798
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1799
            end
1800
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1801
            if wave.Transparency > 0.99 then
1802
                wave:remove()
1803
            end
1804
        end
1805
    end))
1806
end
1807
1808
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1809
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1810
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1811
    wave.CFrame = CFRAME
1812
    coroutine.resume(coroutine.create(function(PART)
1813
        for i = 1, WAIT do
1814
            Swait()
1815
            mesh.Scale = mesh.Scale + GROW
1816
            if DOESROT == true then
1817
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1818
            end
1819
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1820
            if wave.Transparency > 0.99 then
1821
                wave:remove()
1822
            end
1823
        end
1824
    end))
1825
end
1826
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1827
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1828
    wave.Color = C3(1,0,1)
1829
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1830
    wave.CFrame = CFRAME
1831
    coroutine.resume(coroutine.create(function(PART)
1832
        for i = 1, WAIT do
1833
            Swait()
1834
            mesh.Scale = mesh.Scale + GROW
1835
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1836
            if DOESROT == true then
1837
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1838
            end
1839
            wave.Transparency = wave.Transparency + (0.5/WAIT)
1840
            if wave.Transparency > 0.99 then
1841
                wave:remove()
1842
            end
1843
        end
1844
    end))
1845
end
1846
1847
local ATTACKEDTAUNTS = {
1848
    "907332040",
1849
    "907332525",
1850
    "907330011"
1851
}
1852
local ATTACKTAUNTS = {
1853
    "907329893",
1854
    "907329532",
1855
    "907333294",
1856
    "907332856"
1857
}
1858
local ULTTAUNTS = {
1859
    "907332997",
1860
    "907332670",
1861
    "907330103"
1862
}
1863
1864
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1865
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1866
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
1867
    wave.CFrame = CFRAME
1868
    coroutine.resume(coroutine.create(function(PART)
1869
        for i = 1, WAIT do
1870
            Swait()
1871
            mesh.Scale = mesh.Scale + GROW
1872
            if DOESROT == true then
1873
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1874
            end
1875
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1876
            if wave.Transparency > 0.99 then
1877
                wave:remove()
1878
            end
1879
        end
1880
    end))
1881
end
1882
1883
function killnearest(position,range,maxstrength,direction)
1884
    for i,v in ipairs(workspace:GetChildren()) do
1885
    local body = v:GetChildren()
1886
        for part = 1, #body do
1887
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1888
                if(body[part].Position - position).Magnitude < range then
1889
                    if v.ClassName == "Model" then
1890
                        --v:BreakJoints()
1891
                    end
1892
                    local POS = position
1893
                    coroutine.resume(coroutine.create(function()
1894
                        body[part].Anchored = true
1895
                        body[part].Parent = Effects
1896
                        body[part].CanCollide = true
1897
                        local SIZE = body[part].Size
1898
                        body[part].Material = "Neon"
1899
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
1900
                        for i = 1, 75 do
1901
                            Swait()
1902
                            body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1903
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1904
                        end
1905
                        coroutine.resume(coroutine.create(function()
1906
                            while true do
1907
                                Swait()
1908
                                body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1909
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1910
                            end
1911
                        end))
1912
                        body[part].Anchored = false
1913
                        body[part].Velocity = direction.lookVector*maxstrength
1914
                    end))
1915
                end
1916
            end
1917
        end
1918
        if v.ClassName == "Part" then
1919
            if v.Anchored == false and (v.Position - position).Magnitude < range then
1920
                local POS = position
1921
                coroutine.resume(coroutine.create(function()
1922
                    v.Anchored = true
1923
                    v.Parent = Effects
1924
                    local SIZE = v.Size
1925
                    v.Material = "Neon"
1926
                    CreateSound("0", v, 2, MRANDOM(7, 12) / 10)
1927
                    for i = 1, 75 do
1928
                        Swait()
1929
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1930
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1931
                    end
1932
                    coroutine.resume(coroutine.create(function()
1933
                        while true do
1934
                            Swait()
1935
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
1936
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
1937
                        end
1938
                    end))
1939
                    v.Anchored = false
1940
                    v.Velocity = direction.lookVector*maxstrength
1941
                end))
1942
            end
1943
        end
1944
    end
1945
end
1946
1947
function die()
1948
    ATTACK = true
1949
    Rooted = false
1950
    local SPEED = Speed
1951
    Speed = 8
1952
    CreateSound("0", RightArm, 10, 1.1)
1953
    for i=0, 0, 0.1 / Animation_Speed do
1954
        Swait()
1955
        turnto(Mouse.Hit.p)
1956
        MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really red",VT(-1/15,-1/15,-1/15))
1957
        MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really red",VT(-2/15,-2/15,-2/15))
1958
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
1959
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
1960
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1961
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1962
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1963
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1964
    end
1965
    for i=0, 0, 0.1 / Animation_Speed do
1966
        Swait()
1967
        turnto(Mouse.Hit.p)
1968
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
1969
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
1970
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1971
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1972
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1973
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1974
    end
1975
    local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Royal purple", "Punch", VT(50,50,50),false)
1976
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
1977
    PART.Shape = "Ball"
1978
    local bv = Instance.new("BodyVelocity")
1979
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1980
    bv.velocity = RootPart.CFrame.lookVector*600
1981
    bv.Parent = PART
1982
    bv.Name = "PROJECTILEVELOCITY"
1983
    CreateSound("0", Effects, 10, MRANDOM(7, 12) / 10)
1984
    coroutine.resume(coroutine.create(function()
1985
        for i = 1, 10 do
1986
            Swait()
1987
            PART.Transparency = PART.Transparency + 0.2/10
1988
            PART.Size = PART.Size + VT(5,5,5)
1989
            killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
1990
        end
1991
        PART:Destroy()
1992
    end))
1993
    for i=0, 0, 0.1 / Animation_Speed do
1994
        Swait()
1995
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
1996
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
1997
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1998
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1999
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
2000
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
2001
    end
2002
    Speed = SPEED
2003
    ATTACK = false
2004
    Rooted = false
2005
end
2006
2007
function MagicSphere2(size,waitt,cframe,color)
2008
	local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
2009
	local mesh = IT("SpecialMesh",wave)
2010
	mesh.MeshType = "Sphere"
2011
	mesh.Scale = VT(size,size,size)
2012
	mesh.Offset = VT(0,0,0)
2013
	wave.CFrame = cframe
2014
	coroutine.resume(coroutine.create(function(PART)
2015
		for i = 1, waitt do
2016
			Swait()
2017
			mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
2018
			wave.Transparency = wave.Transparency - (1/waitt)
2019
		end
2020
		wave:remove()
2021
	end))
2022
end
2023
--//=================================\\
2024
--||	  ASSIGN THINGS TO KEYS
2025
--\\=================================//
2026
2027
function MouseDown(Mouse)
2028
	if ATTACK == false then
2029
	end
2030
end
2031
2032
function MouseUp(Mouse)
2033
HOLD = false
2034
end
2035
2036
function KeyDown(Key)
2037
	KEYHOLD = true
2038
	if Key == "z" and ATTACK == false then
2039
		Banisher_Bullet()
2040
	end
2041
2042
	if Key == "t" and ATTACK == false then
2043
		Taunt()
2044
	end
2045
	if Key == "y" and ATTACK == false then
2046
		leoof()
2047
	end
2048
	if Key == "x" and ATTACK == false then
2049
        die()
2050
	end
2051
2052
	if Key == "f" and ATTACK == false then
2053
	end
2054
2055
	if Key == "b" and ATTACK == false then
2056
		Void_Hole()
2057
	end
2058
2059
	if Key == "c" and ATTACK == false then
2060
s:stop()
2061
s:stop()
2062
local s = Instance.new("Sound",char)
2063
	s.Name = "BGMusic"
2064
	s.SoundId = "rbxassetid://1117396305"
2065
	s.Pitch = 1
2066
	s.Volume = 40
2067
	s.Looped = true
2068
	s.archivable = false
2069
	s.Parent = char.Head
2070
	wait(0.1)
2071
	s:play()
2072
	end
2073
2074
	if Key == "v" and ATTACK == false then
2075
s:stop()
2076
s:stop()
2077
local s = Instance.new("Sound",char)
2078
	s.Name = "BGMusic"
2079
	s.SoundId = "rbxassetid://1275083876"
2080
	s.Pitch = 1
2081
	s.Volume = 40
2082
	s.Looped = true
2083
	s.archivable = false
2084
	s.Parent = char.Head
2085
	wait(0.1)
2086
	s:play()
2087
	end
2088
2089
end
2090
2091
function KeyUp(Key)
2092
	KEYHOLD = false
2093
end
2094
2095
	Mouse.Button1Down:connect(function(NEWKEY)
2096
		MouseDown(NEWKEY)
2097
	end)
2098
	Mouse.Button1Up:connect(function(NEWKEY)
2099
		MouseUp(NEWKEY)
2100
	end)
2101
	Mouse.KeyDown:connect(function(NEWKEY)
2102
		KeyDown(NEWKEY)
2103
	end)
2104
	Mouse.KeyUp:connect(function(NEWKEY)
2105
		KeyUp(NEWKEY)
2106
	end)
2107
2108
--//=================================\\
2109
--\\=================================//
2110
2111
2112
function unanchor()
2113
	if UNANCHOR == true then
2114
		g = Character:GetChildren()
2115
		for i = 1, #g do
2116
			if g[i].ClassName == "Part" then
2117
				g[i].Anchored = false
2118
			end
2119
		end
2120
	end
2121
end
2122
2123
2124
--//=================================\\
2125
--||	WRAP THE WHOLE SCRIPT UP
2126
--\\=================================//
2127
2128
Humanoid.Changed:connect(function(Jump)
2129
	if Jump == "Jump" and (Disable_Jump == true) then
2130
		Humanoid.Jump = false
2131
	end
2132
end)
2133
2134
2135
local lightning = Instance.new("ParticleEmitter",Torso)
2136
lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
2137
lightning.LightEmission = 0
2138
lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
2139
lightning.LockedToPart = true
2140
lightning.Rate = 20
2141
lightning.Lifetime = NumberRange.new(0.1,0.10)
2142
lightning.Rotation = NumberRange.new(0,360)
2143
lightning.Size = NumberSequence.new(3,3,3)
2144
lightning.Transparency = NumberSequence.new(0,0)
2145
lightning.Speed = NumberRange.new(0,0)
2146
lightning.RotSpeed = NumberRange.new(0,0)
2147
lightning.ZOffset = 5.5
2148
lightning.Parent = Character.Torso
2149
lightning.Enabled = false
2150
2151
local eeeffecto = Instance.new("ParticleEmitter",Torso)
2152
eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
2153
eeeffecto.LightEmission = 0
2154
eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
2155
eeeffecto.LockedToPart = true
2156
eeeffecto.Rate = 10.5
2157
eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
2158
eeeffecto.Rotation = NumberRange.new(0,0)
2159
eeeffecto.Size = NumberSequence.new(9,9,9)
2160
eeeffecto.Transparency = NumberSequence.new(0,0)
2161
eeeffecto.Speed = NumberRange.new(0,0)
2162
eeeffecto.RotSpeed = NumberRange.new(0,0)
2163
eeeffecto.Parent = Character.Torso
2164
eeeffecto.Enabled = false
2165
        lightning.Enabled = true
2166
		eeeffecto.Enabled = true
2167
2168
Player_Size = 1 --Size of the player.
2169
2170
		Head.face.Texture = "rbxassetid://403870689"
2171
2172
local CONNECT = nil
2173
2174
while true do
2175
	Swait()
2176
	ANIMATE.Parent = nil
2177
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2178
		Humanoid = IT("Humanoid",Character)
2179
	end
2180
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2181
	    v:Stop();
2182
	end
2183
	SINE = SINE + CHANGE
2184
	Humanoid.HipHeight = 1.5
2185
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2186
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2187
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2188
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2189
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2190
		elseif TORSOVELOCITY > 1 then
2191
                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
2192
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2193
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2194
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2195
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2196
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2197
	end
2198
	if TORSOVERTICALVELOCITY > 1 then
2199
		ANIM = "Jump"
2200
		if ATTACK == false then
2201
               RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2202
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2203
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2204
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2205
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2206
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2207
	    end
2208
	elseif TORSOVERTICALVELOCITY < -1 then
2209
		ANIM = "Fall"
2210
		if ATTACK == false then
2211
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2212
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2213
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2214
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2215
                RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2216
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2217
		end
2218
	elseif TORSOVELOCITY < 1 then
2219
		ANIM = "Idle"
2220
		if ATTACK == false then
2221
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2222
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2223
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2224
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2225
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2226
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2227
		end
2228
	elseif TORSOVELOCITY > 1 then
2229
		ANIM = "Walk"
2230
		if ATTACK == false then
2231
                  RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
2232
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2233
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2234
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2235
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2236
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2237
		end
2238
	end
2239
	unanchor()
2240
	Humanoid.MaxHealth = "inf"
2241
	Humanoid.Health = "inf"
2242
	if Rooted == false then
2243
		Disable_Jump = false
2244
		Humanoid.WalkSpeed = Speed
2245
	elseif Rooted == true then
2246
		Disable_Jump = true
2247
		Humanoid.WalkSpeed = 0
2248
	end
2249
	sick.Parent = Torso
2250
	sick:resume()
2251
	sick.Volume = 55
2252
	sick.Pitch = 0.8
2253
        sick.Looped = true
2254
	sick.SoundId = "rbxassetid://0"
2255
	sick.Name = "BanishV3Music"
2256
end
2257
2258
--//=================================\\
2259
--\\=================================//
2260
2261
2262
2263
2264
2265
--//====================================================\\--
2266
--||			  		 END OF SCRIPT
2267
--\\====================================================//--