View difference between Paste ID: iBh38Kfw and A3GPvxXc
SHOW: | | - or go back to the newest paste.
1-
Player = game:GetService("Players").memberhero
1+
--usage
2
3
local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))()
4
5
6
FEService:FullNetwork()  
7
8
print(game.Players.LocalPlayer.SimulationRadius)
9
--reanimate by MyWorld#4430 discord.gg/pYVHtSJmEY
10
local v3_net, v3_808 = Vector3.new(5000, 25.1, 0), Vector3.new(8, 0, 8)
11
local function getNetlessVelocity(realPartVelocity)
12
    local mag = realPartVelocity.Magnitude
13
    if mag > 1 then
14
        local unit = realPartVelocity.Unit
15
        if (unit.Y > 0.25) or (unit.Y < -0.75) then
16
            return unit * (25.1 / unit.Y)
17
        end
18
    end
19
    return v3_net + realPartVelocity * v3_808
20
end
21
local simradius = "shp" --simulation radius (net bypass) method
22
--"shp" - sethiddenproperty
23
--"ssr" - setsimulationradius
24
--false - disable
25
local simrad = 1000 --simulation radius value
26
local healthHide = true --moves your head away every 3 seconds so players dont see your health bar (alignmode 4 only)
27
local reclaim = true --if you lost control over a part this will move your primary part to the part so you get it back (alignmode 4)
28
local novoid = true --prevents parts from going under workspace.FallenPartsDestroyHeight if you control them (alignmode 4 only)
29
local physp = nil --PhysicalProperties.new(0.01, 0, 1, 0, 0) --sets .CustomPhysicalProperties to this for each part
30
local noclipAllParts = false --set it to true if you want noclip
31
local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
32
local newanimate = true --disables the animate script and enables after reanimation
33
local discharscripts = true --disables all localScripts parented to your character before reanimation
34
local R15toR6 = true --tries to convert your character to r6 if its r15
35
local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0)
36
local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
37
local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
38
local hedafterneck = true --disable aligns for head and enable after neck or torso is removed
39
local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
40
local method = 3 --reanimation method
41
--methods:
42
--0 - breakJoints (takes [loadtime] seconds to load)
43
--1 - limbs
44
--2 - limbs + anti respawn
45
--3 - limbs + breakJoints after [loadtime] seconds
46
--4 - remove humanoid + breakJoints
47
--5 - remove humanoid + limbst
48
local alignmode = 3 --AlignPosition mode
49
--modes:
50
--1 - AlignPosition rigidity enabled true
51
--2 - 2 AlignPositions rigidity enabled both true and false
52
--3 - AlignPosition rigidity enabled false
53
--4 - CFrame
54
local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging
55
--the fling function
56
--usage: fling(target, duration, velocity)
57
--target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided))
58
--duration (fling time in seconds) can be set to a number or a string convertable to the number (0.5s if not provided),
59
--velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided)
60
61
local lp = game:GetService("Players").LocalPlayer
62
local rs, ws, sg = game:GetService("RunService"), game:GetService("Workspace"), game:GetService("StarterGui")
63
local stepped, heartbeat, renderstepped = rs.Stepped, rs.Heartbeat, rs.RenderStepped
64
local twait, tdelay, rad, inf, abs, clamp = task.wait, task.delay, math.rad, math.huge, math.abs, math.clamp
65
local cf, v3 = CFrame.new, Vector3.new
66
local angles = CFrame.Angles
67
local v3_0, cf_0 = v3(0, 0, 0), cf(0, 0, 0)
68
69
local c = lp.Character
70
if not (c and c.Parent) then
71
    return
72
end
73
74
c:GetPropertyChangedSignal("Parent"):Connect(function()
75
    if not (c and c.Parent) then
76
        c = nil
77
    end
78
end)
79
80
local clone, destroy, getchildren, getdescendants, isa = c.Clone, c.Destroy, c.GetChildren, c.GetDescendants, c.IsA
81
82
local function gp(parent, name, className)
83
    if typeof(parent) == "Instance" then
84
        for i, v in pairs(getchildren(parent)) do
85
            if (v.Name == name) and isa(v, className) then
86
                return v
87
            end
88
        end
89
    end
90
    return nil
91
end
92
93
local fenv = getfenv()
94
95
local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
96
local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.setsimrad or fenv.set_sim_rad
97
98
healthHide = healthHide and ((method == 0) or (method == 3)) and gp(c, "Head", "BasePart")
99
100
local reclaim, lostpart = reclaim and c.PrimaryPart, nil
101
102
local function align(Part0, Part1)
103
    
104
    local att0 = Instance.new("Attachment")
105
    att0.Position, att0.Orientation, att0.Name = v3_0, v3_0, "att0_" .. Part0.Name
106
    local att1 = Instance.new("Attachment")
107
    att1.Position, att1.Orientation, att1.Name = v3_0, v3_0, "att1_" .. Part1.Name
108
109
    if alignmode == 4 then
110
    
111
        local hide = false
112
        if Part0 == healthHide then
113
            healthHide = false
114
            tdelay(0, function()
115
                while twait(2.9) and Part0 and c do
116
                    hide = #Part0:GetConnectedParts() == 1
117
                    twait(0.1)
118
                    hide = false
119
                end
120
            end)
121
        end
122
        
123
        local rot = rad(0.05)
124
        local con0, con1 = nil, nil
125
        con0 = stepped:Connect(function()
126
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
127
            Part0.RotVelocity = Part1.RotVelocity
128
        end)
129
        local lastpos = Part0.Position
130
        con1 = heartbeat:Connect(function(delta)
131
            if not (Part0 and Part1 and att1) then return con0:Disconnect() and con1:Disconnect() end
132
            if (not Part0.Anchored) and (Part0.ReceiveAge == 0) then
133
                if lostpart == Part0 then
134
                    lostpart = nil
135
                end
136
                rot = -rot
137
                local newcf = Part1.CFrame * att1.CFrame * angles(0, 0, rot)
138
                if Part1.Velocity.Magnitude > 0.01 then
139
                    Part0.Velocity = getNetlessVelocity(Part1.Velocity)
140
                else
141
                    Part0.Velocity = getNetlessVelocity((newcf.Position - lastpos) / delta)
142
                end
143
                lastpos = newcf.Position
144
                if lostpart and (Part0 == reclaim) then
145
                    newcf = lostpart.CFrame
146
                elseif hide then
147
                    newcf += v3(0, 3000, 0)
148
                end
149
                if novoid and (newcf.Y < ws.FallenPartsDestroyHeight + 0.1) then
150
                    newcf += v3(0, ws.FallenPartsDestroyHeight + 0.1 - newcf.Y, 0)
151
                end
152
                Part0.CFrame = newcf
153
            elseif (not Part0.Anchored) and (abs(Part0.Velocity.X) < 45) and (abs(Part0.Velocity.Y) < 25) and (abs(Part0.Velocity.Z) < 45) then
154
                lostpart = Part0
155
            end
156
        end)
157
    
158
    else
159
        
160
        Part0.CustomPhysicalProperties = physp
161
        if (alignmode == 1) or (alignmode == 2) then
162
            local ape = Instance.new("AlignPosition")
163
            ape.MaxForce, ape.MaxVelocity, ape.Responsiveness = inf, inf, inf
164
            ape.ReactionForceEnabled, ape.RigidityEnabled, ape.ApplyAtCenterOfMass = false, true, false
165
            ape.Attachment0, ape.Attachment1, ape.Name = att0, att1, "AlignPositionRtrue"
166
            ape.Parent = att0
167
        end
168
        
169
        if (alignmode == 2) or (alignmode == 3) then
170
            local apd = Instance.new("AlignPosition")
171
            apd.MaxForce, apd.MaxVelocity, apd.Responsiveness = inf, inf, inf
172
            apd.ReactionForceEnabled, apd.RigidityEnabled, apd.ApplyAtCenterOfMass = false, false, false
173
            apd.Attachment0, apd.Attachment1, apd.Name = att0, att1, "AlignPositionRfalse"
174
            apd.Parent = att0
175
        end
176
        
177
        local ao = Instance.new("AlignOrientation")
178
        ao.MaxAngularVelocity, ao.MaxTorque, ao.Responsiveness = inf, inf, inf
179
        ao.PrimaryAxisOnly, ao.ReactionTorqueEnabled, ao.RigidityEnabled = false, false, false
180
        ao.Attachment0, ao.Attachment1 = att0, att1
181
        ao.Parent = att0
182
        
183
        local con0, con1 = nil, nil
184
        local vel = Part0.Velocity
185
        con0 = renderstepped:Connect(function()
186
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
187
            Part0.Velocity = vel
188
        end)
189
        local lastpos = Part0.Position
190
        con1 = heartbeat:Connect(function(delta)
191
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
192
            vel = Part0.Velocity
193
            if Part1.Velocity.Magnitude > 0.01 then
194
                Part0.Velocity = getNetlessVelocity(Part1.Velocity)
195
            else
196
                Part0.Velocity = getNetlessVelocity((Part0.Position - lastpos) / delta)
197
            end
198
            lastpos = Part0.Position
199
        end)
200
    
201
    end
202
203
    att0:GetPropertyChangedSignal("Parent"):Connect(function()
204
        Part0 = att0.Parent
205
        if not isa(Part0, "BasePart") then
206
            att0 = nil
207
            if lostpart == Part0 then
208
                lostpart = nil
209
            end
210
            Part0 = nil
211
        end
212
    end)
213
    att0.Parent = Part0
214
    
215
    att1:GetPropertyChangedSignal("Parent"):Connect(function()
216
        Part1 = att1.Parent
217
        if not isa(Part1, "BasePart") then
218
            att1 = nil
219
            Part1 = nil
220
        end
221
    end)
222
    att1.Parent = Part1
223
end
224
225
local function respawnrequest()
226
    local ccfr, c = ws.CurrentCamera.CFrame, lp.Character
227
    lp.Character = nil
228
    lp.Character = c
229
    local con = nil
230
    con = ws.CurrentCamera.Changed:Connect(function(prop)
231
        if (prop ~= "Parent") and (prop ~= "CFrame") then
232
            return
233
        end
234
        ws.CurrentCamera.CFrame = ccfr
235
        con:Disconnect()
236
    end)
237
end
238
239
local destroyhum = (method == 4) or (method == 5)
240
local breakjoints = (method == 0) or (method == 4)
241
local antirespawn = (method == 0) or (method == 2) or (method == 3)
242
243
hatcollide = hatcollide and (method == 0)
244
245
addtools = addtools and lp:FindFirstChildOfClass("Backpack")
246
247
if type(simrad) ~= "number" then simrad = 1000 end
248
if shp and (simradius == "shp") then
249
    tdelay(0, function()
250
        while c do
251
            shp(lp, "SimulationRadius", simrad)
252
            heartbeat:Wait()
253
        end
254
    end)
255
elseif ssr and (simradius == "ssr") then
256
    tdelay(0, function()
257
        while c do
258
            ssr(simrad)
259
            heartbeat:Wait()
260
        end
261
    end)
262
end
263
264
if antiragdoll then
265
    antiragdoll = function(v)
266
        if isa(v, "HingeConstraint") or isa(v, "BallSocketConstraint") then
267
            v.Parent = nil
268
        end
269
    end
270
    for i, v in pairs(getdescendants(c)) do
271
        antiragdoll(v)
272
    end
273
    c.DescendantAdded:Connect(antiragdoll)
274
end
275
276
if antirespawn then
277
    respawnrequest()
278
end
279
280
if method == 0 then
281
    twait(loadtime)
282
    if not c then
283
        return
284
    end
285
end
286
287
if discharscripts then
288
    for i, v in pairs(getdescendants(c)) do
289
        if isa(v, "LocalScript") then
290
            v.Disabled = true
291
        end
292
    end
293
elseif newanimate then
294
    local animate = gp(c, "Animate", "LocalScript")
295
    if animate and (not animate.Disabled) then
296
        animate.Disabled = true
297
    else
298
        newanimate = false
299
    end
300
end
301
302
if addtools then
303
    for i, v in pairs(getchildren(addtools)) do
304
        if isa(v, "Tool") then
305
            v.Parent = c
306
        end
307
    end
308
end
309
310
pcall(function()
311
    settings().Physics.AllowSleep = false
312
    settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
313
end)
314
315
local OLDscripts = {}
316
317
for i, v in pairs(getdescendants(c)) do
318
    if v.ClassName == "Script" then
319
        OLDscripts[v.Name] = true
320
    end
321
end
322
323
local scriptNames = {}
324
325
for i, v in pairs(getdescendants(c)) do
326
    if isa(v, "BasePart") then
327
        local newName, exists = tostring(i), true
328
        while exists do
329
            exists = OLDscripts[newName]
330
            if exists then
331
                newName = newName .. "_"    
332
            end
333
        end
334
        table.insert(scriptNames, newName)
335
        Instance.new("Script", v).Name = newName
336
    end
337
end
338
339
local hum = c:FindFirstChildOfClass("Humanoid")
340
if hum then
341
    for i, v in pairs(hum:GetPlayingAnimationTracks()) do
342
        v:Stop()
343
    end
344
end
345
c.Archivable = true
346
local cl = clone(c)
347
if hum and humState16 then
348
    hum:ChangeState(Enum.HumanoidStateType.Physics)
349
    if destroyhum then
350
        twait(1.6)
351
    end
352
end
353
if destroyhum then
354
    pcall(destroy, hum)
355
end
356
357
if not c then
358
    return
359
end
360
361
local head, torso, root = gp(c, "Head", "BasePart"), gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart"), gp(c, "HumanoidRootPart", "BasePart")
362
if hatcollide then
363
    pcall(destroy, torso)
364
    pcall(destroy, root)
365
    pcall(destroy, c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script"))
366
end
367
368
local model = Instance.new("Model", c)
369
model:GetPropertyChangedSignal("Parent"):Connect(function()
370
    if not (model and model.Parent) then
371
        model = nil
372
    end
373
end)
374
375
for i, v in pairs(getchildren(c)) do
376
    if v ~= model then
377
        if addtools and isa(v, "Tool") then
378
            for i1, v1 in pairs(getdescendants(v)) do
379
                if v1 and v1.Parent and isa(v1, "BasePart") then
380
                    local bv = Instance.new("BodyVelocity")
381
                    bv.Velocity, bv.MaxForce, bv.P, bv.Name = v3_0, v3(1000, 1000, 1000), 1250, "bv_" .. v.Name
382
                    bv.Parent = v1
383
                end
384
            end
385
        end
386
        v.Parent = model
387
    end
388
end
389
390
if breakjoints then
391
    model:BreakJoints()
392
else
393
    if head and torso then
394
        for i, v in pairs(getdescendants(model)) do
395
            if isa(v, "JointInstance") then
396
                local save = false
397
                if (v.Part0 == torso) and (v.Part1 == head) then
398
                    save = true
399
                end
400
                if (v.Part0 == head) and (v.Part1 == torso) then
401
                    save = true
402
                end
403
                if save then
404
                    if hedafterneck then
405
                        hedafterneck = v
406
                    end
407
                else
408
                    pcall(destroy, v)
409
                end
410
            end
411
        end
412
    end
413
    if method == 3 then
414
        task.delay(loadtime, pcall, model.BreakJoints, model)
415
    end
416
end
417
418
cl.Parent = ws
419
for i, v in pairs(getchildren(cl)) do
420
    v.Parent = c
421
end
422
pcall(destroy, cl)
423
424
local uncollide, noclipcon = nil, nil
425
if noclipAllParts then
426
    uncollide = function()
427
        if c then
428
            for i, v in pairs(getdescendants(c)) do
429
                if isa(v, "BasePart") then
430
                    v.CanCollide = false
431
                end
432
            end
433
        else
434
            noclipcon:Disconnect()
435
        end
436
    end
437
else
438
    uncollide = function()
439
        if model then
440
            for i, v in pairs(getdescendants(model)) do
441
                if isa(v, "BasePart") then
442
                    v.CanCollide = false
443
                end
444
            end
445
        else
446
            noclipcon:Disconnect()
447
        end
448
    end
449
end
450
noclipcon = stepped:Connect(uncollide)
451
uncollide()
452
453
for i, scr in pairs(getdescendants(model)) do
454
    if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
455
        local Part0 = scr.Parent
456
        if isa(Part0, "BasePart") then
457
            for i1, scr1 in pairs(getdescendants(c)) do
458
                if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
459
                    local Part1 = scr1.Parent
460
                    if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
461
                        align(Part0, Part1)
462
                        pcall(destroy, scr)
463
                        pcall(destroy, scr1)
464
                        break
465
                    end
466
                end
467
            end
468
        end
469
    end
470
end
471
472
for i, v in pairs(getdescendants(c)) do
473
    if v and v.Parent and (not v:IsDescendantOf(model)) then
474
        if isa(v, "Decal") then
475
            v.Transparency = 1
476
        elseif isa(v, "BasePart") then
477
            v.Transparency = 1
478
            v.Anchored = false
479
        elseif isa(v, "ForceField") then
480
            v.Visible = false
481
        elseif isa(v, "Sound") then
482
            v.Playing = false
483
        elseif isa(v, "BillboardGui") or isa(v, "SurfaceGui") or isa(v, "ParticleEmitter") or isa(v, "Fire") or isa(v, "Smoke") or isa(v, "Sparkles") then
484
            v.Enabled = false
485
        end
486
    end
487
end
488
489
if newanimate then
490
    local animate = gp(c, "Animate", "LocalScript")
491
    if animate then
492
        animate.Disabled = false
493
    end
494
end
495
496
if addtools then
497
    for i, v in pairs(getchildren(c)) do
498
        if isa(v, "Tool") then
499
            v.Parent = addtools
500
        end
501
    end
502
end
503
504
local hum0, hum1 = model:FindFirstChildOfClass("Humanoid"), c:FindFirstChildOfClass("Humanoid")
505
if hum0 then
506
    hum0:GetPropertyChangedSignal("Parent"):Connect(function()
507
        if not (hum0 and hum0.Parent) then
508
            hum0 = nil
509
        end
510
    end)
511
end
512
if hum1 then
513
    hum1:GetPropertyChangedSignal("Parent"):Connect(function()
514
        if not (hum1 and hum1.Parent) then
515
            hum1 = nil
516
        end
517
    end)
518
519
    ws.CurrentCamera.CameraSubject = hum1
520
    local camSubCon = nil
521
    local function camSubFunc()
522
        camSubCon:Disconnect()
523
        if c and hum1 then
524
            ws.CurrentCamera.CameraSubject = hum1
525
        end
526
    end
527
    camSubCon = renderstepped:Connect(camSubFunc)
528
    if hum0 then
529
        hum0:GetPropertyChangedSignal("Jump"):Connect(function()
530
            if hum1 then
531
                hum1.Jump = hum0.Jump
532
            end
533
        end)
534
    else
535
        respawnrequest()
536
    end
537
end
538
539
local rb = Instance.new("BindableEvent", c)
540
rb.Event:Connect(function()
541
    pcall(destroy, rb)
542
    sg:SetCore("ResetButtonCallback", true)
543
    if destroyhum then
544
        if c then c:BreakJoints() end
545
        return
546
    end
547
    if model and hum0 and (hum0.Health > 0) then
548
        model:BreakJoints()
549
        hum0.Health = 0
550
    end
551
    if antirespawn then
552
        respawnrequest()
553
    end
554
end)
555
sg:SetCore("ResetButtonCallback", rb)
556
557
tdelay(0, function()
558
    while c do
559
        if hum0 and hum1 then
560
            hum1.Jump = hum0.Jump
561
        end
562
        wait()
563
    end
564
    sg:SetCore("ResetButtonCallback", true)
565
end)
566
567
R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
568
if R15toR6 then
569
    local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
570
    if part then
571
        local cfr = part.CFrame
572
        local R6parts = { 
573
            head = {
574
                Name = "Head",
575
                Size = v3(2, 1, 1),
576
                R15 = {
577
                    Head = 0
578
                }
579
            },
580
            torso = {
581
                Name = "Torso",
582
                Size = v3(2, 2, 1),
583
                R15 = {
584
                    UpperTorso = 0.2,
585
                    LowerTorso = -0.8
586
                }
587
            },
588
            root = {
589
                Name = "HumanoidRootPart",
590
                Size = v3(2, 2, 1),
591
                R15 = {
592
                    HumanoidRootPart = 0
593
                }
594
            },
595
            leftArm = {
596
                Name = "Left Arm",
597
                Size = v3(1, 2, 1),
598
                R15 = {
599
                    LeftHand = -0.849,
600
                    LeftLowerArm = -0.174,
601
                    LeftUpperArm = 0.415
602
                }
603
            },
604
            rightArm = {
605
                Name = "Right Arm",
606
                Size = v3(1, 2, 1),
607
                R15 = {
608
                    RightHand = -0.849,
609
                    RightLowerArm = -0.174,
610
                    RightUpperArm = 0.415
611
                }
612
            },
613
            leftLeg = {
614
                Name = "Left Leg",
615
                Size = v3(1, 2, 1),
616
                R15 = {
617
                    LeftFoot = -0.85,
618
                    LeftLowerLeg = -0.29,
619
                    LeftUpperLeg = 0.49
620
                }
621
            },
622
            rightLeg = {
623
                Name = "Right Leg",
624
                Size = v3(1, 2, 1),
625
                R15 = {
626
                    RightFoot = -0.85,
627
                    RightLowerLeg = -0.29,
628
                    RightUpperLeg = 0.49
629
                }
630
            }
631
        }
632
        for i, v in pairs(getchildren(c)) do
633
            if isa(v, "BasePart") then
634
                for i1, v1 in pairs(getchildren(v)) do
635
                    if isa(v1, "Motor6D") then
636
                        v1.Part0 = nil
637
                    end
638
                end
639
            end
640
        end
641
        part.Archivable = true
642
        for i, v in pairs(R6parts) do
643
            local part = clone(part)
644
            part:ClearAllChildren()
645
            part.Name, part.Size, part.CFrame, part.Anchored, part.Transparency, part.CanCollide = v.Name, v.Size, cfr, false, 1, false
646
            for i1, v1 in pairs(v.R15) do
647
                local R15part = gp(c, i1, "BasePart")
648
                local att = gp(R15part, "att1_" .. i1, "Attachment")
649
                if R15part then
650
                    local weld = Instance.new("Weld")
651
                    weld.Part0, weld.Part1, weld.C0, weld.C1, weld.Name = part, R15part, cf(0, v1, 0), cf_0, "Weld_" .. i1
652
                    weld.Parent = R15part
653
                    R15part.Massless, R15part.Name = true, "R15_" .. i1
654
                    R15part.Parent = part
655
                    if att then
656
                        att.Position = v3(0, v1, 0)
657
                        att.Parent = part
658
                    end
659
                end
660
            end
661
            part.Parent = c
662
            R6parts[i] = part
663
        end
664
        local R6joints = {
665
            neck = {
666
                Parent = R6parts.torso,
667
                Name = "Neck",
668
                Part0 = R6parts.torso,
669
                Part1 = R6parts.head,
670
                C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
671
                C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
672
            },
673
            rootJoint = {
674
                Parent = R6parts.root,
675
                Name = "RootJoint" ,
676
                Part0 = R6parts.root,
677
                Part1 = R6parts.torso,
678
                C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
679
                C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
680
            },
681
            rightShoulder = {
682
                Parent = R6parts.torso,
683
                Name = "Right Shoulder",
684
                Part0 = R6parts.torso,
685
                Part1 = R6parts.rightArm,
686
                C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
687
                C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
688
            },
689
            leftShoulder = {
690
                Parent = R6parts.torso,
691
                Name = "Left Shoulder",
692
                Part0 = R6parts.torso,
693
                Part1 = R6parts.leftArm,
694
                C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
695
                C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
696
            },
697
            rightHip = {
698
                Parent = R6parts.torso,
699
                Name = "Right Hip",
700
                Part0 = R6parts.torso,
701
                Part1 = R6parts.rightLeg,
702
                C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
703
                C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
704
            },
705
            leftHip = {
706
                Parent = R6parts.torso,
707
                Name = "Left Hip" ,
708
                Part0 = R6parts.torso,
709
                Part1 = R6parts.leftLeg,
710
                C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
711
                C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
712
            }
713
        }
714
        for i, v in pairs(R6joints) do
715
            local joint = Instance.new("Motor6D")
716
            for prop, val in pairs(v) do
717
                joint[prop] = val
718
            end
719
            R6joints[i] = joint
720
        end
721
        if hum1 then
722
            hum1.RigType, hum1.HipHeight = Enum.HumanoidRigType.R6, 0
723
        end
724
    end
725
end
726
727
local torso1 = torso
728
torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
729
if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
730
    local conNeck, conTorso, conTorso1 = nil, nil, nil
731
    local aligns = {}
732
    local function enableAligns()
733
        conNeck:Disconnect()
734
        conTorso:Disconnect()
735
        conTorso1:Disconnect()
736
        for i, v in pairs(aligns) do
737
            v.Enabled = true
738
        end
739
    end
740
    conNeck = hedafterneck.Changed:Connect(function(prop)
741
        if table.find({"Part0", "Part1", "Parent"}, prop) then
742
            enableAligns()
743
        end
744
    end)
745
    conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
746
    conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
747
    for i, v in pairs(getdescendants(head)) do
748
        if isa(v, "AlignPosition") or isa(v, "AlignOrientation") then
749
            i = tostring(i)
750
            aligns[i] = v
751
            v:GetPropertyChangedSignal("Parent"):Connect(function()
752
                aligns[i] = nil
753
            end)
754
            v.Enabled = false
755
        end
756
    end
757
end
758
759
local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
760
local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
761
762
local fling = function() end
763
if flingpart0 and flingpart1 then
764
    flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
765
        if not (flingpart0 and flingpart0.Parent) then
766
            flingpart0 = nil
767
            fling = function() end
768
        end
769
    end)
770
    flingpart0.Archivable = true
771
    flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
772
        if not (flingpart1 and flingpart1.Parent) then
773
            flingpart1 = nil
774
            fling = function() end
775
        end
776
    end)
777
    local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
778
    local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
779
    if att0 and att1 then
780
        att0:GetPropertyChangedSignal("Parent"):Connect(function()
781
            if not (att0 and att0.Parent) then
782
                att0 = nil
783
                fling = function() end
784
            end
785
        end)
786
        att1:GetPropertyChangedSignal("Parent"):Connect(function()
787
            if not (att1 and att1.Parent) then
788
                att1 = nil
789
                fling = function() end
790
            end
791
        end)
792
        local lastfling = nil
793
        local mouse = lp:GetMouse()
794
        fling = function(target, duration, rotVelocity)
795
            if typeof(target) == "Instance" then
796
                if isa(target, "BasePart") then
797
                    target = target.Position
798
                elseif isa(target, "Model") then
799
                    target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
800
                    if target then
801
                        target = target.Position
802
                    else
803
                        return
804
                    end
805
                elseif isa(target, "Humanoid") then
806
                    target = target.Parent
807
                    if not (target and isa(target, "Model")) then
808
                        return
809
                    end
810
                    target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
811
                    if target then
812
                        target = target.Position
813
                    else
814
                        return
815
                    end
816
                else
817
                    return
818
                end
819
            elseif typeof(target) == "CFrame" then
820
                target = target.Position
821
            elseif typeof(target) ~= "Vector3" then
822
                target = mouse.Hit
823
                if target then
824
                    target = target.Position
825
                else
826
                    return
827
                end
828
            end
829
            if target.Y < ws.FallenPartsDestroyHeight + 5 then
830
                target = v3(target.X, ws.FallenPartsDestroyHeight + 5, target.Z)
831
            end
832
            lastfling = target
833
            if type(duration) ~= "number" then
834
                duration = tonumber(duration) or 0.5
835
            end
836
            if typeof(rotVelocity) ~= "Vector3" then
837
                rotVelocity = v3(20000, 20000, 20000)
838
            end
839
            if not (target and flingpart0 and flingpart1 and att0 and att1) then
840
                return
841
            end
842
            flingpart0.Archivable = true
843
            local flingpart = clone(flingpart0)
844
            flingpart.Transparency = 1
845
            flingpart.CanCollide = false
846
            flingpart.Name = "flingpart_" .. flingpart0.Name
847
            flingpart.Anchored = true
848
            flingpart.Velocity = v3_0
849
            flingpart.RotVelocity = v3_0
850
            flingpart.Position = target
851
            flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
852
                if not (flingpart and flingpart.Parent) then
853
                    flingpart = nil
854
                end
855
            end)
856
            flingpart.Parent = flingpart1
857
            if flingpart0.Transparency > 0.5 then
858
                flingpart0.Transparency = 0.5
859
            end
860
            att1.Parent = flingpart
861
            local con = nil
862
            local rotchg = v3(0, rotVelocity.Unit.Y * -1000, 0)
863
            con = heartbeat:Connect(function(delta)
864
                if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
865
                    flingpart.Orientation += rotchg * delta
866
                    flingpart0.RotVelocity = rotVelocity
867
                else
868
                    con:Disconnect()
869
                end
870
            end)
871
            if alignmode ~= 4 then
872
                local con = nil
873
                con = renderstepped:Connect(function()
874
                    if flingpart0 and target then
875
                        flingpart0.RotVelocity = v3_0
876
                    else
877
                        con:Disconnect()
878
                    end
879
                end)
880
            end
881
            twait(duration)
882
            if lastfling ~= target then
883
                if flingpart then
884
                    if att1 and (att1.Parent == flingpart) then
885
                        att1.Parent = flingpart1
886
                    end
887
                    pcall(destroy, flingpart)
888
                end
889
                return
890
            end
891
            target = nil
892
            if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
893
                return
894
            end
895
            flingpart0.RotVelocity = v3_0
896
            att1.Parent = flingpart1
897
            pcall(destroy, flingpart)
898
        end
899
    end
900
end
901
902
lp:GetMouse().Button1Down:Connect(fling) --click fling
903
904
lol = getcustomasset or getsynasset
905
getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
906
907
Player = game:GetService("Players").LocalPlayer
908
Character = Player.Character 
909
PlayerGui = Player.PlayerGui 
910
Backpack = Player.Backpack 
911
Torso = Character.Torso 
912
Head = Character.Head 
913
LeftArm = Character["Left Arm"] 
914
LeftLeg = Character["Left Leg"] 
915
RightArm = Character["Right Arm"] 
916
RightLeg = Character["Right Leg"] 
917
LS = Torso["Left Shoulder"] 
918
LH = Torso["Left Hip"] 
919
RS = Torso["Right Shoulder"] 
920
RH = Torso["Right Hip"] 
921
attack = false 
922
attackdebounce = false 
923
combo = 0 
924
mana = 800 
925
necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) 
926
comboing = false 
927
--player 
928
player = nil 
929
--save shoulders 
930
RSH, LSH = nil, nil 
931
--welds 
932
RW, LW = Instance.new("Weld"), Instance.new("Weld") 
933
--what anim 
934
anim = "none" 
935
if Character:findFirstChild("Harute",true) ~= nil then 
936
Character:findFirstChild("Harute",true).Parent = nil 
937
end 
938
if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then 
939
Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil 
940
end 
941
local modelzorz = Instance.new("Model") 
942
modelzorz.Name = "Harute" 
943
modelzorz.Parent = Character 
944
local prt1 = Instance.new("Part") 
945
prt1.formFactor = 1 
946
prt1.Parent = modelzorz 
947
prt1.CanCollide = false 
948
prt1.BrickColor = BrickColor.new("Really black") 
949
prt1.Name = "Part1" 
950
prt1.Transparency = 0.4 
951
prt1.Size = Vector3.new(1,1,1) 
952
prt1.Position = Torso.Position 
953
local prt2 = Instance.new("Part") 
954
prt2.formFactor = 1 
955
prt2.Parent = modelzorz 
956
prt2.CanCollide = false 
957
prt2.BrickColor = BrickColor.new("Bright red") 
958
prt2.Name = "Part2" 
959
prt2.Transparency = 0.4 
960
prt2.Size = Vector3.new(1,1,1) 
961
prt2.Position = Torso.Position 
962
local prt3 = Instance.new("Part") 
963
prt3.formFactor = 1 
964
prt3.Parent = modelzorz 
965
prt3.CanCollide = false 
966
prt3.BrickColor = BrickColor.new("Really black") 
967
prt3.Name = "Part3" 
968
prt3.Transparency = 0.4 
969
prt3.Size = Vector3.new(1,1,1) 
970
prt3.Position = Torso.Position 
971
local prt4 = Instance.new("Part") 
972
prt4.formFactor = 1 
973
prt4.Parent = modelzorz 
974
prt4.CanCollide = false 
975
prt4.BrickColor = BrickColor.new("Bright red") 
976
prt4.Name = "Part4" 
977
prt4.Transparency = 0.4 
978
prt4.Size = Vector3.new(1,1,1) 
979
prt4.Position = Torso.Position 
980
local prt5 = Instance.new("Part") 
981
prt5.formFactor = 1 
982
prt5.Parent = modelzorz 
983
prt5.CanCollide = false 
984
prt5.BrickColor = BrickColor.new("Really black") 
985
prt5.Name = "Part5" 
986
prt5.Transparency = 0.4 
987
prt5.Size = Vector3.new(1,1,1) 
988
prt5.Position = Torso.Position 
989
local prt6 = Instance.new("Part") 
990
prt6.formFactor = 1 
991
prt6.Parent = modelzorz 
992
prt6.CanCollide = false 
993
prt6.BrickColor = BrickColor.new("Bright red") 
994
prt6.Name = "Part6" 
995
prt6.Transparency = 0.4 
996
prt6.Size = Vector3.new(1,1,1) 
997
prt6.Position = Torso.Position 
998
local prt7 = Instance.new("Part") 
999
prt7.formFactor = 1 
1000
prt7.Parent = modelzorz 
1001
prt7.CanCollide = false 
1002
prt7.BrickColor = BrickColor.new("Really black") 
1003
prt7.Name = "Part7" 
1004
prt7.Transparency = 0.4 
1005
prt7.Size = Vector3.new(1,1,1) 
1006
prt7.Position = Torso.Position 
1007
local prt8 = Instance.new("Part") 
1008
prt8.formFactor = 1 
1009
prt8.Parent = modelzorz 
1010
prt8.CanCollide = false 
1011
prt8.BrickColor = BrickColor.new("Bright red") 
1012
prt8.Name = "Part8" 
1013
prt8.Transparency = 0.4 
1014
prt8.Size = Vector3.new(1,1,1) 
1015
prt8.Position = Torso.Position 
1016
local msh1 = Instance.new("BlockMesh") 
1017
msh1.Parent = prt1 
1018
msh1.Scale = Vector3.new(0.5,1,0.5) 
1019
local msh2 = Instance.new("BlockMesh") 
1020
msh2.Parent = prt2 
1021
msh2.Scale = Vector3.new(0.5,1,0.5) 
1022
local msh3 = Instance.new("BlockMesh") 
1023
msh3.Parent = prt3 
1024
msh3.Scale = Vector3.new(0.5,1,0.5) 
1025
local msh4 = Instance.new("BlockMesh") 
1026
msh4.Parent = prt4 
1027
msh4.Scale = Vector3.new(0.5,1,0.5) 
1028
local msh5 = Instance.new("BlockMesh") 
1029
msh5.Parent = prt5 
1030
msh5.Scale = Vector3.new(0.5,1,0.5) 
1031
local msh6 = Instance.new("BlockMesh") 
1032
msh6.Parent = prt6 
1033
msh6.Scale = Vector3.new(0.5,1,0.5) 
1034
local msh7 = Instance.new("BlockMesh") 
1035
msh7.Parent = prt7 
1036
msh7.Scale = Vector3.new(0.5,1,0.5) 
1037
local msh8 = Instance.new("BlockMesh") 
1038
msh8.Parent = prt8 
1039
msh8.Scale = Vector3.new(0.5,1,0.5) 
1040
local wld1 = Instance.new("Weld") 
1041
wld1.Parent = prt1 
1042
wld1.Part0 = prt1 
1043
wld1.Part1 = Torso 
1044
wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1045
local wld2 = Instance.new("Weld") 
1046
wld2.Parent = prt2 
1047
wld2.Part0 = prt2 
1048
wld2.Part1 = Torso 
1049
wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1050
local wld3 = Instance.new("Weld") 
1051
wld3.Parent = prt3 
1052
wld3.Part0 = prt3 
1053
wld3.Part1 = Torso 
1054
wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1055
local wld4 = Instance.new("Weld") 
1056
wld4.Parent = prt4 
1057
wld4.Part0 = prt4 
1058
wld4.Part1 = Torso 
1059
wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1060
local wld5 = Instance.new("Weld") 
1061
wld5.Parent = prt5 
1062
wld5.Part0 = prt5 
1063
wld5.Part1 = Torso 
1064
wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1065
local wld6 = Instance.new("Weld") 
1066
wld6.Parent = prt6 
1067
wld6.Part0 = prt6 
1068
wld6.Part1 = Torso 
1069
wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1070
local wld7 = Instance.new("Weld") 
1071
wld7.Parent = prt7 
1072
wld7.Part0 = prt7 
1073
wld7.Part1 = Torso 
1074
wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1075
local wld8 = Instance.new("Weld") 
1076
wld8.Parent = prt8 
1077
wld8.Part0 = prt8 
1078
wld8.Part1 = Torso 
1079
wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1080
local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL 
1081
--SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" 
1082
SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" 
1083
SlashSound.Parent = modelzorz 
1084
SlashSound.Volume = .7 
1085
SlashSound.Pitch = 1 
1086
local SlashSound = Instance.new("Sound") 
1087
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" 
1088
SlashSound.Parent = workspace 
1089
SlashSound.Volume = .5 
1090
SlashSound.Pitch = 1 
1091
local SlashSound = Instance.new("Sound") 
1092
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" 
1093
SlashSound.Parent = workspace 
1094
SlashSound.Volume = .7 
1095
SlashSound.Pitch = 1 
1096
local SlashSound = Instance.new("Sound") 
1097
SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" 
1098
SlashSound.Parent = workspace 
1099
SlashSound.Volume = .7 
1100
SlashSound.Pitch = 1 
1101
local fengui = Instance.new("GuiMain") 
1102
fengui.Parent = Player.PlayerGui 
1103
fengui.Name = "manaGUI" 
1104
local fenframe = Instance.new("Frame") 
1105
fenframe.Parent = fengui 
1106
fenframe.BackgroundColor3 = Color3.new(255,255,255) 
1107
fenframe.BackgroundTransparency = 1 
1108
fenframe.BorderColor3 = Color3.new(17,17,17) 
1109
fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0) 
1110
local fentext = Instance.new("TextLabel") 
1111
fentext.Parent = fenframe 
1112
fentext.Text = "Energy("..mana..")" 
1113
fentext.BackgroundTransparency = 1 
1114
fentext.SizeConstraint = "RelativeXY" 
1115
fentext.TextXAlignment = "Center" 
1116
fentext.TextYAlignment = "Center" 
1117
fentext.Position = UDim2.new(0,80,1,200) 
1118
local fentext2 = Instance.new("TextLabel") 
1119
fentext2.Parent = fenframe 
1120
fentext2.Text = " " 
1121
fentext2.BackgroundTransparency = 0 
1122
fentext2.BackgroundColor3 = Color3.new(0,0,0) 
1123
fentext2.SizeConstraint = "RelativeXY" 
1124
fentext2.TextXAlignment = "Center" 
1125
fentext2.TextYAlignment = "Center" 
1126
fentext2.Position = UDim2.new(0,10,1,170) 
1127
fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0) 
1128
local fentext3 = Instance.new("TextLabel") 
1129
fentext3.Parent = fenframe 
1130
fentext3.Text = " " 
1131
fentext3.BackgroundTransparency = 0 
1132
fentext3.BackgroundColor3 = Color3.new(1,1,0) 
1133
fentext3.SizeConstraint = "RelativeXY" 
1134
fentext3.TextXAlignment = "Center" 
1135
fentext3.TextYAlignment = "Center" 
1136
fentext3.Position = UDim2.new(0,10,1,170) 
1137
fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0) 
1138
--2.9000001, 0}, {0.450000018, 0} 
1139
local gairo = Instance.new("BodyGyro") 
1140
gairo.Parent = nil 
1141
gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge 
1142
gairo.P = 20e+003 
1143
if (script.Parent.className ~= "HopperBin") then 
1144
Tool = Instance.new("HopperBin") 
1145
Tool.Parent = Backpack 
1146
Tool.Name = "Harute" 
1147
script.Parent = Tool 
1148
end 
1149
Bin = script.Parent 
1150
function hideanim() 
1151
end 
1152
function equipanim() 
1153
end 
1154
function onehit() 
1155
if mana >= 0 then 
1156
attack = true 
1157
comboing = true 
1158
for i = 0,1,0.1 do 
1159
wait() 
1160
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1161
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1162
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1163
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1164
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1165
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1166
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1167
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1168
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1169
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1170
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1171
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1172
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1173
end 
1174
wait(0.1) 
1175
gairo.Parent = Head 
1176
gairo.cframe = Head.CFrame 
1177
for i = 0,1,0.1 do 
1178
wait() 
1179
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1*i) 
1180
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5*i) 
1181
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1182
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1183
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1184
--[[wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1185
wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1186
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) ]] 
1187
wld4.C0 = CFrame.new(1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,2.355-0.785*i) 
1188
wld5.C0 = CFrame.new(-0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.14-1.57*i) 
1189
--[[wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1190
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1191
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) ]] 
1192
end 
1193
wait(0.1) 
1194
if mana >= 0 then 
1195
mana = mana - 10 
1196
else 
1197
mana = 0 
1198
end 
1199
lasersound(4) 
1200
lasersound(4) 
1201
Laser(prt4,math.random(20,40)) 
1202
Laser(prt5,math.random(20,40)) 
1203
attack = false 
1204
end 
1205
end 
1206
function twohit() 
1207
if mana >= 0 then 
1208
attack = true 
1209
for i = 0,1,0.1 do 
1210
wait() 
1211
wld4.C0 = CFrame.new(1.3-1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,2.355-0.785+0.785*i) 
1212
wld5.C0 = CFrame.new(-0.3+0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.14-1.57+1.57*i) 
1213
wld6.C0 = CFrame.new(0.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,3.925+0.785*i) 
1214
wld7.C0 = CFrame.new(-1.3*i,1.6+3-2*i,-1+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,4.71) 
1215
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2*i) 
1216
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+0.5-0.5*i) 
1217
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1218
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5*i) 
1219
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1220
end 
1221
wait(0.1) 
1222
if mana >= 0 then 
1223
mana = mana - 5 
1224
else 
1225
mana = 0 
1226
end 
1227
lasersound(4) 
1228
lasersound(4) 
1229
Laser(prt6,math.random(20,40)) 
1230
Laser(prt7,math.random(20,40)) 
1231
wait(0.1) 
1232
attack = false 
1233
end 
1234
end 
1235
function threehit() 
1236
if mana >= 0 then 
1237
attack = true 
1238
for i = 0,1,0.1 do 
1239
wait() 
1240
wld6.C0 = CFrame.new(0.3-0.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,3.925+0.785-0.785*i) 
1241
wld7.C0 = CFrame.new(-1.3+1.3*i,1.6+3-2+2*i,-1+0.2-0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,4.71) 
1242
wld8.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,5.495-5.495*i) 
1243
wld1.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) 
1244
wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,0.785-0.785*i) 
1245
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1-2+1*i) 
1246
LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) 
1247
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1248
RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-0.5-1.27*i) 
1249
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1250
end 
1251
wait(0.1) 
1252
if mana >= 0 then 
1253
mana = mana - 8 
1254
else 
1255
mana = 0 
1256
end 
1257
lasersound(4) 
1258
lasersound(4) 
1259
lasersound(4) 
1260
Laser(prt8,math.random(20,40)) 
1261
Laser(prt1,math.random(20,40)) 
1262
Laser(prt2,math.random(20,40)) 
1263
wait(0.1) 
1264
attack = false 
1265
end 
1266
end 
1267
function fourhit() 
1268
if mana >= 0 then 
1269
attack = true 
1270
for i = 0,1,0.1 do 
1271
wait() 
1272
wld8.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0.5*i,5.495-5.495+5.495*i) 
1273
wld1.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) 
1274
wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,-0.5*i,0.785-0.785+0.785*i) 
1275
wld3.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5*i) 
1276
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57*i) 
1277
LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77*i) 
1278
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) 
1279
RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-0.5-1.27+1*i) 
1280
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1281
end 
1282
wait(0.1) 
1283
for i = 0,1,0.1 do 
1284
wait() 
1285
wld3.C0 = CFrame.new(0,1.6+3,-1+1) * CFrame.fromEulerAnglesXYZ(0,0,1.57+0.5-0.8*i) 
1286
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1287
LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,0.2-1.77) 
1288
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0) 
1289
RW.C0 = CFrame.new(1.5-0.5+0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1.57-1.57,0,1.57-0.5-1.27+1) 
1290
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1291
if mana >= 0 then 
1292
mana = mana - 1 
1293
else 
1294
mana = 0 
1295
end 
1296
lasersound(4) 
1297
Laser(prt3,math.random(5,15)) 
1298
end 
1299
wait(0.1) 
1300
attack = false 
1301
end 
1302
end 
1303
function LaserWave() 
1304
if mana >= 0 then 
1305
attack = true 
1306
for i = 0,1,0.1 do 
1307
wait() 
1308
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1309
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1310
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1311
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1312
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1313
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1314
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1315
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1316
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1317
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1318
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1319
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1320
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1321
end 
1322
wait(0.1) 
1323
for i = 0,1,0.1 do 
1324
wait() 
1325
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) 
1326
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1327
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) 
1328
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1329
wld1.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) 
1330
wld3.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) 
1331
wld5.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) 
1332
wld7.C0 = CFrame.new(0,1.6+3,-1+4*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) 
1333
end 
1334
if mana >= 0 then 
1335
mana = mana - 20 
1336
else 
1337
mana = 0 
1338
end 
1339
lasersound(4) 
1340
lasersound(4) 
1341
lasersound(4) 
1342
lasersound(4) 
1343
Laser(prt1,math.random(10,20)) 
1344
Laser(prt3,math.random(10,20)) 
1345
Laser(prt5,math.random(10,20)) 
1346
Laser(prt7,math.random(10,20)) 
1347
wait(0.1) 
1348
for i = 0,1,0.1 do 
1349
wait() 
1350
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) 
1351
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1352
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) 
1353
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1354
wld1.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) 
1355
wld3.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) 
1356
wld5.C0 = CFrame.new(0.5-0.5*i,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) 
1357
wld7.C0 = CFrame.new(0,1.6+3,-1+4-4*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) 
1358
end 
1359
for i = 0,1,0.1 do 
1360
wait() 
1361
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) 
1362
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1363
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) 
1364
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1365
wld2.C0 = CFrame.new(0,1.6+3,-1+2*i) * CFrame.fromEulerAnglesXYZ(-1.97*i,0,0.785-0.785*i) 
1366
wld4.C0 = CFrame.new(0,1.6+3,-1+1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77*i,0,2.355-2.355*i) 
1367
wld6.C0 = CFrame.new(0,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) 
1368
wld8.C0 = CFrame.new(0,1.6+3,-1+0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37*i,0,5.495-5.495*i) 
1369
end 
1370
if mana >= 0 then 
1371
mana = mana - 20 
1372
else 
1373
mana = 0 
1374
end 
1375
lasersound(4) 
1376
lasersound(4) 
1377
lasersound(4) 
1378
lasersound(4) 
1379
Laser(prt2,math.random(10,20)) 
1380
Laser(prt4,math.random(10,20)) 
1381
Laser(prt6,math.random(10,20)) 
1382
Laser(prt8,math.random(10,20)) 
1383
wait(0.1) 
1384
for i = 0,1,0.1 do 
1385
wait() 
1386
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77-1.77*i) 
1387
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1388
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77+1.77*i) 
1389
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1390
wld2.C0 = CFrame.new(0,1.6+3,-1+2-2*i) * CFrame.fromEulerAnglesXYZ(-1.97+1.97*i,0,-0.785*i) 
1391
wld4.C0 = CFrame.new(0,1.6+3,-1+1.5-1.5*i) * CFrame.fromEulerAnglesXYZ(-1.77+1.77*i,0,-2.355*i) 
1392
wld6.C0 = CFrame.new(0,1.6+3,-1+1-1*i) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,-3.925*i) 
1393
wld8.C0 = CFrame.new(0,1.6+3,-1+0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.37+1.37*i,0,-5.495*i) 
1394
end 
1395
wait(0.1) 
1396
attack = false 
1397
end 
1398
end 
1399
function OverBlast() 
1400
if mana >= 0 then 
1401
attack = true 
1402
for i = 0,1,0.1 do 
1403
wait() 
1404
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1405
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1406
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1407
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1408
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1409
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1410
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1411
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1412
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1413
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1414
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1415
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1416
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1417
end 
1418
for i = 0,1.05,0.05 do 
1419
wait() 
1420
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1421
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+1.77*i) 
1422
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1423
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.77*i) 
1424
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1425
wld1.C0 = CFrame.new(-1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.5*i,6.28) 
1426
wld2.C0 = CFrame.new(-1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.3*i,0.785+5.495*i) 
1427
wld3.C0 = CFrame.new(1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.3*i,1.57+4.71*i) 
1428
wld4.C0 = CFrame.new(1.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.5*i,2.355+3.925*i) 
1429
wld5.C0 = CFrame.new(-1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0.1*i,3.14-3.14*i) 
1430
wld6.C0 = CFrame.new(-0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925-3.925*i) 
1431
wld7.C0 = CFrame.new(0.6*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0,4.71-4.71*i) 
1432
wld8.C0 = CFrame.new(1.1*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,-0.1*i,5.495-5.495*i) 
1433
end 
1434
if mana >= 0 then 
1435
mana = mana - 50 
1436
else 
1437
mana = 0 
1438
end 
1439
lasersound(4) 
1440
lasersound(4) 
1441
lasersound(4) 
1442
lasersound(4) 
1443
lasersound(4) 
1444
lasersound(4) 
1445
lasersound(4) 
1446
lasersound(4) 
1447
Laser(prt1,math.random(5,15)) 
1448
Laser(prt2,math.random(5,15)) 
1449
Laser(prt3,math.random(5,15)) 
1450
Laser(prt4,math.random(5,15)) 
1451
Laser(prt5,math.random(5,15)) 
1452
Laser(prt6,math.random(5,15)) 
1453
Laser(prt7,math.random(5,15)) 
1454
Laser(prt8,math.random(5,15)) 
1455
wait(0.2) 
1456
for i = 0,1.05,0.05 do 
1457
wait() 
1458
wld1.C0 = CFrame.new(-1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.5-0.5*i,6.28) 
1459
wld2.C0 = CFrame.new(-1+0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.3-0.3*i,0.785+5.495) 
1460
wld3.C0 = CFrame.new(1-0.5*i,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.3+0.3*i,1.57+4.71) 
1461
wld4.C0 = CFrame.new(1.5,1.6+3,-1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.5+0.5*i,2.355+3.925) 
1462
wld5.C0 = CFrame.new(-1.1-0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0.1-0.1*i,3.14-3.14) 
1463
wld6.C0 = CFrame.new(-0.6+0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,3.925-3.925) 
1464
wld7.C0 = CFrame.new(0.6-0.1*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,0,4.71-4.71) 
1465
wld8.C0 = CFrame.new(1.1+0.4*i,1.6+3,1*i) * CFrame.fromEulerAnglesXYZ(-1.57,-0.1+0.1*i,5.495-5.495) 
1466
end 
1467
if mana >= 0 then 
1468
mana = mana - 50 
1469
else 
1470
mana = 0 
1471
end 
1472
lasersound(4) 
1473
lasersound(4) 
1474
lasersound(4) 
1475
lasersound(4) 
1476
lasersound(4) 
1477
lasersound(4) 
1478
lasersound(4) 
1479
lasersound(4) 
1480
Laser(prt1,math.random(5,15)) 
1481
Laser(prt2,math.random(5,15)) 
1482
Laser(prt3,math.random(5,15)) 
1483
Laser(prt4,math.random(5,15)) 
1484
Laser(prt5,math.random(5,15)) 
1485
Laser(prt6,math.random(5,15)) 
1486
Laser(prt7,math.random(5,15)) 
1487
Laser(prt8,math.random(5,15)) 
1488
wait(0.5) 
1489
attack = false 
1490
end 
1491
end 
1492
function SpinBeam() 
1493
if mana >= 0 then 
1494
attack = true 
1495
for i = 0,1,0.1 do 
1496
wait() 
1497
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1498
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1499
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1500
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1501
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1502
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1503
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1504
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1505
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1506
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1507
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1508
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1509
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1510
end 
1511
for i = 0,1,0.1 do 
1512
wait() 
1513
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1514
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1515
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1516
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1517
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1518
wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1519
wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1520
wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1521
wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1522
wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1523
wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1524
wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1525
wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1526
end 
1527
gairo.Parent = Head 
1528
gairo.cframe = Head.CFrame 
1529
CF = Torso.CFrame 
1530
for i = 0,1,0.1 do 
1531
wait(0.1) 
1532
gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) 
1533
if mana >= 0 then 
1534
mana = mana - 5 
1535
else 
1536
mana = 0 
1537
end 
1538
lasersound(4) 
1539
lasersound(4) 
1540
Laser(prt3,math.random(10,20)) 
1541
Laser(prt7,math.random(10,20)) 
1542
end 
1543
wait(0.2) 
1544
gairo.Parent = nil 
1545
attack = false 
1546
end 
1547
end 
1548
function DodgeTheLaser() 
1549
if mana >= 0 then 
1550
attack = true 
1551
for i = 0,1,0.1 do 
1552
wait() 
1553
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1554
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1555
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1556
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1557
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1558
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1559
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1560
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1561
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1562
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1563
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1564
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1565
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1566
end 
1567
for i = 0,1,0.1 do 
1568
wait() 
1569
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1570
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1571
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1572
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1573
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1574
wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1575
wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1576
wld3.C0 = CFrame.new(0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1577
wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1578
wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1579
wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1580
wld7.C0 = CFrame.new(-0.5*i,1.6+3,-1+1*i) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1581
wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1582
end 
1583
gairo.Parent = Head 
1584
gairo.cframe = Head.CFrame 
1585
CF = Torso.CFrame 
1586
for i = 0,1,0.01 do 
1587
wait(0.1) 
1588
gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0) 
1589
if mana >= 0 then 
1590
mana = mana - 5 
1591
else 
1592
mana = 0 
1593
end 
1594
lasersound(4) 
1595
lasersound(4) 
1596
Laser(prt3,math.random(10,20)) 
1597
Laser(prt7,math.random(10,20)) 
1598
end 
1599
wait() 
1600
gairo.Parent = nil 
1601
attack = false 
1602
end 
1603
end 
1604
function LaserBarrage() 
1605
if mana >= 0 then 
1606
attack = true 
1607
for i = 0,1,0.1 do 
1608
wait() 
1609
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1610
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1611
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1612
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1613
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1614
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1615
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1616
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1617
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1618
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1619
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1620
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1621
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1622
end 
1623
for i = 0,1,0.2 do 
1624
wait() 
1625
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1626
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) 
1627
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1628
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,1.57-1.77*i) 
1629
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1630
wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,6.28) 
1631
end 
1632
if mana >= 0 then 
1633
mana = mana - 1 
1634
else 
1635
mana = 0 
1636
end 
1637
lasersound(4) 
1638
Laser(prt1,math.random(10,20)) 
1639
for i = 0,1,0.2 do 
1640
wait() 
1641
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1642
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) 
1643
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1644
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,1.57-1.77-1.77*i) 
1645
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1646
wld1.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,6.28) 
1647
end 
1648
for i = 0,1,0.2 do 
1649
wait() 
1650
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1651
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5*i,0,-1.57+1.77*i) 
1652
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1653
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1654
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1655
wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,0.785) 
1656
end 
1657
if mana >= 0 then 
1658
mana = mana - 1 
1659
else 
1660
mana = 0 
1661
end 
1662
lasersound(4) 
1663
Laser(prt2,math.random(10,20)) 
1664
for i = 0,1,0.2 do 
1665
wait() 
1666
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1667
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,0,-1.57+1.77-1.77*i) 
1668
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1669
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1670
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1671
wld2.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,0.785) 
1672
end 
1673
for i = 0,1,0.2 do 
1674
wait() 
1675
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1676
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3*i,0,-1.57+1.77*i) 
1677
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1678
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1679
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1680
wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,1.57) 
1681
end 
1682
if mana >= 0 then 
1683
mana = mana - 1 
1684
else 
1685
mana = 0 
1686
end 
1687
lasersound(4) 
1688
Laser(prt3,math.random(10,20)) 
1689
for i = 0,1,0.2 do 
1690
wait() 
1691
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1692
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3*i,0,-1.57+1.77-1.77*i) 
1693
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1694
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1695
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1696
wld3.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,1.57) 
1697
end 
1698
for i = 0,1,0.2 do 
1699
wait() 
1700
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1701
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,-1.57+1.77*i) 
1702
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1703
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1704
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1705
wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,2.355) 
1706
end 
1707
if mana >= 0 then 
1708
mana = mana - 1 
1709
else 
1710
mana = 0 
1711
end 
1712
lasersound(4) 
1713
Laser(prt4,math.random(10,20)) 
1714
for i = 0,1,0.2 do 
1715
wait() 
1716
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1717
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,-1.57+1.77-1.77*i) 
1718
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1719
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
1720
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1721
wld4.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,2.355) 
1722
end 
1723
for i = 0,1,0.2 do 
1724
wait() 
1725
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1726
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+1.77*i) 
1727
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1728
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) 
1729
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1730
wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.14) 
1731
end 
1732
if mana >= 0 then 
1733
mana = mana - 1 
1734
else 
1735
mana = 0 
1736
end 
1737
lasersound(4) 
1738
Laser(prt5,math.random(10,20)) 
1739
for i = 0,1,0.2 do 
1740
wait() 
1741
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1742
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,-1.57+1.77-1.77*i) 
1743
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1744
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) 
1745
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1746
wld5.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.14) 
1747
end 
1748
for i = 0,1,0.2 do 
1749
wait() 
1750
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1751
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1752
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1753
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-1.77*i) 
1754
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1755
wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,3.925) 
1756
end 
1757
if mana >= 0 then 
1758
mana = mana - 1 
1759
else 
1760
mana = 0 
1761
end 
1762
lasersound(4) 
1763
Laser(prt6,math.random(10,20)) 
1764
for i = 0,1,0.2 do 
1765
wait() 
1766
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1767
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1768
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1769
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.5-0.5*i,0,1.57-1.77+1.77*i) 
1770
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1771
wld6.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,3.925) 
1772
end 
1773
for i = 0,1,0.2 do 
1774
wait() 
1775
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1776
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1777
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1778
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) 
1779
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1780
wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,4.71) 
1781
end 
1782
if mana >= 0 then 
1783
mana = mana - 1 
1784
else 
1785
mana = 0 
1786
end 
1787
lasersound(4) 
1788
Laser(prt7,math.random(10,20)) 
1789
for i = 0,1,0.2 do 
1790
wait() 
1791
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1792
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1793
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1794
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) 
1795
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1796
wld7.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,4.71) 
1797
end 
1798
for i = 0,1,0.2 do 
1799
wait() 
1800
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1801
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1802
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1803
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3*i,0,1.57-1.77*i) 
1804
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1805
wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,5.495) 
1806
end 
1807
if mana >= 0 then 
1808
mana = mana - 1 
1809
else 
1810
mana = 0 
1811
end 
1812
lasersound(4) 
1813
Laser(prt8,math.random(10,20)) 
1814
for i = 0,1,0.2 do 
1815
wait() 
1816
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1817
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
1818
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1819
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,0,1.57-1.77+1.77*i) 
1820
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1821
wld8.C0 = CFrame.new(0,1.6+3,-1) * CFrame.fromEulerAnglesXYZ(-1.57+1.57*i,0,5.495) 
1822
end 
1823
wait(0.5) 
1824
attack = false 
1825
end 
1826
end 
1827
function CloseRangedFire() 
1828
if mana >= 0 then 
1829
attack = true 
1830
for i = 0,1,0.1 do 
1831
wait() 
1832
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1833
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1834
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1835
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1836
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1837
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1838
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1839
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1840
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1841
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1842
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1843
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1844
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1845
end 
1846
for i = 0,1,0.1 do 
1847
wait() 
1848
wld1.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,6.28) 
1849
wld2.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,0.785) 
1850
wld3.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,1.57) 
1851
wld4.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,2.355) 
1852
wld5.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.14) 
1853
wld6.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,3.925) 
1854
wld7.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,4.71) 
1855
wld8.C0 = CFrame.new(0,1.6+3-13*i,-1) * CFrame.fromEulerAnglesXYZ(-3*i,0,5.495) 
1856
end 
1857
if mana >= 0 then 
1858
mana = mana - 50 
1859
else 
1860
mana = 0 
1861
end 
1862
lasersound(4) 
1863
lasersound(4) 
1864
lasersound(4) 
1865
lasersound(4) 
1866
lasersound(4) 
1867
lasersound(4) 
1868
lasersound(4) 
1869
lasersound(4) 
1870
Laser(prt1,math.random(5,10)) 
1871
Laser(prt2,math.random(5,10)) 
1872
Laser(prt3,math.random(5,10)) 
1873
Laser(prt4,math.random(5,10)) 
1874
Laser(prt5,math.random(5,10)) 
1875
Laser(prt6,math.random(5,10)) 
1876
Laser(prt7,math.random(5,10)) 
1877
Laser(prt8,math.random(5,10)) 
1878
wait(1) 
1879
attack = false 
1880
end 
1881
end 
1882
function Implosion() 
1883
if mana >= 0 then 
1884
attack = true 
1885
for i = 0,1,0.1 do 
1886
wait() 
1887
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
1888
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
1889
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1890
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
1891
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
1892
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
1893
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
1894
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
1895
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
1896
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
1897
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
1898
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
1899
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
1900
end 
1901
for i = 0,1,0.1 do 
1902
wait() 
1903
wld1.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) 
1904
wld2.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) 
1905
wld3.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) 
1906
wld4.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) 
1907
wld5.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) 
1908
wld6.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) 
1909
wld7.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) 
1910
wld8.C0 = CFrame.new(0,1.6+3-10*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) 
1911
end 
1912
if mana >= 0 then 
1913
mana = mana - 50 
1914
else 
1915
mana = 0 
1916
end 
1917
lasersound(4) 
1918
lasersound(4) 
1919
lasersound(4) 
1920
lasersound(4) 
1921
lasersound(4) 
1922
lasersound(4) 
1923
lasersound(4) 
1924
lasersound(4) 
1925
Laser(prt1,math.random(5,10)) 
1926
Laser(prt2,math.random(5,10)) 
1927
Laser(prt3,math.random(5,10)) 
1928
Laser(prt4,math.random(5,10)) 
1929
Laser(prt5,math.random(5,10)) 
1930
Laser(prt6,math.random(5,10)) 
1931
Laser(prt7,math.random(5,10)) 
1932
Laser(prt8,math.random(5,10)) 
1933
for i = 0,1,0.1 do 
1934
wait() 
1935
wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) 
1936
wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) 
1937
wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) 
1938
wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) 
1939
wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) 
1940
wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) 
1941
wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) 
1942
wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) 
1943
end 
1944
if mana >= 0 then 
1945
mana = mana - 50 
1946
else 
1947
mana = 0 
1948
end 
1949
lasersound(4) 
1950
lasersound(4) 
1951
lasersound(4) 
1952
lasersound(4) 
1953
lasersound(4) 
1954
lasersound(4) 
1955
lasersound(4) 
1956
lasersound(4) 
1957
Laser(prt1,math.random(5,10)) 
1958
Laser(prt2,math.random(5,10)) 
1959
Laser(prt3,math.random(5,10)) 
1960
Laser(prt4,math.random(5,10)) 
1961
Laser(prt5,math.random(5,10)) 
1962
Laser(prt6,math.random(5,10)) 
1963
Laser(prt7,math.random(5,10)) 
1964
Laser(prt8,math.random(5,10)) 
1965
for i = 0,1,0.1 do 
1966
wait() 
1967
wld1.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0+0.5,6.28-6.28) 
1968
wld2.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,0.785+0.5,0.785-0.785) 
1969
wld3.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,1.57+0.5,1.57-1.57) 
1970
wld4.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,2.355+0.5,2.355-2.355) 
1971
wld5.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14+0.5,3.14-3.14) 
1972
wld6.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,3.925+0.5,3.925-3.925) 
1973
wld7.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,4.71+0.5,4.71-4.71) 
1974
wld8.C0 = CFrame.new(0,1.6+3-10,-1) * CFrame.fromEulerAnglesXYZ(1.57-1*i,5.495+0.5,5.495-5.495) 
1975
end 
1976
if mana >= 0 then 
1977
mana = mana - 50 
1978
else 
1979
mana = 0 
1980
end 
1981
lasersound(4) 
1982
lasersound(4) 
1983
lasersound(4) 
1984
lasersound(4) 
1985
lasersound(4) 
1986
lasersound(4) 
1987
lasersound(4) 
1988
lasersound(4) 
1989
Laser(prt1,math.random(5,10)) 
1990
Laser(prt2,math.random(5,10)) 
1991
Laser(prt3,math.random(5,10)) 
1992
Laser(prt4,math.random(5,10)) 
1993
Laser(prt5,math.random(5,10)) 
1994
Laser(prt6,math.random(5,10)) 
1995
Laser(prt7,math.random(5,10)) 
1996
Laser(prt8,math.random(5,10)) 
1997
wait(1) 
1998
attack = false 
1999
end 
2000
end 
2001
function SpinLaser() 
2002
if mana >= 0 then 
2003
attack = true 
2004
for i = 0,1,0.1 do 
2005
wait() 
2006
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2007
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
2008
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2009
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
2010
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2011
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
2012
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
2013
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
2014
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
2015
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
2016
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
2017
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
2018
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
2019
end 
2020
for i = 0,1,0.1 do 
2021
wait() 
2022
wld1.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0,6.28-6.28*i) 
2023
wld2.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,0.785*i,0.785-0.785*i) 
2024
wld3.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,1.57*i,1.57-1.57*i) 
2025
wld4.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,2.355*i,2.355-2.355*i) 
2026
wld5.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.14*i,3.14-3.14*i) 
2027
wld6.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,3.925*i,3.925-3.925*i) 
2028
wld7.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,4.71*i,4.71-4.71*i) 
2029
wld8.C0 = CFrame.new(0,1.6+3-2*i,-1) * CFrame.fromEulerAnglesXYZ(1.57*i,5.495*i,5.495-5.495*i) 
2030
end 
2031
lasersound(4) 
2032
lasersound(4) 
2033
lasersound(4) 
2034
lasersound(4) 
2035
lasersound(4) 
2036
lasersound(4) 
2037
lasersound(4) 
2038
lasersound(4) 
2039
Laser(prt1,math.random(10,20)) 
2040
Laser(prt2,math.random(10,20)) 
2041
Laser(prt3,math.random(10,20)) 
2042
Laser(prt4,math.random(10,20)) 
2043
Laser(prt5,math.random(10,20)) 
2044
Laser(prt6,math.random(10,20)) 
2045
Laser(prt7,math.random(10,20)) 
2046
Laser(prt8,math.random(10,20)) 
2047
for i = 0,1,0.1 do 
2048
wait() 
2049
wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5*i,6.28-6.28) 
2050
wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5*i,0.785-0.785) 
2051
wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5*i,1.57-1.57) 
2052
wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5*i,2.355-2.355) 
2053
wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5*i,3.14-3.14) 
2054
wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5*i,3.925-3.925) 
2055
wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5*i,4.71-4.71) 
2056
wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5*i,5.495-5.495) 
2057
end 
2058
lasersound(4) 
2059
lasersound(4) 
2060
lasersound(4) 
2061
lasersound(4) 
2062
lasersound(4) 
2063
lasersound(4) 
2064
lasersound(4) 
2065
lasersound(4) 
2066
Laser(prt1,math.random(10,20)) 
2067
Laser(prt2,math.random(10,20)) 
2068
Laser(prt3,math.random(10,20)) 
2069
Laser(prt4,math.random(10,20)) 
2070
Laser(prt5,math.random(10,20)) 
2071
Laser(prt6,math.random(10,20)) 
2072
Laser(prt7,math.random(10,20)) 
2073
Laser(prt8,math.random(10,20)) 
2074
for i = 0,1,0.1 do 
2075
wait() 
2076
wld1.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0+0.5+0.5*i,6.28-6.28) 
2077
wld2.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,0.785+0.5+0.5*i,0.785-0.785) 
2078
wld3.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,1.57+0.5+0.5*i,1.57-1.57) 
2079
wld4.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,2.355+0.5+0.5*i,2.355-2.355) 
2080
wld5.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.14+0.5+0.5*i,3.14-3.14) 
2081
wld6.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,3.925+0.5+0.5*i,3.925-3.925) 
2082
wld7.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,4.71+0.5+0.5*i,4.71-4.71) 
2083
wld8.C0 = CFrame.new(0,1.6+3-2,-1) * CFrame.fromEulerAnglesXYZ(1.57,5.495+0.5+0.5*i,5.495-5.495) 
2084
end 
2085
lasersound(4) 
2086
lasersound(4) 
2087
lasersound(4) 
2088
lasersound(4) 
2089
lasersound(4) 
2090
lasersound(4) 
2091
lasersound(4) 
2092
lasersound(4) 
2093
Laser(prt1,math.random(10,20)) 
2094
Laser(prt2,math.random(10,20)) 
2095
Laser(prt3,math.random(10,20)) 
2096
Laser(prt4,math.random(10,20)) 
2097
Laser(prt5,math.random(10,20)) 
2098
Laser(prt6,math.random(10,20)) 
2099
Laser(prt7,math.random(10,20)) 
2100
Laser(prt8,math.random(10,20)) 
2101
wait(1) 
2102
attack = false 
2103
end 
2104
end 
2105
function LaserPillars() 
2106
if mana >= 0 then 
2107
attack = true 
2108
for i = 0,1,0.1 do 
2109
wait() 
2110
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2111
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i) 
2112
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2113
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i) 
2114
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2115
wld1.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) 
2116
wld2.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) 
2117
wld3.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) 
2118
wld4.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) 
2119
wld5.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) 
2120
wld6.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) 
2121
wld7.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) 
2122
wld8.C0 = CFrame.new(0,1.6+3*i,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) 
2123
end 
2124
for i = 0,1,0.1 do 
2125
wait() 
2126
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2127
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
2128
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2129
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
2130
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2131
wld1.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0,6.28-6.28*i) 
2132
wld2.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,0.785*i,0.785-0.785*i) 
2133
wld3.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,1.57*i,1.57-1.57*i) 
2134
wld4.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,2.355*i,2.355-2.355*i) 
2135
wld5.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.14*i,3.14-3.14*i) 
2136
wld6.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,3.925*i,3.925-3.925*i) 
2137
wld7.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,4.71*i,4.71-4.71*i) 
2138
wld8.C0 = CFrame.new(0,1.6+3-15*i,-1-3*i) * CFrame.fromEulerAnglesXYZ(0,5.495*i,5.495-5.495*i) 
2139
end 
2140
lasersound(4) 
2141
lasersound(4) 
2142
lasersound(4) 
2143
lasersound(4) 
2144
lasersound(4) 
2145
lasersound(4) 
2146
lasersound(4) 
2147
lasersound(4) 
2148
Laser(prt1,math.random(20,40)) 
2149
Laser(prt2,math.random(20,40)) 
2150
Laser(prt3,math.random(20,40)) 
2151
Laser(prt4,math.random(20,40)) 
2152
Laser(prt5,math.random(20,40)) 
2153
Laser(prt6,math.random(20,40)) 
2154
Laser(prt7,math.random(20,40)) 
2155
Laser(prt8,math.random(20,40)) 
2156
hur = 0 
2157
for i = 0,1,0.1 do 
2158
wait(0.1) 
2159
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2160
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57) 
2161
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2162
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57) 
2163
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2164
wld1.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0+2.5*i,6.28-6.28) 
2165
wld2.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,0.785+2.5*i,0.785-0.785) 
2166
wld3.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,1.57+2.5*i,1.57-1.57) 
2167
wld4.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,2.355+2.5*i,2.355-2.355) 
2168
wld5.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.14+2.5*i,3.14-3.14) 
2169
wld6.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,3.925+2.5*i,3.925-3.925) 
2170
wld7.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,4.71+2.5*i,4.71-4.71) 
2171
wld8.C0 = CFrame.new(0,1.6+3-15,-1-3-20*i) * CFrame.fromEulerAnglesXYZ(0,5.495+2.5*i,5.495-5.495) 
2172
if hur == 1 then 
2173
lasersound(4) 
2174
lasersound(4) 
2175
lasersound(4) 
2176
lasersound(4) 
2177
lasersound(4) 
2178
lasersound(4) 
2179
lasersound(4) 
2180
lasersound(4) 
2181
Laser(prt1,math.random(20,40)) 
2182
Laser(prt2,math.random(20,40)) 
2183
Laser(prt3,math.random(20,40)) 
2184
Laser(prt4,math.random(20,40)) 
2185
Laser(prt5,math.random(20,40)) 
2186
Laser(prt6,math.random(20,40)) 
2187
Laser(prt7,math.random(20,40)) 
2188
Laser(prt8,math.random(20,40)) 
2189
hur = 0 
2190
end 
2191
hur = hur + 1 
2192
end 
2193
wait(1) 
2194
attack = false 
2195
end 
2196
end 
2197
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants 
2198
return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2199
end 
2200
function Laser(Part,Dmg) 
2201
sp = Part.Position 
2202
dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,0) 
2203
local hit,pos = rayCast(sp,dirr.lookVector,500,Character) 
2204
local las=Instance.new("Part",Character) 
2205
las.Anchored=true 
2206
las.Locked=true 
2207
las.CanCollide=false 
2208
las.TopSurface=0 
2209
las.BottomSurface=0 
2210
las.FormFactor = "Custom" 
2211
las.BrickColor=BrickColor.new("Bright red") 
2212
las.Size=Vector3.new(1,1,1) 
2213
las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) 
2214
local msh=Instance.new("SpecialMesh",las) 
2215
mag = (Part.Position-pos).magnitude 
2216
msh.Scale=Vector3.new(0.1,mag,0.1) 
2217
coroutine.resume(coroutine.create(function(Part,Mesh) 
2218
for i = 0,1,0.1 do 
2219
wait() 
2220
Part.Transparency = Part.Transparency + 0.1 
2221
Mesh.Scale = Mesh.Scale + Vector3.new(0.15,0.7,0.15) 
2222
end 
2223
Part.Parent = nil 
2224
end),las,msh) 
2225
local las=Instance.new("Part",Character) 
2226
las.Anchored=true 
2227
las.Locked=true 
2228
las.CanCollide=false 
2229
las.TopSurface=0 
2230
las.BottomSurface=0 
2231
las.FormFactor = "Custom" 
2232
las.BrickColor=BrickColor.new("Really black") 
2233
las.Size=Vector3.new(1,1,1) 
2234
las.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) 
2235
local msh=Instance.new("SpecialMesh",las) 
2236
mag = (Part.Position-pos).magnitude 
2237
msh.Scale=Vector3.new(0.1,mag,0.1) 
2238
coroutine.resume(coroutine.create(function(Part,Mesh) 
2239
for i = 0,1,0.1 do 
2240
wait() 
2241
Part.Transparency = Part.Transparency + 0.1 
2242
Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05) 
2243
end 
2244
Part.Parent = nil 
2245
end),las,msh) 
2246
if pos ~= nil then 
2247
local las2=Instance.new("Part",Character) 
2248
las2.Anchored=true 
2249
las2.Locked=true 
2250
las2.CanCollide=false 
2251
las2.TopSurface=0 
2252
las2.BottomSurface=0 
2253
las2.FormFactor = "Custom" 
2254
las2.BrickColor=BrickColor.new("Bright red") 
2255
las2.Size=Vector3.new(1,1,1) 
2256
--las2.CFrame=CFrame.new((Part.Position+pos)/2,pos) *CFrame.Angles(math.rad(90),0,0) 
2257
las2.CFrame=CFrame.new(pos) *CFrame.Angles(math.rad(90),0,0) 
2258
local msh=Instance.new("BlockMesh",las2) 
2259
mag = (Part.Position-pos).magnitude 
2260
msh.Scale=Vector3.new(0.1,0.1,0.1) 
2261
coroutine.resume(coroutine.create(function(Part,Mesh) 
2262
--wait(10) 
2263
for i = 0,1,0.1 do 
2264
wait() 
2265
Part.Transparency = Part.Transparency + 0.1 
2266
Mesh.Scale = Mesh.Scale + Vector3.new(0.5,0,0.5) 
2267
end 
2268
Part.Parent = nil 
2269
end),las2,msh) 
2270
end 
2271
if hit ~= nil and pos ~= nil then 
2272
if hit.Parent.className == "Hat" then 
2273
hit:BreakJoints() 
2274
hit.Velocity = Vector3.new(math.random(-5,5),20,math.random(-5,5)) 
2275
end 
2276
if(hit.Parent:findFirstChild("Humanoid")~= nil)then 
2277
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then 
2278
hit.Parent.Humanoid:TakeDamage(Dmg) 
2279
showDamage(hit.Parent,Dmg,.5) 
2280
end 
2281
end 
2282
--[[if hit.className == "Part" and hit.Parent:findFirstChild("Humanoid") == nil then 
2283
end ]] 
2284
end 
2285
end 
2286
function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
2287
local msh1 = Instance.new("BlockMesh") 
2288
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
2289
S=Instance.new("Part") 
2290
S.Name="Effect" 
2291
S.formFactor=0 
2292
S.Size=Vector3.new(x1,y1,z1) 
2293
S.BrickColor=color 
2294
S.Reflectance = 0 
2295
S.TopSurface=0 
2296
S.BottomSurface=0 
2297
S.Transparency=0 
2298
S.Anchored=true 
2299
S.CanCollide=false 
2300
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) 
2301
S.Parent=Character 
2302
msh1.Parent = S 
2303
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) 
2304
end 
2305
function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color) 
2306
local msh1 = Instance.new("BlockMesh") 
2307
msh1.Scale = Vector3.new(x1,y1,z1) 
2308
S=Instance.new("Part") 
2309
S.Name="Effect" 
2310
S.formFactor=0 
2311
S.Size=Vector3.new(1,1,1) 
2312
S.BrickColor=color 
2313
S.Reflectance = 0 
2314
S.TopSurface=0 
2315
S.BottomSurface=0 
2316
S.Transparency=0 
2317
S.Anchored=true 
2318
S.CanCollide=false 
2319
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) 
2320
S.Parent=Character 
2321
msh1.Parent = S 
2322
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) 
2323
end 
2324
function MOREMAGIX(part,cframe,x,y,z,color) 
2325
p2=Instance.new("Part") 
2326
p2.Name="Blast" 
2327
p2.TopSurface=0 
2328
p2.BottomSurface=0 
2329
p2.CanCollide=false 
2330
p2.Anchored=true 
2331
p2.BrickColor=color 
2332
p2.Size=Vector3.new(x,y,z) 
2333
p2.formFactor="Symmetric" 
2334
p2.CFrame=part.CFrame*CFrame.new(0,cframe,0) 
2335
p2.Parent=workspace 
2336
m=Instance.new("BlockMesh") 
2337
m.Parent=p2 
2338
m.Name="BlastMesh" 
2339
coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) 
2340
end 
2341
function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
2342
local msh1 = Instance.new("SpecialMesh") 
2343
msh1.Scale = Vector3.new(0.5,0.5,0.5) 
2344
msh1.MeshType = "Sphere" 
2345
S=Instance.new("Part") 
2346
S.Name="Effect" 
2347
S.formFactor=0 
2348
S.Size=Vector3.new(x1,y1,z1) 
2349
S.BrickColor=color 
2350
if Style == "WingBlade" and element == "Dark" then 
2351
S.BrickColor=BrickColor.new("Black") 
2352
end 
2353
S.Reflectance = 0 
2354
S.TopSurface=0 
2355
S.BottomSurface=0 
2356
S.Transparency=0 
2357
S.Anchored=true 
2358
S.CanCollide=false 
2359
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) 
2360
S.Parent=Character 
2361
msh1.Parent = S 
2362
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) 
2363
end 
2364
function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
2365
local msh1 = Instance.new("SpecialMesh") 
2366
msh1.Scale = Vector3.new(x1,y1,z1) 
2367
msh1.MeshId = "http://www.roblox.com/asset/?id=20329976" 
2368
S=Instance.new("Part") 
2369
S.Name="Effect" 
2370
S.formFactor=0 
2371
S.Size=Vector3.new(1,1,1) 
2372
S.BrickColor=color 
2373
S.Reflectance = 0 
2374
S.TopSurface=0 
2375
S.BottomSurface=0 
2376
S.Transparency=0 
2377
S.Anchored=true 
2378
S.CanCollide=false 
2379
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) 
2380
S.Parent=Character 
2381
msh1.Parent = S 
2382
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) 
2383
end 
2384
function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color) 
2385
local msh1 = Instance.new("SpecialMesh") 
2386
msh1.Scale = Vector3.new(x1,y1,z1) 
2387
msh1.MeshId = "http://www.roblox.com/asset/?id=1323306" 
2388
S=Instance.new("Part") 
2389
S.Name="Effect" 
2390
S.formFactor=0 
2391
S.Size=Vector3.new(1,1,1) 
2392
S.BrickColor=color 
2393
S.Reflectance = 0 
2394
S.TopSurface=0 
2395
S.BottomSurface=0 
2396
S.Transparency=0 
2397
S.Anchored=true 
2398
S.CanCollide=false 
2399
S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3) 
2400
S.Parent=Character 
2401
msh1.Parent = S 
2402
coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame) 
2403
end 
2404
function ss(pitch) 
2405
local SlashSound = Instance.new("Sound") 
2406
--SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" 
2407
SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" 
2408
SlashSound.Parent = workspace 
2409
SlashSound.Volume = .7 
2410
SlashSound.Pitch = pitch 
2411
SlashSound.PlayOnRemove = true 
2412
coroutine.resume(coroutine.create(function() 
2413
wait(0) 
2414
SlashSound.Parent = nil 
2415
end)) 
2416
end 
2417
function equipsound(pitch) 
2418
local SlashSound = Instance.new("Sound") 
2419
SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" 
2420
SlashSound.Parent = workspace 
2421
SlashSound.Volume = .5 
2422
SlashSound.Pitch = pitch 
2423
SlashSound.PlayOnRemove = true 
2424
coroutine.resume(coroutine.create(function() 
2425
wait(0) 
2426
SlashSound.Parent = nil 
2427
end)) 
2428
end 
2429
function magicsound(pitch) 
2430
local SlashSound = Instance.new("Sound") 
2431
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511" 
2432
SlashSound.Parent = workspace 
2433
SlashSound.Volume = .5 
2434
SlashSound.Pitch = pitch 
2435
SlashSound.PlayOnRemove = true 
2436
coroutine.resume(coroutine.create(function() 
2437
wait(0) 
2438
SlashSound.Parent = nil 
2439
end)) 
2440
end 
2441
function critsound(pitch) 
2442
local SlashSound = Instance.new("Sound") 
2443
SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263" 
2444
SlashSound.Parent = workspace 
2445
SlashSound.Volume = .7 
2446
SlashSound.Pitch = pitch 
2447
SlashSound.PlayOnRemove = true 
2448
coroutine.resume(coroutine.create(function() 
2449
wait(0) 
2450
SlashSound.Parent = nil 
2451
end)) 
2452
end 
2453
function spikesound(pitch) 
2454
local SlashSound = Instance.new("Sound") 
2455
SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793" 
2456
SlashSound.Parent = workspace 
2457
SlashSound.Volume = .7 
2458
SlashSound.Pitch = pitch 
2459
SlashSound.PlayOnRemove = true 
2460
coroutine.resume(coroutine.create(function() 
2461
wait(0) 
2462
SlashSound.Parent = nil 
2463
end)) 
2464
end 
2465
function lasersound(pitch) 
2466
local SlashSound = Instance.new("Sound") 
2467
SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav" 
2468
SlashSound.Parent = workspace 
2469
SlashSound.Volume = .5 
2470
SlashSound.Pitch = pitch 
2471
SlashSound.PlayOnRemove = true 
2472
coroutine.resume(coroutine.create(function() 
2473
wait(0) 
2474
SlashSound.Parent = nil 
2475
end)) 
2476
end 
2477
--rbxasset://sounds/Launching rocket.wav 
2478
Damagefunc1=function(hit,Damage,Knockback) 
2479
if attackdebounce == false then 
2480
attackdebounce = true 
2481
coroutine.resume(coroutine.create(function() 
2482
wait(0.1) 
2483
attackdebounce = false 
2484
end)) 
2485
if hit.Parent==nil then 
2486
return 
2487
end 
2488
CPlayer=Bin 
2489
h=hit.Parent:FindFirstChild("Humanoid") 
2490
if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then 
2491
if mana < 800 then 
2492
mana = mana + math.random(10,20) 
2493
end 
2494
if mana > 800 then 
2495
mana = 800 
2496
end 
2497
Damage=Damage 
2498
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then 
2499
return 
2500
end]] 
2501
c=Instance.new("ObjectValue") 
2502
c.Name="creator" 
2503
c.Value=game.Players.LocalPlayer 
2504
c.Parent=h 
2505
game:GetService("Debris"):AddItem(c,.5) 
2506
-- print(c.Value) 
2507
if math.random(0,99)+math.random()<=5 then 
2508
CRIT=true 
2509
Damage=Damage*1.5 
2510
--[[ Knockback=Knockback*2 
2511
r=Instance.new("BodyAngularVelocity") 
2512
r.P=3000 
2513
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 
2514
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) 
2515
r.Parent=hit.Parent.Torso]] 
2516
critsound(2) 
2517
end 
2518
Damage=Damage+math.random(0,10) 
2519
-- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) 
2520
h:TakeDamage(Damage) 
2521
showDamage(hit.Parent,Damage,.5) 
2522
vp=Instance.new("BodyVelocity") 
2523
vp.P=500 
2524
vp.maxForce=Vector3.new(math.huge,0,math.huge) 
2525
-- vp.velocity=Character.Torso.CFrame.lookVector*Knockback 
2526
vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 
2527
if Knockback>0 then 
2528
vp.Parent=hit.Parent.Torso 
2529
end 
2530
game:GetService("Debris"):AddItem(vp,.25) 
2531
--[[ r=Instance.new("BodyAngularVelocity") 
2532
r.P=3000 
2533
r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 
2534
r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) 
2535
r.Parent=hit.Parent.Torso]] 
2536
game:GetService("Debris"):AddItem(r,.5) 
2537
c=Instance.new("ObjectValue") 
2538
c.Name="creator" 
2539
c.Value=Player 
2540
c.Parent=h 
2541
game:GetService("Debris"):AddItem(c,.5) 
2542
CRIT=false 
2543
hitDeb=true 
2544
AttackPos=6 
2545
end 
2546
end 
2547
end 
2548
showDamage=function(Char,Dealt,du) 
2549
m=Instance.new("Model") 
2550
m.Name=tostring(Dealt) 
2551
h=Instance.new("Humanoid") 
2552
h.Health=0 
2553
h.MaxHealth=0 
2554
h.Parent=m 
2555
c=Instance.new("Part") 
2556
c.Transparency=0 
2557
c.BrickColor=BrickColor:Red() 
2558
if CRIT==true then 
2559
c.BrickColor=BrickColor.new("Really red") 
2560
end 
2561
c.Name="Head" 
2562
c.TopSurface=0 
2563
c.BottomSurface=0 
2564
c.formFactor="Plate" 
2565
c.Size=Vector3.new(1,.4,1) 
2566
ms=Instance.new("CylinderMesh") 
2567
ms.Bevel=.1 
2568
ms.Scale=Vector3.new(.8,.8,.8) 
2569
if CRIT==true then 
2570
ms.Scale=Vector3.new(1.25,1.5,1.25) 
2571
ms.Bevel=.2 
2572
end 
2573
ms.Parent=c 
2574
c.Reflectance=0 
2575
Instance.new("BodyGyro").Parent=c 
2576
c.Parent=m 
2577
c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) 
2578
f=Instance.new("BodyPosition") 
2579
f.P=2000 
2580
f.D=100 
2581
f.maxForce=Vector3.new(math.huge,math.huge,math.huge) 
2582
f.position=c.Position+Vector3.new(0,3,0) 
2583
f.Parent=c 
2584
game:GetService("Debris"):AddItem(m,.5+du) 
2585
c.CanCollide=false 
2586
m.Parent=workspace 
2587
c.CanCollide=false 
2588
end 
2589
hold = false 
2590
function ob1d(mouse) 
2591
if attack == true then return end 
2592
if stancing == true then return end 
2593
hold = true 
2594
if combo == 0 then 
2595
combo = 1 
2596
onehit() 
2597
coroutine.resume(coroutine.create(function() 
2598
wait(0.5) 
2599
if attack == false then 
2600
combo = 0 
2601
comboing = false 
2602
gairo.Parent = nil 
2603
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2604
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2605
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2606
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2607
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2608
end 
2609
end)) 
2610
elseif combo == 1 then 
2611
combo = 2 
2612
twohit() 
2613
coroutine.resume(coroutine.create(function() 
2614
wait(0.5) 
2615
if attack == false then 
2616
combo = 0 
2617
comboing = false 
2618
gairo.Parent = nil 
2619
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2620
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2621
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2622
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2623
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2624
end 
2625
end)) 
2626
elseif combo == 2 then 
2627
combo = 3 
2628
threehit() 
2629
coroutine.resume(coroutine.create(function() 
2630
wait(0.5) 
2631
if attack == false then 
2632
combo = 0 
2633
comboing = false 
2634
gairo.Parent = nil 
2635
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2636
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2637
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2638
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2639
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2640
end 
2641
end)) 
2642
elseif combo == 3 then 
2643
combo = 4 
2644
fourhit() 
2645
wait(0.5) 
2646
combo = 0 
2647
comboing = false 
2648
gairo.Parent = nil 
2649
Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0) 
2650
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2651
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2652
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2653
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2654
end 
2655
end 
2656
function ob1u(mouse) 
2657
hold = false 
2658
end 
2659
buttonhold = false 
2660
function key(key) 
2661
if attack == true then return end 
2662
if key == "q" then 
2663
LaserWave() 
2664
end 
2665
if key == "e" then 
2666
OverBlast() 
2667
end 
2668
if key == "r" then 
2669
SpinBeam() 
2670
end 
2671
if key == "t" then 
2672
LaserBarrage() 
2673
end 
2674
if key == "y" then 
2675
CloseRangedFire() 
2676
end 
2677
if key == "u" then 
2678
SpinLaser() 
2679
end 
2680
if key == "x" then 
2681
Implosion() 
2682
end 
2683
if key == "c" then 
2684
LaserPillars() 
2685
end 
2686
if key == "z" then 
2687
DodgeTheLaser() 
2688
end 
2689
end 
2690
function key2(key) 
2691
end 
2692
function s(mouse) 
2693
mouse.Button1Down:connect(function() ob1d(mouse) end) 
2694
mouse.Button1Up:connect(function() ob1u(mouse) end) 
2695
mouse.KeyDown:connect(key) 
2696
mouse.KeyUp:connect(key2) 
2697
player = Player 
2698
ch = Character 
2699
RSH = ch.Torso["Right Shoulder"] 
2700
LSH = ch.Torso["Left Shoulder"] 
2701
-- 
2702
RW.Part0 = ch.Torso 
2703
RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
2704
RW.C1 = CFrame.new(0, 0.5, 0) 
2705
RW.Part1 = ch["Right Arm"] 
2706
RW.Parent = ch.Torso 
2707
--_G.R = RW 
2708
-- 
2709
LW.Part0 = ch.Torso 
2710
LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
2711
LW.C1 = CFrame.new(0, 0.5, 0) 
2712
LW.Part1 = ch["Left Arm"] 
2713
LW.Parent = ch.Torso 
2714
--_G.L = LW 
2715
-- 
2716
equipanim() 
2717
end 
2718
function ds(mouse) 
2719
hideanim() 
2720
RW.Parent = nil 
2721
LW.Parent = nil 
2722
RSH.Parent = player.Character.Torso 
2723
LSH.Parent = player.Character.Torso 
2724
end 
2725
Bin.Selected:connect(s) 
2726
Bin.Deselected:connect(ds) 
2727
function onRunning(speed) 
2728
if attack == true then return end 
2729
if speed>0 then 
2730
walking = true 
2731
for i = 0,1,0.1 do 
2732
wait() 
2733
if attack == false and comboing == false then 
2734
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) 
2735
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2736
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) 
2737
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2738
end 
2739
end 
2740
else 
2741
walking = false 
2742
for i = 0,1,0.1 do 
2743
wait() 
2744
if attack == false and comboing == false then 
2745
LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) 
2746
LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2747
RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0) 
2748
RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) 
2749
end 
2750
end 
2751
end 
2752
end 
2753
Character.Humanoid.Running:connect(onRunning) 
2754
coroutine.resume(coroutine.create(function() 
2755
while true do 
2756
wait(0) 
2757
fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0) 
2758
fentext.Text = "Energy("..mana..")" 
2759
fentext3.BackgroundColor3 = Color3.new(1,1,1) 
2760
end 
2761
end)) 
2762
coroutine.resume(coroutine.create(function() 
2763
while true do 
2764
wait(0.1) 
2765
if mana <= 0 and attack == false then 
2766
attack = true 
2767
while mana <= 800 do 
2768
wait(0.1) 
2769
mana = mana + 5 
2770
end 
2771
attack = false 
2772
end 
2773
if mana < 800 and attack == false then 
2774
mana = mana + 2 
2775
end 
2776
end 
2777
end)) 
2778
coroutine.resume(coroutine.create(function() 
2779
while true do 
2780
wait() 
2781
for i = 0,1,0.01 do 
2782
wait(0) 
2783
if attack == false and comboing == false then 
2784
wld1.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,6.28) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2785
wld2.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,0.785) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2786
wld3.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2787
wld4.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,2.355) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2788
wld5.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.14) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2789
wld6.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,3.925) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2790
wld7.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,4.71) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2791
wld8.C0 = CFrame.new(0,1.6,-1) * CFrame.fromEulerAnglesXYZ(0,0,5.495) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(360)*i) 
2792
end 
2793
end 
2794
end 
2795
end))