View difference between Paste ID: Qs6tQy8K and HWt6aY34
SHOW: | | - or go back to the newest paste.
1-
print("Footplanting math by 123jl123 so yes")
1+
print("Oh great,")
2-
print("Same with Holiday Feelings")
2+
print("Its you")
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,game,owner = owner,game
5
local RealPlayer = Player
6
do
7
    print("FE Compatibility code by Mokiros")
8
    local rp = RealPlayer
9
    script.Parent = rp.Character
10
   
11
    --RemoteEvent for communicating
12
    local Event = Instance.new("RemoteEvent")
13
    Event.Name = "UserInput_Event"
14
 
15
    --Fake event to make stuff like Mouse.KeyDown work
16
    local function fakeEvent()
17
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
18
        t.connect = t.Connect
19
        return t
20
    end
21
 
22
    --Creating fake input objects with fake variables
23
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
24
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
25
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
26
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
27
    end}
28
    --Merged 2 functions into one by checking amount of arguments
29
    CAS.UnbindAction = CAS.BindAction
30
 
31
    --This function will trigger the events that have been :Connect()'ed
32
    local function te(self,ev,...)
33
        local t = m[ev]
34
        if t and t._fakeEvent then
35
            for _,f in pairs(t.Functions) do
36
                f(...)
37
            end
38
        end
39
    end
40
    m.TrigEvent = te
41
    UIS.TrigEvent = te
42
 
43
    Event.OnServerEvent:Connect(function(plr,io)
44
        if plr~=rp then return end
45
        m.Target = io.Target
46
        m.Hit = io.Hit
47
        if not io.isMouse then
48
            local b = io.UserInputState == Enum.UserInputState.Begin
49
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
50
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
51
            end
52
            for _,t in pairs(CAS.Actions) do
53
                for _,k in pairs(t.Keys) do
54
                    if k==io.KeyCode then
55
                        t.Function(t.Name,io.UserInputState,io)
56
                    end
57
                end
58
            end
59
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
60
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
61
        end
62
    end)
63
    Event.Parent = NLS([==[
64
    local Player = game:GetService("Players").LocalPlayer
65
    local Event = script:WaitForChild("UserInput_Event")
66
 
67
    local Mouse = Player:GetMouse()
68
    local UIS = game:GetService("UserInputService")
69
    local input = function(io,a)
70
        if a then return end
71
        --Since InputObject is a client-side instance, we create and pass table instead
72
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
73
    end
74
    UIS.InputBegan:Connect(input)
75
    UIS.InputEnded:Connect(input)
76
 
77
    local h,t
78
    --Give the server mouse data 30 times every second, but only if the values changed
79
    --If player is not moving their mouse, client won't fire events
80
    while wait(1/30) do
81
        if h~=Mouse.Hit or t~=Mouse.Target then
82
            h,t=Mouse.Hit,Mouse.Target
83
            Event:FireServer({isMouse=true,Target=t,Hit=h})
84
        end
85
    end]==],Player.PlayerGui)
86
 
87
    ----Sandboxed game object that allows the usage of client-side methods and services
88
    --Real game object
89
    local _rg = game
90
 
91
    --Metatable for fake service
92
    local fsmt = {
93
        __index = function(self,k)
94
            local s = rawget(self,"_RealService")
95
            if s then return s[k] end
96
        end,
97
        __newindex = function(self,k,v)
98
            local s = rawget(self,"_RealService")
99
            if s then s[k]=v end
100
        end,
101
        __call = function(self,...)
102
            local s = rawget(self,"_RealService")
103
            if s then return s(...) end
104
        end
105
    }
106
    local function FakeService(t,RealService)
107
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
108
        return setmetatable(t,fsmt)
109
    end
110
 
111
    --Fake game object
112
    local g = {
113
        GetService = function(self,s)
114
            return self[s]
115
        end,
116
        Players = FakeService({
117
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
118
        },"Players"),
119
        UserInputService = FakeService(UIS,"UserInputService"),
120
        ContextActionService = FakeService(CAS,"ContextActionService"),
121
    }
122
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
123
    g.service = g.GetService
124
   
125
    g.RunService = FakeService({
126
        RenderStepped = _rg:GetService("RunService").Heartbeat,
127
        BindToRenderStep = function(self,name,_,fun)
128
            self._btrs[name] = self.Heartbeat:Connect(fun)
129
        end,
130
        UnbindFromRenderStep = function(self,name)
131
            self._btrs[name]:Disconnect()
132
        end,
133
    },"RunService")
134
 
135
    setmetatable(g,{
136
        __index=function(self,s)
137
            return _rg:GetService(s) or typeof(_rg[s])=="function"
138
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
139
        end,
140
        __newindex = fsmt.__newindex,
141
        __call = fsmt.__call
142
    })
143
    --Changing owner to fake player object to support owner:GetMouse()
144
    game,owner = g,g.Players.LocalPlayer
145
end
146
--[[
147
I had a good friend who i gave it as a birthday present..
148
But he betrayed me and decided to give it to a person who i hated most..
149
150
Enjoy,skids!
151
]]
152
--Demoralized
153
--Made by //vlad20020//
154
--Prints
155-
print("Demoralized")
155+
print("Reverb")
156-
print("Made by vlad20020")
156+
print("Remade by GrownGreen")
157
print("v Controls v")
158
warn(
159
    [[ 
160
Click - Punch
161
Q - Switch Mode
162
X - TP
163
R - Plasma Shard
164
T - Taunt(Demoralized/DEMORALIZATION mode)
165
N - Spec Attack
166
F - Plasma Beam
167
E - Sky Strike
168
M - Mute Music]])
169
print(
170
	[[Modes:
171
Normal
172
Demoralized
173
DEMORALIZATION
174
Star]])
175
--Services
176
local plrs = game:GetService("Players")
177
local tweens = game:GetService("TweenService")
178
local debrs = game:GetService("Debris")
179
local runservice = game:GetService("RunService")
180
 
181
--Variables
182
local plr = plrs.LocalPlayer
183
local mouse = plr:GetMouse()
184
local char = plr.Character
185
local h = char.Head
186
local t = char.Torso
187
local ra = char["Right Arm"]
188
local la = char["Left Arm"]
189
local rl = char["Right Leg"]
190
local ll = char["Left Leg"]
191
local rut = char.HumanoidRootPart
192
local hum = char:FindFirstChildOfClass("Humanoid")
193
local nec = t.Neck
194
local rutj = rut.RootJoint
195
local rs = t["Right Shoulder"]
196
local ls = t["Left Shoulder"]
197
local rh = t["Right Hip"]
198
local lh = t["Left Hip"]
199
local cf1 = nec.C1
200
local cf2 = rutj.C1
201
local cf3 = rs.C1
202
local cf4 = ls.C1
203
local cf5 = rh.C1
204
local cf6 = lh.C1
205
local cf01 = nec.C0
206
local cf02 = rutj.C0
207
local cf03 = rs.C0
208
local cf04 = ls.C0
209
local cf05 = rh.C0
210
local cf06 = lh.C0
211
local p0,p1 = nec.Part0,nec.Part1
212
local rsp0,rsp1 = rs.Part0,rs.Part1
213
local lsp0,lsp1 = ls.Part0,ls.Part1
214
local rhp0,rhp1 = rh.Part0,rh.Part1
215
local lhp0,lhp1 = lh.Part0,lh.Part1
216
local phit
217
local wristband
218
local bandhandle
219
 
220
--Bools
221
local using = false
222
local landed = false
223
local readytoland = false
224
local cangrabthecorner = false
225
local grabbedc = false
226
local roaring = false
227
local superattackcooldown1 = false
228
local superattackcooldown2 = false
229
local superattackcooldown3 = false
230
local superattackcooldown4 = false
231
local lookinaround = false
232
local deafen = false
233
 
234
--Values/Strings/Tables
235
--
236
local aa = 10
237
local aaa = aa*3
238
local change = 0
239
local lchange = 0
240
local sine = 1
241
local animspeed = .005
242
local animspeed1 = 1.5
243
local walkanimspeed = .1
244
local walkspeed = 16
245
local sumthin = walkspeed/8
246
local idlenum = 0
247-
local lsvol = 2
247+
local lsvol = 10
248
local currentpunch = 1
249
local timepos = 0
250
local idlenum = 0
251
local lchange = 0
252-
local vol = .75
252+
local vol = 10
253
local jp = 50
254
local whenbored = math.random(3,6)
255-
local maxhealthuntilinstakill = 100000
255+
local maxhealthuntilinstakill = 1000000000000
256
--
257-
local songid = "rbxassetid://149820574"
257+
local songid = "rbxassetid://326469853"
258
local anim = "idle"
259
local mode = "Normal"
260
--
261
local ids = {
262-
normalmode = "rbxassetid://149820574",
262+
normalmode = "rbxassetid://326469853",
263-
demoralizedmode = "rbxassetid://1561410944",
263+
demoralizedmode = "rbxassetid://2900951204",
264-
demoralizationmode = "rbxassetid://1837111398",
264+
demoralizationmode = "rbxassetid://324260266",
265-
starmode = "rbxassetid://436405140"}
265+
starmode = "rbxassetid://651025956"}
266
267
local modecolors = {
268
normalcolors = {color1 = "Sea green",color2 = "Camo",neoncolor ="White"},
269
demoralizedcolors = {color1 = "Black",color2 = "Really black",neoncolor ="Maroon"},
270
demoralizationcolors = {color1 = "Really red",color2 = "Cocoa",neoncolor ="Maroon"},
271
starcolors = {color1 = "Cool yellow",color2 = "Deep orange",neoncolor ="CGA brown"}
272
}	
273
274
--Tweening styles and directions
275
local directions = {In = Enum.EasingDirection.In,
276
    Out = Enum.EasingDirection.Out,
277
    InOut = Enum.EasingDirection.InOut
278
}
279
local styles = {Linear = Enum.EasingStyle.Linear,
280
    Back = Enum.EasingStyle.Back,
281
    Bounce = Enum.EasingStyle.Bounce,
282
    Sine = Enum.EasingStyle.Sine,
283
    Quad = Enum.EasingStyle.Quad,
284
    Elastic = Enum.EasingStyle.Elastic,
285
    Quart = Enum.EasingStyle.Quart,
286
    Quint = Enum.EasingStyle.Quint
287
}
288
 
289
--BasicFunctions
290
local ins = Instance.new
291
local v3 = Vector3.new
292
local cf = CFrame.new
293
local angles = CFrame.Angles
294
local rad = math.rad
295
local huge = math.huge
296
local cos = math.cos
297
local sin = math.sin
298
local tan = math.tan
299
local ray = Ray.new
300
local random = math.random
301
local ud = UDim.new
302
local ud2 = UDim2.new
303
local c3 = Color3.new
304
local rgb = Color3.fromRGB
305
local bc = BrickColor.new
306
 
307
--CFrames
308
cf5 = cf5 * CFrame.Angles(rad(2),rad(0),rad(0))
309
cf6 = cf6 * CFrame.Angles(rad(2),rad(0),rad(0))
310
cff5 = cf5 * CFrame.Angles(rad(2),rad(3),rad(0))
311
cff6 = cf6 * CFrame.Angles(rad(2),rad(-3),rad(0))
312
 
313
--Stopping animations
314
for i,v in pairs(hum:GetPlayingAnimationTracks()) do
315
    v:Stop()
316
end
317
if char:FindFirstChild("Animate") then
318
char.Animate:Destroy()
319
end
320
if hum:FindFirstChildOfClass("Animator") then
321
char.Humanoid.Animator:Destroy()
322
end
323-
hum.MaxHealth = 5000
323+
hum.MaxHealth = 500000
324-
hum.Health = 5000
324+
hum.Health = 500000
325
 
326
--Model
327
--Converted with ttyyuu12345's model to script plugin v4
328
function sandbox(var,func)
329
    local env = getfenv(func)
330
    local newenv = setmetatable({},{
331
        __index = function(self,k)
332
            if k=="script" then
333
                return var
334
            else
335
                return env[k]
336
            end
337
        end,
338
    })
339
    setfenv(func,newenv)
340
    return func
341
end
342
cors = {}
343
mas = Instance.new("Model",game:GetService("Lighting"))
344
Model0 = Instance.new("Model")
345
Part1 = Instance.new("Part")
346
Part2 = Instance.new("Part")
347
SpecialMesh3 = Instance.new("SpecialMesh")
348
Part4 = Instance.new("Part")
349
Part5 = Instance.new("Part")
350
Part6 = Instance.new("Part")
351
Part7 = Instance.new("Part")
352
Part8 = Instance.new("Part")
353
Part9 = Instance.new("Part")
354
WeldConstraint10 = Instance.new("WeldConstraint")
355
WeldConstraint11 = Instance.new("WeldConstraint")
356
WeldConstraint12 = Instance.new("WeldConstraint")
357
WeldConstraint13 = Instance.new("WeldConstraint")
358
WeldConstraint14 = Instance.new("WeldConstraint")
359
WeldConstraint15 = Instance.new("WeldConstraint")
360
WeldConstraint16 = Instance.new("Weld")
361
Model0.Name = "Wristband"
362
Model0.Parent = mas
363
Model0.PrimaryPart = Part9
364
Part1.Name = "LighterPart"
365
Part1.Parent = Model0
366
Part1.CFrame = CFrame.new(104.866997, 26.2399998, -119.177498, 0, 0, 1, 0, 1, 0, -1, 0, 0)
367
Part1.Orientation = Vector3.new(0, 90, 0)
368
Part1.Position = Vector3.new(104.866997, 26.2399998, -119.177498)
369
Part1.Rotation = Vector3.new(0, 90, 0)
370
Part1.Color = Color3.new(0.203922, 0.556863, 0.25098)
371
Part1.Size = Vector3.new(0.075000003, 0.649999976, 0.649999976)
372
Part1.BottomSurface = Enum.SurfaceType.Smooth
373
Part1.BrickColor = BrickColor.new("Sea green")
374
Part1.CanCollide = false
375
Part1.Material = Enum.Material.SmoothPlastic
376
Part1.TopSurface = Enum.SurfaceType.Smooth
377
Part1.brickColor = BrickColor.new("Sea green")
378
Part1.Shape = Enum.PartType.Cylinder
379
Part2.Name = "Sign"
380
Part2.Parent = Model0
381
Part2.CFrame = CFrame.new(104.866997, 26.2399998, -119.177002, -1, 0, 0, 0, 1, 0, 0, 0, -1)
382
Part2.Orientation = Vector3.new(0, 180, 0)
383
Part2.Position = Vector3.new(104.866997, 26.2399998, -119.177002)
384
Part2.Rotation = Vector3.new(-180, 0, -180)
385
Part2.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
386
Part2.BottomSurface = Enum.SurfaceType.Smooth
387
Part2.CanCollide = false
388
Part2.TopSurface = Enum.SurfaceType.Smooth
389
SpecialMesh3.Parent = Part2
390
SpecialMesh3.MeshId = "rbxassetid://443493147"
391
SpecialMesh3.Offset = Vector3.new(0, 0, 0.0350000001)
392
SpecialMesh3.Scale = Vector3.new(0.00749999983, 0.00749999983, 0.00100000005)
393
SpecialMesh3.MeshType = Enum.MeshType.FileMesh
394
Part4.Name = "DarkerPart"
395
Part4.Parent = Model0
396
Part4.CFrame = CFrame.new(104.866997, 26.2399998, -119.164993, 0, 0, 1, 0, 1, 0, -1, 0, 0)
397
Part4.Orientation = Vector3.new(0, 90, 0)
398
Part4.Position = Vector3.new(104.866997, 26.2399998, -119.164993)
399
Part4.Rotation = Vector3.new(0, 90, 0)
400
Part4.Color = Color3.new(0.227451, 0.490196, 0.0823529)
401
Part4.Size = Vector3.new(0.0500000007, 0.699999988, 0.699999988)
402
Part4.BottomSurface = Enum.SurfaceType.Smooth
403
Part4.BrickColor = BrickColor.new("Camo")
404
Part4.CanCollide = false
405
Part4.Material = Enum.Material.SmoothPlastic
406
Part4.TopSurface = Enum.SurfaceType.Smooth
407
Part4.brickColor = BrickColor.new("Camo")
408
Part4.Shape = Enum.PartType.Cylinder
409
Part5.Name = "DarkerPart"
410
Part5.Parent = Model0
411
Part5.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
412
Part5.Position = Vector3.new(104.862, 26.2400093, -118.660004)
413
Part5.Color = Color3.new(0.227451, 0.490196, 0.0823529)
414
Part5.Size = Vector3.new(1.05999994, 0.100000001, 1.05999994)
415
Part5.BottomSurface = Enum.SurfaceType.Smooth
416
Part5.BrickColor = BrickColor.new("Camo")
417
Part5.CanCollide = false
418
Part5.Material = Enum.Material.SmoothPlastic
419
Part5.TopSurface = Enum.SurfaceType.Smooth
420
Part5.brickColor = BrickColor.new("Camo")
421
Part6.Name = "NeonPart"
422
Part6.Parent = Model0
423
Part6.CFrame = CFrame.new(104.862, 26.3150082, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
424
Part6.Position = Vector3.new(104.862, 26.3150082, -118.660004)
425
Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
426
Part6.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994)
427
Part6.BottomSurface = Enum.SurfaceType.Smooth
428
Part6.BrickColor = BrickColor.new("Pearl")
429
Part6.CanCollide = false
430
Part6.Material = Enum.Material.Neon
431
Part6.TopSurface = Enum.SurfaceType.Smooth
432
Part6.brickColor = BrickColor.new("Pearl")
433
Part7.Name = "NeonPart"
434
Part7.Parent = Model0
435
Part7.CFrame = CFrame.new(104.862, 26.1650105, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
436
Part7.Position = Vector3.new(104.862, 26.1650105, -118.660004)
437
Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
438
Part7.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994)
439
Part7.BottomSurface = Enum.SurfaceType.Smooth
440
Part7.BrickColor = BrickColor.new("Pearl")
441
Part7.CanCollide = false
442
Part7.Material = Enum.Material.Neon
443
Part7.TopSurface = Enum.SurfaceType.Smooth
444
Part7.brickColor = BrickColor.new("Pearl")
445
Part8.Name = "LighterPart"
446
Part8.Parent = Model0
447
Part8.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
448
Part8.Position = Vector3.new(104.862, 26.2400093, -118.660004)
449
Part8.Color = Color3.new(0.203922, 0.556863, 0.25098)
450
Part8.Size = Vector3.new(1.04999995, 0.299999833, 1.04999995)
451
Part8.BottomSurface = Enum.SurfaceType.Smooth
452
Part8.BrickColor = BrickColor.new("Sea green")
453
Part8.CanCollide = false
454
Part8.Material = Enum.Material.SmoothPlastic
455
Part8.TopSurface = Enum.SurfaceType.Smooth
456
Part8.brickColor = BrickColor.new("Sea green")
457
Part9.Name = "FakeArm"
458
Part9.Parent = Model0
459
Part9.CFrame = CFrame.new(104.862312, 26.8397083, -118.660202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
460
Part9.Position = Vector3.new(104.862312, 26.8397083, -118.660202)
461
Part9.Transparency = 1
462
Part9.Size = Vector3.new(1, 2, 1)
463
Part9.BottomSurface = Enum.SurfaceType.Smooth
464
Part9.CanCollide = false
465
Part9.TopSurface = Enum.SurfaceType.Smooth
466
WeldConstraint10.Parent = Part9
467
WeldConstraint10.Part0 = Part9
468
WeldConstraint10.Part1 = Part8
469
WeldConstraint11.Parent = Part9
470
WeldConstraint11.Part0 = Part9
471
WeldConstraint11.Part1 = Part5
472
WeldConstraint12.Parent = Part9
473
WeldConstraint12.Part0 = Part9
474
WeldConstraint12.Part1 = Part6
475
WeldConstraint13.Parent = Part9
476
WeldConstraint13.Part0 = Part9
477
WeldConstraint13.Part1 = Part7
478
WeldConstraint14.Parent = Part9
479
WeldConstraint14.Part0 = Part9
480
WeldConstraint14.Part1 = Part4
481
WeldConstraint15.Parent = Part9
482
WeldConstraint15.Part0 = Part9
483
WeldConstraint15.Part1 = Part1
484
WeldConstraint16.Parent = Part9
485
WeldConstraint16.Part0 = Part1
486
WeldConstraint16.Part1 = Part2
487
Part1.Transparency = 1
488
Part2.Transparency = 1
489
Part4.Transparency = 1
490
for i,v in pairs(mas:GetChildren()) do
491
    v.Parent = workspace
492
    pcall(function() v:MakeJoints() end)
493
end
494
mas:Destroy()
495
for i,v in pairs(cors) do
496
    spawn(function()
497
        pcall(v)
498
    end)
499
end
500
function reviveband()
501
function sandbox(var,func)
502
    local env = getfenv(func)
503
    local newenv = setmetatable({},{
504
        __index = function(self,k)
505
            if k=="script" then
506
                return var
507
            else
508
                return env[k]
509
            end
510
        end,
511
    })
512
    setfenv(func,newenv)
513
    return func
514
end
515
cors = {}
516
mas = Instance.new("Model",game:GetService("Lighting"))
517
Model0 = Instance.new("Model")
518
Part1 = Instance.new("Part")
519
Part2 = Instance.new("Part")
520
SpecialMesh3 = Instance.new("SpecialMesh")
521
Part4 = Instance.new("Part")
522
Part5 = Instance.new("Part")
523
Part6 = Instance.new("Part")
524
Part7 = Instance.new("Part")
525
Part8 = Instance.new("Part")
526
Part9 = Instance.new("Part")
527
WeldConstraint10 = Instance.new("WeldConstraint")
528
WeldConstraint11 = Instance.new("WeldConstraint")
529
WeldConstraint12 = Instance.new("WeldConstraint")
530
WeldConstraint13 = Instance.new("WeldConstraint")
531
WeldConstraint14 = Instance.new("WeldConstraint")
532
WeldConstraint15 = Instance.new("WeldConstraint")
533
WeldConstraint16 = Instance.new("Weld")
534
Model0.Name = "Wristband"
535
Model0.Parent = mas
536
Model0.PrimaryPart = Part9
537
Part1.Name = "LighterPart"
538
Part1.Parent = Model0
539
Part1.CFrame = CFrame.new(104.866997, 26.2399998, -119.177498, 0, 0, 1, 0, 1, 0, -1, 0, 0)
540
Part1.Orientation = Vector3.new(0, 90, 0)
541
Part1.Position = Vector3.new(104.866997, 26.2399998, -119.177498)
542
Part1.Rotation = Vector3.new(0, 90, 0)
543
Part1.Color = Color3.new(0.203922, 0.556863, 0.25098)
544
Part1.Size = Vector3.new(0.075000003, 0.649999976, 0.649999976)
545
Part1.BottomSurface = Enum.SurfaceType.Smooth
546
Part1.BrickColor = BrickColor.new("Sea green")
547
Part1.CanCollide = false
548
Part1.Material = Enum.Material.SmoothPlastic
549
Part1.TopSurface = Enum.SurfaceType.Smooth
550
Part1.brickColor = BrickColor.new("Sea green")
551
Part1.Shape = Enum.PartType.Cylinder
552
Part2.Name = "Sign"
553
Part2.Parent = Model0
554
Part2.CFrame = CFrame.new(104.866997, 26.2399998, -119.177002, -1, 0, 0, 0, 1, 0, 0, 0, -1)
555
Part2.Orientation = Vector3.new(0, 180, 0)
556
Part2.Position = Vector3.new(104.866997, 26.2399998, -119.177002)
557
Part2.Rotation = Vector3.new(-180, 0, -180)
558
Part2.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
559
Part2.BottomSurface = Enum.SurfaceType.Smooth
560
Part2.CanCollide = false
561
Part2.TopSurface = Enum.SurfaceType.Smooth
562
SpecialMesh3.Parent = Part2
563
SpecialMesh3.MeshId = "rbxassetid://443493147"
564
SpecialMesh3.Offset = Vector3.new(0, 0, 0.0350000001)
565
SpecialMesh3.Scale = Vector3.new(0.00749999983, 0.00749999983, 0.00100000005)
566
SpecialMesh3.MeshType = Enum.MeshType.FileMesh
567
Part4.Name = "DarkerPart"
568
Part4.Parent = Model0
569
Part4.CFrame = CFrame.new(104.866997, 26.2399998, -119.164993, 0, 0, 1, 0, 1, 0, -1, 0, 0)
570
Part4.Orientation = Vector3.new(0, 90, 0)
571
Part4.Position = Vector3.new(104.866997, 26.2399998, -119.164993)
572
Part4.Rotation = Vector3.new(0, 90, 0)
573
Part4.Color = Color3.new(0.227451, 0.490196, 0.0823529)
574
Part4.Size = Vector3.new(0.0500000007, 0.699999988, 0.699999988)
575
Part4.BottomSurface = Enum.SurfaceType.Smooth
576
Part4.BrickColor = BrickColor.new("Camo")
577
Part4.CanCollide = false
578
Part4.Material = Enum.Material.SmoothPlastic
579
Part4.TopSurface = Enum.SurfaceType.Smooth
580
Part4.brickColor = BrickColor.new("Camo")
581
Part4.Shape = Enum.PartType.Cylinder
582
Part5.Name = "DarkerPart"
583
Part5.Parent = Model0
584
Part5.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
585
Part5.Position = Vector3.new(104.862, 26.2400093, -118.660004)
586
Part5.Color = Color3.new(0.227451, 0.490196, 0.0823529)
587
Part5.Size = Vector3.new(1.05999994, 0.100000001, 1.05999994)
588
Part5.BottomSurface = Enum.SurfaceType.Smooth
589
Part5.BrickColor = BrickColor.new("Camo")
590
Part5.CanCollide = false
591
Part5.Material = Enum.Material.SmoothPlastic
592
Part5.TopSurface = Enum.SurfaceType.Smooth
593
Part5.brickColor = BrickColor.new("Camo")
594
Part6.Name = "NeonPart"
595
Part6.Parent = Model0
596
Part6.CFrame = CFrame.new(104.862, 26.3150082, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
597
Part6.Position = Vector3.new(104.862, 26.3150082, -118.660004)
598
Part6.Color = Color3.new(0.905882, 0.905882, 0.92549)
599
Part6.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994)
600
Part6.BottomSurface = Enum.SurfaceType.Smooth
601
Part6.BrickColor = BrickColor.new("Pearl")
602
Part6.CanCollide = false
603
Part6.Material = Enum.Material.Neon
604
Part6.TopSurface = Enum.SurfaceType.Smooth
605
Part6.brickColor = BrickColor.new("Pearl")
606
Part7.Name = "NeonPart"
607
Part7.Parent = Model0
608
Part7.CFrame = CFrame.new(104.862, 26.1650105, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
609
Part7.Position = Vector3.new(104.862, 26.1650105, -118.660004)
610
Part7.Color = Color3.new(0.905882, 0.905882, 0.92549)
611
Part7.Size = Vector3.new(1.05999994, 0.0500000007, 1.05999994)
612
Part7.BottomSurface = Enum.SurfaceType.Smooth
613
Part7.BrickColor = BrickColor.new("Pearl")
614
Part7.CanCollide = false
615
Part7.Material = Enum.Material.Neon
616
Part7.TopSurface = Enum.SurfaceType.Smooth
617
Part7.brickColor = BrickColor.new("Pearl")
618
Part8.Name = "LighterPart"
619
Part8.Parent = Model0
620
Part8.CFrame = CFrame.new(104.862, 26.2400093, -118.660004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
621
Part8.Position = Vector3.new(104.862, 26.2400093, -118.660004)
622
Part8.Color = Color3.new(0.203922, 0.556863, 0.25098)
623
Part8.Size = Vector3.new(1.04999995, 0.299999833, 1.04999995)
624
Part8.BottomSurface = Enum.SurfaceType.Smooth
625
Part8.BrickColor = BrickColor.new("Sea green")
626
Part8.CanCollide = false
627
Part8.Material = Enum.Material.SmoothPlastic
628
Part8.TopSurface = Enum.SurfaceType.Smooth
629
Part8.brickColor = BrickColor.new("Sea green")
630
Part9.Name = "FakeArm"
631
Part9.Parent = Model0
632
Part9.CFrame = CFrame.new(104.862312, 26.8397083, -118.660202, 1, 0, 0, 0, 1, 0, 0, 0, 1)
633
Part9.Position = Vector3.new(104.862312, 26.8397083, -118.660202)
634
Part9.Transparency = 1
635
Part9.Size = Vector3.new(1, 2, 1)
636
Part9.BottomSurface = Enum.SurfaceType.Smooth
637
Part9.CanCollide = false
638
Part9.TopSurface = Enum.SurfaceType.Smooth
639
WeldConstraint10.Parent = Part9
640
WeldConstraint10.Part0 = Part9
641
WeldConstraint10.Part1 = Part8
642
WeldConstraint11.Parent = Part9
643
WeldConstraint11.Part0 = Part9
644
WeldConstraint11.Part1 = Part5
645
WeldConstraint12.Parent = Part9
646
WeldConstraint12.Part0 = Part9
647
WeldConstraint12.Part1 = Part6
648
WeldConstraint13.Parent = Part9
649
WeldConstraint13.Part0 = Part9
650
WeldConstraint13.Part1 = Part7
651
WeldConstraint14.Parent = Part9
652
WeldConstraint14.Part0 = Part9
653
WeldConstraint14.Part1 = Part4
654
WeldConstraint15.Parent = Part9
655
WeldConstraint15.Part0 = Part9
656
WeldConstraint15.Part1 = Part1
657
WeldConstraint16.Parent = Part9
658
WeldConstraint16.Part0 = Part1
659
WeldConstraint16.Part1 = Part2
660
Part1.Transparency = 1
661
Part2.Transparency = 1
662
Part4.Transparency = 1
663
for i,v in pairs(mas:GetChildren()) do
664
    v.Parent = workspace
665
    pcall(function() v:MakeJoints() end)
666
end
667
mas:Destroy()
668
for i,v in pairs(cors) do
669
    spawn(function()
670
        pcall(v)
671
    end)
672
end
673
wristband = Model0
674
bandhandle = Part5
675
wristband.Parent = char
676
end
677
local signweld = WeldConstraint16
678
wristband = Model0
679
bandhandle = Part5
680
wristband.Parent = char
681
local weld = ins("Weld",ra)
682
weld.Part0 = ra
683
weld.Part1 = wristband.PrimaryPart
684
weld.C0 = angles(rad(0),rad(-90),rad(0))
685
local effpart = Instance.new("Part")
686
effpart.Size = Vector3.new(2,.1,1)
687
effpart.Massless = true
688
effpart.Transparency = 1
689
effpart.CanCollide = false
690
effpart.Anchored = false
691
effpart.Parent = char
692
local grabpart = Instance.new("Part")
693
grabpart.Size = Vector3.new(.001,.001,.001)
694
grabpart.Massless = true
695
grabpart.Transparency = 1
696
grabpart.CanCollide = false
697
grabpart.Anchored = false
698
grabpart.Material = "Neon"
699
grabpart.Parent = char
700
local pweld = Instance.new("Weld",effpart)
701
pweld.Part0 = t
702
pweld.Part1 = effpart
703
pweld.C0 = CFrame.new(0,-2.2,-.5)
704
local gweld = Instance.new("Weld",grabpart)
705
gweld.Part0 = rut
706
gweld.Part1 = grabpart
707
gweld.C0 = CFrame.new(0,3,-1.4)
708
local lsound = Instance.new("Sound",effpart)
709
lsound.Volume = lsvol
710
lsound.SoundId = "rbxassetid://1161221108"
711
local effects = ins("Model",char)
712
effects.Name = "Effects"
713
local music = ins("Sound",t)
714
music.Volume = vol
715
music.SoundId = songid
716
music.Looped = true
717-
music.EmitterSize = 35
717+
music.EmitterSize = 999999999
718
music:Play()
719
local ff = ins("ForceField",char)
720
ff.Visible = false
721
local roar = ins("Sound",rut)
722-
roar.Volume = 5
722+
roar.Volume = 10
723
roar.SoundId = "rbxassetid://2631687985"
724
roar.EmitterSize = 100
725
local roar2 = ins("Sound",rut)
726-
roar2.Volume = 5
726+
roar2.Volume = 10
727
roar2.SoundId = "rbxassetid://2631687985"
728
roar2.EmitterSize = 100
729
local billboard = ins("BillboardGui",h)
730
billboard.Adornee = h
731
billboard.Size = ud2(2,0,1,0)
732
billboard.StudsOffset = v3(0,2,0)
733
billboard.AlwaysOnTop = true
734
billboard.MaxDistance = 15
735
local text = ins("TextBox",billboard)
736
text.BackgroundTransparency = 1
737
text.TextStrokeTransparency = 0
738
text.Size = ud2(1,0,1,0)
739
text.TextScaled = true
740
text.TextColor = Part4.BrickColor
741
text.TextStrokeColor3 = Part1.BrickColor.Color
742
text.Text = mode
743
local billboard2 = ins("BillboardGui",h)
744
billboard2.Adornee = h
745
billboard2.Size = ud2(1.5,0,.75,0)
746
billboard2.StudsOffset = v3(0,1.5,0)
747
billboard2.AlwaysOnTop = true
748
billboard2.MaxDistance = 15
749
local text2 = ins("TextBox",billboard2)
750
text2.BackgroundTransparency = 1
751
text2.TextStrokeTransparency = 0
752
text2.Size = ud2(1,0,1,0)
753
text2.TextScaled = true
754
text2.TextColor = bc("Smoky grey")
755
text2.TextStrokeColor3 = bc("Fossil").Color
756-
text2.Text = "<Demoralized>"
756+
text2.Text = "Reverb Family Member"
757
local raw = ins("WeldConstraint",rut)
758
raw.Part1 = rl
759
local law = ins("WeldConstraint",rut)
760
law.Part1 = ll
761
 
762
--Functions
763
function swait()
764
    runservice.Stepped:Wait()
765
end
766
function remove(instance,time)
767
    debrs:AddItem(instance,time)
768
end
769
function removedescendantsof(parent,type,descendants)
770
    if type == "isa" then
771
        for i,v in pairs(parent:GetDescendants()) do
772
            if v:IsA(descendants) then
773
                v:Destroy()
774
            end
775
        end
776
        elseif type == "name" then
777
        for i,v in pairs(parent:GetDescendants()) do
778
            if v.Name == descendants then
779
                v:Destroy()
780
            end
781
        end
782
    end
783
    end
784
function turnto(to)
785
    rut.CFrame = cf(rut.Position,v3(to.x,rut.Position.y,to.z))
786
end
787
function sound(id,vol,pitch,parent)
788
    pcall(function()
789
        local newsound = Instance.new("Sound",parent)
790
        newsound.Volume = vol
791
        newsound.SoundId = "rbxassetid://"..id
792
        newsound.Pitch = pitch
793
        newsound:Play()
794
        coroutine.resume(coroutine.create(function()
795
            wait(.1)
796
            remove(newsound,newsound.TimeLength/newsound.Pitch)
797
        end))
798
        return newsound
799
    end)
800
end
801
function rayc(spos,direc,ignore,dist)
802
    local rai = ray(spos,direc.Unit * dist)
803
    local rhit,rpos,rrot = workspace:FindPartOnRayWithIgnoreList(rai,ignore,false,false)
804
    return rhit,rpos,rrot
805
end
806
local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
807
    local info = TweenInfo.new(
808
    leinght,
809
    easingstyle,
810
    easingdirec,
811
    0,
812
    false,
813
    0
814
    )
815
    local lerp = tweens:Create(part,info,tablee)
816
    lerp:Play()
817
end
818
function removewithfade(part,timebeforefade,randc)
819
pcall(function()
820
    coroutine.resume(coroutine.create(function()
821
        wait(timebeforefade)
822
        part:BreakJoints()
823
        part.Name = "JustGoingAwayOk?"
824
        part.Parent = effects
825
        for i = 1,25 do
826
            if randc then
827
                part.BrickColor = BrickColor.Random()
828
            end
829
            part.Transparency = part.Transparency +.04
830
            wait()
831
        end
832
        part:Destroy()
833
    end))
834
end)
835
end
836
function fadewithfly(part,color,randc)
837
pcall(function()
838
    part:ClearAllChildren()
839
    part.CanCollide = false
840
    part.Anchored = false
841
    part.Massless = true
842
    part.Locked = false
843
    part.Archivable = true
844
    part.Material = "Neon"
845
    part.BrickColor = BrickColor.new(color)
846
    local vel = Instance.new("BodyVelocity")
847
    vel.MaxForce = v3(huge,huge,huge)
848
    vel.P = 10000
849
    vel.Velocity = v3(math.random(-3,3),math.random(1,3),math.random(-3,3))
850
    local avel = Instance.new("BodyAngularVelocity")
851
    avel.MaxTorque = v3(huge,huge,huge)
852
    avel.AngularVelocity = v3(math.random(-2,2),math.random(-2,2),math.random(-2,2))
853
    avel.Parent = part
854
    vel.Parent = part
855
    if randc then
856
        removewithfade(part,0,true)
857
    else
858
        removewithfade(part,0,false)
859
    end
860
end)
861
end
862
function sphereefx(pos,ssize,osize,colour,time)
863
    local sphere = ins("Part")
864
    sphere.Anchored = true
865
    sphere.CanCollide = false
866
    sphere.Material = "Neon"
867
    sphere.CFrame = pos
868
    sphere.Size = v3(.1,.1,.1)
869
    sphere.BrickColor = bc(tostring(colour))
870
    sphere.Parent = effects
871
    local spheremesh = ins("SpecialMesh",sphere)
872
    spheremesh.MeshType = "Sphere"
873
    spheremesh.Scale = v3(ssize,ssize,ssize)*10
874
    tlerp(spheremesh,{Scale = v3(osize,osize,osize)*10},time,styles.Quad,directions.In)
875
    tlerp(sphere,{Transparency = 1},time,styles.Quad,directions.In)
876
    remove(sphere,time)
877
    return sphere
878
end
879
function changecolors(speed,maincolor,secondcolor,neoncolor)
880
    for i,v in pairs(wristband:GetChildren()) do
881
        if v.Name == "LighterPart" and maincolor ~= nil then
882
            tlerp(v,{Color = BrickColor.new(tostring(maincolor)).Color},speed,styles.Linear,directions.In)
883
			tlerp(text,{TextColor3 = BrickColor.new(tostring(maincolor)).Color},speed,styles.Linear,directions.In)
884
        end
885
        if v.Name == "DarkerPart" and secondcolor ~= nil then
886
            tlerp(v,{Color = BrickColor.new(tostring(secondcolor)).Color},speed,styles.Linear,directions.In)
887
			tlerp(text,{TextStrokeColor3 = BrickColor.new(tostring(secondcolor)).Color},speed,styles.Linear,directions.In)
888
        end
889
        if v.Name == "NeonPart" and neoncolor ~= nil then
890
            tlerp(v,{Color = BrickColor.new(tostring(neoncolor)).Color},speed,styles.Linear,directions.In)
891
        end
892
    end
893
end
894
function fire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise,followchar)
895
    local part = Instance.new("Part",parent) part.Size = Vector3.new(ssize,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Shape = shape part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20))
896
    if followchar then
897
		onlyraise = false
898
		part.CFrame = CFrame.new(part.Position,rut.Position) * angles(rad(-90),rad(0),rad(0))
899
	end
900
	if onlyraise == true then
901
        part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z))
902
    end
903
    local pcf = part.CFrame
904
    tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(osize,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut)
905
    game:GetService("Debris"):AddItem(part,leinght)
906
end
907
function wedgefire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,spread,st,ot,onlyraise,followchar)
908
    local part = Instance.new("WedgePart",parent) part.Size = Vector3.new(.1,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20))
909
    if followchar then
910
		onlyraise = false
911
		part.CFrame = CFrame.new(part.Position,rut.Position) * angles(rad(-90),rad(0),rad(0))
912
	end
913
	if onlyraise == true then
914
        part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z))
915
    end
916
    local pcf = part.CFrame
917
    tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(.1,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut)
918
    game:GetService("Debris"):AddItem(part,leinght)
919
end
920
function damagingfire(partp,parent,color1,color2,ssize,osize,leinght,material,minr,maxr,shape,spread,st,ot,onlyraise,damage)
921
    local deb = false
922
    local part = Instance.new("Part",parent) part.Size = Vector3.new(ssize,ssize,ssize) part.Transparency = st part.CanCollide = false part.Anchored = true part.Shape = shape part.Material = material part.BrickColor = BrickColor.new(color1) part.CFrame = partp.CFrame * CFrame.new(partp.Size.x/math.random(-20,20),partp.Size.y/math.random(-20,20),partp.Size.z/math.random(-20,20))
923
    if onlyraise == true then
924
        part.CFrame = CFrame.new(part.CFrame.p,Vector3.new(nil,part.CFrame.y,part.CFrame.z))
925
    end
926
    part.Touched:Connect(function(hit)
927
        if not deb then
928
            local newhum = hit.Parent:FindFirstChildOfClass("Humanoid")
929
            if newhum and newhum ~= hum then
930
                deb = true
931
                if newhum.Health >maxhealthuntilinstakill then
932
                    death(newhum.Parent,part.BrickColor)
933
                    showdamage(part.CFrame,"Too much health...",1)
934
                    return
935
                end
936
                local rand = random(1,10)
937
                if rand == 8 then
938
                    lesserfirepart(hit)
939
                end
940
                newhum.Health = newhum.Health -damage
941
                if newhum.Health <.01 then
942
                    death(newhum.Parent,part.BrickColor)
943
                    return
944
                end
945
                showdamage(part.CFrame,"-"..damage,.1)
946
            end
947
        end
948
    end)
949
    local pcf = part.CFrame
950
    tlerp(part,{CFrame = pcf * CFrame.new(math.random(-spread,spread)/math.random(2,4),math.random(minr,maxr),math.random(-spread,spread)/math.random(2,4)) * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180))),Size = Vector3.new(osize,osize,osize),Color = BrickColor.new(color2).Color,Transparency = ot},leinght,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut)
951
    game:GetService("Debris"):AddItem(part,leinght)
952
end
953
function partray(from,to,colour,wideness,time)
954
    pcall(function()
955
		local antime = time or .25
956
        local raypart = ins("Part")
957
        raypart.Anchored = true
958
        raypart.CanCollide = false
959-
        raypart.Material = "Neon"
959+
        raypart.Material = "Glass"
960
        raypart.BrickColor = bc(tostring(colour))
961
        raypart.CFrame = from
962
        local dista = (from.p-to).Magnitude
963
        raypart.CFrame = cf(raypart.Position,to) * cf(0,0,-dista/2) * angles(rad(0),rad(0),rad(math.random(-180,180)))
964
        raypart.Size = v3(wideness,wideness,dista)
965
        raypart.Parent = effects
966
        local endcf = raypart.CFrame * cf(0,0,-raypart.Size.z/2)
967
        coroutine.resume(coroutine.create(function()
968
            tlerp(raypart,{Size = v3(.1,.1,raypart.Size.z/10),Transparency = 1,CFrame = endcf},antime,styles.Quad,directions.In)
969
            remove(raypart,antime)
970
        end))
971
    end)
972
end
973
function knockback(part,force,timeb)
974
    local vel = ins("BodyVelocity",part)
975
    vel.MaxForce = v3(huge,huge,huge)
976
    vel.Velocity = rut.CFrame.LookVector * force
977
    remove(vel,timeb)
978
end
979
function showdamage(pos,text,timebeforefade)
980
    local dpart = ins("Part")
981
    dpart.Anchored = true
982
    dpart.CanCollide = false
983
    dpart.Size = v3(.01,.01,.01)
984
    dpart.Transparency = 1
985
    dpart.CFrame = pos
986
    dpart.Parent = effects
987
    dpart.CFrame = cf(dpart.Position,v3(nil,dpart.Position.y,dpart.Position.z))
988
    local bil = ins("BillboardGui",dpart)
989
    bil.Size = ud2(2,0,2,0)
990
    bil.AlwaysOnTop = true
991
    local label = ins("TextBox",bil)
992
    label.Size = ud2(1,0,1,0)
993
    label.Text = text
994
    label.BackgroundTransparency = 1
995
    label.TextScaled = true
996
    label.TextColor3 = Part4.Color
997
    coroutine.resume(coroutine.create(function()
998
        tlerp(dpart,{CFrame = dpart.CFrame * cf(random(-1,1),random(-1,1),random(-1,1))},.5,styles.Back,directions.Out)
999
        wait(timebeforefade)
1000
        tlerp(label,{TextTransparency = 1},.5,styles.Back,directions.Out)
1001
        remove(dpart,.5)
1002
    end))
1003
end
1004
function death(character,colour)
1005
	coroutine.resume(coroutine.create(function()
1006
    character:BreakJoints()
1007
	local fc = false
1008
	local mindd = 1
1009
	local maxdd = 3
1010
	if mode == "DEMORALIZATION" then
1011
		fc = true
1012
	end
1013
	wait(1)
1014
	local spheree = sphereefx(character:FindFirstChildOfClass("Part").CFrame,0,0,Part1.BrickColor,5)
1015
	sound(297569488,1,1.2,spheree)
1016
    for i,v in pairs(character:GetDescendants()) do
1017
        if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("UnionOperation") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then 
1018
           for i = 1,random(1,2) do
1019
			wedgefire(v,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true)
1020
		end
1021
		if fc then
1022
			mindd = (rut.Position-v.Position).Magnitude
1023
			maxdd = (rut.Position-v.Position).Magnitude
1024
		end
1025
		 fire(v,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/5,"Neon",tonumber(mindd),tonumber(maxdd),"Block",0,0,1,true,fc)
1026
            remove(v,0)
1027
        end
1028
    end
1029
    remove(character,0)
1030
	end))
1031
end
1032
function firepart(parttofire)
1033
    coroutine.resume(coroutine.create(function()
1034
        for i = 1,random(20,30) do
1035
            if not parttofire or not parttofire.Parent then
1036
                break
1037
            end
1038
            parttofire.BrickColor = Part4.BrickColor
1039
            if mode == "Normal" then
1040
                damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(2,5))
1041
            elseif mode == "Demoralized" then
1042
            if parttofire.Size.x >2 then
1043
                    damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),parttofire.Size.x/5,parttofire.Size.x/15,math.random(6,10)/12,"Neon",parttofire.Size.x/5,parttofire.Size.x/1.5,"Block",3,.2,1,false,random(5,8))
1044
            else
1045
                damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(5,8))
1046
            end
1047
            elseif mode == "DEMORALIZATION" then
1048
			damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),parttofire.Size.x/5,parttofire.Size.x/15,math.random(6,10)/12,"Neon",parttofire.Size.x/5,parttofire.Size.x/1.5,"Block",3,.75,1,false,random(40,99))
1049
		elseif mode == "Star" then
1050
			damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(3,6))
1051
		end
1052
            wait(.15)
1053
            end
1054
            if parttofire.Name == "Impact" or parttofire.Name == "Shard" then
1055
                tlerp(parttofire,{Size = v3(.1,.1,.1),Transparency = 1},.1,styles.Quad,directions.In)
1056
                remove(parttofire,.1)
1057
            end
1058
    end))
1059
    end
1060
function lesserfirepart(parttofire)
1061
    coroutine.resume(coroutine.create(function()
1062
        for i = 1,random(6,12) do
1063
            if not parttofire or not parttofire.Parent then
1064
                break
1065
            end
1066
            if parttofire.Name == "Impact" then
1067
                parttofire.BrickColor = Part4.BrickColor
1068
            end
1069
            if mode == "Normal" then
1070
                damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,true,random(2,5))
1071
            elseif mode == "Demoralized" then
1072
                damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,true,random(5,8))
1073
		  elseif mode == "DEMORALIZATION" then
1074
                damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.75,1,true,random(40,99))
1075
		elseif mode == "Star" then
1076
			damagingfire(parttofire,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/5,math.random(3,6)/5,math.random(6,10)/12,"Neon",2,6,"Block",3,.2,1,false,random(3,6))
1077
            end
1078
            wait(.25)
1079
            end
1080
            if parttofire.Name == "Impact" then
1081
                tlerp(parttofire,{Size = v3(.1,.1,.1),Transparency = 1},.1,styles.Quad,directions.In)
1082
                remove(parttofire,.1)
1083
            end
1084
    end))
1085
end
1086
function placefirepart(pos,size)
1087
    local part = ins("Part")
1088
    part.Anchored = true
1089
    part.CanCollide = false
1090
    part.Transparency = .4
1091
    part.Material = "Neon"
1092
    part.Name = "Impact"
1093
    part.CFrame = pos
1094
    part.Size = v3(.1,.1,.1)
1095
    tlerp(part,{Size = v3(size,.1,size)},.1,styles.Quad,directions.In)
1096
    part.Parent = effects
1097
    local mesh = ins("CylinderMesh",part)
1098
    local vol = 7
1099
    local amo = 1
1100
    if mode == "Demoralized" then
1101
        vol = 10
1102
        amo = 3
1103
	elseif mode == "DEMORALIZATION" then
1104
		 vol = 10
1105
        amo = 5
1106
    end
1107
    coroutine.resume(coroutine.create(function()
1108
        pcall(function()
1109
            if size < 50 then
1110
                sound(539294959,vol,1,part)
1111
            else
1112
                for i = 1,amo do
1113
                    sound(142885319,vol or 10,.4,char)
1114
                end
1115
                part.Transparency = .7
1116
            end
1117
        end)
1118
        local sphere = sphereefx(part.CFrame,size/6,size*2,tostring(Part4.BrickColor),.25)
1119
        for i = 1,4 do
1120
            fire(part,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/(35-size*2.5),math.random(3,6)/(35-size*20),math.random(6,10)/20,"Neon",-size*1.5,size*1.5,"Block",size*1.5,.2,1,true)
1121
        		for i = 1,random(2,3) do
1122
				wedgefire(part,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),size/5,size/15,math.random(6,10)/12,"Neon",-size*1.5,size*1.5,size*2,.3,1,true)
1123
			end
1124
		end
1125
        for i = 1,5 do
1126
            sphere = sphereefx(part.CFrame,size/2,size*2,tostring(Part4.BrickColor),.25)
1127
            if mode == "Normal" then
1128
                magdamage(sphere.Position,size,random(2,5),851453784,2)
1129
            if size <75 then
1130
                partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1)
1131
            else
1132
                partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),3.5)
1133
            end
1134
            elseif mode == "Demoralized" then
1135
            if size >120 then
1136
                magdamage(sphere.Position,size,random(15,30),851453784,2)
1137
            partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),15)
1138
            else
1139
                magdamage(sphere.Position,size,random(4,9),851453784,2)
1140
            partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1.5)
1141
            end
1142
			elseif mode == "DEMORALIZATION" then
1143
            if size == huge then
1144
                killeveryone()
1145
            partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),15)
1146
            else
1147
                magdamage(sphere.Position,size,random(30,60),851453784,2)
1148
            partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1.5)
1149
            end
1150
		elseif mode == "Star" then
1151
                magdamage(sphere.Position,size,random(3,6),851453784,2)
1152
            if size <75 then
1153
                partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),1)
1154
            else
1155
                partray(part.CFrame * cf(random(-size,size),random(0,size),random(-size,size)),part.Position,tostring(Part4.BrickColor),3.5)
1156
            end
1157
            end
1158
            swait()
1159
        end
1160
    end))
1161
    firepart(part)
1162
end
1163
function placeweakfirepart(pos,size)
1164
    local part = ins("Part")
1165
    part.Anchored = true
1166
    part.CanCollide = false
1167
    part.Transparency = .4
1168
    part.Material = "Neon"
1169
    part.Name = "Impact"
1170
    part.CFrame = pos
1171
    part.Size = v3(.1,.1,.1)
1172
    tlerp(part,{Size = v3(size,.1,size)},.1,styles.Quad,directions.In)
1173
    part.Parent = effects
1174
    local mesh = ins("CylinderMesh",part)
1175
    lesserfirepart(part)
1176
end
1177
function throwfire(from,direc,maxdist)
1178
    local part = ins("Part")
1179
    part.Name = "Shard"
1180
    part.Size = v3(1,1,1)
1181
    part.Anchored = true
1182
    part.CanCollide = false
1183
    part.Transparency = .7
1184
    part.Material = "Neon"
1185
    part.CFrame = from
1186
    part.CFrame = cf(part.Position,direc)
1187
    part.Parent = effects
1188
    firepart(part)
1189
    local speed = 3
1190
    if mode == "Demoralized" then
1191
        speed = 6
1192
	elseif mode == "DEMORALIZATION" then
1193
	speed = 12
1194
elseif mode == "Star" then
1195
	speed = 4.5
1196
    end
1197
    coroutine.resume(coroutine.create(function()
1198
        for i = 1,maxdist do
1199
            local hit,pos,rot = rayc(part.Position,part.CFrame.LookVector,{char},speed+1)
1200
            part.CFrame = part.CFrame * cf(0,0,-speed) * angles(rad(-.35),rad(0),rad(0))
1201
            if hit then
1202
                local size = 10
1203
                if mode == "Demoralized" then
1204
                    size = 15
1205
			elseif mode == "DEMORALIZATION" then
1206
				size = 25
1207
                end
1208
                placefirepart(cf(pos,pos+rot) * angles(rad(-90),rad(0),rad(0)),size)
1209
                break
1210
            end
1211
            wait()
1212
        end
1213
        part:Destroy()
1214
    end))
1215
end
1216
function magdamage(pos,maxrange,damage,id,vol,breakafterhit)
1217
    for i,v in pairs(workspace:GetDescendants()) do
1218
        if v:IsA("Humanoid") and v.Parent ~= char and v.Health >.01 then
1219
            local tors = v.Parent:FindFirstChild("Torso") or v.Parent:FindFirstChild("UpperTorso")
1220
            if tors and (pos-tors.Position).Magnitude <= maxrange then
1221
                v.Health = v.Health  - damage
1222
            if mode == "Demoralized" or mode == "DEMORALIZATION" then
1223
                hum.Health = hum.Health +damage
1224
            end
1225
			local knock = 10
1226
			if mode == "DEMORALIZATION" then
1227
				knock = 50
1228
			end
1229
                knockback(tors,knock,.2)
1230
                pcall(function()
1231
                    sound(id,vol,1,ra)
1232
                end)
1233
			showdamage(tors.CFrame * cf(random(-1,1),random(-1,1),random(-1,1)),"-"..damage,1)
1234
                if v.Health > maxhealthuntilinstakill then
1235
                    death(v.Parent,Part4.BrickColor)
1236
                    showdamage(tors.CFrame * cf(random(-1,1),random(-1,1),random(-1,1)),"Too much health...",2)
1237
                    return
1238
                end
1239
                if v.Health < .01 then
1240
                    death(v.Parent,Part4.BrickColor)
1241
                    return
1242
                end
1243
            if breakafterhit == true then
1244
                break
1245
            end
1246
            end
1247
        end
1248
    end
1249
end
1250
function killeveryone()
1251
	pcall(function()
1252
    for i,v in pairs(workspace:GetDescendants()) do
1253
        if v:IsA("Humanoid") and v.Parent ~= char then
1254
			v.Parent:BreakJoints()
1255
          	death(v.Parent,Part4.BrickColor)
1256
		end
1257
    end
1258
	end)
1259
end
1260
function laser(from,to)
1261
    local hit,pos,rot = rayc(from.Position,to-h.Position,{char},600)
1262
        if mode == "Normal" then
1263
            magdamage(pos,7.5,math.random(10,15),851453784,2,false)
1264
            partray(from.CFrame,pos,tostring(Part4.BrickColor),2)
1265
            local rand = random(1,11)
1266
            if rand == 9 then
1267
                placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),5)
1268
            end
1269
            local sphere = sphereefx(cf(pos),1,10,tostring(Part4.BrickColor),.3)
1270
		for i = 1,random(3,5) do
1271
			wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),3,.1,math.random(6,10)/12,"Neon",-5,20,25,.3,1,true)
1272
		end
1273
        elseif mode == "Demoralized" then
1274
            local rand = random(1,11)
1275
            if rand == 9 then
1276
                placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),10)
1277
            end
1278
            magdamage(pos,15,math.random(15,30),851453784,2,false)
1279
            local sphere = sphereefx(cf(pos),1,20,tostring(Part4.BrickColor),.3)
1280
		for i = 1,random(3,5) do
1281
			wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),4.5,.3,math.random(6,10)/12,"Neon",-5,25,35,.3,1,true)
1282
		end
1283
            partray(t.CFrame,pos,tostring(Part4.BrickColor),3.5)
1284
		elseif mode == "DEMORALIZATION" then
1285
            local rand = random(1,7)
1286
            if rand == 7 then
1287
                placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),25)
1288
            end
1289
            magdamage(pos,15,math.random(45,90),851453784,3.5,false)
1290
            local sphere = sphereefx(cf(pos),6,35,tostring(Part4.BrickColor),.3)
1291
		for i = 1,random(3,5) do
1292
			wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),12.5,0,math.random(6,10)/12,"Neon",-45,45,45,0,1,true)
1293
		end
1294
            partray(Part8.CFrame,pos,tostring(Part4.BrickColor),5)
1295
		elseif mode == "Star" then
1296
            magdamage(pos,8,math.random(12,18),851453784,2,false)
1297
            partray(from.CFrame,pos,tostring(Part4.BrickColor),2)
1298
            local rand = random(1,9)
1299
            if rand == 9 then
1300
                placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),7.5)
1301
            end
1302
            local sphere = sphereefx(cf(pos),2,12.5,tostring(Part4.BrickColor),.3)
1303
		for i = 1,random(3,5) do
1304
			wedgefire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),3,.1,math.random(6,10)/12,"Neon",-5,20,25,.3,1,true)
1305
		end
1306
        end
1307
end
1308
function skybeam(pos)
1309
	local size = 10
1310
	local damage = random(2,5)
1311
	if mode == "Demoralized" then
1312
		size = 15
1313
		damage = random(6,12)
1314
	elseif mode == "DEMORALIZATION" then
1315
		size = 35
1316
		damage = random(60,120)
1317
	end
1318
	sound(142885319,10,.5,char)
1319
	local hit,poss,rot = rayc(v3(pos.x,pos.y,pos.z)+v3(0,2,0),v3(pos.x,-700,pos.z),{char},500)
1320
	partray(pos*cf(0,500,0),poss,Part4.BrickColor,size,.5)
1321
	placefirepart(cf(poss,poss+rot)*angles(rad(-90),0,0),size*1.5)
1322
end
1323
 
1324
--Creates
1325
for i,v in pairs(char:GetDescendants()) do
1326
    if v:IsA("Part") then
1327
        v.Locked = true
1328
    end
1329
end
1330
nec = ins("Weld",t) nec.Part0 = p0 nec.Part1 = p1 nec.C0 = cf01 nec.C1 = cf1
1331
rs = ins("Weld",t) rs.Part0 = rsp0 rs.Part1 = rsp1 rs.C0 = cf03 rs.C1 = cf3
1332
ls = ins("Weld",t) ls.Part0 = lsp0 ls.Part1 = lsp1 ls.C0 = cf04 ls.C1 = cf4
1333
rh = ins("Weld",t) rh.Part0 = rhp0 rh.Part1 = rhp1 rh.C0 = cf05 rh.C1 = cf5
1334
lh = ins("Weld",t) lh.Part0 = lhp0 lh.Part1 = lhp1 lh.C0 = cf06 lh.C1 = cf6
1335
 
1336
--Animation functions
1337
function land()
1338
if phit then
1339
    readytoland = false
1340
    landed = true
1341
    local oldspeed = hum.WalkSpeed
1342
    hum.WalkSpeed = 1.5
1343
    hum.JumpPower = 0
1344
    lsound:Play()
1345
    for i = 0,1,.1 do
1346
    rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.5,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
1347
    rh.C0 = rh.C0:Lerp(CFrame.new(1,-.5,-.3) * CFrame.Angles(rad(11),rad(90),rad(0)),i)
1348
    lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.5,-.25) * CFrame.Angles(rad(9),rad(-90),rad(0)),i)
1349
    rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i)
1350
    ls.C0 = ls.C0:Lerp(CFrame.new(-1,.35,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(-10)),i)
1351
    nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
1352
    swait()
1353
    end
1354
    for i = 1,math.random(5,8) do
1355
    fire(effpart,effects,tostring(phit.BrickColor),tostring(phit.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(4,6)/10,phit.Material,0,0,"Block",5,0,1,true)
1356
    end
1357
    wait(.3)
1358
    landed = false
1359
    hum.WalkSpeed = oldspeed
1360
    hum.JumpPower = 50
1361
end
1362
end
1363
function punch1()
1364
    using = true
1365
	local speed1 = .075
1366
	local speed2 = .095
1367
	if mode == "Star" then
1368
		speed1 = .095
1369
		speed2 = .115
1370
	end
1371
    for i = 0,.75,speed1 do
1372
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(10),rad(150)),i)
1373
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(85),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1374
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1375
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(90)),i)
1376
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(10)),i)
1377
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(210)),i)
1378
        nec.C1 = nec.C1:Lerp(cf1,.1)
1379
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1380
        rs.C1 = rs.C1:Lerp(cf3,.1)
1381
        ls.C1 = ls.C1:Lerp(cf4,.1)
1382
        rh.C1 = rh.C1:Lerp(cf5,.1)
1383
        lh.C1 = lh.C1:Lerp(cf6,.1)
1384
        swait()
1385
    end
1386
    if mode == "Normal" then
1387
        magdamage(t.Position,3,random(6,15),743886825,1.5,true)
1388
    elseif mode == "Demoralized" then
1389
        magdamage(t.Position,4,random(12,25),743886825,1.5,true)
1390
	elseif mode == "DEMORALIZATION" then
1391
        magdamage(t.Position,5,random(35,75),386946017,3.5,true)
1392
	elseif mode == "Star" then
1393
        magdamage(t.Position,3.5,random(8,18),743886825,1.5,true)
1394
    end
1395
    pcall(function()
1396
        sound(145487017,1,1,ra)
1397
    end)
1398
    for i = 0,1,speed2 do
1399
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(-10),rad(210)),i)
1400
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(95),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1401
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1402
        rs.C0 = rs.C0:Lerp(CFrame.new(.85,.5,-.35) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(90)),i)
1403
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-20),rad(0),rad(-10)),i)
1404
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(165)),i)
1405
        nec.C1 = nec.C1:Lerp(cf1,.1)
1406
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1407
        rs.C1 = rs.C1:Lerp(cf3,.1)
1408
        ls.C1 = ls.C1:Lerp(cf4,.1)
1409
        rh.C1 = rh.C1:Lerp(cf5,.1)
1410
        lh.C1 = lh.C1:Lerp(cf6,.1)
1411
        swait()
1412
    end
1413
    using = false
1414
end
1415
function punch2()
1416
    using = true
1417
	local speed1 = .075
1418
	local speed2 = .095
1419
	if mode == "Star" then
1420
		speed1 = .095
1421
		speed2 = .115
1422
	end
1423
    for i = 0,.75,speed1 do
1424
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(-10),rad(210)),i)
1425
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1426
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-85),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1427
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(0)),i)
1428
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-30),rad(-90)),i)
1429
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(150)),i)
1430
        nec.C1 = nec.C1:Lerp(cf1,.1)
1431
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1432
        rs.C1 = rs.C1:Lerp(cf3,.1)
1433
        ls.C1 = ls.C1:Lerp(cf4,.1)
1434
        rh.C1 = rh.C1:Lerp(cf5,.1)
1435
        lh.C1 = lh.C1:Lerp(cf6,.1)
1436
        swait()
1437
    end
1438
    if mode == "Normal" then
1439
        magdamage(t.Position,3,random(6,15),743886825,1.5,true)
1440
    elseif mode == "Demoralized" then
1441
        magdamage(t.Position,3,random(12,25),743886825,1.5,true)
1442
	elseif mode == "DEMORALIZATION" then
1443
        magdamage(t.Position,5,random(35,75),386946017,3.5,true)
1444
	elseif mode == "Star" then
1445
        magdamage(t.Position,3.5,random(8,18),743886825,1.5,true)
1446
    end
1447
    pcall(function()
1448
        sound(145487017,1,1,ra)
1449
    end)
1450
    for i = 0,1,speed2 do
1451
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(10),rad(150)),i)
1452
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(95),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1453
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-80),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1454
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-20),rad(-10),rad(0)),i)
1455
        ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.5,-.35) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-90)),i)
1456
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(195)),i)
1457
        nec.C1 = nec.C1:Lerp(cf1,.1)
1458
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1459
        rs.C1 = rs.C1:Lerp(cf3,.1)
1460
        ls.C1 = ls.C1:Lerp(cf4,.1)
1461
        rh.C1 = rh.C1:Lerp(cf5,.1)
1462
        lh.C1 = lh.C1:Lerp(cf6,.1)
1463
        swait()
1464
    end
1465
    using = false
1466
end
1467
function punch3()
1468
    using = true
1469
	local speed1 = .075
1470
	local speed2 = .095
1471
	if mode == "Star" then
1472
		speed1 = .095
1473
		speed2 = .115
1474
	end
1475
    for i = 0,.75,speed1 do
1476
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
1477
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
1478
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i)
1479
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(60),rad(60)),i)
1480
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-60),rad(-60)),i)
1481
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
1482
        nec.C1 = nec.C1:Lerp(cf1,.1)
1483
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1484
        rs.C1 = rs.C1:Lerp(cf3,.1)
1485
        ls.C1 = ls.C1:Lerp(cf4,.1)
1486
        rh.C1 = rh.C1:Lerp(cf5,.1)
1487
        lh.C1 = lh.C1:Lerp(cf6,.1)
1488
        swait()
1489
    end
1490
    if mode == "Normal" then
1491
        pcall(function()
1492
            sound(539294959,3,1,ra)
1493
        end)
1494
        local sphere  = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,6,Part4.BrickColor,.3)
1495
        magdamage(sphere.Position,6,random(3,5),851453784,1.5,true)
1496
        coroutine.resume(coroutine.create(function()
1497
            for i = 1,4 do
1498
                fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(6,10)/20,"Neon",-7,7,"Block",10,.2,1,true)
1499
            	for i = 1,random(1,2) do
1500
				wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true)
1501
			end
1502
		end
1503
            for i = 1,3 do
1504
                sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,6,Part4.BrickColor,.3)
1505
                magdamage(sphere.Position,6,random(3,5),851453784,1.5,true)
1506
                swait()
1507
            end
1508
        end))
1509
    elseif mode == "Demoralized" then
1510
        pcall(function()
1511
            sound(539294959,3,1,ra)
1512
        end)
1513
        local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,9,Part4.BrickColor,.3)
1514
        magdamage(sphere.Position,9,random(6,9),851453784,1.5,true)
1515
        coroutine.resume(coroutine.create(function()
1516
            for i = 1,4 do
1517
                fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true)
1518
            end
1519
            for i = 1,3 do
1520
                sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,9,Part4.BrickColor,.3)
1521
                magdamage(sphere.Position,9,random(6,9),851453784,1.5,true)
1522
                swait()
1523
            end
1524
        end))
1525
	elseif mode == "DEMORALIZATION" then
1526
        pcall(function()
1527
            sound(539294959,6,1,ra)
1528
        end)
1529
        local sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,14,Part4.BrickColor,.3)
1530
        magdamage(sphere.Position,10,random(25,60),851453784,1.5,true)
1531
        coroutine.resume(coroutine.create(function()
1532
            for i = 1,4 do
1533
                fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true)
1534
            end
1535
            for i = 1,3 do
1536
                sphere = sphereefx(rut.CFrame * cf(0,0,-1.5),.5,14,Part4.BrickColor,.3)
1537
      		  magdamage(sphere.Position,14,random(25,60),851453784,1.5,true)
1538
                swait()
1539
            end
1540
        end))
1541
	elseif mode == "Star" then
1542
        pcall(function()
1543
            sound(539294959,3,1,ra)
1544
        end)
1545
        local sphere  = sphereefx(rut.CFrame * cf(0,0,-1.5),.7,7,Part4.BrickColor,.3)
1546
        magdamage(sphere.Position,7,random(4,6),851453784,1.5,true)
1547
        coroutine.resume(coroutine.create(function()
1548
            for i = 1,4 do
1549
                fire(sphere,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/10,math.random(3,6)/10,math.random(6,10)/20,"Neon",-7,7,"Block",10,.2,1,true)
1550
            	for i = 1,random(1,2) do
1551
				wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true)
1552
			end
1553
		end
1554
            for i = 1,3 do
1555
                sphere  = sphereefx(rut.CFrame * cf(0,0,-1.5),.7,7,Part4.BrickColor,.3)
1556
       		 magdamage(sphere.Position,7,random(4,6),851453784,1.5,true)
1557
                swait()
1558
            end
1559
        end))
1560
    end
1561
    for i = 0,1,speed2 do
1562
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
1563
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i)
1564
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
1565
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-60),rad(80)),i)
1566
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(60),rad(-80)),i)
1567
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
1568
        nec.C1 = nec.C1:Lerp(cf1,.1)
1569
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1570
        rs.C1 = rs.C1:Lerp(cf3,.1)
1571
        ls.C1 = ls.C1:Lerp(cf4,.1)
1572
        rh.C1 = rh.C1:Lerp(cf5,.1)
1573
        lh.C1 = lh.C1:Lerp(cf6,.1)
1574
        swait()
1575
    end
1576
    using = false
1577
end
1578
function tp()
1579
pcall(function()
1580
if mouse.Hit then
1581
    local oldtorsocf = t.CFrame
1582
    local sphere = sphereefx(rut.CFrame,3,9,Part4.BrickColor,.3)
1583
    if mode == "Normal" then
1584
        magdamage(sphere.Position,12,random(3,5),851453784,1.5,true)
1585
    elseif mode == "Demoralized" then
1586
        magdamage(sphere.Position,12,random(6,9),851453784,1.5,true)
1587
	elseif mode == "DEMORALIZATION" then
1588
           magdamage(sphere.Position,18,random(30,75),851453784,1.5,true)
1589
	elseif mode == "Star" then
1590
           magdamage(sphere.Position,10,random(4,6),851453784,1.5,true)
1591
    end
1592
	for i = 1,4 do
1593
		fire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true)
1594
		for i = 1,random(1,2) do
1595
			wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true)
1596
		end
1597
	end
1598
    pcall(function()
1599
        sound(2346156347,6,1,t)
1600
    end)
1601
    rut.CFrame = cf(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z) * cf(0,3,0)
1602
	local wideness = 1
1603
	if mode == "DEMORALIZATION" then
1604
		wideness = 2.5
1605
	end
1606
    partray(oldtorsocf,t.Position,Part4.BrickColor,wideness)
1607
	for i = 1,4 do
1608
		fire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/6,math.random(3,6)/5,math.random(6,10)/17,"Neon",-12,12,"Block",15,.2,1,true)
1609
		for i = 1,random(1,2) do
1610
			wedgefire(rut,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/4,math.random(3,6)/4,math.random(6,10)/12,"Neon",-25,25,35,.3,1,true)
1611
		end
1612
	end
1613
    for i = 1,3 do
1614
        sphere = sphereefx(rut.CFrame,5,12,Part4.BrickColor,.3)
1615
        if mode == "Normal" then
1616
            magdamage(sphere.Position,12,random(3,5),851453784,1.5,true)
1617
        elseif mode == "Demoralized" then
1618
            magdamage(sphere.Position,12,random(6,9),851453784,1.5,true)
1619
		elseif mode == "DEMORALIZATION" then
1620
            magdamage(sphere.Position,18,random(30,75),851453784,1.5,true)
1621
		elseif mode == "Star" then
1622
           magdamage(sphere.Position,10,random(4,6),851453784,1.5,true)
1623
        end
1624
        swait()
1625
    end
1626
end
1627
end)
1628
end
1629
function throwfireanim()
1630
    using = true
1631
	local speed1 = .035
1632
	local speed2 = .095
1633
	if mode == "Star" then
1634
		speed1 = .055
1635
		speed2 = .095
1636
	end
1637
    for i = 0,.7,speed1 do
1638
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(145)),i)
1639
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1640
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1641
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(10),rad(-70),rad(110)),i)
1642
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-10),rad(0),rad(-10)),i)
1643
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(195)),i)
1644
        nec.C1 = nec.C1:Lerp(cf1,.1)
1645
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1646
        rs.C1 = rs.C1:Lerp(cf3,.1)
1647
        ls.C1 = ls.C1:Lerp(cf4,.1)
1648
        rh.C1 = rh.C1:Lerp(cf5,.1)
1649
        lh.C1 = lh.C1:Lerp(cf6,.1)
1650
        swait()
1651
    end
1652
    throwfire(ra.CFrame*cf(0,-1.5,0),mouse.Hit.p,100)
1653
    for i = 0,.8,speed2 do
1654
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(215)),i)
1655
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1656
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1657
        rs.C0 = rs.C0:Lerp(CFrame.new(.85,.5,-.25) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-20),rad(40),rad(100)),i)
1658
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i)
1659
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(165)),i)
1660
        nec.C1 = nec.C1:Lerp(cf1,.1)
1661
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1662
        rs.C1 = rs.C1:Lerp(cf3,.1)
1663
        ls.C1 = ls.C1:Lerp(cf4,.1)
1664
        rh.C1 = rh.C1:Lerp(cf5,.1)
1665
        lh.C1 = lh.C1:Lerp(cf6,.1)
1666
        swait()
1667
    end
1668
    using = false
1669
end
1670
local sou = Instance.new("Sound")
1671
 
1672
function roaranim()
1673
    using = true
1674
    roar.TimePosition = .3
1675
	roar.Volume = 5
1676
	local siez = 25
1677
	if mode == "DEMORALIZATION" then
1678
		roar.Volume = 10
1679
		siez = 40
1680
	end
1681
    roar:Play()
1682
    roaring = true
1683
    local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
1684
    if hit then
1685
        placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),siez)
1686
    end
1687
    for i,v in pairs(char:GetChildren()) do
1688
        if v:IsA("BasePart") then
1689
            lesserfirepart(v)
1690
        end
1691
    end
1692
    for i = 0,.8,.065 do
1693
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-70),rad(0),rad(180)),i)
1694
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-20)),i)
1695
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20)),i)
1696
        rs.C0 = rs.C0:Lerp(CFrame.new(1.5,.5,-.4) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-110),rad(75)),i)
1697
        ls.C0 = ls.C0:Lerp(CFrame.new(-1.5,.5,-.4) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(110),rad(-75)),i)
1698
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-50),rad(0),rad(180)),i)
1699
        nec.C1 = nec.C1:Lerp(cf1,.1)
1700
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
1701
        rs.C1 = rs.C1:Lerp(cf3,.1)
1702
        ls.C1 = ls.C1:Lerp(cf4,.1)
1703
        rh.C1 = rh.C1:Lerp(cf5,.1)
1704
        lh.C1 = lh.C1:Lerp(cf6,.1)
1705
        swait()
1706
        end
1707
    repeat
1708
        change = change+sine
1709
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-70),rad(0),rad(180)) * angles(-cos(change/aa/2.5) * rad(10),0,0),.1)
1710
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-20)) * angles(0,0,-cos(change/aa/2.5) * rad(10)),.1)
1711
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(20)) * angles(0,0,cos(change/aa/2.5) * rad(10)),.1)
1712
        rs.C0 = rs.C0:Lerp(CFrame.new(1.5,.5,-.4) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-110),rad(75)),.1)
1713
        ls.C0 = ls.C0:Lerp(CFrame.new(-1.5,.5,-.4) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(110),rad(-75)),.1)
1714
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-50),rad(0),rad(180)) * angles(cos(change/aa/1.5)*rad(10),sin(change/aa/1.5)*rad(2.5),sin(change/aa/1)*rad(10)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
1715
        swait()
1716
    until roar.TimePosition >=5
1717
    roar:Stop()
1718
    roaring = false
1719
    using = false
1720
end
1721
function giantkickorstompanim()
1722
    if mode == "Normal" and not superattackcooldown1 then
1723
        superattackcooldown1 = true
1724
        using = true
1725
        hum.WalkSpeed = 0
1726
        hum.JumpPower = 0
1727
        for i = 0,.8,.045 do
1728
            hum.WalkSpeed = 0
1729
            hum.JumpPower = 0
1730
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
1731
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-.35,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i)
1732
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
1733
            rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(125)),i)
1734
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-40),rad(-125)),i)
1735
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
1736
            nec.C1 = nec.C1:Lerp(cf1,.1)
1737
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1738
            rs.C1 = rs.C1:Lerp(cf3,.1)
1739
            ls.C1 = ls.C1:Lerp(cf4,.1)
1740
            rh.C1 = rh.C1:Lerp(cf5,.1)
1741
            lh.C1 = lh.C1:Lerp(cf6,.1)
1742
            swait()
1743
        end
1744
        local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
1745
        if hit then
1746
            placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),75)
1747
        end
1748
        for i = 0,.8,.065 do
1749
            hum.WalkSpeed = 0
1750
            hum.JumpPower = 0
1751
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),i)
1752
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,-.5) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
1753
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i)
1754
            rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-45)),i)
1755
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-40),rad(45)),i)
1756
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),i)
1757
            nec.C1 = nec.C1:Lerp(cf1,.1)
1758
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1759
            rs.C1 = rs.C1:Lerp(cf3,.1)
1760
            ls.C1 = ls.C1:Lerp(cf4,.1)
1761
            rh.C1 = rh.C1:Lerp(cf5,.1)
1762
            lh.C1 = lh.C1:Lerp(cf6,.1)
1763
            swait()
1764
        end
1765
        using = false
1766
        superattackcooldown1 = false
1767
    elseif mode == "Demoralized" and not superattackcooldown2 then
1768
        superattackcooldown2 = true
1769
        using = true
1770
        hum.WalkSpeed = 0
1771
        hum.JumpPower = 0
1772
        for i = 0,1.6,.045 do
1773
            hum.WalkSpeed = 0
1774
            hum.JumpPower = 0
1775
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(-20),rad(160)) * CFrame.Angles(rad(60),rad(0),rad(0)),i)
1776
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(15)),i)
1777
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i)
1778
            rs.C0 = rs.C0:Lerp(CFrame.new(.9,.35,.15) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(110)),i)
1779
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-60)),i)
1780
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(200)),i)
1781
            nec.C1 = nec.C1:Lerp(cf1,.1)
1782
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1783
            rs.C1 = rs.C1:Lerp(cf3,.1)
1784
            ls.C1 = ls.C1:Lerp(cf4,.1)
1785
            rh.C1 = rh.C1:Lerp(cf5,.1)
1786
            lh.C1 = lh.C1:Lerp(cf6,.1)
1787
            swait()
1788
        end
1789
        local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
1790
        if hit then
1791
            placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),200)
1792
        end
1793
        for i = 0,.6,.06 do
1794
            hum.WalkSpeed = 0
1795
            hum.JumpPower = 0
1796
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(10),rad(200)) * CFrame.Angles(rad(60),rad(0),rad(0)),i)
1797
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(5)),i)
1798
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i)
1799
            rs.C0 = rs.C0:Lerp(CFrame.new(.9,.25,-.75) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(60)),i)
1800
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-50)),i)
1801
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(160)),i)
1802
            nec.C1 = nec.C1:Lerp(cf1,.1)
1803
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1804
            rs.C1 = rs.C1:Lerp(cf3,.1)
1805
            ls.C1 = ls.C1:Lerp(cf4,.1)
1806
            rh.C1 = rh.C1:Lerp(cf5,.1)
1807
            lh.C1 = lh.C1:Lerp(cf6,.1)
1808
            swait()
1809
        end
1810
        using = false
1811
        wait(7)
1812
        superattackcooldown2 = false
1813
	elseif mode == "DEMORALIZATION" and not superattackcooldown3 then
1814
        superattackcooldown3 = true
1815
        using = true
1816
        hum.WalkSpeed = 0
1817
        hum.JumpPower = 0
1818
        for i = 0,1.6,.045 do
1819
            hum.WalkSpeed = 0
1820
            hum.JumpPower = 0
1821
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(-20),rad(160)) * CFrame.Angles(rad(60),rad(0),rad(0)),i)
1822
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(30),rad(15)),i)
1823
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i)
1824
            rs.C0 = rs.C0:Lerp(CFrame.new(.9,.35,.15) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(110)),i)
1825
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-60)),i)
1826
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(200)),i)
1827
            nec.C1 = nec.C1:Lerp(cf1,.1)
1828
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1829
            rs.C1 = rs.C1:Lerp(cf3,.1)
1830
            ls.C1 = ls.C1:Lerp(cf4,.1)
1831
            rh.C1 = rh.C1:Lerp(cf5,.1)
1832
            lh.C1 = lh.C1:Lerp(cf6,.1)
1833
            swait()
1834
        end
1835
        local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
1836
        if hit then
1837
            placefirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),huge)
1838
        end
1839
        for i = 0,.6,.06 do
1840
            hum.WalkSpeed = 0
1841
            hum.JumpPower = 0
1842
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-1,0) * CFrame.Angles(rad(-90),rad(10),rad(200)) * CFrame.Angles(rad(60),rad(0),rad(0)),i)
1843
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-.3,-.6) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(5)),i)
1844
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.7,.1) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(40),rad(-35)),i)
1845
            rs.C0 = rs.C0:Lerp(CFrame.new(.9,.25,-.75) * cf(random(-2,2)/20,random(-2,2)/20,random(-2,2)/20) * CFrame.Angles(rad(0),rad(60),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(60)),i)
1846
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.4,-.5) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(10),rad(-50)),i)
1847
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-120),rad(0),rad(160)),i)
1848
            nec.C1 = nec.C1:Lerp(cf1,.1)
1849
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1850
            rs.C1 = rs.C1:Lerp(cf3,.1)
1851
            ls.C1 = ls.C1:Lerp(cf4,.1)
1852
            rh.C1 = rh.C1:Lerp(cf5,.1)
1853
            lh.C1 = lh.C1:Lerp(cf6,.1)
1854
            swait()
1855
        end
1856
        using = false
1857
        wait(4)
1858
        superattackcooldown3 = false
1859
	elseif mode == "Star" and not superattackcooldown4 then
1860
        superattackcooldown4 = true
1861
        using = true
1862
        hum.WalkSpeed = 0
1863
        hum.JumpPower = 0
1864
        for i = 0,.95,.055 do
1865
            hum.WalkSpeed = 0
1866
            hum.JumpPower = 0
1867
             rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,.1) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
1868
           rs.C0 = rs.C0:Lerp(CFrame.new(1,.7,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(170)),i)
1869
           ls.C0 = ls.C0:Lerp(CFrame.new(-.7,.4,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(2),rad(-90),rad(-91)),i)
1870
           nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-60),rad(0),rad(180)),i)
1871
            nec.C1 = nec.C1:Lerp(cf1,.1)
1872
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1873
            rs.C1 = rs.C1:Lerp(cf3,.1)
1874
            ls.C1 = ls.C1:Lerp(cf4,.1)
1875
            rh.C1 = rh.C1:Lerp(cf5,.1)
1876
            lh.C1 = lh.C1:Lerp(cf6,.1)
1877
            swait()
1878
        end
1879
		hum.WalkSpeed = 35
1880
       	 hum.JumpPower = 85
1881
		coroutine.resume(coroutine.create(function()
1882
		sound(376107717,10,1,h)
1883
		sphereefx(ra.CFrame*cf(0,-1,0),1,3,Part4.BrickColor,.2)
1884
		partray(ra.CFrame,v3(ra.CFrame.x,ra.CFrame.y+500,ra.CFrame.z),tostring(Part4.BrickColor),1,.5)
1885
		wait(.5)
1886
		for i = 1,random(5,8) do
1887
			skybeam(cf(rut.CFrame.x+random(-50,50),rut.CFrame.y+150,rut.CFrame.z+random(-50,50)))
1888
		end
1889
		end))
1890
        using = false
1891
        wait(2)
1892
        superattackcooldown4 = false
1893
    end
1894
end
1895
function laseranim()
1896
    using = true
1897
	local speed1 = .03
1898
	if mode == "Star" then
1899
		speed1 = .05
1900
	end
1901
    for i = 0,.8,speed1 do
1902
        turnto(mouse.Hit.p)
1903
            hum.WalkSpeed = 0
1904
            hum.JumpPower = 0
1905
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(270)),i)
1906
            rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1907
            lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
1908
            rs.C0 = rs.C0:Lerp(CFrame.new(1.25,0,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-90),rad(0),rad(0)),i)
1909
            ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(-10),rad(15)),i)
1910
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(90)),i)
1911
            nec.C1 = nec.C1:Lerp(cf1,.1)
1912
            rutj.C1 = rutj.C1:Lerp(cf2,.1)
1913
            rs.C1 = rs.C1:Lerp(cf3,.1)
1914
            ls.C1 = ls.C1:Lerp(cf4,.1)
1915
            rh.C1 = rh.C1:Lerp(cf5,.1)
1916
            lh.C1 = lh.C1:Lerp(cf6,.1)
1917
            swait()
1918
    end
1919
	sphereefx(ra.CFrame*cf(0,-1,0),1,3,Part4.BrickColor,.2)
1920
    local soun = sound(376107717,5,1,h)
1921
    laser(Part4,mouse.Hit.p)
1922
    using = false
1923
end
1924
function skystrikeanim()
1925
	using = true
1926
	local speed1 = .03
1927
	if mode == "Star" then
1928
		speed1 = .05
1929
	end
1930
	for i = 0,.8,speed1 do
1931
           hum.WalkSpeed = 0
1932
           hum.JumpPower = 0
1933
           rutj.C0 = rutj.C0:Lerp(CFrame.new(0,.1,.1) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
1934
           rh.C0 = rh.C0:Lerp(CFrame.new(1,-1.1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-10)),i)
1935
           lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1.1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
1936
           rs.C0 = rs.C0:Lerp(CFrame.new(1,.7,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(10),rad(-15),rad(170)),i)
1937
           ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-15),rad(0),rad(10)),i)
1938
           nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-60),rad(0),rad(180)),i)
1939
           nec.C1 = nec.C1:Lerp(cf1,.1)
1940
           rutj.C1 = rutj.C1:Lerp(cf2,.1)
1941
           rs.C1 = rs.C1:Lerp(cf3,.1)
1942
           ls.C1 = ls.C1:Lerp(cf4,.1)
1943
           rh.C1 = rh.C1:Lerp(cf5,.1)
1944
           lh.C1 = lh.C1:Lerp(cf6,.1)
1945
           swait()
1946
	end
1947
	skybeam(cf(mouse.Hit.x,mouse.Hit.y,mouse.Hit.z))
1948
	using = false
1949
end
1950
 
1951
--Connections
1952
mouse.Button1Down:Connect(function()
1953
    if not using then
1954
        if currentpunch == 1 then
1955
            currentpunch = currentpunch+1
1956
            punch1()
1957
        elseif currentpunch == 2 then
1958
            currentpunch = currentpunch+1
1959
            punch2()
1960
        elseif currentpunch == 3 then
1961
            currentpunch = 1
1962
            punch3()
1963
        end
1964
    end
1965
end)
1966
mouse.KeyDown:Connect(function(key)
1967
    if key == "q" and mode == "Normal" then
1968
        changecolors(.25,modecolors.demoralizedcolors.color1,modecolors.demoralizedcolors.color2,modecolors.demoralizedcolors.neoncolor)
1969
        mode = "Demoralized"
1970
		text.Text = mode
1971
        if music or music.Parent then
1972
            music.SoundId = ids.demoralizedmode
1973
            songid = ids.demoralizedmode
1974
		if not deafen then
1975
			music.Volume = 1.5
1976
			vol = 1.5
1977
		end
1978
        end
1979
elseif key == "q" and mode == "Demoralized" then
1980
	mode = "DEMORALIZATION"
1981
	text.Text = mode
1982
	changecolors(.25,modecolors.demoralizationcolors.color1,modecolors.demoralizationcolors.color2,modecolors.demoralizationcolors.neoncolor)
1983
	if music or music.Parent then
1984
		music.SoundId = ids.demoralizationmode
1985
		songid = ids.demoralizationmode
1986
		if not deafen then
1987
			music.Volume = 5
1988
			vol = 5
1989
		end
1990
	end
1991
	elseif key == "q" and mode == "DEMORALIZATION" then
1992
        changecolors(.25,modecolors.starcolors.color1,modecolors.starcolors.color2,modecolors.starcolors.neoncolor)
1993
        mode = "Star"
1994
		text.Text = mode
1995
        if music or music.Parent then
1996
            music.SoundId = ids.starmode
1997
            songid = ids.starmode
1998
		if not deafen then
1999
			music.Volume = 1.5
2000
			vol = 1.5
2001
		end
2002
        end
2003
    elseif key == "q" and mode == "Star" then
2004
        changecolors(.25,modecolors.normalcolors.color1,modecolors.normalcolors.color2,modecolors.normalcolors.neoncolor)
2005
        mode = "Normal"
2006
		text.Text = mode
2007
        if music or music.Parent then
2008
            music.SoundId = ids.normalmode
2009
            songid = ids.normalmode
2010
		if not deafen then
2011
			music.Volume = 1.5
2012
			vol = 1.5
2013
		end
2014
        end
2015
    end
2016
    if key == "x" and not using then
2017
        tp()
2018
    end
2019
    if key == "r" and not using then
2020
        throwfireanim()
2021
    end
2022
    if key == "t" and not using and mode == "Demoralized" or key == "t" and not using and mode == "DEMORALIZATION" then
2023
        roaranim()
2024
    end
2025
    if key == "n" and not using then
2026
        giantkickorstompanim()
2027
    end
2028
    if key == "f" and not using then
2029
        laseranim()
2030
    end
2031
    if key == "m" and not deafen then
2032
        deafen = true
2033
        music.Volume = 0
2034
        vol = 0
2035
    elseif key == "m" and deafen then
2036
        deafen = false
2037
        vol = 1.5
2038
		if mode == "DEMORALIZATION" then
2039
			vol = 5
2040
		end
2041
        music.Volume = vol
2042
    end
2043
	if key == "e" and not using then
2044
		skystrikeanim()
2045
	end
2046
end)
2047
 
2048
--Animations
2049
local firewristbandeffects = coroutine.wrap(function()
2050
    while hum.Health >.01 do
2051
        if mode == "Normal" and not roaring and not landed then
2052
            hum.WalkSpeed = 16
2053
       	 hum.JumpPower = 50
2054
		jp = 50
2055
        elseif mode == "Demoralized" and not roaring and not landed then
2056
            hum.WalkSpeed = 12
2057
       	 hum.JumpPower = 50
2058
		jp = 50
2059
		elseif mode == "DEMORALIZATION" and not roaring and not landed then
2060
            hum.WalkSpeed = 10
2061
       	 hum.JumpPower = 50
2062
		jp = 50
2063
		elseif mode == "Star" and not roaring and not landed then
2064
            hum.WalkSpeed = 35
2065
       	 hum.JumpPower = 85
2066
		jp = 85
2067
        end
2068
    if roaring then
2069
        hum.WalkSpeed = 0
2070
        hum.JumpPower = 0
2071
    end
2072
    if mode == "Demoralized" then
2073
        local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
2074
        local rand = random(1,7)
2075
        if hit and rand == 7 then
2076
            placeweakfirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),random(3,6))
2077
        end
2078
	elseif mode == "DEMORALIZATION" then
2079
	local hit,pos,rot = rayc(rut.Position,-rut.CFrame.UpVector,{char},500)
2080
        local rand = random(1,7)
2081
        if hit and rand == 5 then
2082
            placeweakfirepart(cf(pos,pos+rot)*angles(rad(-90),0,0),random(7,12))
2083
        end
2084
    end
2085
    if not roar.Parent then
2086
        roar = ins("Sound",rut)
2087
        roar.Volume = 5
2088
        roar.SoundId = "rbxassetid://2631687985"
2089
        roar.EmitterSize = 100
2090
    end
2091
		local rand = random(1,3)
2092
		if rand == 2 then
2093
			wedgefire(Part8,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,10)/20,math.random(3,6)/20,math.random(6,10)/11,"Neon",-2,2,5,.3,1,true)
2094
		end
2095
   		 fire(Part8,effects,tostring(Part4.BrickColor),tostring(Part6.BrickColor),math.random(7,13)/15,math.random(3,6)/15,math.random(6,10)/12,"Neon",-1,1,"Block",3,.2,1,true)
2096
        wait(random(2,4)/6)
2097
    end
2098
end)
2099
local anims = coroutine.wrap(function()
2100
while hum.Health > .01 do
2101
    signweld.C0 = angles(rad(0),rad(90),rad(0))
2102
    if not lsound.Parent then
2103
    lsound = Instance.new("Sound",effpart) lsound.Volume = lsvol lsound.SoundId = "rbxassetid://1161221108"
2104
    end
2105
    if not music.Parent or not music then
2106
        music = ins("Sound",t)
2107
        music.Volume = vol
2108
        music.SoundId = songid
2109
        music.Looped = true
2110
        music.TimePosition = timepos
2111
		music.EmitterSize = 100
2112
        music:Play()
2113
    end
2114
	if not effects or not effects.Parent then
2115
		effects = ins("Model",char)
2116
		effects.Name = "Effects"
2117
	end
2118
    timepos = music.TimePosition
2119
    local hit,pos,rot = rayc(rut.Position -v3(0,1,0),-rut.CFrame.UpVector,{char},2.7)
2120
    local grhit,grpos,grrot = rayc(grabpart.Position,-grabpart.CFrame.UpVector,{char},1)
2121
    phit = hit
2122
    if not using then
2123
    if grhit and grhit.Anchored == true then
2124
    cangrabthecorner = true
2125
    else
2126
    cangrabthecorner = false
2127
    end
2128
    end
2129
   
2130
    if cangrabthecorner and not grabbedc then
2131
    local shit,spos,srot = rayc(rut.Position+Vector3.new(0,2.5,0),rut.CFrame.LookVector,{char},1.5)
2132
    if shit then
2133
    grabbedc = true
2134
    local cf = CFrame.new(spos,spos+srot) * CFrame.Angles(rad(0),rad(180),0) * CFrame.new(0,-2,.7)
2135
    using = true
2136
    cangrabthecorner = false
2137
    rut.Anchored = true
2138
    local oldws = hum.WalkSpeed
2139
    hum.WalkSpeed = 0
2140
    hum.JumpPower = 0
2141
    rut.CFrame = cf
2142
    local curcf = rut.CFrame
2143
    for i = 0,1,.1 do
2144
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
2145
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
2146
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
2147
        rs.C0 = rs.C0:Lerp(CFrame.new(.85,.8,.5) * CFrame.Angles(rad(160),rad(90),rad(0)),i)
2148
        ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.8,.5) * CFrame.Angles(rad(160),rad(-90),rad(0)),i)
2149
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-30),rad(0),rad(180)),i)
2150
        nec.C1 = nec.C1:Lerp(cf1,.1)
2151
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2152
        rs.C1 = rs.C1:Lerp(cf3,.1)
2153
        ls.C1 = ls.C1:Lerp(cf4,.1)
2154
        rh.C1 = rh.C1:Lerp(cf5,.1)
2155
        lh.C1 = lh.C1:Lerp(cf6,.1)
2156
        swait()
2157
    end
2158
    for i = 0,.65,.025 do
2159
        rut.CFrame = rut.CFrame:Lerp(curcf * CFrame.new(0,4.5,-1.5),i)
2160
       rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.4,0) * CFrame.Angles(rad(-120),rad(0),rad(180)),i)
2161
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.6,-.6) * CFrame.Angles(rad(-20),rad(90),rad(0)),i)
2162
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.1,-.6) * CFrame.Angles(rad(30),rad(-90),rad(0)),i)
2163
        rs.C0 = rs.C0:Lerp(CFrame.new(.85,.3,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
2164
        ls.C0 = ls.C0:Lerp(CFrame.new(-.85,.3,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(10)),i)
2165
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),i)
2166
        nec.C1 = nec.C1:Lerp(cf1,.1)
2167
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2168
        rs.C1 = rs.C1:Lerp(cf3,.1)
2169
        ls.C1 = ls.C1:Lerp(cf4,.1)
2170
        rh.C1 = rh.C1:Lerp(cf5,.1)
2171
        lh.C1 = lh.C1:Lerp(cf6,.1)
2172
        swait()
2173
    end
2174
    hum.WalkSpeed = oldws
2175
    rut.Anchored = false
2176
    t.Anchored = false
2177
    using = false
2178
    grabbedc = false
2179
    end
2180
    end
2181
   
2182
    walkspeed = hum.WalkSpeed
2183
    sumthin = walkspeed/8
2184
    animspeed1 = 1.5/sumthin
2185
    change = change +sine
2186
   
2187
    local vervel = rut.Velocity.y
2188
    local tvel = (rut.Velocity * v3(1,0,1)).Magnitude
2189
    local Ccf=rut.CFrame
2190
    local Walktest1 = hum.MoveDirection*Ccf.LookVector
2191
    local Walktest2 = hum.MoveDirection*Ccf.RightVector
2192
    local rotfb = Walktest1.X+Walktest1.Z
2193
    local rotrl = Walktest2.X+Walktest2.Z
2194
   
2195
    if lookinaround then
2196
        lchange = lchange +sine
2197
    else
2198
        lchange = 0
2199
    end
2200
 
2201
    if anim == "fall" and not hit then
2202
    readytoland = true
2203
    end
2204
   
2205
    if readytoland then
2206
    hum.JumpPower = 0
2207
    else
2208
    hum.JumpPower = jp
2209
    end
2210
   
2211
    if not landed then
2212
    if readytoland and hit then
2213
    land()
2214
    end
2215
    if mode == "Normal" then
2216
    if not hum.Sit then
2217
    if anim == "idle" and hit ~= nil then
2218
    if not using then
2219
    --Neck
2220
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa/2.5)*rad(1)),.1)
2221
    --Humanoid Root Part
2222
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1)
2223
    --Shoulders
2224
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)),.1)
2225
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)),.1)
2226
    --Hips
2227
        rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2228
        lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2229
        end
2230
    elseif anim == "sit" then
2231
        nec.C1 = nec.C1:Lerp(cf1,.1)
2232
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2233
        rs.C1 = rs.C1:Lerp(cf3,.1)
2234
        ls.C1 = ls.C1:Lerp(cf4,.1)
2235
        rh.C1 = rh.C1:Lerp(cf5,.1)
2236
        lh.C1 = lh.C1:Lerp(cf6,.1)
2237
    elseif anim == "jump" and hit == nil then
2238
        if not using then
2239
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1)
2240
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1)
2241
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1)
2242
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1)
2243
        rh.C1 = rh.C1:Lerp(cf5,.1)
2244
        lh.C1 = lh.C1:Lerp(cf6,.1)
2245
        end
2246
    elseif anim == "fall" and hit == nil then
2247
        if not using then
2248
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1)
2249
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1)
2250
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1)
2251
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1)
2252
        rh.C1 = rh.C1:Lerp(cf5,.1)
2253
        lh.C1 = lh.C1:Lerp(cf6,.1)
2254
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2255
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2256
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2257
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025)
2258
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025)
2259
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2260
        end
2261
    elseif anim == "walk" and hit ~= nil then
2262
        if not using then
2263
        --Neck
2264
            nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60),walkanimspeed)
2265
        --Humanoid Root Part
2266
            rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed)
2267
        --Shoulders
2268
            rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb),walkanimspeed)
2269
            ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb),walkanimspeed)
2270
        --Hips
2271
            rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2272
            lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2273
        end
2274
    end
2275
    else
2276
        nec.C1 = nec.C1:Lerp(cf1,.1)
2277
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2278
        rs.C1 = rs.C1:Lerp(cf3,.1)
2279
        ls.C1 = ls.C1:Lerp(cf4,.1)
2280
        rh.C1 = rh.C1:Lerp(cf5,.1)
2281
        lh.C1 = lh.C1:Lerp(cf6,.1)
2282
    end
2283
    elseif mode == "Demoralized" then
2284
        if not hum.Sit then
2285
    if anim == "idle" and hit ~= nil then
2286
    if not using then
2287
    --Neck
2288
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa*1.5)*rad(5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2289
    --Humanoid Root Part
2290
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1)
2291
    --Shoulders
2292
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2293
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2294
    --Hips
2295
        rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2296
        lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2297
        end
2298
    elseif anim == "sit" then
2299
        nec.C1 = nec.C1:Lerp(cf1,.1)
2300
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2301
        rs.C1 = rs.C1:Lerp(cf3,.1)
2302
        ls.C1 = ls.C1:Lerp(cf4,.1)
2303
        rh.C1 = rh.C1:Lerp(cf5,.1)
2304
        lh.C1 = lh.C1:Lerp(cf6,.1)
2305
    elseif anim == "jump" and hit == nil then
2306
        if not using then
2307
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1)
2308
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1)
2309
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1)
2310
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1)
2311
        rh.C1 = rh.C1:Lerp(cf5,.1)
2312
        lh.C1 = lh.C1:Lerp(cf6,.1)
2313
        end
2314
    elseif anim == "fall" and hit == nil then
2315
        if not using then
2316
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1)
2317
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1)
2318
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1)
2319
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1)
2320
        rh.C1 = rh.C1:Lerp(cf5,.1)
2321
        lh.C1 = lh.C1:Lerp(cf6,.1)
2322
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2323
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2324
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2325
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025)
2326
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025)
2327
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2328
        end
2329
    elseif anim == "walk" and hit ~= nil then
2330
        if not using then
2331
        --Neck
2332
            nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed)
2333
        --Humanoid Root Part
2334
            rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed)
2335
        --Shoulders
2336
            rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(1.5*10),-cos(change/aa/2.5)/(1.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2337
            ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(10)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(15)*rotfb,-sin(change/aa/animspeed1)*rad(35*sumthin)*rotfb or rotrl) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed)
2338
        --Hips
2339
            rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2340
            lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2341
        end
2342
    end
2343
    else
2344
        nec.C1 = nec.C1:Lerp(cf1,.1)
2345
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2346
        rs.C1 = rs.C1:Lerp(cf3,.1)
2347
        ls.C1 = ls.C1:Lerp(cf4,.1)
2348
        rh.C1 = rh.C1:Lerp(cf5,.1)
2349
        lh.C1 = lh.C1:Lerp(cf6,.1)
2350
    end
2351
 	elseif mode == "DEMORALIZATION" then
2352
        if not hum.Sit then
2353
    if anim == "idle" and hit ~= nil then
2354
    if not using then
2355
    --Neck
2356
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,-sin(change/aa*1.25)*rad(10)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2357
    --Humanoid Root Part
2358
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1)
2359
    --Shoulders
2360
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2361
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(1),-sin(change/aa/2.5)*rad(2.5)) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),.1)
2362
    --Hips
2363
        rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2364
        lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2365
        end
2366
    elseif anim == "sit" then
2367
        nec.C1 = nec.C1:Lerp(cf1,.1)
2368
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2369
        rs.C1 = rs.C1:Lerp(cf3,.1)
2370
        ls.C1 = ls.C1:Lerp(cf4,.1)
2371
        rh.C1 = rh.C1:Lerp(cf5,.1)
2372
        lh.C1 = lh.C1:Lerp(cf6,.1)
2373
    elseif anim == "jump" and hit == nil then
2374
        if not using then
2375
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1)
2376
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1)
2377
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1)
2378
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1)
2379
        rh.C1 = rh.C1:Lerp(cf5,.1)
2380
        lh.C1 = lh.C1:Lerp(cf6,.1)
2381
        end
2382
    elseif anim == "fall" and hit == nil then
2383
        if not using then
2384
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1)
2385
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1)
2386
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1)
2387
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1)
2388
        rh.C1 = rh.C1:Lerp(cf5,.1)
2389
        lh.C1 = lh.C1:Lerp(cf6,.1)
2390
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2391
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2392
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2393
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025)
2394
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025)
2395
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2396
        end
2397
    elseif anim == "walk" and hit ~= nil then
2398
        if not using then
2399
        --Neck
2400
            nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1)/17.5) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60) * angles(rad(random(-10,10)),rad(random(-10,10)),rad(random(-10,10))),walkanimspeed)
2401
        --Humanoid Root Part
2402
            rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1)/15) * CFrame.Angles(sin(change/aa/animspeed1)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed)
2403
        --Shoulders
2404
            rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(20*sumthin)*rotfb),walkanimspeed)
2405
            ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(3*sumthin)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,0) * CFrame.Angles(sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(5)*rotfb,-sin(change/aa/animspeed1)*rad(20*sumthin)*rotfb),walkanimspeed)
2406
        --Hips
2407
            rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2408
            lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1)/3.5)*rotfb or (cos(change/aa/animspeed1)/3.5)*rotrl,(-cos(change/aa/animspeed1)/4),(cos(change/aa/animspeed1)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,-sin(change/aa/animspeed1)*rad(15*sumthin)*rotrl,sin(change/aa/animspeed1)*rad(30*sumthin)*rotfb),walkanimspeed)
2409
        end
2410
    end
2411
    else
2412
        nec.C1 = nec.C1:Lerp(cf1,.1)
2413
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2414
        rs.C1 = rs.C1:Lerp(cf3,.1)
2415
        ls.C1 = ls.C1:Lerp(cf4,.1)
2416
        rh.C1 = rh.C1:Lerp(cf5,.1)
2417
        lh.C1 = lh.C1:Lerp(cf6,.1)
2418
    end
2419
	elseif mode == "Star" then
2420
        if not hum.Sit then
2421
    if anim == "idle" and hit ~= nil then
2422
    if not using then
2423
    --Neck
2424
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/3.5)*rad(6.5),-sin(change/aa/2.5)*rad(1)),.1)
2425
    --Humanoid Root Part
2426
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10)) * CFrame.Angles(sin(change/aa/2.5)*rad(1),0,0),.1)
2427
    --Shoulders
2428
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,0) * CFrame.Angles(sin(change/aa/1.5)*rad(1),sin(change/aa/2.5)*rad(3),sin(change/aa/2.5)*rad(2.5)),.1)
2429
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(change/aa/2.5)/(2.5*10),cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,0) * CFrame.Angles(sin(change/aa/2.5)*rad(1),sin(change/aa/2.5)*rad(3),-sin(change/aa/2.5)*rad(2.5)),.1)
2430
    --Hips
2431
        rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2432
        lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(-cos(change/aa/2.5)/(2.5*10),-cos(change/aa/2.5)/(2.5*10),0) * CFrame.Angles(0,0,-sin(change/aa/2.5)*rad(1)) * CFrame.Angles(0,0,0),.1)
2433
        end
2434
    elseif anim == "sit" then
2435
        nec.C1 = nec.C1:Lerp(cf1,.1)
2436
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2437
        rs.C1 = rs.C1:Lerp(cf3,.1)
2438
        ls.C1 = ls.C1:Lerp(cf4,.1)
2439
        rh.C1 = rh.C1:Lerp(cf5,.1)
2440
        lh.C1 = lh.C1:Lerp(cf6,.1)
2441
    elseif anim == "jump" and hit == nil then
2442
        if not using then
2443
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(-rotfb/3,0,rotrl/3),.1)
2444
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,0),.1)
2445
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,-rotfb/3),.1)
2446
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,rotfb/3),.1)
2447
        rh.C1 = rh.C1:Lerp(cf5,.1)
2448
        lh.C1 = lh.C1:Lerp(cf6,.1)
2449
        end
2450
    elseif anim == "fall" and hit == nil then
2451
        if not using then
2452
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.Angles(rotfb/2,0,rotrl),.1)
2453
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.Angles(-rotfb/5,rotrl/5,rotrl/5),.1)
2454
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.Angles(-rotrl/3,rotfb/3,rotfb/3),.1)
2455
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.Angles(rotrl/3,-rotfb/3,-rotfb/3),.1)
2456
        rh.C1 = rh.C1:Lerp(cf5,.1)
2457
        lh.C1 = lh.C1:Lerp(cf6,.1)
2458
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2459
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2460
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2461
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(20)),.025)
2462
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(-20)),.025)
2463
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2464
        end
2465
    elseif anim == "walk" and hit ~= nil then
2466
        if not using then
2467
        --Neck
2468
            nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,cos(change/aa/animspeed1/1.5)/15) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(5),-rut.RotVelocity.y/90,rut.RotVelocity.y/60),walkanimspeed/1.3)
2469
        --Humanoid Root Part
2470
            rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,cos(change/aa/animspeed1/1)/6) * CFrame.Angles(sin(change/aa/animspeed1/1.5)*rad(2.5*sumthin),-rut.RotVelocity.y/100,sin(change/aa/animspeed1/1.5)*rad(5*sumthin) * -rut.RotVelocity.y/100) * CFrame.Angles(-rotfb/5,rotrl/5,0),walkanimspeed/1.3)
2471
        --Shouldersd
2472
            rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(0,0,0) * CFrame.Angles(-cos(change/aa/animspeed1/.75)*rad(5),-sin(change/aa/animspeed1/.75)*rad(5)*rotfb,0) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(5)*rotrl,-sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1)
2473
            ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(0,0,0) * CFrame.Angles(cos(change/aa/animspeed1/.75)*rad(5),sin(change/aa/animspeed1/.75)*rad(5)*rotrl,0) * CFrame.Angles(sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(5)*rotfb,-sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1)
2474
        --Hips
2475
            rh.C1 = rh.C1:Lerp(cf5 * CFrame.new((cos(change/aa/animspeed1/1.5)/1)*rotfb or (cos(change/aa/animspeed1/1.5)*1.5)*rotrl,(cos(change/aa/animspeed1/1.5)/4),(cos(change/aa/animspeed1/1.5)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(15*sumthin)*rotrl,0,sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1.3)
2476
            lh.C1 = lh.C1:Lerp(cf6 * CFrame.new((cos(change/aa/animspeed1/1.5)/1)*rotfb or (cos(change/aa/animspeed1/1.5)*1.5)*rotrl,(-cos(change/aa/animspeed1/1.5)/4),(cos(change/aa/animspeed1/1.5)/4)*rotrl) * CFrame.Angles(-sin(change/aa/animspeed1/1.5)*rad(15*sumthin)*rotrl,0,sin(change/aa/animspeed1/1.5)*rad(35*sumthin/1.3)*rotfb),walkanimspeed/1.3)
2477
        end
2478
    end
2479
    else
2480
        nec.C1 = nec.C1:Lerp(cf1,.1)
2481
        rutj.C1 = rutj.C1:Lerp(cf2,.1)
2482
        rs.C1 = rs.C1:Lerp(cf3,.1)
2483
        ls.C1 = ls.C1:Lerp(cf4,.1)
2484
        rh.C1 = rh.C1:Lerp(cf5,.1)
2485
        lh.C1 = lh.C1:Lerp(cf6,.1)
2486
    end
2487
    end
2488
    if not grabbedc then
2489
    if vervel > 1 and hum.Sit == false then
2490
        anim = "jump"
2491
        if not using then
2492
    if mode == "Normal" then
2493
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
2494
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
2495
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
2496
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2497
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2498
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
2499
    elseif mode == "Demoralized" then
2500
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
2501
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
2502
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
2503
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2504
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2505
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
2506
	elseif mode == "DEMORALIZATION" then
2507
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
2508
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
2509
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
2510
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2511
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2512
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
2513
	elseif mode == "Star" then
2514
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),animspeed*50)
2515
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),animspeed*50)
2516
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.4,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),animspeed*50)
2517
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.25,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2518
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-40),rad(0),rad(0)),animspeed*50)
2519
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
2520
    end
2521
        end
2522
    elseif vervel < -2 and hum.Sit == false then
2523
        anim = "fall"
2524
        if not using then
2525
    if mode == "Normal" then
2526
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2527
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2528
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2529
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2530
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2531
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2532
    elseif mode == "Demoralized" then
2533
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2534
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2535
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2536
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2537
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2538
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2539
	elseif mode == "DEMORALIZATION" then
2540
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2541
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2542
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2543
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2544
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2545
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2546
	elseif mode == "Star" then
2547
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-80),rad(0),rad(180)),.025)
2548
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.1,-.4) * CFrame.Angles(rad(-10),rad(85),rad(0)),.025)
2549
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.55,-.25) * CFrame.Angles(rad(-10),rad(-85),rad(0)),.025)
2550
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.35,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2551
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.25,-0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(-50),rad(0),rad(0)),.025)
2552
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),.025)
2553
        end
2554
      end
2555
    elseif tvel < 2 and hum.Sit == false then
2556
        anim = "idle"
2557
        if not using then
2558
    if mode == "Normal" then
2559
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
2560
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
2561
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
2562
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
2563
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
2564
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
2565
    elseif mode == "Demoralized" then
2566
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
2567
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),animspeed*50)
2568
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
2569
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(-45),rad(10),rad(165)),animspeed*50)
2570
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),animspeed*50)
2571
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)),animspeed*50)
2572
	elseif mode == "DEMORALIZATION" then
2573
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-115),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50)
2574
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),rad(35)),animspeed*50)
2575
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),rad(-35)),animspeed*50)
2576
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(0),rad(0),rad(25)),animspeed*50)
2577
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-25)),animspeed*50)
2578
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-130),rad(0),rad(180)),animspeed*50)
2579
	elseif mode == "Star" then
2580
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,-.1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(0),rad(0),rad(0)),animspeed*50)
2581
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-5),rad(-10)),animspeed*50)
2582
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(5),rad(10)),animspeed*50)
2583
        rs.C0 = rs.C0:Lerp(CFrame.new(.7,.4,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(2),rad(90),rad(90)),animspeed*50)
2584
        ls.C0 = ls.C0:Lerp(CFrame.new(-.7,.4,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(2),rad(-90),rad(-91)),animspeed*50)
2585
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-100),rad(0),rad(180)),animspeed*50)
2586
        end
2587
        end
2588
    elseif tvel > 1 and hum.Sit == false then
2589
        anim = "walk"
2590
        if not using then
2591
    if mode == "Normal" then
2592
        rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50)
2593
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50)
2594
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50)
2595
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(0,rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(5*sumthin)),animspeed*50)
2596
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0*rad(10*sumthin),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-5*sumthin)),animspeed*50)
2597
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50)
2598
    elseif mode == "Demoralized" then
2599
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50)
2600
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50)
2601
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),0) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50)
2602
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(-45),rad(10),rad(165)),animspeed*50)
2603
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-5*sumthin)),animspeed*50)
2604
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50)
2605
	elseif mode == "DEMORALIZATION" then
2606
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)) * CFrame.Angles(rad(0*sumthin),rad(0),rad(0)),animspeed*50)
2607
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-.8+rotrl/4,-.15) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(rad(0),rad(0),rad(10)) * CFrame.Angles(-rotrl/5,-rotrl/5,rotfb/5),animspeed*50)
2608
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-.8-rotrl/4,-.15) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(rad(0),rad(0),rad(-10)) * CFrame.Angles(rotrl/5,-rotrl/5,-rotfb/5),animspeed*50)
2609
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * angles(rad(0),rad(0),rad(25)),animspeed*50)
2610
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-25)),animspeed*50)
2611
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-110),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50)
2612
	elseif mode == "Star" then
2613
         rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-100),rad(0),rad(180)) * CFrame.Angles(rad(0),rad(0),rad(0)),animspeed*50)
2614
        rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,-.1) * CFrame.Angles(rad(0),rad(90),rad(-10)) * CFrame.Angles(0,0,rotfb/5),animspeed*50)
2615
        lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,-.1) * CFrame.Angles(rad(0),rad(-90),rad(10)) * CFrame.Angles(0,0,-rotfb/5),animspeed*50)
2616
        rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(0,rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(15)),animspeed*50)
2617
        ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(0,rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-15)),animspeed*50)
2618
        nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-80),rad(0),rad(180)) * CFrame.Angles(rad(-5),rad(0),rad(-40*rotrl)),animspeed*50)
2619
        end
2620
        end
2621
    elseif hum.Sit == true then
2622
        if plr.UserId ~= 90745958 then
2623
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),animspeed*50)
2624
                rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(90)),animspeed*50)
2625
                lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(0),rad(-90)),animspeed*50)
2626
            rs.C0 = rs.C0:Lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50)
2627
                ls.C0 = ls.C0:Lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(-30)) * CFrame.Angles(rad(30),rad(0),rad(0)),animspeed*50)
2628
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-95),rad(0),rad(180)),animspeed*50)
2629
        else
2630
            rutj.C0 = rutj.C0:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-105),rad(0),rad(180)),animspeed*50)
2631
                rh.C0 = rh.C0:Lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(15),rad(90),rad(0)) * CFrame.Angles(rad(0),rad(-20),rad(90)),animspeed*50)
2632
                lh.C0 = lh.C0:Lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(15),rad(-90),rad(0)) * CFrame.Angles(rad(0),rad(20),rad(-90)),animspeed*50)
2633
            rs.C0 = rs.C0:Lerp(CFrame.new(.5,.2,-.3) * CFrame.Angles(rad(-10),rad(95),rad(30)) * CFrame.Angles(rad(25),rad(20),rad(0)),animspeed*50)
2634
                ls.C0 = ls.C0:Lerp(CFrame.new(-.5,.2,-.3) * CFrame.Angles(rad(-10),rad(-95),rad(-30)) * CFrame.Angles(rad(25),rad(-20),rad(0)),animspeed*50)
2635
            nec.C0 = nec.C0:Lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-75),rad(0),rad(180)),animspeed*50)
2636
        end
2637
    end
2638
    else
2639
    end
2640
    else
2641
        nec.C1 = nec.C1:Lerp(cf1,animspeed*50)
2642
        rutj.C1 = rutj.C1:Lerp(cf2,animspeed*50)
2643
        rs.C1 = rs.C1:Lerp(cf3,animspeed*50)
2644
        ls.C1 = ls.C1:Lerp(cf4,animspeed*50)
2645
        rh.C1 = rh.C1:Lerp(cf5,animspeed*50)
2646
        lh.C1 = lh.C1:Lerp(cf6,animspeed*50)
2647
    end
2648
    coroutine.resume(coroutine.create(function()
2649
        if not using and anim == "idle" then
2650
    if not lookinaround then
2651
        idlenum = idlenum +.005
2652
        if idlenum >= whenbored then
2653
            idlenum = 0
2654
            local oldws = hum.WalkSpeed
2655
            local oldjp = hum.JumpPower
2656
            hum.WalkSpeed = 0
2657
            hum.JumpPower = 0
2658
            rut.Anchored = true
2659
            rh.Part0 = nil
2660
            lh.Part0 = nil
2661
			rl.Anchored = true
2662
			ll.Anchored = true
2663
            using = true
2664
            lookinaround = true
2665
            wait(3)
2666
            hum.WalkSpeed = oldws
2667
            hum.JumpPower = oldjp
2668
            rut.Anchored = false
2669
            using = false
2670
            rh.Part0 = t
2671
            lh.Part0 = t
2672
			rl.Anchored = false
2673
			ll.Anchored = false
2674
            whenbored = math.random(2,6)
2675
            lookinaround = false
2676
        end
2677
    end
2678
elseif using then
2679
    idlenum = 0
2680
elseif anim ~= "idle" then
2681
    idlenum = 0
2682
end
2683
    end))
2684
    if lookinaround then
2685
    --Neck
2686
        nec.C1 = nec.C1:Lerp(cf1 * CFrame.new(0,0,0) * CFrame.Angles(sin(lchange/aa/1.5)*rad(10),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(40)),.1)
2687
    --Humanoid Root Part
2688
        rutj.C1 = rutj.C1:Lerp(cf2 * CFrame.new(0,0,0) * CFrame.Angles(cos(lchange/aa/1.5)*rad(5),cos(lchange/aa/1.5)*rad(5),-sin(lchange/aa/3)*rad(20)),.1)
2689
    --Shoulders
2690
        rs.C1 = rs.C1:Lerp(cf3 * CFrame.new(-cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1)
2691
        ls.C1 = ls.C1:Lerp(cf4 * CFrame.new(cos(lchange/aa/3)/(3*10),cos(lchange/aa/3)/(3*10),0) * CFrame.Angles(.1,0,0) * CFrame.Angles(sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(12.5),-sin(lchange/aa/3)*rad(15)),.1)
2692
    --Hips
2693
        rh.C1 = rh.C1:Lerp(cff5 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
2694
        lh.C1 = lh.C1:Lerp(cff6 * CFrame.new(0,0,0) * CFrame.Angles(0,0,0) * CFrame.Angles(0,0,0),.1)
2695
    end
2696
    swait()
2697
end
2698
end)
2699
anims()
2700
firewristbandeffects()
2701
print("Loaded successfully!")
2702
script.Parent = plr.PlayerGui
2703
--End of script