View difference between Paste ID: Va6rMfxN and UmaEyA0r
SHOW: | | - or go back to the newest paste.
1-
script.Name = "Banisher Gun V3 / 1"
1+
plr = game:GetService("Players").LocalPlayer
2
char = plr.Character
3
hum = char.Humanoid
4
local cam = game.Workspace.CurrentCamera
5
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
6
Camera = cam
7
local CamInterrupt = false
8
local TwoD = false
9
local TargetInfo = {nil, nil}
10
cam.CameraType = "Custom"
11
t = char.Torso
12
h = char.Head
13
ra = char["Right Arm"]
14
la = char["Left Arm"]
15
rl = char["Right Leg"]
16
ll = char["Left Leg"]
17
tors = char.Torso
18
lleg = char["Left Leg"]
19
root = char.HumanoidRootPart
20
hed = char.Head
21
rleg = char["Right Leg"]
22
rarm = char["Right Arm"]
23
larm = char["Left Arm"]
24
radian = math.rad
25
random = math.random
26
Vec3 = Vector3.new
27
Inst = Instance.new
28
cFrame = CFrame.new
29
Euler = CFrame.fromEulerAnglesXYZ
30
vt = Vector3.new
31
bc = BrickColor.new
32
br = BrickColor.random
33
it = Instance.new
34
cf = CFrame.new
35
local eff = true
36
local shielding = false
37
 
38
local Booleans = {
39
  CamFollow = true,
40
  GyroUse = true
41
}
42
 
43
function lerp(object, newCFrame, alpha)
44
  return object:lerp(newCFrame, alpha)
45
end
46
 
47
local Directer = Inst("BodyGyro", root)
48
Directer.MaxTorque = Vec3(0, 0, 0)
49
Directer.P = 600000
50
local CPart = Inst("Part")
51
CPart.Anchored = true
52
CPart.CanCollide = false
53
CPart.Locked = true
54
CPart.Transparency = 1
55
 
56
local rainbowmode = false
57
local chaosmode = false
58
 
59
kan = Instance.new("Sound",char)
60
kan.Volume = 1.25
61
kan.TimePosition = 0
62
kan.PlaybackSpeed = 1
63
kan.Pitch = 1
64
kan.SoundId = "rbxassetid://0"
65
kan.Name = "wrecked"
66
kan.Looped = true
67
kan:Play()
68
 
69
function newTheme(ID,timepos,pitch,vol)
70
local kanz = kan
71
--kanz:Stop()
72
--kanz.Volume = vol
73
--kanz.TimePosition = timepos
74
kanz.PlaybackSpeed = pitch
75
kanz.Pitch = pitch
76
kanz.SoundId = ID
77
kanz.Name = "wrecked"
78
kanz.Looped = true
79
kanz.Volume = 0.3
80
--kanz:Play()
81
--coroutine.resume(coroutine.create(function()
82
--wait(0.05)
83
--end))
84
end
85
 
86
function newThemeCust(ID,timepos,pitch,vol)
87
local kanz = kan
88
kanz:Stop()
89
kanz.Volume = vol
90
kanz.TimePosition = timepos
91
kanz.PlaybackSpeed = pitch
92
kanz.Pitch = pitch
93
kanz.SoundId = ID
94
kanz.Name = "wrecked"
95
kanz.Looped = true
96
kanz:Play()
97
coroutine.resume(coroutine.create(function()
98
wait(0.05)
99
end))
100
end
101
 
102
 
103
 
104
function CameraShake(Times, Power, PlayerTarget)
105
coroutine.resume(coroutine.create(function()
106
FV = Instance.new("BoolValue", PlayerTarget)
107
FV.Name = "CameraShake"
108
for ShakeNum=1,Times do
109
swait()
110
local ef=Power
111
  if ef>=1 then
112
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
113
  else
114
   ef=Power*10
115
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
116
  end  
117
end
118
Humanoid.CameraOffset = Vector3.new(0,0,0)
119
FV:Destroy()
120
end))
121
end
122
 
123
function CameraEnshaking(Length,Intensity)
124
coroutine.resume(coroutine.create(function()
125
      local intensity = 1*Intensity
126
      local rotM = 0.01*Intensity
127
for i = 0, Length, 0.1 do
128
swait()
129
intensity = intensity - 0.05*Intensity/Length
130
rotM = rotM - 0.0005*Intensity/Length
131
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
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)
133
end
134
Humanoid.CameraOffset = Vec3(0, 0, 0)
135
end))
136
end
137
CamShake=function(Part,Distan,Power,Times)
138
local de=Part.Position
139
for i,v in pairs(workspace:children()) do
140
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
141
for _,c in pairs(v:children()) do
142
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
143
local Noob=v.Humanoid
144
if Noob~=nil then
145
coroutine.resume(coroutine.create(function()
146
FV = Instance.new("BoolValue", Noob)
147
FV.Name = "CameraShake"
148
for ShakeNum=1,Times do
149
swait()
150
local ef=Power
151
  if ef>=1 then
152
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
153
  else
154
   ef=Power*10
155
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
156
  end  
157
end
158
Humanoid.CameraOffset = Vector3.new(0,0,0)
159
FV:Destroy()
160
end))
161
CameraShake(Times, Power, Noob)
162
end
163
end
164
end
165
end
166
end
167
end
168
 
169
function chatfunc(text,color)
170
local chat = coroutine.wrap(function()
171
if Character:FindFirstChild("TalkingBillBoard")~= nil then
172
Character:FindFirstChild("TalkingBillBoard"):destroy()
173
end
174
local naeeym2 = Instance.new("BillboardGui",Character)
175
naeeym2.Size = UDim2.new(0,100,0,40)
176
naeeym2.StudsOffset = Vector3.new(0,3,0)
177
naeeym2.Adornee = Character.Head
178
naeeym2.Name = "TalkingBillBoard"
179
local tecks2 = Instance.new("TextLabel",naeeym2)
180
tecks2.BackgroundTransparency = 1
181
tecks2.BorderSizePixel = 0
182
tecks2.Text = ""
183
tecks2.Font = "SciFi"
184
tecks2.TextSize = 30
185
tecks2.TextStrokeTransparency = 0
186
tecks2.TextColor3 = color
187
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
188
tecks2.Size = UDim2.new(1,0,0.5,0)
189
local tecks3 = Instance.new("TextLabel",naeeym2)
190
tecks3.BackgroundTransparency = 1
191
tecks3.BorderSizePixel = 0
192
tecks3.Text = ""
193
tecks3.Font = "SciFi"
194
tecks3.TextSize = 30
195
tecks3.TextStrokeTransparency = 0
196
tecks3.TextColor3 = Color3.new(0,0,0)
197
tecks3.TextStrokeColor3 = color
198
tecks3.Size = UDim2.new(1,0,0.5,0)
199
coroutine.resume(coroutine.create(function()
200
while true do
201
swait(1)
202
plr.Character.wrecked.Volume = 0.3
203
if chaosmode == true then
204
tecks2.TextColor3 = BrickColor.random().Color
205
tecks3.TextStrokeColor3 = BrickColor.random().Color
206
end
207
tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
208
tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
209
tecks2.Rotation = math.random(-5,5)
210
tecks3.Rotation = math.random(-5,5)
211
end
212
end))
213
for i = 1,string.len(text),1 do
214
CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
215
tecks2.Text = string.sub(text,1,i)
216
tecks3.Text = string.sub(text,1,i)
217
swait(1)
218
end
219
wait(1)
220
local randomrot = math.random(1,2)
221
if randomrot == 1 then
222
for i = 1, 50 do
223
swait()
224
tecks2.Rotation = tecks2.Rotation - .75
225
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
226
tecks2.TextTransparency = tecks2.TextTransparency + .04
227
tecks3.Rotation = tecks2.Rotation + .75
228
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
229
tecks3.TextTransparency = tecks2.TextTransparency + .04
230
end
231
elseif randomrot == 2 then
232
    for i = 1, 50 do
233
swait()
234
tecks2.Rotation = tecks2.Rotation + .75
235
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
236
tecks2.TextTransparency = tecks2.TextTransparency + .04
237
tecks3.Rotation = tecks2.Rotation - .75
238
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
239
tecks3.TextTransparency = tecks2.TextTransparency + .04
240
end
241
end
242
naeeym2:Destroy()
243
end)
244
chat()
245
end
246
 
247
 
248
local Create = LoadLibrary("RbxUtility").Create
249
 
250
CFuncs = {
251
    ["Part"] = {
252
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
253
            local Part = Create("Part"){
254
                Parent = Parent,
255
                Reflectance = Reflectance,
256
                Transparency = Transparency,
257
                CanCollide = false,
258
                Locked = true,
259
                BrickColor = BrickColor.new(tostring(BColor)),
260
                Name = Name,
261
                Size = Size,
262
                Material = Material,
263
            }
264
            RemoveOutlines(Part)
265
            return Part
266
        end;
267
    };
268
   
269
    ["Mesh"] = {
270
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
271
            local Msh = Create(Mesh){
272
                Parent = Part,
273
                Offset = OffSet,
274
                Scale = Scale,
275
            }
276
            if Mesh == "SpecialMesh" then
277
                Msh.MeshType = MeshType
278
                Msh.MeshId = MeshId
279
            end
280
            return Msh
281
        end;
282
    };
283
   
284
    ["Mesh"] = {
285
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
286
            local Msh = Create(Mesh){
287
                Parent = Part,
288
                Offset = OffSet,
289
                Scale = Scale,
290
            }
291
            if Mesh == "SpecialMesh" then
292
                Msh.MeshType = MeshType
293
                Msh.MeshId = MeshId
294
            end
295
            return Msh
296
        end;
297
    };
298
   
299
    ["Weld"] = {
300
        Create = function(Parent, Part0, Part1, C0, C1)
301
            local Weld = Create("Weld"){
302
                Parent = Parent,
303
                Part0 = Part0,
304
                Part1 = Part1,
305
                C0 = C0,
306
                C1 = C1,
307
            }
308
            return Weld
309
        end;
310
    };
311
 
312
    ["Sound"] = {
313
        Create = function(id, par, vol, pit)
314
            coroutine.resume(coroutine.create(function()
315
                local S = Create("Sound"){
316
                    Volume = vol,
317
                                        Name = "EffectSoundo",
318
                    Pitch = pit or 1,
319
                    SoundId = id,
320
                    Parent = par or workspace,
321
                }
322
                wait()
323
                S:play()
324
                game:GetService("Debris"):AddItem(S, 10)
325
            end))
326
        end;
327
    };
328
 
329
["LongSound"] = {
330
        Create = function(id, par, vol, pit)
331
            coroutine.resume(coroutine.create(function()
332
                local S = Create("Sound"){
333
                    Volume = vol,
334
                    Pitch = pit or 1,
335
                    SoundId = id,
336
                    Parent = par or workspace,
337
                }
338
                wait()
339
                S:play()
340
                game:GetService("Debris"):AddItem(S, 30)
341
            end))
342
        end;
343
    };
344
   
345
    ["ParticleEmitter"] = {
346
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
347
            local fp = Create("ParticleEmitter"){
348
                Parent = Parent,
349
                Color = ColorSequence.new(Color1, Color2),
350
                LightEmission = LightEmission,
351
                Size = Size,
352
                Texture = Texture,
353
                Transparency = Transparency,
354
                ZOffset = ZOffset,
355
                Acceleration = Accel,
356
                Drag = Drag,
357
                LockedToPart = LockedToPart,
358
                VelocityInheritance = VelocityInheritance,
359
                EmissionDirection = EmissionDirection,
360
                Enabled = Enabled,
361
                Lifetime = LifeTime,
362
                Rate = Rate,
363
                Rotation = Rotation,
364
                RotSpeed = RotSpeed,
365
                Speed = Speed,
366
                VelocitySpread = VelocitySpread,
367
            }
368
            return fp
369
        end;
370
    };
371
 
372
    CreateTemplate = {
373
   
374
    };
375
}
376
 
377
 
378
 
379
New = function(Object, Parent, Name, Data)
380
    local Object = Instance.new(Object)
381
    for Index, Value in pairs(Data or {}) do
382
        Object[Index] = Value
383
    end
384
    Object.Parent = Parent
385
    Object.Name = Name
386
    return Object
387
end
388
local halocolor = BrickColor.new("Dark blue")
389
local halocolor2 = BrickColor.new("Dark blue")
390
local starcolor = BrickColor.new("Dark blue")
391
local lunacolor = BrickColor.new("Dark blue")
392
local lunacolor2 = BrickColor.new("Dark blue")
393
local wepcolor = BrickColor.new("Dark blue")
394
local maincolor = BrickColor.new("Dark blue")
395
local m = Instance.new("Model",char)
396
local m2 = Instance.new("Model",char)
397
local m3 = Instance.new("Model",char)
398
local mw1 = Instance.new("Model",char)
399
local mw2 = Instance.new("Model",char)
400
 
401
local extrawingmod1 = Instance.new("Model",char)
402
local extrawingmod2 = Instance.new("Model",char)
403
 
404
function CreateParta(parent,transparency,reflectance,material,brickcolor)
405
local p = Instance.new("Part")
406
p.TopSurface = 0
407
p.BottomSurface = 0
408
p.Parent = parent
409
p.Size = Vector3.new(0.1,0.1,0.1)
410
p.Transparency = transparency
411
p.Reflectance = reflectance
412
p.CanCollide = false
413
p.Locked = true
414
p.BrickColor = brickcolor
415
p.Material = material
416
return p
417
end
418
 
419
function CreateMesh(parent,meshtype,x1,y1,z1)
420
local mesh = Instance.new("SpecialMesh",parent)
421
mesh.MeshType = meshtype
422
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
423
return mesh
424
end
425
 
426
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
427
local mesh = Instance.new("SpecialMesh",parent)
428
mesh.MeshType = "FileMesh"
429
mesh.MeshId = meshid
430
mesh.Scale = Vector3.new(x1,y1,z1)
431
return mesh
432
end
433
 
434
 
435
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
436
local mesh = Instance.new("SpecialMesh",parent)
437
mesh.MeshType = "FileMesh"
438
mesh.MeshId = meshid
439
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
440
mesh.Scale = Vector3.new(x1,y1,z1)
441
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
442
return mesh
443
end
444
 
445
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
446
local weld = Instance.new("Weld")
447
weld.Parent = parent
448
weld.Part0 = part0
449
weld.Part1 = part1
450
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
451
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
452
return weld
453
end
454
 
455
 
456
--------------
457
local secondchar = Instance.new("Model",char)
458
local GhostCol = BrickColor.new("Dark blue")
459
local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
460
CreateMesh(sectors,"Brick",2*8,2*8,1*8)
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))
462
 
463
local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
464
CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
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))
466
 
467
local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
468
CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
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))
470-
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright yellow", "Trail", VT(0,0,0))
470+
471
local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
472
CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
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))
474
 
475
local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
476
CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
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))
478
 
479
local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
480
CreateMesh(seched,"Brick",1*8,1*8,1*8)
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))
482
--------------
483
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
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))
485
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
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))
487
 
488
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
489
CreateMesh(handle,"Brick",0,0,0)
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))
491
local valuaring = 10
492
for i = 0, 49 do
493
    valuaring = valuaring + 10
494
rn = CreateParta(mw2,0,0,"Neon",halocolor)
495
CreateMesh(rn,"Brick",0.25,0.1,0.1)
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))
497
end
498
 
499
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
500
CreateMesh(handle,"Brick",0,0,0)
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))
502
local valuaring = 10
503
for i = 0, 49 do
504
    valuaring = valuaring + 10
505
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
506
CreateMesh(rn,"Brick",0.5,0.2,0.2)
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))
508
end
509
 
510
 
511
local handle = CreateParta(m,1,1,"Neon",maincolor)
512-
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
512+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
514
 
515
--- Left wing.
516
 
517
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
518
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
520
 
521
wed = CreateParta(mw1,0,0,"Neon",halocolor)
522
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
524
wed = CreateParta(mw1,0,0,"Neon",halocolor)
525
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
527
A0 = Instance.new('Attachment',wed)
528
wed = CreateParta(mw1,0,0,"Neon",halocolor)
529
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
531
A1 = Instance.new('Attachment',wed)
532
wed = CreateParta(mw1,0,0,"Neon",halocolor)
533
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
535
 
536
tl1 = Instance.new('Trail',wed)
537
tl1.Attachment0 = A0
538
tl1.Attachment1 = A1
539
--tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
540
tl1.LightEmission = 1
541
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
542
tl1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
543
tl1.Lifetime = 0.6
544-
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.6,0.2),false)
544+
545
 
546-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
546+
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
547
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
549-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.3,0.2),false)
549+
550
wed = CreateParta(mw1,0,0,"Neon",halocolor)
551
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
552-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.3,0.3),false)
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))
553
wed = CreateParta(mw1,0,0,"Neon",halocolor)
554-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.5,0.5),false)
554+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
556-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.4,0.4,0.4),false)
556+
A0 = Instance.new('Attachment',wed)
557
wed = CreateParta(mw1,0,0,"Neon",halocolor)
558
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
560-
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0,0.35,0.41),false)
560+
A1 = Instance.new('Attachment',wed)
561
wed = CreateParta(mw1,0,0,"Neon",halocolor)
562
CreateMesh(wed,"Wedge",0.05,3,0.5)
563-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.38,0.41,0.38),false)
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))
564
 
565
tl2 = Instance.new('Trail',wed)
566-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.37,0.5,0.37),false)
566+
tl2.Attachment0 = A0
567
tl2.Attachment1 = A1
568
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
569-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.7,0.4),false)
569+
tl2.LightEmission = 1
570
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
571
tl2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
572-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.3,0.4,0.2),false)
572+
tl2.Lifetime = 0.6
573
 
574-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.35,0.35,0.35),false)
574+
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
575
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
577-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.5),false)
577+
578
wed = CreateParta(mw1,0,0,"Neon",halocolor)
579
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
580-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.5,0.1,0.45),false)
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))
581
wed = CreateParta(mw1,0,0,"Neon",halocolor)
582
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
583-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.2,0.5,0.2),false)
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))
584
A0 = Instance.new('Attachment',wed)
585
wed = CreateParta(mw1,0,0,"Neon",halocolor)
586
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
588
A1 = Instance.new('Attachment',wed)
589-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.2,0),false)
589+
wed = CreateParta(mw1,0,0,"Neon",halocolor)
590
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
592
 
593-
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.1,0.05,0),false)
593+
tl3 = Instance.new('Trail',wed)
594
tl3.Attachment0 = A0
595
tl3.Attachment1 = A1
596
--tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
597
tl3.LightEmission = 1
598
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
599-
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.15,2,0.15),false)
599+
tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
600
tl3.Lifetime = 0.6
601
 
602-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0.25,1,0.25),false)
602+
tl1.Enabled = false
603
tl2.Enabled = false
604
tl3.Enabled = false
605-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0.1,0.2),false)
605+
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
606
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
608-
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Eye", VT(0.125,0,0.125),false)
608+
609
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
610
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
611-
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Brown", "Part", VT(0,0,0),false)
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))
612
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
613
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
614-
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Brown", "Eye", VT(0,0,0),false)
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))
615
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
616
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
618
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
619
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
621
 
622
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
623
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
625
 
626
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
627
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
629
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
630-
		c.Color = C3(0,0,0)
630+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
632-
		c.Color = C3(1,0,0)
632+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
633
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
635
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
636
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
638
 
639
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
640
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
642
 
643
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
644-
local SKILLTEXTCOLOR = C3(1,0,0)
644+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
645-
local SKILLFONT = "Antique"
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))
646-
local SKILLTEXTSIZE = 7
646+
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
647
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
649
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
650
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
652
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
653-
--[[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")
653+
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
655
 
656
-- Right wing.
657-
]]
657+
658-
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
658+
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
659-
--[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
659+
CreateMesh(handle,"Brick",0.5,0.5,0.5)
660-
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
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))
661-
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
661+
662-
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
662+
wed = CreateParta(mw2,0,0,"Neon",halocolor)
663-
]]
663+
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
665
A0 = Instance.new('Attachment',wed)
666
wed = CreateParta(mw2,0,0,"Neon",halocolor)
667
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
669
wed = CreateParta(mw2,0,0,"Neon",halocolor)
670
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
672
wed = CreateParta(mw2,0,0,"Neon",halocolor)
673
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
675
A1 = Instance.new('Attachment',wed)
676
 
677
tr1 = Instance.new('Trail',wed)
678
tr1.Attachment0 = A0
679
tr1.Attachment1 = A1
680
--tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
681
tr1.LightEmission = 1
682
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
683
tr1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
684
tr1.Lifetime = 0.6
685
 
686
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
687
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
689
 
690
wed = CreateParta(mw2,0,0,"Neon",halocolor)
691
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
693
A0 = Instance.new('Attachment',wed)
694
wed = CreateParta(mw2,0,0,"Neon",halocolor)
695
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
697
wed = CreateParta(mw2,0,0,"Neon",halocolor)
698
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
700
wed = CreateParta(mw2,0,0,"Neon",halocolor)
701
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
703
A1 = Instance.new('Attachment',wed)
704
 
705
tr2 = Instance.new('Trail',wed)
706
tr2.Attachment0 = A0
707
tr2.Attachment1 = A1
708-
					c.Color = C3(1,0,0)
708+
--tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
709
tr2.LightEmission = 1
710
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
711
tr2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
712
tr2.Lifetime = 0.6
713
 
714
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
715
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
717
 
718
wed = CreateParta(mw2,0,0,"Neon",halocolor)
719
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
721
A0 = Instance.new('Attachment',wed)
722
wed = CreateParta(mw2,0,0,"Neon",halocolor)
723
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
725
wed = CreateParta(mw2,0,0,"Neon",halocolor)
726
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
728
wed = CreateParta(mw2,0,0,"Neon",halocolor)
729
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
731
A1 = Instance.new('Attachment',wed)
732
 
733
tr3 = Instance.new('Trail',wed)
734
tr3.Attachment0 = A0
735
tr3.Attachment1 = A1
736
--tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
737
tr3.LightEmission = 1
738
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
739
tr3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
740
tr3.Lifetime = 0.6
741
 
742
 
743
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
744
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
746
 
747
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
748
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
750
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
751
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
753
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
754
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
756
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
757
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
759
 
760
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
761
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
763
 
764
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
765
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
767
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
768
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
770
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
771
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
773
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
774
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
776
 
777
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
778
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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))
780
 
781
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
782
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
784
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
785
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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))
787
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
788
CreateMesh(wed,"Wedge",0.05,0.5,3)
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))
790
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
791
CreateMesh(wed,"Wedge",0.05,3,0.5)
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))
793
794
--//====================================================\\--
795
--||			   CREATED BY SHACKLUSTER
796
--\\====================================================//--
797
798-
	for i=0, 0.4, 0.1 / Animation_Speed do
798+
--
799
local Player = game:GetService('Players').LocalPlayer
800
repeat wait() until Player.Character
801-
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
801+
local Character = Player.Character
802-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
802+
803-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
803+
--All The Settings for Trails in this Script
804
TrailSettings = {
805-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
805+
	Lifetime = 0.7,
806-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
806+
	Texture = 'rbxassetid://31270182',
807
	--Color1 is for UpperBody and Accessories, Color2 is for Lower Body
808
	Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really blue').Color),
809
	Color2 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Really blue').Color),
810
	AllBody = true,
811
	UpperBodyOnly = false,
812-
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
812+
	LowerBodyOnly = false,
813-
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
813+
	Accessories = false,
814-
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
814+
	Extras = true,
815-
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
815+
	R15 = false, --Change to true if you're using R15
816-
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
816+
	R15Parts = {
817-
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
817+
		'UpperTorso',
818
		'LowerTorso',
819
	}
820
}
821
822
local Trail; --Making other Trails uses this in this Script
823
824
--UpperBody Function
825
UpperBody = function()
826-
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
826+
	if TrailSettings.R15 == false then
827-
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
827+
		A0 = Instance.new('Attachment',Character.Torso)
828-
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
828+
		A1 = Instance.new('Attachment',Character.Head)
829-
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
829+
	A2 = Instance.new('Attachment',Character['Right Arm'])
830
	A3 = Instance.new('Attachment',Character['Left Arm'])
831
Trail = Instance.new('Trail',Character)
832-
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
832+
Trail.Attachment0 = A0
833-
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
833+
Trail.Attachment1 = A1
834-
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
834+
Trail.Texture = TrailSettings.Texture
835-
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
835+
Trail.Color = TrailSettings.Color1
836-
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
836+
Trail.Lifetime = TrailSettings.Lifetime
837-
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
837+
local Trail2 = Trail:Clone()
838
Trail2.Parent = Character
839
Trail2.Attachment1 = A2
840
local Trail3 = Trail:Clone()
841
Trail3.Parent = Character
842
Trail3.Attachment1 = A3
843
local Trail6 = Trail:Clone()
844
Trail6.Parent = Character
845
Trail6.Attachment0 = A1
846
Trail6.Attachment1 = A2
847
local Trail7 = Trail:Clone()
848
Trail7.Parent = Character
849
Trail7.Attachment0 = A1
850-
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
850+
Trail7.Attachment1 = A3
851-
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
851+
852-
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
852+
	A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
853-
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
853+
	A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
854-
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
854+
	A1 = Instance.new('Attachment',Character.Head)
855
	A2 = Instance.new('Attachment',Character['RightUpperArm'])
856
	A2R = Instance.new('Attachment',Character['RightLowerArm'])
857
	A3 = Instance.new('Attachment',Character['LeftUpperArm'])
858
	A3R = Instance.new('Attachment',Character['LeftLowerArm'])
859
Trail = Instance.new('Trail',Character)
860
Trail.Attachment0 = A0
861
Trail.Attachment1 = A1
862
Trail.Texture = TrailSettings.Texture
863
Trail.Color = TrailSettings.Color1
864
Trail.Lifetime = TrailSettings.Lifetime
865
local Trail2 = Trail:Clone()
866
Trail2.Parent = Character
867
Trail2.Attachment1 = A2
868
local Trail3 = Trail:Clone()
869
Trail3.Parent = Character
870
Trail3.Attachment1 = A3
871
local Trail6 = Trail:Clone()
872
Trail6.Parent = Character
873
Trail6.Attachment0 = A1
874
Trail6.Attachment1 = A2
875
local Trail7 = Trail:Clone()
876
Trail7.Parent = Character
877
Trail7.Attachment0 = A1
878
Trail7.Attachment1 = A3
879
--R15 Trails
880
local Trail1R = Trail:Clone()
881
Trail1R.Parent = Character
882
Trail1R.Attachment1 = A2R
883
local Trail2R = Trail:Clone()
884
Trail2R.Parent = Character
885
Trail2R.Attachment1 = A3R
886
local Trail6R = Trail:Clone()
887
Trail6.Parent = Character
888
Trail6.Attachment0 = A1
889
Trail6.Attachment1 = A2R
890
local Trail7R = Trail:Clone()
891
Trail7.Parent = Character
892
Trail7.Attachment0 = A1
893
Trail7.Attachment1 = A3R
894
end
895
end
896
897
--Lower Body Function
898
LowerBody = function()
899
	if TrailSettings.R15 == false then
900
		A4 = Instance.new('Attachment',Character['Right Leg'])
901
		A5 = Instance.new('Attachment',Character['Left Leg'])
902
local Trail4 = Trail:Clone()
903
Trail4.Parent = Character
904
Trail4.Attachment1 = A4
905
local Trail5 = Trail:Clone()
906
Trail5.Parent = Character
907
Trail5.Attachment1 = A5
908
local Trail8 = Trail:Clone()
909
Trail8.Parent = Character
910
Trail8.Attachment0 = A2
911
Trail8.Attachment1 = A4
912
Trail8.Color = TrailSettings.Color2
913
local Trail9 = Trail:Clone()
914
Trail9.Parent = Character
915
Trail9.Attachment0 = A3
916
Trail9.Attachment1 = A5
917
Trail9.Color = TrailSettings.Color2
918
local FT = Trail:Clone()
919
FT.Parent = Character
920
FT.Attachment0 = A4
921
FT.Attachment1 = A5
922
FT.Color = TrailSettings.Color2
923
else
924
		A4 = Instance.new('Attachment',Character['RightLowerLeg'])
925
		A4R = Instance.new('Attachment',Character['RightUpperLeg'])
926
		A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
927
		A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
928
		local Trail4 = Trail:Clone()
929
Trail4.Parent = Character
930
Trail4.Attachment1 = A4
931
local Trail5 = Trail:Clone()
932
Trail5.Parent = Character
933
Trail5.Attachment1 = A5
934
local Trail8 = Trail:Clone()
935
Trail8.Parent = Character
936
Trail8.Attachment0 = A2
937
Trail8.Attachment1 = A4
938
Trail8.Color = TrailSettings.Color2
939
local Trail9 = Trail:Clone()
940
Trail9.Parent = Character
941
Trail9.Attachment0 = A3
942
Trail9.Attachment1 = A5
943
Trail9.Color = TrailSettings.Color2
944
local FT = Trail:Clone()
945
FT.Parent = Character
946
FT.Attachment0 = A4
947
FT.Attachment1 = A5
948
FT.Color = TrailSettings.Color2
949
--R15 Trails
950
local Trail3R = Trail:Clone()
951
Trail3R.Parent = Character
952
Trail3R.Attachment1 = A4R
953
local Trail4R = Trail:Clone()
954
Trail4R.Parent = Character
955
Trail4R.Attachment1 = A5R
956
local Trail8 = Trail:Clone()
957
Trail8.Parent = Character
958
Trail8.Attachment0 = A2R
959
Trail8.Attachment1 = A4R
960
Trail8.Color = TrailSettings.Color2
961
local Trail9 = Trail:Clone()
962
Trail9.Parent = Character
963
Trail9.Attachment0 = A3R
964
Trail9.Attachment1 = A5R
965
Trail9.Color = TrailSettings.Color2
966
local FT2R = Trail:Clone()
967
FT2R.Parent = Character
968
FT2R.Attachment0 = A4R
969
FT2R.Attachment1 = A5R
970
FT2R.Color = TrailSettings.Color2
971
end
972
end
973
974
--All Body Function calling Both Functions
975
AllBody = function()
976
	UpperBody()
977
	LowerBody()
978
end
979
980
--Checking to make sure that Only some Variables are Selected else do All Body
981
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
982
	TrailSettings.UpperBodyOnly = false
983
	TrailSettings.LowerBodyOnly = false
984
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
985
	TrailSettings.UpperBodyOnly = false
986
	TrailSettings.LowerBodyOnly = false
987
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
988
	TrailSettings.UpperBodyOnly = false
989
	TrailSettings.LowerBodyOnly = false
990
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
991
	TrailSettings.AllBody = true
992
	TrailSettings.UpperBodyOnly = false
993
	TrailSettings.LowerBodyOnly = false
994
end
995
996
--Call Trail Functions
997
if TrailSettings.UpperBodyOnly == true then
998
	UpperBody()
999
	print('Called Upper Body Trail')
1000
elseif TrailSettings.LowerBodyOnly == true then
1001
	LowerBody()
1002
	print('Called Lower Body Trail')
1003
elseif TrailSettings.AllBody == true then
1004
	AllBody()
1005
	print('Called Full Body Trail')
1006
end
1007
1008
--Trails for Accessories
1009
if TrailSettings.Accessories == true then
1010
for Index,Item in pairs(Character:GetChildren()) do
1011
	if Item:IsA'Accessory' then
1012
		local AA = Instance.new('Attachment',Item.Handle)
1013
		local ATrail = Trail:Clone()
1014
		ATrail.Parent = Character
1015
		ATrail.Attachment1 = AA
1016-
	sick.Pitch = 1
1016+
1017-
	sick.SoundId = "https://www.roblox.com/library/1753701701/The-Muffin-Song-FULL-VERSION"
1017+
1018
end
1019
1020
--Extras
1021
if TrailSettings.Extras == true then
1022
	--Making an Invisible Platform Part
1023
local a = Instance.new('Part',Character)
1024
a.CanCollide = false
1025
a.Size = Vector3.new(2,.2,2)
1026
a.Transparency = 1
1027
1028
--Constantly putting it under your feet
1029
if TrailSettings.R15 == false then
1030
	spawn(function()
1031
	game:GetService('RunService').RenderStepped:connect(function()
1032
		a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
1033
	end)
1034
end)
1035
else
1036
	spawn(function()
1037
	game:GetService('RunService').RenderStepped:connect(function()
1038
		a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
1039
	end)
1040
end)
1041
end
1042
1043
--Make a Trail from both feet to the Platform
1044
spawn(function()
1045
	repeat wait() until Trail
1046
local AB = Instance.new('Attachment',a)
1047
local ABT = Trail:Clone()
1048
ABT.Parent = Character
1049
ABT.Attachment0 = A4
1050
ABT.Attachment1 = AB
1051
ABT.Color = TrailSettings.Color2
1052
local ABT2 = Trail:Clone()
1053
ABT2.Parent = Character
1054
ABT2.Attachment0 = A5
1055
ABT2.Attachment1 = AB
1056
ABT2.Color = TrailSettings.Color2
1057
end)
1058
end
1059
1060
Player = game:GetService("Players").LocalPlayer
1061
PlayerGui = Player.PlayerGui
1062
Cam = workspace.CurrentCamera
1063
Backpack = Player.Backpack
1064
Character = Player.Character
1065
Humanoid = Character.Humanoid
1066
Mouse = Player:GetMouse()
1067
RootPart = Character["HumanoidRootPart"]
1068
Torso = Character["Torso"]
1069
Head = Character["Head"]
1070
RightArm = Character["Right Arm"]
1071
LeftArm = Character["Left Arm"]
1072
RightLeg = Character["Right Leg"]
1073
LeftLeg = Character["Left Leg"]
1074
RootJoint = RootPart["RootJoint"]
1075
Neck = Torso["Neck"]
1076
RightShoulder = Torso["Right Shoulder"]
1077
LeftShoulder = Torso["Left Shoulder"]
1078
RightHip = Torso["Right Hip"]
1079
LeftHip = Torso["Left Hip"]
1080
local TIME = 0
1081
local sick = Instance.new("Sound",Torso)
1082
1083
IT = Instance.new
1084
CF = CFrame.new
1085
VT = Vector3.new
1086
RAD = math.rad
1087
C3 = Color3.new
1088
UD2 = UDim2.new
1089
BRICKC = BrickColor.new
1090
ANGLES = CFrame.Angles
1091
EULER = CFrame.fromEulerAnglesXYZ
1092
COS = math.cos
1093
ACOS = math.acos
1094
SIN = math.sin
1095
ASIN = math.asin
1096
ABS = math.abs
1097
MRANDOM = math.random
1098
FLOOR = math.floor
1099
1100
Player = game:GetService("Players").LocalPlayer
1101
PlayerGui = Player.PlayerGui
1102
Cam = workspace.CurrentCamera
1103
Backpack = Player.Backpack
1104
repeat wait() until Player.Character
1105
Character = Player.Character
1106
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
1107
Humanoid = Character:FindFirstChildOfClass("Humanoid")
1108
Mouse = Player:GetMouse()
1109
RootPart = Character["HumanoidRootPart"]
1110
Torso = Character["Torso"]
1111
Head = Character["Head"]
1112
RightArm = Character["Right Arm"]
1113
LeftArm = Character["Left Arm"]
1114
RightLeg = Character["Right Leg"]
1115
LeftLeg = Character["Left Leg"]
1116
RootJoint = RootPart["RootJoint"]
1117
Neck = Torso["Neck"]
1118
RightShoulder = Torso["Right Shoulder"]
1119
LeftShoulder = Torso["Left Shoulder"]
1120
RightHip = Torso["Right Hip"]
1121
LeftHip = Torso["Left Hip"]
1122
1123
IT = Instance.new
1124
CF = CFrame.new
1125
VT = Vector3.new
1126
RAD = math.rad
1127
C3 = Color3.new
1128
UD2 = UDim2.new
1129
BRICKC = BrickColor.new
1130
ANGLES = CFrame.Angles
1131
EULER = CFrame.fromEulerAnglesXYZ
1132
COS = math.cos
1133
ACOS = math.acos
1134
SIN = math.sin
1135
ASIN = math.asin
1136
ABS = math.abs
1137
MRANDOM = math.random
1138
FLOOR = math.floor
1139
1140
local naeeym2 = Instance.new("BillboardGui",Character)
1141
naeeym2.AlwaysOnTop = true
1142
naeeym2.Size = UDim2.new(7,35,3,15)
1143
naeeym2.StudsOffset = Vector3.new(0,2,0)
1144
naeeym2.MaxDistance = 75
1145
naeeym2.Adornee = Character.Head
1146
naeeym2.Name = "Name2"
1147
local tecks2 = Instance.new("TextLabel",naeeym2)
1148
tecks2.BackgroundTransparency = 1
1149
tecks2.TextScaled = true
1150
tecks2.BorderSizePixel = 0
1151
tecks2.Text = ""
1152
tecks2.Font = "ArialBold"
1153
tecks2.TextSize = 30
1154
tecks2.TextStrokeTransparency = 0
1155
tecks2.TextColor3 = Color3.fromRGB(0,1,0)
1156
tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
1157
tecks2.Size = UDim2.new(1,0,0.5,0)
1158
tecks2.Parent = naeeym2
1159
1160
local naeeym3 = Instance.new("BillboardGui",Character)
1161
naeeym3.AlwaysOnTop = true
1162
naeeym3.Size = UDim2.new(7,35,3,15)
1163
naeeym3.StudsOffset = Vector3.new(2,3,0)
1164
naeeym3.MaxDistance = 75
1165
naeeym3.Adornee = Character.Head
1166
naeeym3.Name = "Name3"
1167
local tecks3 = Instance.new("TextLabel",naeeym2)
1168
tecks3.BackgroundTransparency = 1
1169
tecks3.TextScaled = true
1170
tecks3.BorderSizePixel = 0
1171
tecks3.Text = "voyqgo"
1172
tecks3.Font = "ArialBold"
1173
tecks3.TextSize = 30
1174
tecks3.TextStrokeTransparency = 0
1175
tecks3.TextColor3 = Color3.fromRGB(0,1,0)
1176
tecks3.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
1177
tecks3.Size = UDim2.new(0.5,0,0.2,0)
1178
tecks3.Parent = naeeym3
1179
1180
script:ClearAllChildren()
1181
wait(0.2)
1182
1183
Player = game:GetService("Players").LocalPlayer
1184
PlayerGui = Player.PlayerGui
1185
Cam = workspace.CurrentCamera
1186
Backpack = Player.Backpack
1187
Character = Player.Character
1188
Humanoid = Character.Humanoid
1189
Mouse = Player:GetMouse()
1190
RootPart = Character["HumanoidRootPart"]
1191
Torso = Character["Torso"]
1192
Head = Character["Head"]
1193
RightArm = Character["Right Arm"]
1194
LeftArm = Character["Left Arm"]
1195
RightLeg = Character["Right Leg"]
1196
LeftLeg = Character["Left Leg"]
1197
RootJoint = RootPart["RootJoint"]
1198
Neck = Torso["Neck"]
1199
RightShoulder = Torso["Right Shoulder"]
1200
LeftShoulder = Torso["Left Shoulder"]
1201
RightHip = Torso["Right Hip"]
1202
LeftHip = Torso["Left Hip"]
1203
local TIME = 0
1204
local sick = Instance.new("Sound",Torso)
1205
1206
IT = Instance.new
1207
CF = CFrame.new
1208
VT = Vector3.new
1209
RAD = math.rad
1210
C3 = Color3.new
1211
UD2 = UDim2.new
1212
BRICKC = BrickColor.new
1213
ANGLES = CFrame.Angles
1214
EULER = CFrame.fromEulerAnglesXYZ
1215
COS = math.cos
1216
ACOS = math.acos
1217
SIN = math.sin
1218
ASIN = math.asin
1219
ABS = math.abs
1220
MRANDOM = math.random
1221
FLOOR = math.floor
1222
1223
--//=================================\\
1224
--|| 	      USEFUL VALUES
1225
--\\=================================//
1226
1227
Animation_Speed = 3
1228
local FORCERESET = false
1229
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
1230
local Speed = 16
1231
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1232
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1233
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
1234
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
1235
local DAMAGEMULTIPLIER = 1
1236
local ANIM = "Idle"
1237
local ATTACK = false
1238
local EQUIPPED = false
1239
local HOLD = false
1240
local COMBO = 1
1241
local Rooted = false
1242
local SINE = 0
1243
local KEYHOLD = false
1244
local CHANGE = 2 / Animation_Speed
1245
local WALKINGANIM = false
1246
local VALUE1 = false
1247
local VALUE2 = false
1248
local ROBLOXIDLEANIMATION = IT("Animation")
1249
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
1250
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
1251
--ROBLOXIDLEANIMATION.Parent = Humanoid
1252
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1253
WEAPONGUI.Name = "BanishV3Gui"
1254
local Weapon = IT("Model")
1255
Weapon.Name = "Adds"
1256
local Effects = IT("Folder", Weapon)
1257
Effects.Name = "Effects"
1258
local ANIMATOR = Humanoid.Animator
1259
local ANIMATE = Character:FindFirstChild("Animate")
1260
local UNANCHOR = true
1261
local TOBANISH = {}
1262
script.Parent = PlayerGui
1263
1264
--//=================================\\
1265
--\\=================================//
1266
1267
1268
--//=================================\\
1269
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
1270
--\\=================================//
1271
1272
ArtificialHB = Instance.new("BindableEvent", script)
1273
ArtificialHB.Name = "ArtificialHB"
1274
1275
script:WaitForChild("ArtificialHB")
1276
1277
frame = Frame_Speed
1278
tf = 0
1279
allowframeloss = false
1280
tossremainder = false
1281
lastframe = tick()
1282
script.ArtificialHB:Fire()
1283
1284
game:GetService("RunService").Heartbeat:connect(function(s, p)
1285
	tf = tf + s
1286
	if tf >= frame then
1287
		if allowframeloss then
1288
			script.ArtificialHB:Fire()
1289
			lastframe = tick()
1290
		else
1291
			for i = 1, math.floor(tf / frame) do
1292
				script.ArtificialHB:Fire()
1293
			end
1294
		lastframe = tick()
1295
		end
1296
		if tossremainder then
1297
			tf = 0
1298
		else
1299
			tf = tf - frame * math.floor(tf / frame)
1300
		end
1301
	end
1302
end)
1303
1304
--//=================================\\
1305
--\\=================================//
1306
1307
--//=================================\\
1308
--|| 	      SOME FUNCTIONS
1309
--\\=================================//
1310
1311
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1312
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1313
end
1314
1315
function PositiveAngle(NUMBER)
1316
	if NUMBER >= 0 then
1317
		NUMBER = 0
1318
	end
1319
	return NUMBER
1320
end
1321
1322
function NegativeAngle(NUMBER)
1323
	if NUMBER <= 0 then
1324
		NUMBER = 0
1325
	end
1326
	return NUMBER
1327
end
1328
1329
function Swait(NUMBER)
1330
	if NUMBER == 0 or NUMBER == nil then
1331
		ArtificialHB.Event:wait()
1332
	else
1333
		for i = 1, NUMBER do
1334
			ArtificialHB.Event:wait()
1335
		end
1336
	end
1337
end
1338
1339
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1340
	local NEWMESH = IT(MESH)
1341
	if MESH == "SpecialMesh" then
1342
		NEWMESH.MeshType = MESHTYPE
1343
		if MESHID ~= "nil" and MESHID ~= "" then
1344
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1345
		end
1346
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1347
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1348
		end
1349
	end
1350
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1351
	NEWMESH.Scale = SCALE
1352
	NEWMESH.Parent = PARENT
1353
	return NEWMESH
1354
end
1355
1356
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1357
	local NEWPART = IT("Part")
1358
	NEWPART.formFactor = FORMFACTOR
1359
	NEWPART.Reflectance = REFLECTANCE
1360
	NEWPART.Transparency = TRANSPARENCY
1361
	NEWPART.CanCollide = false
1362
	NEWPART.Locked = true
1363
	NEWPART.Anchored = true
1364
	if ANCHOR == false then
1365
		NEWPART.Anchored = false
1366
	end
1367
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1368
	NEWPART.Name = NAME
1369
	NEWPART.Size = SIZE
1370
	NEWPART.Position = Torso.Position
1371
	NEWPART.Material = MATERIAL
1372
	NEWPART:BreakJoints()
1373
	NEWPART.Parent = PARENT
1374
	return NEWPART
1375
end
1376
1377
	local function weldBetween(a, b)
1378
	    local weldd = Instance.new("ManualWeld")
1379
	    weldd.Part0 = a
1380
	    weldd.Part1 = b
1381
	    weldd.C0 = CFrame.new()
1382
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1383
	    weldd.Parent = a
1384
	    return weldd
1385
	end
1386
1387
1388
function QuaternionFromCFrame(cf)
1389
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1390
	local trace = m00 + m11 + m22
1391
	if trace > 0 then 
1392
		local s = math.sqrt(1 + trace)
1393
		local recip = 0.5 / s
1394
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1395
	else
1396
		local i = 0
1397
		if m11 > m00 then
1398
			i = 1
1399
		end
1400
		if m22 > (i == 0 and m00 or m11) then
1401
			i = 2
1402
		end
1403
		if i == 0 then
1404
			local s = math.sqrt(m00 - m11 - m22 + 1)
1405
			local recip = 0.5 / s
1406
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1407
		elseif i == 1 then
1408
			local s = math.sqrt(m11 - m22 - m00 + 1)
1409
			local recip = 0.5 / s
1410
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1411
		elseif i == 2 then
1412
			local s = math.sqrt(m22 - m00 - m11 + 1)
1413
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1414
		end
1415
	end
1416
end
1417
 
1418
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1419
	local xs, ys, zs = x + x, y + y, z + z
1420
	local wx, wy, wz = w * xs, w * ys, w * zs
1421
	local xx = x * xs
1422
	local xy = x * ys
1423
	local xz = x * zs
1424
	local yy = y * ys
1425
	local yz = y * zs
1426
	local zz = z * zs
1427
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
1428
end
1429
 
1430
function QuaternionSlerp(a, b, t)
1431
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1432
	local startInterp, finishInterp;
1433
	if cosTheta >= 0.0001 then
1434
		if (1 - cosTheta) > 0.0001 then
1435
			local theta = ACOS(cosTheta)
1436
			local invSinTheta = 1 / SIN(theta)
1437
			startInterp = SIN((1 - t) * theta) * invSinTheta
1438
			finishInterp = SIN(t * theta) * invSinTheta
1439
		else
1440
			startInterp = 1 - t
1441
			finishInterp = t
1442
		end
1443
	else
1444
		if (1 + cosTheta) > 0.0001 then
1445
			local theta = ACOS(-cosTheta)
1446
			local invSinTheta = 1 / SIN(theta)
1447
			startInterp = SIN((t - 1) * theta) * invSinTheta
1448
			finishInterp = SIN(t * theta) * invSinTheta
1449
		else
1450
			startInterp = t - 1
1451
			finishInterp = t
1452
		end
1453
	end
1454
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
1455
end
1456
1457
function Clerp(a, b, t)
1458
	local qa = {QuaternionFromCFrame(a)}
1459
	local qb = {QuaternionFromCFrame(b)}
1460
	local ax, ay, az = a.x, a.y, a.z
1461
	local bx, by, bz = b.x, b.y, b.z
1462
	local _t = 1 - t
1463
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1464
end
1465
1466
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1467
	local frame = IT("Frame")
1468
	frame.BackgroundTransparency = TRANSPARENCY
1469
	frame.BorderSizePixel = BORDERSIZEPIXEL
1470
	frame.Position = POSITION
1471
	frame.Size = SIZE
1472
	frame.BackgroundColor3 = COLOR
1473
	frame.BorderColor3 = BORDERCOLOR
1474
	frame.Name = NAME
1475
	frame.Parent = PARENT
1476
	return frame
1477
end
1478
1479
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1480
	local label = IT("TextLabel")
1481
	label.BackgroundTransparency = 1
1482
	label.Size = UD2(1, 0, 1, 0)
1483
	label.Position = UD2(0, 0, 0, 0)
1484
	label.TextColor3 = TEXTCOLOR
1485
	label.TextStrokeTransparency = STROKETRANSPARENCY
1486
	label.TextTransparency = TRANSPARENCY
1487
	label.FontSize = TEXTFONTSIZE
1488
	label.Font = TEXTFONT
1489
	label.BorderSizePixel = BORDERSIZEPIXEL
1490
	label.TextScaled = false
1491
	label.Text = TEXT
1492
	label.Name = NAME
1493
	label.Parent = PARENT
1494
	return label
1495
end
1496
1497
function NoOutlines(PART)
1498
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1499
end
1500
1501
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1502
	local NEWWELD = IT(TYPE)
1503
	NEWWELD.Part0 = PART0
1504
	NEWWELD.Part1 = PART1
1505
	NEWWELD.C0 = C0
1506
	NEWWELD.C1 = C1
1507
	NEWWELD.Parent = PARENT
1508
	return NEWWELD
1509
end
1510
1511
local S = IT("Sound")
1512
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1513
	local NEWSOUND = nil
1514
	coroutine.resume(coroutine.create(function()
1515
		NEWSOUND = S:Clone()
1516
		NEWSOUND.Parent = PARENT
1517
		NEWSOUND.Volume = VOLUME
1518
		NEWSOUND.Pitch = PITCH
1519
		NEWSOUND.SoundId = "1753701701"..ID
1520
		NEWSOUND:play()
1521
		if DOESLOOP == true then
1522
			NEWSOUND.Looped = true
1523
		else
1524
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
1525
			NEWSOUND:remove()
1526
		end
1527
	end))
1528
	return NEWSOUND
1529
end
1530
1531
function CFrameFromTopBack(at, top, back)
1532
	local right = top:Cross(back)
1533
	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)
1534
end
1535
1536
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1537
function WACKYEFFECT(Table)
1538
	local TYPE = (Table.EffectType or "Sphere")
1539
	local SIZE = (Table.Size or VT(1,1,1))
1540
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1541
	local TRANSPARENCY = (Table.Transparency or 0)
1542
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1543
	local CFRAME = (Table.CFrame or Torso.CFrame)
1544
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1545
	local ROTATION1 = (Table.RotationX or 0)
1546
	local ROTATION2 = (Table.RotationY or 0)
1547
	local ROTATION3 = (Table.RotationZ or 0)
1548
	local MATERIAL = (Table.Material or "Neon")
1549
	local COLOR = (Table.Color or C3(1,1,1))
1550
	local TIME = (Table.Time or 45)
1551
	local SOUNDID = (Table.SoundID or nil)
1552
	local SOUNDPITCH = (Table.SoundPitch or nil)
1553
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1554
	coroutine.resume(coroutine.create(function()
1555
		local PLAYSSOUND = false
1556
		local SOUND = nil
1557
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1558
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1559
			PLAYSSOUND = true
1560
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1561
		end
1562
		EFFECT.Color = COLOR
1563
		local MSH = nil
1564
		if TYPE == "Sphere" then
1565
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1566
		elseif TYPE == "Block" then
1567
			MSH = IT("BlockMesh",EFFECT)
1568
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1569
		elseif TYPE == "Wave" then
1570
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1571
		elseif TYPE == "Ring" then
1572
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1573
		elseif TYPE == "Slash" then
1574
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1575
		elseif TYPE == "Round Slash" then
1576
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1577
		elseif TYPE == "Swirl" then
1578
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1579
		elseif TYPE == "Skull" then
1580
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1581
		elseif TYPE == "Crystal" then
1582
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1583
		end
1584
		if MSH ~= nil then
1585
			local MOVESPEED = nil
1586
			if MOVEDIRECTION ~= nil then
1587
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1588
			end
1589
			local GROWTH = SIZE - ENDSIZE
1590
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1591
			if TYPE == "Block" then
1592
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1593
			else
1594
				EFFECT.CFrame = CFRAME
1595
			end
1596
			for LOOP = 1, TIME+1 do
1597
				Swait()
1598
				MSH.Scale = MSH.Scale - GROWTH/TIME
1599
				if TYPE == "Wave" then
1600
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1601
				end
1602
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1603
				if TYPE == "Block" then
1604
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1605
				else
1606
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1607
				end
1608
				if MOVEDIRECTION ~= nil then
1609
					local ORI = EFFECT.Orientation
1610
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1611
					EFFECT.Orientation = ORI
1612
				end
1613
			end
1614
			if PLAYSSOUND == false then
1615
				EFFECT:remove()
1616
			else
1617
				SOUND.Stopped:Connect(function()
1618
					EFFECT:remove()
1619
				end)
1620
			end
1621
		else
1622
			if PLAYSSOUND == false then
1623
				EFFECT:remove()
1624
			else
1625
				repeat Swait() until SOUND.Playing == false
1626
				EFFECT:remove()
1627
			end
1628
		end
1629
	end))
1630
end
1631
1632
function MakeForm(PART,TYPE)
1633
	if TYPE == "Cyl" then
1634
		local MSH = IT("CylinderMesh",PART)
1635
	elseif TYPE == "Ball" then
1636
		local MSH = IT("SpecialMesh",PART)
1637
		MSH.MeshType = "Sphere"
1638
	elseif TYPE == "Wedge" then
1639
		local MSH = IT("SpecialMesh",PART)
1640
		MSH.MeshType = "Wedge"
1641
	end
1642
end
1643
1644
function SpawnTrail(FROM,TO,BIG)
1645
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
1646
	MakeForm(TRAIL,"Cyl")
1647
	local DIST = (FROM - TO).Magnitude
1648
	if BIG == true then
1649
		TRAIL.Size = VT(0.5,DIST,0.5)
1650
	else
1651
		TRAIL.Size = VT(0.25,DIST,0.25)
1652
	end
1653
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1654
	coroutine.resume(coroutine.create(function()
1655
		for i = 1, 5 do
1656
			Swait()
1657
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1658
		end
1659
		TRAIL:remove()
1660
	end))
1661
end
1662
1663
Debris = game:GetService("Debris")
1664
1665
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1666
	local DIRECTION = CF(StartPos,EndPos).lookVector
1667
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1668
end
1669
1670
function turnto(position)
1671
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1672
end
1673
local asd = Instance.new("ParticleEmitter")
1674
asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
1675
asd.LightEmission = .1
1676
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1677
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
1678
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1679
asd.Transparency = bbb
1680
asd.Size = aaa
1681
asd.ZOffset = .9
1682
asd.Acceleration = Vector3.new(0, -15, 0)
1683
asd.LockedToPart = false
1684
asd.EmissionDirection = "Back"
1685
asd.Lifetime = NumberRange.new(1, 2)
1686
asd.Rotation = NumberRange.new(-100, 100)
1687
asd.RotSpeed = NumberRange.new(-100, 100)
1688
asd.Speed = NumberRange.new(10)
1689
asd.Enabled = false
1690
asd.VelocitySpread = 999
1691
1692
function getbloody(victim,amount)
1693
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
1694
	PART.CFrame = victim.CFrame
1695
	local HITPLAYERSOUNDS = {"356551938","264486467"}
1696
	Debris:AddItem(PART,5)
1697
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1698
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1699
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1700
	local prtcl = asd:Clone()
1701
	prtcl.Parent = PART
1702
	prtcl:Emit(amount*10)
1703
end
1704
1705
local Particle = IT("ParticleEmitter",nil)
1706
Particle.Enabled = false
1707
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
1708
Particle.LightEmission = 0.5
1709
Particle.Rate = 150
1710
Particle.ZOffset = 1
1711
Particle.Rotation = NumberRange.new(-180, 180)
1712
Particle.RotSpeed = NumberRange.new(-180, 180)
1713
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1714
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
1715
1716
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1717
function ParticleEmitter(Table)
1718
	local PRTCL = Particle:Clone()
1719
	local Speed = Table.Speed or 5
1720
	local Drag = Table.Drag or 0
1721
	local Size1 = Table.Size1 or 1
1722
	local Size2 = Table.Size2 or 5
1723
	local Lifetime1 = Table.Lifetime1 or 1
1724
	local Lifetime2 = Table.Lifetime2 or 1.5
1725
	local Parent = Table.Parent or Torso
1726
	local Emit = Table.Emit or 100
1727
	local Offset = Table.Offset or 360
1728
	local Acel = Table.Acel or VT(0,0,0)
1729
	local Enabled = Table.Enabled or false
1730
	PRTCL.Parent = Parent
1731
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1732
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1733
	PRTCL.Speed = NumberRange.new(Speed)
1734
	PRTCL.VelocitySpread = Offset
1735
	PRTCL.Drag = Drag
1736
	PRTCL.Acceleration = Acel
1737
	if Enabled == false then
1738
		PRTCL:Emit(Emit)
1739
		Debris:AddItem(PRTCL,Lifetime2)
1740
	else
1741
		PRTCL.Enabled = true
1742
	end
1743
	return PRTCL
1744
end
1745
1746
1747
--//=================================\\
1748
--||	     WEAPON CREATION
1749
--\\=================================//
1750
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
1751
txtfag.Adornee = suckadick
1752
txtfag.Name = "kys nigga"
1753
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
1754
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
1755
local textfag = Instance.new("TextLabel", txtfag)
1756
textfag.Size = UDim2.new(6, 0, 1, 0)
1757
textfag.FontSize = "Size8"
1758
textfag.TextScaled = true
1759
textfag.TextTransparency = 0
1760
textfag.BackgroundTransparency = 1
1761
textfag.TextTransparency = 0
1762
textfag.TextStrokeTransparency = 0
1763
textfag.Font = "Cartoon"
1764
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
1765
v = Instance.new("Part")
1766
v.Name = "ColorBrick"
1767
v.Parent = part
1768
v.FormFactor = "Symmetric"
1769
v.Anchored = true
1770
v.CanCollide = false
1771
v.BottomSurface = "Smooth"
1772
v.TopSurface = "Smooth"
1773
v.Size = Vector3.new(10, 5, 3)
1774
v.Transparency = 0.7
1775
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
1776
v.Transparency = 1
1777
textfag.TextColor3 = v.BrickColor.Color
1778
textfag.TextStrokeColor3 = Color3.new(255, 0, 0)
1779
v.Shape = "Block"
1780
textfag.Text = "Script Edit By voyqgo"
1781
wait(2)
1782
textfag.Text = "Ultimate Demon"
1783
wait(0.3)
1784
function sandbox(var,func)
1785
	local env = getfenv(func)
1786
	local newenv = setmetatable({},{
1787
		__index = function(self,k)
1788
			if k=="script" then
1789
				return var
1790
			else
1791
				return env[k]
1792
			end
1793
		end,
1794
	})
1795
	setfenv(func,newenv)
1796
	return func
1797
end
1798
cors = {}
1799
mas = Instance.new("Model",game:GetService("Lighting"))
1800
Model0 = Instance.new("Model")
1801
Part1 = Instance.new("Part")
1802
Weld2 = Instance.new("Weld")
1803
Part3 = Instance.new("Part")
1804
Decal4 = Instance.new("Decal")
1805
Decal5 = Instance.new("Decal")
1806
Model0.Name = "Flagloldiefurshits"
1807
Model0.Parent = mas
1808
Part1.Name = "Stick"
1809
Part1.Parent = Model0
1810
Part1.Material = Enum.Material.Wood
1811
Part1.BrickColor = BrickColor.new("Really blue")
1812
Part1.Rotation = Vector3.new(0, 0, 126)
1813
Part1.Shape = Enum.PartType.Cylinder
1814
Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
1815
Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
1816
Part1.BottomSurface = Enum.SurfaceType.Smooth
1817
Part1.TopSurface = Enum.SurfaceType.Smooth
1818
Part1.Color = Color3.new(255, 0, 0)
1819
Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
1820
Part1.Orientation = Vector3.new(0, 0, 126)
1821
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
1822
Weld2.Parent = Part1
1823
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)
1824
Weld2.Part0 = Part1
1825
Weld2.Part1 = Part3
1826
Part3.Name = "Flag"
1827
Part3.Parent = Model0
1828
Part3.BrickColor = BrickColor.new("Really black")
1829
Part3.Rotation = Vector3.new(0, 0, 36)
1830
Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
1831
Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
1832
Part3.BottomSurface = Enum.SurfaceType.Smooth
1833
Part3.Color = Color3.new(255, 0, 0)
1834
Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
1835
Part3.Orientation = Vector3.new(0, 0, 36)
1836
Part3.Color = Color3.new(255, 0, 0)
1837
Decal4.Parent = Part3
1838
Decal4.Texture = "rbxassetid://1150731665"
1839
Decal5.Name = "Decal1"
1840
Decal5.Parent = Part3
1841
Decal5.Texture = "rbxassetid://1150731665"
1842
Decal5.Face = Enum.NormalId.Back
1843
for i,v in pairs(mas:GetChildren()) do
1844
	v.Parent = game:GetService("Players").LocalPlayer.Character
1845
	pcall(function() v:MakeJoints() end)
1846
end
1847
mas:Destroy()
1848
for i,v in pairs(cors) do
1849
	spawn(function()
1850
		pcall(v)
1851
	end)
1852
end
1853
1854
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1855
MakeForm(LeftHole,"Cyl")
1856
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
1857
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1858
MakeForm(Eye,"Ball")
1859
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1860
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
1861
MakeForm(Eye,"Ball")
1862
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1863
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1864
MakeForm(Eye,"Ball")
1865
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1866
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
1867
MakeForm(Eye,"Ball")
1868
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1869
local A = IT("Attachment",Torso)
1870
A.Position = VT(1,1.3,0)
1871
A.Orientation = VT(-0.098, -89.999, 0.227)
1872
local B = IT("Attachment",Torso)
1873
B.Position = VT(-1.3,-0.6,0)
1874
B.Orientation = VT(-88.911, -68.808, 158.782)
1875
local ChainLink = IT("Beam",Torso)
1876
ChainLink.Texture = "rbxassetid://343533707"
1877
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1878
ChainLink.TextureSpeed = 1
1879
ChainLink.FaceCamera = true
1880
ChainLink.Width0 = 1
1881
ChainLink.Width1 = 1
1882
ChainLink.TextureLength = 3
1883
ChainLink.Attachment0 = A
1884
ChainLink.Attachment1 = B
1885
ChainLink.CurveSize0 = 1.6
1886
ChainLink.CurveSize1 = 1.6
1887
ChainLink.FaceCamera = true
1888
ChainLink.Transparency = NumberSequence.new(0)
1889
local ChainLink = IT("Beam",Torso)
1890
ChainLink.Texture = "rbxassetid://343533707"
1891
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1892
ChainLink.TextureSpeed = 1
1893
ChainLink.FaceCamera = true
1894
ChainLink.Width0 = 1
1895
ChainLink.Width1 = 1
1896
ChainLink.TextureLength = 3
1897
ChainLink.Attachment0 = B
1898
ChainLink.Attachment1 = A
1899
ChainLink.CurveSize0 = 1.6
1900
ChainLink.CurveSize1 = 1.6
1901
ChainLink.FaceCamera = true
1902
ChainLink.Transparency = NumberSequence.new(0)
1903
local A = IT("Attachment",Torso)
1904
A.Position = VT(1.3,-0.85,0)
1905
A.Orientation = VT(-0.098, -89.999, 0.227)
1906
local B = IT("Attachment",Torso)
1907
B.Position = VT(-1,2,0)
1908
B.Orientation = VT(-88.911, -68.808, 158.782)
1909
local ChainLink = IT("Beam",Torso)
1910
ChainLink.Texture = "rbxassetid://343533707"
1911
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
1912
ChainLink.TextureSpeed = 1
1913
ChainLink.FaceCamera = true
1914
ChainLink.Width0 = 1
1915
ChainLink.Width1 = 1
1916
ChainLink.TextureLength = 3
1917
ChainLink.Attachment0 = A
1918
ChainLink.Attachment1 = B
1919
ChainLink.CurveSize0 = 1.3
1920
ChainLink.CurveSize1 = 1.3
1921
ChainLink.FaceCamera = true
1922
ChainLink.Transparency = NumberSequence.new(0)
1923
local ChainLink = IT("Beam",Torso)
1924
ChainLink.Texture = "rbxassetid://343533707"
1925
ChainLink.Color = ColorSequence.new(C3(0,1,0))
1926
ChainLink.TextureSpeed = 1
1927
ChainLink.FaceCamera = true
1928
ChainLink.Width0 = 1
1929
ChainLink.Width1 = 1
1930
ChainLink.TextureLength = 3
1931
ChainLink.Attachment0 = B
1932
ChainLink.Attachment1 = A
1933
ChainLink.CurveSize0 = 1.3
1934
ChainLink.CurveSize1 = 1.3
1935
ChainLink.FaceCamera = true
1936
ChainLink.Transparency = NumberSequence.new(0)
1937
1938
local A = IT("Attachment",RightBarrel)
1939
A.Position = VT(0,-2.5,0)
1940
local B = IT("Attachment",RightBarrel)
1941
B.Position = VT(0,2.5,0)
1942
local Trail = IT("Trail",RightBarrel)
1943
Trail.Attachment0 = A
1944
Trail.Attachment1 = B
1945
Trail.Lifetime = 0.2
1946
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
1947
Trail.Transparency = NumberSequence.new(0, 1)
1948
Trail.Enabled = false
1949
1950
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})
1951
PRT.LockedToPart = true
1952
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})
1953
PRT.LockedToPart = true
1954
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})
1955
PRT.LockedToPart = true
1956
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})
1957
PRT.LockedToPart = true
1958
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})
1959
PRT.LockedToPart = true
1960
for _, c in pairs(Character:GetDescendants()) do
1961
	if c and c.Parent then
1962
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1963
			local ACCESSORY = c.Parent
1964
			c.Parent = Character
1965
			if c then
1966
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1967
					weldBetween(Head,c)
1968
				else
1969
					weldBetween(Torso,c)
1970
				end
1971
			end
1972
		end
1973
	end
1974
end
1975
local BODY = {}
1976
for _, c in pairs(Character:GetDescendants()) do
1977
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1978
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1979
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1980
		end
1981
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
1982
	elseif c:IsA("JointInstance") then
1983
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
1984
	end
1985
end
1986
function refit()
1987
	Character.Parent = workspace
1988
	for e = 1, #BODY do
1989
		if BODY[e] ~= nil then
1990
			local STUFF = BODY[e]
1991
			local PART = STUFF[1]
1992
			local PARENT = STUFF[2]
1993
			local MATERIAL = STUFF[3]
1994
			local COLOR = STUFF[4]
1995
			local TRANSPARENCY = STUFF[5]
1996
			--local SIZE = STUFF[6]
1997
			local NAME = STUFF[7]
1998
			if PART.ClassName == "Part" and PART ~= RootPart then
1999
				PART.Material = MATERIAL
2000
				PART.Transparency = TRANSPARENCY
2001
				PART.Name = NAME
2002
			end
2003
			if PART.Parent ~= PARENT then
2004
				Humanoid:remove()
2005
				PART.Parent = PARENT
2006
				Humanoid = IT("Humanoid",Character)
2007
			end
2008
		end
2009
	end
2010
end
2011
2012
2013
--[[
2014
		Thanks for using Build-To-Lua by jarredbcv.
2015
]]--
2016
2017
New = function(Object, Parent, Name, Data)
2018
	local Object = Instance.new(Object)
2019
	for Index, Value in pairs(Data or {}) do
2020
		Object[Index] = Value
2021
	end
2022
	Object.Parent = Parent
2023
	Object.Name = Name
2024
	return Object
2025
end
2026
2027
2028
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),})
2029
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),})
2030
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),})
2031
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),})
2032
2033
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),})
2034
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),})
2035
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),})
2036
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),})
2037
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),})
2038
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),})
2039
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),})
2040
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),})
2041
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),})
2042
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),})
2043
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),})
2044
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),})
2045
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),})
2046
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),})
2047
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),})
2048
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),})
2049
2050
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),})
2051
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),})
2052
2053
2054
2055
for i = 1, 35 do
2056
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
2057
	FACE.Color = C3(0,0,0)
2058
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2059
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
2060
end
2061
2062
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2063
MakeForm(Eye,"Ball")
2064
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
2065
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2066
MakeForm(Eye,"Ball")
2067
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
2068
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2069
MakeForm(Eye,"Ball")
2070
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2071
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2072
MakeForm(Eye,"Ball")
2073
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
2074
2075
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(1.01,0.3,1.01),false)
2076
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2077
for i = 1, 3 do
2078
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
2079
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
2080
	MakeForm(Part,"Cyl")
2081
end
2082
for i = 1, 3 do
2083
	local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.2,1.02,0.2),false)
2084
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
2085
	MakeForm(Part,"Cyl")
2086
end
2087
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
2088
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
2089
MakeForm(Part,"Wedge")
2090
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.51,0.6,0.25),false)
2091
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
2092
MakeForm(Part,"Wedge")
2093
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
2094
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))
2095
MakeForm(Part,"Wedge")
2096
local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really red", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
2097
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))
2098
MakeForm(Part,"Wedge")
2099
2100
2101
2102
2103
2104
2105
2106
for _, c in pairs(Weapon:GetChildren()) do
2107
	if c.ClassName == "Part" then
2108
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2109
		local AURA = c:Clone()
2110
		AURA:BreakJoints()
2111
		AURA.Parent = c
2112
		AURA.CFrame = c.CFrame
2113
		AURA.Size = AURA.Size*1.001
2114
		AURA.Transparency = 0.8
2115
		AURA.BrickColor = BRICKC"Really red"
2116
		AURA.Material = "Neon"
2117
		weldBetween(c,AURA)
2118
	end
2119
end
2120
2121
Humanoid.DisplayDistanceType = "None"
2122
local naeeym2 = IT("BillboardGui",Character)
2123
naeeym2.AlwaysOnTop = true
2124
naeeym2.Size = UDim2.new(5,35,2,15)
2125
naeeym2.StudsOffset = Vector3.new(0,2,0)
2126
naeeym2.MaxDistance = 75
2127
naeeym2.Adornee = Character.Head
2128
naeeym2.Name = "Name"
2129
local tecks2 = IT("TextLabel",naeeym2)
2130
tecks2.BackgroundTransparency = 1
2131
tecks2.TextScaled = true
2132
tecks2.BorderSizePixel = 0
2133
tecks2.Text = ""
2134
tecks2.Font = "Fantasy"
2135
tecks2.TextSize = 30
2136
tecks2.TextStrokeTransparency = 0
2137
tecks2.TextColor3 = C3(0,1,0)
2138
tecks2.TextStrokeColor3 = C3(255, 0, 0)
2139
tecks2.Size = UDim2.new(1,0,0.5,0)
2140
tecks2.Parent = naeeym2
2141
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
2142
MakeForm(LeftHole,"Cyl")
2143
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
2144
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2145
MakeForm(Eye,"Ball")
2146
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
2147
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2148
MakeForm(Eye,"Ball")
2149
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
2150
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2151
MakeForm(Eye,"Ball")
2152
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2153
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2154
MakeForm(Eye,"Ball")
2155
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
2156
local A = IT("Attachment",Torso)
2157
A.Position = VT(1,1.3,0)
2158
A.Orientation = VT(-0.098, -89.999, 0.227)
2159
local B = IT("Attachment",Torso)
2160
B.Position = VT(-1.3,-0.6,0)
2161
B.Orientation = VT(-88.911, -68.808, 158.782)
2162
local ChainLink = IT("Beam",Torso)
2163
ChainLink.Texture = "rbxassetid://343533707"
2164
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
2165
ChainLink.TextureSpeed = 1
2166
ChainLink.FaceCamera = true
2167
ChainLink.Width0 = 1
2168
ChainLink.Width1 = 1
2169
ChainLink.TextureLength = 3
2170
ChainLink.Attachment0 = A
2171
ChainLink.Attachment1 = B
2172
ChainLink.CurveSize0 = 1.6
2173
ChainLink.CurveSize1 = 1.6
2174
ChainLink.FaceCamera = true
2175
ChainLink.Transparency = NumberSequence.new(0)
2176
local ChainLink = IT("Beam",Torso)
2177
ChainLink.Texture = "rbxassetid://343533707"
2178
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
2179
ChainLink.TextureSpeed = 1
2180
ChainLink.FaceCamera = true
2181
ChainLink.Width0 = 1
2182
ChainLink.Width1 = 1
2183
ChainLink.TextureLength = 3
2184
ChainLink.Attachment0 = B
2185
ChainLink.Attachment1 = A
2186
ChainLink.CurveSize0 = 1.6
2187
ChainLink.CurveSize1 = 1.6
2188
ChainLink.FaceCamera = true
2189
ChainLink.Transparency = NumberSequence.new(0)
2190
local A = IT("Attachment",Torso)
2191
A.Position = VT(1.3,-0.85,0)
2192
A.Orientation = VT(-0.098, -89.999, 0.227)
2193
local B = IT("Attachment",Torso)
2194
B.Position = VT(-1,2,0)
2195
B.Orientation = VT(-88.911, -68.808, 158.782)
2196
local ChainLink = IT("Beam",Torso)
2197
ChainLink.Texture = "rbxassetid://343533707"
2198
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
2199
ChainLink.TextureSpeed = 1
2200
ChainLink.FaceCamera = true
2201
ChainLink.Width0 = 1
2202
ChainLink.Width1 = 1
2203
ChainLink.TextureLength = 3
2204
ChainLink.Attachment0 = A
2205
ChainLink.Attachment1 = B
2206
ChainLink.CurveSize0 = 1.3
2207
ChainLink.CurveSize1 = 1.3
2208
ChainLink.FaceCamera = true
2209
ChainLink.Transparency = NumberSequence.new(0)
2210
local ChainLink = IT("Beam",Torso)
2211
ChainLink.Texture = "rbxassetid://343533707"
2212
ChainLink.Color = ColorSequence.new(C3(255, 0, 0))
2213
ChainLink.TextureSpeed = 1
2214
ChainLink.FaceCamera = true
2215
ChainLink.Width0 = 1
2216
ChainLink.Width1 = 1
2217
ChainLink.TextureLength = 3
2218
ChainLink.Attachment0 = B
2219
ChainLink.Attachment1 = A
2220
ChainLink.CurveSize0 = 1.3
2221
ChainLink.CurveSize1 = 1.3
2222
ChainLink.FaceCamera = true
2223
ChainLink.Transparency = NumberSequence.new(0)
2224
2225
local A = IT("Attachment",RightBarrel)
2226
A.Position = VT(0,-2.5,0)
2227
local B = IT("Attachment",RightBarrel)
2228
B.Position = VT(0,2.5,0)
2229
local Trail = IT("Trail",RightBarrel)
2230
Trail.Attachment0 = A
2231
Trail.Attachment1 = B
2232
Trail.Lifetime = 0.2
2233
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
2234
Trail.Transparency = NumberSequence.new(0, 1)
2235
Trail.Enabled = false
2236
2237
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})
2238
PRT.LockedToPart = true
2239
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})
2240
PRT.LockedToPart = true
2241
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})
2242
PRT.LockedToPart = true
2243
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})
2244
PRT.LockedToPart = true
2245
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})
2246
PRT.LockedToPart = true
2247
for _, c in pairs(Character:GetDescendants()) do
2248
	if c and c.Parent then
2249
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
2250
			local ACCESSORY = c.Parent
2251
			c.Parent = Character
2252
			if c then
2253
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
2254
					weldBetween(Head,c)
2255
				else
2256
					weldBetween(Torso,c)
2257
				end
2258
			end
2259
		end
2260
	end
2261
end
2262
local BODY = {}
2263
for _, c in pairs(Character:GetDescendants()) do
2264
	if c:IsA("BasePart") and c.Name ~= "Handle" then
2265
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
2266
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2267
		end
2268
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
2269
	elseif c:IsA("JointInstance") then
2270
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
2271
	end
2272
end
2273
function refit()
2274
	Character.Parent = workspace
2275
	for e = 1, #BODY do
2276
		if BODY[e] ~= nil then
2277
			local STUFF = BODY[e]
2278
			local PART = STUFF[1]
2279
			local PARENT = STUFF[2]
2280
			local MATERIAL = STUFF[3]
2281
			local COLOR = STUFF[4]
2282
			local TRANSPARENCY = STUFF[5]
2283
			--local SIZE = STUFF[6]
2284
			local NAME = STUFF[7]
2285
			if PART.ClassName == "Part" and PART ~= RootPart then
2286
				PART.Material = MATERIAL
2287
				PART.Transparency = TRANSPARENCY
2288
				PART.Name = NAME
2289
			end
2290
			if PART.Parent ~= PARENT then
2291
				Humanoid:remove()
2292
				PART.Parent = PARENT
2293
				Humanoid = IT("Humanoid",Character)
2294
			end
2295
		end
2296
	end
2297
end
2298
2299
2300
local Particle = IT("ParticleEmitter",nil)
2301
Particle.Enabled = false
2302
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
2303
Particle.LightEmission = 0.5
2304
Particle.Rate = 150
2305
Particle.ZOffset = 0.2
2306
Particle.Rotation = NumberRange.new(-180, 180)
2307
Particle.RotSpeed = NumberRange.new(-180, 180)
2308
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
2309
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
2310
2311
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
2312
function ParticleEmitter(Table)
2313
	local PRTCL = Particle:Clone()
2314
	local Speed = Table.Speed or 5
2315
	local Drag = Table.Drag or 0
2316
	local Size1 = Table.Size1 or 1
2317
	local Size2 = Table.Size2 or 5
2318
	local Lifetime1 = Table.Lifetime1 or 1
2319
	local Lifetime2 = Table.Lifetime2 or 1.5
2320
	local Parent = Table.Parent or Torso
2321
	local Emit = Table.Emit or 100
2322
	local Offset = Table.Offset or 360
2323
	local Acel = Table.Acel or VT(0,0,0)
2324
	local Enabled = Table.Enabled or false
2325
	PRTCL.Parent = Parent
2326
	PRTCL.Size = NumberSequence.new(Size1,Size2)
2327
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2328
	PRTCL.Speed = NumberRange.new(Speed)
2329
	PRTCL.VelocitySpread = Offset
2330
	PRTCL.Drag = Drag
2331
	PRTCL.Acceleration = Acel
2332
	if Enabled == false then
2333
		PRTCL:Emit(Emit)
2334
		Debris:AddItem(PRTCL,Lifetime2)
2335
	else
2336
		PRTCL.Enabled = true
2337
	end
2338
	return PRTCL
2339
end
2340
2341
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
2342
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
2343
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
2344
MakeForm(Part,"Wedge")
2345
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2346
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
2347
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2348
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
2349
MakeForm(Part,"Cyl")
2350
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2351
for i = 1, 8 do
2352
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2353
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2354
end
2355
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
2356
MakeForm(Part,"Wedge")
2357
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2358
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
2359
MakeForm(Part,"Cyl")
2360
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2361
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
2362
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2363
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
2364
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2365
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red, "Part", VT(0.2,0,0.6),false)
2366
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
2367
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
2368
MakeForm(RightBarrel,"Cyl")
2369
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
2370
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
2371
MakeForm(Part,"Wedge")
2372
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2373
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
2374
MakeForm(RightHole,"Cyl")
2375
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
2376
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
2377
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
2378
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
2379
MakeForm(Part,"Wedge")
2380
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2381
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
2382
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2383
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
2384
MakeForm(Part,"Cyl")
2385
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2386
for i = 1, 8 do
2387
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2388
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2389
end
2390
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
2391
MakeForm(Part,"Wedge")
2392
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2393
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
2394
MakeForm(Part,"Cyl")
2395
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2396
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
2397
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2398
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
2399
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2400
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
2401
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
2402
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
2403
MakeForm(LeftBarrel,"Cyl")
2404
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
2405
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
2406
MakeForm(Part,"Wedge")
2407
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2408
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
2409
MakeForm(LeftHole,"Cyl")
2410
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
2411
2412
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.6,0.2),false)
2413
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2414
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
2415
MakeForm(Part,"Wedge")
2416
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2417
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.3,0.2),false)
2418
MakeForm(Part,"Wedge")
2419
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
2420
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.3),false)
2421
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2422
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
2423
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2424
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
2425
MakeForm(Part,"Cyl")
2426
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2427
for i = 1, 8 do
2428
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2429
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2430
end
2431
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.38,0.41,0.38),false)
2432
MakeForm(Part,"Cyl")
2433
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2434
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.37,0.5,0.37),false)
2435
MakeForm(Part,"Ball")
2436
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2437
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.7,0.4),false)
2438
MakeForm(Part,"Wedge")
2439
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
2440
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.2),false)
2441
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2442
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.35,0.35,0.35),false)
2443
MakeForm(Part,"Cyl")
2444
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2445
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.5),false)
2446
MakeForm(Part,"Cyl")
2447
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2448
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.5,0.1,0.45),false)
2449
MakeForm(Part,"Cyl")
2450
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2451
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
2452
MakeForm(Part,"Wedge")
2453
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2454
local LASTPART = Handle
2455
for i = 1, 10 do
2456
	if LASTPART == Handle then
2457
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.2,0),false)
2458
		LASTPART = Part
2459
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2460
	else
2461
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.1,0.05,0),false)
2462
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
2463
		LASTPART = Part
2464
	end
2465
end
2466
2467
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.15,2,0.15),false)
2468
MakeForm(Barrel,"Cyl")
2469
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2470
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.25,1,0.25),false)
2471
MakeForm(Part,"Cyl")
2472
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
2473
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0.1,0.2),false)
2474
MakeForm(Part,"Wedge")
2475
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2476
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0.125,0,0.125),false)
2477
MakeForm(Hole,"Cyl")
2478
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
2479
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0,0,0),false)
2480
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2481
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
2482
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Really red", "Eye", VT(0,0,0),false)
2483
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2484
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
2485
coroutine.resume(coroutine.create(function()
2486
	while wait() do
2487
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
2488
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
2489
	end
2490
end))
2491
2492
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)})
2493
--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)})
2494
2495
for _, c in pairs(Weapon:GetDescendants()) do
2496
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2497
		c.Material = "Glass"
2498
		c.Color = C3(255, 0, 0)
2499
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2500
		c.Color = C3(255, 0, 0)
2501
		c.Material = "Neon"
2502
	end
2503
end
2504
2505
Weapon.Parent = Character
2506
for _, c in pairs(Weapon:GetChildren()) do
2507
	if c.ClassName == "Part" then
2508
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2509
	end
2510
end
2511
2512
local SKILLTEXTCOLOR = C3(0,1,0)
2513
local SKILLFONT = "Fantasy"
2514
local SKILLTEXTSIZE = 6
2515
2516
Humanoid.Died:connect(function()
2517
	refit()
2518
end)
2519
2520
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")
2521
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")
2522
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")
2523
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")
2524
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")
2525
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")
2526
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")
2527
2528
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
2529
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Ultimate_Star", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
2530
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ultimate Hell bound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
2531
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] TP", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
2532
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
2533
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[T] I Dont Have All Day", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
2534
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
2535
2536
function printbye(Name)
2537
	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, "}
2538
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
2539
end
2540
2541
workspace.ChildAdded:connect(function(instance)
2542
    for BANISH = 1, #TOBANISH do
2543
		if TOBANISH[BANISH] ~= nil then
2544
			if instance.Name == TOBANISH[BANISH] then
2545
				coroutine.resume(coroutine.create(function()
2546
					printbye(instance.Name)
2547
					instance:ClearAllChildren()
2548
					Debris:AddItem(instance,0.0005)
2549
				end))
2550
			end
2551
		end
2552
	end
2553
end)
2554
2555
--//=================================\\
2556
--||			DAMAGING
2557
--\\=================================//
2558
2559
function Kill(Char)
2560
	local NewCharacter = IT("Model",Effects)
2561
	NewCharacter.Name = "DEAD"
2562
	for _, c in pairs(Char:GetDescendants()) do
2563
		if c:IsA("BasePart") and c.Transparency == 0 then
2564
			if c.Parent == Char then
2565
				getbloody(c,5)
2566
			end
2567
			c:BreakJoints()
2568
			c.Material = "Glass"
2569
			c.Color = C3(0,1,0)
2570
			c.CanCollide = true
2571
			c.Transparency = 0.3
2572
			if c:FindFirstChildOfClass("SpecialMesh") then
2573
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2574
			end
2575
			if c.Name == "Head" then
2576
				c:ClearAllChildren()
2577
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
2578
			end
2579
			if c.ClassName == "MeshPart" then
2580
				c.TextureID = ""
2581
			end
2582
			if c:FindFirstChildOfClass("BodyPosition") then
2583
				c:FindFirstChildOfClass("BodyPosition"):remove()
2584
			end
2585
			if c:FindFirstChildOfClass("ParticleEmitter") then
2586
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2587
			end
2588
			c.Parent = NewCharacter
2589
			c.Name = "DeadPart"
2590
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
2591
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
2592
		end
2593
	end
2594
	Char:remove()
2595
	Debris:AddItem(NewCharacter,5)
2596
end
2597
2598
function ApplyAoE(POSITION,RANGE,BRUTAL)
2599
	local CHILDREN = workspace:GetDescendants()
2600
	for index, CHILD in pairs(CHILDREN) do
2601
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2602
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2603
			if HUM then
2604
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2605
				if TORSO then
2606
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2607
						if BRUTAL == true then
2608
							Kill(CHILD)
2609
						else
2610
							CHILD:BreakJoints()
2611
						end
2612
					end
2613
				end
2614
			end
2615
		end
2616
	end
2617
end
2618
2619
function BulletDetection(FROM,TO,BRUTAL)
2620
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
2621
	coroutine.resume(coroutine.create(function()
2622
		if AIMHIT ~= nil then
2623
			if AIMHIT.Parent ~= Character then
2624
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2625
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
2626
						if BRUTAL == true then
2627
							Kill(AIMHIT.Parent)
2628
						else
2629
							getbloody(AIMHIT,15)
2630
							AIMHIT.Parent:BreakJoints()
2631
							if AIMHIT.Name == "Head" then
2632
								AIMHIT.Name = "HEADSHOT"
2633
								AIMHIT:remove()
2634
							end
2635
						end
2636
					else
2637
						if BRUTAL == true then
2638
							Kill(AIMHIT.Parent.Parent)
2639
						else
2640
							AIMHIT.Parent.Parent:BreakJoints()
2641
						end
2642
					end
2643
				end
2644
			end
2645
		end
2646
	end))
2647
	SpawnTrail(FROM,AIMPOS)
2648
	return AIMHIT,AIMPOS,NORMAL
2649
end
2650
2651
function Banish(Foe)
2652
	if Foe then
2653
		coroutine.resume(coroutine.create(function()
2654
			--if game.Players:FindFirstChild(Foe.Name) then
2655
				table.insert(TOBANISH,Foe.Name)
2656
				printbye(Foe.Name)
2657
			--end
2658
			Foe.Archivable = true
2659
			local CLONE = Foe:Clone()
2660
			Foe:Destroy()
2661
			CLONE.Parent = Effects
2662
			CLONE:BreakJoints()
2663
			local MATERIALS = {"Glass","Neon"}
2664
			for _, c in pairs(CLONE:GetDescendants()) do
2665
				if c:IsA("BasePart") then
2666
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
2667
 						CreateSound(340722848, c, 10, 1, false)
2668
					end
2669
					c.Anchored = true
2670
					c.Transparency = c.Transparency + 0.2
2671
					c.Material = MATERIALS[MRANDOM(1,2)]
2672
					c.Color = C3(0,1,0)
2673
					if c.ClassName == "MeshPart" then
2674
						c.TextureID = ""
2675
					end
2676
					if c:FindFirstChildOfClass("SpecialMesh") then
2677
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2678
					end
2679
					if c:FindFirstChildOfClass("Decal") then
2680
						c:FindFirstChildOfClass("Decal"):remove()
2681
					end
2682
					c.Name = "Banished"
2683
					c.CanCollide = false
2684
				else
2685
					c:remove()
2686
				end
2687
			end
2688
			local A = false
2689
			for i = 1, 35 do
2690
				if A == false then
2691
					A = true
2692
				elseif A == true then
2693
					A = false
2694
				end
2695
				for _, c in pairs(CLONE:GetDescendants()) do
2696
					if c:IsA("BasePart") then
2697
						c.Anchored = true
2698
						c.Material = MATERIALS[MRANDOM(1,2)]
2699
						c.Transparency = c.Transparency + 0.8/35
2700
						if A == false then
2701
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
2702
						elseif A == true then
2703
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
2704
						end
2705
					end
2706
				end
2707
				Swait()
2708
			end
2709
			CLONE:remove()
2710
		end))
2711
	end
2712
end
2713
2714
function ApplyAoE(POSITION,RANGE,ISBANISH)
2715
	local CHILDREN = workspace:GetDescendants()
2716
	for index, CHILD in pairs(CHILDREN) do
2717
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2718
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2719
			if HUM then
2720
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2721
				if TORSO then
2722
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2723
						if ISBANISH == true then
2724
							Banish(CHILD)
2725
						else
2726
							if ISBANISH == "Gravity" then
2727
								HUM.PlatformStand = true
2728
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2729
									local grav = Instance.new("BodyPosition",TORSO)
2730
									grav.D = 15
2731
									grav.P = 20000
2732
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2733
									grav.position = TORSO.Position
2734
									grav.Name = "V3BanishForce"..Player.Name
2735
								else
2736
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2737
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2738
								end
2739
							else
2740
								HUM.PlatformStand = false
2741
							end
2742
						end
2743
					elseif ISBANISH == "Gravity" then
2744
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2745
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2746
							HUM.PlatformStand = false
2747
						end
2748
					end
2749
				end
2750
			end
2751
		end
2752
	end
2753
end
2754
2755
--//=================================\\
2756
--||	ATTACK FUNCTIONS AND STUFF
2757
--\\=================================//
2758
2759
function TakeOnMe()
2760
    Speed = 5
2761
    local MEME = CreateSound(288703954, Effects, 2, 1, false)
2762
    ATTACK = true
2763
    Rooted = false
2764
    local DANCE = true
2765
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2766
        if NEWKEY == "p" then
2767
            DANCE = false
2768
        end
2769
    end)
2770
    PLAYSONG = false
2771
    while true do
2772
        for i = 1, 15 do
2773
            Swait()
2774
            MEME.Parent = Effects
2775
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2776
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2777
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2778
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2779
            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)
2780
            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)
2781
        end
2782
        if DANCE == false then
2783
            break
2784
        end
2785
        for i = 1, 15 do
2786
            Swait()
2787
            MEME.Parent = Effects
2788
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2789
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2790
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2791
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2792
            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)
2793
            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)
2794
        end
2795
    end
2796
    PLAYSONG = true
2797
    KEY:Disconnect()
2798
    MEME:remove()
2799
    Speed = 25
2800
    ATTACK = false
2801
    Rooted = false
2802
end
2803
2804
function RTaunt()
2805
    ATTACK = true
2806
    Rooted = true
2807
    local TAUNT = CreateSound(159882635, Torso, 7, 1, false)
2808
    repeat
2809
        Swait()
2810
        TAUNT.Parent = Torso
2811
        TAUNT.Playing = true
2812
        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)
2813
        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)
2814
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2815
        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)
2816
        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)
2817
        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)
2818
    until TAUNT.TimePosition >= 1.25
2819
    for i=0, 1.6, 0.1 / Animation_Speed do
2820
        Swait()
2821
        TAUNT.Parent = Torso
2822
        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)
2823
        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)
2824
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2825
        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)
2826
        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)
2827
        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)
2828
    end
2829
    ATTACK = false
2830
    Rooted = false
2831
end
2832
2833
function Morning_Star()
2834
	ATTACK = true
2835
	Rooted = true
2836
	for i=0, 1, 0.1 / Animation_Speed do
2837
		Swait()
2838
		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)
2839
		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)
2840
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2841
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2842
		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)
2843
		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)
2844
	end	
2845
	coroutine.resume(coroutine.create(function()
2846
		local POS = Mouse.Hit.p
2847
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
2848
		MakeForm(RAY,"Cyl")
2849
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
2850
		MakeForm(SPHERE,"Ball")
2851
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0))
2852
		MakeForm(SHIELD,"Ball")
2853
		SHIELD.CFrame = CF(POS)
2854
		RAY.CFrame = CF(POS)
2855
		SPHERE.CFrame = CF(POS)
2856
		CreateSound(440145570, SPHERE, 10, 0.8, false)
2857
		CreateSound(415700134, SPHERE, 10, 0.8, false)
2858
		for i = 1, 200 do
2859
			Swait()
2860
			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})
2861
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
2862
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
2863
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
2864
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2865
		end	
2866
		for i = 1, 45 do
2867
			Swait()
2868
			RAY.Transparency = RAY.Transparency + 1/45
2869
			SPHERE.Transparency = RAY.Transparency 
2870
			SHIELD.Transparency = SPHERE.Transparency + 1/45
2871
		end
2872
		RAY:remove()
2873
		SHIELD:remove()
2874
		SPHERE:remove()
2875
	end))
2876
	for i=0, 1, 0.1 / Animation_Speed do
2877
		Swait()
2878
		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)
2879
		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)
2880
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2881
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2882
		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)
2883
		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)
2884
	end
2885
	ATTACK = false
2886
	Rooted = false
2887
end
2888
2889
function Deathbound()
2890
	ATTACK = true
2891
	Rooted = true
2892
	for i=0, 1, 0.1 / Animation_Speed do
2893
		Swait()
2894
		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)
2895
		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)
2896
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2897
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2898
		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)
2899
		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)
2900
	end
2901
	local DONE = false
2902
	local GATE = nil
2903
	local GATESPIN = true
2904
	coroutine.resume(coroutine.create(function()
2905
		repeat
2906
			Swait()
2907
			if GATE ~= nil then
2908
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2909
			end
2910
		until GATESPIN == false
2911
	end))
2912
	coroutine.resume(coroutine.create(function()
2913
		repeat
2914
			Swait()
2915
			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)
2916
			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)
2917
			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)
2918
			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)
2919
			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)
2920
			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)
2921
		until DONE == true
2922
		Swait(50)
2923
		for i = 1, 35 do
2924
			Swait(4)
2925
			local FIRED = false
2926
			local CHILDREN = workspace:GetDescendants()
2927
			for index, CHILD in pairs(CHILDREN) do
2928
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2929
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2930
					if HUM then
2931
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2932
						if TORSO then
2933
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2934
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2935
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2936
								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})
2937
								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})
2938
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2939
								Kill(CHILD)
2940
								FIRED = true
2941
								break
2942
							end
2943
						end
2944
					end
2945
				end
2946
			end
2947
			if FIRED == false then
2948
				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)))
2949
				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})
2950
				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})
2951
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2952
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2953
				if HITBOD ~= nil then
2954
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2955
						Kill(HITBOD.Parent)
2956
					end
2957
				end
2958
			end
2959
		end
2960
		for i = 1, 45 do
2961
			Swait()
2962
			GATE.Size = GATE.Size - VT(3,0,3)
2963
		end
2964
		GATESPIN = false
2965
		GATE:remove()
2966
	end))
2967
	Swait(15)
2968
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2969
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
2970
	local DECAL = IT("Decal",GATE)
2971
	DECAL.Texture = "http://www.roblox.com/asset/?id=26356434"
2972
	DECAL.Face = "Top"
2973
	GATE.CFrame = CF(HITPOS)
2974
	CreateSound(160772554, GATE, 7, 1.3, false)
2975
	for i = 1, 45 do
2976
		Swait()
2977
		GATE.Size = GATE.Size + VT(3,0,3)
2978
	end
2979
	CreateSound(145080998, RightHole, 7, 1, false)
2980
	CreateSound(145080998, LeftHole, 7, 1, false)
2981
	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})
2982
	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})
2983
	ATTACK = false
2984
	Rooted = false
2985
	DONE = true
2986
end
2987
2988
function Dash()
2989
	ATTACK = true
2990
	Rooted = false
2991
	local TARGET = nil
2992
	local TORS = nil
2993
	local GYRO = IT("BodyGyro",RootPart)
2994
	GYRO.D = 175
2995
	GYRO.P = 20000
2996
	GYRO.MaxTorque = VT(0,40000,0)
2997
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2998
	local RANGE = 5
2999
	CreateSound(541909867, Torso, 7, 1, false)
3000
	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})
3001
	for i=0, 1, 0.1 / Animation_Speed do
3002
		Swait()
3003
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
3004
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3005
		local CHILDREN = workspace:GetDescendants()
3006
		for index, CHILD in pairs(CHILDREN) do
3007
			if CHILD.ClassName == "Model" and CHILD ~= Character then
3008
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3009
				if HUM then
3010
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3011
					if TORSO then
3012
						if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
3013
							RANGE = (TORSO.Position - LeftHole.Position).Magnitude
3014
							TARGET = HUM
3015
							TORS = TORSO
3016
						end
3017
					end
3018
				end
3019
			end
3020
		end
3021
		if TARGET then
3022
			break
3023
		end
3024
		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)
3025
		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)
3026
		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)
3027
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3028
		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)
3029
		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)
3030
	end
3031
	GYRO:remove()
3032
	if TORS and TARGET then
3033
		Rooted = true
3034
		local BODYPOSITION = IT("BodyPosition", TORS)
3035
		BODYPOSITION.P = 2000
3036
		BODYPOSITION.D = 100
3037
		BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
3038
		for i=0, 1, 0.1 / Animation_Speed do
3039
			Swait()
3040
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3041
			BODYPOSITION.Position = TORS.Position
3042
			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)
3043
			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)
3044
			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)
3045
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3046
			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)
3047
			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)
3048
		end
3049
		for i=0, 0.4, 0.1 / Animation_Speed do
3050
			Swait()
3051
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3052
			BODYPOSITION.Position = TORS.Position
3053
			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)
3054
			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)
3055
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3056
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3057
			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)
3058
			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)
3059
		end	
3060
		local LOOP = 0
3061
		local LOOP2 = 0
3062
		for i=0, 5, 0.1 / Animation_Speed do
3063
			Swait()
3064
			LOOP = LOOP + 1
3065
			TORS.Anchored = true
3066
			LOOP2 = LOOP2 + 1
3067
			if LOOP2 >= 5 then
3068
				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})
3069
				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})
3070
				CreateSound(145080998, RightHole, 7, 1, false)
3071
				SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
3072
				LOOP2 = 0
3073
				getbloody(TORS,1)
3074
			end
3075
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3076
			BODYPOSITION.Position = TORS.Position
3077
			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)
3078
			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)
3079
			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)
3080
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3081
			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)
3082
			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)
3083
		end	
3084
		BODYPOSITION:remove()
3085
		if TORS then
3086
			TORS.Anchored = false
3087
			Kill(TORS.Parent)
3088
		end
3089
	end
3090
	ATTACK = false
3091
	Rooted = false
3092
end
3093
end
3094
3095
function Taunt()
3096
	ATTACK = true
3097
	Rooted = true
3098
	local TAUNT = CreateSound(907330011,Torso,10,1,false)
3099
	coroutine.resume(coroutine.create(function()
3100
		repeat
3101
			Swait()
3102
			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)
3103
			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)
3104
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3105
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3106
			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)
3107
			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)
3108
		until ATTACK == false
3109
	end))
3110
	repeat wait() until TAUNT.Playing == false
3111
	ATTACK = false
3112
	Rooted = false
3113
end
3114
3115
3116
function Debree(POS,SWAIT)
3117
	coroutine.resume(coroutine.create(function()
3118
		local HOLDER = IT("Model",Effects)
3119
		HOLDER.Name = "Debree"
3120
		local HITFLOOR = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
3121
		MagicSphere(VT(15,1,15),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
3122
		MagicSphere(VT(13,1,13),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
3123
		MagicSphere(VT(12,1,12),SWAIT,CF(POS),"Reddish brown",VT(0,0,0))
3124
		repeat Swait() until HITFLOOR ~= nil
3125
		local O = 0
3126
		for i = 1, 18 do
3127
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
3128
			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)))
3129
			O = O - (45/4)/5+i/4
3130
			coroutine.resume(coroutine.create(function()
3131
				Swait(SWAIT)
3132
				for i = 1, 60 do
3133
					Swait()
3134
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
3135
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
3136
				end
3137
				for i = 1, 50 do
3138
					Swait()
3139
					Part.Size = Part.Size * 0.9
3140
				end
3141
			end))
3142
		end
3143
		local O = 0
3144
		for i = 1, 18 do
3145
			local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3,3,3))
3146
			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)))
3147
			O = O + (45/4)/5-i/4
3148
			coroutine.resume(coroutine.create(function()
3149
				Swait(SWAIT)
3150
				for i = 1, 60 do
3151
					Swait()
3152
					local RayHit, Way = CastProperRay(Part.Position,POS,0.1,workspace)
3153
					Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
3154
				end
3155
				for i = 1, 50 do
3156
					Swait()
3157
					Part.Size = Part.Size * 0.9
3158
				end
3159
			end))
3160
		end
3161
		Swait(SWAIT+110)
3162
		HOLDER:remove()
3163
	end))
3164
end
3165
3166
3167
3168
3169
function WarpVector()
3170
	ATTACK = false
3171
	Rooted = true
3172
	
3173
	Debree(CF(RootPart.Position)*CF(0,-2.8,0).p,75)
3174
	UNANCHOR = false
3175
	
3176
	RootPart.Anchored = true
3177
	for i=0, 2, 0.1 / Animation_Speed do
3178
		Swait()
3179
		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)
3180
		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)
3181
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3182
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3183
		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)
3184
		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)
3185
	end
3186
3187
	local POS = RootPart.Position
3188
	RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2.8,0).p,POS)
3189
	Debree(CF(RootPart.Position)*CF(0,-2.5,0).p,150)
3190
	for i=0, 2, 0.1 / Animation_Speed do
3191
		Swait()
3192
		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)
3193
		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)
3194
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3195
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3196
		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)
3197
		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)
3198
	end
3199
UNANCHOR = true
3200
	ATTACK = false
3201
	Rooted = false
3202
end
3203
3204
function Banisher_Bullet()
3205
	ATTACK = true
3206
	Rooted = false
3207
	for i=2, 2, 2 / Animation_Speed do
3208
		Swait()
3209
		turnto(Mouse.Hit.p)
3210
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
3211
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
3212
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3213
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3214
		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)
3215
		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)
3216
	end
3217
	repeat
3218
		for i=0, 0.2, 0.1 / Animation_Speed do
3219
			Swait()
3220
			turnto(Mouse.Hit.p)
3221
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
3222
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
3223
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3224
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3225
			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)
3226
			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)
3227
		end
3228
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
3229
		SpawnTrail(Hole.Position,POS)
3230
		if HIT ~= nil then
3231
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3232
				Banish(HIT.Parent)
3233
			end
3234
		end
3235
		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})
3236
		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})
3237
		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})
3238
		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})
3239
		for i=0, 0.3, 0.1 / Animation_Speed do
3240
			Swait()
3241
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
3242
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
3243
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3244
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3245
			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)
3246
			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)
3247
		end
3248
	until KEYHOLD == false
3249
	ATTACK = false
3250
	Rooted = false
3251
end
3252
3253
function AttackTemplate()
3254
	ATTACK = true
3255
	Rooted = false
3256
	for i=0, 1, 0.1 / Animation_Speed do
3257
		Swait()
3258
		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)
3259
		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)
3260
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3261
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3262
		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)
3263
		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)
3264
	end
3265
	ATTACK = false
3266
	Rooted = false
3267
end
3268
3269
--//=================================\\
3270
--||	  ASSIGN THINGS TO KEYS
3271
--\\=================================//
3272
function MouseDown(Mouse)
3273
	if ATTACK == false then
3274
	end
3275
end
3276
3277
function MouseUp(Mouse)
3278
HOLD = false
3279
end
3280
3281
function KeyDown(Key)
3282
	KEYHOLD = true
3283
	if Key == "z" and ATTACK == false then
3284
		Banisher_Bullet()
3285
	end
3286
3287
	if Key == "v" and ATTACK == false then
3288
                Morning_Star()
3289
	end
3290
3291
	if Key == "b" and ATTACK == false then
3292
                RTaunt()  
3293
	end  
3294
3295
	if Key == "n" and ATTACK == false then
3296
                TakeOnMe()  
3297
	end 
3298
3299
	if Key == "q" and ATTACK == false then
3300
                Dash()
3301
	end
3302
3303
	if Key == "t" and ATTACK == false then
3304
		Taunt()
3305
	end
3306
3307
	if Key == "x" and ATTACK == false then
3308
                Deathbound()  
3309
	end  
3310
3311
	if Key == "c" and ATTACK == false then
3312
		WarpVector()
3313
	end
3314
end
3315
3316
function KeyUp(Key)
3317
	KEYHOLD = false
3318
end
3319
3320
	Mouse.Button1Down:connect(function(NEWKEY)
3321
		MouseDown(NEWKEY)
3322
	end)
3323
	Mouse.Button1Up:connect(function(NEWKEY)
3324
		MouseUp(NEWKEY)
3325
	end)
3326
	Mouse.KeyDown:connect(function(NEWKEY)
3327
		KeyDown(NEWKEY)
3328
	end)
3329
	Mouse.KeyUp:connect(function(NEWKEY)
3330
		KeyUp(NEWKEY)
3331
	end)
3332
3333
--//=================================\\
3334
--\\=================================//
3335
3336
3337
function unanchor()
3338
	if UNANCHOR == true then
3339
		g = Character:GetChildren()
3340
		for i = 1, #g do
3341
			if g[i].ClassName == "Part" then
3342
				g[i].Anchored = false
3343
			end
3344
		end
3345
	end
3346
end
3347
3348
3349
--//=================================\\
3350
--||	WRAP THE WHOLE SCRIPT UP
3351
--\\=================================//
3352
3353
Humanoid.Changed:connect(function(Jump)
3354
	if Jump == "Jump" and (Disable_Jump == true) then
3355
		Humanoid.Jump = false
3356
	end
3357
end)
3358
3359
local CONNECT = nil
3360
3361
while true do
3362
	Swait()
3363
	ANIMATE.Parent = nil
3364
	if Character:FindFirstChildOfClass("Humanoid") == nil then
3365
		Humanoid = IT("Humanoid",Character)
3366
	end
3367
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
3368
	    v:Stop();
3369
	end
3370
	SINE = SINE + CHANGE
3371
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3372
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3373
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3374
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3375
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3376
		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)
3377
		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)
3378
		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)
3379
		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)
3380
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3381
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
3382
		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)
3383
		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)
3384
		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)
3385
	end
3386
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3387
		ANIM = "Jump"
3388
		if ATTACK == false then
3389
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
3390
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
3391
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
3392
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
3393
			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)
3394
			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)
3395
	    end
3396
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3397
		ANIM = "Fall"
3398
		if ATTACK == false then
3399
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
3400
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.3 / Animation_Speed)
3401
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
3402
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
3403
			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)
3404
			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)
3405
		end
3406
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3407
		ANIM = "Idle"
3408
		if ATTACK == false then
3409
			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)
3410
			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)
3411
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
3412
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.16 / Animation_Speed)
3413
			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)
3414
			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)
3415
		end
3416
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3417
		ANIM = "Walk"
3418
		if ATTACK == false then
3419
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.16 / Animation_Speed)
3420
			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)
3421
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.16 / Animation_Speed)
3422
			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)
3423
			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)
3424
			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)
3425
		end
3426
	end
3427
	unanchor()
3428
	Humanoid.MaxHealth = "inf"
3429
	Humanoid.Health = "inf"
3430
	if Rooted == false then
3431
		Disable_Jump = false
3432
		Humanoid.WalkSpeed = Speed
3433
	elseif Rooted == true then
3434
		Disable_Jump = true
3435
		Humanoid.WalkSpeed = 0
3436
	end
3437
	sick.Parent = Torso
3438
	sick:resume()
3439
	sick.Volume = 5
3440
	sick.Pitch = 1.1
3441
	sick.SoundId = "rbxassetid://1696854181"
3442
	sick.Name = "BanishV3Music"
3443
        end
3444
	if Head:FindFirstChild("face") then
3445
		Head.face.Texture = "rbxassetid://176217464"
3446
end
3447
3448
Humanoid.Changed:connect(function(Jump)
3449
	if Jump == "Jump" and (Disable_Jump == true) then
3450
		Humanoid.Jump = false
3451
	end
3452
end)
3453
3454
local BLINKLOOP = 0
3455
3456
while true do
3457
	Swait()
3458
	script.Parent = WEAPONGUI
3459
	ANIMATE.Parent = nil
3460
	Humanoid.Parent = Character
3461
	if Humanoid then
3462
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
3463
		IDLEANIMATION:Play()
3464
	end
3465
	SINE = SINE + CHANGE
3466
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3467
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3468
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3469
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3470
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3471
		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)
3472
		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)
3473
		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)
3474
		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)
3475
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3476
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3477
		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)
3478
		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)
3479
		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)
3480
	end
3481
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
3482
		ANIM = "Jump"
3483
		if ATTACK == false then
3484
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3485
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3486
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3487
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3488
			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)
3489
			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)
3490
	    end
3491
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
3492
		ANIM = "Fall"
3493
		if ATTACK == false then
3494
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3495
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3496
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3497
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3498
			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)
3499
			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)
3500
		end
3501
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3502
		ANIM = "Idle"
3503
		if ATTACK == false then
3504
			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)
3505
			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)
3506
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3507
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3508
			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)
3509
			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)
3510
		end
3511
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3512
		ANIM = "Walk"
3513
		if ATTACK == false then
3514
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3515
			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)
3516
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3517
			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)
3518
			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)
3519
			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)
3520
		end
3521
	end
3522
	unanchor()
3523
	Humanoid.MaxHealth = "inf"
3524
	Humanoid.Health = "inf"
3525
	if Rooted == false then
3526
		Disable_Jump = false
3527
		Humanoid.WalkSpeed = Speed
3528
	elseif Rooted == true then
3529
		Disable_Jump = true
3530
		Humanoid.WalkSpeed = 0
3531
	end
3532
	sick.SoundId = "rbxassetid://1696854181"
3533
	sick.Looped = true
3534
	sick.Pitch = 1.1
3535
	sick.Volume = 5
3536
	sick.Playing = true
3537
	sick.Parent = Torso
3538
	if Head:FindFirstChild("face") then
3539
		Head.face.Texture = "rbxassetid://404306534"
3540
	end
3541
	BLINKLOOP = BLINKLOOP + 1
3542
	if BLINKLOOP >=650 then
3543
		BLINKLOOP = 0
3544
		Blink()
3545
	end
3546
	if #GHOSTS>0 then
3547
		for e=1,#GHOSTS do
3548
			if GHOSTS[e]~=nil then
3549
				local Thing=GHOSTS[e]
3550
				if Thing~=nil then
3551
					if Thing:FindFirstChild("Head") then
3552
						if Thing:FindFirstChild("Head"):FindFirstChild("face") then
3553
							Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570"
3554
						end
3555
						if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then
3556
							Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove()
3557
						end
3558
					end
3559
					local TORSO = Thing:FindFirstChild("Torso")
3560
					if TORSO then
3561
						TORSO.Anchored = false
3562
						local ROOT = Thing.HumanoidRootPart
3563
						local RootJoint1 = ROOT:FindFirstChild("RootJoint")
3564
						local Neck1 = TORSO:FindFirstChild("Neck")
3565
						local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder")
3566
						local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder")
3567
						local RightHip1 = TORSO:FindFirstChild("Right Hip")
3568
						local LeftHip1 = TORSO:FindFirstChild("Left Hip")
3569
						if ROOT and RootJoint1 then
3570
							local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude
3571
							if VELOCITY < 1 then
3572
								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)))
3573
								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)))
3574
								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
3575
								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
3576
								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))
3577
								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))
3578
							elseif VELOCITY > 1 then
3579
								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)))
3580
								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)))
3581
								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
3582
								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
3583
								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))
3584
								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))
3585
							end
3586
						end
3587
						local Human = Thing.Humanoid
3588
						if Human then
3589
							Human.HipHeight = 0.3
3590
							for _, c in pairs(Thing:GetChildren()) do
3591
								if c.ClassName == "Part" and c.Transparency < 1 then
3592
									c.Color = C3(255, 0, 0)
3593
									c.Transparency = 0.65 + 0.15 * COS(SINE / 25)
3594
								elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
3595
									c:remove()
3596
								end
3597
							end
3598
							if Human then
3599
								local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION)
3600
								IDLEANIMATION:Play()
3601
							end
3602
							local list = game.Workspace:children()
3603
							local torso = nil
3604
							local dist = 50
3605
							local temp = nil
3606
							local human = nil
3607
							local temp2 = nil
3608
							local OwnerInDanger = false
3609
							for x = 1, #list do
3610
								temp2 = list[x]
3611
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
3612
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
3613
									human = temp2:findFirstChildOfClass("Humanoid")
3614
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
3615
										if (temp.Position - Torso.Position).magnitude < 15 then
3616
											OwnerInDanger = true
3617
											newdist = (temp.Position - TORSO.Position).magnitude
3618
											dist = (Torso.Position - temp.Position).magnitude
3619
											Human:MoveTo(temp.Position)
3620
											torso = temp
3621
											if newdist < 7 then
3622
												torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5)
3623
												CreateSound(814168787, temp, 1, 2, false)
3624
												ApplyDamage(human,MRANDOM(15,35),temp)
3625
												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})
3626
												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})
3627
											end
3628
										end
3629
									end
3630
								end
3631
							end
3632
							if OwnerInDanger == false then
3633
								for x = 1, #list do
3634
									temp2 = list[x]
3635
									if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then
3636
										temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
3637
										human = temp2:findFirstChildOfClass("Humanoid")
3638
										if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
3639
											if (temp.Position - Torso.Position).magnitude < dist then
3640
												newdist = (temp.Position - TORSO.Position).magnitude
3641
												Human:MoveTo(temp.Position)
3642
												torso = temp
3643
												if newdist < 15 then
3644
													if MRANDOM(1,35) == 1 then
3645
														CreateSound(438665935, temp, 1, 3, false)
3646
														ApplyDamage(human,MRANDOM(2,20),temp)
3647
														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})
3648
													end
3649
												end
3650
											end
3651
										end
3652
									end
3653
								end
3654
							end
3655
							if torso == nil then
3656
								Human.WalkSpeed = Speed -0.2
3657
								if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then
3658
									Human:MoveTo(TORSO.Position)
3659
								elseif (Torso.Position - TORSO.Position).magnitude > 15 then
3660
									Human:MoveTo(Torso.Position)
3661
								elseif (Torso.Position - TORSO.Position).magnitude < 11 then
3662
									Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p)
3663
								end
3664
							else
3665
								if OwnerInDanger == false then
3666
									Human.WalkSpeed = Speed*1.2
3667
								else
3668
									Human.WalkSpeed = Speed*5
3669
								end
3670
							end
3671
							if Human.Health == 0 then
3672
								Thing:remove()
3673
								table.remove(GHOSTS,e)
3674
							else
3675
								Human.Health = Human.Health + 0.5
3676
							end
3677
						else
3678
							Thing:remove()
3679
							table.remove(GHOSTS,e)
3680
						end
3681
					else
3682
						Thing:remove()
3683
						table.remove(GHOSTS,e)
3684
					end
3685
				end
3686
			end
3687
		end
3688
	end
3689
	refit()
3690
end
3691
3692
--//=================================\\
3693
--\\=================================//
3694
3695
3696
3697
3698
3699
--//====================================================\\--
3700
--||			  		 END OF SCRIPT
3701
--\\====================================================//--