View difference between Paste ID: Uren85Kc and cdzg5Yd1
SHOW: | | - or go back to the newest paste.
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
 
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
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
 
545
 
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
 
550
wed = CreateParta(mw1,0,0,"Neon",halocolor)
551
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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
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
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
A1 = Instance.new('Attachment',wed)
561
wed = CreateParta(mw1,0,0,"Neon",halocolor)
562
CreateMesh(wed,"Wedge",0.05,3,0.5)
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
tl2.Attachment0 = A0
567
tl2.Attachment1 = A1
568
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
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
tl2.Lifetime = 0.6
573
 
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
 
578
wed = CreateParta(mw1,0,0,"Neon",halocolor)
579
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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
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
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
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
tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
600
tl3.Lifetime = 0.6
601
 
602
tl1.Enabled = false
603
tl2.Enabled = false
604
tl3.Enabled = 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
 
609
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
610
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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
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
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
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
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
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
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
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
 
658
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
659
CreateMesh(handle,"Brick",0.5,0.5,0.5)
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
 
662
wed = CreateParta(mw2,0,0,"Neon",halocolor)
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
--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-
Player = game.Players.LocalPlayer
795+
local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
796-
    Character = Player.Character
796+
txtfag.Adornee = suckadick
797-
    local txt = Instance.new("BillboardGui", Character)
797+
txtfag.Name = "kys nigga"
798-
    txt.Adornee = Character.Head
798+
txtfag.Size = UDim2.new(2, 0, 1.2, 0)
799-
    txt.Name = "_status"
799+
txtfag.StudsOffset = Vector3.new(-5, 3, 0)
800-
    txt.Size = UDim2.new(2, 0, 1.2, 0)
800+
local textfag = Instance.new("TextLabel", txtfag)
801-
    txt.StudsOffset = Vector3.new(-9, 8, 0)
801+
textfag.Size = UDim2.new(6, 0, 1, 0)
802-
    local text = Instance.new("TextLabel", txt)
802+
textfag.FontSize = "Size8"
803-
    text.Size = UDim2.new(10, 0, 7, 0)
803+
textfag.TextScaled = true
804-
    text.FontSize = "Size24"
804+
textfag.TextTransparency = 0
805-
    text.TextScaled = true
805+
textfag.BackgroundTransparency = 1
806-
    text.TextTransparency = 0
806+
textfag.TextTransparency = 0
807-
    text.BackgroundTransparency = 1
807+
textfag.TextStrokeTransparency = 0
808-
    text.TextTransparency = 0
808+
textfag.Font = "Cartoon"
809-
    text.TextStrokeTransparency = 0
809+
textfag.TextStrokeColor3 = Color3.new(0, 0, 255)
810-
    text.Font = "Antique"
810+
v = Instance.new("Part")
811-
    text.TextStrokeColor3 = Color3.new(255, 0, 0)
811+
v.Name = "ColorBrick"
812-
        text.Text = "Evil Kill bot"
812+
v.Parent = part
813
v.FormFactor = "Symmetric"
814
v.Anchored = true
815
v.CanCollide = false
816
v.BottomSurface = "Smooth"
817
v.TopSurface = "Smooth"
818
v.Size = Vector3.new(10, 5, 3)
819
v.Transparency = 0.7
820
v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
821
v.Transparency = 1
822
textfag.TextColor3 = v.BrickColor.Color
823
textfag.TextStrokeColor3 = Color3.new(0, 0, 255)
824
v.Shape = "Block"
825
textfag.Text = "Script Edit By voyqgo"
826
wait(2)
827
textfag.Text = "Let do this"
828
wait(0.3)
829
textfag.Text = game.Players.LocalPlayer.Character.Name.." Evil kill bot"
830
function sandbox(var,func)
831
	local env = getfenv(func)
832
	local newenv = setmetatable({},{
833
		__index = function(self,k)
834
			if k=="script" then
835
				return var
836
			else
837
				return env[k]
838
			end
839
		end,
840
	})
841
	setfenv(func,newenv)
842
	return func
843
end
844
cors = {}
845
mas = Instance.new("Model",game:GetService("Lighting"))
846
Model0 = Instance.new("Model")
847
Part1 = Instance.new("Part")
848
Weld2 = Instance.new("Weld")
849
Part3 = Instance.new("Part")
850
Decal4 = Instance.new("Decal")
851
Decal5 = Instance.new("Decal")
852
Model0.Name = "Flagloldiefurshits"
853
Model0.Parent = mas
854
Part1.Name = "Stick"
855
Part1.Parent = Model0
856
Part1.Material = Enum.Material.Wood
857
Part1.BrickColor = BrickColor.new("Really blue")
858
Part1.Rotation = Vector3.new(0, 0, 126)
859
Part1.Shape = Enum.PartType.Cylinder
860
Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
861
Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
862
Part1.BottomSurface = Enum.SurfaceType.Smooth
863
Part1.TopSurface = Enum.SurfaceType.Smooth
864
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
865
Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
866
Part1.Orientation = Vector3.new(0, 0, 126)
867
Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
868
Weld2.Parent = Part1
869
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)
870
Weld2.Part0 = Part1
871
Weld2.Part1 = Part3
872
Part3.Name = "Flag"
873
Part3.Parent = Model0
874
Part3.BrickColor = BrickColor.new("Really blue")
875
Part3.Rotation = Vector3.new(0, 0, 36)
876
Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
877
Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
878
Part3.BottomSurface = Enum.SurfaceType.Smooth
879
Part3.Color = Color3.new(0, 0, 0)
880
Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
881
Part3.Orientation = Vector3.new(0, 0, 36)
882
Part3.Color = Color3.new(0, 0, 0)
883
Decal4.Parent = Part3
884
Decal4.Texture = "rbxassetid://1150731665"
885
Decal5.Name = "Decal1"
886
Decal5.Parent = Part3
887
Decal5.Texture = "rbxassetid://1150731665"
888
Decal5.Face = Enum.NormalId.Back
889
for i,v in pairs(mas:GetChildren()) do
890
	v.Parent = game:GetService("Players").LocalPlayer.Character
891
	pcall(function() v:MakeJoints() end)
892
end
893
mas:Destroy()
894
for i,v in pairs(cors) do
895
	spawn(function()
896
		pcall(v)
897
	end)
898
end
899
900
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
901
MakeForm(LeftHole,"Cyl")
902
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
903
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
904
MakeForm(Eye,"Ball")
905
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
906
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
907
MakeForm(Eye,"Ball")
908
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
909
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
910
MakeForm(Eye,"Ball")
911
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
912
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
913
MakeForm(Eye,"Ball")
914
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
915
local A = IT("Attachment",Torso)
916
A.Position = VT(1,1.3,0)
917
A.Orientation = VT(-0.098, -89.999, 0.227)
918
local B = IT("Attachment",Torso)
919
B.Position = VT(-1.3,-0.6,0)
920
B.Orientation = VT(-88.911, -68.808, 158.782)
921
local ChainLink = IT("Beam",Torso)
922
ChainLink.Texture = "rbxassetid://73042633"
923
ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
924
ChainLink.TextureSpeed = 1
925
ChainLink.FaceCamera = true
926
ChainLink.Width0 = 1
927
ChainLink.Width1 = 1
928
ChainLink.TextureLength = 3
929
ChainLink.Attachment0 = A
930
ChainLink.Attachment1 = B
931
ChainLink.CurveSize0 = 1.6
932
ChainLink.CurveSize1 = 1.6
933
ChainLink.FaceCamera = true
934
ChainLink.Transparency = NumberSequence.new(0)
935
local ChainLink = IT("Beam",Torso)
936
ChainLink.Texture = "rbxassetid://73042633"
937
ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
938
ChainLink.TextureSpeed = 1
939
ChainLink.FaceCamera = true
940
ChainLink.Width0 = 1
941
ChainLink.Width1 = 1
942
ChainLink.TextureLength = 3
943
ChainLink.Attachment0 = B
944
ChainLink.Attachment1 = A
945
ChainLink.CurveSize0 = 1.6
946
ChainLink.CurveSize1 = 1.6
947
ChainLink.FaceCamera = true
948
ChainLink.Transparency = NumberSequence.new(0)
949
local A = IT("Attachment",Torso)
950
A.Position = VT(1.3,-0.85,0)
951
A.Orientation = VT(-0.098, -89.999, 0.227)
952
local B = IT("Attachment",Torso)
953
B.Position = VT(-1,2,0)
954
B.Orientation = VT(-88.911, -68.808, 158.782)
955
local ChainLink = IT("Beam",Torso)
956
ChainLink.Texture = "rbxassetid://73042633"
957
ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
958
ChainLink.TextureSpeed = 1
959
ChainLink.FaceCamera = true
960
ChainLink.Width0 = 1
961
ChainLink.Width1 = 1
962
ChainLink.TextureLength = 3
963
ChainLink.Attachment0 = A
964
ChainLink.Attachment1 = B
965
ChainLink.CurveSize0 = 1.3
966
ChainLink.CurveSize1 = 1.3
967
ChainLink.FaceCamera = true
968
ChainLink.Transparency = NumberSequence.new(0)
969
local ChainLink = IT("Beam",Torso)
970
ChainLink.Texture = "rbxassetid://73042633"
971
ChainLink.Color = ColorSequence.new(C3(0, 0, 255))
972
ChainLink.TextureSpeed = 1
973
ChainLink.FaceCamera = true
974
ChainLink.Width0 = 1
975
ChainLink.Width1 = 1
976
ChainLink.TextureLength = 3
977
ChainLink.Attachment0 = B
978
ChainLink.Attachment1 = A
979
ChainLink.CurveSize0 = 1.3
980
ChainLink.CurveSize1 = 1.3
981
ChainLink.FaceCamera = true
982
ChainLink.Transparency = NumberSequence.new(0)
983
984
local A = IT("Attachment",RightBarrel)
985
A.Position = VT(0,-2.5,0)
986
local B = IT("Attachment",RightBarrel)
987
B.Position = VT(0,2.5,0)
988
local Trail = IT("Trail",RightBarrel)
989
Trail.Attachment0 = A
990
Trail.Attachment1 = B
991
Trail.Lifetime = 0.2
992
Trail.Color = ColorSequence.new(BRICKC"Really blue".Color)
993
Trail.Transparency = NumberSequence.new(0, 1)
994
Trail.Enabled = false
995
996
--//====================================================\\--
997
--||			   EDIT BY VOYQGO
998
--\\====================================================//--
999
1000
wait(0.2)
1001
1002
Player = game:GetService("Players").LocalPlayer
1003
PlayerGui = Player.PlayerGui
1004
Cam = workspace.CurrentCamera
1005
Backpack = Player.Backpack
1006
Character = Player.Character
1007
Humanoid = Character.Humanoid
1008
Mouse = Player:GetMouse()
1009
RootPart = Character["HumanoidRootPart"]
1010
Torso = Character["Torso"]
1011
Head = Character["Head"]
1012
RightArm = Character["Right Arm"]
1013
LeftArm = Character["Left Arm"]
1014
RightLeg = Character["Right Leg"]
1015
LeftLeg = Character["Left Leg"]
1016
RootJoint = RootPart["RootJoint"]
1017
Neck = Torso["Neck"]
1018
RightShoulder = Torso["Right Shoulder"]
1019
LeftShoulder = Torso["Left Shoulder"]
1020
RightHip = Torso["Right Hip"]
1021
LeftHip = Torso["Left Hip"]
1022
1023
IT = Instance.new
1024
CF = CFrame.new
1025
VT = Vector3.new
1026
RAD = math.rad
1027
C3 = Color3.new
1028
UD2 = UDim2.new
1029
BRICKC = BrickColor.new
1030
ANGLES = CFrame.Angles
1031
EULER = CFrame.fromEulerAnglesXYZ
1032
COS = math.cos
1033
ACOS = math.acos
1034
SIN = math.sin
1035
ASIN = math.asin
1036
ABS = math.abs
1037
MRANDOM = math.random
1038
FLOOR = math.floor
1039
1040
--//=================================\\
1041
--|| 	      USEFUL VALUES
1042
--\\=================================//
1043
1044
Animation_Speed = 3
1045
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
1046
local Speed = 16
1047
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1048
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1049
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
1050
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
1051
local DAMAGEMULTIPLIER = 1
1052
local ANIM = "Idle"
1053
local ATTACK = false
1054
local EQUIPPED = false
1055
local HOLD = false
1056
local COMBO = 1
1057
local Rooted = false
1058
local SINE = 0
1059
local KEYHOLD = false
1060
local CHANGE = 2 / Animation_Speed
1061
local WALKINGANIM = false
1062
local VALUE1 = false
1063
local VALUE2 = false
1064
local ROBLOXIDLEANIMATION = IT("Animation")
1065
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
1066
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
1067
--ROBLOXIDLEANIMATION.Parent = Humanoid
1068
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1069
WEAPONGUI.Name = "Weapon GUI"
1070
local Weapon = IT("Model")
1071
Weapon.Name = "Adds"
1072
local Effects = IT("Folder", Weapon)
1073
Effects.Name = "Effects"
1074
local ANIMATOR = Humanoid.Animator
1075
local ANIMATE = Character.Animate
1076
local UNANCHOR = true
1077
1078
--//=================================\\
1079
--\\=================================//
1080
1081
1082
--//=================================\\
1083
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
1084
--\\=================================//
1085
1086
ArtificialHB = Instance.new("BindableEvent", script)
1087
ArtificialHB.Name = "ArtificialHB"
1088
1089
script:WaitForChild("ArtificialHB")
1090
1091
frame = Frame_Speed
1092
tf = 0
1093
allowframeloss = false
1094
tossremainder = false
1095
lastframe = tick()
1096
script.ArtificialHB:Fire()
1097
1098
game:GetService("RunService").Heartbeat:connect(function(s, p)
1099
	tf = tf + s
1100
	if tf >= frame then
1101
		if allowframeloss then
1102
			script.ArtificialHB:Fire()
1103
			lastframe = tick()
1104
		else
1105
			for i = 1, math.floor(tf / frame) do
1106
				script.ArtificialHB:Fire()
1107
			end
1108
		lastframe = tick()
1109
		end
1110
		if tossremainder then
1111
			tf = 0
1112
		else
1113
			tf = tf - frame * math.floor(tf / frame)
1114
		end
1115
	end
1116
end)
1117
1118
--//=================================\\
1119
--\\=================================//
1120
1121
--//=================================\\
1122
--|| 	      SOME FUNCTIONS
1123
--\\=================================//
1124
1125
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1126
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1127
end
1128
1129
function PositiveAngle(NUMBER)
1130
	if NUMBER >= 0 then
1131
		NUMBER = 0
1132
	end
1133
	return NUMBER
1134
end
1135
1136
function NegativeAngle(NUMBER)
1137
	if NUMBER <= 0 then
1138
		NUMBER = 0
1139
	end
1140
	return NUMBER
1141
end
1142
1143
function Swait(NUMBER)
1144
	if NUMBER == 0 or NUMBER == nil then
1145
		ArtificialHB.Event:wait()
1146
	else
1147
		for i = 1, NUMBER do
1148
			ArtificialHB.Event:wait()
1149
		end
1150
	end
1151
end
1152
1153
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1154
	local NEWMESH = IT(MESH)
1155
	if MESH == "SpecialMesh" then
1156
		NEWMESH.MeshType = MESHTYPE
1157
		if MESHID ~= "nil" and MESHID ~= "" then
1158
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1159
		end
1160
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1161
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1162
		end
1163
	end
1164
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1165
	NEWMESH.Scale = SCALE
1166
	NEWMESH.Parent = PARENT
1167
	return NEWMESH
1168
end
1169
1170
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1171
	local NEWPART = IT("Part")
1172
	NEWPART.formFactor = FORMFACTOR
1173
	NEWPART.Reflectance = REFLECTANCE
1174
	NEWPART.Transparency = TRANSPARENCY
1175
	NEWPART.CanCollide = false
1176
	NEWPART.Locked = true
1177
	NEWPART.Anchored = true
1178
	if ANCHOR == false then
1179
		NEWPART.Anchored = false
1180
	end
1181
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1182
	NEWPART.Name = NAME
1183
	NEWPART.Size = SIZE
1184
	NEWPART.Position = Torso.Position
1185
	NEWPART.Material = MATERIAL
1186
	NEWPART:BreakJoints()
1187
	NEWPART.Parent = PARENT
1188
	return NEWPART
1189
end
1190
1191
	local function weldBetween(a, b)
1192
	    local weldd = Instance.new("ManualWeld")
1193
	    weldd.Part0 = a
1194
	    weldd.Part1 = b
1195
	    weldd.C0 = CFrame.new()
1196
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1197
	    weldd.Parent = a
1198
	    return weldd
1199
	end
1200
1201
1202
function QuaternionFromCFrame(cf)
1203
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1204
	local trace = m00 + m11 + m22
1205
	if trace > 0 then 
1206
		local s = math.sqrt(1 + trace)
1207
		local recip = 0.5 / s
1208
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1209
	else
1210
		local i = 0
1211
		if m11 > m00 then
1212
			i = 1
1213
		end
1214
		if m22 > (i == 0 and m00 or m11) then
1215
			i = 2
1216
		end
1217
		if i == 0 then
1218
			local s = math.sqrt(m00 - m11 - m22 + 1)
1219
			local recip = 0.5 / s
1220
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1221
		elseif i == 1 then
1222
			local s = math.sqrt(m11 - m22 - m00 + 1)
1223
			local recip = 0.5 / s
1224
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1225
		elseif i == 2 then
1226
			local s = math.sqrt(m22 - m00 - m11 + 1)
1227
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1228
		end
1229
	end
1230
end
1231
 
1232
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1233
	local xs, ys, zs = x + x, y + y, z + z
1234
	local wx, wy, wz = w * xs, w * ys, w * zs
1235
	local xx = x * xs
1236
	local xy = x * ys
1237
	local xz = x * zs
1238
	local yy = y * ys
1239
	local yz = y * zs
1240
	local zz = z * zs
1241
	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))
1242
end
1243
 
1244
function QuaternionSlerp(a, b, t)
1245
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1246
	local startInterp, finishInterp;
1247
	if cosTheta >= 0.0001 then
1248
		if (1 - cosTheta) > 0.0001 then
1249
			local theta = ACOS(cosTheta)
1250
			local invSinTheta = 1 / SIN(theta)
1251
			startInterp = SIN((1 - t) * theta) * invSinTheta
1252
			finishInterp = SIN(t * theta) * invSinTheta
1253
		else
1254
			startInterp = 1 - t
1255
			finishInterp = t
1256
		end
1257
	else
1258
		if (1 + cosTheta) > 0.0001 then
1259
			local theta = ACOS(-cosTheta)
1260
			local invSinTheta = 1 / SIN(theta)
1261
			startInterp = SIN((t - 1) * theta) * invSinTheta
1262
			finishInterp = SIN(t * theta) * invSinTheta
1263
		else
1264
			startInterp = t - 1
1265
			finishInterp = t
1266
		end
1267
	end
1268
	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
1269
end
1270
1271
function Clerp(a, b, t)
1272
	local qa = {QuaternionFromCFrame(a)}
1273
	local qb = {QuaternionFromCFrame(b)}
1274
	local ax, ay, az = a.x, a.y, a.z
1275
	local bx, by, bz = b.x, b.y, b.z
1276
	local _t = 1 - t
1277
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1278
end
1279
1280
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1281
	local frame = IT("Frame")
1282
	frame.BackgroundTransparency = TRANSPARENCY
1283
	frame.BorderSizePixel = BORDERSIZEPIXEL
1284
	frame.Position = POSITION
1285
	frame.Size = SIZE
1286
	frame.BackgroundColor3 = COLOR
1287
	frame.BorderColor3 = BORDERCOLOR
1288
	frame.Name = NAME
1289
	frame.Parent = PARENT
1290
	return frame
1291
end
1292
1293
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1294
	local label = IT("TextLabel")
1295
	label.BackgroundTransparency = 1
1296
	label.Size = UD2(1, 0, 1, 0)
1297
	label.Position = UD2(0, 0, 0, 0)
1298
	label.TextColor3 = TEXTCOLOR
1299
	label.TextStrokeTransparency = STROKETRANSPARENCY
1300
	label.TextTransparency = TRANSPARENCY
1301
	label.FontSize = TEXTFONTSIZE
1302
	label.Font = TEXTFONT
1303
	label.BorderSizePixel = BORDERSIZEPIXEL
1304
	label.TextScaled = false
1305
	label.Text = TEXT
1306
	label.Name = NAME
1307
	label.Parent = PARENT
1308
	return label
1309
end
1310
1311
function NoOutlines(PART)
1312
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1313
end
1314
1315
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1316
	local NEWWELD = IT(TYPE)
1317
	NEWWELD.Part0 = PART0
1318
	NEWWELD.Part1 = PART1
1319
	NEWWELD.C0 = C0
1320
	NEWWELD.C1 = C1
1321
	NEWWELD.Parent = PARENT
1322
	return NEWWELD
1323
end
1324
1325
local S = IT("Sound")
1326
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1327
	local NEWSOUND = nil
1328
	coroutine.resume(coroutine.create(function()
1329
		NEWSOUND = S:Clone()
1330
		NEWSOUND.Parent = PARENT
1331
		NEWSOUND.Volume = VOLUME
1332
		NEWSOUND.Pitch = PITCH
1333
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1334
		NEWSOUND:play()
1335
		if DOESLOOP == true then
1336
			NEWSOUND.Looped = true
1337
		else
1338
			repeat wait(1) until NEWSOUND.Playing == false
1339
			NEWSOUND:remove()
1340
		end
1341
	end))
1342
	return NEWSOUND
1343
end
1344
1345
function CFrameFromTopBack(at, top, back)
1346
	local right = top:Cross(back)
1347
	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)
1348
end
1349
1350
--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(255, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1351
function WACKYEFFECT(Table)
1352
	local TYPE = (Table.EffectType or "Sphere")
1353
	local SIZE = (Table.Size or VT(1,1,1))
1354
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1355
	local TRANSPARENCY = (Table.Transparency or 0)
1356
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1357
	local CFRAME = (Table.CFrame or Torso.CFrame)
1358
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1359
	local ROTATION1 = (Table.RotationX or 0)
1360
	local ROTATION2 = (Table.RotationY or 0)
1361
	local ROTATION3 = (Table.RotationZ or 0)
1362
	local MATERIAL = (Table.Material or "Neon")
1363
	local COLOR = (Table.Color or C3(1,1,1))
1364
	local TIME = (Table.Time or 45)
1365
	local SOUNDID = (Table.SoundID or nil)
1366
	local SOUNDPITCH = (Table.SoundPitch or nil)
1367
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1368
	coroutine.resume(coroutine.create(function()
1369
		local PLAYSSOUND = false
1370
		local SOUND = nil
1371
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1372
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1373
			PLAYSSOUND = true
1374
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1375
		end
1376
		EFFECT.Color = COLOR
1377
		local MSH = nil
1378
		if TYPE == "Sphere" then
1379
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1380
		elseif TYPE == "Block" then
1381
			MSH = IT("BlockMesh",EFFECT)
1382
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1383
		elseif TYPE == "Wave" then
1384
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1385
		elseif TYPE == "Ring" then
1386
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1387
		elseif TYPE == "Slash" then
1388
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1389
		elseif TYPE == "Round Slash" then
1390
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1391
		elseif TYPE == "Swirl" then
1392
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1393
		elseif TYPE == "Skull" then
1394
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1395
		elseif TYPE == "Crystal" then
1396
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1397
		end
1398
		if MSH ~= nil then
1399
			local MOVESPEED = nil
1400
			if MOVEDIRECTION ~= nil then
1401
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1402
			end
1403
			local GROWTH = SIZE - ENDSIZE
1404
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1405
			if TYPE == "Block" then
1406
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1407
			else
1408
				EFFECT.CFrame = CFRAME
1409
			end
1410
			for LOOP = 1, TIME+1 do
1411
				Swait()
1412
				MSH.Scale = MSH.Scale - GROWTH/TIME
1413
				if TYPE == "Wave" then
1414
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1415
				end
1416
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1417
				if TYPE == "Block" then
1418
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1419
				else
1420
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1421
				end
1422
				if MOVEDIRECTION ~= nil then
1423
					local ORI = EFFECT.Orientation
1424
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1425
					EFFECT.Orientation = ORI
1426
				end
1427
			end
1428
			if PLAYSSOUND == false then
1429
				EFFECT:remove()
1430
			else
1431
				repeat Swait() until SOUND.Playing == false
1432
				EFFECT:remove()
1433
			end
1434
		else
1435
			if PLAYSSOUND == false then
1436
				EFFECT:remove()
1437
			else
1438
				repeat Swait() until SOUND.Playing == false
1439
				EFFECT:remove()
1440
			end
1441
		end
1442
	end))
1443
end
1444
1445
function MakeForm(PART,TYPE)
1446
	if TYPE == "Cyl" then
1447
		local MSH = IT("CylinderMesh",PART)
1448
	elseif TYPE == "Ball" then
1449
		local MSH = IT("SpecialMesh",PART)
1450
		MSH.MeshType = "Sphere"
1451
	elseif TYPE == "Wedge" then
1452
		local MSH = IT("SpecialMesh",PART)
1453
		MSH.MeshType = "Wedge"
1454
	end
1455
end
1456
1457
Debris = game:GetService("Debris")
1458
1459
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1460
	local DIRECTION = CF(StartPos,EndPos).lookVector
1461
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1462
end
1463
1464
function CharacterFade(COLOR,TIMER)
1465
	coroutine.resume(coroutine.create(function()
1466
		local FADE = IT("Model",Effects)
1467
		for _, c in pairs(Character:GetChildren()) do
1468
			if c.ClassName == "Part" and c ~= RootPart then
1469
				local FADER = c:Clone()
1470
				FADER.Color = COLOR
1471
				FADER.CFrame = c.CFrame
1472
				FADER.Parent = FADE
1473
				FADER.Anchored = true
1474
				FADER.Transparency = 0.25
1475
				FADER:BreakJoints()
1476
				FADER.Material = "Glass"
1477
				FADER:ClearAllChildren()
1478
				if FADER.Name == "Head" then
1479
					FADER.Size = VT(1,1,1)
1480
				end
1481
			end
1482
		end
1483
		local TRANS = 0.75/TIMER
1484
		for i = 1, TIMER do
1485
			Swait()
1486
			for _, c in pairs(FADE:GetChildren()) do
1487
				if c.ClassName == "Part" then
1488
					c.Transparency = c.Transparency + TRANS
1489
				end
1490
			end
1491
		end
1492
		FADE:remove()
1493
	end))
1494
end
1495
1496
local PE=Instance.new("ParticleEmitter")
1497
PE.LightEmission=0.3
1498
PE.Size=NumberSequence.new(0)
1499
PE.Transparency=NumberSequence.new(0,1)
1500
PE.Rotation=NumberRange.new(0,360)
1501
PE.LockedToPart = false
1502
PE.Speed = NumberRange.new(0,0,0)
1503
PE.ZOffset = 0.3
1504
PE.Rate = 999
1505
PE.VelocitySpread = 25
1506
PE.Name = "Particles"
1507
1508
function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
1509
    local particle = nil
1510
    coroutine.resume(coroutine.create(function(PART)
1511
        particle = PE:Clone()
1512
        Swait()
1513
        particle.Rate = 999
1514
        particle.Parent = art
1515
        particle.Acceleration = accel
1516
        if type == "Fire" then
1517
            local EyeSizes={
1518
                NumberSequenceKeypoint.new(0,size,size/2),
1519
                NumberSequenceKeypoint.new(1,size/4,size/8)
1520
            }
1521
            particle.Size = NumberSequence.new(EyeSizes)
1522
        elseif type == "Smoke" then
1523
            local EyeSizes={
1524
                NumberSequenceKeypoint.new(0,size/5,0),
1525
                NumberSequenceKeypoint.new(1,size*2,0.5)
1526
            }
1527
            particle.Size = NumberSequence.new(EyeSizes)
1528
        elseif type == "Solid" then
1529
            local EyeSizes={
1530
                NumberSequenceKeypoint.new(0,size,0),
1531
                NumberSequenceKeypoint.new(1,size,0)
1532
            }
1533
            particle.Size = NumberSequence.new(EyeSizes)
1534
        end
1535
        particle.Lifetime=NumberRange.new(lifetime)
1536
        particle.Drag = drag
1537
        if locked == true then
1538
            particle.LockedToPart = true
1539
        end
1540
        particle.Speed = NumberRange.new(speed*0.8,speed)
1541
        particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
1542
        particle.Enabled = isenabledbydefault
1543
        particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
1544
    end))
1545
return particle
1546
end
1547
function SpawnTrail(FROM,TO,BIG)
1548
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
1549
	MakeForm(TRAIL,"Cyl")
1550
	local DIST = (FROM - TO).Magnitude
1551
	if BIG == true then
1552
		TRAIL.Size = VT(0.5,DIST,0.5)
1553
	else
1554
		TRAIL.Size = VT(0.25,DIST,0.25)
1555
	end
1556
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1557
	coroutine.resume(coroutine.create(function()
1558
		for i = 1, 5 do
1559
			Swait()
1560
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1561
		end
1562
		TRAIL:remove()
1563
	end))
1564
end
1565
1566
Debris = game:GetService("Debris")
1567
1568
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1569
	local DIRECTION = CF(StartPos,EndPos).lookVector
1570
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1571
end
1572
1573
function turnto(position)
1574
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1575
end
1576
local asd = Instance.new("ParticleEmitter")
1577
asd.Color = ColorSequence.new(Color3.new(0, 0, 255), Color3.new(0, 0, 255))
1578
asd.LightEmission = .1
1579
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1580
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
1581
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1582
asd.Transparency = bbb
1583
asd.Size = aaa
1584
asd.ZOffset = .9
1585
asd.Acceleration = Vector3.new(0, -15, 0)
1586
asd.LockedToPart = false
1587
asd.EmissionDirection = "Back"
1588
asd.Lifetime = NumberRange.new(1, 2)
1589
asd.Rotation = NumberRange.new(-100, 100)
1590
asd.RotSpeed = NumberRange.new(-100, 100)
1591
asd.Speed = NumberRange.new(10)
1592
asd.Enabled = false
1593
asd.VelocitySpread = 999
1594
1595
function getbloody(victim,amount)
1596
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
1597
	PART.CFrame = victim.CFrame
1598
	local HITPLAYERSOUNDS = {"356551938","264486467"}
1599
	Debris:AddItem(PART,5)
1600
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1601
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1602
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
1603
	local prtcl = asd:Clone()
1604
	prtcl.Parent = PART
1605
	prtcl:Emit(amount*10)
1606
end
1607
1608
local Particle = IT("ParticleEmitter",nil)
1609
Particle.Enabled = false
1610
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
1611
Particle.LightEmission = 0.5
1612
Particle.Rate = 150
1613
Particle.ZOffset = 1
1614
Particle.Rotation = NumberRange.new(-180, 180)
1615
Particle.RotSpeed = NumberRange.new(-180, 180)
1616
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1617
Particle.Color = ColorSequence.new(C3(0, 0, 255),C3(0, 0, 255))
1618
1619
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1620
function ParticleEmitter(Table)
1621
	local PRTCL = Particle:Clone()
1622
	local Speed = Table.Speed or 5
1623
	local Drag = Table.Drag or 0
1624
	local Size1 = Table.Size1 or 1
1625
	local Size2 = Table.Size2 or 5
1626
	local Lifetime1 = Table.Lifetime1 or 1
1627
	local Lifetime2 = Table.Lifetime2 or 1.5
1628
	local Parent = Table.Parent or Torso
1629
	local Emit = Table.Emit or 100
1630
	local Offset = Table.Offset or 360
1631
	local Acel = Table.Acel or VT(0,0,0)
1632
	local Enabled = Table.Enabled or false
1633
	PRTCL.Parent = Parent
1634
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1635
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1636
	PRTCL.Speed = NumberRange.new(Speed)
1637
	PRTCL.VelocitySpread = Offset
1638
	PRTCL.Drag = Drag
1639
	PRTCL.Acceleration = Acel
1640
	if Enabled == false then
1641
		PRTCL:Emit(Emit)
1642
		Debris:AddItem(PRTCL,Lifetime2)
1643
	else
1644
		PRTCL.Enabled = true
1645
	end
1646
	return PRTCL
1647
end
1648
1649
--//=================================\\
1650
--||	     RAGDOLL STUFF
1651
--\\=================================//
1652
1653
function recurse(root,callback,i)
1654
	i= i or 0
1655
	for _,v in pairs(root:GetChildren()) do
1656
		i = i + 1
1657
		callback(i,v)
1658
		
1659
		if #v:GetChildren() > 0 then
1660
			i = recurse(v,callback,i)
1661
		end
1662
	end
1663
	
1664
	return i
1665
end
1666
1667
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1668
	attachmentName = attachmentName.."RigAttachment"
1669
	local constraint = Instance.new(className.."Constraint")
1670
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1671
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1672
	constraint.Name = "RagdollConstraint"..part1.Name
1673
	
1674
	for _,propertyData in next,properties or {} do
1675
		constraint[propertyData[1]] = propertyData[2]
1676
	end
1677
	
1678
	constraint.Parent = character
1679
end
1680
1681
function getAttachment0(character, attachmentName)
1682
	for _,child in next,character:GetChildren() do
1683
		local attachment = child:FindFirstChild(attachmentName)
1684
		if attachment then
1685
			return attachment
1686
		end
1687
	end
1688
end
1689
1690
function ArtificialHitbox(Part)
1691
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
1692
	HITBOX.CanCollide = true
1693
	HITBOX.CFrame = Part.CFrame
1694
	weldBetween(Part,HITBOX)
1695
end
1696
1697
function R15Ragdoll(character,KeepArms)
1698
	character:BreakJoints()
1699
	coroutine.resume(coroutine.create(function()
1700
		recurse(character, function(_,v)
1701
			if v:IsA("Attachment") then
1702
				v.Axis = Vector3.new(0, 1, 0)
1703
				v.SecondaryAxis = Vector3.new(0, 0, 1)
1704
				v.Rotation = Vector3.new(0, 0, 0)
1705
			end
1706
		end)
1707
		for _,child in next,character:GetChildren() do
1708
			if child:IsA("Accoutrement") then
1709
				for _,part in next,child:GetChildren() do
1710
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1711
						local attachment1 = part:FindFirstChildOfClass("Attachment")
1712
						local attachment0 = getAttachment0(character,attachment1.Name)
1713
						if attachment0 and attachment1 then
1714
							local constraint = Instance.new("HingeConstraint")
1715
							constraint.Attachment0 = attachment0
1716
							constraint.Attachment1 = attachment1
1717
							constraint.LimitsEnabled = true
1718
							constraint.UpperAngle = 0
1719
							constraint.LowerAngle = 0
1720
							constraint.Parent = character
1721
						end
1722
						ArtificialHitbox(part)
1723
					elseif part.Name == "HumanoidRootPart" then
1724
						part:remove()
1725
					end
1726
				end
1727
			end
1728
		end
1729
		
1730
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1731
			{"LimitsEnabled",true};
1732
			{"UpperAngle",5};
1733
		})
1734
		if character:FindFirstChild("Head") then
1735
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1736
				{"LimitsEnabled",true};
1737
				{"UpperAngle",15};
1738
			})
1739
		end
1740
		
1741
		local handProperties = {
1742
			{"LimitsEnabled", true};
1743
			{"UpperAngle",0};
1744
			{"LowerAngle",0};
1745
		}
1746
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
1747
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
1748
		
1749
		local shinProperties = {
1750
			{"LimitsEnabled", true};
1751
			{"UpperAngle", 0};
1752
			{"LowerAngle", -75};
1753
		}
1754
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
1755
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
1756
		
1757
		local footProperties = {
1758
			{"LimitsEnabled", true};
1759
			{"UpperAngle", 15};
1760
			{"LowerAngle", -45};
1761
		}
1762
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
1763
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
1764
		if KeepArms == true then
1765
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
1766
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
1767
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
1768
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
1769
		end
1770
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
1771
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
1772
		Debris:AddItem(character,5)
1773
	end))
1774
end
1775
1776
function Ragdoll(Character2,CharTorso,KeepArms)
1777
	coroutine.resume(coroutine.create(function()
1778
		Character2:BreakJoints()
1779
		local hum = Character2:findFirstChild("Humanoid")
1780
		hum:remove()
1781
		local function Scan(ch)
1782
			local e
1783
			for e = 1,#ch do
1784
				Scan(ch[e]:GetChildren())
1785
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1786
					ch[e]:remove()
1787
				end
1788
			end
1789
		end
1790
		local NEWHUM = IT("Humanoid")
1791
		NEWHUM.Name = "Corpse"
1792
		NEWHUM.Health = 0
1793
		NEWHUM.MaxHealth = 0
1794
		NEWHUM.PlatformStand = true
1795
		NEWHUM.Parent = Character2
1796
		NEWHUM.DisplayDistanceType = "None"
1797
	
1798
		local ch = Character2:GetChildren()
1799
		local i
1800
		for i = 1,#ch do
1801
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1802
				ch[i]:remove()
1803
			end
1804
		end
1805
	
1806
		local Torso2 = Character2.Torso
1807
		local movevector = Vector3.new()
1808
	
1809
		if Torso2 then
1810
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1811
			local Head = Character2:FindFirstChild("Head")
1812
			if Head then
1813
				local Neck = Instance.new("Weld")
1814
				Neck.Name = "Neck"
1815
				Neck.Part0 = Torso2
1816
				Neck.Part1 = Head
1817
				Neck.C0 = CFrame.new(0, 1.5, 0)
1818
				Neck.C1 = CFrame.new()
1819
				Neck.Parent = Torso2
1820
	
1821
			end
1822
			local Limb = Character2:FindFirstChild("Right Arm")
1823
			if Limb and KeepArms == true then
1824
	
1825
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1826
				local Joint = Instance.new("Glue")
1827
				Joint.Name = "RightShoulder"
1828
				Joint.Part0 = Torso2
1829
				Joint.Part1 = Limb
1830
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1831
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1832
				Joint.Parent = Torso2
1833
	
1834
				local B = Instance.new("Part")
1835
				B.TopSurface = 0
1836
				B.BottomSurface = 0
1837
				B.formFactor = "Symmetric"
1838
				B.Size = Vector3.new(1, 1, 1)
1839
				B.Transparency = 1
1840
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1841
				B.Parent = Character2
1842
				local W = Instance.new("Weld")
1843
				W.Part0 = Limb
1844
				W.Part1 = B
1845
				W.C0 = CFrame.new(0, -0.5, 0)
1846
				W.Parent = Limb
1847
	
1848
			end
1849
			local Limb = Character2:FindFirstChild("Left Arm")
1850
			if Limb and KeepArms == true then
1851
	
1852
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1853
				local Joint = Instance.new("Glue")
1854
				Joint.Name = "LeftShoulder"
1855
				Joint.Part0 = Torso2
1856
				Joint.Part1 = Limb
1857
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1858
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1859
				Joint.Parent = Torso2
1860
	
1861
				local B = Instance.new("Part")
1862
				B.TopSurface = 0
1863
				B.BottomSurface = 0
1864
				B.formFactor = "Symmetric"
1865
				B.Size = Vector3.new(1, 1, 1)
1866
				B.Transparency = 1
1867
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1868
				B.Parent = Character2
1869
				local W = Instance.new("Weld")
1870
				W.Part0 = Limb
1871
				W.Part1 = B
1872
				W.C0 = CFrame.new(0, -0.5, 0)
1873
				W.Parent = Limb
1874
	
1875
			end
1876
			local Limb = Character2:FindFirstChild("Right Leg")
1877
			if Limb then
1878
	
1879
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1880
				local Joint = Instance.new("Glue")
1881
				Joint.Name = "RightHip"
1882
				Joint.Part0 = Torso2
1883
				Joint.Part1 = Limb
1884
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1885
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1886
				Joint.Parent = Torso2
1887
	
1888
				local B = Instance.new("Part")
1889
				B.TopSurface = 0
1890
				B.BottomSurface = 0
1891
				B.formFactor = "Symmetric"
1892
				B.Size = Vector3.new(1, 1, 1)
1893
				B.Transparency = 1
1894
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1895
				B.Parent = Character2
1896
				local W = Instance.new("Weld")
1897
				W.Part0 = Limb
1898
				W.Part1 = B
1899
				W.C0 = CFrame.new(0, -0.5, 0)
1900
				W.Parent = Limb
1901
	
1902
			end
1903
			local Limb = Character2:FindFirstChild("Left Leg")
1904
			if Limb then
1905
	
1906
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1907
				local Joint = Instance.new("Glue")
1908
				Joint.Name = "LeftHip"
1909
				Joint.Part0 = Torso2
1910
				Joint.Part1 = Limb
1911
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1912
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1913
				Joint.Parent = Torso2
1914
	
1915
				local B = Instance.new("Part")
1916
				B.TopSurface = 0
1917
				B.BottomSurface = 0
1918
				B.formFactor = "Symmetric"
1919
				B.Size = Vector3.new(1, 1, 1)
1920
				B.Transparency = 1
1921
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1922
				B.Parent = Character2
1923
				local W = Instance.new("Weld")
1924
				W.Part0 = Limb
1925
				W.Part1 = B
1926
				W.C0 = CFrame.new(0, -0.5, 0)
1927
				W.Parent = Limb
1928
	
1929
			end
1930
			--[
1931
			local Bar = Instance.new("Part")
1932
			Bar.TopSurface = 0
1933
			Bar.BottomSurface = 0
1934
			Bar.formFactor = "Symmetric"
1935
			Bar.Size = Vector3.new(1, 1, 1)
1936
			Bar.Transparency = 1
1937
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1938
			Bar.Parent = Character2
1939
			local Weld = Instance.new("Weld")
1940
			Weld.Part0 = Torso2
1941
			Weld.Part1 = Bar
1942
			Weld.C0 = CFrame.new(0, 0.5, 0)
1943
			Weld.Parent = Torso2
1944
			--]]
1945
		end
1946
		Character2.Parent = workspace
1947
		Debris:AddItem(Character2,5)
1948
	
1949
		return Character2,Torso2
1950
	end))
1951
end
1952
1953
--//=================================\\
1954
--||	     WEAPON CREATION
1955
--\\=================================//
1956
1957
local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
1958
DUST.ZOffset = 1
1959
RightArm.Transparency = 1
1960
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really blue", "Part", VT(1,2,1),false)
1961
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1962
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really blue", "Part", VT(1.4,1.4,1.4),false)
1963
MakeForm(Sphere,"Ball")
1964
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1965
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0.3,0.3,0.1),false)
1966
MakeForm(LaserPart,"Ball")
1967
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1968
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.3,0.2),false)
1969
MakeForm(Bump,"Ball")
1970
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1971
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0.4,0,0.4),false)
1972
MakeForm(BottomLaser,"Cyl")
1973
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1974
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
1975
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1976
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
1977
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
1978
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.5,0.5),false)
1979
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
1980
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.56,0.5),false)
1981
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
1982
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.56,0.5),false)
1983
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
1984
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.25,0.5),false)
1985
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
1986
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(0,0.3,0.5),false)
1987
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
1988
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(1.4,0,1.4),false)
1989
MakeForm(Part,"Cyl")
1990
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1991
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Part", VT(1.4,0,1.4),false)
1992
MakeForm(Part,"Cyl")
1993
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
1994
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really blue", "Part", VT(0.3,1.6,0.7),false)
1995
MakeForm(Sphere,"Ball")
1996
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1997
1998
for _, c in pairs(Weapon:GetChildren()) do
1999
	if c.ClassName == "Part" then
2000
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2001
	end
2002
end
2003
2004
local SKILLTEXTCOLOR = C3(0, 0, 255)
2005
local SKILLFONT = "SciFi"
2006
local SKILLTEXTSIZE = 5
2007
2008
Weapon.Parent = Character
2009
2010
Humanoid.Died:connect(function()
2011
	ATTACK = true
2012
end)
2013
2014
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
2015
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
2016
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
2017
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
2018
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
2019
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
2020
2021
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
2022
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
2023
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
2024
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
2025
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
2026
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
2027
2028
--//=================================\\
2029
--||	ATTACK FUNCTIONS AND STUFF
2030
--\\=================================//
2031
2032
function Warp()
2033
	local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
2034
	if HITFLOOR then
2035
		CharacterFade(C3(0.5,0,0),50)
2036
		HITPOS = HITPOS + VT(0,3.5,0)
2037
		local POS = RootPart.Position
2038
		RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
2039
		CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
2040
	end
2041
end
2042
2043
function Dash()
2044
	ATTACK = true
2045
	Rooted = true
2046
	local SOUND = CreateSound(1165167610, Torso, 1, 1, true)
2047
	local LOOP = 0
2048
	repeat
2049
		LOOP = LOOP + 1
2050
		Swait()
2051
		local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)	
2052
		local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
2053
		if HITFLOOR then
2054
			CharacterFade(C3(0.5,0,0),35)
2055
			HITPOS = HITPOS + VT(0,3.5,0)
2056
			local POS = RootPart.Position
2057
			RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
2058
			RootPart.Velocity = VT(0,0,0)
2059
			RootPart.RotVelocity = VT(0,0,0)
2060
		end
2061
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
2062
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
2063
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2064
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2065
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2066
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2067
	until KEYHOLD == false
2068
	coroutine.resume(coroutine.create(function()
2069
		for i = 1, 20 do
2070
			Swait()
2071
			SOUND.Volume = SOUND.Volume - 1/20
2072
		end
2073
		SOUND:remove()
2074
	end))
2075
	if LOOP > 50 then
2076
		CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false)
2077
		for i = 1, 100 do
2078
			Swait()
2079
			RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
2080
			WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2081
			WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2082
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
2083
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2084
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2085
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2086
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2087
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2088
		end
2089
	end
2090
	ATTACK = false
2091
	Rooted = false
2092
end
2093
2094
function LimbRip()
2095
	ATTACK = true
2096
	Rooted = false
2097
	local TARGET = nil
2098
	local ROOT = nil
2099
	local HUMAN = nil
2100
	local DIST = 4
2101
	Speed = 12
2102
	for i=0, 1, 0.1 / Animation_Speed do
2103
		Swait()
2104
		local CHILDREN = workspace:GetDescendants()
2105
		for index, CHILD in pairs(CHILDREN) do
2106
			if CHILD.ClassName == "Model" and CHILD ~= Character then
2107
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2108
				if HUM then
2109
					local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2110
					if TORSO and HUM.Health > 0 then
2111
						if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
2112
							DIST = (TORSO.Position - RightArm.Position).Magnitude
2113
							ROOT = TORSO
2114
							HUMAN = HUM
2115
							TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2116
						end
2117
					end
2118
				end
2119
			end
2120
		end
2121
		if ROOT then
2122
			break
2123
		end
2124
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2125
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
2126
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2127
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2128
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2129
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2130
	end
2131
	Speed = 16
2132
	if ROOT then
2133
		CreateSound(305685800,Torso,5,1.3,false)
2134
		Rooted = true
2135
		local GORED = false
2136
		coroutine.resume(coroutine.create(function()
2137
			repeat
2138
				Swait()
2139
				ROOT.Anchored = true
2140
			until GORED == true
2141
			ROOT.Anchored = false
2142
		end))
2143
		RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
2144
		if TARGET.Name == "Torso" then
2145
			local RARM = TARGET.Parent:FindFirstChild("Right Arm")
2146
			local LARM = TARGET.Parent:FindFirstChild("Left Arm")
2147
			if RARM and LARM then
2148
				for i=0, 1, 0.1 / Animation_Speed do
2149
					Swait()
2150
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2151
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2152
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2153
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2154
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2155
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2156
				end
2157
				for _, c in pairs(TARGET.Parent:GetDescendants()) do
2158
					if c:IsA("JointInstance") then
2159
						if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
2160
							c:remove()
2161
						end
2162
					end
2163
				end
2164
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
2165
				CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2166
				CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2167
				for i=0, 1, 0.1 / Animation_Speed do
2168
					Swait()
2169
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2170
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2171
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2172
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2173
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2174
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2175
				end
2176
				for i=0, 1, 0.1 / Animation_Speed do
2177
					Swait()
2178
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
2179
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2180
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2181
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2182
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
2183
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2184
				end
2185
				for i=0, 0.1, 0.1 / Animation_Speed do
2186
					Swait()
2187
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
2188
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2189
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2190
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2191
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
2192
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2193
				end
2194
				GORED = true
2195
				Ragdoll(TARGET.Parent,Torso)
2196
				if ROOT.Name ~= "Torso" then
2197
					ROOT:remove()
2198
				end
2199
				local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2200
				local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2201
				local bv = Instance.new("BodyVelocity",TARGET) 
2202
				bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2203
				bv.velocity = TARGET.CFrame.lookVector*75
2204
				Debris:AddItem(bv,0.05)
2205
				CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
2206
				for i=0, 0.5, 0.1 / Animation_Speed do
2207
					Swait()
2208
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
2209
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2210
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2211
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2212
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
2213
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2214
				end
2215
				for i=0, 1, 0.1 / Animation_Speed do
2216
					Swait()
2217
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2218
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
2219
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2220
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
2221
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2222
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2223
				end
2224
				local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
2225
				HITBOX.CFrame = RARM.CFrame
2226
				HITBOX.CanCollide = true
2227
				weldBetween(RARM,HITBOX)
2228
				local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
2229
				HITBOX.CFrame = LARM.CFrame
2230
				HITBOX.CanCollide = true
2231
				weldBetween(LARM,HITBOX)
2232
				RGRAB:remove()
2233
				LGRAB:remove()
2234
				for i=0, 0.4, 0.1 / Animation_Speed do
2235
					Swait()
2236
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2237
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
2238
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2239
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2240
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2241
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2242
				end
2243
			end
2244
		elseif TARGET.Name == "UpperTorso" then
2245
			if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
2246
				for i=0, 0.3, 0.1 / Animation_Speed do
2247
					Swait()
2248
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2249
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2250
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2251
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2252
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2253
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2254
				end
2255
				local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
2256
				local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
2257
				local BLADE = true
2258
				CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
2259
				coroutine.resume(coroutine.create(function()
2260
					repeat
2261
						Swait()
2262
						WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
2263
					until BLADE == false
2264
					SAWBLADE:remove()
2265
				end))
2266
				CreateSound(1165167936, SAWBLADE, 2, 1, true)
2267
				for i=0, 1, 0.1 / Animation_Speed do
2268
					Swait()
2269
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2270
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2271
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2272
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2273
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2274
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2275
				end
2276
				for i=0, 3, 0.1 / Animation_Speed do
2277
					Swait()
2278
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2279
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2280
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
2281
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2282
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2283
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2284
				end
2285
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
2286
				TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
2287
				for i=0, 1, 0.1 / Animation_Speed do
2288
					Swait()
2289
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
2290
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
2291
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2292
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2293
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2294
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2295
				end
2296
				for i=0, 3, 0.1 / Animation_Speed do
2297
					Swait()
2298
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
2299
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
2300
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
2301
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2302
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2303
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2304
				end
2305
				CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
2306
				TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
2307
				BLADE = false
2308
				for i=0, 0.5, 0.1 / Animation_Speed do
2309
					Swait()
2310
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
2311
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2312
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2313
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2314
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
2315
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2316
				end
2317
				for i=0, 0.1, 0.1 / Animation_Speed do
2318
					Swait()
2319
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
2320
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2321
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2322
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2323
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
2324
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2325
				end
2326
				GORED = true
2327
				TARGET.Parent:BreakJoints()
2328
				R15Ragdoll(TARGET.Parent)
2329
				if ROOT.Name ~= "Torso" then
2330
					ROOT:remove()
2331
				end
2332
				local bv = Instance.new("BodyVelocity",TARGET) 
2333
				bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2334
				bv.velocity = TARGET.CFrame.lookVector*75
2335
				Debris:AddItem(bv,0.05)
2336
				CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
2337
				for i=0, 0.3, 0.1 / Animation_Speed do
2338
					Swait()
2339
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
2340
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
2341
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2342
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2343
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
2344
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2345
				end
2346
			end
2347
		end
2348
	end
2349
	ATTACK = false
2350
	Rooted = false
2351
end
2352
2353
function Warden_Zap()
2354
    ATTACK = true
2355
    Rooted = false
2356
    local GYRO = IT("BodyGyro",RootPart)
2357
    GYRO.D = 750
2358
    GYRO.P = 20000
2359
    GYRO.MaxTorque = VT(0,40000000,0)
2360
    CreateSound(348663022,RightArm,1.5,2,false)
2361
    Pose("Cast1",0.8,1,true,GYRO)
2362
    local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
2363
    local Hitpos = LightningTable.End
2364
    ApplyAoE(Hitpos,10,35)
2365
    WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
2366
    for i = 1, 4 do
2367
        WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2368
    end
2369
    Pose("Cast1",0.8,1,true)
2370
    GYRO:remove()
2371
    ATTACK = false
2372
    Rooted = false
2373
end
2374
2375
function ReeeEEEEEE()
2376
	ATTACK = true
2377
	Rooted = false
2378
	Speed = 12
2379
	local FX = CreateSound(198165368, Head, 4, 0.5, false)
2380
	repeat
2381
		Swait()
2382
		FX.Parent = Head
2383
		local CHILDREN = workspace:GetDescendants()
2384
		for index, CHILD in pairs(CHILDREN) do
2385
			if CHILD.ClassName == "Model" and CHILD ~= Character then
2386
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2387
				if HUM then
2388
					local TORSO = CHILD:FindFirstChild("Head")
2389
					if TORSO then
2390
						if (TORSO.Position - Head.Position).Magnitude <= 25 then
2391
							WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2392
							TORSO:remove()
2393
							if CHILD:FindFirstChild("Torso") then
2394
								Ragdoll(CHILD,Torso,true)
2395
							elseif CHILD:FindFirstChild("UpperTorso") then
2396
								R15Ragdoll(CHILD,true)
2397
							end
2398
						end
2399
					end
2400
				end
2401
			end
2402
		end
2403
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
2404
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
2405
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2406
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2407
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2408
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2409
	until FX.Playing == false
2410
	Speed = 16
2411
	ATTACK = false
2412
	Rooted = false
2413
end
2414
2415
function Needle()
2416
	ATTACK = true
2417
	Rooted = true
2418
	local GYRO = IT("BodyGyro",RootPart)
2419
	GYRO.D = 2
2420
	GYRO.P = 2000
2421
	GYRO.MaxTorque = VT(0,4000000,0)
2422
	local NEEDGYRO = true
2423
	coroutine.resume(coroutine.create(function()
2424
		repeat
2425
			Swait()
2426
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2427
		until NEEDGYRO == false
2428
		GYRO:Remove()
2429
	end))
2430
	for i=0, 0.3, 0.1 / Animation_Speed do
2431
		Swait()
2432
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2433
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2434
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2435
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2436
		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)
2437
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2438
	end
2439
	for i=0, 1, 0.1 / Animation_Speed do
2440
		Swait()
2441
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2442
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
2443
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2444
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2445
		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)
2446
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2447
	end
2448
	local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
2449
	WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
2450
	NEEDGYRO = false
2451
	if HIT then
2452
		local NEEDLE = IT("Model",Effects)
2453
		local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
2454
		MakeForm(BASE,"Cyl")
2455
		BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
2456
		weldBetween(BASE,HIT)
2457
		local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
2458
		MakeForm(FLUID,"Cyl")
2459
		FLUID.CFrame = BASE.CFrame
2460
		weldBetween(BASE,FLUID)
2461
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
2462
		PART.CFrame = BASE.CFrame*CF(0,0.4,0)
2463
		weldBetween(BASE,PART)
2464
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
2465
		PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
2466
		weldBetween(BASE,PART)
2467
		local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
2468
		PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
2469
		weldBetween(BASE,PART)
2470
		Debris:AddItem(NEEDLE,7)
2471
		if HIT.Parent:FindFirstChildOfClass("Humanoid") then
2472
			local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
2473
			coroutine.resume(coroutine.create(function()
2474
				for i = 1, 500 do
2475
					HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
2476
					if HUMAN.Health == 0 then
2477
						break
2478
					end
2479
					Swait(2)
2480
				end
2481
				if HUMAN.Health == 0 then
2482
					local CHILD = HUMAN.Parent
2483
					if CHILD:FindFirstChild("Torso") then
2484
						CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
2485
						Ragdoll(CHILD,Torso,true)
2486
					elseif CHILD:FindFirstChild("UpperTorso") then
2487
						R15Ragdoll(CHILD,true)
2488
					end
2489
				end
2490
			end))
2491
		end
2492
	end
2493
	for i=0, 1, 0.1 / Animation_Speed do
2494
		Swait()
2495
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2496
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
2497
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2498
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2499
		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)
2500
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2501
	end
2502
	ATTACK = false
2503
	Rooted = false
2504
end
2505
2506
function ScrewThis()
2507
	ATTACK = true
2508
	Rooted = true
2509
	local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Part", VT(2, 0.4, 0.4)/2,false)
2510
	SCREW.CanCollide = true
2511
	local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
2512
	CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
2513
	for i=0, 0.4, 0.1 / Animation_Speed do
2514
		Swait()
2515
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2516
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
2517
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2518
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2519
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2520
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2521
	end
2522
	SCREW.Transparency = 0
2523
	for i=0, 0.1, 0.1 / Animation_Speed do
2524
		Swait()
2525
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2526
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
2527
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2528
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2529
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2530
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2531
	end
2532
	for i=0, 1, 0.1 / Animation_Speed do
2533
		Swait()
2534
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2535
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
2536
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2537
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2538
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2539
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2540
	end
2541
	for i = 1, 3 do
2542
		for i=0, 0.3, 0.1 / Animation_Speed do
2543
			Swait()
2544
			WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
2545
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2546
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
2547
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2548
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2549
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2550
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2551
		end
2552
		for i=0, 1, 0.1 / Animation_Speed do
2553
			Swait()
2554
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2555
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
2556
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2557
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2558
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2559
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2560
		end
2561
	end
2562
	if MRANDOM(1, 5) == 1 then
2563
		DUST:Emit(25)
2564
		WELD:remove()
2565
		CreateSound(328460122, RightArm, 3, 1, false)
2566
		SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
2567
		Debris:AddItem(SCREW,6)
2568
		for i=0, 3, 0.1 / Animation_Speed do
2569
			Swait()
2570
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2571
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
2572
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2573
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2574
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2575
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2576
		end
2577
		for i = 1, 3 do
2578
			for i=0, 0.35, 0.1 / Animation_Speed do
2579
				Swait()
2580
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2581
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
2582
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2583
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2584
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2585
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2586
			end
2587
			for i=0, 0.35, 0.1 / Animation_Speed do
2588
				Swait()
2589
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2590
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
2591
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2592
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2593
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2594
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2595
			end
2596
		end
2597
	else
2598
		for i=0, 0.5, 0.1 / Animation_Speed do
2599
			Swait()
2600
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2601
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
2602
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2603
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2604
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2605
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2606
		end
2607
		WELD:remove()
2608
		for i=0, 0.15, 0.1 / Animation_Speed do
2609
			Swait()
2610
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2611
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
2612
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2613
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2614
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2615
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2616
		end
2617
		Debris:AddItem(SCREW,6)
2618
	end
2619
	ATTACK = false
2620
	Rooted = false
2621
end
2622
2623
--//=================================\\
2624
--||	  ASSIGN THINGS TO KEYS
2625
--\\=================================//
2626
2627
function MouseDown(Mouse)
2628
	if ATTACK == false then
2629
	end
2630
end
2631
2632
function MouseUp(Mouse)
2633
HOLD = false
2634
end
2635
2636
function KeyDown(Key)
2637
	KEYHOLD = true
2638
	if Key == "z" and ATTACK == false then
2639
		Warp()
2640
	end
2641
2642
	if Key == "b" and ATTACK == false then
2643
		Dash()
2644
	end
2645
2646
	if Key == "c" and ATTACK == false then
2647
		LimbRip()
2648
	end
2649
2650
	if Key == "v" and ATTACK == false then
2651
		Buzzsaw()
2652
	end
2653
2654
	if Key == "e" and ATTACK == false then
2655
		ReeeEEEEEE()
2656
	end
2657
2658
	if Key == "x" and ATTACK == false then
2659
		Needle()
2660
	end
2661
2662
	if Key == "t" and ATTACK == false then
2663
		ScrewThis()
2664
	end
2665
end
2666
2667
function KeyUp(Key)
2668
	KEYHOLD = false
2669
end
2670
2671
	Mouse.Button1Down:connect(function(NEWKEY)
2672
		MouseDown(NEWKEY)
2673
	end)
2674
	Mouse.Button1Up:connect(function(NEWKEY)
2675
		MouseUp(NEWKEY)
2676
	end)
2677
	Mouse.KeyDown:connect(function(NEWKEY)
2678
		KeyDown(NEWKEY)
2679
	end)
2680
	Mouse.KeyUp:connect(function(NEWKEY)
2681
		KeyUp(NEWKEY)
2682
	end)
2683
2684
--//=================================\\
2685
--\\=================================//
2686
2687
function AntiTimeStop()
2688
	for _, c in pairs(Character:GetChildren()) do
2689
		if c:IsA("BasePart") then
2690
			c.Anchored = false
2691
		end
2692
	end
2693
	for _, c in pairs(Weapon:GetChildren()) do
2694
		if c:IsA("BasePart") then
2695
			c.Anchored = false
2696
		end
2697
	end
2698
end
2699
2700
--//=================================\\
2701
--||	WRAP THE WHOLE SCRIPT UP
2702
--\\=================================//
2703
2704
Humanoid.Changed:connect(function(Jump)
2705
	if Jump == "Jump" and (Disable_Jump == true) then
2706
		Humanoid.Jump = false
2707
	end
2708
end)
2709
2710
local sick = IT("Sound")
2711
2712
while true do
2713
	Swait()
2714
	script.Parent = WEAPONGUI
2715
	ANIMATE.Parent = nil
2716
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2717
	    v:Stop();
2718
	end
2719
	SINE = SINE + CHANGE
2720
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2721
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2722
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2723
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2724
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2725
		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)
2726
		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)
2727
		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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2728
		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(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2729
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2730
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2731
		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)
2732
		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)
2733
		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)
2734
	end
2735
	if HITFLOOR == nil then
2736
		ANIM = "Midair"
2737
		if ATTACK == false then
2738
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2739
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2740
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2741
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2742
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2743
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
2744
		end
2745
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2746
		ANIM = "Idle"
2747
		if ATTACK == false then
2748
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2749
			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)
2750
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2751
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2752
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2753
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
2754
		end
2755
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2756
		ANIM = "Walk"
2757
		if ATTACK == false then
2758
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2759
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2760
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
2761
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
2762
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2763
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2764
		end
2765
	end
2766
	Humanoid.MaxHealth = 10e10
2767
	Humanoid.Health = 10e10
2768
	sick.SoundId = "rbxassetid://1696854181"
2769
	sick.Looped = true
2770
	sick.Pitch = 1
2771
	sick.Volume = 2
2772
	sick.Playing = true
2773
	sick.Parent = Effects
2774
	AntiTimeStop()
2775
	if Rooted == false then
2776
		Disable_Jump = false
2777
		Humanoid.WalkSpeed = Speed
2778
	elseif Rooted == true then
2779
		Disable_Jump = true
2780
		Humanoid.WalkSpeed = 0
2781
	end
2782
	Humanoid.Name = "Killbot"
2783
end
2784
2785
--//=================================\\
2786
--\\=================================//
2787
2788
--//====================================================\\--
2789
--||			  		 END OF SCRIPT
2790
--\\====================================================//--