View difference between Paste ID: tALcYjHW and Va6rMfxN
SHOW: | | - or go back to the newest paste.
1-
plr = game:GetService("Players").LocalPlayer
1+
script.Name = "Ultimate Demon V2 / 1"
2-
char = plr.Character
2+
3-
hum = char.Humanoid
3+
--||			   EDIT BY VOYQGO
4-
local cam = game.Workspace.CurrentCamera
4+
5-
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
5+
6-
Camera = cam
6+
7-
local CamInterrupt = false
7+
8-
local TwoD = false
8+
9-
local TargetInfo = {nil, nil}
9+
10-
cam.CameraType = "Custom"
10+
11-
t = char.Torso
11+
12-
h = char.Head
12+
13-
ra = char["Right Arm"]
13+
14-
la = char["Left Arm"]
14+
15-
rl = char["Right Leg"]
15+
16-
ll = char["Left Leg"]
16+
	Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really red').Color),
17-
tors = char.Torso
17+
	Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really red').Color),
18-
lleg = char["Left Leg"]
18+
19-
root = char.HumanoidRootPart
19+
20-
hed = char.Head
20+
21-
rleg = char["Right Leg"]
21+
22-
rarm = char["Right Arm"]
22+
23-
larm = char["Left Arm"]
23+
24-
radian = math.rad
24+
25-
random = math.random
25+
26-
Vec3 = Vector3.new
26+
27-
Inst = Instance.new
27+
28-
cFrame = CFrame.new
28+
29-
Euler = CFrame.fromEulerAnglesXYZ
29+
30-
vt = Vector3.new
30+
31-
bc = BrickColor.new
31+
32-
br = BrickColor.random
32+
33-
it = Instance.new
33+
34-
cf = CFrame.new
34+
35-
local eff = true
35+
36-
local shielding = false
36+
37
	A2 = Instance.new('Attachment',Character['Right Arm'])
38-
local Booleans = {
38+
39-
  CamFollow = true,
39+
40-
  GyroUse = true
40+
41
Trail.Attachment1 = A1
42
Trail.Texture = TrailSettings.Texture
43-
function lerp(object, newCFrame, alpha)
43+
44-
  return object:lerp(newCFrame, alpha)
44+
45
local Trail2 = Trail:Clone()
46
Trail2.Parent = Character
47-
local Directer = Inst("BodyGyro", root)
47+
48-
Directer.MaxTorque = Vec3(0, 0, 0)
48+
49-
Directer.P = 600000
49+
50-
local CPart = Inst("Part")
50+
51-
CPart.Anchored = true
51+
52-
CPart.CanCollide = false
52+
53-
CPart.Locked = true
53+
54-
CPart.Transparency = 1
54+
55
local Trail7 = Trail:Clone()
56-
local rainbowmode = false
56+
57-
local chaosmode = false
57+
58
Trail7.Attachment1 = A3
59-
kan = Instance.new("Sound",char)
59+
60-
kan.Volume = 1.25
60+
61-
kan.TimePosition = 0
61+
62-
kan.PlaybackSpeed = 1
62+
63-
kan.Pitch = 1
63+
64-
kan.SoundId = "rbxassetid://0"
64+
65-
kan.Name = "wrecked"
65+
66-
kan.Looped = true
66+
67-
kan:Play()
67+
68
Trail.Attachment0 = A0
69-
function newTheme(ID,timepos,pitch,vol)
69+
70-
local kanz = kan
70+
71-
--kanz:Stop()
71+
72-
--kanz.Volume = vol
72+
73-
--kanz.TimePosition = timepos
73+
74-
kanz.PlaybackSpeed = pitch
74+
75-
kanz.Pitch = pitch
75+
76-
kanz.SoundId = ID
76+
77-
kanz.Name = "wrecked"
77+
78-
kanz.Looped = true
78+
79-
kanz.Volume = 0.3
79+
80-
--kanz:Play()
80+
81-
--coroutine.resume(coroutine.create(function()
81+
82-
--wait(0.05)
82+
83-
--end))
83+
84
Trail7.Parent = Character
85
Trail7.Attachment0 = A1
86-
function newThemeCust(ID,timepos,pitch,vol)
86+
87-
local kanz = kan
87+
88-
kanz:Stop()
88+
89-
kanz.Volume = vol
89+
90-
kanz.TimePosition = timepos
90+
91-
kanz.PlaybackSpeed = pitch
91+
92-
kanz.Pitch = pitch
92+
93-
kanz.SoundId = ID
93+
94-
kanz.Name = "wrecked"
94+
95-
kanz.Looped = true
95+
96-
kanz:Play()
96+
97
Trail6.Attachment1 = A2R
98-
wait(0.05)
98+
99
Trail7.Parent = Character
100
Trail7.Attachment0 = A1
101
Trail7.Attachment1 = A3R
102
end
103
end
104-
function CameraShake(Times, Power, PlayerTarget)
104+
105
--Lower Body Function
106-
FV = Instance.new("BoolValue", PlayerTarget)
106+
107-
FV.Name = "CameraShake"
107+
108-
for ShakeNum=1,Times do
108+
109-
swait()
109+
110-
local ef=Power
110+
111-
  if ef>=1 then
111+
112-
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
112+
113-
  else
113+
114-
   ef=Power*10
114+
115-
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
115+
116-
  end  
116+
117
Trail8.Parent = Character
118-
Humanoid.CameraOffset = Vector3.new(0,0,0)
118+
119-
FV:Destroy()
119+
120
Trail8.Color = TrailSettings.Color2
121
local Trail9 = Trail:Clone()
122
Trail9.Parent = Character
123-
function CameraEnshaking(Length,Intensity)
123+
124
Trail9.Attachment1 = A5
125-
      local intensity = 1*Intensity
125+
126-
      local rotM = 0.01*Intensity
126+
127-
for i = 0, Length, 0.1 do
127+
128-
swait()
128+
129-
intensity = intensity - 0.05*Intensity/Length
129+
130-
rotM = rotM - 0.0005*Intensity/Length
130+
131-
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
131+
132-
      cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
132+
133
		A4R = Instance.new('Attachment',Character['RightUpperLeg'])
134-
Humanoid.CameraOffset = Vec3(0, 0, 0)
134+
135
		A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
136
		local Trail4 = Trail:Clone()
137-
CamShake=function(Part,Distan,Power,Times)
137+
138-
local de=Part.Position
138+
139-
for i,v in pairs(workspace:children()) do
139+
140-
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
140+
141-
for _,c in pairs(v:children()) do
141+
142-
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
142+
143-
local Noob=v.Humanoid
143+
144-
if Noob~=nil then
144+
145
Trail8.Attachment1 = A4
146-
FV = Instance.new("BoolValue", Noob)
146+
147-
FV.Name = "CameraShake"
147+
148-
for ShakeNum=1,Times do
148+
149-
swait()
149+
150-
local ef=Power
150+
151-
  if ef>=1 then
151+
152-
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
152+
153-
  else
153+
154-
   ef=Power*10
154+
155-
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
155+
156-
  end  
156+
157
--R15 Trails
158-
Humanoid.CameraOffset = Vector3.new(0,0,0)
158+
159-
FV:Destroy()
159+
160
Trail3R.Attachment1 = A4R
161-
CameraShake(Times, Power, Noob)
161+
162
Trail4R.Parent = Character
163
Trail4R.Attachment1 = A5R
164
local Trail8 = Trail:Clone()
165
Trail8.Parent = Character
166
Trail8.Attachment0 = A2R
167
Trail8.Attachment1 = A4R
168
Trail8.Color = TrailSettings.Color2
169-
function chatfunc(text,color)
169+
170-
local chat = coroutine.wrap(function()
170+
171-
if Character:FindFirstChild("TalkingBillBoard")~= nil then
171+
172-
Character:FindFirstChild("TalkingBillBoard"):destroy()
172+
173
Trail9.Color = TrailSettings.Color2
174
local FT2R = Trail:Clone()
175-
naeeym2.Size = UDim2.new(0,100,0,40)
175+
176-
naeeym2.StudsOffset = Vector3.new(0,3,0)
176+
177
FT2R.Attachment1 = A5R
178-
naeeym2.Name = "TalkingBillBoard"
178+
179
end
180
end
181
182
--All Body Function calling Both Functions
183-
tecks2.Font = "SciFi"
183+
184
	UpperBody()
185
	LowerBody()
186-
tecks2.TextColor3 = color
186+
187-
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
187+
188
--Checking to make sure that Only some Variables are Selected else do All Body
189
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
190
	TrailSettings.UpperBodyOnly = false
191
	TrailSettings.LowerBodyOnly = false
192-
tecks3.Text = ""
192+
193-
tecks3.Font = "SciFi"
193+
194
	TrailSettings.LowerBodyOnly = false
195
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
196-
tecks3.TextColor3 = Color3.new(0,0,0)
196+
197-
tecks3.TextStrokeColor3 = color
197+
198-
tecks3.Size = UDim2.new(1,0,0.5,0)
198+
199
	TrailSettings.AllBody = true
200
	TrailSettings.UpperBodyOnly = false
201-
swait(1)
201+
202-
plr.Character.wrecked.Volume = 0.3
202+
203-
if chaosmode == true then
203+
204-
tecks2.TextColor3 = BrickColor.random().Color
204+
205-
tecks3.TextStrokeColor3 = BrickColor.random().Color
205+
206
	UpperBody()
207-
tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
207+
208-
tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
208+
209-
tecks2.Rotation = math.random(-5,5)
209+
210-
tecks3.Rotation = math.random(-5,5)
210+
211
elseif TrailSettings.AllBody == true then
212
	AllBody()
213-
for i = 1,string.len(text),1 do
213+
214-
CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
214+
215-
tecks2.Text = string.sub(text,1,i)
215+
216-
tecks3.Text = string.sub(text,1,i)
216+
217-
swait(1)
217+
218
for Index,Item in pairs(Character:GetChildren()) do
219-
wait(1)
219+
220-
local randomrot = math.random(1,2)
220+
221-
if randomrot == 1 then
221+
222-
for i = 1, 50 do
222+
223-
swait()
223+
224-
tecks2.Rotation = tecks2.Rotation - .75
224+
225-
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
225+
226-
tecks2.TextTransparency = tecks2.TextTransparency + .04
226+
227-
tecks3.Rotation = tecks2.Rotation + .75
227+
228-
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
228+
229-
tecks3.TextTransparency = tecks2.TextTransparency + .04
229+
230
	--Making an Invisible Platform Part
231-
elseif randomrot == 2 then
231+
232-
    for i = 1, 50 do
232+
233-
swait()
233+
234-
tecks2.Rotation = tecks2.Rotation + .75
234+
235-
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
235+
236-
tecks2.TextTransparency = tecks2.TextTransparency + .04
236+
237-
tecks3.Rotation = tecks2.Rotation - .75
237+
238-
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
238+
239-
tecks3.TextTransparency = tecks2.TextTransparency + .04
239+
240
		a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
241
	end)
242-
naeeym2:Destroy()
242+
243
else
244-
chat()
244+
245
	game:GetService('RunService').RenderStepped:connect(function()
246
		a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
247
	end)
248-
local Create = LoadLibrary("RbxUtility").Create
248+
249
end
250-
CFuncs = {
250+
251-
    ["Part"] = {
251+
252-
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
252+
253-
            local Part = Create("Part"){
253+
254-
                Parent = Parent,
254+
255-
                Reflectance = Reflectance,
255+
256-
                Transparency = Transparency,
256+
257-
                CanCollide = false,
257+
258-
                Locked = true,
258+
259-
                BrickColor = BrickColor.new(tostring(BColor)),
259+
260-
                Name = Name,
260+
261-
                Size = Size,
261+
262-
                Material = Material,
262+
263-
            }
263+
264-
            RemoveOutlines(Part)
264+
265-
            return Part
265+
266-
        end;
266+
267-
    };
267+
268-
   
268+
269-
    ["Mesh"] = {
269+
270-
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
270+
271-
            local Msh = Create(Mesh){
271+
272-
                Parent = Part,
272+
273-
                Offset = OffSet,
273+
274-
                Scale = Scale,
274+
275-
            }
275+
276-
            if Mesh == "SpecialMesh" then
276+
277-
                Msh.MeshType = MeshType
277+
278-
                Msh.MeshId = MeshId
278+
279-
            end
279+
280-
            return Msh
280+
281-
        end;
281+
282-
    };
282+
283-
   
283+
284-
    ["Mesh"] = {
284+
285-
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
285+
286-
            local Msh = Create(Mesh){
286+
287-
                Parent = Part,
287+
288-
                Offset = OffSet,
288+
289-
                Scale = Scale,
289+
290-
            }
290+
291-
            if Mesh == "SpecialMesh" then
291+
292-
                Msh.MeshType = MeshType
292+
293-
                Msh.MeshId = MeshId
293+
294-
            end
294+
295-
            return Msh
295+
296-
        end;
296+
297-
    };
297+
298-
   
298+
299-
    ["Weld"] = {
299+
300-
        Create = function(Parent, Part0, Part1, C0, C1)
300+
301-
            local Weld = Create("Weld"){
301+
302-
                Parent = Parent,
302+
303-
                Part0 = Part0,
303+
304-
                Part1 = Part1,
304+
305-
                C0 = C0,
305+
306-
                C1 = C1,
306+
307-
            }
307+
308-
            return Weld
308+
309-
        end;
309+
310-
    };
310+
311
Backpack = Player.Backpack
312-
    ["Sound"] = {
312+
313-
        Create = function(id, par, vol, pit)
313+
314-
            coroutine.resume(coroutine.create(function()
314+
315-
                local S = Create("Sound"){
315+
316-
                    Volume = vol,
316+
317-
                                        Name = "EffectSoundo",
317+
318-
                    Pitch = pit or 1,
318+
319-
                    SoundId = id,
319+
320-
                    Parent = par or workspace,
320+
321-
                }
321+
322-
                wait()
322+
323-
                S:play()
323+
324-
                game:GetService("Debris"):AddItem(S, 10)
324+
325-
            end))
325+
326-
        end;
326+
327-
    };
327+
328
RightHip = Torso["Right Hip"]
329-
["LongSound"] = {
329+
330-
        Create = function(id, par, vol, pit)
330+
331-
            coroutine.resume(coroutine.create(function()
331+
332-
                local S = Create("Sound"){
332+
333-
                    Volume = vol,
333+
334-
                    Pitch = pit or 1,
334+
335-
                    SoundId = id,
335+
336-
                    Parent = par or workspace,
336+
337-
                }
337+
338-
                wait()
338+
339-
                S:play()
339+
340-
                game:GetService("Debris"):AddItem(S, 30)
340+
341-
            end))
341+
342-
        end;
342+
343-
    };
343+
344-
   
344+
345-
    ["ParticleEmitter"] = {
345+
346-
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
346+
347-
            local fp = Create("ParticleEmitter"){
347+
348-
                Parent = Parent,
348+
349-
                Color = ColorSequence.new(Color1, Color2),
349+
350-
                LightEmission = LightEmission,
350+
351-
                Size = Size,
351+
352-
                Texture = Texture,
352+
353-
                Transparency = Transparency,
353+
354-
                ZOffset = ZOffset,
354+
355-
                Acceleration = Accel,
355+
356-
                Drag = Drag,
356+
357-
                LockedToPart = LockedToPart,
357+
358-
                VelocityInheritance = VelocityInheritance,
358+
359-
                EmissionDirection = EmissionDirection,
359+
360-
                Enabled = Enabled,
360+
361-
                Lifetime = LifeTime,
361+
362-
                Rate = Rate,
362+
363-
                Rotation = Rotation,
363+
364-
                RotSpeed = RotSpeed,
364+
365-
                Speed = Speed,
365+
366-
                VelocitySpread = VelocitySpread,
366+
367-
            }
367+
368-
            return fp
368+
369-
        end;
369+
370-
    };
370+
371
naeeym3.StudsOffset = Vector3.new(2,3,0)
372-
    CreateTemplate = {
372+
373-
   
373+
374-
    };
374+
375
local tecks3 = Instance.new("TextLabel",naeeym2)
376
tecks3.BackgroundTransparency = 1
377
tecks3.TextScaled = true
378
tecks3.BorderSizePixel = 0
379
tecks3.Text = "voyqgo"
380-
    local Object = Instance.new(Object)
380+
381-
    for Index, Value in pairs(Data or {}) do
381+
382-
        Object[Index] = Value
382+
383
tecks3.TextColor3 = Color3.fromRGB(0,1,0)
384-
    Object.Parent = Parent
384+
385-
    Object.Name = Name
385+
386-
    return Object
386+
387
388-
local halocolor = BrickColor.new("Dark blue")
388+
389-
local halocolor2 = BrickColor.new("Dark blue")
389+
390-
local starcolor = BrickColor.new("Dark blue")
390+
391-
local lunacolor = BrickColor.new("Dark blue")
391+
392-
local lunacolor2 = BrickColor.new("Dark blue")
392+
393-
local wepcolor = BrickColor.new("Dark blue")
393+
394-
local maincolor = BrickColor.new("Dark blue")
394+
395-
local m = Instance.new("Model",char)
395+
396-
local m2 = Instance.new("Model",char)
396+
397-
local m3 = Instance.new("Model",char)
397+
398-
local mw1 = Instance.new("Model",char)
398+
399-
local mw2 = Instance.new("Model",char)
399+
400
Head = Character["Head"]
401-
local extrawingmod1 = Instance.new("Model",char)
401+
402-
local extrawingmod2 = Instance.new("Model",char)
402+
403
RightLeg = Character["Right Leg"]
404-
function CreateParta(parent,transparency,reflectance,material,brickcolor)
404+
405-
local p = Instance.new("Part")
405+
406-
p.TopSurface = 0
406+
407-
p.BottomSurface = 0
407+
408-
p.Parent = parent
408+
409-
p.Size = Vector3.new(0.1,0.1,0.1)
409+
410-
p.Transparency = transparency
410+
411-
p.Reflectance = reflectance
411+
412-
p.CanCollide = false
412+
413-
p.Locked = true
413+
414-
p.BrickColor = brickcolor
414+
415-
p.Material = material
415+
416-
return p
416+
417
RAD = math.rad
418
C3 = Color3.new
419-
function CreateMesh(parent,meshtype,x1,y1,z1)
419+
420-
local mesh = Instance.new("SpecialMesh",parent)
420+
421-
mesh.MeshType = meshtype
421+
422-
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
422+
423-
return mesh
423+
424
ACOS = math.acos
425
SIN = math.sin
426-
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
426+
427-
local mesh = Instance.new("SpecialMesh",parent)
427+
428-
mesh.MeshType = "FileMesh"
428+
429-
mesh.MeshId = meshid
429+
430-
mesh.Scale = Vector3.new(x1,y1,z1)
430+
431-
return mesh
431+
432
--|| 	      USEFUL VALUES
433
--\\=================================//
434
435-
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
435+
436-
local mesh = Instance.new("SpecialMesh",parent)
436+
437-
mesh.MeshType = "FileMesh"
437+
438-
mesh.MeshId = meshid
438+
439-
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
439+
440-
mesh.Scale = Vector3.new(x1,y1,z1)
440+
441-
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
441+
442-
return mesh
442+
443
local DAMAGEMULTIPLIER = 1
444
local ANIM = "Idle"
445-
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
445+
446-
local weld = Instance.new("Weld")
446+
447-
weld.Parent = parent
447+
448-
weld.Part0 = part0
448+
449-
weld.Part1 = part1
449+
450-
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
450+
451-
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
451+
452-
return weld
452+
453
local WALKINGANIM = false
454
local VALUE1 = false
455
local VALUE2 = false
456-
--------------
456+
457-
local secondchar = Instance.new("Model",char)
457+
458-
local GhostCol = BrickColor.new("Dark blue")
458+
459-
local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
459+
460-
CreateMesh(sectors,"Brick",2*8,2*8,1*8)
460+
461-
local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
461+
462
local Weapon = IT("Model")
463-
local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
463+
464-
CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
464+
465-
local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
465+
466
local ANIMATOR = Humanoid.Animator
467-
local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
467+
468-
CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
468+
469-
local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
469+
470
script.Parent = PlayerGui
471-
local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
471+
472-
CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
472+
473-
local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
473+
474
475-
local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
475+
476-
CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
476+
477-
local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
477+
478
--\\=================================//
479-
local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
479+
480-
CreateMesh(seched,"Brick",1*8,1*8,1*8)
480+
481-
local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
481+
482-
--------------
482+
483-
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
483+
484-
CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
484+
485-
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
485+
486-
CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
486+
487
allowframeloss = false
488-
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
488+
489-
CreateMesh(handle,"Brick",0,0,0)
489+
490-
local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
490+
491-
local valuaring = 10
491+
492-
for i = 0, 49 do
492+
493-
    valuaring = valuaring + 10
493+
494-
rn = CreateParta(mw2,0,0,"Neon",halocolor)
494+
495-
CreateMesh(rn,"Brick",0.25,0.1,0.1)
495+
496-
CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
496+
497
			lastframe = tick()
498
		else
499-
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
499+
500-
CreateMesh(handle,"Brick",0,0,0)
500+
501-
CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
501+
502-
local valuaring = 10
502+
503-
for i = 0, 49 do
503+
504-
    valuaring = valuaring + 10
504+
505-
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
505+
506-
CreateMesh(rn,"Brick",0.5,0.2,0.2)
506+
507-
CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
507+
508
		end
509
	end
510
end)
511-
local handle = CreateParta(m,1,1,"Neon",maincolor)
511+
512-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
512+
513-
local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
513+
514
515-
--- Left wing.
515+
516
--|| 	      SOME FUNCTIONS
517-
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
517+
518-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
518+
519-
local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
519+
520
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
521-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
521+
522-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
522+
523-
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
523+
524-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
524+
525-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
525+
526-
CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
526+
527-
A0 = Instance.new('Attachment',wed)
527+
528-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
528+
529-
CreateMesh(wed,"Wedge",0.05,0.5,3)
529+
530-
CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
530+
531-
A1 = Instance.new('Attachment',wed)
531+
532-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
532+
533-
CreateMesh(wed,"Wedge",0.05,3,0.5)
533+
534-
CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
534+
535
end
536-
tl1 = Instance.new('Trail',wed)
536+
537-
tl1.Attachment0 = A0
537+
538-
tl1.Attachment1 = A1
538+
539-
--tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
539+
540-
tl1.LightEmission = 1
540+
541-
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
541+
542-
tl1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
542+
543-
tl1.Lifetime = 0.6
543+
544
	end
545
end
546-
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
546+
547-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
547+
548-
local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
548+
549
	if MESH == "SpecialMesh" then
550-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
550+
551-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
551+
552-
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
552+
553-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
553+
554-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
554+
555-
CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
555+
556-
A0 = Instance.new('Attachment',wed)
556+
557-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
557+
558-
CreateMesh(wed,"Wedge",0.05,0.5,3)
558+
559-
CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
559+
560-
A1 = Instance.new('Attachment',wed)
560+
561-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
561+
562-
CreateMesh(wed,"Wedge",0.05,3,0.5)
562+
563-
CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
563+
564
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
565-
tl2 = Instance.new('Trail',wed)
565+
566-
tl2.Attachment0 = A0
566+
567-
tl2.Attachment1 = A1
567+
568-
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
568+
569-
tl2.LightEmission = 1
569+
570-
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
570+
571-
tl2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
571+
572-
tl2.Lifetime = 0.6
572+
573
		NEWPART.Anchored = false
574-
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
574+
575-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
575+
576-
local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
576+
577
	NEWPART.Size = SIZE
578-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
578+
579-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
579+
580-
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
580+
581-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
581+
582-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
582+
583-
CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
583+
584-
A0 = Instance.new('Attachment',wed)
584+
585-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
585+
586-
CreateMesh(wed,"Wedge",0.05,0.5,3)
586+
587-
CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
587+
588-
A1 = Instance.new('Attachment',wed)
588+
589-
wed = CreateParta(mw1,0,0,"Neon",halocolor)
589+
590-
CreateMesh(wed,"Wedge",0.05,3,0.5)
590+
591-
CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
591+
592
	    return weldd
593-
tl3 = Instance.new('Trail',wed)
593+
594-
tl3.Attachment0 = A0
594+
595-
tl3.Attachment1 = A1
595+
596-
--tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
596+
597-
tl3.LightEmission = 1
597+
598-
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
598+
599-
tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
599+
600-
tl3.Lifetime = 0.6
600+
601
		local recip = 0.5 / s
602-
tl1.Enabled = false
602+
603-
tl2.Enabled = false
603+
604-
tl3.Enabled = false
604+
605-
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
605+
606-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
606+
607-
local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
607+
608
		if m22 > (i == 0 and m00 or m11) then
609-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
609+
610-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
610+
611-
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
611+
612-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
612+
613-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
613+
614-
CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
614+
615-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
615+
616-
CreateMesh(wed,"Wedge",0.05,0.5,3)
616+
617-
CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
617+
618-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
618+
619-
CreateMesh(wed,"Wedge",0.05,3,0.5)
619+
620-
CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
620+
621
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
622-
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
622+
623-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
623+
624-
local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
624+
625
 
626-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
626+
627-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
627+
628-
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
628+
629-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
629+
630-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
630+
631-
CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
631+
632-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
632+
633-
CreateMesh(wed,"Wedge",0.05,0.5,3)
633+
634-
CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
634+
635-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
635+
636-
CreateMesh(wed,"Wedge",0.05,3,0.5)
636+
637-
CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
637+
638
function QuaternionSlerp(a, b, t)
639-
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
639+
640-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
640+
641-
local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
641+
642
		if (1 - cosTheta) > 0.0001 then
643-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
643+
644-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
644+
645-
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
645+
646-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
646+
647-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
647+
648-
CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
648+
649-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
649+
650-
CreateMesh(wed,"Wedge",0.05,0.5,3)
650+
651-
CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
651+
652-
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
652+
653-
CreateMesh(wed,"Wedge",0.05,3,0.5)
653+
654-
CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
654+
655
			startInterp = SIN((t - 1) * theta) * invSinTheta
656-
-- Right wing.
656+
657
		else
658-
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
658+
659-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
659+
660-
local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
660+
661
	end
662-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
662+
663-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
663+
664-
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
664+
665-
A0 = Instance.new('Attachment',wed)
665+
666-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
666+
667-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
667+
668-
CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
668+
669-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
669+
670-
CreateMesh(wed,"Wedge",0.05,0.5,3)
670+
671-
CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
671+
672-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
672+
673-
CreateMesh(wed,"Wedge",0.05,3,0.5)
673+
674-
CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
674+
675-
A1 = Instance.new('Attachment',wed)
675+
676
	frame.BackgroundTransparency = TRANSPARENCY
677-
tr1 = Instance.new('Trail',wed)
677+
678-
tr1.Attachment0 = A0
678+
679-
tr1.Attachment1 = A1
679+
680-
--tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
680+
681-
tr1.LightEmission = 1
681+
682-
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
682+
683-
tr1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
683+
684-
tr1.Lifetime = 0.6
684+
685
end
686-
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
686+
687-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
687+
688-
local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
688+
689
	label.BackgroundTransparency = 1
690-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
690+
691-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
691+
692-
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
692+
693-
A0 = Instance.new('Attachment',wed)
693+
694-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
694+
695-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
695+
696-
CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
696+
697-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
697+
698-
CreateMesh(wed,"Wedge",0.05,0.5,3)
698+
699-
CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
699+
700-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
700+
701-
CreateMesh(wed,"Wedge",0.05,3,0.5)
701+
702-
CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
702+
703-
A1 = Instance.new('Attachment',wed)
703+
704
705-
tr2 = Instance.new('Trail',wed)
705+
706-
tr2.Attachment0 = A0
706+
707-
tr2.Attachment1 = A1
707+
708-
--tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
708+
709-
tr2.LightEmission = 1
709+
710-
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
710+
711-
tr2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
711+
712-
tr2.Lifetime = 0.6
712+
713
	NEWWELD.C0 = C0
714-
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
714+
715-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
715+
716-
local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
716+
717
end
718-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
718+
719-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
719+
720-
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
720+
721-
A0 = Instance.new('Attachment',wed)
721+
722-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
722+
723-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
723+
724-
CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
724+
725-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
725+
726-
CreateMesh(wed,"Wedge",0.05,0.5,3)
726+
727-
CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
727+
728-
wed = CreateParta(mw2,0,0,"Neon",halocolor)
728+
729-
CreateMesh(wed,"Wedge",0.05,3,0.5)
729+
730-
CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
730+
731-
A1 = Instance.new('Attachment',wed)
731+
732
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
733-
tr3 = Instance.new('Trail',wed)
733+
734-
tr3.Attachment0 = A0
734+
735-
tr3.Attachment1 = A1
735+
736-
--tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
736+
737-
tr3.LightEmission = 1
737+
738-
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
738+
739-
tr3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
739+
740-
tr3.Lifetime = 0.6
740+
741
	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)
742
end
743-
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
743+
744-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
744+
745-
local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
745+
746
	local TYPE = (Table.EffectType or "Sphere")
747-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
747+
748-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
748+
749-
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
749+
750-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
750+
751-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
751+
752-
CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
752+
753-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
753+
754-
CreateMesh(wed,"Wedge",0.05,0.5,3)
754+
755-
CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
755+
756-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
756+
757-
CreateMesh(wed,"Wedge",0.05,3,0.5)
757+
758-
CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
758+
759
	local SOUNDID = (Table.SoundID or nil)
760-
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
760+
761-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
761+
762-
local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
762+
763
		local PLAYSSOUND = false
764-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
764+
765-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
765+
766-
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
766+
767-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
767+
768-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
768+
769-
CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
769+
770-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
770+
771-
CreateMesh(wed,"Wedge",0.05,0.5,3)
771+
772-
CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
772+
773-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
773+
774-
CreateMesh(wed,"Wedge",0.05,3,0.5)
774+
775-
CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
775+
776
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
777-
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
777+
778-
CreateMesh(handle,"Brick",0.5,0.5,0.5)
778+
779-
local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
779+
780
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
781-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
781+
782-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
782+
783-
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
783+
784-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
784+
785-
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
785+
786-
CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
786+
787-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
787+
788-
CreateMesh(wed,"Wedge",0.05,0.5,3)
788+
789-
CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
789+
790-
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
790+
791-
CreateMesh(wed,"Wedge",0.05,3,0.5)
791+
792-
CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
792+
793
			local MOVESPEED = nil
794
			if MOVEDIRECTION ~= nil then
795-
--||			   CREATED BY SHACKLUSTER
795+
796
			end
797
			local GROWTH = SIZE - ENDSIZE
798
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
799
			if TYPE == "Block" then
800
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
801
			else
802
				EFFECT.CFrame = CFRAME
803
			end
804
			for LOOP = 1, TIME+1 do
805
				Swait()
806
				MSH.Scale = MSH.Scale - GROWTH/TIME
807
				if TYPE == "Wave" then
808-
	Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really blue').Color),
808+
809-
	Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really blue').Color),
809+
810
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
811
				if TYPE == "Block" then
812
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
813
				else
814
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
815
				end
816
				if MOVEDIRECTION ~= nil then
817
					local ORI = EFFECT.Orientation
818
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
819
					EFFECT.Orientation = ORI
820
				end
821
			end
822
			if PLAYSSOUND == false then
823
				EFFECT:remove()
824
			else
825
				SOUND.Stopped:Connect(function()
826
					EFFECT:remove()
827
				end)
828
			end
829
		else
830
			if PLAYSSOUND == false then
831
				EFFECT:remove()
832
			else
833
				repeat Swait() until SOUND.Playing == false
834
				EFFECT:remove()
835
			end
836
		end
837
	end))
838
end
839
840
function MakeForm(PART,TYPE)
841
	if TYPE == "Cyl" then
842
		local MSH = IT("CylinderMesh",PART)
843
	elseif TYPE == "Ball" then
844
		local MSH = IT("SpecialMesh",PART)
845
		MSH.MeshType = "Sphere"
846
	elseif TYPE == "Wedge" then
847
		local MSH = IT("SpecialMesh",PART)
848
		MSH.MeshType = "Wedge"
849
	end
850
end
851
852
function SpawnTrail(FROM,TO,BIG)
853
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
854
	MakeForm(TRAIL,"Cyl")
855
	local DIST = (FROM - TO).Magnitude
856
	if BIG == true then
857
		TRAIL.Size = VT(0.5,DIST,0.5)
858
	else
859
		TRAIL.Size = VT(0.25,DIST,0.25)
860
	end
861
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
862
	coroutine.resume(coroutine.create(function()
863
		for i = 1, 5 do
864
			Swait()
865
			TRAIL.Transparency = TRAIL.Transparency + 0.1
866
		end
867
		TRAIL:remove()
868
	end))
869
end
870
871
Debris = game:GetService("Debris")
872
873
function CastProperRay(StartPos, EndPos, Distance, Ignore)
874
	local DIRECTION = CF(StartPos,EndPos).lookVector
875
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
876
end
877
878
function turnto(position)
879
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
880
end
881
local asd = Instance.new("ParticleEmitter")
882
asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
883
asd.LightEmission = .1
884
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
885
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
886
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
887
asd.Transparency = bbb
888
asd.Size = aaa
889
asd.ZOffset = .9
890
asd.Acceleration = Vector3.new(0, -15, 0)
891
asd.LockedToPart = false
892
asd.EmissionDirection = "Back"
893
asd.Lifetime = NumberRange.new(1, 2)
894
asd.Rotation = NumberRange.new(-100, 100)
895
asd.RotSpeed = NumberRange.new(-100, 100)
896
asd.Speed = NumberRange.new(10)
897
asd.Enabled = false
898
asd.VelocitySpread = 999
899
900
function getbloody(victim,amount)
901
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
902
	PART.CFrame = victim.CFrame
903
	local HITPLAYERSOUNDS = {"356551938","264486467"}
904
	Debris:AddItem(PART,5)
905
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
906
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
907
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
908
	local prtcl = asd:Clone()
909
	prtcl.Parent = PART
910
	prtcl:Emit(amount*10)
911
end
912
913
local Particle = IT("ParticleEmitter",nil)
914
Particle.Enabled = false
915
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
916
Particle.LightEmission = 0.5
917
Particle.Rate = 150
918
Particle.ZOffset = 1
919
Particle.Rotation = NumberRange.new(-180, 180)
920
Particle.RotSpeed = NumberRange.new(-180, 180)
921
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
922
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
923
924
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
925
function ParticleEmitter(Table)
926
	local PRTCL = Particle:Clone()
927
	local Speed = Table.Speed or 5
928
	local Drag = Table.Drag or 0
929
	local Size1 = Table.Size1 or 1
930
	local Size2 = Table.Size2 or 5
931
	local Lifetime1 = Table.Lifetime1 or 1
932
	local Lifetime2 = Table.Lifetime2 or 1.5
933
	local Parent = Table.Parent or Torso
934
	local Emit = Table.Emit or 100
935
	local Offset = Table.Offset or 360
936
	local Acel = Table.Acel or VT(0,0,0)
937
	local Enabled = Table.Enabled or false
938
	PRTCL.Parent = Parent
939
	PRTCL.Size = NumberSequence.new(Size1,Size2)
940
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
941
	PRTCL.Speed = NumberRange.new(Speed)
942
	PRTCL.VelocitySpread = Offset
943
	PRTCL.Drag = Drag
944
	PRTCL.Acceleration = Acel
945
	if Enabled == false then
946
		PRTCL:Emit(Emit)
947
		Debris:AddItem(PRTCL,Lifetime2)
948
	else
949
		PRTCL.Enabled = true
950
	end
951
	return PRTCL
952
end
953
954
955
--//=================================\\
956
--||	     WEAPON CREATION
957
--\\=================================//
958
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
959
txtfag.Adornee = suckadick
960
txtfag.Name = "kys nigga"
961
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
962
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
963
local textfag = Instance.new("TextLabel", txtfag)
964
textfag.Size = UDim2.new(6, 0, 1, 0)
965
textfag.FontSize = "Size8"
966
textfag.TextScaled = true
967
textfag.TextTransparency = 0
968
textfag.BackgroundTransparency = 1
969
textfag.TextTransparency = 0
970
textfag.TextStrokeTransparency = 0
971
textfag.Font = "Cartoon"
972
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
973
v = Instance.new("Part")
974
v.Name = "ColorBrick"
975
v.Parent = part
976
v.FormFactor = "Symmetric"
977
v.Anchored = true
978
v.CanCollide = false
979
v.BottomSurface = "Smooth"
980
v.TopSurface = "Smooth"
981
v.Size = Vector3.new(10, 5, 3)
982
v.Transparency = 0.7
983
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
984
v.Transparency = 1
985
textfag.TextColor3 = v.BrickColor.Color
986
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
987
v.Shape = "Block"
988
textfag.Text = "Script Edit By voyqgo"
989
wait(2)
990
textfag.Text = "Ultimate Demon"
991
wait(0.3)
992
function sandbox(var,func)
993
	local env = getfenv(func)
994
	local newenv = setmetatable({},{
995
		__index = function(self,k)
996
			if k=="script" then
997
				return var
998
			else
999
				return env[k]
1000
			end
1001
		end,
1002
	})
1003
	setfenv(func,newenv)
1004
	return func
1005
end
1006
cors = {}
1007
mas = Instance.new("Model",game:GetService("Lighting"))
1008
Model0 = Instance.new("Model")
1009
Part1 = Instance.new("Part")
1010
Weld2 = Instance.new("Weld")
1011
Part3 = Instance.new("Part")
1012
Decal4 = Instance.new("Decal")
1013
Decal5 = Instance.new("Decal")
1014
Model0.Name = "Flagloldiefurshits"
1015
Model0.Parent = mas
1016
Part1.Name = "Stick"
1017
Part1.Parent = Model0
1018
Part1.Material = Enum.Material.Wood
1019
Part1.BrickColor = BrickColor.new("Really blue")
1020
Part1.Rotation = Vector3.new(0, 0, 126)
1021
Part1.Shape = Enum.PartType.Cylinder
1022
Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
1023
Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
1024
Part1.BottomSurface = Enum.SurfaceType.Smooth
1025
Part1.TopSurface = Enum.SurfaceType.Smooth
1026
Part1.Color = Color3.new(255, 0, 0)
1027
Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
1028
Part1.Orientation = Vector3.new(0, 0, 126)
1029
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
1030
Weld2.Parent = Part1
1031
Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1)
1032
Weld2.Part0 = Part1
1033
Weld2.Part1 = Part3
1034
Part3.Name = "Flag"
1035
Part3.Parent = Model0
1036
Part3.BrickColor = BrickColor.new("Really black")
1037
Part3.Rotation = Vector3.new(0, 0, 36)
1038
Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
1039
Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
1040
Part3.BottomSurface = Enum.SurfaceType.Smooth
1041
Part3.Color = Color3.new(255, 0, 0)
1042
Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
1043
Part3.Orientation = Vector3.new(0, 0, 36)
1044
Part3.Color = Color3.new(255, 0, 0)
1045
Decal4.Parent = Part3
1046
Decal4.Texture = "rbxassetid://1150731665"
1047
Decal5.Name = "Decal1"
1048
Decal5.Parent = Part3
1049
Decal5.Texture = "rbxassetid://1150731665"
1050
Decal5.Face = Enum.NormalId.Back
1051
for i,v in pairs(mas:GetChildren()) do
1052
	v.Parent = game:GetService("Players").LocalPlayer.Character
1053
	pcall(function() v:MakeJoints() end)
1054
end
1055
mas:Destroy()
1056
for i,v in pairs(cors) do
1057
	spawn(function()
1058
		pcall(v)
1059
	end)
1060
end
1061
1062
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1063
MakeForm(LeftHole,"Cyl")
1064
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1065
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1066
MakeForm(Eye,"Ball")
1067
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1068
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1069
MakeForm(Eye,"Ball")
1070
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1071
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1072
MakeForm(Eye,"Ball")
1073
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1074
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1075
MakeForm(Eye,"Ball")
1076
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1077
local A = IT("Attachment",Torso)
1078
A.Position = VT(1,1.3,0)
1079
A.Orientation = VT(-0.098, -89.999, 0.227)
1080
local B = IT("Attachment",Torso)
1081
B.Position = VT(-1.3,-0.6,0)
1082
B.Orientation = VT(-88.911, -68.808, 158.782)
1083
local ChainLink = IT("Beam",Torso)
1084
ChainLink.Texture = "rbxassetid://343533707"
1085
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1086
ChainLink.TextureSpeed = 1
1087
ChainLink.FaceCamera = true
1088
ChainLink.Width0 = 1
1089
ChainLink.Width1 = 1
1090
ChainLink.TextureLength = 3
1091
ChainLink.Attachment0 = A
1092
ChainLink.Attachment1 = B
1093
ChainLink.CurveSize0 = 1.6
1094
ChainLink.CurveSize1 = 1.6
1095
ChainLink.FaceCamera = true
1096
ChainLink.Transparency = NumberSequence.new(0)
1097
local ChainLink = IT("Beam",Torso)
1098
ChainLink.Texture = "rbxassetid://343533707"
1099
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1100
ChainLink.TextureSpeed = 1
1101
ChainLink.FaceCamera = true
1102
ChainLink.Width0 = 1
1103
ChainLink.Width1 = 1
1104
ChainLink.TextureLength = 3
1105
ChainLink.Attachment0 = B
1106
ChainLink.Attachment1 = A
1107
ChainLink.CurveSize0 = 1.6
1108
ChainLink.CurveSize1 = 1.6
1109
ChainLink.FaceCamera = true
1110
ChainLink.Transparency = NumberSequence.new(0)
1111
local A = IT("Attachment",Torso)
1112
A.Position = VT(1.3,-0.85,0)
1113
A.Orientation = VT(-0.098, -89.999, 0.227)
1114
local B = IT("Attachment",Torso)
1115
B.Position = VT(-1,2,0)
1116
B.Orientation = VT(-88.911, -68.808, 158.782)
1117
local ChainLink = IT("Beam",Torso)
1118
ChainLink.Texture = "rbxassetid://343533707"
1119
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1120
ChainLink.TextureSpeed = 1
1121
ChainLink.FaceCamera = true
1122
ChainLink.Width0 = 1
1123
ChainLink.Width1 = 1
1124
ChainLink.TextureLength = 3
1125
ChainLink.Attachment0 = A
1126
ChainLink.Attachment1 = B
1127
ChainLink.CurveSize0 = 1.3
1128
ChainLink.CurveSize1 = 1.3
1129
ChainLink.FaceCamera = true
1130
ChainLink.Transparency = NumberSequence.new(0)
1131
local ChainLink = IT("Beam",Torso)
1132
ChainLink.Texture = "rbxassetid://343533707"
1133
ChainLink.Color = ColorSequence.new(C3(0,1,0))
1134
ChainLink.TextureSpeed = 1
1135
ChainLink.FaceCamera = true
1136
ChainLink.Width0 = 1
1137
ChainLink.Width1 = 1
1138
ChainLink.TextureLength = 3
1139
ChainLink.Attachment0 = B
1140
ChainLink.Attachment1 = A
1141
ChainLink.CurveSize0 = 1.3
1142
ChainLink.CurveSize1 = 1.3
1143
ChainLink.FaceCamera = true
1144
ChainLink.Transparency = NumberSequence.new(0)
1145
1146
local A = IT("Attachment",RightBarrel)
1147
A.Position = VT(0,-2.5,0)
1148
local B = IT("Attachment",RightBarrel)
1149
B.Position = VT(0,2.5,0)
1150
local Trail = IT("Trail",RightBarrel)
1151
Trail.Attachment0 = A
1152
Trail.Attachment1 = B
1153
Trail.Lifetime = 0.2
1154
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1155
Trail.Transparency = NumberSequence.new(0, 1)
1156
Trail.Enabled = false
1157
1158
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
1159
PRT.LockedToPart = true
1160
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
1161
PRT.LockedToPart = true
1162
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
1163
PRT.LockedToPart = true
1164
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
1165
PRT.LockedToPart = true
1166
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
1167
PRT.LockedToPart = true
1168
for _, c in pairs(Character:GetDescendants()) do
1169
	if c and c.Parent then
1170
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1171
			local ACCESSORY = c.Parent
1172
			c.Parent = Character
1173
			if c then
1174
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1175
					weldBetween(Head,c)
1176
				else
1177
					weldBetween(Torso,c)
1178
				end
1179
			end
1180
		end
1181
	end
1182
end
1183
local BODY = {}
1184
for _, c in pairs(Character:GetDescendants()) do
1185
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1186
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1187
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1188
		end
1189
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1190
	elseif c:IsA("JointInstance") then
1191
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1192
	end
1193
end
1194
function refit()
1195
	Character.Parent = workspace
1196
	for e = 1, #BODY do
1197
		if BODY[e] ~= nil then
1198
			local STUFF = BODY[e]
1199
			local PART = STUFF[1]
1200
			local PARENT = STUFF[2]
1201
			local MATERIAL = STUFF[3]
1202
			local COLOR = STUFF[4]
1203
			local TRANSPARENCY = STUFF[5]
1204
			--local SIZE = STUFF[6]
1205
			local NAME = STUFF[7]
1206
			if PART.ClassName == "Part" and PART ~= RootPart then
1207
				PART.Material = MATERIAL
1208
				PART.Transparency = TRANSPARENCY
1209
				PART.Name = NAME
1210
			end
1211
			if PART.Parent ~= PARENT then
1212
				Humanoid:remove()
1213
				PART.Parent = PARENT
1214
				Humanoid = IT("Humanoid",Character)
1215
			end
1216
		end
1217
	end
1218
end
1219
1220
1221
--[[
1222
		Thanks for using Build-To-Lua by jarredbcv.
1223
]]--
1224
1225
New = function(Object, Parent, Name, Data)
1226
	local Object = Instance.new(Object)
1227
	for Index, Value in pairs(Data or {}) do
1228
		Object[Index] = Value
1229
	end
1230
	Object.Parent = Parent
1231
	Object.Name = Name
1232
	return Object
1233
end
1234
1235
1236
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1237
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),})
1238
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1239
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),})
1240
1241
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1242
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),})
1243
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1244
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),})
1245
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1246
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),})
1247
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1248
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),})
1249
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
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.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),})
1251
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
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.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),})
1253
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
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.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),})
1255
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1256
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),})
1257
1258
Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Really red"),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),})
1259
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),})
1260
1261
1262
1263
for i = 1, 35 do
1264
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
1265
	FACE.Color = C3(0,0,0)
1266
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1267
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
1268
end
1269
1270
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1271
MakeForm(Eye,"Ball")
1272
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1273
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1274
MakeForm(Eye,"Ball")
1275
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1276
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1277
MakeForm(Eye,"Ball")
1278
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1279
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1280
MakeForm(Eye,"Ball")
1281
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1282
1283
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(1.01,0.3,1.01),false)
1284
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1285
for i = 1, 3 do
1286
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
1287
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
1288
	MakeForm(Part,"Cyl")
1289
end
1290
for i = 1, 3 do
1291
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
1292
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
1293
	MakeForm(Part,"Cyl")
1294
end
1295
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
1296
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
1297
MakeForm(Part,"Wedge")
1298
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
1299
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
1300
MakeForm(Part,"Wedge")
1301
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1302
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
1303
MakeForm(Part,"Wedge")
1304
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
1305
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
1306
MakeForm(Part,"Wedge")
1307
1308
1309
1310
1311
1312
1313
1314
for _, c in pairs(Weapon:GetChildren()) do
1315
	if c.ClassName == "Part" then
1316
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1317
		local AURA = c:Clone()
1318
		AURA:BreakJoints()
1319
		AURA.Parent = c
1320
		AURA.CFrame = c.CFrame
1321
		AURA.Size = AURA.Size*1.001
1322
		AURA.Transparency = 0.8
1323
		AURA.BrickColor = BRICKC"Really red"
1324
		AURA.Material = "Neon"
1325
		weldBetween(c,AURA)
1326
	end
1327
end
1328
1329
Humanoid.DisplayDistanceType = "None"
1330
local naeeym2 = IT("BillboardGui",Character)
1331
naeeym2.AlwaysOnTop = true
1332
naeeym2.Size = UDim2.new(5,35,2,15)
1333
naeeym2.StudsOffset = Vector3.new(0,2,0)
1334
naeeym2.MaxDistance = 75
1335
naeeym2.Adornee = Character.Head
1336
naeeym2.Name = "Name"
1337
local tecks2 = IT("TextLabel",naeeym2)
1338
tecks2.BackgroundTransparency = 1
1339
tecks2.TextScaled = true
1340
tecks2.BorderSizePixel = 0
1341
tecks2.Text = ""
1342
tecks2.Font = "Fantasy"
1343
tecks2.TextSize = 30
1344
tecks2.TextStrokeTransparency = 0
1345
tecks2.TextColor3 = C3(0,1,0)
1346
tecks2.TextStrokeColor3 = C3(255, 0, 0)
1347
tecks2.Size = UDim2.new(1,0,0.5,0)
1348
tecks2.Parent = naeeym2
1349
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1350
MakeForm(LeftHole,"Cyl")
1351
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1352
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1353
MakeForm(Eye,"Ball")
1354
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1355
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1356
MakeForm(Eye,"Ball")
1357
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1358
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1359
MakeForm(Eye,"Ball")
1360
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1361
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1362
MakeForm(Eye,"Ball")
1363
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1364
local A = IT("Attachment",Torso)
1365
A.Position = VT(1,1.3,0)
1366
A.Orientation = VT(-0.098, -89.999, 0.227)
1367
local B = IT("Attachment",Torso)
1368
B.Position = VT(-1.3,-0.6,0)
1369
B.Orientation = VT(-88.911, -68.808, 158.782)
1370
local ChainLink = IT("Beam",Torso)
1371
ChainLink.Texture = "rbxassetid://343533707"
1372
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1373
ChainLink.TextureSpeed = 1
1374
ChainLink.FaceCamera = true
1375
ChainLink.Width0 = 1
1376
ChainLink.Width1 = 1
1377
ChainLink.TextureLength = 3
1378
ChainLink.Attachment0 = A
1379
ChainLink.Attachment1 = B
1380
ChainLink.CurveSize0 = 1.6
1381
ChainLink.CurveSize1 = 1.6
1382
ChainLink.FaceCamera = true
1383
ChainLink.Transparency = NumberSequence.new(0)
1384
local ChainLink = IT("Beam",Torso)
1385
ChainLink.Texture = "rbxassetid://343533707"
1386
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1387
ChainLink.TextureSpeed = 1
1388
ChainLink.FaceCamera = true
1389
ChainLink.Width0 = 1
1390
ChainLink.Width1 = 1
1391
ChainLink.TextureLength = 3
1392
ChainLink.Attachment0 = B
1393
ChainLink.Attachment1 = A
1394
ChainLink.CurveSize0 = 1.6
1395
ChainLink.CurveSize1 = 1.6
1396
ChainLink.FaceCamera = true
1397
ChainLink.Transparency = NumberSequence.new(0)
1398
local A = IT("Attachment",Torso)
1399
A.Position = VT(1.3,-0.85,0)
1400
A.Orientation = VT(-0.098, -89.999, 0.227)
1401
local B = IT("Attachment",Torso)
1402
B.Position = VT(-1,2,0)
1403
B.Orientation = VT(-88.911, -68.808, 158.782)
1404
local ChainLink = IT("Beam",Torso)
1405
ChainLink.Texture = "rbxassetid://343533707"
1406
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1407
ChainLink.TextureSpeed = 1
1408
ChainLink.FaceCamera = true
1409
ChainLink.Width0 = 1
1410
ChainLink.Width1 = 1
1411
ChainLink.TextureLength = 3
1412
ChainLink.Attachment0 = A
1413
ChainLink.Attachment1 = B
1414
ChainLink.CurveSize0 = 1.3
1415
ChainLink.CurveSize1 = 1.3
1416
ChainLink.FaceCamera = true
1417
ChainLink.Transparency = NumberSequence.new(0)
1418
local ChainLink = IT("Beam",Torso)
1419
ChainLink.Texture = "rbxassetid://343533707"
1420
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1421
ChainLink.TextureSpeed = 1
1422
ChainLink.FaceCamera = true
1423
ChainLink.Width0 = 1
1424
ChainLink.Width1 = 1
1425
ChainLink.TextureLength = 3
1426
ChainLink.Attachment0 = B
1427
ChainLink.Attachment1 = A
1428
ChainLink.CurveSize0 = 1.3
1429
ChainLink.CurveSize1 = 1.3
1430
ChainLink.FaceCamera = true
1431
ChainLink.Transparency = NumberSequence.new(0)
1432
1433
local A = IT("Attachment",RightBarrel)
1434
A.Position = VT(0,-2.5,0)
1435
local B = IT("Attachment",RightBarrel)
1436
B.Position = VT(0,2.5,0)
1437
local Trail = IT("Trail",RightBarrel)
1438
Trail.Attachment0 = A
1439
Trail.Attachment1 = B
1440
Trail.Lifetime = 0.2
1441
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1442
Trail.Transparency = NumberSequence.new(0, 1)
1443
Trail.Enabled = false
1444
1445
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
1446
PRT.LockedToPart = true
1447
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
1448
PRT.LockedToPart = true
1449
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
1450
PRT.LockedToPart = true
1451
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
1452
PRT.LockedToPart = true
1453
local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
1454
PRT.LockedToPart = true
1455
for _, c in pairs(Character:GetDescendants()) do
1456
	if c and c.Parent then
1457
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1458
			local ACCESSORY = c.Parent
1459
			c.Parent = Character
1460
			if c then
1461
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1462
					weldBetween(Head,c)
1463
				else
1464
					weldBetween(Torso,c)
1465
				end
1466
			end
1467
		end
1468
	end
1469
end
1470
local BODY = {}
1471
for _, c in pairs(Character:GetDescendants()) do
1472
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1473
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1474
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1475
		end
1476
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1477
	elseif c:IsA("JointInstance") then
1478
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1479
	end
1480
end
1481
function refit()
1482
	Character.Parent = workspace
1483
	for e = 1, #BODY do
1484
		if BODY[e] ~= nil then
1485
			local STUFF = BODY[e]
1486
			local PART = STUFF[1]
1487
			local PARENT = STUFF[2]
1488
			local MATERIAL = STUFF[3]
1489
			local COLOR = STUFF[4]
1490
			local TRANSPARENCY = STUFF[5]
1491
			--local SIZE = STUFF[6]
1492
			local NAME = STUFF[7]
1493
			if PART.ClassName == "Part" and PART ~= RootPart then
1494
				PART.Material = MATERIAL
1495
				PART.Transparency = TRANSPARENCY
1496
				PART.Name = NAME
1497
			end
1498
			if PART.Parent ~= PARENT then
1499
				Humanoid:remove()
1500
				PART.Parent = PARENT
1501
				Humanoid = IT("Humanoid",Character)
1502
			end
1503
		end
1504
	end
1505
end
1506
1507
1508
local Particle = IT("ParticleEmitter",nil)
1509
Particle.Enabled = false
1510
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1511
Particle.LightEmission = 0.5
1512
Particle.Rate = 150
1513
Particle.ZOffset = 0.2
1514
Particle.Rotation = NumberRange.new(-180, 180)
1515
Particle.RotSpeed = NumberRange.new(-180, 180)
1516
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1517
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
1518
1519
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1520
function ParticleEmitter(Table)
1521
	local PRTCL = Particle:Clone()
1522
	local Speed = Table.Speed or 5
1523
	local Drag = Table.Drag or 0
1524
	local Size1 = Table.Size1 or 1
1525
	local Size2 = Table.Size2 or 5
1526
	local Lifetime1 = Table.Lifetime1 or 1
1527
	local Lifetime2 = Table.Lifetime2 or 1.5
1528
	local Parent = Table.Parent or Torso
1529
	local Emit = Table.Emit or 100
1530
	local Offset = Table.Offset or 360
1531
	local Acel = Table.Acel or VT(0,0,0)
1532
	local Enabled = Table.Enabled or false
1533
	PRTCL.Parent = Parent
1534
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1535
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1536
	PRTCL.Speed = NumberRange.new(Speed)
1537
	PRTCL.VelocitySpread = Offset
1538
	PRTCL.Drag = Drag
1539
	PRTCL.Acceleration = Acel
1540
	if Enabled == false then
1541
		PRTCL:Emit(Emit)
1542
		Debris:AddItem(PRTCL,Lifetime2)
1543
	else
1544
		PRTCL.Enabled = true
1545
	end
1546
	return PRTCL
1547
end
1548
1549
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1550
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1551
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1552
MakeForm(Part,"Wedge")
1553
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1554
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1555
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1556
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1557
MakeForm(Part,"Cyl")
1558
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1559
for i = 1, 8 do
1560
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1561
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1562
end
1563
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1564
MakeForm(Part,"Wedge")
1565
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1566
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1567
MakeForm(Part,"Cyl")
1568
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1569
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1570
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1571
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1572
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1573
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red, "Part", VT(0.2,0,0.6),false)
1574
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1575
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1576
MakeForm(RightBarrel,"Cyl")
1577
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1578
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1579
MakeForm(Part,"Wedge")
1580
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1581
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1582
MakeForm(RightHole,"Cyl")
1583
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
1584
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
1585
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
1586
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
1587
MakeForm(Part,"Wedge")
1588
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1589
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
1590
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1591
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1592
MakeForm(Part,"Cyl")
1593
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1594
for i = 1, 8 do
1595
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1596
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1597
end
1598
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1599
MakeForm(Part,"Wedge")
1600
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1601
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
1602
MakeForm(Part,"Cyl")
1603
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1604
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1605
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1606
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
1607
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1608
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
1609
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
1610
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
1611
MakeForm(LeftBarrel,"Cyl")
1612
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
1613
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
1614
MakeForm(Part,"Wedge")
1615
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1616
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
1617
MakeForm(LeftHole,"Cyl")
1618
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1619
1620
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false)
1621
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1622
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1623
MakeForm(Part,"Wedge")
1624
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1625
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false)
1626
MakeForm(Part,"Wedge")
1627
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1628
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false)
1629
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1630
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
1631
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1632
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
1633
MakeForm(Part,"Cyl")
1634
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1635
for i = 1, 8 do
1636
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
1637
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1638
end
1639
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false)
1640
MakeForm(Part,"Cyl")
1641
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1642
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false)
1643
MakeForm(Part,"Ball")
1644
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1645
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false)
1646
MakeForm(Part,"Wedge")
1647
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1648
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false)
1649
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1650
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false)
1651
MakeForm(Part,"Cyl")
1652
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1653
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false)
1654
MakeForm(Part,"Cyl")
1655
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1656
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false)
1657
MakeForm(Part,"Cyl")
1658
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1659
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
1660
MakeForm(Part,"Wedge")
1661
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1662
local LASTPART = Handle
1663
for i = 1, 10 do
1664
	if LASTPART == Handle then
1665
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false)
1666
		LASTPART = Part
1667
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1668
	else
1669
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false)
1670
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1671
		LASTPART = Part
1672
	end
1673
end
1674
1675
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
1676
MakeForm(Barrel,"Cyl")
1677
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1678
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
1679
MakeForm(Part,"Cyl")
1680
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1681
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
1682
MakeForm(Part,"Wedge")
1683
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1684
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
1685
MakeForm(Hole,"Cyl")
1686
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1687
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
1688
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1689
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1690
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
1691
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1692
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1693
coroutine.resume(coroutine.create(function()
1694
	while wait() do
1695
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1696
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1697
	end
1698
end))
1699
1700
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1701
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1702
1703
for _, c in pairs(Weapon:GetDescendants()) do
1704
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1705
		c.Material = "Glass"
1706
		c.Color = C3(255, 0, 0)
1707
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1708
		c.Color = C3(255, 0, 0)
1709
		c.Material = "Neon"
1710
	end
1711
end
1712
1713
Weapon.Parent = Character
1714
for _, c in pairs(Weapon:GetChildren()) do
1715
	if c.ClassName == "Part" then
1716
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1717
	end
1718
end
1719
1720
local SKILLTEXTCOLOR = C3(0,1,0)
1721
local SKILLFONT = "Fantasy"
1722
local SKILLTEXTSIZE = 6
1723
1724
Humanoid.Died:connect(function()
1725
	refit()
1726
end)
1727
1728
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1729
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")
1730
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")
1731
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")
1732
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")
1733
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1734
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1735
1736
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
1737
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Ultimate_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
1738
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ultimate Hell bound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1739
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] TP", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1740
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
1741
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] I Dont Have All Day", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1742
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1743
1744
function printbye(Name)
1745
	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, "}
1746
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1747
end
1748
1749
workspace.ChildAdded:connect(function(instance)
1750
    for BANISH = 1, #TOBANISH do
1751
		if TOBANISH[BANISH] ~= nil then
1752
			if instance.Name == TOBANISH[BANISH] then
1753
				coroutine.resume(coroutine.create(function()
1754
					printbye(instance.Name)
1755
					instance:ClearAllChildren()
1756
					Debris:AddItem(instance,0.0005)
1757
				end))
1758
			end
1759
		end
1760
	end
1761
end)
1762
1763
--//=================================\\
1764
--||			DAMAGING
1765
--\\=================================//
1766
1767
function Kill(Char)
1768
	local NewCharacter = IT("Model",Effects)
1769
	NewCharacter.Name = "DEAD"
1770
	for _, c in pairs(Char:GetDescendants()) do
1771
		if c:IsA("BasePart") and c.Transparency == 0 then
1772
			if c.Parent == Char then
1773
				getbloody(c,5)
1774
			end
1775
			c:BreakJoints()
1776
			c.Material = "Glass"
1777
			c.Color = C3(0,1,0)
1778
			c.CanCollide = true
1779
			c.Transparency = 0.3
1780
			if c:FindFirstChildOfClass("SpecialMesh") then
1781
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1782
			end
1783
			if c.Name == "Head" then
1784
				c:ClearAllChildren()
1785
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1786
			end
1787
			if c.ClassName == "MeshPart" then
1788
				c.TextureID = ""
1789
			end
1790
			if c:FindFirstChildOfClass("BodyPosition") then
1791
				c:FindFirstChildOfClass("BodyPosition"):remove()
1792
			end
1793
			if c:FindFirstChildOfClass("ParticleEmitter") then
1794
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1795
			end
1796
			c.Parent = NewCharacter
1797
			c.Name = "DeadPart"
1798
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1799
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1800
		end
1801
	end
1802
	Char:remove()
1803
	Debris:AddItem(NewCharacter,5)
1804
end
1805
1806
function ApplyAoE(POSITION,RANGE,BRUTAL)
1807
	local CHILDREN = workspace:GetDescendants()
1808
	for index, CHILD in pairs(CHILDREN) do
1809
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1810
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1811
			if HUM then
1812
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1813
				if TORSO then
1814
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1815
						if BRUTAL == true then
1816
							Kill(CHILD)
1817
						else
1818
							CHILD:BreakJoints()
1819
						end
1820
					end
1821
				end
1822
			end
1823
		end
1824
	end
1825
end
1826
1827
function BulletDetection(FROM,TO,BRUTAL)
1828
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1829
	coroutine.resume(coroutine.create(function()
1830
		if AIMHIT ~= nil then
1831
			if AIMHIT.Parent ~= Character then
1832
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1833
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1834
						if BRUTAL == true then
1835
							Kill(AIMHIT.Parent)
1836
						else
1837
							getbloody(AIMHIT,15)
1838
							AIMHIT.Parent:BreakJoints()
1839
							if AIMHIT.Name == "Head" then
1840
								AIMHIT.Name = "HEADSHOT"
1841
								AIMHIT:remove()
1842
							end
1843
						end
1844
					else
1845
						if BRUTAL == true then
1846
							Kill(AIMHIT.Parent.Parent)
1847
						else
1848
							AIMHIT.Parent.Parent:BreakJoints()
1849
						end
1850
					end
1851
				end
1852
			end
1853
		end
1854
	end))
1855
	SpawnTrail(FROM,AIMPOS)
1856
	return AIMHIT,AIMPOS,NORMAL
1857
end
1858
1859
function Banish(Foe)
1860
	if Foe then
1861
		coroutine.resume(coroutine.create(function()
1862
			--if game.Players:FindFirstChild(Foe.Name) then
1863
				table.insert(TOBANISH,Foe.Name)
1864
				printbye(Foe.Name)
1865
			--end
1866
			Foe.Archivable = true
1867
			local CLONE = Foe:Clone()
1868
			Foe:Destroy()
1869
			CLONE.Parent = Effects
1870
			CLONE:BreakJoints()
1871
			local MATERIALS = {"Glass","Neon"}
1872
			for _, c in pairs(CLONE:GetDescendants()) do
1873
				if c:IsA("BasePart") then
1874
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1875
 						CreateSound(340722848, c, 10, 1, false)
1876
					end
1877
					c.Anchored = true
1878
					c.Transparency = c.Transparency + 0.2
1879
					c.Material = MATERIALS[MRANDOM(1,2)]
1880
					c.Color = C3(0,1,0)
1881
					if c.ClassName == "MeshPart" then
1882
						c.TextureID = ""
1883
					end
1884
					if c:FindFirstChildOfClass("SpecialMesh") then
1885
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1886
					end
1887
					if c:FindFirstChildOfClass("Decal") then
1888
						c:FindFirstChildOfClass("Decal"):remove()
1889
					end
1890
					c.Name = "Banished"
1891
					c.CanCollide = false
1892
				else
1893
					c:remove()
1894
				end
1895
			end
1896
			local A = false
1897
			for i = 1, 35 do
1898
				if A == false then
1899
					A = true
1900
				elseif A == true then
1901
					A = false
1902
				end
1903
				for _, c in pairs(CLONE:GetDescendants()) do
1904
					if c:IsA("BasePart") then
1905
						c.Anchored = true
1906
						c.Material = MATERIALS[MRANDOM(1,2)]
1907
						c.Transparency = c.Transparency + 0.8/35
1908
						if A == false then
1909
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1910
						elseif A == true then
1911
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1912
						end
1913
					end
1914
				end
1915
				Swait()
1916
			end
1917
			CLONE:remove()
1918
		end))
1919
	end
1920
end
1921
1922
function ApplyAoE(POSITION,RANGE,ISBANISH)
1923
	local CHILDREN = workspace:GetDescendants()
1924
	for index, CHILD in pairs(CHILDREN) do
1925
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1926
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1927
			if HUM then
1928
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1929
				if TORSO then
1930
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1931
						if ISBANISH == true then
1932
							Banish(CHILD)
1933
						else
1934
							if ISBANISH == "Gravity" then
1935
								HUM.PlatformStand = true
1936
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1937
									local grav = Instance.new("BodyPosition",TORSO)
1938
									grav.D = 15
1939
									grav.P = 20000
1940
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1941
									grav.position = TORSO.Position
1942
									grav.Name = "V3BanishForce"..Player.Name
1943
								else
1944
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1945
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1946
								end
1947
							else
1948
								HUM.PlatformStand = false
1949
							end
1950
						end
1951
					elseif ISBANISH == "Gravity" then
1952
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1953
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1954
							HUM.PlatformStand = false
1955
						end
1956
					end
1957
				end
1958
			end
1959
		end
1960
	end
1961
end
1962
1963
--//=================================\\
1964
--||	ATTACK FUNCTIONS AND STUFF
1965
--\\=================================//
1966
1967
function TakeOnMe()
1968
    Speed = 5
1969
    local MEME = CreateSound(288703954, Effects, 2, 1, false)
1970
    ATTACK = true
1971
    Rooted = false
1972
    local DANCE = true
1973
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
1974
        if NEWKEY == "p" then
1975
            DANCE = false
1976
        end
1977
    end)
1978
    PLAYSONG = false
1979
    while true do
1980
        for i = 1, 15 do
1981
            Swait()
1982
            MEME.Parent = Effects
1983
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1984
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1985
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1986
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1987
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1988
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1989
        end
1990
        if DANCE == false then
1991
            break
1992
        end
1993
        for i = 1, 15 do
1994
            Swait()
1995
            MEME.Parent = Effects
1996
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1997
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1998
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1999
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2000
            RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2001
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2002
        end
2003
    end
2004
    PLAYSONG = true
2005
    KEY:Disconnect()
2006
    MEME:remove()
2007
    Speed = 25
2008
    ATTACK = false
2009
    Rooted = false
2010
end
2011
2012
function RTaunt()
2013
    ATTACK = true
2014
    Rooted = true
2015
    local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
2016
    repeat
2017
        Swait()
2018
        TAUNT.Parent = Torso
2019
        TAUNT.Playing = true
2020
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2021
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2022
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2023
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2024
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2025
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2026
    until TAUNT.TimePosition >= 1.25
2027
    for i=0, 1.6, 0.1 / Animation_Speed do
2028
        Swait()
2029
        TAUNT.Parent = Torso
2030
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
2031
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2032
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2033
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2034
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2035
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2036
    end
2037
    ATTACK = false
2038
    Rooted = false
2039
end
2040
2041
function Morning_Star()
2042
	ATTACK = true
2043
	Rooted = true
2044
	for i=0, 1, 0.1 / Animation_Speed do
2045
		Swait()
2046
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2047
		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)
2048
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2049
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2050
		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)
2051
		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)
2052
	end	
2053
	coroutine.resume(coroutine.create(function()
2054
		local POS = Mouse.Hit.p
2055
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
2056
		MakeForm(RAY,"Cyl")
2057
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
2058
		MakeForm(SPHERE,"Ball")
2059
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
2060
		MakeForm(SHIELD,"Ball")
2061
		SHIELD.CFrame = CF(POS)
2062
		RAY.CFrame = CF(POS)
2063
		SPHERE.CFrame = CF(POS)
2064
		CreateSound(440145570, SPHERE, 10, 0.8, false)
2065
		CreateSound(415700134, SPHERE, 10, 0.8, false)
2066
		for i = 1, 200 do
2067
			Swait()
2068
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2069
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
2070
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
2071
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
2072
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2073
		end	
2074
		for i = 1, 45 do
2075
			Swait()
2076
			RAY.Transparency = RAY.Transparency + 1/45
2077
			SPHERE.Transparency = RAY.Transparency 
2078
			SHIELD.Transparency = SPHERE.Transparency + 1/45
2079
		end
2080
		RAY:remove()
2081
		SHIELD:remove()
2082
		SPHERE:remove()
2083
	end))
2084
	for i=0, 1, 0.1 / Animation_Speed do
2085
		Swait()
2086
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2087
		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)
2088
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2089
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2090
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2091
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2092
	end
2093
	ATTACK = false
2094
	Rooted = false
2095
end
2096
2097
function Deathbound()
2098
	ATTACK = true
2099
	Rooted = true
2100
	for i=0, 1, 0.1 / Animation_Speed do
2101
		Swait()
2102
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2103
		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)
2104
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2105
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2106
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2107
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2108
	end
2109
	local DONE = false
2110
	local GATE = nil
2111
	local GATESPIN = true
2112
	coroutine.resume(coroutine.create(function()
2113
		repeat
2114
			Swait()
2115
			if GATE ~= nil then
2116
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2117
			end
2118
		until GATESPIN == false
2119
	end))
2120
	coroutine.resume(coroutine.create(function()
2121
		repeat
2122
			Swait()
2123
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2124
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2125
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2126
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2127
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2128
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2129
		until DONE == true
2130
		Swait(50)
2131
		for i = 1, 35 do
2132
			Swait(4)
2133
			local FIRED = false
2134
			local CHILDREN = workspace:GetDescendants()
2135
			for index, CHILD in pairs(CHILDREN) do
2136
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2137
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2138
					if HUM then
2139
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2140
						if TORSO then
2141
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2142
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2143
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2144
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2145
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2146
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2147
								Kill(CHILD)
2148
								FIRED = true
2149
								break
2150
							end
2151
						end
2152
					end
2153
				end
2154
			end
2155
			if FIRED == false then
2156
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2157
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
2158
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2159
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2160
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2161
				if HITBOD ~= nil then
2162
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2163
						Kill(HITBOD.Parent)
2164
					end
2165
				end
2166
			end
2167
		end
2168
		for i = 1, 45 do
2169
			Swait()
2170
			GATE.Size = GATE.Size - VT(3,0,3)
2171
		end
2172
		GATESPIN = false
2173
		GATE:remove()
2174
	end))
2175
	Swait(15)
2176
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2177
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
2178
	local DECAL = IT("Decal",GATE)
2179
	DECAL.Texture = "http://www.roblox.com/asset/?id=26356434"
2180
	DECAL.Face = "Top"
2181
	GATE.CFrame = CF(HITPOS)
2182
	CreateSound(160772554, GATE, 7, 1.3, false)
2183
	for i = 1, 45 do
2184
		Swait()
2185
		GATE.Size = GATE.Size + VT(3,0,3)
2186
	end
2187
	CreateSound(145080998, RightHole, 7, 1, false)
2188
	CreateSound(145080998, LeftHole, 7, 1, false)
2189
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2190
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2191
	ATTACK = false
2192
	Rooted = false
2193
	DONE = true
2194
end
2195
2196
function Dash()
2197
	ATTACK = true
2198
	Rooted = false
2199
	local TARGET = nil
2200
	local TORS = nil
2201
	local GYRO = IT("BodyGyro",RootPart)
2202
	GYRO.D = 175
2203
	GYRO.P = 20000
2204
	GYRO.MaxTorque = VT(0,40000,0)
2205
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2206
	local RANGE = 5
2207
	CreateSound(541909867, Torso, 7, 1, false)
2208
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2209
	for i=0, 1, 0.1 / Animation_Speed do
2210
		Swait()
2211
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
2212
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2213
		local CHILDREN = workspace:GetDescendants()
2214
		for index, CHILD in pairs(CHILDREN) do
2215
			if CHILD.ClassName == "Model" and CHILD ~= Character then
2216
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2217
				if HUM then
2218
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2219
					if TORSO then
2220
						if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
2221
							RANGE = (TORSO.Position - LeftHole.Position).Magnitude
2222
							TARGET = HUM
2223
							TORS = TORSO
2224
						end
2225
					end
2226
				end
2227
			end
2228
		end
2229
		if TARGET then
2230
			break
2231
		end
2232
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
2233
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
2234
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2235
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2236
		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)
2237
		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)
2238
	end
2239
	GYRO:remove()
2240
	if TORS and TARGET then
2241
		Rooted = true
2242
		local BODYPOSITION = IT("BodyPosition", TORS)
2243
		BODYPOSITION.P = 2000
2244
		BODYPOSITION.D = 100
2245
		BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
2246
		for i=0, 1, 0.1 / Animation_Speed do
2247
			Swait()
2248
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2249
			BODYPOSITION.Position = TORS.Position
2250
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
2251
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
2252
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2253
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2254
			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)
2255
			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)
2256
		end
2257
		for i=0, 0.4, 0.1 / Animation_Speed do
2258
			Swait()
2259
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2260
			BODYPOSITION.Position = TORS.Position
2261
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
2262
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
2263
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2264
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2265
			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)
2266
			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)
2267
		end	
2268
		local LOOP = 0
2269
		local LOOP2 = 0
2270
		for i=0, 5, 0.1 / Animation_Speed do
2271
			Swait()
2272
			LOOP = LOOP + 1
2273
			TORS.Anchored = true
2274
			LOOP2 = LOOP2 + 1
2275
			if LOOP2 >= 5 then
2276
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2277
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2278
				CreateSound(145080998, RightHole, 7, 1, false)
2279
				SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
2280
				LOOP2 = 0
2281
				getbloody(TORS,1)
2282
			end
2283
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
2284
			BODYPOSITION.Position = TORS.Position
2285
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
2286
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
2287
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2288
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2289
			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)
2290
			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)
2291
		end	
2292
		BODYPOSITION:remove()
2293
		if TORS then
2294
			TORS.Anchored = false
2295
			Kill(TORS.Parent)
2296
		end
2297
	end
2298
	ATTACK = false
2299
	Rooted = false
2300
end
2301
end
2302
2303
function Taunt()
2304
	ATTACK = true
2305
	Rooted = true
2306
	local TAUNT = CreateSound(907330011,Torso,10,1,false)
2307
	coroutine.resume(coroutine.create(function()
2308
		repeat
2309
			Swait()
2310
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2311
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2312
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2313
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2314
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2315
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2316
		until ATTACK == false
2317
	end))
2318
	repeat wait() until TAUNT.Playing == false
2319
	ATTACK = false
2320
	Rooted = false
2321
end
2322
2323
2324
function Debree(POS,SWAIT)
2325
	coroutine.resume(coroutine.create(function()
2326
		local HOLDER = IT("Model",Effects)
2327
		HOLDER.Name = "Debree"
2328
		local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2329
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2330
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2331
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
2332
		repeat Swait() until HITFLOOR ~= nil
2333
		local O = 0
2334
		for i = 1, 18 do
2335
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2336
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2337
			O = O - (45/4)/5+i/4
2338
			coroutine.resume(coroutine.create(function()
2339
				Swait(SWAIT)
2340
				for i = 1, 60 do
2341
					Swait()
2342
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2343
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2344
				end
2345
				for i = 1, 50 do
2346
					Swait()
2347
					Part.Size = Part.Size * 0.9
2348
				end
2349
			end))
2350
		end
2351
		local O = 0
2352
		for i = 1, 18 do
2353
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
2354
			Part.CFrame = CF(CF(POS) * CF((45/4.5)-i,0,O).p) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2355
			O = O + (45/4)/5-i/4
2356
			coroutine.resume(coroutine.create(function()
2357
				Swait(SWAIT)
2358
				for i = 1, 60 do
2359
					Swait()
2360
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
2361
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2362
				end
2363
				for i = 1, 50 do
2364
					Swait()
2365
					Part.Size = Part.Size * 0.9
2366
				end
2367
			end))
2368
		end
2369
		Swait(SWAIT+110)
2370
		HOLDER:remove()
2371
	end))
2372
end
2373
2374
2375
2376
2377
function WarpVector()
2378
	ATTACK = false
2379
	Rooted = true
2380
	
2381
	Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
2382
	UNANCHOR = false
2383
	
2384
	RootPart.Anchored = true
2385
	for i=0, 2, 0.1 / Animation_Speed do
2386
		Swait()
2387
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2388
		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.5 / Animation_Speed)
2389
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2390
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2391
		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.5 / Animation_Speed)
2392
		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.5 / Animation_Speed)
2393
	end
2394
2395
	local POS = RootPart.Position
2396
	RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
2397
	Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
2398
	for i=0, 2, 0.1 / Animation_Speed do
2399
		Swait()
2400
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2401
		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.5 / Animation_Speed)
2402
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2403
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2404
		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.5 / Animation_Speed)
2405
		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.5 / Animation_Speed)
2406
	end
2407
UNANCHOR = true
2408
	ATTACK = false
2409
	Rooted = false
2410
end
2411
2412
function Banisher_Bullet()
2413
	ATTACK = true
2414
	Rooted = false
2415
	for i=2, 2, 2 / Animation_Speed do
2416
		Swait()
2417
		turnto(Mouse.Hit.p)
2418
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2419
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2420
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2421
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2422
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2423
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2424
	end
2425
	repeat
2426
		for i=0, 0.2, 0.1 / Animation_Speed do
2427
			Swait()
2428
			turnto(Mouse.Hit.p)
2429
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2430
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2431
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2432
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2433
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2434
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2435
		end
2436
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2437
		SpawnTrail(Hole.Position,POS)
2438
		if HIT ~= nil then
2439
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2440
				Banish(HIT.Parent)
2441
			end
2442
		end
2443
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2444
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2445
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2446
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2447
		for i=0, 0.3, 0.1 / Animation_Speed do
2448
			Swait()
2449
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
2450
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
2451
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2452
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2453
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2454
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
2455
		end
2456
	until KEYHOLD == false
2457
	ATTACK = false
2458
	Rooted = false
2459
end
2460
2461
function AttackTemplate()
2462
	ATTACK = true
2463
	Rooted = false
2464
	for i=0, 1, 0.1 / Animation_Speed do
2465
		Swait()
2466
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2467
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
2468
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2469
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2470
		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)), 2 / Animation_Speed)
2471
		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)), 2 / Animation_Speed)
2472
	end
2473
	ATTACK = false
2474
	Rooted = false
2475
end
2476
2477
--//=================================\\
2478
--||	  ASSIGN THINGS TO KEYS
2479
--\\=================================//
2480
function MouseDown(Mouse)
2481
	if ATTACK == false then
2482
	end
2483
end
2484
2485
function MouseUp(Mouse)
2486
HOLD = false
2487
end
2488
2489
function KeyDown(Key)
2490
	KEYHOLD = true
2491
	if Key == "z" and ATTACK == false then
2492
		Banisher_Bullet()
2493
	end
2494
2495
	if Key == "v" and ATTACK == false then
2496
                Morning_Star()
2497
	end
2498
2499
	if Key == "b" and ATTACK == false then
2500
                RTaunt()  
2501
	end  
2502
2503
	if Key == "n" and ATTACK == false then
2504
                TakeOnMe()  
2505
	end 
2506
2507
	if Key == "q" and ATTACK == false then
2508
                Dash()
2509
	end
2510
2511
	if Key == "t" and ATTACK == false then
2512
		Taunt()
2513
	end
2514
2515
	if Key == "x" and ATTACK == false then
2516
                Deathbound()  
2517
	end  
2518
2519
	if Key == "c" and ATTACK == false then
2520
		WarpVector()
2521
	end
2522
end
2523
2524
function KeyUp(Key)
2525
	KEYHOLD = false
2526
end
2527
2528
	Mouse.Button1Down:connect(function(NEWKEY)
2529
		MouseDown(NEWKEY)
2530
	end)
2531
	Mouse.Button1Up:connect(function(NEWKEY)
2532
		MouseUp(NEWKEY)
2533
	end)
2534
	Mouse.KeyDown:connect(function(NEWKEY)
2535
		KeyDown(NEWKEY)
2536
	end)
2537
	Mouse.KeyUp:connect(function(NEWKEY)
2538
		KeyUp(NEWKEY)
2539
	end)
2540
2541
--//=================================\\
2542
--\\=================================//
2543
2544
2545
function unanchor()
2546
	if UNANCHOR == true then
2547
		g = Character:GetChildren()
2548
		for i = 1, #g do
2549
			if g[i].ClassName == "Part" then
2550
				g[i].Anchored = false
2551
			end
2552
		end
2553
	end
2554
end
2555
2556
2557
--//=================================\\
2558
--||	WRAP THE WHOLE SCRIPT UP
2559
--\\=================================//
2560
2561
Humanoid.Changed:connect(function(Jump)
2562
	if Jump == "Jump" and (Disable_Jump == true) then
2563
		Humanoid.Jump = false
2564
	end
2565
end)
2566
2567
local CONNECT = nil
2568
2569
while true do
2570
	Swait()
2571
	ANIMATE.Parent = nil
2572
	if Character:FindFirstChildOfClass("Humanoid") == nil then
2573
		Humanoid = IT("Humanoid",Character)
2574
	end
2575
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2576
	    v:Stop();
2577
	end
2578
	SINE = SINE + CHANGE
2579
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2580
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2581
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2582
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2583
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2584
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2585
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2586
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2587
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2588
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2589
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2590
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2591
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2592
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2593
	end
2594
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2595
		ANIM = "Jump"
2596
		if ATTACK == false then
2597
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2598
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2599
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2600
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2601
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
2602
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2603
	    end
2604
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2605
		ANIM = "Fall"
2606
		if ATTACK == false then
2607
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2608
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
2609
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2610
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
2611
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.3 / Animation_Speed)
2612
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.3 / Animation_Speed)
2613
		end
2614
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2615
		ANIM = "Idle"
2616
		if ATTACK == false then
2617
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.16 / Animation_Speed)
2618
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.16 / Animation_Speed)
2619
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2620
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
2621
			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.16 / Animation_Speed)
2622
			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.16 / Animation_Speed)
2623
		end
2624
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2625
		ANIM = "Walk"
2626
		if ATTACK == false then
2627
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2628
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.16 / Animation_Speed)
2629
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
2630
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2631
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2632
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2633
		end
2634
	end
2635
	unanchor()
2636
	Humanoid.MaxHealth = "inf"
2637
	Humanoid.Health = "inf"
2638
	if Rooted == false then
2639
		Disable_Jump = false
2640
		Humanoid.WalkSpeed = Speed
2641
	elseif Rooted == true then
2642
		Disable_Jump = true
2643
		Humanoid.WalkSpeed = 0
2644
	end
2645
	sick.Parent = Torso
2646
	sick:resume()
2647
	sick.Volume = 5
2648
	sick.Pitch = 1.1
2649
	sick.SoundId = "rbxassetid://1696854181"
2650
	sick.Name = "BanishV3Music"
2651
        end
2652
	if Head:FindFirstChild("face") then
2653
		Head.face.Texture = "rbxassetid://176217464"
2654
end
2655
2656
Humanoid.Changed:connect(function(Jump)
2657
	if Jump == "Jump" and (Disable_Jump == true) then
2658
		Humanoid.Jump = false
2659
	end
2660
end)
2661
2662
local BLINKLOOP = 0
2663
2664
while true do
2665
	Swait()
2666
	script.Parent = WEAPONGUI
2667
	ANIMATE.Parent = nil
2668
	Humanoid.Parent = Character
2669
	if Humanoid then
2670
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2671
		IDLEANIMATION:Play()
2672
	end
2673
	SINE = SINE + CHANGE
2674
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2675
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2676
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2677
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2678
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2679
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2680
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2681
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2682
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2683
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2684
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2685
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2686
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2687
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2688
	end
2689
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2690
		ANIM = "Jump"
2691
		if ATTACK == false then
2692
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2693
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2694
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2695
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2696
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2697
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2698
	    end
2699
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2700
		ANIM = "Fall"
2701
		if ATTACK == false then
2702
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2703
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2704
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2705
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2706
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2707
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2708
		end
2709
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2710
		ANIM = "Idle"
2711
		if ATTACK == false then
2712
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
2713
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
2714
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2715
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2716
			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)
2717
			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)
2718
		end
2719
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2720
		ANIM = "Walk"
2721
		if ATTACK == false then
2722
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2723
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2724
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2725
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2726
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2727
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2728
		end
2729
	end
2730
	unanchor()
2731
	Humanoid.MaxHealth = "inf"
2732
	Humanoid.Health = "inf"
2733
	if Rooted == false then
2734
		Disable_Jump = false
2735
		Humanoid.WalkSpeed = Speed
2736
	elseif Rooted == true then
2737
		Disable_Jump = true
2738
		Humanoid.WalkSpeed = 0
2739
	end
2740
	sick.SoundId = "rbxassetid://1696854181"
2741
	sick.Looped = true
2742
	sick.Pitch = 1.1
2743
	sick.Volume = 5
2744
	sick.Playing = true
2745
	sick.Parent = Torso
2746
	if Head:FindFirstChild("face") then
2747
		Head.face.Texture = "rbxassetid://404306534"
2748
	end
2749
	BLINKLOOP = BLINKLOOP + 1
2750
	if BLINKLOOP >=650 then
2751
		BLINKLOOP = 0
2752
		Blink()
2753
	end
2754
	if #GHOSTS>0 then
2755
		for e=1,#GHOSTS do
2756
			if GHOSTS[e]~=nil then
2757
				local Thing=GHOSTS[e]
2758
				if Thing~=nil then
2759
					if Thing:FindFirstChild("Head") then
2760
						if Thing:FindFirstChild("Head"):FindFirstChild("face") then
2761
							Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
2762
						end
2763
						if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
2764
							Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
2765
						end
2766
					end
2767
					local TORSO = Thing:FindFirstChild("Torso")
2768
					if TORSO then
2769
						TORSO.Anchored = false
2770
						local ROOT = Thing.HumanoidRootPart
2771
						local RootJoint1 = ROOT:FindFirstChild("RootJoint")
2772
						local Neck1 = TORSO:FindFirstChild("Neck")
2773
						local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
2774
						local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
2775
						local RightHip1 = TORSO:FindFirstChild("Right Hip")
2776
						local LeftHip1 = TORSO:FindFirstChild("Left Hip")
2777
						if ROOT and RootJoint1 then
2778
							local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
2779
							if VELOCITY < 1 then
2780
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2781
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2782
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2783
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2784
								RightHip1.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))
2785
								LeftHip1.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))
2786
							elseif VELOCITY > 1 then
2787
								RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12)))
2788
								Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12)))
2789
								RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0
2790
								LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0
2791
								RightHip1.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))
2792
								LeftHip1.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))
2793
							end
2794
						end
2795
						local Human = Thing.Humanoid
2796
						if Human then
2797
							Human.HipHeight = 0.3
2798
							for _, c in pairs(Thing:GetChildren()) do
2799
								if c.ClassName == "Part" and c.Transparency < 1 then
2800
									c.Color = C3(255, 0, 0)
2801
									c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
2802
								elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
2803
									c:remove()
2804
								end
2805
							end
2806
							if Human then
2807
								local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
2808
								IDLEANIMATION:Play()
2809
							end
2810
							local list = game.Workspace:children()
2811
							local torso = nil
2812
							local dist = 50
2813
							local temp = nil
2814
							local human = nil
2815
							local temp2 = nil
2816
							local OwnerInDanger = false
2817
							for x = 1, #list do
2818
								temp2 = list[x]
2819
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2820
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2821
									human = temp2:findFirstChildOfClass("Humanoid")
2822
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2823
										if (temp.Position - Torso.Position).magnitude < 15 then
2824
											OwnerInDanger = true
2825
											newdist = (temp.Position - TORSO.Position).magnitude
2826
											dist = (Torso.Position - temp.Position).magnitude
2827
											Human:MoveTo(temp.Position)
2828
											torso = temp
2829
											if newdist < 7 then
2830
												torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
2831
												CreateSound(814168787, temp, 1, 2, false)
2832
												ApplyDamage(human,MRANDOM(15,35),temp)
2833
												WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2834
												WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2835
											end
2836
										end
2837
									end
2838
								end
2839
							end
2840
							if OwnerInDanger == false then
2841
								for x = 1, #list do
2842
									temp2 = list[x]
2843
									if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
2844
										temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2845
										human = temp2:findFirstChildOfClass("Humanoid")
2846
										if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2847
											if (temp.Position - Torso.Position).magnitude < dist then
2848
												newdist = (temp.Position - TORSO.Position).magnitude
2849
												Human:MoveTo(temp.Position)
2850
												torso = temp
2851
												if newdist < 15 then
2852
													if MRANDOM(1,35) == 1 then
2853
														CreateSound(438665935, temp, 1, 3, false)
2854
														ApplyDamage(human,MRANDOM(2,20),temp)
2855
														WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2856
													end
2857
												end
2858
											end
2859
										end
2860
									end
2861
								end
2862
							end
2863
							if torso == nil then
2864
								Human.WalkSpeed = Speed -0.2
2865
								if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
2866
									Human:MoveTo(TORSO.Position)
2867
								elseif (Torso.Position - TORSO.Position).magnitude > 15 then
2868
									Human:MoveTo(Torso.Position)
2869
								elseif (Torso.Position - TORSO.Position).magnitude < 11 then
2870
									Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
2871
								end
2872
							else
2873
								if OwnerInDanger == false then
2874
									Human.WalkSpeed = Speed*1.2
2875
								else
2876
									Human.WalkSpeed = Speed*5
2877
								end
2878
							end
2879
							if Human.Health == 0 then
2880
								Thing:remove()
2881
								table.remove(GHOSTS,e)
2882
							else
2883
								Human.Health = Human.Health + 0.5
2884
							end
2885
						else
2886
							Thing:remove()
2887
							table.remove(GHOSTS,e)
2888
						end
2889
					else
2890
						Thing:remove()
2891
						table.remove(GHOSTS,e)
2892
					end
2893
				end
2894
			end
2895
		end
2896
	end
2897
	refit()
2898
end
2899
2900
--//=================================\\
2901
--\\=================================//
2902
2903
2904
2905
2906
2907
--//====================================================\\--
2908
--||			  		 END OF SCRIPT
2909
--\\====================================================//--