View difference between Paste ID: 3qANGQBu and tqkguJB4
SHOW: | | - or go back to the newest paste.
1
--MADE BY ares200345 (NOT THE SCRIPT) LOCAL SCRIPT: Go to lin
2
 
3-
while game.Players.ares200345.PlayerGui:FindFirstChild(enthusiastichuyga's Sword") == nil do
3+
while game.Players.JayTheLionJR.PlayerGui:FindFirstChild(enthusiastichuyga's Sword") == nil do
4
wait()
5-
if game.Player.enthusiastichuyga.PlayerGui:FindFirstChild("enthusiastichuyga's Sword") == nil then
5+
if game.Player.JayTheLionJR.PlayerGui:FindFirstChild("enthusiastichuyga's Sword") == nil then
6
local screengui = Instance.new("ScreenGui")
7-
screengui.Parent = game.Players.enthusiastichuyga.PlayerGui
7+
screengui.Parent = game.Player.JayTheLionJR.PlayerGui
8-
screengui.Name = "enthusiastichuyga's Sword"
8+
screengui.Name = "JayTheLionJR Sword"
9
 
10
local textbutton = Instance.new("TextButton")
11
textbutton.Parent = screengui
12
textbutton.Position = UDim2.new(0,606,0,15)
13
textbutton.Size = UDim2.new(0,70,0,25)
14
textbutton.Text = "WarSword"
15
textbutton.TextColor3 = Color3.new(0/0, 0/0, 0/0)
16
textbutton.BorderColor3 = Color3.new(0/0, 0/0, 0/0)
17
textbutton.BackgroundColor = BrickColor.new("White")
18
textbutton.MouseButton1Down:connect(function()
19
 
20
 
21-
bl = game.Players.enthusiastichuyga.Backpack
21+
bl = game.Players.JayTheLionJR.Backpack
22-
me = game.Players.enthusiastichuyga
22+
me = game.Players.JayTheLionJR
23
char = me.Character
24
Modelname = "GreatSword"
25
Toolname = "WarSword"
26
Surfaces = {"FrontSurface", "BackSurface", "TopSurface", "BottomSurface", "LeftSurface", "RightSurface"}
27
necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
28
selected = false
29
effectOn = false
30
Hurt = false
31
Leghurt = false
32
Deb = true
33
LegDeb = true
34
Able = true
35
Resting = false
36
RestingAnim = false
37
AbleG = true
38-
Prop = {Damage = 10000, Legdmg = 10000, AS = 100, ShockDMG = 10000, Rage = 7000000, RageIncome = 7000, MaxRage = 7000000}
38+
Prop = {Damage = 999999999999999999999999999999900009999999999999999999999999999999999999999999999999999999999999, Legdmg = 9999999999999999999999999999999999999999999999999999910000, AS = 100999999999999999999999999999999999999999999999999999, ShockDMG = 9999999999999999999999999999999999999999999999999910000, Rage = 99999999999999999999999999999999999999999999999999999997000000, RageIncome = 9999999999999999999999999999999999999999999999999999999999999997000, MaxRage = 99999999999999999999999999999999999999999999999999999999999997000000}
39
Prop.AS = Prop.AS/300
40
Cam = workspace.CurrentCamera
41
 
42
ToolIcon = "http://www.roblox.com/asset/?id=49192762"
43
MouseIc = "http://www.roblox.com/asset/?id=49192792"
44
MouseDo = "http://www.roblox.com/asset/?id=49192819"
45
 
46
Add = {
47
        Sphere = function(P)
48
                local m = Instance.new("SpecialMesh",P)
49
                m.MeshType = "Sphere"
50
                return m
51
        end,
52
        Torso = function(P)
53
                local m = Instance.new("SpecialMesh",P)
54
                m.MeshType = "Torso"
55
                return m
56
        end,
57
        BF = function(P)
58
                local bf = Instance.new("BodyForce",P)
59
                bf.force = Vector3.new(0, P:GetMass()*187, 0)
60
                return bf
61
        end,
62
        BP = function(P)
63
                local bp = Instance.new("BodyPosition",P)
64
                bp.maxForce = Vector3.new(math.huge, 0, math.huge)
65
                bp.P = 14000
66
                return bp
67
        end,
68
        BG = function(P)
69
                local bg = Instance.new("BodyGyro",P)
70
                bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
71
                bg.P = 14000
72
                return bg
73
        end,
74
        Mesh = function(P, ID, x, y, z)
75
                local m = Instance.new("SpecialMesh")
76
                m.MeshId = ID
77
                m.Scale = Vector3.new(x, y, z)
78
                m.Parent = P
79
                return m
80
        end,
81
        Sound = function(P, ID, vol, pitch)
82
                local s = Instance.new("Sound")
83
                s.SoundId = ID
84
                s.Volume = vol
85
                s.Pitch = pitch
86
                s.Parent = P
87
                return s
88
        end
89
}
90
 
91
function find(tab, arg)
92
        local ah = nil
93
        for i,v in pairs(tab) do
94
                if v == arg then
95
                        ah = v
96
                end
97
        end
98
        return ah
99
end
100
 
101
function getAllParts(from)
102
        local t = {}
103
        function getParts(where)
104
                for i, v in pairs(where:children()) do
105
                        if v:IsA("BasePart") then
106
                                if v.Parent ~= char and v.Parent.Parent ~= char then
107
                                        table.insert(t, v)
108
                                end
109
                        end
110
                        getParts(v)
111
                end
112
        end
113
        getParts(workspace)
114
        return t
115
end
116
 
117
function RayCast(pos1, pos2, maxDist, forward)
118
        local list = getAllParts(workspace)
119
        local pos0 = pos1
120
        for dist = 1, maxDist, forward do
121
                pos0 = (CFrame.new(pos1, pos2) * CFrame.new(0, 0, -dist)).p
122
                for _, v in pairs(list) do
123
                        local pos3 = v.CFrame:pointToObjectSpace(pos0)
124
                        local s = v.Size
125
                        if pos3.x > -(s.x/2) and pos3.x < (s.x/2) and pos3.y > -(s.y/2) and pos3.y < (s.y/2) and pos3.z > -(s.z/2) and pos3.x < (s.z/2) and v.CanCollide and v:GetMass() > 14 then
126
                                return pos0, v
127
                        end
128
                end
129
        end
130
        return pos0, nil
131
end
132
 
133
function Part(Parent, Anchor, Collide, Tran, Ref, Color, X, Y, Z, Break)
134
        local p = Instance.new("Part")
135
        p.formFactor = "Custom"
136
        p.Anchored = Anchor
137
        p.CanCollide = Collide
138
        p.Transparency = Tran
139
        p.Reflectance = Ref
140
        p.BrickColor = BrickColor.new(Color)
141
        for _, Surf in pairs(Surfaces) do
142
                p[Surf] = "Smooth"
143
        end
144
        p.Size = Vector3.new(X, Y, Z)
145
        if Break then
146
                p:BreakJoints()
147
        else p:MakeJoints() end
148
        p.Parent = Parent
149
        p.Locked = true
150
        return p
151
end
152
 
153
function Weld(p0, p1, x, y, z, a, b, c)
154
        local w = Instance.new("Weld")
155
        w.Parent = p0
156
        w.Part0 = p0
157
        w.Part1 = p1
158
        w.C1 = CFrame.new(x,y,z) * CFrame.Angles(a,b,c)
159
        return w
160
end
161
 
162
function ComputePos(pos1, pos2)
163
        local pos3 = Vector3.new(pos2.x, pos1.y, pos2.z)
164
        return CFrame.new(pos1, pos3)
165
end
166
 
167
function getHumanoid(c)
168
        local h = nil
169
        for i,v in pairs(c:children()) do
170
                if v:IsA("Humanoid") and c ~= char then
171
                        if v.Health > 0 then
172
                                h = v
173
                        end
174
                end
175
        end
176
        return h
177
end
178
 
179
for i,v in pairs(char:children()) do
180
        if v.Name == Modelname then
181
                v:remove()
182
        end
183
end
184
 
185
pcall(function() me.PlayerGui:findFirstChild("RaigMeter",true):remove() end)
186
 
187
Sc = Instance.new("ScreenGui",me:findFirstChild("PlayerGui"))
188
Sc.Name = "RaigMeter"
189
 
190
Fr = Instance.new("Frame",Sc)
191
Fr.Size = UDim2.new(0, 250, 0, 28)
192
Fr.Position = UDim2.new(0.5, -125, 0, 5)
193
Fr.BackgroundColor3 = Color3.new(0.8, 0.3, 0.1)
194
 
195
Met = Instance.new("Frame", Fr)
196
Met.Size = UDim2.new(1, -10, 1, -6)
197
Met.Position = UDim2.new(0, 5, 0, 3)
198
Met.BackgroundColor3 = Color3.new(0, 0, 0)
199
Met.BorderSizePixel = 0
200
 
201
Meter = Instance.new("ImageLabel", Met)
202
Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
203
Meter.Position = UDim2.new(0, 0, 0, 1)
204
Meter.Image = "http://www.roblox.com/asset/?id=48965808"
205
Meter.BorderSizePixel = 0
206
Meter.BackgroundColor3 = Color3.new(1, 0.6, 0.1)
207
 
208
Tx = Instance.new("TextLabel", Met)
209
Tx.Size = UDim2.new(0, 0, 1, 0)
210
Tx.Position = UDim2.new(0, 5, 0, 0)
211
Tx.Text = Prop.Rage.." / "..Prop.MaxRage
212
Tx.Font = "ArialBold"
213
Tx.FontSize = "Size18"
214
Tx.BackgroundTransparency = 1
215
Tx.TextColor3 = Color3.new(1, 0, 0)
216
Tx.TextXAlignment = "Left"
217
 
218
laast = Prop.Rage
219
coroutine.resume(coroutine.create(function()
220
        while true do
221
                wait()
222
                if Prop.Rage > Prop.MaxRage then Prop.Rage = Prop.MaxRage end
223
                if laast ~= Prop.Rage then
224
                        Meter.Size = UDim2.new(Prop.Rage/Prop.MaxRage, 0, 1, -2)
225
                        laast = Prop.Rage
226
                        Tx.Text = Prop.Rage.." / "..Prop.MaxRage
227
                end
228
        end
229
end))
230
 
231
torso = char.Torso
232
neck = torso.Neck
233
hum = char.Humanoid
234
Rarm = char["Right Arm"]
235
Larm = char["Left Arm"]
236
Rleg = char["Right Leg"]
237
Lleg = char["Left Leg"]
238
 
239
hc = Instance.new("Humanoid")
240
hc.Health = 0
241
hc.MaxHealth = 0
242
 
243
slash = Add.Sound(nil, "rbxasset://sounds//swordslash.wav", 0.9, 0.8)
244
hitsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2801263", 0.7, 0.6)
245
charge = Add.Sound(nil, "http://www.roblox.com/asset/?id=2101137", 0.8, 0.65)
246
boom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2691586", 0.8, 0.3)
247
smashsound = Add.Sound(nil, "http://www.roblox.com/asset/?id=2692806", 0.8, 0.35)
248
boomboom = Add.Sound(nil, "http://www.roblox.com/asset/?id=2760979", 1, 0.18)
249
equip = Add.Sound(nil, "rbxasset://sounds\\unsheath.wav", 0.6, 0.7)
250
 
251
function PlaySound(sound, pitch)
252
        local s = sound:clone()
253
        if pitch ~= nil then
254
                if tonumber(pitch) then
255
                        s.Pitch = tonumber(pitch)
256
                end
257
        end
258
        s.Parent = torso
259
        s.PlayOnRemove = true
260
        coroutine.resume(coroutine.create(function()
261
                wait()
262
                s:remove()
263
        end))
264
end
265
 
266
Mo = Instance.new("Model")
267
Mo.Name = Modelname
268
 
269
RABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
270
LABrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
271
RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
272
LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
273
 
274
RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
275
LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
276
RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
277
LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
278
 
279
RAW = Weld(RABrick, nil, 0, 0.5, 0, 0, 0, 0)
280
LAW = Weld(LABrick, nil, 0, 0.5, 0, 0, 0, 0)
281
RLW = Weld(RLBrick, nil, 0, 0.8, 0, 0, 0, 0)
282
LLW = Weld(LLBrick, nil, 0, 0.8, 0, 0, 0, 0)
283
 
284
HB = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
285
HBW = Weld(Rarm, HB, 0, 1, 0, 0, 0, 0)
286
HW = Weld(HB, nil, 0, -1.3, 0, math.pi/2, 0, 0)
287
 
288
TH = Weld(torso, nil, -0.8, 0.1, 0, 0, math.pi/2, math.rad(-140))
289
 
290
RAWStand, LAWStand, RLWStand, LLWStand, HWStand = nil
291
 
292
handle = Part(Mo, false, false, 1, 0, "Bright blue", 0.4, 5, 0.4, true)
293
handle.Name = "Handle"
294
Instance.new("SpecialMesh",handle)
295
 
296
maintip = Part(Mo, false, false, 1, 0, "Bright yellow", 0.6, 0.5, 0.6, true)
297
Weld(handle, maintip, 0, -1.8, 0, 0, 0, 0)
298
 
299
DMGParts = {}
300
 
301
for i = 0, 135, 45 do
302
        local tip = Part(Mo, false, false, 1, 0, "Dark grey", 0.54, 1.3, 2.2, true)
303
        Instance.new("BlockMesh",tip)
304
        Weld(maintip, tip, 0, 0, 0, 0, 0, math.rad(i))
305
        table.insert(DMGParts, tip)
306
end
307
 
308
spiketip = Part(Mo, false, false, 1, 0.2, "Bright blue", 0.3, 0.8, 0.3, true)
309
Weld(handle, spiketip, 0, -5.7, 0, 0, 0, 0)
310
Add.Mesh(spiketip, "http://www.roblox.com/asset/?id=1033714", 0.17, 2, 0.17)
311
 
312
table.insert(DMGParts, spiketip)
313
 
314
local handletip1 = Part(Mo, false, false, 0, 0.2, "Really black", 0.5, 0.5, 0.5, true)
315
local w1 = Weld(handle, handletip1, 0, 0, 0, 0, 0, 0)
316
w1.C0 = CFrame.new(0, -2.6, 0)
317
Add.Mesh(handletip1, "http://www.roblox.com/asset/?id=9756362", 0.85, 0.75, 0.85)
318
 
319
local handletip2 = Part(Mo, false, false, 0, 0.2, "Dark grey", 0.5, 0.5, 0.5, true)
320
Weld(handletip1, handletip2, 0, 0, 0, 0, math.rad(45), 0)
321
Add.Mesh(handletip2, "http://www.roblox.com/asset/?id=9756362", 0.95, 0.5, 0.95)
322
 
323
local hilt = Part(Mo, false, false, 0, 0.4, "Medium grey", 1.25, 0.25, .5, true)
324
Weld(hilt, handle, 0, .4, 0, 0, math.rad(90), 0)
325
Add.Torso(hilt)
326
 
327
local fakeHandle = Part(Mo, false, false, 0, 0, "Bright blue", 0.3, 2.8, 0.3, true)
328
Weld(fakeHandle, handle, 0, -.9, 0, 0, 0, 0)
329
Instance.new("SpecialMesh",fakeHandle)
330
 
331
local blade = Part(Mo, false, false, 0, 0, "Medium Grey", 0.05, 8.5, 0.45, true)
332
Weld(blade, handle, 0, 3.6, 0, 0, 0, 0)
333
Add.Mesh(blade, "http://www.roblox.com/asset/?id=1033714", 0.05, 8.5, 0.4)
334
table.insert(DMGParts, blade)
335
 
336
local bladeEdge = Part(Mo, false, false, 0, 0.6, "Bright blue", 0.02, 8.5, 0.5, true)
337
Weld(bladeEdge, handle, 0, 3.6, 0, 0, 0, 0)
338
Add.Mesh(bladeEdge, "http://www.roblox.com/asset/?id=1033714", 0.02, 8.5, 0.5)
339
 
340
local bladeGem = Part(Mo, false, false, 0, 0.6, "Bright blue", .3, .6, .3, true)
341
Weld(bladeGem, handle, 0, 1, 0, 0, 0, 0)
342
Add.Mesh(bladeGem, "http://www.roblox.com/asset/?id=9756362", .3, 0.6, .3)
343
 
344
 
345
 
346
Mo.Parent = char
347
TH.Part1 = handle
348
 
349
function showdmg(dmg, p, pos)
350
        local mo = Instance.new("Model")
351
        mo.Name = dmg
352
        local pa = Part(mo, false, true, 0, 0, "Bright blue", 0.8, 0.3, 0.8, true)
353
        pa.CFrame = CFrame.new(p.Position) * CFrame.new(0, pos, 0)
354
        pa.Name = "Head"
355
        local hah = hc:clone()
356
        hah.Parent = mo
357
        local bp = Add.BP(pa)
358
        bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
359
        bp.position = p.Position + Vector3.new(0, 3+pos, 0)
360
        Add.BG(pa)
361
        coroutine.resume(coroutine.create(function()
362
                wait()
363
                mo.Parent = workspace
364
                wait(1.4)
365
                mo:remove()
366
        end))
367
end
368
 
369
 
370
function damage(hum, p, num, dm1, dm2)
371
        local dmg = math.random(dm1, dm2)
372
        hum.Health = hum.Health - dmg
373
        showdmg(dmg, p, num)
374
        return dmg
375
end
376
 
377
function brickdamage(hit)
378
        local h = getHumanoid(hit.Parent)
379
        if h ~= nil and Hurt and Deb then
380
                Deb = false
381
                local dmg = damage(h, maintip, 0, Prop.Damage/4, Prop.Damage)
382
                PlaySound(hitsound)
383
                Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
384
                wait(0.3)
385
                Deb = true
386
        end
387
end
388
 
389
function legdamage(hit)
390
        local h = getHumanoid(hit.Parent)
391
        if h ~= nil and Leghurt and LegDeb then
392
                LegDeb = false
393
                local dmg = damage(h, Rleg, 0, Prop.Legdmg/2, Prop.Legdmg)
394
                PlaySound(hitsound)
395
                Prop.Rage = math.floor(Prop.Rage + (dmg*Prop.RageIncome))
396
                coroutine.resume(coroutine.create(function()
397
                        local haha = math.random(1,3)
398
                        if haha == 1 then
399
                                h.PlatformStand = true
400
                                wait()
401
                                local ps = getAllParts(h.Parent)
402
                                for i, v in pairs(ps) do
403
                                        if v.Anchored == false then
404
                                                v.Velocity = CFrame.new(handle.Position, v.Position).lookVector * 40
405
                                                v.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
406
                                        end
407
                                end
408
                                wait(0.8)
409
                                h.PlatformStand = false
410
                        end
411
                end))
412
                wait(0.2)
413
                LegDeb = true
414
        end
415
end
416
 
417
for i, v in pairs({Rleg, Lleg}) do
418
        v.Touched:connect(legdamage)
419
end
420
 
421
for i,v in pairs(DMGParts) do
422
        v.Touched:connect(brickdamage)
423
end
424
 
425
 
426
        h = Instance.new("HopperBin",me.Backpack)
427
        h.Name = Toolname
428
        h.TextureId = ToolIcon
429
        bl = h
430
 
431
bin = bl
432
 
433
function StartEffect(part)
434
        effectOn = true
435
        local lastPoint = part.Position
436
        coroutine.resume(coroutine.create(function()
437
                while effectOn do
438
                        wait()
439
                        local point = CFrame.new(lastPoint, part.Position) * CFrame.Angles(-math.pi/2, 0, 0)
440
                        local mag = (lastPoint - part.Position).magnitude
441
                        local p = Part(workspace, true, false, 0.1, 0, "Institutional white", 1, 1, 1, true)
442
                        local m = Instance.new("SpecialMesh",p)
443
                        p.CFrame = point * CFrame.new(0, mag/2, 0)
444
                        m.Scale = Vector3.new(1.2, mag+0.6, 1.2)
445
                        lastPoint = part.Position
446
                        coroutine.resume(coroutine.create(function() for i = 0.1, 1, 0.9/5 do wait() p.Transparency = i end p:remove() end))
447
                end
448
        end))
449
end
450
 
451
function EndEffect()
452
        effectOn = false
453
end
454
 
455
function detach(bool)
456
        LLW.C0 = CFrame.new(0, 0, 0)
457
        RLW.C0 = CFrame.new(0, 0, 0)
458
        LAW.C0 = CFrame.new(0,0,0)
459
        RAW.C0 = CFrame.new(0, 0, 0)
460
        if bool then
461
                LLW.Part1 = nil
462
                RLW.Part1 = nil
463
                RAW.Part1 = nil
464
                LAW.Part1 = nil
465
        end
466
end
467
 
468
function attach()
469
        RAW.Part1 = Rarm
470
        LAW.Part1 = Larm
471
        RLW.Part1 = Rleg
472
        LLW.Part1 = Lleg
473
end
474
 
475
function normal()
476
        neck.C0 = necko
477
        RAW.C0 = RAWStand
478
        LAW.C0 = LAWStand
479
        RLW.C0 = RLWStand
480
        LLW.C0 = LLWStand
481
        RAW.C1 = CFrame.new(0, 0.5, 0)
482
        LAW.C1 = CFrame.new(0, 0.5, 0)
483
        RLW.C1 = CFrame.new(0, 0.8, 0)
484
        LLW.C1 = CFrame.new(0, 0.8, 0)
485
        HW.C0 = HWStand
486
end
487
 
488
function idleanim()
489
        attach()
490
        for i = 0, 10, 10/22 do
491
                RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
492
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
493
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
494
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
495
                neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
496
                if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
497
                wait()
498
        end
499
        wait()
500
        for i = 10, 0, -10/29 do
501
                RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(i), 0)
502
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-i), 0, 0)
503
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(i/8), 0, math.rad(-i/6))
504
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-i/8), 0, math.rad(i/6))
505
                neck.C0 = necko * CFrame.Angles(math.rad(-i/2), 0, 0)
506
                if selected == false or torso.Velocity.magnitude > 2 or Able == false or RestingAnim == true then break end
507
                wait()
508
        end
509
        normal()
510
end
511
 
512
function runanim()
513
        RLW.Part1 = nil
514
        LLW.Part1 = nil
515
end
516
 
517
coroutine.resume(coroutine.create(function()
518
        while true do
519
                wait()
520
                if selected and Able == true and RestingAnim == false then
521
                        if torso.Velocity.magnitude < 2 then
522
                                idleanim()
523
                                wait()
524
                        else
525
                                runanim()
526
                                wait()
527
                        end
528
                end
529
        end
530
end))
531
 
532
function selectanim()
533
        if RestingAnim == false and Able == true then
534
        local ah = CFrame.Angles(0, 0, math.rad(90))
535
        RAW.Part1 = Rarm
536
        for i = 0, 270, 270/5 do
537
                RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
538
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
539
                wait()
540
        end
541
        HW.C0 = ah
542
        HW.Part1 = handle
543
        TH.Part1 = nil
544
        PlaySound(equip)
545
        for i = 270, 70, -200/13 do
546
                RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
547
                neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
548
                wait()
549
        end
550
        attach()
551
        for i = 70, 120, 50/8 do
552
                local asd = i-70
553
                RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
554
                LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
555
                HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
556
                neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
557
                RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
558
                LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
559
                wait()
560
        end
561
        if RAWStand == nil then
562
                RAWStand = RAW.C0
563
                LAWStand = LAW.C0
564
                RLWStand = RLW.C0
565
                LLWStand = LLW.C0
566
                HWStand = HW.C0
567
        end
568
        normal()
569
        end
570
end
571
 
572
function deselanim()
573
        if RestingAnim == false and Able == true then
574
        local ah = CFrame.Angles(0, 0, math.rad(90))
575
        for i = 120, 70, -50/8 do
576
                local asd = i-70
577
                RAW.C0 = CFrame.new(-(i-70)/240, 0, -i/500) * CFrame.Angles(math.rad(70), math.rad(70/4+(i-70)), math.rad(-(i-70)/4))
578
                LAW.C0 = CFrame.Angles(math.rad(asd*1.5), 0, math.rad(asd/2)) * CFrame.new(asd/100, -asd/70, 0)
579
                HW.C0 = ah * CFrame.Angles(0, 0, math.rad(-asd*1.8))
580
                neck.C0 = necko * CFrame.Angles(math.rad(-200/7+(asd/2)), 0, math.rad(-70/5+(asd/5)))
581
                RLW.C0 = CFrame.Angles(0, 0, math.rad(asd/4))
582
                LLW.C0 = CFrame.Angles(0, 0, math.rad(-asd/4))
583
                wait()
584
        end
585
        LLW.Part1 = nil
586
        RLW.Part1 = nil
587
        LAW.Part1 = nil
588
        for i = 70, 270, 200/13 do
589
                RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
590
                neck.C0 = necko * CFrame.Angles(math.rad((i-270)/7), 0, math.rad(-i/5))
591
                wait()
592
        end
593
        HW.C0 = ah
594
        HW.Part1 = nil
595
        TH.Part1 = handle
596
        for i = 270, 0, -270/6 do
597
                RAW.C0 = CFrame.new(0, 0, -i/500) * CFrame.Angles(math.rad(i), math.rad(i/4), 0)
598
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-i/5))
599
                wait()
600
        end
601
        neck.C0 = necko
602
        detach(true)
603
        end
604
end
605
 
606
function smash(mouse)
607
        attach()
608
        local mouseHit = mouse
609
        local Orig = torso.CFrame
610
        local bg = Add.BG(torso)
611
        local bp = Add.BP(torso)
612
        bp.position = Orig.p
613
        local CF = ComputePos(Orig.p, mouseHit)
614
        local CF2 = CF
615
        bg.cframe = CF2
616
        PlaySound(slash)
617
        for i = 0, 1, Prop.AS*1.1 do
618
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(80*i), 0, math.rad(45*i)) * CFrame.new(0, -0.4*i, 0)
619
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(75*i), 0, math.rad(40*i)) * CFrame.new(0, -0.5*i, 0)
620
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), math.rad(16*i), math.rad(-8*i))
621
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30*i), math.rad(-16*i), math.rad(8*i))
622
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(30*i))
623
                neck.C0 = necko * CFrame.Angles(math.rad(-35*i), 0, math.rad(-10*i))
624
                wait()
625
        end
626
        bp.position = CF * CFrame.new(0, 0, -1.1).p
627
        StartEffect(maintip)
628
        Hurt = true
629
        for i = 0, 1, Prop.AS*1.5 do
630
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150*i), math.rad(-45*i), math.rad(45-140*i)) * CFrame.new(0, -0.4, 0)
631
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180*i), math.rad(80*i), math.rad(40-20*i)) * CFrame.new(0, -0.5, 0)
632
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50*i), math.rad(16-16*i), math.rad(-8+8*i))
633
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40*i), math.rad(-16+16*i), math.rad(8-8*i))
634
                HW.C0 = HWStand * CFrame.Angles(math.rad(-48*i), 0, math.rad(30))
635
                neck.C0 = necko * CFrame.Angles(math.rad(-35+75*i), 0, math.rad(-10+26*i))
636
                wait()
637
        end
638
        Hurt = false
639
        EndEffect()
640
        PlaySound(smashsound)
641
        bp.position = CF * CFrame.new(0, 0, -1.9).p
642
        for i = 0, 1, Prop.AS do
643
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-150+80*i), math.rad(-45+45*i), math.rad(45-140+95*i)) * CFrame.new(0, -0.4+0.4*i, 0)
644
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(75-180+105*i), math.rad(80-80*i), math.rad(20-20*i)) * CFrame.new(0, -0.5+0.5*i, 0)
645
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-50+30*i), 0, 0)
646
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-30+40-10*i), 0, 0)
647
                HW.C0 = HWStand * CFrame.Angles(math.rad(-48+48*i), 0, math.rad(30-30*i))
648
                neck.C0 = necko * CFrame.Angles(math.rad(-35+75-40*i), 0, math.rad(-10+26-16*i))
649
                wait()
650
        end
651
        normal()
652
        bg:remove()
653
        bp:remove()
654
end
655
 
656
function swing(mouse)
657
        attach()
658
        local mouseHit = mouse
659
        local Orig = torso.CFrame
660
        local bg = Add.BG(torso)
661
        local bp = Add.BP(torso)
662
        bp.position = Orig.p
663
        local CF = ComputePos(Orig.p, mouseHit)
664
        local CF2 = CF
665
        bg.cframe = CF2
666
        PlaySound(slash)
667
        for i = 0, 1, Prop.AS*1.5 do
668
                RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(-140*i), 0) * CFrame.new(0, 0, 0)
669
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(25*i), 0, math.rad(20*i)) * CFrame.new(0, -0.4*i, 0)
670
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20*i), 0, 0)
671
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10*i), 0, 0)
672
                HW.C0 = HWStand * CFrame.Angles(0, math.rad(-10*i), 0)
673
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50*i))
674
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40*i), 0)
675
                wait()
676
        end
677
        Hurt = true
678
        StartEffect(maintip)
679
        for i = 0, 1, Prop.AS*1.3 do
680
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(70*i), math.rad(-140), 0) * CFrame.new(0, -0.9*i, 0)
681
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(25), 0, math.rad(20-100*i)) * CFrame.new(0, -0.4+0.6*i, 0)
682
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20), 0, 0)
683
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10), 0, 0)
684
                HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), math.rad(-15), 0) * CFrame.new(0, 0, -0.9*i)
685
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90*i))
686
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(-40+80*i), 0)
687
                wait()
688
        end
689
        EndEffect()
690
        Hurt = false
691
        for i = 0, 1, Prop.AS*0.8 do
692
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(70-70*i), math.rad(-140+140*i), 0) * CFrame.new(0, -0.9+0.9*i, 0)
693
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(25-25*i), 0, math.rad(20-100+80*i)) * CFrame.new(0, -0.4+0.6-0.2*i, 0)
694
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(20-20*i), 0, 0)
695
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10+10*i), 0, 0)
696
                HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), math.rad(-15+15*i), 0) * CFrame.new(0, 0, -0.9+0.9*i)
697
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(-50+90-40*i))
698
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(40-40*i), 0)
699
                wait()
700
        end
701
        normal()
702
        bg:remove()
703
        bp:remove()
704
end
705
 
706
function stab(mouse)
707
        attach()
708
        local mouseHit = mouse
709
        local Orig = torso.CFrame
710
        local bg = Add.BG(torso)
711
        local bp = Add.BP(torso)
712
        bp.position = Orig.p
713
        local CF = ComputePos(Orig.p, mouseHit)
714
        local CF2 = CF
715
        bg.cframe = CF2
716
        PlaySound(slash)
717
        for i = 0, 1, Prop.AS do
718
                RAW.C0 = RAWStand * CFrame.new(0, 0.6*i, 0) * CFrame.Angles(math.rad(-60*i), math.rad(-40*i), math.rad(-30*i)) * CFrame.new(-0.45*i, 0, 0)
719
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50*i), 0, math.rad(40*i)) * CFrame.new(0, -0.6*i, 0)
720
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(3*i), math.rad(20*i), math.rad(-10*i))
721
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3*i), math.rad(-20*i), math.rad(10*i))
722
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1*i)
723
                neck.C0 = necko * CFrame.Angles(math.rad(25*i), 0, math.rad(-45*i))
724
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30*i), 0)
725
                wait()
726
        end
727
        StartEffect(maintip)
728
        Hurt = true
729
        bp.position = CF * CFrame.new(0, 0, -0.6).p
730
        for i = 0, 1, Prop.AS*1.5 do
731
                RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8*i, 0) * CFrame.Angles(math.rad(-60+100*i), math.rad(-40), math.rad(-30+70*i)) * CFrame.new(-0.45, 0, 0)
732
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60*i), 0, math.rad(40-30*i)) * CFrame.new(0, -0.6-0.4*i, 0)
733
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18*i), math.rad(20-40*i), math.rad(-10+20*i))
734
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18*i), math.rad(-20+40*i), math.rad(10-20*i))
735
                HW.C0 = HWStand * CFrame.Angles(math.rad(-70*i), 0, 0) * CFrame.new(0, 0, 1-1.4*i)
736
                neck.C0 = necko * CFrame.Angles(math.rad(25-20*i), 0, math.rad(-45+35*i))
737
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45*i), 0)
738
                wait()
739
        end
740
        Hurt = false
741
        EndEffect()
742
        bp.position = CF.p
743
        for i = 0, 1, Prop.AS*1.1 do
744
                RAW.C0 = RAWStand * CFrame.new(0, 0.6-0.8+0.2*i, 0) * CFrame.Angles(math.rad(-60+100-40*i), math.rad(-40+40*i), math.rad(-30+70-40*i)) * CFrame.new(-0.45+0.45*i, 0, 0)
745
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-50+60-10*i), 0, math.rad(40-30-10*i)) * CFrame.new(0, -0.6-0.4+1*i, 0)
746
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(3-18+15*i), math.rad(20-40+20*i), math.rad(-10+20-10*i))
747
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-3+18-15*i), math.rad(-20+40-20*i), math.rad(10-20+10*i))
748
                HW.C0 = HWStand * CFrame.Angles(math.rad(-70+70*i), 0, 0) * CFrame.new(0, 0, 1-1.4+0.4*i)
749
                neck.C0 = necko * CFrame.Angles(math.rad(5-5*i), 0, math.rad(-10+10*i))
750
                bg.cframe = CF2 * CFrame.Angles(0, math.rad(-30+45-15*i), 0)
751
                wait()
752
        end
753
        normal()
754
        bg:remove()
755
        bp:remove()
756
end
757
 
758
function epicsmashfunc(hit)
759
        local ch = hit.Parent
760
        local h = getHumanoid(ch)
761
        local t, head = ch:findFirstChild("Torso"), ch:findFirstChild("Head")
762
        return h, t, head
763
end
764
 
765
function epicsmash(mouse)
766
        if Prop.Rage >= 50 then
767
        attach()
768
        local mouseHit = mouse
769
        local Orig = torso.CFrame
770
        local bg = Add.BG(torso)
771
        local bp = Add.BP(torso)
772
        bp.position = Orig.p
773
        local CF = ComputePos(Orig.p, mouseHit)
774
        bg.cframe = CF
775
        local hu, to, head = nil, nil, nil
776
        local Epic = true
777
        local conn = Lleg.Touched:connect(function(hit)
778
                if Epic then
779
                        hu, to, head = epicsmashfunc(hit)
780
                        if hu and to and head then Epic = false end
781
                end
782
        end)
783
        PlaySound(slash)
784
        for i = 0, 1, 0.12 do
785
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160*i), math.rad(-30*i), math.rad(-80*i)) * CFrame.new(0, 0, 0)
786
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80*i), 0, math.rad(-70*i)) * CFrame.new(0, -0.4*i, 0.6*i)
787
                RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20*i)) * CFrame.new(0, 0, 0)
788
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(115*i), 0, math.rad(-40*i)) * CFrame.new(0, -0.8*i, 0)
789
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2*i)
790
                neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52*i))
791
                bg.cframe = CF * CFrame.Angles(math.rad(10*i), math.rad(-45*i), math.rad(-15*i))
792
                wait()
793
        end
794
        conn:disconnect()
795
        if hu and to and head then
796
                Prop.Rage = Prop.Rage - 50
797
                hu.PlatformStand = true
798
                local bg2 = Add.BG(to)
799
                bg2.P = 6000
800
                bg2.cframe = CF * CFrame.Angles(math.rad(90), math.rad(180), math.rad(90))
801
                local bp2 = Add.BP(to)
802
                bp2.position = CF * CFrame.new(-1, -4, -4).p
803
                bp2.P = 5000
804
                wait(0.1)
805
                for i = 0, 1, 0.045 do
806
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270*i), math.rad(-30+20*i), math.rad(-80+120*i))
807
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140*i), 0, math.rad(-70+120*i)) * CFrame.new(0, -0.4-0.1*i, 0.6-0.6*i)
808
                        RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
809
                        LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
810
                        HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
811
                        neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37*i))
812
                        bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+35*i), math.rad(-15+15*i))
813
                        wait()
814
                end
815
                PlaySound(slash)
816
                bp2:remove()
817
                bg2:remove()
818
                wait(0.2)
819
                StartEffect(maintip)
820
                for i = 0, 1, 0.1 do
821
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190*i), math.rad(-30+20-35*i), math.rad(-80+120-135*i))
822
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150*i), math.rad(60*i), math.rad(-70+120-40*i)) * CFrame.new(0, -0.4-0.1, 0)
823
                        RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
824
                        LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
825
                        HW.C0 = HWStand * CFrame.Angles(math.rad(-55*i), 0, math.rad(30*i)) * CFrame.new(0, 0, -1*i)
826
                        neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-37+30*i))
827
                        bg.cframe = CF * CFrame.Angles(math.rad(10-10), math.rad(-45+35-30*i), math.rad(-15+15))
828
                        wait()
829
                end
830
                coroutine.resume(coroutine.create(function()
831
                        local frr = Cam.CoordinateFrame
832
                        for i = 1, math.random(3,6) do
833
                                wait()
834
                                Cam.CoordinateFrame = frr * CFrame.new(math.random(-6,6)/10, math.random(-6,6)/10, math.random(-6,6)/10)
835
                        end
836
                end))
837
                PlaySound(smashsound)
838
                EndEffect()
839
                local pos = head.Position
840
                if (pos - maintip.Position).magnitude < 2 then
841
                damage(hu, head, 0.3, hu.Health, hu.Health)
842
                head:remove()
843
                PlaySound(hitsound)
844
                for i = 1, math.random(7, 17) do
845
                        local hmm = math.random(1,6)
846
                        if hmm < 6 then
847
                                local cols = {"Bright red", "Really red"}
848
                                local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(2,10)/10, 0.2, math.random(2,10)/10)
849
                                p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
850
                                p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
851
                                p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
852
                        else
853
                                local cols = {"Institutional white", "White"}
854
                                local p = Part(workspace, false, false, 0, 0, cols[math.random(1,#cols)], math.random(4,13)/10, 0.3, math.random(2,3)/10)
855
                                p.CFrame = CFrame.new(pos) * CFrame.new(math.random(-6,6)/10, math.random(-4,2)/10, math.random(-6, 6)/10)
856
                                p.Velocity = Vector3.new(math.random(-15, 15), math.random(5, 40), math.random(-15, 15))
857
                                p.RotVelocity = Vector3.new(math.random(-25,25), math.random(-25,25), math.random(-25,25))
858
                        end
859
                end
860
                end
861
                for i = 0, 1, 0.06 do
862
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+270-190+80*i), math.rad(-30+20-35+45*i), math.rad(-80+120-135+95*i))
863
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+140-150+90*i), math.rad(60-60*i), math.rad(10-10*i)) * CFrame.new(0, -0.4-0.1+0.5*i, 0)
864
                        RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
865
                        LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0)
866
                        HW.C0 = HWStand * CFrame.Angles(math.rad(-55+55*i), 0, math.rad(30-30*i)) * CFrame.new(0, 0, -1+1*i)
867
                        neck.C0 = necko * CFrame.Angles(0, 0, math.rad(45-45*i))
868
                        bg.cframe = CF * CFrame.Angles(0, math.rad(-45+35-20+30*i), 0)
869
                        wait()
870
                end
871
        else
872
                for i = 0, 1, 0.08 do
873
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(-160+160*i), math.rad(-30+30*i), math.rad(-80+80*i)) * CFrame.new(0, 0, 0)
874
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-80+80*i), 0, math.rad(-70+70*i)) * CFrame.new(0, -0.4+0.4*i, 0.6-0.6*i)
875
                        RLW.C0 = RLWStand * CFrame.Angles(0, 0, math.rad(20-20*i)) * CFrame.new(0, 0, 0)
876
                        LLW.C0 = LLWStand * CFrame.Angles(math.rad(115-115*i), 0, math.rad(-40+40*i)) * CFrame.new(0, -0.8+0.8*i, 0)
877
                        HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 2-2*i)
878
                        neck.C0 = necko * CFrame.Angles(0, 0, math.rad(52-52*i))
879
                        bg.cframe = CF * CFrame.Angles(math.rad(10-10*i), math.rad(-45+45*i), math.rad(-15+15*i))
880
                        wait()
881
                end
882
                bg:remove()
883
                bp:remove()
884
                normal()
885
        end
886
        normal()
887
        bg:remove()
888
        bp:remove()
889
        end
890
end
891
 
892
 
893
function shockwave(mouse)
894
        local p, t = RayCast(torso.Position, torso.CFrame * CFrame.new(0, -5, 0).p, 5, 1)
895
        if Prop.Rage >= 80 and t then
896
        Prop.Rage = Prop.Rage - 80
897
        attach()
898
        local mouseHit = mouse
899
        local Orig = torso.CFrame
900
        local bg = Add.BG(torso)
901
        local bp = Add.BP(torso)
902
        bp.position = Orig.p
903
        bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
904
        bp.P = 5000
905
        local CF = ComputePos(Orig.p, mouseHit)
906
        bg.cframe = CF
907
        PlaySound(charge)
908
        for i = 0, 1, 0.07 do
909
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110*i), math.rad(-40*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
910
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
911
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -0.8*i)
912
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0.2*i)
913
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
914
                neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
915
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
916
                bp.position = Orig.p + Vector3.new(0, -1.9*i, 0)
917
                wait()
918
        end
919
        for i = 0, 1, 0.04 do
920
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-110+220*i), math.rad(-40+50*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
921
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100+185*i), 0, math.rad(-40+75*i)) * CFrame.new(-0.2-0.2*i, -0.4-0.05*i, 0.5-0.5*i)
922
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-25*i), 0, math.rad(-10+6*i)) * CFrame.new(0, 0.7-0.7*i, -0.8+0.8*i)
923
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+65*i), 0, math.rad(10-6*i)) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
924
                HW.C0 = HWStand * CFrame.Angles(math.rad(-15*i), 0, 0) * CFrame.new(0, 0, 1.6-2.1*i)
925
                neck.C0 = necko * CFrame.Angles(math.rad(30-70*i), 0, 0)
926
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
927
                bp.position = Orig.p + Vector3.new(0, -1.9+17*i, 0)
928
                wait()
929
        end
930
        bp.P = 12001
931
        wait(0.1)
932
        StartEffect(maintip)
933
        PlaySound(slash)
934
        for i = 0, 1, 0.1 do
935
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-30*i), math.rad(40-90*i)) * CFrame.new(0, -0.85+0.85*i, -0.8*i)
936
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125*i), 0, math.rad(35)) * CFrame.new(0, -0.45+0.1, 0)
937
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25*i), 0, math.rad(-4+4*i)) * CFrame.new(0, 0.5*i, -0.8*i)
938
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35*i), 0, math.rad(4-4*i)) * CFrame.new(0, 0.4*i, 0.2*i)
939
                HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7*i)
940
                neck.C0 = necko * CFrame.Angles(math.rad(-40+75*i), 0, math.rad(-20*i))
941
                bg.cframe = CF * CFrame.Angles(0, math.rad(380*i), 0)
942
                bp.position = Orig.p + Vector3.new(0, 15.1-16.7*i, 0)
943
                wait()
944
        end
945
        coroutine.resume(coroutine.create(function()
946
                local frr = Cam.CoordinateFrame
947
                for i = 1, math.random(10,16) do
948
                        wait()
949
                        Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
950
                end
951
        end))
952
        PlaySound(smashsound)
953
        local pos = CF * CFrame.new(-2, -3, -3).p
954
        EndEffect()
955
        local p = Part(workspace, true, false, 0, 0, "Toothpaste", 1, 1, 1, true)
956
        p.CFrame = CFrame.new(pos)
957
        local p2 = Part(workspace, true, false, 0, 0, "Toothpaste", 1, 1, 1, true)
958
        p2.CFrame = CFrame.new(pos)
959
        local p3 = Part(workspace, true, false, 0, 0, "Toothpaste", 1, 1, 1, true)
960
        p3.CFrame = CFrame.new(pos)
961
        local m3 = Instance.new("SpecialMesh",p3)
962
        m3.MeshType = "Sphere"
963
        PlaySound(boom)
964
        local m2 = Instance.new("CylinderMesh",p2)
965
        local m = Add.Mesh(p, "http://www.roblox.com/asset/?id=20329976", 1, 1.2, 1)
966
        local tab = {}
967
        coroutine.resume(coroutine.create(function()
968
                for x = 0, 1.04, 0.04 do
969
                        wait()
970
                        local thing = 33*x
971
                        m.Scale = Vector3.new(21*x, 5*x, 21*x)
972
                        m2.Scale = Vector3.new(thing, 1, thing)
973
                        m3.Scale = Vector3.new(thing*0.93, thing*0.7, thing*0.93)
974
                        p.Transparency = x
975
                        p2.Transparency = x
976
                        p3.Transparency = x
977
                        for i, v in pairs(workspace:children()) do
978
                                local h = getHumanoid(v)
979
                                local to = v:findFirstChild("Torso")
980
                                if h ~= nil and to ~= nil and find(tab, v) == nil then
981
                                        if (to.Position - pos).magnitude < (thing/2) then
982
                                                damage(h, to, 0.5, Prop.ShockDMG/2, Prop.ShockDMG)
983
                                                to.Velocity = CFrame.new(pos, to.Position).lookVector * 60
984
                                                to.RotVelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
985
                                                h.PlatformStand = true
986
                                                table.insert(tab, v)
987
                                                coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
988
                                        end
989
                                end
990
                        end
991
                end
992
                p:remove()
993
                p2:remove()
994
                p3:remove()
995
        end))
996
        wait(0.8)
997
        for i = 0, 1, Prop.AS*0.8 do
998
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-30+20*i), math.rad(40-90+50*i)) * CFrame.new(0, 0, -0.8+0.8*i)
999
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-125+40*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.45+0.1+0.35*i, 0)
1000
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(-10+25-15*i), 0, 0) * CFrame.new(0, 0.5-0.5*i, -0.8+0.8*i)
1001
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-10-35+45*i), 0, 0) * CFrame.new(0, 0.4-0.4*i, 0.2-0.2*i)
1002
                HW.C0 = HWStand * CFrame.Angles(math.rad(-15-10+25*i), 0, 0) * CFrame.new(0, 0, -0.5+0.7-0.2*i)
1003
                neck.C0 = necko * CFrame.Angles(math.rad(-40+75-35*i), 0, math.rad(-20+20*i))
1004
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
1005
                bp.position = Orig.p + Vector3.new(0, 15.1-16.7+1.6*i, 0)
1006
                wait()
1007
        end
1008
        normal()
1009
        bg:remove()
1010
        bp:remove()
1011
        end
1012
end
1013
 
1014
function flipsmash(mouse)
1015
        local Orig = torso.CFrame
1016
        local mouseHit = mouse
1017
        local CF = ComputePos(Orig.p, mouseHit)
1018
        local p, t = RayCast(torso.Position, torso.Position + Vector3.new(0, -5, 0), 5, 0.5)
1019
        local ahp = (CF * CFrame.new(0, 0, -14.5))
1020
        local p2, t2 = RayCast(ahp.p, (ahp * CFrame.new(0, -5, 0)).p, 5, 0.5)
1021
        if t and t2 and Prop.Rage >= 90 then
1022
        Prop.Rage = Prop.Rage - 90
1023
        attach()
1024
        local bg = Add.BG(torso)
1025
        local bp = Add.BP(torso)
1026
        bp.position = Orig.p
1027
        bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1028
        bg.cframe = CF
1029
        local cen = CF * CFrame.new(0, -1.2, -1.5-6.5)
1030
        for i = 0, 1, 0.08 do
1031
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100*i), math.rad(-50*i), math.rad(-50*i)) * CFrame.new(0.2*i, 0, 0.2*i)
1032
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100*i), 0, math.rad(-40*i)) * CFrame.new(-0.2*i, -0.4*i, 0.5*i)
1033
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, math.rad(-10*i)) * CFrame.new(0, 0.7*i, -1*i)
1034
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75*i), 0, math.rad(10*i)) * CFrame.new(0, 0.4*i, 0)
1035
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6*i)
1036
                neck.C0 = necko * CFrame.Angles(math.rad(30*i), 0, 0)
1037
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
1038
                bp.position = CF * CFrame.new(0, -1.2*i, -1.5*i).p
1039
                wait()
1040
        end
1041
        wait(0.15)
1042
        hum.PlatformStand = true
1043
        for i = 0, 1, 0.13 do
1044
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70*i), math.rad(-50), math.rad(-50)) * CFrame.new(0.2, 0, 0.2)
1045
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50*i), 0, math.rad(-40+30*i)) * CFrame.new(-0.2, -0.4, 0.5)
1046
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15-10*i), 0, math.rad(-10)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
1047
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-75+70*i), 0, math.rad(10)) * CFrame.new(0, 0.4-0.4*i, 0)
1048
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6)
1049
                neck.C0 = necko * CFrame.Angles(math.rad(30-40*i), 0, 0)
1050
                bg.cframe = CF * CFrame.Angles(math.rad(-90*i), 0, 0)
1051
                bp.position = cen * CFrame.Angles(math.rad(180-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
1052
                wait()
1053
        end
1054
        PlaySound(slash)
1055
        for i = 0, 1, 0.13 do
1056
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-100-70-80*i), math.rad(-50+60*i), math.rad(-50+90*i)) * CFrame.new(0.2-0.2*i, -0.85*i, 0.2-0.2*i)
1057
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-100-50-125*i), 0, math.rad(-40+30+45*i)) * CFrame.new(-0.2+0.2*i, -0.4-0.5*i, 0.5-0.5*i)
1058
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(5), 0, math.rad(-10)) * CFrame.new(0, 0, 0)
1059
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5), 0, math.rad(10)) * CFrame.new(0, 0, 0)
1060
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 1.6-2.6*i)
1061
                neck.C0 = necko * CFrame.Angles(math.rad(-10), 0, 0)
1062
                bg.cframe = CF * CFrame.Angles(math.rad(-90-90*i), 0, 0)
1063
                bp.position = cen * CFrame.Angles(math.rad(180-45-45*i), 0, 0) * CFrame.new(0, 0, -6.5).p
1064
                wait()
1065
        end
1066
        StartEffect(maintip)
1067
        PlaySound(slash)
1068
        for i = 0, 1, 0.06 do
1069
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150*i), math.rad(10-50*i), math.rad(40-85*i)) * CFrame.new(0, -0.85+0.45*i, 0)
1070
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130*i), 0, math.rad(35)) * CFrame.new(0, -0.9+0.3*i, 0)
1071
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80*i), 0, math.rad(-10)) * CFrame.new(0, 0.4*i, 0)
1072
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20*i), 0, math.rad(10)) * CFrame.new(0, 0.7*i, -1*i)
1073
                HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6)
1074
                neck.C0 = necko * CFrame.Angles(math.rad(-10+50*i), 0, 0)
1075
                bg.cframe = CF * CFrame.Angles(math.rad(-180-190*i), 0, 0)
1076
                bp.position = cen * CFrame.Angles(math.rad(90-90*i), 0, 0) * CFrame.new(0, 0, -6.5).p
1077
                wait()
1078
        end
1079
        coroutine.resume(coroutine.create(function()
1080
                local frr = Cam.CoordinateFrame
1081
                for i = 1, math.random(13,20) do
1082
                        wait()
1083
                        Cam.CoordinateFrame = frr * CFrame.new(math.random(-15,15)/10, math.random(-15,15)/10, math.random(-15,15)/10)
1084
                end
1085
        end))
1086
        PlaySound(smashsound)
1087
        PlaySound(boomboom)
1088
        EndEffect()
1089
        local poo = Vector3.new(maintip.Position.x, t2.Position.y + t2.Size.y/2, maintip.Position.z)
1090
        local siz = math.random(65,115)/10
1091
        local partie = Part(workspace, true, false, 1, 0, "White", siz, 0.2, siz, true)
1092
        partie.CFrame = CFrame.new(poo) * CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
1093
        local decc = Instance.new("Decal",partie)
1094
        decc.Shiny = 0
1095
        decc.Specular = 0
1096
        decc.Texture = "http://www.roblox.com/asset/?id=49173398"
1097
        decc.Face = "Top"
1098
        local count = 0
1099
        for i, v in pairs(workspace:children()) do
1100
                local h = getHumanoid(v)
1101
                local to = v:findFirstChild("Torso")
1102
                if h ~= nil and to ~= nil then
1103
                        if (to.Position - poo).magnitude < 15 then
1104
                                count = count + 1
1105
                                local Maxhp = h.MaxHealth
1106
                                if Maxhp > 5000 then Maxhp = 5000 end
1107
                                damage(h, to, 0.5, 0, Maxhp+5)
1108
                                to.Velocity = CFrame.new(poo, to.Position).lookVector * 30
1109
                                to.Velocity = to.Velocity + Vector3.new(0, 60, 0)
1110
                                to.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1111
                                h.PlatformStand = true
1112
                                coroutine.resume(coroutine.create(function() wait(1.2) h.PlatformStand = false end))
1113
                                if count >= 2 then break end
1114
                        end
1115
                end
1116
        end
1117
        coroutine.resume(coroutine.create(function() wait(math.random(7,14)) partie:remove() end))
1118
        wait(0.6)
1119
        for i = 0, 1, 0.06 do
1120
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(110-150+40*i), math.rad(10-50+40*i), math.rad(40-85+45*i)) * CFrame.new(0, -0.85+0.45+0.4*i, 0)
1121
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(85-130+45*i), 0, math.rad(35-35*i)) * CFrame.new(0, -0.9+0.3+0.6*i, 0)
1122
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(5-80+75*i), 0, math.rad(-10+10*i)) * CFrame.new(0, 0.4-0.4*i, 0)
1123
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-5+20-15*i), 0, math.rad(10-10*i)) * CFrame.new(0, 0.7-0.7*i, -1+1*i)
1124
                HW.C0 = HWStand * CFrame.Angles(math.rad(-35+10+25*i), 0, 0) * CFrame.new(0, 0, 1.6-2.6+1*i)
1125
                neck.C0 = necko * CFrame.Angles(math.rad(-10+50-40*i), 0, 0)
1126
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
1127
                bp.position = cen * CFrame.new(0, 1.2*i, -6.5).p
1128
                wait()
1129
        end
1130
        hum.PlatformStand = false
1131
        normal()
1132
        bg:remove()
1133
        bp:remove()
1134
        end
1135
end
1136
 
1137
function spin(mouse)
1138
        attach()
1139
        local mouseHit = mouse
1140
        local Orig = torso.CFrame
1141
        local CF = ComputePos(Orig.p, mouseHit)
1142
        local p, t = RayCast(torso.Position, CF * CFrame.new(0, -7, -1.5).p, 5, 0.5)
1143
        if t then
1144
        local bg = Add.BG(torso)
1145
        local bp = Add.BP(torso)
1146
        bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1147
        bp.position = Orig.p
1148
        bg.cframe = CF
1149
        PlaySound(slash)
1150
        for i = 0, 1, 0.11 do
1151
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(20*i), math.rad(120*i), math.rad(20*i)) * CFrame.new(0, 0, 0)
1152
                RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100*i), 0, math.rad(20*i))
1153
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(60*i), 0, math.rad(40*i)) * CFrame.new(0, -0.8*i, 0)
1154
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(10*i), 0, 0) * CFrame.new(0, 0.3*i, -0.2*i)
1155
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25*i), 0, 0)
1156
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0)
1157
                neck.C0 = necko * CFrame.Angles(math.rad(-15*i), 0, math.rad(-30*i))
1158
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
1159
                wait()
1160
        end
1161
        local posg = CF * CFrame.new(0, -0.6, -4)
1162
        PlaySound(hitsound, 0.9)
1163
        for i = 0, 1, 0.13 do
1164
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(20-20*i), math.rad(120+10*i), math.rad(20)) * CFrame.new(0, -0.8*i, 0.4*i)
1165
                RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60*i), 0, math.rad(20-20*i))
1166
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40*i), 0, math.rad(40-50*i)) * CFrame.new(0, -0.8+0.3*i, 0)
1167
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(10-10*i), 0, 0) * CFrame.new(0, 0.3-0.3*i, -0.2+0.2*i)
1168
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-25+25*i), 0, 0)
1169
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35*i)) * CFrame.new(0, 0, -0.6*i)
1170
                neck.C0 = necko * CFrame.Angles(math.rad(-15+25*i), 0, math.rad(-30+30*i))
1171
                bg.cframe = CF * CFrame.Angles(0, 0, 0)
1172
                bp.position = CF * CFrame.new(0, 1*i, -2*i).p
1173
                wait()
1174
        end
1175
        hum.PlatformStand = true
1176
        bg.Parent = handle
1177
        bg.cframe = CF * CFrame.Angles(math.pi, math.pi, 0)
1178
        bp.Parent = handle
1179
        bp.position = posg.p
1180
        StartEffect(Lleg)
1181
        Leghurt = true
1182
        PlaySound(slash)
1183
        for i = 0, 1, 0.09 do
1184
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90*i), math.rad(130-40*i), math.rad(20-40*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
1185
                RAW.C1 = CFrame.new(0, 0.5+0.5*i, 0) * CFrame.Angles(math.rad(100-60+60*i), 0, 0)
1186
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-40-20+60*i), 0, math.rad(40-50+10*i)) * CFrame.new(0, -0.8+0.3-0.5*i, 0)
1187
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15*i), 0, 0)
1188
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20*i), 0, 0)
1189
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1*i)
1190
                neck.C0 = necko * CFrame.Angles(math.rad(10-35*i), 0, 0)
1191
                bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90*i), 0)
1192
                wait()
1193
        end
1194
        for i = 0, 1, 0.055 do
1195
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(-20)) * CFrame.new(0, 0, 0)
1196
                RAW.C1 = CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(100), 0, 0)
1197
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(60), 0, 0) * CFrame.new(0, -1, 0)
1198
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10*i), 0, 0)
1199
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5*i), 0, 0)
1200
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
1201
                neck.C0 = necko * CFrame.Angles(math.rad(-25), 0, 0)
1202
                bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(90+270*i), 0)
1203
                wait()
1204
        end
1205
        EndEffect()
1206
        Leghurt = false
1207
        for i = 0, 1, 0.12 do
1208
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(-90+90*i), math.rad(90+40*i), math.rad(-20+40*i)) * CFrame.new(0, -0.8*i, 0.4*i)
1209
                RAW.C1 = CFrame.new(0, 1-0.5*i, 0) * CFrame.Angles(math.rad(100-60*i), 0, 0)
1210
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(60-60*i), 0, 0) * CFrame.new(0, -1+0.5*i, 0)
1211
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(15+10-25*i), 0, 0)
1212
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(-20-5+25*i), 0, 0)
1213
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35)) * CFrame.new(0, 0, 1)
1214
                neck.C0 = necko * CFrame.Angles(math.rad(-25+25*i), 0, 0)
1215
                bg.cframe = CF * CFrame.Angles(math.pi, math.pi+math.rad(360), 0)
1216
                wait()
1217
        end
1218
        bg.Parent = torso
1219
        bp.Parent = torso
1220
        bg.cframe = CF
1221
        for i = 0, 1, 0.14 do
1222
                RAW.C0 = RAWStand * CFrame.Angles(0, math.rad(90+40-130*i), math.rad(-20+40-20*i)) * CFrame.new(0, -0.8+0.8*i, 0.4-0.4*i)
1223
                RAW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(100-60-40*i), 0, 0)
1224
                LAW.C0 = LAWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, -1+0.5+0.5*i, 0)
1225
                RLW.C0 = RLWStand * CFrame.Angles(0, 0, 0)
1226
                LLW.C0 = LLWStand * CFrame.Angles(0, 0, 0)
1227
                HW.C0 = HWStand * CFrame.Angles(0, 0, math.rad(-35+35*i)) * CFrame.new(0, 0, 1-1*i)
1228
                neck.C0 = necko * CFrame.Angles(0, 0, 0)
1229
                bp.position = CF * CFrame.new(0, 0, -2+1*i).p
1230
                bg.cframe = CF
1231
                wait()
1232
        end
1233
        hum.PlatformStand = false
1234
        normal()
1235
        bg:remove()
1236
        bp:remove()
1237
        end
1238
end
1239
 
1240
function rest()
1241
        local Orig = torso.CFrame
1242
        local CF = ComputePos(Orig.p, Orig * CFrame.new(0, 0, -5).p)
1243
        local p, t = RayCast(CF.p, CF * CFrame.new(0, -6, 0.5).p, 6, 0.5)
1244
        if t then
1245
        attach()
1246
        local bg = Add.BG(torso)
1247
        local bp = Add.BP(torso)
1248
        bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1249
        bp.position = CF.p
1250
        bg.cframe = CF
1251
        local cen = CF * CFrame.new(0, -2.5, 0)
1252
        RestingAnim = true
1253
        hum.PlatformStand = true
1254
        local standup = function()
1255
                Resting = false
1256
                bp.Parent = torso
1257
                cen = ComputePos(torso.CFrame.p, torso.CFrame * CFrame.new(0, 0, -5).p) * CFrame.new(0, 0, -2.5)
1258
                for i = 1, 0, -0.12 do
1259
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
1260
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
1261
                        RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, 0, -0.4)
1262
                        LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, 0, -0.4)
1263
                        neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
1264
                        HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
1265
                        bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
1266
                        bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
1267
                        wait()
1268
                end
1269
                for i = 1, 0, -0.17 do
1270
                        RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
1271
                        LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
1272
                        RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
1273
                        LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, -0.4*i, -0.4*i)
1274
                        neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
1275
                        HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
1276
                        bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
1277
                        bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
1278
                        wait()
1279
                end
1280
                hum.PlatformStand = false
1281
                bg:remove()
1282
                bp:remove()
1283
                normal()
1284
                Able = true
1285
                RestingAnim = false
1286
        end
1287
        local connec = hum.Changed:connect(function()
1288
                if hum.PlatformStand == false then
1289
                        coroutine.resume(coroutine.create(function()
1290
                                standup()
1291
                        end))
1292
                        standup = nil
1293
                        connec:disconnect()
1294
                end
1295
        end)
1296
        local lasthp = hum.Health
1297
        local conn = hum.HealthChanged:connect(function(hp)
1298
                if lasthp - hp > 0.8 then
1299
                        hum.PlatformStand = false
1300
                        conn:disconnect()
1301
                end
1302
                lasthp = hp
1303
        end)
1304
        coroutine.resume(coroutine.create(function()
1305
                repeat wait() until Resting
1306
                while Resting do
1307
                        wait()
1308
                        if torso.Velocity.magnitude > 4 then
1309
                                hum.PlatformStand = false
1310
                                break
1311
                        end
1312
                end
1313
        end))
1314
        for i = 0, 1, 0.1 do
1315
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(50*i), math.rad(-20*i), 0)
1316
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40*i), 0, math.rad(-30*i)) * CFrame.new(0, 0, 0.4*i)
1317
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(15*i)) * CFrame.new(0, 0, -0.4*i)
1318
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(55*i), 0, math.rad(-15*i)) * CFrame.new(0, 0, -0.4*i)
1319
                neck.C0 = necko * CFrame.Angles(math.rad(10*i), 0, 0)
1320
                HW.C0 = HWStand * CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0.2*i)
1321
                bg.cframe = CF * CFrame.Angles(math.rad(-10*i), 0, 0)
1322
                bp.position = cen * CFrame.Angles(math.rad(180+45*i), 0, 0) * CFrame.new(0, -2.5, 0).p
1323
                wait()
1324
        end
1325
        for i = 0, 1, 0.07 do
1326
                RAW.C0 = RAWStand * CFrame.Angles(math.rad(50), math.rad(-20-20*i), math.rad(60*i))
1327
                LAW.C0 = LAWStand * CFrame.Angles(math.rad(-40-70*i), 0, math.rad(-30-10*i)) * CFrame.new(0, -0.6*i, 0.4+0.2*i)
1328
                RLW.C0 = RLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(15)) * CFrame.new(0, -0.4*i, -0.4)
1329
                LLW.C0 = LLWStand * CFrame.Angles(math.rad(55+25*i), 0, math.rad(-15)) * CFrame.new(0, -0.4*i, -0.4)
1330
                neck.C0 = necko * CFrame.Angles(math.rad(10-15*i), 0, 0)
1331
                HW.C0 = HWStand * CFrame.Angles(math.rad(40*i), 0, 0) * CFrame.new(0, 0, 0.2+0.8*i)
1332
                bg.cframe = CF * CFrame.Angles(math.rad(-10+20*i), 0, 0)
1333
                bp.position = cen * CFrame.Angles(math.rad(180+45+45*i), 0, 0) * CFrame.new(0, -2.5, 0.4*i).p
1334
                wait()
1335
        end
1336
        Resting = true
1337
        coroutine.resume(coroutine.create(function()
1338
                wait(0.4)
1339
                bp.Parent = nil
1340
        end))
1341
        coroutine.resume(coroutine.create(function()
1342
                while Resting and selected do
1343
                        wait(math.random(350,800)/1000)
1344
                        hum.Health = hum.Health + math.random(1,2)
1345
                        Prop.Rage = Prop.Rage + 1
1346
                end
1347
                hum.PlatformStand = false
1348
        end))
1349
        end
1350
end
1351
 
1352
function select(mouse)
1353
        mouse.Icon = MouseIc
1354
        selectanim()
1355
        selected = true
1356
        mouse.Button1Down:connect(function()
1357
                if Able and RestingAnim == false and hum.Sit == false then
1358
                        Able = false
1359
                        swing(mouse.Hit.p)
1360
                        Able = true
1361
                end
1362
        end)
1363
        mouse.Button1Down:connect(function()
1364
                mouse.Icon = MouseDo
1365
                mouse.Button1Up:wait()
1366
                mouse.Icon = MouseIc
1367
        end)
1368
        mouse.KeyDown:connect(function(key)
1369
                key = key:lower()
1370
                if Able and RestingAnim == false and hum.Sit == false then
1371
                if key == "q" then
1372
                        Able = false
1373
                        smash(mouse.Hit.p)
1374
                        Able = true
1375
                elseif key == "e" then
1376
                        Able = false
1377
                        swing(mouse.Hit.p)
1378
                        Able = true
1379
                elseif key == "r" then
1380
                        Able = false
1381
                        stab(mouse.Hit.p)
1382
                        Able = true
1383
                elseif key == "f" then
1384
                        Able = false
1385
                        epicsmash(mouse.Hit.p)
1386
                        Able = true
1387
                elseif key == "z" then
1388
                        Able = false
1389
                        shockwave(mouse.Hit.p)
1390
                        Able = true
1391
                elseif key == "x" then
1392
                        Able = false
1393
                        flipsmash(mouse.Hit.p)
1394
                        Able = true
1395
                elseif key == "t" then
1396
                        Able = false
1397
                        spin(mouse.Hit.p)
1398
                        Able = true
1399
                end
1400
                end
1401
                if Able then
1402
                        if key == "g" and AbleG then
1403
                                AbleG = false
1404
                                if Resting == true then
1405
                                        Resting = false
1406
                                else
1407
                                        rest()
1408
                                end
1409
                                wait(0.8)
1410
                                AbleG = true
1411
                        end
1412
                end
1413
        end)
1414
end
1415
 
1416
function deselect(mouse)
1417
        selected = false
1418
        deselanim()
1419
end
1420
 
1421
bin.Selected:connect(select)
1422
bin.Deselected:connect(deselect)
1423
 
1424
 
1425
 
1426
 
1427
end)
1428
end
1429
end