View difference between Paste ID: 3kHTNXQ3 and bNWqwd3X
SHOW: | | - or go back to the newest paste.
1-
#indexe-moi
1+
--//====================================================\\--
2-
Un programme qui tourne bien, c'est un plaisir, mais un 
2+
--||               CREATED BY SHACKLUSTER
3-
programme qui marche mal ou pas du tout, c'est vraiment 
3+
--\\====================================================//--
4-
une ('grosse') frustration. La solution c'est de le coder par 
4+
script:ClearAllChildren()
5-
petits bouts, en testant progressivement chaque expression 
5+
wait(0.2)
6-
pour avoir la certitude qu'elle retourne bien la valeur 
6+
Player = game:GetService("Players").LocalPlayer
7-
attendue, avant de s'en servir dans une expression plus 
7+
PlayerGui = Player.PlayerGui
8-
large, autrement dit une "instruction" du programme. On 
8+
Cam = workspace.CurrentCamera
9-
teste alors chaque instruction avec le contexte voulu, ce 
9+
Backpack = Player.Backpack
10-
qui, progressivement, garantit le bon fonctionnement 'GLOBAL'.
10+
Character = Player.Character
11
Humanoid = Character.Humanoid
12
Mouse = Player:GetMouse()
13
RootPart = Character["HumanoidRootPart"]
14
Torso = Character["Torso"]
15
Head = Character["Head"]
16
RightArm = Character["Right Arm"]
17
LeftArm = Character["Left Arm"]
18
RightLeg = Character["Right Leg"]
19
LeftLeg = Character["Left Leg"]
20
RootJoint = RootPart["RootJoint"]
21
Neck = Torso["Neck"]
22
RightShoulder = Torso["Right Shoulder"]
23
LeftShoulder = Torso["Left Shoulder"]
24
RightHip = Torso["Right Hip"]
25
LeftHip = Torso["Left Hip"]
26
local TIME = 0
27
 
28
local sick = Instance.new("Sound", Character)
29
sick.SoundId = "rbxassetid://397392864"
30
sick.Looped = true
31
sick.Pitch = 1
32
sick.Volume = 1.5
33
sick:Play()
34
35
IT = Instance.new
36
CF = CFrame.new
37
VT = Vector3.new
38
RAD = math.rad
39
C3 = Color3.new
40
UD2 = UDim2.new
41
BRICKC = BrickColor.new
42
ANGLES = CFrame.Angles
43
EULER = CFrame.fromEulerAnglesXYZ
44
COS = math.cos
45
ACOS = math.acos
46
SIN = math.sin
47
ASIN = math.asin
48
ABS = math.abs
49
MRANDOM = math.random
50
FLOOR = math.floor
51
 
52
--//=================================\\
53
--||          USEFUL VALUES
54
--\\=================================//
55
 
56
Animation_Speed = 1.5
57
local FORCERESET = false
58
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
59
local Speed = 30
60
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
61
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
62
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
63
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
64
local DAMAGEMULTIPLIER = 1
65
local ANIM = "Idle"
66
local ATTACK = false
67
local EQUIPPED = false
68
local HOLD = false
69
local COMBO = 1
70
local Rooted = false
71
local SINE = 0
72
local KEYHOLD = false
73
local CHANGE = 2 / Animation_Speed
74
local WALKINGANIM = false
75
local VALUE1 = false
76
local VALUE2 = false
77
local ROBLOXIDLEANIMATION = IT("Animation")
78
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
79
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
80
--ROBLOXIDLEANIMATION.Parent = Humanoid
81
local WEAPONGUI = IT("ScreenGui", PlayerGui)
82
WEAPONGUI.Name = "BanishV3Gui"
83
local Weapon = IT("Model")
84
Weapon.Name = "Adds"
85
local Effects = IT("Folder", Weapon)
86
Effects.Name = "Effects"
87
local ANIMATOR = Humanoid.Animator
88
local ANIMATE = Character:FindFirstChild("Animate")
89
local UNANCHOR = true
90
local TOBANISH = {}
91
script.Parent = PlayerGui
92
 
93
--//=================================\\
94
--\\=================================//
95
 
96
 
97
--//=================================\\
98
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
99
--\\=================================//
100
 
101
ArtificialHB = Instance.new("BindableEvent", script)
102
ArtificialHB.Name = "ArtificialHB"
103
 
104
script:WaitForChild("ArtificialHB")
105
 
106
frame = Frame_Speed
107
tf = 0
108
allowframeloss = false
109
tossremainder = false
110
lastframe = tick()
111
script.ArtificialHB:Fire()
112
 
113
game:GetService("RunService").Heartbeat:connect(function(s, p)
114
    tf = tf + s
115
    if tf >= frame then
116
        if allowframeloss then
117
            script.ArtificialHB:Fire()
118
            lastframe = tick()
119
        else
120
            for i = 1, math.floor(tf / frame) do
121
                script.ArtificialHB:Fire()
122
            end
123
        lastframe = tick()
124
        end
125
        if tossremainder then
126
            tf = 0
127
        else
128
            tf = tf - frame * math.floor(tf / frame)
129
        end
130
    end
131
end)
132
 
133
--//=================================\\
134
--\\=================================//
135
 
136
--//=================================\\
137
--||          SOME FUNCTIONS
138
--\\=================================//
139
 
140
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
141
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
142
end
143
 
144
function PositiveAngle(NUMBER)
145
    if NUMBER >= 0 then
146
        NUMBER = 0
147
    end
148
    return NUMBER
149
end
150
 
151
function NegativeAngle(NUMBER)
152
    if NUMBER <= 0 then
153
        NUMBER = 0
154
    end
155
    return NUMBER
156
end
157
 
158
function Swait(NUMBER)
159
    if NUMBER == 0 or NUMBER == nil then
160
        ArtificialHB.Event:wait()
161
    else
162
        for i = 1, NUMBER do
163
            ArtificialHB.Event:wait()
164
        end
165
    end
166
end
167
 
168
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
169
    local NEWMESH = IT(MESH)
170
    if MESH == "SpecialMesh" then
171
        NEWMESH.MeshType = MESHTYPE
172
        if MESHID ~= "nil" and MESHID ~= "" then
173
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
174
        end
175
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
176
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
177
        end
178
    end
179
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
180
    NEWMESH.Scale = SCALE
181
    NEWMESH.Parent = PARENT
182
    return NEWMESH
183
end
184
 
185
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
186
    local NEWPART = IT("Part")
187
    NEWPART.formFactor = FORMFACTOR
188
    NEWPART.Reflectance = REFLECTANCE
189
    NEWPART.Transparency = TRANSPARENCY
190
    NEWPART.CanCollide = false
191
    NEWPART.Locked = true
192
    NEWPART.Anchored = true
193
    if ANCHOR == false then
194
        NEWPART.Anchored = false
195
    end
196
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
197
    NEWPART.Name = NAME
198
    NEWPART.Size = SIZE
199
    NEWPART.Position = Torso.Position
200
    NEWPART.Material = MATERIAL
201
    NEWPART:BreakJoints()
202
    NEWPART.Parent = PARENT
203
    return NEWPART
204
end
205
 
206
    local function weldBetween(a, b)
207
        local weldd = Instance.new("ManualWeld")
208
        weldd.Part0 = a
209
        weldd.Part1 = b
210
        weldd.C0 = CFrame.new()
211
        weldd.C1 = b.CFrame:inverse() * a.CFrame
212
        weldd.Parent = a
213
        return weldd
214
    end
215
 
216
 
217
function QuaternionFromCFrame(cf)
218
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
219
    local trace = m00 + m11 + m22
220
    if trace > 0 then
221
        local s = math.sqrt(1 + trace)
222
        local recip = 0.5 / s
223
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
224
    else
225
        local i = 0
226
        if m11 > m00 then
227
            i = 1
228
        end
229
        if m22 > (i == 0 and m00 or m11) then
230
            i = 2
231
        end
232
        if i == 0 then
233
            local s = math.sqrt(m00 - m11 - m22 + 1)
234
            local recip = 0.5 / s
235
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
236
        elseif i == 1 then
237
            local s = math.sqrt(m11 - m22 - m00 + 1)
238
            local recip = 0.5 / s
239
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
240
        elseif i == 2 then
241
            local s = math.sqrt(m22 - m00 - m11 + 1)
242
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
243
        end
244
    end
245
end
246
 
247
function QuaternionToCFrame(px, py, pz, x, y, z, w)
248
    local xs, ys, zs = x + x, y + y, z + z
249
    local wx, wy, wz = w * xs, w * ys, w * zs
250
    local xx = x * xs
251
    local xy = x * ys
252
    local xz = x * zs
253
    local yy = y * ys
254
    local yz = y * zs
255
    local zz = z * zs
256
    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))
257
end
258
 
259
function QuaternionSlerp(a, b, t)
260
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
261
    local startInterp, finishInterp;
262
    if cosTheta >= 0.0001 then
263
        if (1 - cosTheta) > 0.0001 then
264
            local theta = ACOS(cosTheta)
265
            local invSinTheta = 1 / SIN(theta)
266
            startInterp = SIN((1 - t) * theta) * invSinTheta
267
            finishInterp = SIN(t * theta) * invSinTheta
268
        else
269
            startInterp = 1 - t
270
            finishInterp = t
271
        end
272
    else
273
        if (1 + cosTheta) > 0.0001 then
274
            local theta = ACOS(-cosTheta)
275
            local invSinTheta = 1 / SIN(theta)
276
            startInterp = SIN((t - 1) * theta) * invSinTheta
277
            finishInterp = SIN(t * theta) * invSinTheta
278
        else
279
            startInterp = t - 1
280
            finishInterp = t
281
        end
282
    end
283
    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
284
end
285
 
286
function Clerp(a, b, t)
287
    local qa = {QuaternionFromCFrame(a)}
288
    local qb = {QuaternionFromCFrame(b)}
289
    local ax, ay, az = a.x, a.y, a.z
290
    local bx, by, bz = b.x, b.y, b.z
291
    local _t = 1 - t
292
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
293
end
294
 
295
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
296
    local frame = IT("Frame")
297
    frame.BackgroundTransparency = TRANSPARENCY
298
    frame.BorderSizePixel = BORDERSIZEPIXEL
299
    frame.Position = POSITION
300
    frame.Size = SIZE
301
    frame.BackgroundColor3 = COLOR
302
    frame.BorderColor3 = BORDERCOLOR
303
    frame.Name = NAME
304
    frame.Parent = PARENT
305
    return frame
306
end
307
 
308
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
309
    local label = IT("TextLabel")
310
    label.BackgroundTransparency = 1
311
    label.Size = UD2(1, 0, 1, 0)
312
    label.Position = UD2(0, 0, 0, 0)
313
    label.TextColor3 = TEXTCOLOR
314
    label.TextStrokeTransparency = STROKETRANSPARENCY
315
    label.TextTransparency = TRANSPARENCY
316
    label.FontSize = TEXTFONTSIZE
317
    label.Font = TEXTFONT
318
    label.BorderSizePixel = BORDERSIZEPIXEL
319
    label.TextScaled = false
320
    label.Text = TEXT
321
    label.Name = NAME
322
    label.Parent = PARENT
323
    return label
324
end
325
 
326
function NoOutlines(PART)
327
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
328
end
329
 
330
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
331
    local NEWWELD = IT(TYPE)
332
    NEWWELD.Part0 = PART0
333
    NEWWELD.Part1 = PART1
334
    NEWWELD.C0 = C0
335
    NEWWELD.C1 = C1
336
    NEWWELD.Parent = PARENT
337
    return NEWWELD
338
end
339
 
340
local S = IT("Sound")
341
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
342
    local NEWSOUND = nil
343
    coroutine.resume(coroutine.create(function()
344
        NEWSOUND = S:Clone()
345
        NEWSOUND.Parent = PARENT
346
        NEWSOUND.Volume = VOLUME
347
        NEWSOUND.Pitch = PITCH
348
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
349
        NEWSOUND:play()
350
        if DOESLOOP == true then
351
            NEWSOUND.Looped = true
352
        else
353
            repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
354
            NEWSOUND:remove()
355
        end
356
    end))
357
    return NEWSOUND
358
end
359
360
wait(9.7)
361
 
362
Player = game:GetService("Players").LocalPlayer
363
PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
364
Cam = workspace.CurrentCamera
365
Backpack = Player:FindFirstChildOfClass("Backpack")
366
Character = Player.Character
367
Humanoid = Character:FindFirstChildOfClass("Humanoid")
368
Mouse = Player:GetMouse()
369
 
370
function chatfunc(text)
371
local chat = coroutine.wrap(function()
372
if Character:FindFirstChild("TalkingBillBoard")~= nil then
373
Character:FindFirstChild("TalkingBillBoard"):destroy()
374
end
375
local naeeym2 = Instance.new("BillboardGui",Character)
376
naeeym2.Size = UDim2.new(0,100,0,40)
377
naeeym2.StudsOffset = Vector3.new(0,3,0)
378
naeeym2.Adornee = Character.Head
379
naeeym2.Name = "TalkingBillBoard"
380
local tecks3 = Instance.new("TextLabel",naeeym2)
381
tecks3.BackgroundTransparency = 1
382
tecks3.BorderSizePixel = 0
383
tecks3.Text = ""
384
tecks3.Font = "SciFi"
385
tecks3.TextSize = 30
386
tecks3.TextStrokeTransparency = 0
387
tecks3.TextColor3 = Color3.new(3.15,0,0)
388
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
389
tecks3.Size = UDim2.new(1,0,0.5,0)
390
for i = 1,string.len(text),1 do
391
tecks3.Text = string.sub(text,1,i)
392
wait(0.01)
393
end
394
wait(3)
395
for i = 1, 80 do
396
Swait()
397
tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
398
tecks3.Rotation = tecks3.Rotation + .8
399
tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
400
tecks3.TextTransparency = tecks3.TextTransparency + .03
401
end
402
end)
403
chat()
404
end
405
 
406
 
407
function CFrameFromTopBack(at, top, back)
408
    local right = top:Cross(back)
409
    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)
410
end
411
 
412
--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})
413
local cR=255
414
local cG=0
415
local cB=0
416
local flg5=1 local omgidk=1
417
local add=15
418
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
419
    if omgidk>10000 then omgidk=0 end
420
    omgidk=omgidk+1
421
    if cR>=255 then flg5=1 end
422
    if cG>=255 then flg5=2 end
423
    if cB>=255 then flg5=3 end
424
    if flg5==1 then cR=cR-add cG=cG+add end
425
    if flg5==2 then cG=cG-add cB=cB+add end
426
    if flg5==3 then cB=cB-add cR=cR+add end
427
    color=Color3.fromRGB(cR,cG,cB)
428
function WACKYEFFECT(Table)
429
    local TYPE = (Table.EffectType or "Sphere")
430
    local SIZE = (Table.Size or VT(6,6,6))
431
    local ENDSIZE = (Table.Size2 or VT(7,7,7))
432
    local TRANSPARENCY = (Table.Transparency or 0)
433
    local ENDTRANSPARENCY = (Table.Transparency2 or 1)
434
    local CFRAME = (Table.CFrame or Torso.CFrame)
435
    local MOVEDIRECTION = (Table.MoveToPos or nil)
436
    local ROTATION1 = (Table.RotationX or 0)
437
    local ROTATION2 = (Table.RotationY or 0)
438
    local ROTATION3 = (Table.RotationZ or 0)
439
    local MATERIAL = "Neon"
440
    local COLOR = color
441
    local TIME = (Table.Time or 45)
442
    local SOUNDID = (Table.SoundID or nil)
443
    local SOUNDPITCH = (Table.SoundPitch or nil)
444
    local SOUNDVOLUME = (Table.SoundVolume or nil)
445
    coroutine.resume(coroutine.create(function()
446
        local PLAYSSOUND = false
447
        local SOUND = nil
448
        local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
449
        if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
450
            PLAYSSOUND = true
451
            SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
452
        end
453
        EFFECT.Color = color
454
        local MSH = nil
455
        if TYPE == "Sphere" then
456
            MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
457
        elseif TYPE == "Block" then
458
            MSH = IT("BlockMesh",EFFECT)
459
            MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
460
        elseif TYPE == "Wave" then
461
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
462
        elseif TYPE == "Ring" then
463
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
464
        elseif TYPE == "Slash" then
465
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
466
        elseif TYPE == "Round Slash" then
467
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
468
        elseif TYPE == "Swirl" then
469
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
470
        elseif TYPE == "Skull" then
471
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
472
        elseif TYPE == "Crystal" then
473
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
474
        end
475
        if MSH ~= nil then
476
            local MOVESPEED = nil
477
            if MOVEDIRECTION ~= nil then
478
                MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
479
            end
480
            local GROWTH = SIZE - ENDSIZE
481
            local TRANS = TRANSPARENCY - ENDTRANSPARENCY
482
            if TYPE == "Block" then
483
                EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
484
            else
485
                EFFECT.CFrame = CFRAME
486
            end
487
            for LOOP = 1, TIME+1 do
488
                Swait()
489
                MSH.Scale = MSH.Scale - GROWTH/TIME
490
                if TYPE == "Wave" then
491
                    MSH.Offset = VT(0,0,-MSH.Scale.X/8)
492
                end
493
                EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
494
                if TYPE == "Block" then
495
                    EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
496
                else
497
                    EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
498
                end
499
                if MOVEDIRECTION ~= nil then
500
                    local ORI = EFFECT.Orientation
501
                    EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
502
                    EFFECT.Orientation = ORI
503
                end
504
            end
505
            if PLAYSSOUND == false then
506
                EFFECT:remove()
507
            else
508
                SOUND.Stopped:Connect(function()
509
                    EFFECT:remove()
510
                end)
511
            end
512
        else
513
            if PLAYSSOUND == false then
514
                EFFECT:remove()
515
            else
516
                repeat Swait() until SOUND.Playing == false
517
                EFFECT:remove()
518
            end
519
        end
520
    end))
521
end
522
end)
523
function MakeForm(PART,TYPE)
524
    if TYPE == "Cyl" then
525
        local MSH = IT("CylinderMesh",PART)
526
    elseif TYPE == "Ball" then
527
        local MSH = IT("SpecialMesh",PART)
528
        MSH.MeshType = "Sphere"
529
    elseif TYPE == "Wedge" then
530
        local MSH = IT("SpecialMesh",PART)
531
        MSH.MeshType = "Wedge"
532
    end
533
end
534
function SpawnTrail(FROM,TO,BIG)
535
local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
536
    MakeForm(TRAIL,"Cyl")
537
local cR=255
538
local cG=0
539
local cB=0
540
local flg5=1 local omgidk=1
541
local add=15
542
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
543
    if omgidk>10000 then omgidk=0 end
544
    omgidk=omgidk+1
545
    if cR>=255 then flg5=1 end
546
    if cG>=255 then flg5=2 end
547
    if cB>=255 then flg5=3 end
548
    if flg5==1 then cR=cR-add cG=cG+add end
549
    if flg5==2 then cG=cG-add cB=cB+add end
550
    if flg5==3 then cB=cB-add cR=cR+add end
551
    color=Color3.fromRGB(cR,cG,cB)
552
    TRAIL.Color = color
553
end)
554
    local DIST = (FROM - TO).Magnitude
555
    if BIG == true then
556
        TRAIL.Size = VT(5,DIST,5)
557
    else
558
        TRAIL.Size = VT(5,DIST,5)
559
    end
560
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
561
    coroutine.resume(coroutine.create(function()
562
        for i = 1, 55 do
563
            Swait()
564
            TRAIL.Transparency = TRAIL.Transparency + 0.01
565
        end
566
        TRAIL:remove()
567
    end))
568
end
569
 
570
function CastProperRay(StartPos, EndPos, Distance, Ignore)
571
    local DIRECTION = CF(StartPos,EndPos).lookVector
572
    return Raycast(StartPos, DIRECTION, Distance, Ignore)
573
end
574
 
575
function turnto(position)
576
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
577
end
578
 
579
--//=================================\\
580
--||         WEAPON CREATION
581
--\\=================================//
582
 
583
local Particle = IT("ParticleEmitter",nil)
584
Particle.Enabled = false
585
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
586
Particle.LightEmission = 0.5
587
Particle.Rate = 150
588
Particle.ZOffset = 0.2
589
Particle.Rotation = NumberRange.new(-180, 180)
590
Particle.RotSpeed = NumberRange.new(-180, 180)
591
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
592
Particle.Color = ColorSequence.new(C3(255,0,0),C3(255,128,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
593
 
594
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
595
function ParticleEmitter(Table)
596
    local PRTCL = Particle:Clone()
597
    local Speed = Table.Speed or 5
598
    local Drag = Table.Drag or 0
599
    local Size1 = Table.Size1 or 1
600
    local Size2 = Table.Size2 or 5
601
    local Lifetime1 = Table.Lifetime1 or 9.5
602
    local Lifetime2 = Table.Lifetime2 or 10
603
    local Parent = Table.Parent or Torso
604
    local Emit = Table.Emit or 100
605
    local Offset = Table.Offset or 360
606
    local Acel = Table.Acel or VT(0,0,0)
607
    local Enabled = Table.Enabled or false
608
    PRTCL.Parent = Parent
609
    PRTCL.Size = NumberSequence.new(Size1,Size2)
610
    PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
611
    PRTCL.Speed = NumberRange.new(Speed)
612
    PRTCL.VelocitySpread = Offset
613
    PRTCL.Drag = Drag
614
    PRTCL.Acceleration = Acel
615
    if Enabled == false then
616
        PRTCL:Emit(Emit)
617
        Debris:AddItem(PRTCL,Lifetime2)
618
    else
619
        PRTCL.Enabled = true
620
    end
621
    return PRTCL
622
end
623
m = game.Players.LocalPlayer
624
char = m.Character
625
local txt = Instance.new("BillboardGui", char)
626
txt.Adornee = char.Head
627
txt.Name = "_status"
628
txt.Size = UDim2.new(2, 0, 1.2, 0)
629
txt.StudsOffset = Vector3.new(-9, 8, 0)
630
local text = Instance.new("TextLabel", txt)
631
text.Size = UDim2.new(10, 0, 7, 0)
632
text.FontSize = "Size24"
633
text.TextScaled = true
634
text.TextTransparency = 0
635
text.BackgroundTransparency = 1
636
text.TextTransparency = 0
637
text.TextStrokeTransparency = 0
638
text.Font = "Bodoni"
639
text.TextStrokeColor3 = Color3.new(0, 0, 0)
640
v = Instance.new("Part")
641
v.Name = "ColorBrick"
642
v.Parent = m.Character
643
v.Anchored = true
644
v.CanCollide = false
645
v.BottomSurface = "Smooth"
646
v.TopSurface = "Smooth"
647
v.Size = Vector3.new(10, 5, 3)
648
v.Transparency = 1
649
v.CFrame = char.Torso.CFrame
650
v.BrickColor = BrickColor.new("Really black")
651
v.Transparency = 1
652
v.Shape = "Block"
653
spawn(function()
654
local TweenService = game:GetService("TweenService")
655
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)}
656
local Int = 0
657
while wait(0.5) do
658
    if Int == #Colours then Int = 0 end
659
    Int = Int+1
660
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
661
end
662
end)
663
text.Text = "The Home Hood"
664
 
665
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
666
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
667
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
668
MakeForm(Part,"Wedge")
669
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
670
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
671
MakeForm(Part,"Wedge")
672
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
673
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
674
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
675
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
676
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
677
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
678
MakeForm(Part,"Cyl")
679
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
680
for i = 1, 8 do
681
    local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
682
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
683
end
684
local Back = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Wing", VT(1,1,0.35),false)
685
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
686
 
687
local ANGLE = 35
688
for i = 1, 5 do
689
    local Wing = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.15,2+(i/2),0.15),false)
690
    local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
691
    local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Wing", VT(0.25,1,0.25),false)
692
    CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
693
    ANGLE = ANGLE - 15
694
end
695
ANGLE = 35
696
for i = 1, 5 do
697
    local Wing = CreatePart(3, Character, "Neon", 0, 0, "blue", "Wing", VT(0.15,2+(i/2),0.15),false)
698
    local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
699
    local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "blue", "Wing", VT(0.25,1,0.25),false)
700
    CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
701
    ANGLE = ANGLE - 15
702
end
703
704
local A = IT("Attachment",Torso)
705
A.Position = VT(1,1.3,0)
706
A.Orientation = VT(-0.098, -89.999, 0.227)
707
local B = IT("Attachment",Torso)
708
B.Position = VT(-1.3,-0.6,0)
709
B.Orientation = VT(-88.911, -68.808, 158.782)
710
local ChainLink = IT("Beam",Torso)
711
ChainLink.Texture = "rbxassetid://73042633"
712
ChainLink.Color = ColorSequence.new(C3(1,0,0))
713
ChainLink.TextureSpeed = 1
714
ChainLink.FaceCamera = true
715
ChainLink.Width0 = 1
716
ChainLink.Width1 = 1
717
ChainLink.TextureLength = 3
718
ChainLink.Attachment0 = A
719
ChainLink.Attachment1 = B
720
ChainLink.CurveSize0 = 1.6
721
ChainLink.CurveSize1 = 1.6
722
ChainLink.FaceCamera = true
723
ChainLink.Transparency = NumberSequence.new(0)
724
local ChainLink = IT("Beam",Torso)
725
ChainLink.Texture = "rbxassetid://73042633"
726
ChainLink.Color = ColorSequence.new(C3(1,0,0))
727
ChainLink.TextureSpeed = 1
728
ChainLink.FaceCamera = true
729
ChainLink.Width0 = 1
730
ChainLink.Width1 = 1
731
ChainLink.TextureLength = 3
732
ChainLink.Attachment0 = B
733
ChainLink.Attachment1 = A
734
ChainLink.CurveSize0 = 1.6
735
ChainLink.CurveSize1 = 1.6
736
ChainLink.FaceCamera = true
737
ChainLink.Transparency = NumberSequence.new(0)
738
local A = IT("Attachment",Torso)
739
A.Position = VT(1.3,-0.85,0)
740
A.Orientation = VT(-0.098, -89.999, 0.227)
741
local B = IT("Attachment",Torso)
742
B.Position = VT(-1,2,0)
743
B.Orientation = VT(-88.911, -68.808, 158.782)
744
local ChainLink = IT("Beam",Torso)
745
ChainLink.Texture = "rbxassetid://73042633"
746
ChainLink.Color = ColorSequence.new(C3(0,330,170))
747
ChainLink.TextureSpeed = 1
748
ChainLink.FaceCamera = true
749
ChainLink.Width0 = 1
750
ChainLink.Width1 = 1
751
ChainLink.TextureLength = 3
752
ChainLink.Attachment0 = A
753
ChainLink.Attachment1 = B
754
ChainLink.CurveSize0 = 1.3
755
ChainLink.CurveSize1 = 1.3
756
ChainLink.FaceCamera = true
757
ChainLink.Transparency = NumberSequence.new(0)
758
local ChainLink = IT("Beam",Torso)
759
ChainLink.Texture = "rbxassetid://73042633"
760
ChainLink.Color = ColorSequence.new(C3(0,330,170))
761
ChainLink.TextureSpeed = 1
762
ChainLink.FaceCamera = true
763
ChainLink.Width0 = 1
764
ChainLink.Width1 = 1
765
ChainLink.TextureLength = 3
766
ChainLink.Attachment0 = B
767
ChainLink.Attachment1 = A
768
ChainLink.CurveSize0 = 1.3
769
ChainLink.CurveSize1 = 1.3
770
ChainLink.FaceCamera = true
771
ChainLink.Transparency = NumberSequence.new(0)
772
773
local A = IT("Attachment",RightBarrel)
774
A.Position = VT(0,-2.5,0)
775
local B = IT("Attachment",RightBarrel)
776
B.Position = VT(0,2.5,0)
777
local Trail = IT("Trail",RightBarrel)
778
Trail.Attachment0 = A
779
Trail.Attachment1 = B
780
Trail.Lifetime = 0.2
781
Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
782
Trail.Transparency = NumberSequence.new(0, 1)
783
Trail.Enabled = false
784
785
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
786
MakeForm(Part,"Cyl")
787
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
788
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
789
MakeForm(Part,"Ball")
790
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
791
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
792
MakeForm(Part,"Wedge")
793
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
794
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
795
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
796
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
797
MakeForm(Part,"Cyl")
798
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
799
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
800
MakeForm(Part,"Cyl")
801
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
802
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
803
MakeForm(Part,"Cyl")
804
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
805
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
806
MakeForm(Part,"Wedge")
807
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
808
local LASTPART = Handle
809
for i = 1, 10 do
810
    if LASTPART == Handle then
811
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
812
        LASTPART = Part
813
        CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
814
    else
815
        local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
816
        CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
817
        LASTPART = Part
818
    end
819
end
820
 
821
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
822
MakeForm(Barrel,"Cyl")
823
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
824
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
825
MakeForm(Part,"Cyl")
826
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
827
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
828
MakeForm(Part,"Wedge")
829
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
830
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
831
MakeForm(Hole,"Cyl")
832
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
833
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
834
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
835
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
836
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
837
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
838
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
839
coroutine.resume(coroutine.create(function()
840
    while wait() do
841
        GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
842
        GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
843
    end
844
end))
845
 
846
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
847
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.8, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
848
849
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
850
PRT.Color = C3(0,0,0)
851
852
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
853
PRT.Color = C3(1,0,0)
854
855
local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Pastel light blue", "Hair", VT(1,1,1),false)
856
local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
857
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
858
local Hair = CreatePart(3, Character, "Fabric", 0, 0, "New Yeller", "Hair", VT(1,1,1),false)
859
local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
860
CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
861
862
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
863
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
864
865
local BODY = {}
866
867
for _, c in pairs(Character:GetDescendants()) do
868
	if c:IsA("BasePart") and c.Name ~= "Handle" then
869
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
870
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
871
		end
872
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
873
	elseif c:IsA("JointInstance") then
874
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
875
	end
876
end
877
878
function refit()
879
	Character.Parent = workspace
880
	for e = 1, #BODY do
881
		if BODY[e] ~= nil then
882
			local STUFF = BODY[e]
883
			local PART = STUFF[1]
884
			local PARENT = STUFF[2]
885
			local MATERIAL = STUFF[3]
886
			local COLOR = STUFF[4]
887
			local TRANSPARENCY = STUFF[5]
888
			if PART.ClassName == "Part" and PART ~= RootPart then
889
				PART.Material = MATERIAL
890
				PART.Color = COLOR
891
				PART.Transparency = TRANSPARENCY
892
			end
893
			if PART.Parent ~= PARENT then
894
				Humanoid:remove()
895
				PART.Parent = PARENT
896
				Humanoid = IT("Humanoid",Character)
897
			end
898
		end
899
	end
900
end
901
902
local cR=255
903
local cG=0
904
local cB=0
905
local flg5=1 local omgidk=1
906
local add=15
907
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
908
    if omgidk>10000 then omgidk=0 end
909
    omgidk=omgidk+1
910
    if cR>=255 then flg5=1 end
911
    if cG>=255 then flg5=2 end
912
    if cB>=255 then flg5=3 end
913
    if flg5==1 then cR=cR-add cG=cG+add end
914
    if flg5==2 then cG=cG-add cB=cB+add end
915
    if flg5==3 then cB=cB-add cR=cR+add end
916
    color=Color3.fromRGB(cR,cG,cB)
917
for _, c in pairs(Weapon:GetDescendants()) do
918
    if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
919
        c.Material = "Glass"
920
        c.Color = C3(0,0,0)
921
    elseif c.ClassName == "Part" and c.Name == "Eye" then
922
        c.Color = color
923
        c.Material = "Neon"
924
    end
925
end
926
end)
927
Weapon.Parent = Character
928
for _, c in pairs(Weapon:GetChildren()) do
929
    if c.ClassName == "Part" then
930
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
931
    end
932
end
933
934
local top = Instance.new("Shirt")
935
top.ShirtTemplate = "rbxassetid://45695443"
936
top.Parent = Character
937
top.Name = "Cloth"
938
local bottom = Instance.new("Pants")
939
bottom.PantsTemplate = "rbxassetid://45696190"
940
bottom.Parent = Character
941
bottom.Name = "Cloth"
942
local Aura = Instance.new('ParticleEmitter')
943
Aura.Name = "Aura"
944
Aura.Texture = "rbxassetid://141116476"
945
Aura.Parent = Torso
946
Aura.LightEmission = 93
947
Aura.Transparency = NumberSequence.new(0,0.6,1)
948
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
949
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
950
Aura.LockedToPart = false
951
Aura.Lifetime = NumberRange.new(2)
952
Aura.Rate = 100
953
Aura.Speed = NumberRange.new(1)
954
Aura.EmissionDirection = "Top"
955
local Aura = Instance.new('ParticleEmitter')
956
Aura.Name = "Aura"
957
Aura.Texture = "rbxassetid://141116476"
958
Aura.Parent = LeftArm
959
Aura.LightEmission = 93
960
Aura.Transparency = NumberSequence.new(0,0.6,1)
961
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
962
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
963
Aura.LockedToPart = false
964
Aura.Lifetime = NumberRange.new(2)
965
Aura.Rate = 100
966
Aura.Speed = NumberRange.new(1)
967
Aura.EmissionDirection = "Top"
968
for i = 1, 15 do
969
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
970
	FACE.Color = C3(0,0,0)
971
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
972
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
973
end
974
 
975
local SKILLTEXTCOLOR = C3(1,0,0)
976
local SKILLFONT = "Antique"
977
local SKILLTEXTSIZE = 7
978
 
979
Humanoid.Died:connect(function()
980
    ATTACK = true
981
end)
982
 
983
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
984
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.37, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
985
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.60, 0, 0.80, 0), UD2(0.36, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
986
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
987
 
988
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shoot", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
989
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Doom Star", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 2")
990
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Warp", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 3")
991
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Doom Key", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
992
 
993
function printbye(Name)
994
    local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are go to die, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","dead, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
995
    warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
996
end
997
workspace.ChildAdded:connect(function(instance)
998
    for BANISH = 1, #TOBANISH do
999
        if TOBANISH[BANISH] ~= nil then
1000
            if instance.Name == TOBANISH[BANISH] then
1001
                coroutine.resume(coroutine.create(function()
1002
                    printbye(instance.Name)
1003
                    instance:ClearAllChildren()
1004
                    Debris:AddItem(instance,0.0005)
1005
                end))
1006
            end
1007
        end
1008
    end
1009
end)
1010
 
1011
1012
--//=================================\\
1013
--||            DAMAGING
1014
--\\=================================//
1015
1016
function Banish(Foe)
1017
    if Foe then
1018
        coroutine.resume(coroutine.create(function()
1019
            --if game.Players:FindFirstChild(Foe.Name) then
1020
                table.insert(TOBANISH,Foe.Name)
1021
                printbye(Foe.Name)
1022
            --end
1023
            Foe.Archivable = true
1024
            local CLONE = Foe:Clone()
1025
            Foe:Destroy()
1026
            CLONE.Parent = Effects
1027
            CLONE:BreakJoints()
1028
            local MATERIALS = {"Glass","Neon"}
1029
            for _, c in pairs(CLONE:GetDescendants()) do
1030
                if c:IsA("BasePart") then
1031
                    if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1032
                        CreateSound(340722848, c, 10, 1, false)
1033
                    end
1034
                    c.Anchored = true
1035
                    c.Transparency = c.Transparency + 0.2
1036
                    c.Material = MATERIALS[MRANDOM(1,2)]
1037
                    c.Color = C3(1,0,0)
1038
                    if c.ClassName == "MeshPart" then
1039
                        c.TextureID = ""
1040
                    end
1041
                    if c:FindFirstChildOfClass("SpecialMesh") then
1042
                        c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1043
                    end
1044
                    if c:FindFirstChildOfClass("Decal") then
1045
                        c:FindFirstChildOfClass("Decal"):remove()
1046
                    end
1047
                    c.Name = "Banished"
1048
                    c.CanCollide = false
1049
                else
1050
                    c:remove()
1051
                end
1052
            end
1053
            local A = false
1054
            for i = 1, 35 do
1055
                if A == false then
1056
                    A = true
1057
                elseif A == true then
1058
                    A = false
1059
                end
1060
                for _, c in pairs(CLONE:GetDescendants()) do
1061
                    if c:IsA("BasePart") then
1062
                        c.Anchored = true
1063
                        c.Material = MATERIALS[MRANDOM(1,2)]
1064
                        c.Transparency = c.Transparency + 0.8/35
1065
                        if A == false then
1066
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1067
                        elseif A == true then
1068
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                      
1069
                        end
1070
                    end
1071
                end
1072
                Swait()
1073
            end
1074
            CLONE:remove()
1075
        end))
1076
    end
1077
end
1078
 
1079
function ApplyAoE(POSITION,RANGE,ISBANISH)
1080
    local CHILDREN = workspace:GetDescendants()
1081
    for index, CHILD in pairs(CHILDREN) do
1082
        if CHILD.ClassName == "Model" and CHILD ~= Character then
1083
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1084
            if HUM then
1085
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1086
                if TORSO then
1087
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
1088
                        if ISBANISH == true then
1089
                            Banish(CHILD)
1090
                        else
1091
                            if ISBANISH == "Gravity" then
1092
                                HUM.PlatformStand = true
1093
                                if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1094
                                    local grav = Instance.new("BodyPosition",TORSO)
1095
                                    grav.D = 15
1096
                                    grav.P = 20000
1097
                                    grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1098
                                    grav.position = TORSO.Position
1099
                                    grav.Name = "V3BanishForce"..Player.Name
1100
                                else
1101
                                    TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1102
                                    TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1103
                                end
1104
                            else
1105
                                HUM.PlatformStand = false
1106
                            end
1107
                        end
1108
                    elseif ISBANISH == "Gravity" then
1109
                        if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1110
                            TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1111
                            HUM.PlatformStand = false
1112
                        end
1113
                    end
1114
                end
1115
            end
1116
        end
1117
    end
1118
end
1119
 
1120
 
1121
 
1122
--//=================================\\
1123
--||    ATTACK FUNCTIONS AND STUFF
1124
--\\=================================//
1125
 
1126
function Colorful_Death()
1127
    ATTACK = true
1128
    Rooted = false
1129
    for i=0, 0.05, 0.1 / Animation_Speed do
1130
        Swait()
1131
        turnto(Mouse.Hit.p)
1132
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1133
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1134
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1135
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1136
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1137
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1138
    end
1139
    repeat
1140
        for i=0, 0.05, 0.1 / Animation_Speed do
1141
            Swait()
1142
            turnto(Mouse.Hit.p)
1143
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1144
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1145
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1146
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1147
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1148
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1149
        end
1150
        local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1151
        SpawnTrail(Hole.Position,POS)
1152
        if HIT ~= nil then
1153
            if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1154
                Banish(HIT.Parent)
1155
            end
1156
        end
1157
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1158
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1159
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1160
        WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1161
        for i=0, 0.05, 0.1 / Animation_Speed do
1162
            Swait()
1163
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1164
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1165
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1166
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1167
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1168
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1169
        end
1170
    until KEYHOLD == false
1171
    ATTACK = false
1172
    Rooted = false
1173
end
1174
1175
function Morning_Star()
1176
	ATTACK = true
1177
	Rooted = true
1178
	for i=0, 1, 0.1 / Animation_Speed do
1179
		Swait()
1180
		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)
1181
		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)
1182
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1183
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1184
		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)
1185
		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)
1186
	end	
1187
	coroutine.resume(coroutine.create(function()
1188
		local POS = Mouse.Hit.p
1189
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,2000,0))
1190
		MakeForm(RAY,"Cyl")
1191
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
1192
		MakeForm(SPHERE,"Ball")
1193
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
1194
		MakeForm(SHIELD,"Ball")
1195
		SHIELD.CFrame = CF(POS)
1196
		RAY.CFrame = CF(POS)
1197
		SPHERE.CFrame = CF(POS)
1198
		CreateSound(440145570, SPHERE, 10, 0.8, false)
1199
		CreateSound(415700134, SPHERE, 10, 0.8, false)
1200
		for i = 1, 200 do
1201
			Swait()
1202
			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(0,330,170), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1203
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
1204
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
1205
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
1206
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1207
		end	
1208
		for i = 1, 45 do
1209
			Swait()
1210
			RAY.Transparency = RAY.Transparency + 1/45
1211
			SPHERE.Transparency = RAY.Transparency 
1212
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1213
		end
1214
		RAY:remove()
1215
		SHIELD:remove()
1216
		SPHERE:remove()
1217
	end))
1218
	for i=0, 1, 0.1 / Animation_Speed do
1219
		Swait()
1220
		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)
1221
		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)
1222
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1223
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1224
		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)
1225
		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)
1226
	end
1227
	ATTACK = false
1228
	Rooted = false
1229
end
1230
function Technowarp()
1231
    local FRAME = RootPart.Position
1232
    for i = 1, 6 do
1233
        WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2}) 
1234
    end
1235
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z))
1236
    for i = 1, 6 do
1237
        WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2}) 
1238
    end
1239
end
1240
1241
function Prison_Key()
1242
	if Mouse.Target ~= nil then
1243
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1244
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1245
			local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1246
			local GYRO = IT("BodyGyro",RootPart)
1247
			GYRO.D = 750
1248
			GYRO.P = 20000
1249
			GYRO.MaxTorque = VT(0,40000000,0)
1250
			local grav = Instance.new("BodyPosition",TORSO)
1251
			grav.D = 15
1252
			grav.P = 20000
1253
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1254
			grav.position = TORSO.Position
1255
			local GYRO2 = IT("BodyGyro",TORSO)
1256
			GYRO2.D = 750
1257
			GYRO2.P = 20000
1258
			GYRO2.MaxTorque = VT(0,40000000,0)
1259
			GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1260
			grav.Name = "Jail"
1261
			local LOCKPARTS = {}
1262
			ATTACK = true
1263
			Rooted = false
1264
			local LOCK = IT("Model",Effects)
1265
			LOCK.Name = "Lock"
1266
			local LOCK2 = IT("Model",LOCK)
1267
			LOCK2.Name = "Metal"
1268
			--CREATE LOCK--
1269
				local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
1270
				LOCK.PrimaryPart = BASE
1271
				BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
1272
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
1273
				PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
1274
				MakeForm(PRT,"Cyl")
1275
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
1276
				PRT.Color = C3(0,0,0)
1277
				PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
1278
				MakeForm(PRT,"Cyl")
1279
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
1280
				PRT.Color = C3(0,0,0)
1281
				PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
1282
				for i = 1, 45 do
1283
					local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1284
					PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
1285
				end
1286
				local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
1287
				PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
1288
				LOCK2.PrimaryPart = PRT
1289
			---------------
1290
			local CHILDREN = LOCK:GetDescendants()
1291
			for index, CHILD in pairs(CHILDREN) do
1292
				if CHILD:IsA("BasePart") then
1293
					CHILD.Transparency = 1
1294
				end
1295
			end
1296
			for i = 1, 75 do
1297
				LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
1298
				Swait()
1299
				GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1300
				GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1301
				local CHILDREN = LOCK:GetDescendants()
1302
				for index, CHILD in pairs(CHILDREN) do
1303
					if CHILD:IsA("BasePart") then
1304
						CHILD.Transparency = CHILD.Transparency - 1/75
1305
					end
1306
				end
1307
			end
1308
			HUM.DisplayDistanceType = "None"
1309
			local KEY = IT("Model",Effects)
1310
			KEY.Name = "Key"
1311
			--CREATE KEY--
1312
				local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lime green", "KeyBase", VT(0.1, 1, 0.1),false)
1313
				KEY.PrimaryPart = KBASE
1314
				KBASE.CFrame = LeftArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
1315
				local WLD = weldBetween(LeftArm,KBASE)
1316
				for i = 1, 45 do
1317
					local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
1318
					PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
1319
					weldBetween(KBASE,PRT)
1320
				end
1321
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, "New Yeller", "Key", VT(0.3, 0.1, 0.1),false)
1322
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
1323
				weldBetween(KBASE,PRT)
1324
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, "New Yeller", "Key", VT(0.3, 0.1, 0.1),false)
1325
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
1326
				weldBetween(KBASE,PRT)
1327
			--------------
1328
			Rooted = true
1329
			coroutine.resume(coroutine.create(function()
1330
				for i = 1, 10 do
1331
					Swait()
1332
					GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
1333
					GYRO.cframe = CF(RootPart.Position,TORSO.Position)
1334
				end
1335
				CreateSound(1149318312,BASE,5,1,false)
1336
				CreateSound(160772554,BASE,3,1,false)
1337
				LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
1338
				for i = 1, 4 do
1339
					WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1340
				end
1341
				WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
1342
				wait(1)
1343
				TORSO.Parent.Parent = LOCK
1344
				for i = 1, 75 do
1345
					Swait()
1346
					local CHILDREN = KEY:GetDescendants()
1347
					for index, CHILD in pairs(CHILDREN) do
1348
						if CHILD:IsA("BasePart") then
1349
							CHILD.Transparency = i/25
1350
						end
1351
					end
1352
					local CHILDREN = LOCK:GetDescendants()
1353
					for index, CHILD in pairs(CHILDREN) do
1354
						if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
1355
							CHILD.Transparency = CHILD.Transparency + 1/75
1356
						elseif CHILD.ClassName == "Decal" then
1357
							CHILD.Transparency = CHILD.Transparency + 1/75
1358
						end
1359
					end
1360
				end
1361
				TORSO.Parent:ClearAllChildren()
1362
				KEY:remove()
1363
				LOCK:remove()
1364
			end))
1365
			GYRO:remove()
1366
			ATTACK = false
1367
			Rooted = false
1368
		end
1369
	end
1370
end
1371
1372
--//=================================\\
1373
--||      ASSIGN THINGS TO KEYS
1374
--\\=================================//
1375
 
1376
function MouseDown(Mouse)
1377
    if ATTACK == false then
1378
    end
1379
end
1380
 
1381
function MouseUp(Mouse)
1382
HOLD = false
1383
end
1384
 
1385
function KeyDown(Key)
1386
    KEYHOLD = true
1387
    if Key == "z" and ATTACK == false then
1388
        Colorful_Death()
1389
    end
1390
 
1391
    if Key == "b" and ATTACK == false then
1392
 
1393
    end
1394
       
1395
    if Key == "c" and ATTACK == false then
1396
             Technowarp()
1397
        end
1398
 
1399
    if Key == "v" and ATTACK == false then
1400
		Prison_Key()
1401
	end
1402
 
1403
	if Key == "x" and ATTACK == false then
1404
			 Morning_Star()
1405
    end
1406
end
1407
function KeyUp(Key)
1408
    KEYHOLD = false
1409
end
1410
 
1411
    Mouse.Button1Down:connect(function(NEWKEY)
1412
        MouseDown(NEWKEY)
1413
    end)
1414
    Mouse.Button1Up:connect(function(NEWKEY)
1415
        MouseUp(NEWKEY)
1416
    end)
1417
    Mouse.KeyDown:connect(function(NEWKEY)
1418
        KeyDown(NEWKEY)
1419
    end)
1420
    Mouse.KeyUp:connect(function(NEWKEY)
1421
        KeyUp(NEWKEY)
1422
    end)
1423
 
1424
--//=================================\\
1425
--\\=================================//
1426
 
1427
 
1428
function unanchor()
1429
    if UNANCHOR == true then
1430
        g = Character:GetChildren()
1431
        for i = 1, #g do
1432
            if g[i].ClassName == "Part" then
1433
                g[i].Anchored = false
1434
            end
1435
        end
1436
    end
1437
end
1438
 
1439
 
1440
--//=================================\\
1441
--||    WRAP THE WHOLE SCRIPT UP
1442
--\\=================================//
1443
 
1444
Humanoid.Changed:connect(function(Jump)
1445
    if Jump == "Jump" and (Disable_Jump == true) then
1446
        Humanoid.Jump = false
1447
    end
1448
end)
1449
 
1450
local CONNECT = nil
1451
 
1452
while true do
1453
    Swait()
1454
    ANIMATE.Parent = nil
1455
    if Character:FindFirstChildOfClass("Humanoid") == nil then
1456
        Humanoid = IT("Humanoid",Character)
1457
    end
1458
    for _,v in next, Humanoid:GetPlayingAnimationTracks() do
1459
        v:Stop();
1460
    end
1461
    SINE = SINE + CHANGE
1462
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
1463
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
1464
    local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
1465
    local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 29)
1466
    if ANIM == "Walk" and TORSOVELOCITY > 1 then
1467
        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) / 3)
1468
        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) / 3)
1469
        RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
1470
        LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
1471
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
1472
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
1473
        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 / 3)
1474
        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 / 3)
1475
        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 / 3)
1476
    end
1477
    if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
1478
        ANIM = "Jump"
1479
        if ATTACK == false then
1480
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1481
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1482
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1483
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1484
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
1485
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1486
        end
1487
    elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
1488
        ANIM = "Fall"
1489
        if ATTACK == false then
1490
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1491
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1492
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1493
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
1494
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
1495
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
1496
        end
1497
    elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
1498
        ANIM = "Idle"
1499
        if ATTACK == false then
1500
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3)
1501
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3)
1502
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3)
1503
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
1504
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
1505
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
1506
        end
1507
    elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
1508
        ANIM = "Walk"
1509
        if ATTACK == false then
1510
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
1511
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
1512
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
1513
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
1514
            RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
1515
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
1516
        end
1517
    end
1518
    unanchor()
1519
    Humanoid.MaxHealth = "inf"
1520
    Humanoid.Health = "inf"
1521
    if Rooted == false then
1522
        Disable_Jump = false
1523
        Humanoid.WalkSpeed = Speed
1524
    elseif Rooted == true then
1525
        Disable_Jump = true
1526
        Humanoid.WalkSpeed = 0
1527
    end
1528
end
1529
--//=================================\\
1530
--\\=================================//
1531
 
1532
 
1533
 
1534
 
1535
 
1536
--//====================================================\\--
1537
--||                     END OF SCRIPT
1538
--\\====================================================//--