View difference between Paste ID: HAzrfGxf and yUqYP1XS
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
---- HERES THE RING
795
 
796
 
797
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
798
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
799
CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
800
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
801
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
802
CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
803
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
804
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
805
CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
806
 
807
 
808
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
809
CreateMesh(gan,"Brick",1.075,0.1,1.075)
810
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
811
 
812
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
813
CreateMesh(gan,"Brick",1.075,0.1,1.075)
814
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
815
 
816
 
817
 
818
gan = CreateParta(m2,0,0,"Neon",halocolor2)
819
CreateMesh(gan,"Brick",1.095,0.035,1.095)
820
CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
821
 
822
gan = CreateParta(m2,0,0,"Neon",halocolor2)
823
CreateMesh(gan,"Brick",1.095,0.035,1.095)
824
CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
825
 
826
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
827
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
828
CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
829
 
830
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
831
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
832
CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
833
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
834
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
835
CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
836
 
837
--- second ring
838
 
839
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
840
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
841
CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
842
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
843
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
844
CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
845
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
846
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
847
CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
848
 
849
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
850
CreateMesh(gan,"Brick",1.075,0.1,1.075)
851
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
852
 
853
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
854
CreateMesh(gan,"Brick",1.075,0.1,1.075)
855
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
856
 
857
 
858
 
859
gan = CreateParta(m2,0,0,"Neon",halocolor2)
860
CreateMesh(gan,"Brick",1.095,0.035,1.095)
861
CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
862
 
863
gan = CreateParta(m2,0,0,"Neon",halocolor2)
864
CreateMesh(gan,"Brick",1.095,0.035,1.095)
865
CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
866
 
867
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
868
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
869
CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
870
 
871
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
872
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
873
CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
874
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
875
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
876
CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
877
878
879
--//====================================================\\--
880
--||			   EDIT BY VOYQGO
881
--\\====================================================//--
882
883
m = game.Players.LocalPlayer
884
char = m.Character
885
local txt = Instance.new("BillboardGui", char)
886
txt.Adornee = char.Head
887
txt.Name = "_status"
888
txt.Size = UDim2.new(2, 0, 1.2, 0)
889
txt.StudsOffset = Vector3.new(-9, 8, 0)
890
local text = Instance.new("TextLabel", txt)
891
text.Size = UDim2.new(10, 0, 7, 0)
892
text.FontSize = "Size24"
893
text.TextScaled = true
894
text.TextTransparency = 0
895
text.BackgroundTransparency = 1
896
text.TextTransparency = 0
897
text.TextStrokeTransparency = 0
898
text.Font = "Bodoni"
899
text.TextStrokeColor3 = Color3.new(0, 0, 0)
900
v = Instance.new("Part")
901
v.Name = "ColorBrick"
902
v.Parent = m.Character
903
v.Anchored = true
904
v.CanCollide = false
905
v.BottomSurface = "Smooth"
906
v.TopSurface = "Smooth"
907
v.Size = Vector3.new(10, 5, 3)
908
v.Transparency = 1
909
v.CFrame = char.Torso.CFrame
910
v.BrickColor = BrickColor.new("Really black")
911
v.Transparency = 1
912
v.Shape = "Block"
913
spawn(function()
914
local TweenService = game:GetService("TweenService")
915
local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
916
local Int = 0
917
while wait(0.5) do
918
    if Int == #Colours then Int = 0 end
919
    Int = Int+1
920
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
921
end
922
end)
923
text.Text = "Ultimate kill bot"
924
925
--whitelist--
926
if game.Players.LocalPlayer.userId == 436044798 or game.Players.LocalPlayer.userId == 154360296 or game.Players.LocalPlayer.userId == 202752887 or game.Players.LocalPlayer.userId == 403895933
927
then
928
-- friend list
929
print([[
930
______________________________________________________________________________________________________________________________________
931
 
932
Whitelist system
933
sawgamer1
934
voyqgo
935
Itzmeitzme
936
avishrbj
937
nobodyspecial11
938
939
____________________________________________________________________________________________________________________________________
940
]])
941
 
942
function checkfriendlist(model)
943
local friend = true
944
local target = nil
945
if model.ClassName == "Player" then
946
target = model
947
else
948
target = game:GetService("Players"):GetPlayerFromCharacter(model)
949
end
950
if target ~= nil then
951
if target:IsFriendsWith(374237174) then friend = true end
952
end
953
return friend
954
end
955
 
956
if checkfriendlist(game:GetService("Players").LocalPlayer) == false and not game:GetService("Players").LocalPlayer:FindFirstChild("Kyu's Temp Really blacklist") then
957
warn("You're not whitelisted")
958
--wait(1)
959
--error("Script has been stopped.")
960
end
961
 
962
warn("You're whitelisted, "..game:GetService("Players").LocalPlayer.Name.." :)")
963
 
964
else
965
while true do
966
wait()
967
local blind = Instance.new('ScreenGui')
968
local user = game.Players.LocalPlayer
969
blind.Parent = user.PlayerGui
970
local scr = Instance.new('TextLabel')
971
scr.Parent = blind
972
scr.Text = "Ur not whitelisted "..game.Players.LocalPlayer.Name.." "
973
scr.TextScaled = true
974
scr.Font = Enum.Font.Arial
975
scr.TextColor = BrickColor.new(0, 255, 0)
976
scr.BackgroundColor3 = Color3.new(0, 255, 0)
977
scr.BorderColor3 = Color3.new(0, 255, 0)
978
scr.Position = UDim2.new(0, 0, 0, 0)
979
scr.Size = UDim2.new(1, 1, 1, 1)
980
end
981
end
982
983
--
984
local Player = game:GetService('Players').LocalPlayer
985
repeat wait() until Player.Character
986
local Character = Player.Character
987
988
--All The Settings for Trails in this Script
989
TrailSettings = {
990
	Lifetime = 0.7,
991
	Texture = 'rbxassetid://31270182',
992
	--Color1 is for UpperBody and Accessories, Color2 is for Lower Body
993
	Color1 = ColorSequence.new(BrickColor.new('Really red').Color,BrickColor.new('Really red').Color),
994
	Color2 = ColorSequence.new(BrickColor.new('Really red').Color,BrickColor.new('Really red').Color),
995
	AllBody = true,
996
	UpperBodyOnly = false,
997
	LowerBodyOnly = false,
998
	Accessories = false,
999
	Extras = true,
1000
	R15 = false, --Change to true if you're using R15
1001
	R15Parts = {
1002
		'UpperTorso',
1003
		'LowerTorso',
1004
	}
1005
}
1006
1007
local Trail; --Making other Trails uses this in this Script
1008
1009
--UpperBody Function
1010
UpperBody = function()
1011
	if TrailSettings.R15 == false then
1012
		A0 = Instance.new('Attachment',Character.Torso)
1013
		A1 = Instance.new('Attachment',Character.Head)
1014
	A2 = Instance.new('Attachment',Character['Right Arm'])
1015
	A3 = Instance.new('Attachment',Character['Left Arm'])
1016
Trail = Instance.new('Trail',Character)
1017
Trail.Attachment0 = A0
1018
Trail.Attachment1 = A1
1019
Trail.Texture = TrailSettings.Texture
1020
Trail.Color = TrailSettings.Color1
1021
Trail.Lifetime = TrailSettings.Lifetime
1022
local Trail2 = Trail:Clone()
1023
Trail2.Parent = Character
1024
Trail2.Attachment1 = A2
1025
local Trail3 = Trail:Clone()
1026
Trail3.Parent = Character
1027
Trail3.Attachment1 = A3
1028
local Trail6 = Trail:Clone()
1029
Trail6.Parent = Character
1030
Trail6.Attachment0 = A1
1031
Trail6.Attachment1 = A2
1032
local Trail7 = Trail:Clone()
1033
Trail7.Parent = Character
1034
Trail7.Attachment0 = A1
1035
Trail7.Attachment1 = A3
1036
	else
1037
	A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
1038
	A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
1039
	A1 = Instance.new('Attachment',Character.Head)
1040
	A2 = Instance.new('Attachment',Character['RightUpperArm'])
1041
	A2R = Instance.new('Attachment',Character['RightLowerArm'])
1042
	A3 = Instance.new('Attachment',Character['LeftUpperArm'])
1043
	A3R = Instance.new('Attachment',Character['LeftLowerArm'])
1044
Trail = Instance.new('Trail',Character)
1045
Trail.Attachment0 = A0
1046
Trail.Attachment1 = A1
1047
Trail.Texture = TrailSettings.Texture
1048
Trail.Color = TrailSettings.Color1
1049
Trail.Lifetime = TrailSettings.Lifetime
1050
local Trail2 = Trail:Clone()
1051
Trail2.Parent = Character
1052
Trail2.Attachment1 = A2
1053
local Trail3 = Trail:Clone()
1054
Trail3.Parent = Character
1055
Trail3.Attachment1 = A3
1056
local Trail6 = Trail:Clone()
1057
Trail6.Parent = Character
1058
Trail6.Attachment0 = A1
1059
Trail6.Attachment1 = A2
1060
local Trail7 = Trail:Clone()
1061
Trail7.Parent = Character
1062
Trail7.Attachment0 = A1
1063
Trail7.Attachment1 = A3
1064
--R15 Trails
1065
local Trail1R = Trail:Clone()
1066
Trail1R.Parent = Character
1067
Trail1R.Attachment1 = A2R
1068
local Trail2R = Trail:Clone()
1069
Trail2R.Parent = Character
1070
Trail2R.Attachment1 = A3R
1071
local Trail6R = Trail:Clone()
1072
Trail6.Parent = Character
1073
Trail6.Attachment0 = A1
1074
Trail6.Attachment1 = A2R
1075
local Trail7R = Trail:Clone()
1076
Trail7.Parent = Character
1077
Trail7.Attachment0 = A1
1078
Trail7.Attachment1 = A3R
1079
end
1080
end
1081
1082
--Lower Body Function
1083
LowerBody = function()
1084
	if TrailSettings.R15 == false then
1085
		A4 = Instance.new('Attachment',Character['Right Leg'])
1086
		A5 = Instance.new('Attachment',Character['Left Leg'])
1087
local Trail4 = Trail:Clone()
1088
Trail4.Parent = Character
1089
Trail4.Attachment1 = A4
1090
local Trail5 = Trail:Clone()
1091
Trail5.Parent = Character
1092
Trail5.Attachment1 = A5
1093
local Trail8 = Trail:Clone()
1094
Trail8.Parent = Character
1095
Trail8.Attachment0 = A2
1096
Trail8.Attachment1 = A4
1097
Trail8.Color = TrailSettings.Color2
1098
local Trail9 = Trail:Clone()
1099
Trail9.Parent = Character
1100
Trail9.Attachment0 = A3
1101
Trail9.Attachment1 = A5
1102
Trail9.Color = TrailSettings.Color2
1103
local FT = Trail:Clone()
1104
FT.Parent = Character
1105
FT.Attachment0 = A4
1106
FT.Attachment1 = A5
1107
FT.Color = TrailSettings.Color2
1108
else
1109
		A4 = Instance.new('Attachment',Character['RightLowerLeg'])
1110
		A4R = Instance.new('Attachment',Character['RightUpperLeg'])
1111
		A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
1112
		A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
1113
		local Trail4 = Trail:Clone()
1114
Trail4.Parent = Character
1115
Trail4.Attachment1 = A4
1116
local Trail5 = Trail:Clone()
1117
Trail5.Parent = Character
1118
Trail5.Attachment1 = A5
1119
local Trail8 = Trail:Clone()
1120
Trail8.Parent = Character
1121
Trail8.Attachment0 = A2
1122
Trail8.Attachment1 = A4
1123
Trail8.Color = TrailSettings.Color2
1124
local Trail9 = Trail:Clone()
1125
Trail9.Parent = Character
1126
Trail9.Attachment0 = A3
1127
Trail9.Attachment1 = A5
1128
Trail9.Color = TrailSettings.Color2
1129
local FT = Trail:Clone()
1130
FT.Parent = Character
1131
FT.Attachment0 = A4
1132
FT.Attachment1 = A5
1133
FT.Color = TrailSettings.Color2
1134
--R15 Trails
1135
local Trail3R = Trail:Clone()
1136
Trail3R.Parent = Character
1137
Trail3R.Attachment1 = A4R
1138
local Trail4R = Trail:Clone()
1139
Trail4R.Parent = Character
1140
Trail4R.Attachment1 = A5R
1141
local Trail8 = Trail:Clone()
1142
Trail8.Parent = Character
1143
Trail8.Attachment0 = A2R
1144
Trail8.Attachment1 = A4R
1145
Trail8.Color = TrailSettings.Color2
1146
local Trail9 = Trail:Clone()
1147
Trail9.Parent = Character
1148
Trail9.Attachment0 = A3R
1149
Trail9.Attachment1 = A5R
1150
Trail9.Color = TrailSettings.Color2
1151
local FT2R = Trail:Clone()
1152
FT2R.Parent = Character
1153
FT2R.Attachment0 = A4R
1154
FT2R.Attachment1 = A5R
1155
FT2R.Color = TrailSettings.Color2
1156
end
1157
end
1158
1159
--All Body Function calling Both Functions
1160
AllBody = function()
1161
	UpperBody()
1162
	LowerBody()
1163
end
1164
1165
--Checking to make sure that Only some Variables are Selected else do All Body
1166
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1167
	TrailSettings.UpperBodyOnly = false
1168
	TrailSettings.LowerBodyOnly = false
1169
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
1170
	TrailSettings.UpperBodyOnly = false
1171
	TrailSettings.LowerBodyOnly = false
1172
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
1173
	TrailSettings.UpperBodyOnly = false
1174
	TrailSettings.LowerBodyOnly = false
1175
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
1176
	TrailSettings.AllBody = true
1177
	TrailSettings.UpperBodyOnly = false
1178
	TrailSettings.LowerBodyOnly = false
1179
end
1180
1181
--Call Trail Functions
1182
if TrailSettings.UpperBodyOnly == true then
1183
	UpperBody()
1184
	print('Called Upper Body Trail')
1185
elseif TrailSettings.LowerBodyOnly == true then
1186
	LowerBody()
1187
	print('Called Lower Body Trail')
1188
elseif TrailSettings.AllBody == true then
1189
	AllBody()
1190
	print('Called Full Body Trail')
1191
end
1192
1193
--Trails for Accessories
1194
if TrailSettings.Accessories == true then
1195
for Index,Item in pairs(Character:GetChildren()) do
1196
	if Item:IsA'Accessory' then
1197
		local AA = Instance.new('Attachment',Item.Handle)
1198
		local ATrail = Trail:Clone()
1199
		ATrail.Parent = Character
1200
		ATrail.Attachment1 = AA
1201
	end
1202
end
1203
end
1204
1205
--Extras
1206
if TrailSettings.Extras == true then
1207
	--Making an Invisible Platform Part
1208
local a = Instance.new('Part',Character)
1209
a.CanCollide = false
1210
a.Size = Vector3.new(2,.2,2)
1211
a.Transparency = 1
1212
1213
--Constantly putting it under your feet
1214
if TrailSettings.R15 == false then
1215
	spawn(function()
1216
	game:GetService('RunService').RenderStepped:connect(function()
1217
		a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
1218
	end)
1219
end)
1220
else
1221
	spawn(function()
1222
	game:GetService('RunService').RenderStepped:connect(function()
1223
		a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
1224
	end)
1225
end)
1226
end
1227
1228
--Make a Trail from both feet to the Platform
1229
spawn(function()
1230
	repeat wait() until Trail
1231
local AB = Instance.new('Attachment',a)
1232
local ABT = Trail:Clone()
1233
ABT.Parent = Character
1234
ABT.Attachment0 = A4
1235
ABT.Attachment1 = AB
1236
ABT.Color = TrailSettings.Color2
1237
local ABT2 = Trail:Clone()
1238
ABT2.Parent = Character
1239
ABT2.Attachment0 = A5
1240
ABT2.Attachment1 = AB
1241
ABT2.Color = TrailSettings.Color2
1242
end)
1243
end
1244
--
1245
1246
print("will guys this one of my good edits")
1247
print("i will do more edits soon this was so fun to make")
1248
print("call this Ultimate kill bot")
1249
print("Guys this was so fun to edit")
1250
print("so hv fun with this")
1251
print("i add Trail")
1252
1253
wait(0.2)
1254
1255
Player = game:GetService("Players").LocalPlayer
1256
PlayerGui = Player.PlayerGui
1257
Cam = workspace.CurrentCamera
1258
Backpack = Player.Backpack
1259
Character = Player.Character
1260
Humanoid = Character.Humanoid
1261
Mouse = Player:GetMouse()
1262
RootPart = Character["HumanoidRootPart"]
1263
Torso = Character["Torso"]
1264
Head = Character["Head"]
1265
RightArm = Character["Right Arm"]
1266
LeftArm = Character["Left Arm"]
1267
RightLeg = Character["Right Leg"]
1268
LeftLeg = Character["Left Leg"]
1269
RootJoint = RootPart["RootJoint"]
1270
Neck = Torso["Neck"]
1271
RightShoulder = Torso["Right Shoulder"]
1272
LeftShoulder = Torso["Left Shoulder"]
1273
RightHip = Torso["Right Hip"]
1274
LeftHip = Torso["Left Hip"]
1275
1276
IT = Instance.new
1277
CF = CFrame.new
1278
VT = Vector3.new
1279
RAD = math.rad
1280
C3 = Color3.new
1281
UD2 = UDim2.new
1282
BRICKC = BrickColor.new
1283
ANGLES = CFrame.Angles
1284
EULER = CFrame.fromEulerAnglesXYZ
1285
COS = math.cos
1286
ACOS = math.acos
1287
SIN = math.sin
1288
ASIN = math.asin
1289
ABS = math.abs
1290
MRANDOM = math.random
1291
FLOOR = math.floor
1292
1293
--//=================================\\
1294
--|| 	      USEFUL VALUES
1295
--\\=================================//
1296
1297
Animation_Speed = 3
1298
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
1299
local Speed = 16
1300
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1301
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
1302
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
1303
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
1304
local DAMAGEMULTIPLIER = 1
1305
local ANIM = "Idle"
1306
local ATTACK = false
1307
local EQUIPPED = false
1308
local HOLD = false
1309
local COMBO = 1
1310
local Rooted = false
1311
local SINE = 0
1312
local KEYHOLD = false
1313
local CHANGE = 2 / Animation_Speed
1314
local WALKINGANIM = false
1315
local VALUE1 = false
1316
local VALUE2 = false
1317
local ROBLOXIDLEANIMATION = IT("Animation")
1318
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
1319
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
1320
--ROBLOXIDLEANIMATION.Parent = Humanoid
1321
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1322
WEAPONGUI.Name = "Weapon GUI"
1323
local Weapon = IT("Model")
1324
Weapon.Name = "Adds"
1325
local Effects = IT("Folder", Weapon)
1326
Effects.Name = "Effects"
1327
local ANIMATOR = Humanoid.Animator
1328
local ANIMATE = Character.Animate
1329
local UNANCHOR = true
1330
local LAUGHS = {834001699,834001752,834001797,834001828}
1331
local SONGS = {534861083,530959353,1534958855,0}
1332
local CHOICE = MRANDOM(1,4)
1333
1334
--//=================================\\
1335
--\\=================================//
1336
1337
1338
--//=================================\\
1339
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
1340
--\\=================================//
1341
1342
ArtificialHB = Instance.new("BindableEvent", script)
1343
ArtificialHB.Name = "ArtificialHB"
1344
1345
script:WaitForChild("ArtificialHB")
1346
1347
frame = Frame_Speed
1348
tf = 0
1349
allowframeloss = false
1350
tossremainder = false
1351
lastframe = tick()
1352
script.ArtificialHB:Fire()
1353
1354
game:GetService("RunService").Heartbeat:connect(function(s, p)
1355
	tf = tf + s
1356
	if tf >= frame then
1357
		if allowframeloss then
1358
			script.ArtificialHB:Fire()
1359
			lastframe = tick()
1360
		else
1361
			for i = 1, math.floor(tf / frame) do
1362
				script.ArtificialHB:Fire()
1363
			end
1364
		lastframe = tick()
1365
		end
1366
		if tossremainder then
1367
			tf = 0
1368
		else
1369
			tf = tf - frame * math.floor(tf / frame)
1370
		end
1371
	end
1372
end)
1373
1374
--//=================================\\
1375
--\\=================================//
1376
1377
--//=================================\\
1378
--|| 	      SOME FUNCTIONS
1379
--\\=================================//
1380
1381
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
1382
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
1383
end
1384
1385
function PositiveAngle(NUMBER)
1386
	if NUMBER >= 0 then
1387
		NUMBER = 0
1388
	end
1389
	return NUMBER
1390
end
1391
1392
function NegativeAngle(NUMBER)
1393
	if NUMBER <= 0 then
1394
		NUMBER = 0
1395
	end
1396
	return NUMBER
1397
end
1398
1399
function Swait(NUMBER)
1400
	if NUMBER == 0 or NUMBER == nil then
1401
		ArtificialHB.Event:wait()
1402
	else
1403
		for i = 1, NUMBER do
1404
			ArtificialHB.Event:wait()
1405
		end
1406
	end
1407
end
1408
1409
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1410
	local NEWMESH = IT(MESH)
1411
	if MESH == "SpecialMesh" then
1412
		NEWMESH.MeshType = MESHTYPE
1413
		if MESHID ~= "nil" and MESHID ~= "" then
1414
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1415
		end
1416
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1417
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1418
		end
1419
	end
1420
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1421
	NEWMESH.Scale = SCALE
1422
	NEWMESH.Parent = PARENT
1423
	return NEWMESH
1424
end
1425
1426
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1427
	local NEWPART = IT("Part")
1428
	NEWPART.formFactor = FORMFACTOR
1429
	NEWPART.Reflectance = REFLECTANCE
1430
	NEWPART.Transparency = TRANSPARENCY
1431
	NEWPART.CanCollide = false
1432
	NEWPART.Locked = true
1433
	NEWPART.Anchored = true
1434
	if ANCHOR == false then
1435
		NEWPART.Anchored = false
1436
	end
1437
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1438
	NEWPART.Name = NAME
1439
	NEWPART.Size = SIZE
1440
	NEWPART.Position = Torso.Position
1441
	NEWPART.Material = MATERIAL
1442
	NEWPART:BreakJoints()
1443
	NEWPART.Parent = PARENT
1444
	return NEWPART
1445
end
1446
1447
	local function weldBetween(a, b)
1448
	    local weldd = Instance.new("ManualWeld")
1449
	    weldd.Part0 = a
1450
	    weldd.Part1 = b
1451
	    weldd.C0 = CFrame.new()
1452
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1453
	    weldd.Parent = a
1454
	    return weldd
1455
	end
1456
1457
1458
function QuaternionFromCFrame(cf)
1459
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1460
	local trace = m00 + m11 + m22
1461
	if trace > 0 then 
1462
		local s = math.sqrt(1 + trace)
1463
		local recip = 0.5 / s
1464
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1465
	else
1466
		local i = 0
1467
		if m11 > m00 then
1468
			i = 1
1469
		end
1470
		if m22 > (i == 0 and m00 or m11) then
1471
			i = 2
1472
		end
1473
		if i == 0 then
1474
			local s = math.sqrt(m00 - m11 - m22 + 1)
1475
			local recip = 0.5 / s
1476
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1477
		elseif i == 1 then
1478
			local s = math.sqrt(m11 - m22 - m00 + 1)
1479
			local recip = 0.5 / s
1480
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1481
		elseif i == 2 then
1482
			local s = math.sqrt(m22 - m00 - m11 + 1)
1483
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1484
		end
1485
	end
1486
end
1487
 
1488
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1489
	local xs, ys, zs = x + x, y + y, z + z
1490
	local wx, wy, wz = w * xs, w * ys, w * zs
1491
	local xx = x * xs
1492
	local xy = x * ys
1493
	local xz = x * zs
1494
	local yy = y * ys
1495
	local yz = y * zs
1496
	local zz = z * zs
1497
	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))
1498
end
1499
 
1500
function QuaternionSlerp(a, b, t)
1501
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1502
	local startInterp, finishInterp;
1503
	if cosTheta >= 0.0001 then
1504
		if (1 - cosTheta) > 0.0001 then
1505
			local theta = ACOS(cosTheta)
1506
			local invSinTheta = 1 / SIN(theta)
1507
			startInterp = SIN((1 - t) * theta) * invSinTheta
1508
			finishInterp = SIN(t * theta) * invSinTheta
1509
		else
1510
			startInterp = 1 - t
1511
			finishInterp = t
1512
		end
1513
	else
1514
		if (1 + cosTheta) > 0.0001 then
1515
			local theta = ACOS(-cosTheta)
1516
			local invSinTheta = 1 / SIN(theta)
1517
			startInterp = SIN((t - 1) * theta) * invSinTheta
1518
			finishInterp = SIN(t * theta) * invSinTheta
1519
		else
1520
			startInterp = t - 1
1521
			finishInterp = t
1522
		end
1523
	end
1524
	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
1525
end
1526
1527
function Clerp(a, b, t)
1528
	local qa = {QuaternionFromCFrame(a)}
1529
	local qb = {QuaternionFromCFrame(b)}
1530
	local ax, ay, az = a.x, a.y, a.z
1531
	local bx, by, bz = b.x, b.y, b.z
1532
	local _t = 1 - t
1533
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1534
end
1535
1536
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1537
	local frame = IT("Frame")
1538
	frame.BackgroundTransparency = TRANSPARENCY
1539
	frame.BorderSizePixel = BORDERSIZEPIXEL
1540
	frame.Position = POSITION
1541
	frame.Size = SIZE
1542
	frame.BackgroundColor3 = COLOR
1543
	frame.BorderColor3 = BORDERCOLOR
1544
	frame.Name = NAME
1545
	frame.Parent = PARENT
1546
	return frame
1547
end
1548
1549
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1550
	local label = IT("TextLabel")
1551
	label.BackgroundTransparency = 1
1552
	label.Size = UD2(1, 0, 1, 0)
1553
	label.Position = UD2(0, 0, 0, 0)
1554
	label.TextColor3 = TEXTCOLOR
1555
	label.TextStrokeTransparency = STROKETRANSPARENCY
1556
	label.TextTransparency = TRANSPARENCY
1557
	label.FontSize = TEXTFONTSIZE
1558
	label.Font = TEXTFONT
1559
	label.BorderSizePixel = BORDERSIZEPIXEL
1560
	label.TextScaled = false
1561
	label.Text = TEXT
1562
	label.Name = NAME
1563
	label.Parent = PARENT
1564
	return label
1565
end
1566
1567
function NoOutlines(PART)
1568
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1569
end
1570
1571
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1572
	local NEWWELD = IT(TYPE)
1573
	NEWWELD.Part0 = PART0
1574
	NEWWELD.Part1 = PART1
1575
	NEWWELD.C0 = C0
1576
	NEWWELD.C1 = C1
1577
	NEWWELD.Parent = PARENT
1578
	return NEWWELD
1579
end
1580
1581
local S = IT("Sound")
1582
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1583
	local NEWSOUND = nil
1584
	coroutine.resume(coroutine.create(function()
1585
		NEWSOUND = S:Clone()
1586
		NEWSOUND.Parent = PARENT
1587
		NEWSOUND.Volume = VOLUME
1588
		NEWSOUND.Pitch = PITCH
1589
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1590
		NEWSOUND:play()
1591
		if DOESLOOP == true then
1592
			NEWSOUND.Looped = true
1593
		else
1594
			repeat wait(1) until NEWSOUND.Playing == false
1595
			NEWSOUND:remove()
1596
		end
1597
	end))
1598
	return NEWSOUND
1599
end
1600
1601
function CFrameFromTopBack(at, top, back)
1602
	local right = top:Cross(back)
1603
	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)
1604
end
1605
1606
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1607
local cR=255
1608
local cG=0
1609
local cB=0
1610
local flg5=1 local omgidk=1
1611
local add=15
1612
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
1613
    if omgidk>10000 then omgidk=0 end
1614
    omgidk=omgidk+1
1615
    if cR>=255 then flg5=1 end
1616
    if cG>=255 then flg5=2 end
1617
    if cB>=255 then flg5=3 end
1618
    if flg5==1 then cR=cR-add cG=cG+add end
1619
    if flg5==2 then cG=cG-add cB=cB+add end
1620
    if flg5==3 then cB=cB-add cR=cR+add end
1621
    color=Color3.fromRGB(cR,cG,cB)
1622
1623
function WACKYEFFECT(Table)
1624
	local TYPE = (Table.EffectType or "Sphere")
1625
	local SIZE = (Table.Size or VT(1,1,1))
1626
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1627
	local TRANSPARENCY = (Table.Transparency or 0)
1628
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1629
	local CFRAME = (Table.CFrame or Torso.CFrame)
1630
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1631
	local ROTATION1 = (Table.RotationX or 0)
1632
	local ROTATION2 = (Table.RotationY or 0)
1633
	local ROTATION3 = (Table.RotationZ or 0)
1634
	local MATERIAL = (Table.Material or "Neon")
1635
	local COLOR = (Table.Color or C3(1,1,1))
1636
	local TIME = (Table.Time or 45)
1637
	local SOUNDID = (Table.SoundID or nil)
1638
	local SOUNDPITCH = (Table.SoundPitch or nil)
1639
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1640
	coroutine.resume(coroutine.create(function()
1641
		local PLAYSSOUND = false
1642
		local SOUND = nil
1643
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1644
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1645
			PLAYSSOUND = true
1646
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1647
		end
1648
		EFFECT.Color = COLOR
1649
		local MSH = nil
1650
		if TYPE == "Sphere" then
1651
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1652
		elseif TYPE == "Block" then
1653
			MSH = IT("BlockMesh",EFFECT)
1654
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1655
		elseif TYPE == "Wave" then
1656
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1657
		elseif TYPE == "Ring" then
1658
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1659
		elseif TYPE == "Slash" then
1660
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1661
		elseif TYPE == "Round Slash" then
1662
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1663
		elseif TYPE == "Swirl" then
1664
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1665
		elseif TYPE == "Skull" then
1666
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1667
		elseif TYPE == "Crystal" then
1668
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1669
		end
1670
		if MSH ~= nil then
1671
			local MOVESPEED = nil
1672
			if MOVEDIRECTION ~= nil then
1673
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1674
			end
1675
			local GROWTH = SIZE - ENDSIZE
1676
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1677
			if TYPE == "Block" then
1678
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1679
			else
1680
				EFFECT.CFrame = CFRAME
1681
			end
1682
			for LOOP = 1, TIME+1 do
1683
				Swait()
1684
				MSH.Scale = MSH.Scale - GROWTH/TIME
1685
				if TYPE == "Wave" then
1686
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1687
				end
1688
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1689
				if TYPE == "Block" then
1690
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1691
				else
1692
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1693
				end
1694
				if MOVEDIRECTION ~= nil then
1695
					local ORI = EFFECT.Orientation
1696
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1697
					EFFECT.Orientation = ORI
1698
				end
1699
			end
1700
			if PLAYSSOUND == false then
1701
				EFFECT:remove()
1702
			else
1703
				repeat Swait() until SOUND.Playing == false
1704
				EFFECT:remove()
1705
			end
1706
		else
1707
			if PLAYSSOUND == false then
1708
				EFFECT:remove()
1709
			else
1710
				repeat Swait() until SOUND.Playing == false
1711
				EFFECT:remove()
1712
			end
1713
		end
1714
	end))
1715
end
1716
1717
function MakeForm(PART,TYPE)
1718
	if TYPE == "Cyl" then
1719
		local MSH = IT("CylinderMesh",PART)
1720
	elseif TYPE == "Ball" then
1721
		local MSH = IT("SpecialMesh",PART)
1722
		MSH.MeshType = "Sphere"
1723
	elseif TYPE == "Wedge" then
1724
		local MSH = IT("SpecialMesh",PART)
1725
		MSH.MeshType = "Wedge"
1726
	end
1727
end
1728
1729
Debris = game:GetService("Debris")
1730
1731
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1732
	local DIRECTION = CF(StartPos,EndPos).lookVector
1733
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1734
end
1735
1736
function CharacterFade(COLOR,TIMER)
1737
	coroutine.resume(coroutine.create(function()
1738
		local FADE = IT("Model",Effects)
1739
		for _, c in pairs(Character:GetChildren()) do
1740
			if c.ClassName == "Part" and c ~= RootPart then
1741
				local FADER = c:Clone()
1742
				FADER.Color = COLOR
1743
				FADER.CFrame = c.CFrame
1744
				FADER.Parent = FADE
1745
				FADER.Anchored = true
1746
				FADER.Transparency = 0.25
1747
				FADER:BreakJoints()
1748
				FADER.Material = "Glass"
1749
				FADER:ClearAllChildren()
1750
				if FADER.Name == "Head" then
1751
					FADER.Size = VT(1,1,1)
1752
				end
1753
			end
1754
		end
1755
		local TRANS = 0.75/TIMER
1756
		for i = 1, TIMER do
1757
			Swait()
1758
			for _, c in pairs(FADE:GetChildren()) do
1759
				if c.ClassName == "Part" then
1760
					c.Transparency = c.Transparency + TRANS
1761
				end
1762
			end
1763
		end
1764
		FADE:remove()
1765
	end))
1766
end
1767
1768
local PE=Instance.new("ParticleEmitter")
1769
PE.LightEmission=0.3
1770
PE.Size=NumberSequence.new(0)
1771
PE.Transparency=NumberSequence.new(0,1)
1772
PE.Rotation=NumberRange.new(0,360)
1773
PE.LockedToPart = false
1774
PE.Speed = NumberRange.new(0,0,0)
1775
PE.ZOffset = 0.3
1776
PE.Rate = 999
1777
PE.VelocitySpread = 25
1778
PE.Name = "Particles"
1779
1780
function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
1781
    local particle = nil
1782
    coroutine.resume(coroutine.create(function(PART)
1783
        particle = PE:Clone()
1784
        Swait()
1785
        particle.Rate = 999
1786
        particle.Parent = art
1787
        particle.Acceleration = accel
1788
        if type == "Fire" then
1789
            local EyeSizes={
1790
                NumberSequenceKeypoint.new(0,size,size/2),
1791
                NumberSequenceKeypoint.new(1,size/4,size/8)
1792
            }
1793
            particle.Size = NumberSequence.new(EyeSizes)
1794
        elseif type == "Smoke" then
1795
            local EyeSizes={
1796
                NumberSequenceKeypoint.new(0,size/5,0),
1797
                NumberSequenceKeypoint.new(1,size*2,0.5)
1798
            }
1799
            particle.Size = NumberSequence.new(EyeSizes)
1800
        elseif type == "Solid" then
1801
            local EyeSizes={
1802
                NumberSequenceKeypoint.new(0,size,0),
1803
                NumberSequenceKeypoint.new(1,size,0)
1804
            }
1805
            particle.Size = NumberSequence.new(EyeSizes)
1806
        end
1807
        particle.Lifetime=NumberRange.new(lifetime)
1808
        particle.Drag = drag
1809
        if locked == true then
1810
            particle.LockedToPart = true
1811
        end
1812
        particle.Speed = NumberRange.new(speed*0.8,speed)
1813
        particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
1814
        particle.Enabled = isenabledbydefault
1815
        particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
1816
    end))
1817
return particle
1818
end
1819
1820
--//=================================\\
1821
--||	     RAGDOLL STUFF
1822
--\\=================================//
1823
1824
function Kill(Char)
1825
	local NewCharacter = IT("Model",Effects)
1826
	NewCharacter.Name = "Ow im ded ;-;"
1827
	for _, c in pairs(Char:GetDescendants()) do
1828
		if c:IsA("BasePart") and c.Transparency == 0 then
1829
			if c.Parent == Char then
1830
				getbloody(c,5)
1831
			end
1832
			c:BreakJoints()
1833
			c.Material = "Glass"
1834
			c.Color = C3(0.5,0,0)
1835
			c.CanCollide = true
1836
			c.Transparency = 0.3
1837
			if c:FindFirstChildOfClass("SpecialMesh") then
1838
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1839
			end
1840
			if c.Name == "Head" then
1841
				c:ClearAllChildren()
1842
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1843
			end
1844
			if c.ClassName == "MeshPart" then
1845
				c.TextureID = ""
1846
			end
1847
			if c:FindFirstChildOfClass("BodyPosition") then
1848
				c:FindFirstChildOfClass("BodyPosition"):remove()
1849
			end
1850
			if c:FindFirstChildOfClass("ParticleEmitter") then
1851
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1852
			end
1853
			c.Parent = NewCharacter
1854
			c.Name = "DeadPart"
1855
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1856
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1857
		end
1858
	end
1859
	Char:remove()
1860
	Debris:AddItem(NewCharacter,5)
1861
end
1862
1863
function ApplyAoE(POSITION,RANGE,BRUTAL)
1864
	local CHILDREN = workspace:GetDescendants()
1865
	for index, CHILD in pairs(CHILDREN) do
1866
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1867
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1868
			if HUM then
1869
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1870
				if TORSO then
1871
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1872
						if BRUTAL == true then
1873
							Kill(CHILD)
1874
						else
1875
							CHILD:BreakJoints()
1876
						end
1877
					end
1878
				end
1879
			end
1880
		end
1881
	end
1882
end
1883
1884
function BulletDetection(FROM,TO,BRUTAL)
1885
	local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
1886
	coroutine.resume(coroutine.create(function()
1887
		if AIMHIT ~= nil then
1888
			if AIMHIT.Parent ~= Character then
1889
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1890
					if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
1891
						if BRUTAL == true then
1892
							Kill(AIMHIT.Parent)
1893
						else
1894
							getbloody(AIMHIT,15)
1895
							AIMHIT.Parent:BreakJoints()
1896
							if AIMHIT.Name == "Head" then
1897
								AIMHIT.Name = "HEADSHOT"
1898
								AIMHIT:remove()
1899
							end
1900
						end
1901
					else
1902
						if BRUTAL == true then
1903
							Kill(AIMHIT.Parent.Parent)
1904
						else
1905
							AIMHIT.Parent.Parent:BreakJoints()
1906
						end
1907
					end
1908
				end
1909
			end
1910
		end
1911
	end))
1912
	SpawnTrail(FROM,AIMPOS)
1913
	return AIMHIT,AIMPOS,NORMAL
1914
end
1915
1916
function recurse(root,callback,i)
1917
	i= i or 0
1918
	for _,v in pairs(root:GetChildren()) do
1919
		i = i + 1
1920
		callback(i,v)
1921
		
1922
		if #v:GetChildren() > 0 then
1923
			i = recurse(v,callback,i)
1924
		end
1925
	end
1926
	
1927
	return i
1928
end
1929
1930
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1931
	attachmentName = attachmentName.."RigAttachment"
1932
	local constraint = Instance.new(className.."Constraint")
1933
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1934
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1935
	constraint.Name = "RagdollConstraint"..part1.Name
1936
	
1937
	for _,propertyData in next,properties or {} do
1938
		constraint[propertyData[1]] = propertyData[2]
1939
	end
1940
	
1941
	constraint.Parent = character
1942
end
1943
1944
function getAttachment0(character, attachmentName)
1945
	for _,child in next,character:GetChildren() do
1946
		local attachment = child:FindFirstChild(attachmentName)
1947
		if attachment then
1948
			return attachment
1949
		end
1950
	end
1951
end
1952
1953
function ArtificialHitbox(Part)
1954
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
1955
	HITBOX.CanCollide = true
1956
	HITBOX.CFrame = Part.CFrame
1957
	weldBetween(Part,HITBOX)
1958
end
1959
1960
function R15Ragdoll(character,KeepArms)
1961
	character:BreakJoints()
1962
	coroutine.resume(coroutine.create(function()
1963
		recurse(character, function(_,v)
1964
			if v:IsA("Attachment") then
1965
				v.Axis = Vector3.new(0, 1, 0)
1966
				v.SecondaryAxis = Vector3.new(0, 0, 1)
1967
				v.Rotation = Vector3.new(0, 0, 0)
1968
			end
1969
		end)
1970
		for _,child in next,character:GetChildren() do
1971
			if child:IsA("Accoutrement") then
1972
				for _,part in next,child:GetChildren() do
1973
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1974
						local attachment1 = part:FindFirstChildOfClass("Attachment")
1975
						local attachment0 = getAttachment0(character,attachment1.Name)
1976
						if attachment0 and attachment1 then
1977
							local constraint = Instance.new("HingeConstraint")
1978
							constraint.Attachment0 = attachment0
1979
							constraint.Attachment1 = attachment1
1980
							constraint.LimitsEnabled = true
1981
							constraint.UpperAngle = 0
1982
							constraint.LowerAngle = 0
1983
							constraint.Parent = character
1984
						end
1985
						ArtificialHitbox(part)
1986
					elseif part.Name == "HumanoidRootPart" then
1987
						part:remove()
1988
					end
1989
				end
1990
			end
1991
		end
1992
		
1993
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1994
			{"LimitsEnabled",true};
1995
			{"UpperAngle",5};
1996
		})
1997
		if character:FindFirstChild("Head") then
1998
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1999
				{"LimitsEnabled",true};
2000
				{"UpperAngle",15};
2001
			})
2002
		end
2003
		
2004
		local handProperties = {
2005
			{"LimitsEnabled", true};
2006
			{"UpperAngle",0};
2007
			{"LowerAngle",0};
2008
		}
2009
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
2010
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
2011
		
2012
		local shinProperties = {
2013
			{"LimitsEnabled", true};
2014
			{"UpperAngle", 0};
2015
			{"LowerAngle", -75};
2016
		}
2017
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
2018
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
2019
		
2020
		local footProperties = {
2021
			{"LimitsEnabled", true};
2022
			{"UpperAngle", 15};
2023
			{"LowerAngle", -45};
2024
		}
2025
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
2026
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
2027
		if KeepArms == true then
2028
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
2029
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
2030
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
2031
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
2032
		end
2033
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
2034
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
2035
		Debris:AddItem(character,5)
2036
	end))
2037
end
2038
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
2039
    coroutine.resume(coroutine.create(function()
2040
        local METEOR = IT("Model",Effects)
2041
        METEOR.Name = "Meteorite"
2042
        local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2043
        METEOR.PrimaryPart = CENTER
2044
        local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2045
        PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2046
        for i = 1, 15 do
2047
            local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
2048
            FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2049
        end
2050
        if ISDEBREE ~= true then
2051
            METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2052
        else
2053
            METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2054
        end
2055
        local IMPACT = false
2056
        CreateSound(463593339, CENTER, 10, 0.6)
2057
        if SIZE >= 3.5 then
2058
            for i = 1, MRANDOM(3,7) do
2059
                SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
2060
            end
2061
        end
2062
        for i = 1, 200 do
2063
            Swait()
2064
            local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
2065
            if HITFLOOR == nil then
2066
                local ORI = CENTER.Orientation
2067
                METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2068
            else
2069
                if HITFLOOR.Anchored == true then
2070
                    CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
2071
                    CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
2072
                end
2073
                IMPACT = true
2074
                break
2075
            end
2076
        end
2077
        if IMPACT == true then
2078
            WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2079
            WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
2080
            WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2081
            ApplyAoE(CENTER.Position,30*SIZE)
2082
        end
2083
        METEOR:remove()
2084
    end))
2085
end
2086
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
2087
    if FLOOR ~= nil then
2088
        coroutine.resume(coroutine.create(function()
2089
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
2090
            PART.CFrame = CF(POSITION)
2091
            for i = 1, 45 do
2092
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
2093
                RingPiece.Material = FLOOR.Material
2094
                RingPiece.Color = FLOOR.Color
2095
                RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2096
                Debris:AddItem(RingPiece,SWAIT)
2097
            end
2098
            PART:remove()
2099
        end))
2100
    end
2101
end
2102
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
2103
    if FLOOR ~= nil then
2104
        for i = 1, AMOUNT do
2105
            local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
2106
            DEBREE.Material = FLOOR.Material
2107
            DEBREE.Color = FLOOR.Color
2108
            DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
2109
            DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
2110
            coroutine.resume(coroutine.create(function()
2111
                Swait(15)
2112
                DEBREE.Parent = workspace
2113
                DEBREE.CanCollide = true
2114
                Debris:AddItem(DEBREE,SWAIT)
2115
            end))
2116
        end
2117
    end
2118
end
2119
function SpawnSmite(POS)
2120
    local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
2121
    local EMITPOS = HITPOS
2122
    if HITFLOOR ~= nil then
2123
        if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
2124
            HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
2125
            EMITPOS = HITPOS
2126
        elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2127
            HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
2128
            EMITPOS = HITPOS
2129
        end
2130
    end
2131
    if HITFLOOR ~= nil then
2132
        ApplyAoE(EMITPOS,10)
2133
        WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
2134
        WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2135
        WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2136
        for i = 1, 5 do
2137
            local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
2138
            WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
2139
        end
2140
    end
2141
end
2142
function Ragdoll(Character2,CharTorso,KeepArms)
2143
	coroutine.resume(coroutine.create(function()
2144
		Character2:BreakJoints()
2145
		local hum = Character2:findFirstChild("Humanoid")
2146
		hum:remove()
2147
		local function Scan(ch)
2148
			local e
2149
			for e = 1,#ch do
2150
				Scan(ch[e]:GetChildren())
2151
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
2152
					ch[e]:remove()
2153
				end
2154
			end
2155
		end
2156
		local NEWHUM = IT("Humanoid")
2157
		NEWHUM.Name = "Corpse"
2158
		NEWHUM.Health = 0
2159
		NEWHUM.MaxHealth = 0
2160
		NEWHUM.PlatformStand = true
2161
		NEWHUM.Parent = Character2
2162
		NEWHUM.DisplayDistanceType = "None"
2163
	
2164
		local ch = Character2:GetChildren()
2165
		local i
2166
		for i = 1,#ch do
2167
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2168
				ch[i]:remove()
2169
			end
2170
		end
2171
	
2172
		local Torso2 = Character2.Torso
2173
		local movevector = Vector3.new()
2174
	
2175
		if Torso2 then
2176
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
2177
			local Head = Character2:FindFirstChild("Head")
2178
			if Head then
2179
				local Neck = Instance.new("Weld")
2180
				Neck.Name = "Neck"
2181
				Neck.Part0 = Torso2
2182
				Neck.Part1 = Head
2183
				Neck.C0 = CFrame.new(0, 1.5, 0)
2184
				Neck.C1 = CFrame.new()
2185
				Neck.Parent = Torso2
2186
	
2187
			end
2188
			local Limb = Character2:FindFirstChild("Right Arm")
2189
			if Limb and KeepArms == true then
2190
	
2191
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
2192
				local Joint = Instance.new("Glue")
2193
				Joint.Name = "RightShoulder"
2194
				Joint.Part0 = Torso2
2195
				Joint.Part1 = Limb
2196
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2197
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2198
				Joint.Parent = Torso2
2199
	
2200
				local B = Instance.new("Part")
2201
				B.TopSurface = 0
2202
				B.BottomSurface = 0
2203
				B.formFactor = "Symmetric"
2204
				B.Size = Vector3.new(1, 1, 1)
2205
				B.Transparency = 1
2206
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2207
				B.Parent = Character2
2208
				local W = Instance.new("Weld")
2209
				W.Part0 = Limb
2210
				W.Part1 = B
2211
				W.C0 = CFrame.new(0, -0.5, 0)
2212
				W.Parent = Limb
2213
	
2214
			end
2215
			local Limb = Character2:FindFirstChild("Left Arm")
2216
			if Limb and KeepArms == true then
2217
	
2218
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
2219
				local Joint = Instance.new("Glue")
2220
				Joint.Name = "LeftShoulder"
2221
				Joint.Part0 = Torso2
2222
				Joint.Part1 = Limb
2223
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2224
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2225
				Joint.Parent = Torso2
2226
	
2227
				local B = Instance.new("Part")
2228
				B.TopSurface = 0
2229
				B.BottomSurface = 0
2230
				B.formFactor = "Symmetric"
2231
				B.Size = Vector3.new(1, 1, 1)
2232
				B.Transparency = 1
2233
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2234
				B.Parent = Character2
2235
				local W = Instance.new("Weld")
2236
				W.Part0 = Limb
2237
				W.Part1 = B
2238
				W.C0 = CFrame.new(0, -0.5, 0)
2239
				W.Parent = Limb
2240
	
2241
			end
2242
			local Limb = Character2:FindFirstChild("Right Leg")
2243
			if Limb then
2244
	
2245
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
2246
				local Joint = Instance.new("Glue")
2247
				Joint.Name = "RightHip"
2248
				Joint.Part0 = Torso2
2249
				Joint.Part1 = Limb
2250
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2251
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2252
				Joint.Parent = Torso2
2253
	
2254
				local B = Instance.new("Part")
2255
				B.TopSurface = 0
2256
				B.BottomSurface = 0
2257
				B.formFactor = "Symmetric"
2258
				B.Size = Vector3.new(1, 1, 1)
2259
				B.Transparency = 1
2260
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2261
				B.Parent = Character2
2262
				local W = Instance.new("Weld")
2263
				W.Part0 = Limb
2264
				W.Part1 = B
2265
				W.C0 = CFrame.new(0, -0.5, 0)
2266
				W.Parent = Limb
2267
	
2268
			end
2269
			local Limb = Character2:FindFirstChild("Left Leg")
2270
			if Limb then
2271
	
2272
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
2273
				local Joint = Instance.new("Glue")
2274
				Joint.Name = "LeftHip"
2275
				Joint.Part0 = Torso2
2276
				Joint.Part1 = Limb
2277
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2278
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2279
				Joint.Parent = Torso2
2280
	
2281
				local B = Instance.new("Part")
2282
				B.TopSurface = 0
2283
				B.BottomSurface = 0
2284
				B.formFactor = "Symmetric"
2285
				B.Size = Vector3.new(1, 1, 1)
2286
				B.Transparency = 1
2287
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2288
				B.Parent = Character2
2289
				local W = Instance.new("Weld")
2290
				W.Part0 = Limb
2291
				W.Part1 = B
2292
				W.C0 = CFrame.new(0, -0.5, 0)
2293
				W.Parent = Limb
2294
	
2295
			end
2296
			--[
2297
			local Bar = Instance.new("Part")
2298
			Bar.TopSurface = 0
2299
			Bar.BottomSurface = 0
2300
			Bar.formFactor = "Symmetric"
2301
			Bar.Size = Vector3.new(1, 1, 1)
2302
			Bar.Transparency = 1
2303
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
2304
			Bar.Parent = Character2
2305
			local Weld = Instance.new("Weld")
2306
			Weld.Part0 = Torso2
2307
			Weld.Part1 = Bar
2308
			Weld.C0 = CFrame.new(0, 0.5, 0)
2309
			Weld.Parent = Torso2
2310
			--]]
2311
		end
2312
		Character2.Parent = workspace
2313
		Debris:AddItem(Character2,5)
2314
	
2315
		return Character2,Torso2
2316
	end))
2317
end
2318
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
2319
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
2320
end
2321
2322
function PositiveAngle(NUMBER)
2323
	if NUMBER >= 0 then
2324
		NUMBER = 0
2325
	end
2326
	return NUMBER
2327
end
2328
2329
function NegativeAngle(NUMBER)
2330
	if NUMBER <= 0 then
2331
		NUMBER = 0
2332
	end
2333
	return NUMBER
2334
end
2335
2336
function Swait(NUMBER)
2337
	if NUMBER == 0 or NUMBER == nil then
2338
		ArtificialHB.Event:wait()
2339
	else
2340
		for i = 1, NUMBER do
2341
			ArtificialHB.Event:wait()
2342
		end
2343
	end
2344
end
2345
2346
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
2347
	local NEWMESH = IT(MESH)
2348
	if MESH == "SpecialMesh" then
2349
		NEWMESH.MeshType = MESHTYPE
2350
		if MESHID ~= "nil" and MESHID ~= "" then
2351
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
2352
		end
2353
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
2354
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
2355
		end
2356
	end
2357
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
2358
	NEWMESH.Scale = SCALE
2359
	NEWMESH.Parent = PARENT
2360
	return NEWMESH
2361
end
2362
2363
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
2364
	local NEWPART = IT("Part")
2365
	NEWPART.formFactor = FORMFACTOR
2366
	NEWPART.Reflectance = REFLECTANCE
2367
	NEWPART.Transparency = TRANSPARENCY
2368
	NEWPART.CanCollide = false
2369
	NEWPART.Locked = true
2370
	NEWPART.Anchored = true
2371
	if ANCHOR == false then
2372
		NEWPART.Anchored = false
2373
	end
2374
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
2375
	NEWPART.Name = NAME
2376
	NEWPART.Size = SIZE
2377
	NEWPART.Position = Torso.Position
2378
	NEWPART.Material = MATERIAL
2379
	NEWPART:BreakJoints()
2380
	NEWPART.Parent = PARENT
2381
	return NEWPART
2382
end
2383
2384
	local function weldBetween(a, b)
2385
	    local weldd = IT("Weld")
2386
	    weldd.Part0 = a
2387
	    weldd.Part1 = b
2388
	    weldd.C0 = CF()
2389
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
2390
	    weldd.Parent = a
2391
	    return weldd
2392
	end
2393
2394
2395
function QuaternionFromCFrame(cf)
2396
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
2397
	local trace = m00 + m11 + m22
2398
	if trace > 0 then 
2399
		local s = math.sqrt(1 + trace)
2400
		local recip = 0.5 / s
2401
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
2402
	else
2403
		local i = 0
2404
		if m11 > m00 then
2405
			i = 1
2406
		end
2407
		if m22 > (i == 0 and m00 or m11) then
2408
			i = 2
2409
		end
2410
		if i == 0 then
2411
			local s = math.sqrt(m00 - m11 - m22 + 1)
2412
			local recip = 0.5 / s
2413
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
2414
		elseif i == 1 then
2415
			local s = math.sqrt(m11 - m22 - m00 + 1)
2416
			local recip = 0.5 / s
2417
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
2418
		elseif i == 2 then
2419
			local s = math.sqrt(m22 - m00 - m11 + 1)
2420
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
2421
		end
2422
	end
2423
end
2424
 
2425
function QuaternionToCFrame(px, py, pz, x, y, z, w)
2426
	local xs, ys, zs = x + x, y + y, z + z
2427
	local wx, wy, wz = w * xs, w * ys, w * zs
2428
	local xx = x * xs
2429
	local xy = x * ys
2430
	local xz = x * zs
2431
	local yy = y * ys
2432
	local yz = y * zs
2433
	local zz = z * zs
2434
	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))
2435
end
2436
 
2437
function QuaternionSlerp(a, b, t)
2438
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
2439
	local startInterp, finishInterp;
2440
	if cosTheta >= 0.0001 then
2441
		if (1 - cosTheta) > 0.0001 then
2442
			local theta = ACOS(cosTheta)
2443
			local invSinTheta = 1 / SIN(theta)
2444
			startInterp = SIN((1 - t) * theta) * invSinTheta
2445
			finishInterp = SIN(t * theta) * invSinTheta
2446
		else
2447
			startInterp = 1 - t
2448
			finishInterp = t
2449
		end
2450
	else
2451
		if (1 + cosTheta) > 0.0001 then
2452
			local theta = ACOS(-cosTheta)
2453
			local invSinTheta = 1 / SIN(theta)
2454
			startInterp = SIN((t - 1) * theta) * invSinTheta
2455
			finishInterp = SIN(t * theta) * invSinTheta
2456
		else
2457
			startInterp = t - 1
2458
			finishInterp = t
2459
		end
2460
	end
2461
	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
2462
end
2463
2464
function Clerp(a, b, t)
2465
	local qa = {QuaternionFromCFrame(a)}
2466
	local qb = {QuaternionFromCFrame(b)}
2467
	local ax, ay, az = a.x, a.y, a.z
2468
	local bx, by, bz = b.x, b.y, b.z
2469
	local _t = 1 - t
2470
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
2471
end
2472
2473
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
2474
	local frame = IT("Frame")
2475
	frame.BackgroundTransparency = TRANSPARENCY
2476
	frame.BorderSizePixel = BORDERSIZEPIXEL
2477
	frame.Position = POSITION
2478
	frame.Size = SIZE
2479
	frame.BackgroundColor3 = COLOR
2480
	frame.BorderColor3 = BORDERCOLOR
2481
	frame.Name = NAME
2482
	frame.Parent = PARENT
2483
	return frame
2484
end
2485
2486
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
2487
	local label = IT("TextLabel")
2488
	label.BackgroundTransparency = 1
2489
	label.Size = UD2(1, 0, 1, 0)
2490
	label.Position = UD2(0, 0, 0, 0)
2491
	label.TextColor3 = TEXTCOLOR
2492
	label.TextStrokeTransparency = STROKETRANSPARENCY
2493
	label.TextTransparency = TRANSPARENCY
2494
	label.FontSize = TEXTFONTSIZE
2495
	label.Font = TEXTFONT
2496
	label.BorderSizePixel = BORDERSIZEPIXEL
2497
	label.TextScaled = false
2498
	label.Text = TEXT
2499
	label.Name = NAME
2500
	label.Parent = PARENT
2501
	return label
2502
end
2503
2504
function NoOutlines(PART)
2505
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
2506
end
2507
2508
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
2509
	local NEWWELD = IT(TYPE)
2510
	NEWWELD.Part0 = PART0
2511
	NEWWELD.Part1 = PART1
2512
	NEWWELD.C0 = C0
2513
	NEWWELD.C1 = C1
2514
	NEWWELD.Parent = PARENT
2515
	return NEWWELD
2516
end
2517
2518
local S = IT("Sound")
2519
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
2520
	local NEWSOUND = nil
2521
	coroutine.resume(coroutine.create(function()
2522
		NEWSOUND = S:Clone()
2523
		NEWSOUND.Parent = PARENT
2524
		NEWSOUND.Volume = VOLUME
2525
		NEWSOUND.Pitch = PITCH
2526
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
2527
		NEWSOUND:play()
2528
		if DOESLOOP == true then
2529
			NEWSOUND.Looped = true
2530
		else
2531
			repeat wait(1) until NEWSOUND.Playing == false
2532
			NEWSOUND:remove()
2533
		end
2534
	end))
2535
	return NEWSOUND
2536
end
2537
2538
function CFrameFromTopBack(at, top, back)
2539
	local right = top:Cross(back)
2540
	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)
2541
end
2542
2543
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2544
function WACKYEFFECT(Table)
2545
	local TYPE = (Table.EffectType or "Sphere")
2546
	local SIZE = (Table.Size or VT(1,1,1))
2547
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
2548
	local TRANSPARENCY = (Table.Transparency or 0)
2549
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
2550
	local CFRAME = (Table.CFrame or Torso.CFrame)
2551
	local MOVEDIRECTION = (Table.MoveToPos or nil)
2552
	local ROTATION1 = (Table.RotationX or 0)
2553
	local ROTATION2 = (Table.RotationY or 0)
2554
	local ROTATION3 = (Table.RotationZ or 0)
2555
	local MATERIAL = (Table.Material or "Neon")
2556
	local COLOR = (Table.Color or C3(1,1,1))
2557
	local TIME = (Table.Time or 45)
2558
	local SOUNDID = (Table.SoundID or nil)
2559
	local SOUNDPITCH = (Table.SoundPitch or nil)
2560
	local SOUNDVOLUME = (Table.SoundVolume or nil)
2561
	coroutine.resume(coroutine.create(function()
2562
		local PLAYSSOUND = false
2563
		local SOUND = nil
2564
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
2565
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
2566
			PLAYSSOUND = true
2567
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
2568
		end
2569
		EFFECT.Color = COLOR
2570
		local MSH = nil
2571
		if TYPE == "Sphere" then
2572
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
2573
		elseif TYPE == "Block" then
2574
			MSH = IT("BlockMesh",EFFECT)
2575
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
2576
		elseif TYPE == "Wave" then
2577
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
2578
		elseif TYPE == "Ring" then
2579
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
2580
		elseif TYPE == "Slash" then
2581
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2582
		elseif TYPE == "Round Slash" then
2583
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
2584
		elseif TYPE == "Swirl" then
2585
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
2586
		elseif TYPE == "Skull" then
2587
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
2588
		elseif TYPE == "Crystal" then
2589
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
2590
		end
2591
		if MSH ~= nil then
2592
			local MOVESPEED = nil
2593
			if MOVEDIRECTION ~= nil then
2594
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
2595
			end
2596
			local GROWTH = SIZE - ENDSIZE
2597
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
2598
			if TYPE == "Block" then
2599
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2600
			else
2601
				EFFECT.CFrame = CFRAME
2602
			end
2603
			for LOOP = 1, TIME+1 do
2604
				Swait()
2605
				MSH.Scale = MSH.Scale - GROWTH/TIME
2606
				if TYPE == "Wave" then
2607
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
2608
				end
2609
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
2610
				if TYPE == "Block" then
2611
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2612
				else
2613
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
2614
				end
2615
				if MOVEDIRECTION ~= nil then
2616
					local ORI = EFFECT.Orientation
2617
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
2618
					EFFECT.Orientation = ORI
2619
				end
2620
			end
2621
			if PLAYSSOUND == false then
2622
				EFFECT:remove()
2623
			else
2624
				SOUND.Stopped:Connect(function()
2625
					EFFECT:remove()
2626
				end)
2627
			end
2628
		else
2629
			if PLAYSSOUND == false then
2630
				EFFECT:remove()
2631
			else
2632
				repeat Swait() until SOUND.Playing == false
2633
				EFFECT:remove()
2634
			end
2635
		end
2636
	end))
2637
end
2638
2639
function MakeForm(PART,TYPE)
2640
	if TYPE == "Cyl" then
2641
		local MSH = IT("CylinderMesh",PART)
2642
	elseif TYPE == "Ball" then
2643
		local MSH = IT("SpecialMesh",PART)
2644
		MSH.MeshType = "Sphere"
2645
	elseif TYPE == "Wedge" then
2646
		local MSH = IT("SpecialMesh",PART)
2647
		MSH.MeshType = "Wedge"
2648
	end
2649
end
2650
2651
Debris = game:GetService("Debris")
2652
2653
function CastProperRay(StartPos, EndPos, Distance, Ignore)
2654
	local DIRECTION = CF(StartPos,EndPos).lookVector
2655
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
2656
end
2657
2658
function turnto(position)
2659
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
2660
end
2661
2662
function SpawnTrail(FROM,TO,BIG)
2663
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
2664
	MakeForm(TRAIL,"Cyl")
2665
	local DIST = (FROM - TO).Magnitude
2666
	if BIG == true then
2667
		TRAIL.Size = VT(0.5,DIST,0.5)
2668
	else
2669
		TRAIL.Size = VT(0.25,DIST,0.25)
2670
	end
2671
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
2672
	coroutine.resume(coroutine.create(function()
2673
		for i = 1, 5 do
2674
			Swait()
2675
			TRAIL.Transparency = TRAIL.Transparency + 0.1
2676
		end
2677
		TRAIL:remove()
2678
	end))
2679
end
2680
2681
local asd = Instance.new("ParticleEmitter")
2682
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
2683
asd.LightEmission = .1
2684
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
2685
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
2686
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
2687
asd.Transparency = bbb
2688
asd.Size = aaa
2689
asd.ZOffset = .9
2690
asd.Acceleration = Vector3.new(0, -15, 0)
2691
asd.LockedToPart = false
2692
asd.EmissionDirection = "Back"
2693
asd.Lifetime = NumberRange.new(1, 2)
2694
asd.Rotation = NumberRange.new(-100, 100)
2695
asd.RotSpeed = NumberRange.new(-100, 100)
2696
asd.Speed = NumberRange.new(10)
2697
asd.Enabled = false
2698
asd.VelocitySpread = 999
2699
2700
function getbloody(victim,amount)
2701
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really red", "Blood", victim.Size)
2702
	PART.CFrame = victim.CFrame
2703
	local HITPLAYERSOUNDS = {"356551938","264486467"}
2704
	Debris:AddItem(PART,5)
2705
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2706
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2707
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2708
	local prtcl = asd:Clone()
2709
	prtcl.Parent = PART
2710
	prtcl:Emit(amount*10)
2711
end
2712
2713
local Particle = IT("ParticleEmitter",nil)
2714
Particle.Enabled = false
2715
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
2716
Particle.LightEmission = 0.5
2717
Particle.Rate = 150
2718
Particle.ZOffset = 1
2719
Particle.Rotation = NumberRange.new(-180, 180)
2720
Particle.RotSpeed = NumberRange.new(-180, 180)
2721
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
2722
Particle.Color = ColorSequence.new(C3(255, 0, 0),C3(255, 0, 0))
2723
2724
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
2725
function ParticleEmitter(Table)
2726
	local PRTCL = Particle:Clone()
2727
	local Speed = Table.Speed or 5
2728
	local Drag = Table.Drag or 0
2729
	local Size1 = Table.Size1 or 1
2730
	local Size2 = Table.Size2 or 5
2731
	local Lifetime1 = Table.Lifetime1 or 1
2732
	local Lifetime2 = Table.Lifetime2 or 1.5
2733
	local Parent = Table.Parent or Torso
2734
	local Emit = Table.Emit or 100
2735
	local Offset = Table.Offset or 360
2736
	local Acel = Table.Acel or VT(0,0,0)
2737
	local Enabled = Table.Enabled or false
2738
	PRTCL.Parent = Parent
2739
	PRTCL.Size = NumberSequence.new(Size1,Size2)
2740
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2741
	PRTCL.Speed = NumberRange.new(Speed)
2742
	PRTCL.VelocitySpread = Offset
2743
	PRTCL.Drag = Drag
2744
	PRTCL.Acceleration = Acel
2745
	if Enabled == false then
2746
		PRTCL:Emit(Emit)
2747
		Debris:AddItem(PRTCL,Lifetime2)
2748
	else
2749
		PRTCL.Enabled = true
2750
	end
2751
	return PRTCL
2752
end
2753
2754
--//=================================\\
2755
--||	     WEAPON CREATION
2756
--\\=================================//
2757
2758
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
2759
PRT.Color = C3(0,0,0)
2760
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
2761
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
2762
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
2763
PRT.Color = C3(0,0,0)
2764
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
2765
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
2766
for i = 1, 16 do
2767
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
2768
	FACE.Color = C3(0,0,0)
2769
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2770
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
2771
end
2772
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2773
MakeForm(Eye,"Ball")
2774
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2775
local LASTPART = Head
2776
for i = 1, 20 do
2777
	local MATH = (1-(i/25))
2778
	if LASTPART == Head then
2779
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2780
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
2781
		LASTPART = Horn
2782
		Horn.Color = C3((i*3-3)/255,0,0)
2783
	else
2784
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2785
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
2786
		LASTPART = Horn
2787
		Horn.Color = C3((i*3-3)/255,0,0)
2788
	end
2789
local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2790
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2791
end
2792
2793
local Handle = CreatePart(3, Character, "Metal", 0, 0, "", "Part", VT(0.2,1.2,0.2),false)
2794
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
2795
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.8,0.2),false)
2796
MakeForm(Part,"Wedge")
2797
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2798
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.6),false)
2799
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2800
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
2801
MakeForm(Part,"Cyl")
2802
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2803
for i = 1, 8 do
2804
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2805
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2806
end
2807
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.5,0.2),false)
2808
MakeForm(Part,"Wedge")
2809
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2810
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
2811
MakeForm(Part,"Cyl")
2812
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2813
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
2814
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2815
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
2816
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2817
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
2818
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
2819
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
2820
MakeForm(RightBarrel,"Cyl")
2821
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
2822
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
2823
MakeForm(Part,"Wedge")
2824
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2825
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
2826
MakeForm(RightHole,"Cyl")
2827
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
2828
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,1.2,0.2),false)
2829
local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
2830
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0.8,0.2),false)
2831
MakeForm(Part,"Wedge")
2832
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2833
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.6),false)
2834
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2835
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.4,0.4,0.4),false)
2836
MakeForm(Part,"Cyl")
2837
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2838
for i = 1, 8 do
2839
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0,0.35,0.41),false)
2840
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2841
end
2842
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
2843
MakeForm(Part,"Wedge")
2844
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2845
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.39,0.41,0.39),false)
2846
MakeForm(Part,"Cyl")
2847
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2848
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.5,0.5),false)
2849
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2850
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.4,0.5),false)
2851
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2852
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.2,0,0.6),false)
2853
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
2854
local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0.28,5,0.28),false)
2855
MakeForm(LeftBarrel,"Cyl")
2856
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
2857
local Part = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Part", VT(0,0.2,0.2),false)
2858
MakeForm(Part,"Wedge")
2859
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2860
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really red", "Eye", VT(0.2,0,0.2),false)
2861
MakeForm(LeftHole,"Cyl")
2862
CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
2863
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2864
MakeForm(Eye,"Ball")
2865
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
2866
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
2867
MakeForm(Eye,"Ball")
2868
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
2869
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2870
MakeForm(Eye,"Ball")
2871
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2872
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
2873
MakeForm(Eye,"Ball")
2874
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
2875
local A = IT("Attachment",Torso)
2876
A.Position = VT(1,1.3,0)
2877
A.Orientation = VT(-0.098, -89.999, 0.227)
2878
local B = IT("Attachment",Torso)
2879
B.Position = VT(-1.3,-0.6,0)
2880
B.Orientation = VT(-88.911, -68.808, 158.782)
2881
local ChainLink = IT("Beam",Torso)
2882
ChainLink.Texture = "rbxassetid://343533707"
2883
ChainLink.Color = ColorSequence.new(C3(1,0,0))
2884
ChainLink.TextureSpeed = 1
2885
ChainLink.FaceCamera = true
2886
ChainLink.Width0 = 1
2887
ChainLink.Width1 = 1
2888
ChainLink.TextureLength = 3
2889
ChainLink.Attachment0 = A
2890
ChainLink.Attachment1 = B
2891
ChainLink.CurveSize0 = 1.6
2892
ChainLink.CurveSize1 = 1.6
2893
ChainLink.FaceCamera = true
2894
ChainLink.Transparency = NumberSequence.new(0)
2895
local ChainLink = IT("Beam",Torso)
2896
ChainLink.Texture = "rbxassetid://343533707"
2897
ChainLink.Color = ColorSequence.new(C3(1,0,0))
2898
ChainLink.TextureSpeed = 1
2899
ChainLink.FaceCamera = true
2900
ChainLink.Width0 = 1
2901
ChainLink.Width1 = 1
2902
ChainLink.TextureLength = 3
2903
ChainLink.Attachment0 = B
2904
ChainLink.Attachment1 = A
2905
ChainLink.CurveSize0 = 1.6
2906
ChainLink.CurveSize1 = 1.6
2907
ChainLink.FaceCamera = true
2908
ChainLink.Transparency = NumberSequence.new(0)
2909
local A = IT("Attachment",Torso)
2910
A.Position = VT(1.3,-0.85,0)
2911
A.Orientation = VT(-0.098, -89.999, 0.227)
2912
local B = IT("Attachment",Torso)
2913
B.Position = VT(-1,2,0)
2914
B.Orientation = VT(-88.911, -68.808, 158.782)
2915
local ChainLink = IT("Beam",Torso)
2916
ChainLink.Texture = "rbxassetid://343533707"
2917
ChainLink.Color = ColorSequence.new(C3(1,0,0))
2918
ChainLink.TextureSpeed = 1
2919
ChainLink.FaceCamera = true
2920
ChainLink.Width0 = 1
2921
ChainLink.Width1 = 1
2922
ChainLink.TextureLength = 3
2923
ChainLink.Attachment0 = A
2924
ChainLink.Attachment1 = B
2925
ChainLink.CurveSize0 = 1.3
2926
ChainLink.CurveSize1 = 1.3
2927
ChainLink.FaceCamera = true
2928
ChainLink.Transparency = NumberSequence.new(0)
2929
local ChainLink = IT("Beam",Torso)
2930
ChainLink.Texture = "rbxassetid://343533707"
2931
ChainLink.Color = ColorSequence.new(C3(1,0,0))
2932
ChainLink.TextureSpeed = 1
2933
ChainLink.FaceCamera = true
2934
ChainLink.Width0 = 1
2935
ChainLink.Width1 = 1
2936
ChainLink.TextureLength = 3
2937
ChainLink.Attachment0 = B
2938
ChainLink.Attachment1 = A
2939
ChainLink.CurveSize0 = 1.3
2940
ChainLink.CurveSize1 = 1.3
2941
ChainLink.FaceCamera = true
2942
ChainLink.Transparency = NumberSequence.new(0)
2943
2944
local A = IT("Attachment",RightBarrel)
2945
A.Position = VT(0,-2.5,0)
2946
local B = IT("Attachment",RightBarrel)
2947
B.Position = VT(0,2.5,0)
2948
local Trail = IT("Trail",RightBarrel)
2949
Trail.Attachment0 = A
2950
Trail.Attachment1 = B
2951
Trail.Lifetime = 0.2
2952
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
2953
Trail.Transparency = NumberSequence.new(0, 1)
2954
Trail.Enabled = false
2955
2956
local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
2957
DUST.ZOffset = 1
2958
RightArm.Transparency = 1
2959
local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1,2,1),false)
2960
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2961
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(1.4,1.4,1.4),false)
2962
MakeForm(Sphere,"Ball")
2963
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2964
local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
2965
MakeForm(LaserPart,"Ball")
2966
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2967
local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,0.3,0.2),false)
2968
MakeForm(Bump,"Ball")
2969
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2970
local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
2971
MakeForm(BottomLaser,"Cyl")
2972
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2973
local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
2974
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2975
local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
2976
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
2977
local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
2978
CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
2979
local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
2980
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
2981
local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
2982
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
2983
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
2984
CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
2985
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
2986
CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
2987
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
2988
MakeForm(Part,"Cyl")
2989
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2990
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
2991
MakeForm(Part,"Cyl")
2992
CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
2993
local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Part", VT(0.3,1.6,0.7),false)
2994
MakeForm(Sphere,"Ball")
2995
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2996
2997
for _, c in pairs(Weapon:GetChildren()) do
2998
	if c.ClassName == "Part" then
2999
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
3000
	end
3001
end
3002
3003
local SKILLTEXTCOLOR = C3(1,0,0)
3004
local SKILLFONT = "SciFi"
3005
local SKILLTEXTSIZE = 5
3006
3007
Weapon.Parent = Character
3008
3009
Humanoid.Died:connect(function()
3010
	ATTACK = true
3011
end)
3012
3013
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")
3014
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")
3015
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")
3016
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")
3017
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")
3018
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")
3019
3020
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
3021
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
3022
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
3023
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
3024
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
3025
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
3026
3027
--//=================================\\
3028
--||	ATTACK FUNCTIONS AND STUFF
3029
--\\=================================//
3030
3031
function swait(NUMBER)
3032
    if NUMBER == 0 or NUMBER == nil then
3033
        ArtificialHB.Event:wait()
3034
    else
3035
        for i = 1, NUMBER do
3036
            ArtificialHB.Event:wait()
3037
        end
3038
    end
3039
end
3040
 
3041
function chatfunc(text)
3042
    local chat = coroutine.wrap(function()
3043
    if Character:FindFirstChild("TalkingBillBoard")~= nil then
3044
        Character:FindFirstChild("TalkingBillBoard"):destroy()
3045
    end
3046
    local Bill = Instance.new("BillboardGui",Character)
3047
    Bill.Size = UDim2.new(0,100,0,40)
3048
    Bill.StudsOffset = Vector3.new(0,3,0)
3049
    Bill.Adornee = Character.Head
3050
    Bill.Name = "TalkingBillBoard"
3051
    local Hehe = Instance.new("TextLabel",Bill)
3052
    Hehe.BackgroundTransparency = 1
3053
    Hehe.BorderSizePixel = 0
3054
    Hehe.Text = ""
3055
    Hehe.Font = "Garamond"
3056
    Hehe.TextSize = 40
3057
    Hehe.TextStrokeTransparency = 0
3058
    Hehe.Size = UDim2.new(1,0,0.5,0)
3059
    coroutine.resume(coroutine.create(function()
3060
        while Hehe ~= nil do
3061
            swait()
3062
            Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
3063
            Hehe.Rotation = math.random(-5,5)
3064
            Hehe.TextColor3 = Color3.new(255, 0, 0)
3065
            Hehe.TextStrokeColor3 = Color3.new(0,0,0)
3066
        end
3067
    end))
3068
    for i = 1,string.len(text),1 do
3069
        swait()
3070
        Hehe.Text = string.sub(text,1,i)
3071
    end
3072
    swait(90)--Re[math.random(1, 93)]
3073
    for i = 0, 1, .025 do
3074
        swait()
3075
        Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
3076
        Hehe.TextStrokeTransparency = i
3077
        Hehe.TextTransparency = i
3078
    end
3079
    Bill:Destroy()
3080
    end)
3081
chat()
3082
end
3083
 
3084
function onChatted(msg)
3085
    chatfunc(msg)
3086
end
3087
 
3088
Player.Chatted:connect(onChatted)
3089
 
3090
chatfunc("im surprised you last this long")
3091
wait(4)
3092
chatfunc("im the one who will...")
3093
wait(4)
3094
chatfunc("KILL YOU")
3095
wait(5)
3096
chatfunc("edit by voyqgo")
3097
function Warp()
3098
    local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
3099
    if HITFLOOR then
3100
        CharacterFade(C3(0.5,0,0),50)
3101
        HITPOS = HITPOS + VT(0,3.5,0)
3102
        local POS = RootPart.Position
3103
        RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
3104
        CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
3105
    end
3106
end
3107
3108
function Unload()
3109
	ATTACK = true
3110
	Rooted = false
3111
	repeat
3112
		local GYRO = IT("BodyGyro",RootPart)
3113
		GYRO.D = 175
3114
		GYRO.P = 20000
3115
		GYRO.MaxTorque = VT(0,40000,0)
3116
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3117
		if COMBO == 1 then
3118
			COMBO = 2
3119
			for i=0, 0.6, 0.1 / Animation_Speed do
3120
				Swait()
3121
				GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3122
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3123
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3124
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3125
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3126
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3127
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3128
			end
3129
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3130
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3131
			CreateSound(145080998, LeftHole, 7, 1, false)
3132
			BulletDetection(LeftHole.Position,Mouse.Hit.p,false)
3133
			for i=0, 0.2, 0.1 / Animation_Speed do
3134
				Swait()
3135
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3136
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3137
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3138
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3139
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3140
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3141
			end
3142
		elseif COMBO == 2 then
3143
			COMBO = 1
3144
			for i=0, 0.6, 0.1 / Animation_Speed do
3145
				Swait()
3146
				GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3147
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3148
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3149
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3150
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3151
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3152
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3153
			end
3154
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3155
			WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3156
			CreateSound(145080998, RightHole, 7, 1, false)
3157
			BulletDetection(RightHole.Position,Mouse.Hit.p,false)
3158
			for i=0, 0.2, 0.1 / Animation_Speed do
3159
				Swait()
3160
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3161
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
3162
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3163
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3164
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3165
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3166
			end
3167
		end
3168
		GYRO:remove()
3169
	until KEYHOLD == false
3170
chatfunc("lets how you will die...")
3171
    ATTACK = false
3172
	Rooted = false
3173
end
3174
function Dash()
3175
	ATTACK = true
3176
	Rooted = false
3177
	local TARGET = nil
3178
	local TORS = nil
3179
	local GYRO = IT("BodyGyro",RootPart)
3180
	GYRO.D = 175
3181
	GYRO.P = 20000
3182
	GYRO.MaxTorque = VT(0,40000,0)
3183
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3184
	local RANGE = 5
3185
	CreateSound(541909867, Torso, 7, 1, false)
3186
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3187
	for i=0, 1, 0.1 / Animation_Speed do
3188
		Swait()
3189
		RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
3190
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3191
		local CHILDREN = workspace:GetDescendants()
3192
		for index, CHILD in pairs(CHILDREN) do
3193
			if CHILD.ClassName == "Model" and CHILD ~= Character then
3194
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3195
				if HUM then
3196
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3197
					if TORSO then
3198
						if (TORSO.Position - LeftHole.Position).Magnitude <= RANGE + TORSO.Size.Magnitude/5 then
3199
							RANGE = (TORSO.Position - LeftHole.Position).Magnitude
3200
							TARGET = HUM
3201
							TORS = TORSO
3202
						end
3203
					end
3204
				end
3205
			end
3206
		end
3207
		if TARGET then
3208
			break
3209
		end
3210
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
3211
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(80)), 1 / Animation_Speed)
3212
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3213
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3214
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3215
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3216
	end
3217
	GYRO:remove()
3218
	if TORS and TARGET then
3219
		Rooted = true
3220
		local BODYPOSITION = IT("BodyPosition", TORS)
3221
		BODYPOSITION.P = 2000
3222
		BODYPOSITION.D = 100
3223
		BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
3224
		for i=0, 1, 0.1 / Animation_Speed do
3225
			Swait()
3226
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3227
			BODYPOSITION.Position = TORS.Position
3228
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3229
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3230
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3231
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3232
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3233
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3234
		end
3235
		for i=0, 0.4, 0.1 / Animation_Speed do
3236
			Swait()
3237
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3238
			BODYPOSITION.Position = TORS.Position
3239
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3240
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3241
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3242
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3243
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3244
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3245
		end	
3246
		local LOOP = 0
3247
		local LOOP2 = 0
3248
		for i=0, 5, 0.1 / Animation_Speed do
3249
			Swait()
3250
			LOOP = LOOP + 1
3251
			TORS.Anchored = true
3252
			LOOP2 = LOOP2 + 1
3253
			if LOOP2 >= 5 then
3254
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3255
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3256
				CreateSound(145080998, RightHole, 7, 1, false)
3257
				SpawnTrail(RightHole.Position,RightHole.CFrame*CF(0,500,0).p)
3258
				LOOP2 = 0
3259
				getbloody(TORS,1)
3260
			end
3261
			TORS.CFrame = LeftHole.CFrame * CF(0,TORS.Size.Z/2,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3262
			BODYPOSITION.Position = TORS.Position
3263
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3264
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3265
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(145 + 2 * SIN(LOOP / 12)), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3266
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3267
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3268
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3269
		end	
3270
		BODYPOSITION:remove()
3271
		if TORS then
3272
			TORS.Anchored = false
3273
			Kill(TORS.Parent)
3274
		end
3275
	end
3276
	ATTACK = false
3277
  chatfunc("EAT THIS")
3278
	Rooted = false
3279
end
3280
function Deathbound()
3281
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
3282
	ATTACK = true
3283
	Rooted = true
3284
	for i=0, 1, 0.1 / Animation_Speed do
3285
		Swait()
3286
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3287
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3288
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3289
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3290
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3291
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3292
	end
3293
	local DONE = false
3294
	local GATE = nil
3295
	local GATESPIN = true
3296
	coroutine.resume(coroutine.create(function()
3297
		repeat
3298
			Swait()
3299
			if GATE ~= nil then
3300
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
3301
			end
3302
		until GATESPIN == false
3303
	end))
3304
	coroutine.resume(coroutine.create(function()
3305
		repeat
3306
			Swait()
3307
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3308
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3309
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3310
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3311
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3312
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3313
		until DONE == true
3314
		Swait(50)
3315
		for i = 1, 35 do
3316
			Swait(4)
3317
			local FIRED = false
3318
			local CHILDREN = workspace:GetDescendants()
3319
			for index, CHILD in pairs(CHILDREN) do
3320
				if CHILD.ClassName == "Model" and CHILD ~= Character then
3321
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
3322
					if HUM then
3323
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
3324
						if TORSO then
3325
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
3326
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
3327
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
3328
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
3329
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3330
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
3331
								Kill(CHILD)
3332
								FIRED = true
3333
								break
3334
							end
3335
						end
3336
					end
3337
				end
3338
			end
3339
			if FIRED == false then
3340
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
3341
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
3342
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3343
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
3344
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
3345
				if HITBOD ~= nil then
3346
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
3347
						Kill(HITBOD.Parent)
3348
					end
3349
				end
3350
			end
3351
		end
3352
		for i = 1, 45 do
3353
			Swait()
3354
			GATE.Size = GATE.Size - VT(3,0,3)
3355
		end
3356
		GATESPIN = false
3357
		GATE:remove()
3358
	end))
3359
	Swait(15)
3360
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
3361
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
3362
	local DECAL = IT("Decal",GATE)
3363
	DECAL.Texture = "http://www.roblox.com/asset/?id=26356434"
3364
	DECAL.Face = "Top"
3365
	GATE.CFrame = CF(HITPOS)
3366
	CreateSound(160772554, GATE, 7, 1.3, false)
3367
	for i = 1, 45 do
3368
		Swait()
3369
		GATE.Size = GATE.Size + VT(3,0,3)
3370
	end
3371
	CreateSound(145080998, RightHole, 7, 1, false)
3372
	CreateSound(145080998, LeftHole, 7, 1, false)
3373
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3374
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3375
	ATTACK = false
3376
   chatfunc("lets see how you like Death")
3377
	Rooted = false
3378
	DONE = true
3379
end
3380
function Morning_Star()
3381
	ATTACK = true
3382
	Rooted = true
3383
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
3384
	for i=0, 1, 0.1 / Animation_Speed do
3385
		Swait()
3386
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3387
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3388
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3389
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3390
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3391
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3392
	end	
3393
	coroutine.resume(coroutine.create(function()
3394
		local POS = Mouse.Hit.p
3395
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
3396
		MakeForm(RAY,"Cyl")
3397
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
3398
		MakeForm(SPHERE,"Ball")
3399
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
3400
		MakeForm(SHIELD,"Ball")
3401
		SHIELD.CFrame = CF(POS)
3402
		RAY.CFrame = CF(POS)
3403
		SPHERE.CFrame = CF(POS)
3404
		CreateSound(440145570, SPHERE, 10, 0.8, false)
3405
		CreateSound(415700134, SPHERE, 10, 0.8, false)
3406
		for i = 1, 200 do
3407
			Swait()
3408
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3409
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
3410
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
3411
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
3412
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
3413
		end	
3414
		for i = 1, 45 do
3415
			Swait()
3416
			RAY.Transparency = RAY.Transparency + 1/45
3417
			SPHERE.Transparency = RAY.Transparency 
3418
			SHIELD.Transparency = SPHERE.Transparency + 1/45
3419
		end
3420
		RAY:remove()
3421
		SHIELD:remove()
3422
		SPHERE:remove()
3423
	end))
3424
	for i=0, 1, 0.1 / Animation_Speed do
3425
		Swait()
3426
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
3427
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3428
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3429
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3430
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3431
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3432
	end
3433
	ATTACK = false
3434
 chatfunc("HAAHAHAHAHAHA GO TO TO HELL")
3435
	Rooted = false
3436
end
3437
function Taunt()
3438
    ATTACK = true
3439
    Rooted = false
3440
    TAUNT = true
3441
    for i=0, 0.1, 0.1 / Animation_Speed do
3442
        Swait()
3443
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3444
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3445
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3446
    end
3447
    for i=0, 3, 0.1 / Animation_Speed do
3448
        Swait()
3449
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3450
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3451
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3452
    end
3453
    CreateSound(363808674, Torso, 10, 1.3)
3454
    for i=0, 1, 0.1 / Animation_Speed do
3455
        Swait()
3456
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
3457
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
3458
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
3459
    end
3460
    WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3461
    CreateSound(649634100, Torso, 10, 0.8)
3462
    for i=0, 0.01, 0.1 / Animation_Speed do
3463
        Swait()
3464
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
3465
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
3466
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
3467
    end
3468
    ATTACK = false
3469
  chatfunc("my Neck Snap this makes me more get more power...")
3470
    Rooted = false
3471
    TAUNT = false
3472
end
3473
function Smite()
3474
    ATTACK = true
3475
    Rooted = false
3476
    CreateSound(1368573150, RightArm, 3, 1.5)
3477
    for i=0, 0.6, 0.1 / Animation_Speed do
3478
        Swait()
3479
        WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3480
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3481
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
3482
    end
3483
    local POWER = 0
3484
    repeat
3485
        Swait()
3486
        WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3487
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3488
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
3489
        POWER = POWER + 0.5
3490
        if POWER >= 85 then
3491
            POWER = 85
3492
        end
3493
    until KEYHOLD == false
3494
    if POWER < 0.6 then
3495
        SpawnSmite(Mouse.Hit.p)
3496
    else
3497
        if POWER < 15 then
3498
            POWER = 15
3499
        end
3500
        SpawnMeteor(Mouse.Hit.p,POWER/15)
3501
    end
3502
    ATTACK = false
3503
  chatfunc("GET Smite")
3504
    Rooted = false
3505
end
3506
 
3507
function Meteor_Shower()
3508
    ATTACK = true
3509
    Rooted = false
3510
    CreateSound(1368573150, RightArm, 3, 0.8)
3511
    CreateSound(649634100, Torso, 10, 0.8)
3512
    for i=0, 1.2, 0.1 / Animation_Speed do
3513
        Swait()
3514
        WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3515
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3516
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
3517
    end
3518
    local POS = Mouse.Hit.p
3519
    CreateSound(463593339, Effects, 3, 1)
3520
    coroutine.resume(coroutine.create(function()
3521
        for i = 1, 35 do
3522
            wait(MRANDOM(5,150)/100)
3523
            SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
3524
        end
3525
    end))
3526
    ATTACK = false
3527
    Rooted = false
3528
end
3529
function Extreme_Offset()
3530
	local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
3531
	if HITFLOOR then
3532
		local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
3533
		CreateSound("1295446488", Torso, 5, 1)
3534
		for i = 1, 5 do
3535
			WACKYEFFECT({
3536
				Time = MRANDOM(15, 35),
3537
				EffectType = "Round Slash",
3538
				Size = VT(0, 0, 0),
3539
				Size2 = VT(0.3, 0, 0.3),
3540
				Transparency = 0.5,
3541
				Transparency2 = 1,
3542
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
3543
				MoveToPos = nil,
3544
				RotationX = MRANDOM(-50, 50) / 10,
3545
				RotationY = MRANDOM(-50, 50) / 10,
3546
				RotationZ = MRANDOM(-50, 50) / 10,
3547
				Material = "Neon",
3548
				Color = C3(1, 1, 1),
3549
				SoundID = nil,
3550
				SoundPitch = nil,
3551
				SoundVolume = nil
3552
			})
3553
		end
3554
		ATTACK = true
3555
		Rooted = true
3556
		UNANCHOR = false
3557
		RootPart.Anchored = true
3558
		RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
3559
		for i = 1, 5 do
3560
			WACKYEFFECT({
3561
				Time = MRANDOM(15, 35),
3562
				EffectType = "Round Slash",
3563
				Size = VT(0, 0, 0),
3564
				Size2 = VT(0.3, 0, 0.3),
3565
				Transparency = 0.5,
3566
				Transparency2 = 1,
3567
				CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
3568
				MoveToPos = nil,
3569
				RotationX = MRANDOM(-50, 50) / 10,
3570
				RotationY = MRANDOM(-50, 50) / 10,
3571
				RotationZ = MRANDOM(-50, 50) / 10,
3572
				Material = "Neon",
3573
				Color = C3(1, 1, 1),
3574
				SoundID = nil,
3575
				SoundPitch = nil,
3576
				SoundVolume = nil
3577
			})
3578
		end
3579
		for i = 0, 0.2, 0.1 / Animation_Speed do
3580
			Swait()
3581
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
3582
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3583
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3584
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3585
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3586
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
3587
		end
3588
		for i = 0, 1, 0.1 / Animation_Speed do
3589
			Swait()
3590
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
3591
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
3592
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
3593
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
3594
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
3595
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
3596
		end
3597
		for i = 1, 10 do
3598
			Swait()
3599
			RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
3600
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
3601
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
3602
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
3603
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
3604
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
3605
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
3606
		end
3607
		for i = 0, 0.2, 0.1 / Animation_Speed do
3608
			Swait()
3609
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
3610
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
3611
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
3612
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
3613
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
3614
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
3615
		end
3616
		local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
3617
		if HITFLOOR then
3618
			if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
3619
				local CHILDREN = HITFLOOR.Parent:GetDescendants()
3620
				for index, CHILD in pairs(CHILDREN) do
3621
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
3622
						for i = 1, 5 do
3623
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
3624
							CHILD:remove()
3625
						end
3626
					end
3627
				end
3628
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
3629
				SOUNDPART.CFrame = CF(HITPOS)
3630
				Debris:AddItem(SOUNDPART, 5)
3631
				CreateSound("130972023", SOUNDPART, 6, 3)
3632
				CreateSound("182765513", SOUNDPART, 6, 1)
3633
				WACKYEFFECT({
3634
					EffectType = "Ring",
3635
					Size = VT(0, 0, 0),
3636
					Size2 = VT(1, 1, 0),
3637
					Transparency = 0.7,
3638
					Transparency2 = 1,
3639
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
3640
					MoveToPos = nil,
3641
					RotationX = 0,
3642
					RotationY = 0,
3643
					RotationZ = 0,
3644
					Material = "Neon",
3645
					Color = C3(1, 1, 1),
3646
					SoundID = nil,
3647
					SoundPitch = nil,
3648
					SoundVolume = nil
3649
				})
3650
			elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
3651
				local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
3652
				for index, CHILD in pairs(CHILDREN) do
3653
					if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
3654
						for i = 1, 5 do
3655
							CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
3656
							CHILD:remove()
3657
						end
3658
					end
3659
				end
3660
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
3661
				SOUNDPART.CFrame = CF(HITPOS)
3662
				Debris:AddItem(SOUNDPART, 5)
3663
				CreateSound("130972023", SOUNDPART, 6, 3)
3664
				CreateSound("182765513", SOUNDPART, 6, 1)
3665
				WACKYEFFECT({
3666
					EffectType = "Ring",
3667
					Size = VT(0, 0, 0),
3668
					Size2 = VT(1, 1, 0),
3669
					Transparency = 0.7,
3670
					Transparency2 = 1,
3671
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
3672
					MoveToPos = nil,
3673
					RotationX = 0,
3674
					RotationY = 0,
3675
					RotationZ = 0,
3676
					Material = "Neon",
3677
					Color = C3(1, 1, 1),
3678
					SoundID = nil,
3679
					SoundPitch = nil,
3680
					SoundVolume = nil
3681
				})
3682
			elseif HITFLOOR.Anchored == false then
3683
				if HITFLOOR.Parent ~= workspace then
3684
					local CHILDREN = HITFLOOR.Parent:GetDescendants()
3685
					for index, CHILD in pairs(CHILDREN) do
3686
						if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
3687
							for i = 1, 5 do
3688
								CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
3689
							end
3690
							CHILD:remove()
3691
						end
3692
					end
3693
				else
3694
					for i = 1, 5 do
3695
						CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
3696
					end
3697
					HITFLOOR:remove()
3698
				end
3699
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
3700
				SOUNDPART.CFrame = CF(HITPOS)
3701
				Debris:AddItem(SOUNDPART, 5)
3702
				CreateSound("130972023", SOUNDPART, 10, 3)
3703
				CreateSound("178452217", SOUNDPART, 6, 1)
3704
				WACKYEFFECT({
3705
					EffectType = "Ring",
3706
					Size = VT(0, 0, 0),
3707
					Size2 = VT(1, 1, 0),
3708
					Transparency = 0.7,
3709
					Transparency2 = 1,
3710
					CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
3711
					MoveToPos = nil,
3712
					RotationX = 0,
3713
					RotationY = 0,
3714
					RotationZ = 0,
3715
					Material = "Neon",
3716
					Color = C3(1, 1, 1),
3717
					SoundID = nil,
3718
					SoundPitch = nil,
3719
					SoundVolume = nil
3720
				})
3721
			else
3722
				local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
3723
				SOUNDPART.CFrame = CF(HITPOS)
3724
				Debris:AddItem(SOUNDPART, 5)
3725
				CreateSound("130972023", SOUNDPART, 10, 1)
3726
				CreateSound("130972023", SOUNDPART, 6, 0.7)
3727
				CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
3728
				CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
3729
				ApplyAoE(HITPOS, 15, 45, 75, 75, false)
3730
				ApplyAoE(HITPOS, 25, 25, 35, 35, false)
3731
				for i = 1, 5 do
3732
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
3733
				end
3734
				for i = 1, 5 do
3735
					CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
3736
				end
3737
			end
3738
		end
3739
		for i = 0, 1.2, 0.1 / Animation_Speed do
3740
			Swait()
3741
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
3742
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
3743
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
3744
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
3745
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
3746
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
3747
		end
3748
		ATTACK = false
3749
    chatfunc("hmph your power can t be good")
3750
		Rooted = false
3751
		UNANCHOR = true
3752
		RootPart.Anchored = false
3753
	end
3754
end
3755
 function TakeOnMe()
3756
    Speed = 5
3757
    local MEME = CreateSound(288703954, Effects, 2, 1, false)
3758
    ATTACK = true
3759
    Rooted = false
3760
    local DANCE = true
3761
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
3762
        if NEWKEY == "p" then
3763
            DANCE = false
3764
        end
3765
    end)
3766
    PLAYSONG = false
3767
    while true do
3768
        for i = 1, 15 do
3769
            Swait()
3770
            MEME.Parent = Effects
3771
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3772
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3773
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3774
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3775
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3776
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3777
        end
3778
        if DANCE == false then
3779
            break
3780
        end
3781
        for i = 1, 15 do
3782
            Swait()
3783
            MEME.Parent = Effects
3784
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3785
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3786
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3787
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3788
            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)
3789
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3790
        end
3791
    end
3792
    PLAYSONG = true
3793
    KEY:Disconnect()
3794
    MEME:remove()
3795
    Speed = 25
3796
    ATTACK = false
3797
chatfunc("why not i like to Dacne..")
3798
    Rooted = false
3799
end 
3800
--//=================================\\
3801
--||	  ASSIGN THINGS TO KEYS
3802
--\\=================================//
3803
3804
function MouseDown(Mouse)
3805
    if ATTACK == false then
3806
    end
3807
end
3808
 
3809
function MouseUp(Mouse)
3810
HOLD = false
3811
end
3812
 
3813
function KeyDown(Key)
3814
    KEYHOLD = true
3815
    if Key == "z" and ATTACK == false then
3816
        Unload()
3817
    end
3818
 
3819
    if Key == "b" and ATTACK == false then
3820
        Dash()
3821
    end
3822
 
3823
    if Key == "c" and ATTACK == false then
3824
        Smite()
3825
    end
3826
 
3827
    if Key == "v" and ATTACK == false then
3828
        Deathbound()
3829
    end
3830
 
3831
    if Key == "e" and ATTACK == false then
3832
        Extreme_Offset()
3833
    end
3834
 
3835
    if Key == "x" and ATTACK == false then
3836
        Morning_Star()
3837
    end
3838
 
3839
    if Key == "t" and ATTACK == false then
3840
        Taunt()
3841
    end
3842
end
3843
 
3844
function KeyUp(Key)
3845
    KEYHOLD = false
3846
end
3847
3848
	Mouse.Button1Down:connect(function(NEWKEY)
3849
		MouseDown(NEWKEY)
3850
	end)
3851
	Mouse.Button1Up:connect(function(NEWKEY)
3852
		MouseUp(NEWKEY)
3853
	end)
3854
	Mouse.KeyDown:connect(function(NEWKEY)
3855
		KeyDown(NEWKEY)
3856
	end)
3857
	Mouse.KeyUp:connect(function(NEWKEY)
3858
		KeyUp(NEWKEY)
3859
	end)
3860
3861
--//=================================\\
3862
--\\=================================//
3863
3864
function AntiTimeStop()
3865
	for _, c in pairs(Character:GetChildren()) do
3866
		if c:IsA("BasePart") then
3867
			c.Anchored = false
3868
		end
3869
	end
3870
	for _, c in pairs(Weapon:GetChildren()) do
3871
		if c:IsA("BasePart") then
3872
			c.Anchored = false
3873
		end
3874
	end
3875
end
3876
3877
--//=================================\\
3878
--||	WRAP THE WHOLE SCRIPT UP
3879
--\\=================================//
3880
3881
Humanoid.Changed:connect(function(Jump)
3882
	if Jump == "Jump" and (Disable_Jump == true) then
3883
		Humanoid.Jump = false
3884
	end
3885
end)
3886
3887
local sick = IT("Sound")
3888
3889
while true do
3890
	Swait()
3891
	script.Parent = WEAPONGUI
3892
	ANIMATE.Parent = nil
3893
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
3894
	    v:Stop();
3895
	end
3896
	SINE = SINE + CHANGE
3897
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
3898
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
3899
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3900
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
3901
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
3902
		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)
3903
		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)
3904
		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)
3905
		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)
3906
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
3907
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3908
		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)
3909
		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)
3910
		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)
3911
	end
3912
	if HITFLOOR == nil then
3913
		ANIM = "Midair"
3914
		if ATTACK == false then
3915
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3916
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
3917
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3918
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3919
			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)
3920
			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)
3921
		end
3922
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
3923
		ANIM = "Idle"
3924
		if ATTACK == false then
3925
			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)
3926
			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)
3927
			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)
3928
			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)
3929
			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)
3930
			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)
3931
		end
3932
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3933
		ANIM = "Walk"
3934
		if ATTACK == false then
3935
			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)
3936
			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)
3937
			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)
3938
			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)
3939
			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)
3940
			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)
3941
	end
3942
    end
3943
 
3944
    if Head:FindFirstChild("face") then
3945
        Head.face.Texture = "rbxassetid://120463437"
3946
    end
3947
 
3948
   
3949
    Humanoid.MaxHealth = "inf"
3950
    Humanoid.Health = "inf"
3951
    if Rooted == false then
3952
        Disable_Jump = false
3953
        Humanoid.WalkSpeed = Speed
3954
    elseif Rooted == true then
3955
        Disable_Jump = true
3956
        Humanoid.WalkSpeed = 0
3957
    end
3958
    sick.Parent = Torso
3959
    sick:resume()
3960
    sick.Volume = 6.5
3961
    sick.Pitch = 0.40
3962
    sick.SoundId = "rbxassetid://1696854181"
3963
    sick.Name = ""
3964
end
3965
3966
--//=================================\\
3967
--\\=================================//
3968
3969
--//====================================================\\--
3970
--||			  		 END OF SCRIPT
3971
--\\====================================================//--