View difference between Paste ID: 784pQbcs and 0C2YyTJj
SHOW: | | - or go back to the newest paste.
1
 if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
143
144
--God Slayer 
145
146
147
148
149
--[[wait(0.1)
150
-------------------------------
151
local p=game:service("Players").LocalPlayer
152
if  p.Name=="Reruderu" then
153
        p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
154
elseif p.Name=="Rerumu" then
155
        p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
156
end]]
157
local p=game:service("Players").LocalPlayer
158
local char=p.Character
159
script.Parent=char 
160
local torso=char.Torso
161
local hed=char.Head
162
local larm=char:FindFirstChild("Left Arm")
163
local rarm=char:FindFirstChild("Right Arm")
164
local lleg=char:FindFirstChild("Left Leg")
165
local rleg=char:FindFirstChild("Right Leg") 
166
local hum=char.Humanoid
167
local cam=workspace.CurrentCamera
168
local root=char.HumanoidRootPart
169
local mouse=p:GetMouse()
170
local hb=game:service("RunService").Heartbeat
171
local rs=game:service("RunService").Stepped
172
hum.MaxHealth=math.huge
173
hum.Health=hum.MaxHealth
174
local pgui=Instance.new("ScreenGui",p.PlayerGui)
175
random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
176
local run = 30
177
local normal = 16
178
local color = "Really black"
179
local color2 = "Really blue"
180
local righteyebrickcolor = "Really blue"
181
local NumCol = 0,0,255
182
local GodSlayer = true
183
local Full = false
184
hum.WalkSpeed = 5
185
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
186
-------------------
187
local drinks="10722059"
188
local m="41707332"
189
local tx="41708701"
190
local ragesong="590156873"
191
local breaks="368270172"
192
local scream="527276541"
193
local Shirt = "rbxassetid://427841675"
194
local Pants = "rbxassetid://428282416"
195
-------------------
196
197
198
function swait(num)
199
if num==0 or num==nil then
200
game:service'RunService'.Stepped:wait(0)
201
else
202
for i=0,num do
203
game:service'RunService'.Stepped:wait(0)
204
end
205
end
206
end
207
208
function chatfunc(text)
209
local chat = coroutine.wrap(function()
210
if char:FindFirstChild("TalkingBillBoard")~= nil then
211
char:FindFirstChild("TalkingBillBoard"):destroy()
212
end
213
local naeeym2 = Instance.new("BillboardGui",char)
214
naeeym2.Size = UDim2.new(0,100,0,40)
215
naeeym2.StudsOffset = Vector3.new(0,3,0)
216
naeeym2.Adornee = char.Head
217
naeeym2.Name = "TalkingBillBoard"
218
local tecks2 = Instance.new("TextLabel",naeeym2)
219
tecks2.BackgroundTransparency = 1
220
tecks2.BorderSizePixel = 0
221
tecks2.Text = ""
222
tecks2.Font = "Fantasy"
223
tecks2.TextSize = 30
224
tecks2.TextStrokeTransparency = 0
225
tecks2.TextColor3 = Color3.new(.6,0,0)
226
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
227
tecks2.Size = UDim2.new(1,0,0.5,0)
228
local tecks3 = Instance.new("TextLabel",naeeym2)
229
tecks3.BackgroundTransparency = 1
230
tecks3.BorderSizePixel = 0
231
tecks3.Text = ""
232
tecks3.Font = "Fantasy"
233
tecks3.TextSize = 30
234
tecks3.TextStrokeTransparency = 0
235
tecks3.TextColor3 = Color3.new(0,0,255)
236
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
237
tecks3.Size = UDim2.new(1,0,0.5,0)
238
for i = 1,string.len(text),1 do
239
tecks2.Text = string.sub(text,1,i)
240
tecks3.Text = string.sub(text,1,i)
241
wait(0.01)
242
end
243
wait(2)
244
for i = 1, 50 do
245
swait()
246
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
247
tecks2.Rotation = tecks2.Rotation - .8
248
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
249
tecks2.TextTransparency = tecks2.TextTransparency + .04
250
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
251
tecks3.Rotation = tecks2.Rotation + .8
252
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
253
tecks3.TextTransparency = tecks2.TextTransparency + .04
254
end
255
naeeym2:Destroy()
256
end)
257
chat()
258
end
259
function onChatted(msg)
260
chatfunc(msg)
261
end
262
p.Chatted:connect(onChatted)
263
coroutine.resume(coroutine.create(function()
264
wait(2)
265
chatfunc("Allow me to show you what happens when I break my limiter..")
266
end))
267
268
269
local s0=Instance.new("Sound",char)
270
s0.SoundId="rbxassetid://"..ragesong
271
s0.Volume=1999
272
s0.Pitch=1
273
s0.Looped=true
274
275
276
local s02=Instance.new("Sound",char)
277
s02.SoundId="rbxassetid://978788235"
278
s02.Volume=1999
279
s02.Pitch=1
280
s02.Looped=false
281
s02:Play()
282
283
function Sound(ID,Parent,Vol,Pitch,Loop)
284
	local S0 = Instance.new("Sound",Parent)
285
	S0.SoundId = ID
286
	S0.Volume = Vol
287
	S0.Looped = Loop
288
	S0.Pitch = Pitch
289
	wait(.1)
290
	S0:Play()
291
end
292
function weld(a, b, acf)
293
	local w = Instance.new("Weld", a)
294
	w.Part0 = a
295
	w.Part1 = b
296
	w.C0 = acf
297
end
298
299
300
wait(9)
301
char.Head.face:Destroy()
302
local reye = Instance.new("Part", char)
303
reye.CanCollide = false
304
reye.BrickColor = BrickColor.new(righteyebrickcolor)
305
reye.Material = "Neon"
306
reye.Size = Vector3.new(.15,.15,.15)
307
weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
308
m1 = Instance.new("SpecialMesh", reye)
309
m1.MeshType = "Sphere"
310
m1.Scale = Vector3.new(0.9,0.9,0.9)
311
reye.Locked = true
312
reye.Name = "re"
313
314
local leye = Instance.new("Part", char)
315
leye.CanCollide = false
316
leye.BrickColor = BrickColor.new(righteyebrickcolor)
317
leye.Material = "Neon"
318
leye.Size = Vector3.new(.15,.15,.15)
319
weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
320
local m = Instance.new("SpecialMesh", leye)
321
m.MeshType = "Sphere"
322
m.Scale = Vector3.new(0.9,0.9,0.9)
323
leye.Locked = true
324
leye.Name = "le"
325
326
coroutine.resume(coroutine.create(function(Part,Weld)
327
while Part.Parent~=nil do
328
wait(2)
329
for i=0,1,0.2 do
330
wait()
331
m.Scale = Vector3.new(.9,.9-.8*i,.5)
332
end
333
for i=0,1,0.2 do
334
wait()
335
m.Scale = Vector3.new(.9,.9+.8*i,.5)
336
end
337
end
338
end),leye,weld)
339
340
coroutine.resume(coroutine.create(function(Part,Weld)
341
while Part.Parent~=nil do
342
wait(2)
343
for z=0,1,0.2 do
344
wait()
345
m1.Scale = Vector3.new(.9,.9-.8*z,.5)
346
end
347
for z=0,1,0.2 do
348
wait()
349
m1.Scale = Vector3.new(.9,.9+.8*z,.5)
350
end
351
end
352
end),reye,weld)
353
354
355
356
function fnt(pos,dist,splr)
357
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
358
        local list = {}
359
        for i,v in pairs(workspace:GetChildren())do
360
            if v:IsA("Model")then
361
                if v:findFirstChild("Torso")then
362
                    if v ~= char then
363
                        if(v.Torso.Position -pos).magnitude <= dist then
364
                            table.insert(list,v)
365
                        end
366
                    end
367
                end
368
            end
369
        end
370
    return list
371
end
372
function fnp(pos,dist,splr)
373
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
374
        local list = {}
375
        for i,v in pairs(workspace:GetChildren())do
376
            if v:IsA("Part")then
377
                    if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
378
                        if(v.Position -pos).magnitude <= dist then
379
                            table.insert(list,v)
380
                        end
381
                end
382
            end
383
        end
384
    return list
385
end
386
fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
387
local wld = Instance.new("Weld", wp1)
388
wld.Part0 = wp0
389
wld.Part1 = wp1
390
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
391
end
392
local trans=false
393
------------------------------------
394
------------------------------------
395
anim="idle"
396
local sine=0
397
local add=0
398
local value=0
399
local ffing=false
400
local msgs=0
401
attack=false
402
NoAnims=false
403
----preparing character----
404
405
406
407
408
409
410
function NoOutline(Part)
411
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
412
end 
413
function lerp(a, b, t) -- Linear interpolation
414
        return a + (b - a)*t
415
end
416
417
function slerp(a, b, t) --Spherical interpolation
418
        dot = a:Dot(b)
419
        if dot > 0.99999 or dot < -0.99999 then
420
                return t <= 0.5 and a or b
421
        else
422
                r = math.acos(dot)
423
                return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
424
        end
425
end
426
427
function matrixInterpolate(a, b, t)
428
        local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
429
        local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
430
        local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
431
        local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
432
        local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
433
        local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
434
        local t = v1:Dot(v2)
435
        if not (t < 0 or t == 0 or t > 0) then         -- Failsafe
436
                return CFrame.new()
437
        end
438
        return CFrame.new(
439
        v0.x, v0.y, v0.z,
440
        v1.x, v1.y, v1.z,
441
        v2.x, v2.y, v2.z,
442
        v3.x, v3.y, v3.z)
443
end
444
----------------------------------------------------
445
function genWeld(a,b)
446
    local w = Instance.new("Weld",a)
447
    w.Part0 = a
448
    w.Part1 = b
449
    return w
450
end
451
function weld(a, b)
452
    local weld = Instance.new("Weld")
453
    weld.Name = "W"
454
    weld.Part0 = a
455
    weld.Part1 = b
456
    weld.C0 = a.CFrame:inverse() * b.CFrame
457
    weld.Parent = a
458
    return weld;
459
end
460
----------------------------------------------------
461
function Lerp(c1,c2,al)
462
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
463
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
464
for i,v in pairs(com1) do
465
com1[i] = v+(com2[i]-v)*al
466
end
467
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
468
end
469
----------------------------------------------------
470
471
472
473
fw(torso, larm, -1.5, 0.5, 0)
474
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
475
fw(torso, rarm, 1.5, 0.5, 0)
476
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
477
fw(torso, hed, 0, 1.5, 0)
478
fw(torso, lleg, -0.5, -1, 0)
479
lleg.Weld.C1 = CFrame.new(0, 1, 0)
480
fw(torso, rleg, 0.5, -1, 0)
481
rleg.Weld.C1 = CFrame.new(0, 1, 0)
482
fw(root, torso, 0, -1, 0)
483
torso.Weld.C1 = CFrame.new(0, -1, 0)
484
--------------rot------------
485
local r=0
486
local radd=0.04
487
coroutine.wrap(function()
488
while rs:wait() do
489
r=r+radd
490
end
491
end)()
492
attack = false
493
-----------------------------
494
495
-----------------------------
496
497
498
                if trans == false then
499
                        attack=true
500
                        NoAnims=true
501
                        hum.WalkSpeed=0
502
                        
503
                        local fx = Instance.new("Sound",char)
504
                        fx.SoundId="rbxassetid://"..drinks
505
                        fx.Volume=0
506
                        fx.Pitch=1
507
                        fx:Play()
508
                        
509
                       
510
                        
511
                        
512
                        fx.SoundId="rbxassetid://"..breaks
513
                        fx.Volume=10
514
                        fx:Play()
515
                        
516
                       
517
                       
518
                        
519
                        print("drinked")
520
                        
521
                      
522
                        
523
                        coroutine.wrap(function()
524
                                while trans == false do
525
                                        wait(0.2)
526
                                        local ef = Instance.new("Part",char)
527
                                        ef.Name="pulse"
528
                                        ef.BrickColor=BrickColor.new(color2)
529
                                        ef.Material="Neon"
530
                                        ef.Shape="Ball"
531
                                        ef.CanCollide=false
532
                                        ef.Anchored=true
533
                                        ef.Size=Vector3.new(1,1,1)
534
                                        ef.CFrame=root.CFrame
535
                                        
536
                                        local ef2 = ef:Clone()
537
                                        ef2.Parent=ef
538
                                        ef2.BrickColor=BrickColor.new(color)
539
                                        ef2.Name="call"
540
                                        ef2.Size=Vector3.new(1,1,1)
541
                                        local em=Instance.new("SpecialMesh",ef2)
542
                                        em.MeshId="rbxassetid://3270017"
543
                                        em.Scale=Vector3.new(1,1,0.0001)
544
                                        
545
                                        local ef3 = ef2:Clone()
546
                                        ef3.Parent=ef
547
                                        ef3.Name="aura"
548
                                        ef3.CFrame=root.CFrame
549
                                        local em2=ef3.Mesh
550
                                        em2.MeshId="rbxassetid://20329976"
551
                                        em2.Scale=Vector3.new(1,0.4,1)
552
                                        
553
                                        local ef4 = ef3:Clone()
554
                                        ef4.Parent=ef
555
                                        local em3=ef4.Mesh
556
                                        
557
                                        local ef5 = ef2:Clone()
558
                                        ef5.Parent=ef
559
                                        local em4=ef5.Mesh
560
                                        
561
                                        coroutine.wrap(function()
562
                                                for i = 1, 60 do
563
                                                        rs:wait()
564
                                                        ef.Size=ef.Size+Vector3.new(1,1,1)
565
                                                        ef.Transparency=ef.Transparency+1/60
566
                                                        ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
567
                                                        ef2.Transparency=ef2.Transparency+1/60
568
                                                        em.Scale=em.Scale+Vector3.new(1,1,0)
569
                                                        ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
570
                                                        ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
571
                                                        ef3.Transparency=ef3.Transparency+1/60
572
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
573
                                                        em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
574
                                                        ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
575
                                                        ef4.Transparency=ef4.Transparency+1/60
576
                                                        ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
577
                                                        em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
578
                                                        ef5.Transparency=ef5.Transparency+1/60
579
                                                        em4.Scale=em4.Scale+Vector3.new(1,1,0)
580
                                                        ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
581
                                                end
582
                                                ef:Destroy()
583
                                                ef2:Destroy()
584
                                                ef3:Destroy()
585
                                                ef4:Destroy()
586
                                                ef5:Destroy()
587
                                        end)()
588
                                end
589
                                        local ef = Instance.new("Part",char)
590
                                        ef.Name="pulse"
591
                                        ef.BrickColor=BrickColor.new(color2)
592
                                        ef.Material="Neon"
593
                                        ef.Shape="Ball"
594
                                        ef.CanCollide=false
595
                                        ef.Anchored=true
596
                                        ef.Size=Vector3.new(1,1,1)
597
                                        ef.CFrame=root.CFrame
598
                                        local em=Instance.new("SpecialMesh",ef)
599
                                        em.MeshId="rbxassetid://9982590"
600
                                        em.Scale=Vector3.new(1,0.3,1)
601
                                        
602
                                        local ef2 = ef:Clone()
603
                                        ef2.Parent=ef
604
                                        ef2.Name="aura"
605
                                        ef2.CFrame=root.CFrame
606
                                        ef2.Mesh:Destroy()
607
                                        
608
                                        local ef3 = ef:Clone()
609
                                        ef3.Parent=ef
610
                                        ef3.Name="aura"
611
                                        ef3.CFrame=root.CFrame
612
                                        ef3.Mesh:Destroy()
613
                                        local em2=Instance.new("SpecialMesh",ef3)
614
                                        em2.MeshId="rbxassetid://20329976"
615
                                        em2.Scale=Vector3.new(1,0.3,1)
616
                                        
617
                                        coroutine.wrap(function()
618
                                                for i = 1, 250 do
619
                                                        ef.Size=ef.Size+Vector3.new(2,2,2)
620
                                                        ef.Transparency=ef.Transparency+1/160
621
                                                        em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
622
                                                        ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
623
                                                        ef3.Transparency=ef3.Transparency+1/160
624
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
625
                                                        em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
626
                                                        ef2.Size=ef2.Size+Vector3.new(2,2,2)
627
                                                        ef2.Transparency=ef2.Transparency+1/160
628
                                                        rs:wait()
629
                                                end
630
                                                ef:Destroy()
631
                                                ef2:Destroy()
632
                                                ef3:Destroy()
633
                                                s02:Destroy()
634
635
                                        end)()
636
                        end)()
637
                        
638
                        for i = 1, 270 do
639
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
640
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
641
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
642
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
643
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
644
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
645
                                rs:wait()
646
                        end
647
                        wait(8.7)
648
                        s0:Play()
649
                        trans=true
650
                        print("screamed")
651
						for i,v in pairs(char:GetChildren()) do
652
							if v:FindFirstChild("Handle") then
653
								v.Handle.Transparency=1
654
							end
655
						end
656
                        hum.WalkSpeed=normal
657
                        NoAnims=false
658
                        attack=false
659
                end
660
     
661
662
------effects------
663
664
ypcall(function()
665
shirt = Instance.new("Shirt", char)
666
shirt.Name = "Shirt"
667
pants = Instance.new("Pants", char)
668
pants.Name = "Pants"
669
char.Shirt.ShirtTemplate = Shirt
670
char.Pants.PantsTemplate = Pants
671
end)
672
673
char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
674
char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
675
char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
676
char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
677
678
679
 
680
hum = char.Humanoid
681
 
682
function CreateMesh(parent, id, x, y, z, texture)
683
local m=Instance.new("SpecialMesh", parent)
684
m.MeshType = "FileMesh"
685
m.MeshId=id
686
if texture ~= nil then
687
m.TextureId=texture
688
end
689
m.Scale = Vector3.new(x,y,z)
690
end
691
 
692
 local euler = CFrame.fromEulerAnglesXYZ
693
 
694
Hat=function()
695
hat = Instance.new("Part", char)
696
CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
697
hat.Name = "PurpleHair"
698
hat.Locked = true
699
hat.BrickColor = BrickColor.new("Dark indigo")
700
hat.CanCollide=true
701
hat.Size=Vector3.new(1,1,1)
702
hatw = Instance.new("Weld",hat)
703
hatw.Part0=hat
704
hatw.Part1=char['Head']
705
hatw.C0=CFrame.new(-0.1,-0.4,0)
706
hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
707
end
708
 
709
710
Hat2=function()
711
hat2 = Instance.new("Part", char)
712
CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
713
hat2.Name = "DisguiseScarf"
714
hat2.Locked = true
715
hat2.BrickColor = BrickColor.new("Dark indigo")
716
hat2.CanCollide=true
717
hat2.Size=Vector3.new(1,1,1)
718
hat2w = Instance.new("Weld",hat2)
719
hat2w.Part0=hat2
720
hat2w.Part1=char['Head']
721
hat2w.C0=CFrame.new(0,0.5,0)
722
hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
723
end
724
725
Hat()
726
Hat2()
727
728
hum.MaxHealth=math.huge
729
hum.Health=hum.MaxHealth
730
731
732
Debounces = {
733
CanAttack = true;
734
NoIdl = false;
735
Slashing = false;
736
Slashed = false;
737
RPunch = false;
738
RPunched = false;
739
LPunch = false;
740
LPunched = false;
741
}
742
local Touche = {char.Name, }
743
744
745
746
747
748
CV="Really blue"
749
	
750
local txt = Instance.new("BillboardGui", char)
751
txt.Adornee = char .Head
752
txt.Name = "_status"
753
txt.Size = UDim2.new(2, 0, 1.2, 0)
754
txt.StudsOffset = Vector3.new(-9, 11, 0)
755
local text = Instance.new("TextLabel", txt)
756
text.Size = UDim2.new(10, 0, 7, 0)
757
text.FontSize = "Size24"
758
text.TextScaled = true
759
text.TextTransparency = 0
760
text.BackgroundTransparency = 1 
761
text.TextTransparency = 0
762
text.TextStrokeTransparency = 0
763
text.Font = "Antique"
764
text.TextStrokeColor3 = Color3.new(0,0,255)
765
766
v=Instance.new("Part")
767
v.Name = "ColorBrick"
768
v.Parent=p.Character
769
v.FormFactor="Symmetric"
770
v.Anchored=true
771
v.CanCollide=false
772
v.BottomSurface="Smooth"
773
v.TopSurface="Smooth"
774
v.Size=Vector3.new(10,5,3)
775
v.Transparency=1
776
v.CFrame=char.Torso.CFrame
777
v.BrickColor=BrickColor.new(CV)
778
v.Transparency=1
779
text.TextColor3 = Color3.new(0,0,0)
780
v.Shape="Block"
781
text.Text = "God Slayer"
782
783
784
785
786
787
788
789
rarm.Touched:connect(function(ht)
790
    hit = ht.Parent
791
    if ht and hit:IsA("Model") then
792
            if hit:FindFirstChild("Humanoid") then
793
                if hit.Name ~= p.Name then
794
                    if Debounces.RPunch == true and Debounces.RPunched == false then
795
                            Debounces.RPunched = true
796
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
797
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
798
                                    if Debounces.ks==true then
799
                                    z = Instance.new("Sound",hed)
800
                                    z.SoundId = "rbxassetid://588693156"
801
									z.Pitch = ptz[math.random(1,#ptz)]
802
                                    z.Volume = 20
803
                                    z:Play()
804
                                    end
805
                            wait(.2)
806
                            Debounces.RPunched = false
807
                    end
808
                end
809
            end
810
    elseif ht and hit:IsA("Hat") then
811
        if hit.Parent.Name ~= p.Name then
812
            if hit.Parent:FindFirstChild("Humanoid") then
813
                   if Debounces.RPunch == true and Debounces.RPunched == false then
814
                            Debounces.RPunched = true
815
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
816
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
817
                                    if Debounces.ks==true then
818
                                    z = Instance.new("Sound",hed)
819
                                    z.SoundId = "rbxassetid://588693156"
820
									z.Pitch = ptz[math.random(1,#ptz)]
821
                                    z.Volume = 20
822
                                    z:Play()
823
                                    end
824
                            wait(.2)
825
                Debounces.RPunched = false
826
				end
827
            end
828
        end
829
    end
830
end)
831
larm.Touched:connect(function(ht)
832
    hit = ht.Parent
833
    if ht and hit:IsA("Model") then
834
            if hit:FindFirstChild("Humanoid") then
835
                if hit.Name ~= p.Name then
836
                    if Debounces.LPunch == true and Debounces.LPunched == false then
837
                            Debounces.LPunched = true
838
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
839
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
840
                                    if Debounces.ks2==true then
841
                                    z = Instance.new("Sound",hed)
842
                                    z.SoundId = "rbxassetid://588693156"
843
									z.Pitch = ptz[math.random(1,#ptz)]
844
                                    z.Volume = 20
845
                                    z:Play()
846
                                    end
847
                            wait(.2)
848
                            Debounces.LPunched = false
849
                    end
850
                end
851
            end
852
    elseif ht and hit:IsA("Hat") then
853
        if hit.Parent.Name ~= p.Name then
854
            if hit.Parent:FindFirstChild("Humanoid") then
855
                   if Debounces.LPunch == true and Debounces.LPunched == false then
856
                            Debounces.LPunched = true
857
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
858
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
859
                                    if Debounces.ks2==true then
860
                                    z = Instance.new("Sound",hed)
861
                                    z.SoundId = "rbxassetid://588693156"
862
									z.Pitch = ptz[math.random(1,#ptz)]
863
                                    z.Volume = 20
864
                                    z:Play()
865
                                    end
866
                            wait(.2)
867
                Debounces.LPunched = false
868
				end
869
            end
870
        end
871
    end
872
end)
873
874
875
876
877
878
879
880
881
local attacktype = 1
882
local attack = false
883
884
885
886
function attackone()
887
	Debounces.RPunch = true
888
Debounces.LPunch = true
889
	attack = true
890
	NoAnims = true
891
	for i = 1, 3 do
892
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
893
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
894
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
895
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
896
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
897
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
898
if Debounces.on == false then break end
899
wait()
900
end
901
	attack = false
902
	NoAnims = false
903
	Debounces.RPunch = false
904
Debounces.LPunch = false
905
end
906
907
function attacktwo()
908
	Debounces.RPunch = true
909
Debounces.LPunch = true
910
	NoAnims = true
911
	attack = true
912
	for i = 1, 3 do
913
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
914
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
915
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
916
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
917
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
918
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
919
if Debounces.on == false then break end
920
wait()
921
end
922
	attack = false
923
	NoAnims = false
924
	Debounces.RPunch = false
925
Debounces.LPunch = false
926
927
end
928
929
930
function attackthree()
931
	Debounces.RPunch = true
932
Debounces.LPunch = true
933
	NoAnims = true
934
	attack = true
935
	for i = 1, 3 do
936
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
937
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
938
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
939
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
940
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
941
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
942
if Debounces.on == false then break end
943
wait()
944
end
945
	attack = false
946
	NoAnims = false
947
	Debounces.RPunch = false
948
Debounces.LPunch = false
949
end
950
951
952
function attackfour()
953
	Debounces.RPunch = true
954
Debounces.LPunch = true
955
	NoAnims = true
956
	attack = true
957
	for i = 1, 3 do
958
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
959
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
960
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
961
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
962
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
963
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
964
if Debounces.on == false then break end
965
wait()
966
end
967
	attack = false
968
	NoAnims = false
969
	Debounces.RPunch = false
970
Debounces.LPunch = false
971
end
972
973
974
mouse.Button1Down:connect(function()
975
  if attack == false and attacktype == 1 then
976
    attacktype = 2
977
    attackone()
978
  elseif attack == false and attacktype == 2 then
979
    attacktype = 3
980
    attacktwo()
981
  elseif attack == false and attacktype == 3 then
982
    attacktype = 4
983
    attackthree()
984
  elseif attack == false and attacktype == 4 then
985
    attacktype = 1
986
    attackfour()
987
  end
988
end)
989
990
991
--[[function Transformation()
992
	hum.WalkSpeed = 0
993
	local Portal = Instance.new("Model",char)
994
local prt1 = Instance.new("Model",Portal)
995
local prt2 = Instance.new("Model",Portal)
996
local prt3 = Instance.new("Model",Portal)
997
for i = 1,7 do
998
local p = Instance.new("Part",prt1)
999
p.Locked = true
1000
p.Anchored = true
1001
p.Transparency = 1
1002
p.CanCollide = false
1003
p.BrickColor = BrickColor.new("Really red")
1004
p.TopSurface = 0
1005
p.Material = "Neon"
1006
p.BottomSurface = 0
1007
p.Size = Vector3.new(1,1,1)
1008
local m = Instance.new("SpecialMesh",p)
1009
m.Name = 'm'
1010
m.Scale = Vector3.new(1,1,1)
1011
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1012
end for i = 1,7 do
1013
local p = Instance.new("Part",prt2)
1014
p.Locked = true
1015
p.Anchored = true
1016
p.CanCollide = false
1017
p.Transparency = 1
1018
p.BrickColor = BrickColor.new("Really black")
1019
p.TopSurface = 0
1020
p.Material = "Neon"
1021
p.BottomSurface = 0
1022
p.Size = Vector3.new(1,1,1)
1023
local m = Instance.new("SpecialMesh",p)
1024
m.Name = 'm'
1025
m.Scale = Vector3.new(1,1,1)
1026
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1027
end for i = 1,7 do
1028
local p = Instance.new("Part",prt3)
1029
p.Locked = true
1030
p.Anchored = true
1031
p.CanCollide = false
1032
p.Transparency = 1
1033
p.BrickColor = BrickColor.new("Really red")
1034
p.TopSurface = 0
1035
p.Material = "Neon"
1036
p.BottomSurface = 0
1037
p.Size = Vector3.new(1,1,1)
1038
local m = Instance.new("SpecialMesh",p)
1039
m.Name = 'm'
1040
m.Scale = Vector3.new(1,1,1)
1041
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1042
end
1043
local Rot,Rate,Dist,Size = 0,65,65,1
1044
coroutine.wrap(function()
1045
while wait()do
1046
if _DEBOUNCE then break end
1047
for i,v in pairs(prt1:GetChildren())do
1048
v.Transparency = v.Transparency -0.035
1049
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
1050
v.m.Scale = Vector3.new(Size,Size,Size)
1051
end for i,v in pairs(prt2:GetChildren())do
1052
v.Transparency = v.Transparency -0.035
1053
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
1054
v.m.Scale = Vector3.new(Size,Size,Size)
1055
end for i,v in pairs(prt3:GetChildren())do
1056
v.Transparency = v.Transparency -0.035
1057
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
1058
v.m.Scale = Vector3.new(Size,Size,Size)
1059
end
1060
Rot = Rot >= 360 and 0 or Rot +Rate
1061
end end)()
1062
wait(0.75)
1063
for i = 1,90 do
1064
Rate = Rate -(2.3/3)
1065
Dist = Dist -(1.5/3)
1066
wait()
1067
end
1068
wait(1)
1069
for i = 1,30 do
1070
Rate = Rate -(2.3/3)
1071
Dist = Dist +0.5
1072
wait()
1073
end
1074
wait(2)
1075
for i = 1,30 do
1076
Rate = Rate +(9.2/3)
1077
Dist = Dist -1.75
1078
wait()
1079
end
1080
wait(0.75)
1081
for i = 1,6 do
1082
Rate = Rate -4
1083
Dist = Dist +0.5
1084
wait()
1085
end
1086
Rate = 0
1087
Dist = 6
1088
wait(2)
1089
for i = 1,90 do
1090
Rate = Rate +0.5
1091
Dist = Dist +0.2
1092
wait()
1093
end
1094
wait(1)
1095
for i = 1,30 do
1096
Dist = Dist -(24/30)
1097
Size = Size +0.05
1098
wait()
1099
end
1100
-- Scream in pain
1101
1102
1103
coroutine.resume(coroutine.create(function()
1104
	wait(2)
1105
		game.Lighting.TimeOfDay = "00:00:00"
1106
		
1107
		hat.Transparency = 1
1108
		Hat3=function()
1109
hat3 = Instance.new("Part", char)
1110
CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
1111
hat3.Name = "RedHair"
1112
hat3.Locked = true
1113
hat3.BrickColor = BrickColor.new("Maroon")
1114
hat3.CanCollide=true
1115
hat3.Size=Vector3.new(1,1,1)
1116
hat3w = Instance.new("Weld",hat3)
1117
hat3w.Part0=hat3
1118
hat3w.Part1=char['Head']
1119
hat3w.C0=CFrame.new(-0.1,-0.4,0)
1120
hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
1121
end
1122
 
1123
		
1124
	
1125
	ypcall(function()
1126
shirt = Instance.new("Shirt", char)
1127
shirt.Name = "Shirt"
1128
pants = Instance.new("Pants", char)
1129
pants.Name = "Pants"
1130
char.Shirt.ShirtTemplate = "rbxassetid://519769931"
1131
char.Pants.PantsTemplate = "rbxassetid://519770250"
1132
	end)
1133
		
1134
ragesong2 = "492913801"
1135
s02=Instance.new("Sound",char)
1136
s02.SoundId="rbxassetid://"..ragesong2
1137
s02.Volume=1999
1138
s02.Pitch=1
1139
s02.Looped=true
1140
righteyebrickcolor = "Really red"
1141
s0:Stop()
1142
wait(0.01)
1143
s02:Play()
1144
reye.BrickColor = BrickColor.new(righteyebrickcolor)
1145
leye.BrickColor = BrickColor.new(righteyebrickcolor)
1146
text.TextStrokeColor3 = Color3.new(255,0,0)
1147
hat.BrickColor = BrickColor.new("Maroon")
1148
Hat3()
1149
end))
1150
1151
1152
tran = 0
1153
for i,v in pairs(char:GetChildren()) do 
1154
if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
1155
Glow1 = Color3.new(.6,0,.1)
1156
Glow2 = Color3.new(0,0,0)
1157
1158
GlowParticle = Instance.new("ParticleEmitter",v)
1159
GlowParticle.LightEmission = 1
1160
GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
1161
GlowParticle.Size = NumberSequence.new(0,2)
1162
1163
GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
1164
GlowParticle.Transparency = NumberSequence.new(tran,1)
1165
GlowParticle.LockedToPart = true
1166
GlowParticle.Lifetime = NumberRange.new(0.5)
1167
GlowParticle.Rate= 300
1168
GlowParticle.Speed =NumberRange.new(0)
1169
end end 
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
coroutine.wrap(function()
1184
for i = 1,3 do
1185
wait()
1186
end end)()
1187
wait(1.65)
1188
_DEBOUNCE = true
1189
wait()
1190
Portal:Destroy()
1191
coroutine.wrap(function()
1192
local Pos = char.Torso.Position
1193
local BOOSH = Instance.new("Sound",Workspace)
1194
BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
1195
BOOSH.Volume = 1
1196
BOOSH.Pitch = 0.675
1197
local Fuse = Instance.new("Sound",Workspace)
1198
Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
1199
Fuse.Volume = 1
1200
Fuse.Pitch = 0.25
1201
local BOOSH2 = Instance.new("Sound",Workspace)
1202
BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
1203
BOOSH2.Volume = 1
1204
BOOSH2.Pitch = 0.25
1205
local dsound = true
1206
local PewPew = Instance.new("Sound",Workspace)
1207
PewPew.Name = "PewPew"
1208
PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
1209
PewPew.Volume = 1
1210
PewPew.Pitch = 0.32
1211
local function GetHumanoids()
1212
local Characters = {}
1213
for i,v in pairs(Workspace:GetChildren())do
1214
if v:IsA("Model")then
1215
local Hu = v:findFirstChild("Humanoid")
1216
local Torso = v:findFirstChild("Torso")
1217
if Hu and Torso and v.Name ~= p.Name then
1218
table.insert(Characters,Torso)
1219
end end end
1220
return Characters
1221
end
1222
local function Boom()
1223
for i = 1,25 do
1224
for _,v in pairs(GetHumanoids())do
1225
if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
1226
local h = v.Parent:findFirstChild("Humanoid")
1227
if h then
1228
local Moar =(Pos - v.Position).unit
1229
1230
1231
end end end
1232
local p = Instance.new("Part",char)
1233
p.Name = "BlastRing"
1234
p.TopSurface = 0
1235
p.BottomSurface = 0
1236
p.CanCollide = false
1237
p.Anchored = true
1238
p.BrickColor = BrickColor.new("Really red")
1239
p.Size = Vector3.new(1,1,1)
1240
p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
1241
local rm = Instance.new("SpecialMesh",p)
1242
rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1243
rm.Name = "BlastMesh"
1244
rm.Scale = Vector3.new(1,1,1)
1245
coroutine.wrap(function()
1246
for n = 1,15 do
1247
rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
1248
if 2 +i/5 == 1.2 then
1249
rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
1250
end
1251
p.Transparency = n/15
1252
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
1253
wait()
1254
end
1255
p:Destroy()
1256
end)()
1257
local p = Instance.new("Part",char)
1258
p.TopSurface = 0
1259
p.BottomSurface = 0
1260
p.formFactor = "Symmetric"
1261
p.Size = Vector3.new(1,1,1)
1262
p.Anchored = true
1263
p.CanCollide = false
1264
p.BrickColor = BrickColor.new("Really red")
1265
p.CFrame = CFrame.new(Pos)
1266
local m = Instance.new("BlockMesh",p)
1267
coroutine.wrap(function()
1268
for x = 1,48 do
1269
m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
1270
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
1271
p.Transparency = x/48
1272
Wait()
1273
end
1274
p:Destroy()
1275
end)()
1276
Game:GetService("Debris"):AddItem(p,5)
1277
local p = Instance.new("Part",char)
1278
p.Name = "BlastRing"
1279
p.TopSurface = 0
1280
p.BottomSurface = 0
1281
p.CanCollide = false
1282
p.Anchored = true
1283
p.BrickColor = BrickColor.new("Really black")
1284
p.Size = Vector3.new(1,1,1)
1285
p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1286
local m = Instance.new("SpecialMesh",p)
1287
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1288
m.Scale = Vector3.new(1,0.25,1)
1289
coroutine.wrap(function()
1290
for n = 1,13 do
1291
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1292
if 1 +i/5 == 1.2 then
1293
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1294
end
1295
p.Transparency = n/13
1296
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1297
Wait()
1298
end
1299
p:Destroy()
1300
end)()
1301
Wait(0.1)
1302
end for i = 10,19 do
1303
local p = Instance.new("Part",char)
1304
p.Name = "BlastRing"
1305
p.TopSurface = 0
1306
p.BottomSurface = 0
1307
p.CanCollide = false
1308
p.Anchored = true
1309
p.BrickColor = BrickColor.new("Really red")
1310
p.Size = Vector3.new(1,1,1)
1311
p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1312
local m = Instance.new("SpecialMesh",p)
1313
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1314
m.Scale = Vector3.new(1,0.25,1)
1315
coroutine.wrap(function()
1316
for n = 1,13 do
1317
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1318
if 1 +i/5 == 1.2 then
1319
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1320
end
1321
p.Transparency = n/13
1322
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1323
Wait()
1324
end
1325
p:Destroy()
1326
end)()
1327
local p = Instance.new("Part",char)
1328
p.Name = "BlastRing"
1329
p.TopSurface = 0
1330
p.BottomSurface = 0
1331
p.CanCollide = false
1332
p.Anchored = true
1333
p.BrickColor = BrickColor.new("Really black")
1334
p.Size = Vector3.new(1,1,1)
1335
p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
1336
p.Parent = workspace
1337
local m = Instance.new("SpecialMesh",p)
1338
m.Name = "BlastMesh"
1339
m.Scale = Vector3.new(0.1,0.1,0.1)
1340
m.MeshId = "http://www.roblox.com/asset/?id=3270017"
1341
coroutine.wrap(function()
1342
for n = 1,15 do
1343
m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
1344
if 3+i/5 == 1.2 then
1345
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1346
end
1347
p.Transparency = n/15
1348
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
1349
Wait()
1350
end
1351
p:Destroy()
1352
end)()
1353
for _,v in pairs(GetHumanoids())do
1354
if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
1355
local h = v.Parent:findFirstChild("Humanoid")
1356
if h then
1357
local Moar =(Pos - v.Position).unit
1358
1359
1360
end end end
1361
Wait(0.1)
1362
end for i = 30,37 do
1363
for _,v in pairs(GetHumanoids())do
1364
if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
1365
local h = v.Parent:findFirstChild("Humanoid")
1366
if h then
1367
local Moar =(Pos - v.Position).unit
1368
1369
1370
end end end end
1371
dsound = false
1372
wait(6.5)
1373
for i = 1,30 do
1374
BOOSH.Volume = BOOSH.Volume -0.033
1375
BOOSH2.Volume = BOOSH.Volume
1376
Fuse.Volume = BOOSH.Volume
1377
Wait()
1378
end
1379
BOOSH:Stop()
1380
BOOSH2:Stop()
1381
Fuse:Stop()
1382
end
1383
BOOSH2:Play()
1384
Fuse:Play()
1385
BOOSH:Play()
1386
Boom()
1387
end)()
1388
hum.WalkSpeed = 5
1389
end]]
1390
1391
1392
GroundWave = function()
1393
	local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1394
	local Colors = {"Really blue", "Really blue"}
1395
		local wave = Instance.new("Part", torso)
1396
		wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1397
		wave.Anchored = true
1398
		wave.CanCollide = false
1399
		wave.Locked = true
1400
		wave.Size = Vector3.new(1, 1, 1)
1401
		wave.TopSurface = "Smooth"
1402
		wave.BottomSurface = "Smooth"
1403
		wave.Transparency = 0.35
1404
		wave.CFrame = HandCF
1405
		wm = Instance.new("SpecialMesh", wave)
1406
		wm.MeshId = "rbxassetid://3270017"
1407
		coroutine.wrap(function()
1408
		for i = 1, 14, 1 do
1409
		wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
1410
		wave.Size = wm.Scale
1411
		wave.CFrame = HandCF
1412
		wave.Transparency = i/14
1413
		wait()
1414
		end
1415
		wait()
1416
		wave:Destroy()
1417
	end)()
1418
end
1419
1420
1421
1422
function BurningEff(part)
1423
local eff1 = Instance.new("ParticleEmitter",part)
1424
eff1.Size = NumberSequence.new(.1)
1425
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1426
eff1.LightEmission = 1
1427
eff1.Lifetime = NumberRange.new(1)
1428
eff1.Speed = NumberRange.new(0)
1429
eff1.Rate = 100
1430
eff1.Texture = "rbxassetid://284205403"
1431
eff1.Acceleration = Vector3.new(0,10,0)
1432
eff1.Color = ColorSequence.new(Color3.new(0,0,255))
1433
local eff2 = Instance.new("ParticleEmitter",part)
1434
eff2.Size = NumberSequence.new(.1)
1435
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1436
eff2.LightEmission = 1
1437
eff2.Lifetime = NumberRange.new(0.2)
1438
eff2.Speed = NumberRange.new(0)
1439
eff2.Rate = 100
1440
eff2.Texture = "rbxassetid://347504259"
1441
eff2.Acceleration = Vector3.new(0,10,0)
1442
eff2.Color = ColorSequence.new(Color3.new(0,0,255))
1443
local eff3 = Instance.new("ParticleEmitter",part)
1444
eff3.Size = NumberSequence.new(0.2)
1445
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
1446
eff3.LightEmission = 1
1447
eff3.Lifetime = NumberRange.new(1)
1448
eff3.Speed = NumberRange.new(0)
1449
eff3.Rate = 100
1450
eff3.Texture = "rbxassetid://284205403"
1451
eff3.Acceleration = Vector3.new(0,10,0)
1452
eff3.Color = ColorSequence.new(Color3.new(0,0,255))
1453
end
1454
1455
1456
function FullPower()
1457
	NoAnims = true
1458
	attack = true
1459
	
1460
	
1461
	
1462
	Full = true
1463
	
1464
	
1465
	for i = 1, 40 do
1466
		wait()
1467
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
1468
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
1469
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
1470
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
1471
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
1472
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
1473
	end
1474
	
1475
	
1476
	
1477
	
1478
	
1479
	
1480
	
1481
	
1482
	
1483
	for i = 1, 20 do
1484
	wait()
1485
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
1486
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
1487
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
1488
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
1489
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
1490
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
1491
			end
1492
	
1493
	s0:Destroy()
1494
	ragesong = "397952612"
1495
	wait(0.001)
1496
	s02 = Instance.new("Sound",char)
1497
	s02.Volume = 90
1498
	s02.SoundId = "rbxassetid://"..ragesong
1499
	s02.Looped = true
1500
	s02.Pitch = 1
1501
	wait(0.001)
1502
	s02:Play()
1503
	
1504
	
1505
local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
1506
selectionBoxOfTorso.Adornee = torso
1507
selectionBoxOfTorso.Color = BrickColor.new("Really blue")
1508
selectionBoxOfTorso.LineThickness = 0.01
1509
selectionBoxOfTorso.Transparency = 0
1510
	
1511
local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
1512
selectionBoxOfRightArm.Adornee = char["Right Arm"]
1513
selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
1514
selectionBoxOfRightArm.LineThickness = 0.01
1515
selectionBoxOfRightArm.Transparency = 0
1516
	
1517
local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
1518
selectionBoxOfRightLeg.Adornee = char["Right Leg"]
1519
selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
1520
selectionBoxOfRightLeg.LineThickness = 0.01
1521
selectionBoxOfRightLeg.Transparency = 0
1522
1523
local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
1524
selectionBoxOfLeftArm.Adornee = char["Left Arm"]
1525
selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
1526
selectionBoxOfLeftArm.LineThickness = 0.01
1527
selectionBoxOfLeftArm.Transparency = 0
1528
1529
local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
1530
selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
1531
selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
1532
selectionBoxOfLeftLeg.LineThickness = 0.01
1533
selectionBoxOfLeftLeg.Transparency = 0
1534
1535
BurningEff(reye)
1536
1537
LightOnBody = Instance.new("PointLight", hed)
1538
LightOnBody.Brightness = 3000
1539
LightOnBody.Range = 20
1540
LightOnBody.Color = Color3.new(0, 0, 255)
1541
1542
r = game:GetService("RunService").RenderStepped
1543
Activated = true
1544
custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
1545
	Debri = coroutine.wrap(function()
1546
	repeat	
1547
    local p = Instance.new('Part',torso)
1548
    p.formFactor = 'Custom'
1549
    p.Size = Vector3.new(1,1,1)
1550
    p.BrickColor = workspace.Base.BrickColor
1551
    p.CanCollide = false
1552
    p.Transparency = 0
1553
    p.Anchored = true
1554
    p.Locked=true
1555
    p.Material = workspace.Base.Material
1556
    s = math.random(1,40)/10
1557
    local m = Instance.new("BlockMesh",p)
1558
    m.Scale = Vector3.new(s,s,s)
1559
    p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
1560
	--[[coroutine.wrap(function()
1561
		wait(2)
1562
		while Charging == true do
1563
		wait(2)
1564
		GroundWave1()
1565
		wait(2)
1566
		end
1567
	end)()]]--
1568
	
1569
	spawn(function()
1570
        while r:wait() do
1571
            if p.Transparency >= 1 then p:Destroy() break end
1572
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
1573
            p.Transparency = p.Transparency+0.01
1574
        end
1575
    end)
1576
    wait(.3)
1577
	until Activated == false
1578
	end)
1579
	Debri()
1580
	
1581
	l = game.Lighting
1582
l.TimeOfDay = 1
1583
game.Lighting.Ambient = Color3.new(0,0,0)
1584
l.Brightness = 0.1
1585
1586
	
1587
	spawn(function()
1588
	while wait(2)
1589
		 do
1590
		GroundWave()	
1591
	end
1592
	end)	
1593
	
1594
	
1595
	local eColors = {"Really blue", "Really blue"}
1596
	coroutine.resume(coroutine.create(function()
1597
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
1598
    local magz = (Part0 - Part1).magnitude
1599
    local curpos = Part0
1600
    local trz = {-Offset,Offset}
1601
    for i=1,Times do
1602
        local li = Instance.new("Part", torso)
1603
		li.Name = "Lightning"
1604
		li.TopSurface =0
1605
		li.Material = "Neon"
1606
		li.BottomSurface = 0
1607
		li.Anchored = true
1608
		li.Locked = true
1609
		li.Transparency = Trans or 0.4
1610
		li.BrickColor = BrickColor.new(Color)
1611
		li.formFactor = "Custom"
1612
		li.CanCollide = false
1613
		li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1614
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1615
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1616
        if Times == i then
1617
        local magz2 = (curpos - Part1).magnitude
1618
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1619
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1620
        else
1621
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1622
        end
1623
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
1624
        game.Debris:AddItem(li,.1)
1625
    end
1626
end
1627
1628
BodyParts = {} 
1629
for _, v in pairs(char:GetChildren()) do
1630
    if v:IsA("Part")  then
1631
        table.insert(BodyParts, v)
1632
    end
1633
end
1634
1635
Bounding = {} -- Calculate the bounding boxes
1636
for _, v in pairs(BodyParts) do
1637
	local temp = {X=nil, Y=nil, Z=nil}
1638
	temp.X = v.Size.X/2 * 10
1639
	temp.Y = v.Size.Y/2 * 10
1640
	temp.Z = v.Size.Z/2 * 10
1641
	Bounding[v.Name] = temp
1642
end
1643
1644
while wait(lightspeed) do 
1645
			lightspeed = math.random(0.1,0.2)
1646
	local Body1 = BodyParts[math.random(#BodyParts)]
1647
	local Body2 = BodyParts[math.random(#BodyParts)]
1648
	local Pos1 = Vector3.new(
1649
		math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
1650
		math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
1651
		math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
1652
)
1653
	local Pos2 = Vector3.new(
1654
		math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
1655
		math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
1656
		math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
1657
)
1658
	local SPos1 = Body1.Position + Pos1
1659
	local SPos2 = Body2.Position + Pos2	
1660
	Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) 
1661
end
1662
end))
1663
	for i = 1, 20 do
1664
		wait()
1665
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head
1666
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso
1667
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm
1668
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm
1669
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg
1670
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg
1671
end
1672
	
1673
	
1674
	attack = false
1675
	NoAnims = false
1676
end
1677
1678
function weld5(part0, part1, c0, c1)
1679
    weeld=Instance.new("Weld", part0)
1680
    weeld.Part0=part0
1681
    weeld.Part1=part1
1682
    weeld.C0=c0
1683
    weeld.C1=c1
1684
    return weeld
1685
end
1686
1687
1688
1689
Grab = false
1690
1691
1692
1693
1694
1695
fat = Instance.new("BindableEvent",script)
1696
fat.Name = "Heartbeat"
1697
1698
script:WaitForChild("Heartbeat")
1699
1700
frame = 1/30
1701
tf = 0
1702
allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
1703
tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
1704
lastframe = tick()
1705
script.Heartbeat:Fire() --ayy lmao
1706
1707
game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
1708
	tf = tf + s
1709
	if tf >= frame then
1710
		if allowframeloss then
1711
			script.Heartbeat:Fire()
1712
			lastframe=tick()
1713
		else
1714
			--print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
1715
			for i=1, math.floor(tf/frame) do
1716
				script.Heartbeat:Fire()
1717
			end
1718
			lastframe=tick()
1719
		end
1720
		if tossremainder then
1721
			tf = 0
1722
		else
1723
			tf = tf - frame * math.floor(tf/frame)
1724
		end
1725
	end
1726
end)
1727
1728
function Swait(NUMBER)
1729
	if NUMBER == 0 or NUMBER == nil then
1730
		fat.Event:wait()
1731
	else
1732
		for i = 1, NUMBER do
1733
			fat.Event:wait()
1734
		end
1735
	end
1736
end
1737
1738
1739
1740
1741
1742
function GrabAndDrag()
1743
	NoAnims = true
1744
	attack = true
1745
	
1746
	if Grab == false then
1747
	
1748
	for i = 1, 20 do
1749
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1750
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
1751
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
1752
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
1753
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
1754
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
1755
            if Debounces.on == false then break end
1756
            rs:wait(2)
1757
        end
1758
        con1=larm.Touched:connect(function(hit) -- this is grab
1759
            ht = hit.Parent
1760
            hum1=ht:FindFirstChild('Humanoid')
1761
            if hum1 ~= nil then
1762
			   
1763
			
1764
			
1765
				
1766
			z = Instance.new("Sound",char)
1767
z.SoundId = "rbxassetid://227194112"
1768
z.Volume = 90
1769
wait(.1)
1770
z:Play()
1771
                hum1.PlatformStand=true
1772
                gp = ht
1773
                Grab = true
1774
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
1775
                asd.Parent = larm
1776
                asd.Name = "asd"
1777
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
1778
			
1779
1780
           --[[ elseif hum1 == nil then
1781
                con1:disconnect()
1782
                wait() return]]
1783
            end
1784
        end)
1785
1786
1787
        for i = 1, 20 do
1788
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1789
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
1790
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
1791
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
1792
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
1793
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
1794
            if Debounces.on == false then break end
1795
            rs:wait(2)
1796
        end
1797
    con1:disconnect()
1798
1799
if gp == nil then 
1800
	attack = false
1801
	NoAnims = false
1802
	return end
1803
1804
    
1805
    
1806
			--[[for i = 1, 16 do
1807
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
1808
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
1809
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
1810
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
1811
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1812
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1813
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
1814
			if Debounces.on == false then end
1815
			rs:wait()
1816
		end]]--
1817
			for i = 1, 16 do
1818
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
1819
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
1820
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
1821
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
1822
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
1823
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1824
			if Debounces.on == false then end
1825
			rs:wait()
1826
			end
1827
			
1828
			
1829
			coroutine.resume(coroutine.create(function()
1830
	local BF = Instance.new("BodyVelocity",hed)
1831
	BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1832
	BF.velocity = root.CFrame.lookVector*120
1833
	wait(2.5)
1834
	BF:remove()
1835
			end))
1836
			
1837
			
1838
			
1839
			z = Instance.new("Sound",char)
1840
z.SoundId = "rbxassetid://138223085"
1841
z.Volume = 90
1842
wait(.1)
1843
z:Play()
1844
1845
coroutine.resume(coroutine.create(function()
1846
	for i=1,78 do
1847
wait()
1848
MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1849
wait(0.01)
1850
MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1851
end
1852
end))
1853
1854
			coroutine.resume(coroutine.create(function()
1855
				Grabee = gp:FindFirstChild("Torso")
1856
		par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
1857
				wait(0.01)
1858
				for i = 1,78 do
1859
					wait(0.01)
1860
				for i=1, 5 do
1861
			p=Instance.new("Part")
1862
			p.FrontSurface=par.TopSurface
1863
			p.Material=par.Material
1864
			p.BottomSurface=0
1865
			p.Anchored=true p.CanCollide=false
1866
			p.BrickColor=par.BrickColor
1867
			p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
1868
			p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
1869
			p.Parent=char
1870
			game:GetService("Debris"):AddItem(p,2+i*.1)
1871
			if math.random(1,5)==5 then
1872
				coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
1873
			end
1874
				end
1875
				end
1876
				
1877
			end))
1878
			
1879
			coroutine.resume(coroutine.create(function()
1880
				Grabee = gp:FindFirstChild("Torso")
1881
		par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
1882
				wait(0.01)
1883
				
1884
		for i=1, 78 do
1885
			wait(0.01)
1886
			for i=1, 1 do
1887
			p=Instance.new("Part")
1888
			p.TopSurface=par.TopSurface
1889
			p.BottomSurface=par.BottomSurface
1890
			p.Material=par.Material
1891
			p.BottomSurface=0
1892
			p.Anchored=false p.CanCollide=false
1893
			p.BrickColor=par.BrickColor
1894
			p.formFactor="Custom"
1895
			p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
1896
			p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
1897
			p.Parent=char
1898
			game:GetService("Debris"):AddItem(p,3+i*.1)
1899
			p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
1900
			p.RotVelocity=p.Velocity
1901
			if math.random(1,5)==5 then
1902
				coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
1903
			end
1904
			end
1905
			Swait(.025)
1906
		end	
1907
				
1908
			end))
1909
	for i = 1, 100 do
1910
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
1911
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
1912
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
1913
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
1914
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
1915
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
1916
			if Debounces.on == false then end
1917
			rs:wait()
1918
		end
1919
	asd:Destroy()
1920
	gp = nil
1921
	hum1.Health = 0
1922
	attack = false
1923
	ht = nil
1924
	NoAnims = false
1925
	Grab = false
1926
end
1927
end
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
function FindNearestTorso(Position,Distance,SinglePlayer)
1940
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1941
        local List = {}
1942
        for i,v in pairs(workspace:GetChildren())do
1943
            if v:IsA("Model")then
1944
                if v:findFirstChild("Torso")then
1945
                    if v ~= char then
1946
                        if(v.Torso.Position -Position).magnitude <= Distance then
1947
                            table.insert(List,v)
1948
                        end 
1949
                    end 
1950
                end 
1951
            end 
1952
        end
1953
    return List
1954
end
1955
1956
1957
1958
function Ring()
1959
	
1960
	
1961
	local effspwn = Instance.new("Part")      
1962
    local model = Instance.new("Model")
1963
    game.Debris:AddItem(model, 20)
1964
    model.Name = "smasheffects"
1965
    model.Parent = workspace
1966
    effspwn.Name = "spwnr"
1967
    effspwn.Size = Vector3.new(1, 1, 1)
1968
    effspwn.Anchored = true
1969
    effspwn.CanCollide = false
1970
    effspwn.Transparency = 1
1971
    effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1972
    effspwn.Parent = model
1973
1974
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
1975
        if v:FindFirstChild('Humanoid') then
1976
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1977
            v.Humanoid.PlatformStand = true
1978
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
1979
        end
1980
    end 
1981
	coroutine.resume(coroutine.create(function()
1982
      local shok = Instance.new("Part")
1983
      shok.Name = "wring1"
1984
      shok.BrickColor = BrickColor.new("Really blue")
1985
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1986
      shok.Size = Vector3.new(1, 1, 1)
1987
      shok.Anchored = true
1988
      shok.Material = "Neon"
1989
      shok.Transparency = 0.25
1990
      shok.CanCollide = false
1991
      shok.Parent = model
1992
      game.Debris:AddItem(shok, 12)
1993
      local mesh = Instance.new("SpecialMesh")
1994
      mesh.MeshType = "FileMesh"
1995
      mesh.MeshId = "rbxassetid://3270017"
1996
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
1997
      mesh.Parent = shok
1998
      for e = 1, 30 do
1999
        wait()
2000
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
2001
        shok.Transparency = shok.Transparency + 0.002
2002
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2003
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2004
      end
2005
      for e = 1, 38 do
2006
        wait()
2007
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2008
        shok.Transparency = shok.Transparency + 0.002
2009
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2010
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2011
      end
2012
      for e = 1, 24 do
2013
        wait()
2014
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
2015
        shok.Transparency = shok.Transparency + 0.03
2016
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2017
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
2018
      end
2019
    end))
2020
    coroutine.resume(coroutine.create(function()
2021
      local shok = Instance.new("Part")
2022
      shok.Name = "wring2"
2023
      shok.BrickColor = BrickColor.new("Really blue")
2024
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
2025
      shok.Size = Vector3.new(1, 1, 1)
2026
      shok.Anchored = true
2027
      shok.Material = "Neon"
2028
      shok.Transparency = 0.25
2029
      shok.CanCollide = false
2030
      shok.Parent = model
2031
      game.Debris:AddItem(shok, 12)
2032
      local mesh = Instance.new("SpecialMesh")
2033
      mesh.MeshType = "FileMesh"
2034
      mesh.MeshId = "rbxassetid://3270017"
2035
      mesh.Scale = Vector3.new(12, 12, 0.05)
2036
      mesh.Parent = shok
2037
      for e = 1, 30 do
2038
        wait()
2039
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
2040
        shok.Transparency = shok.Transparency + 0.002
2041
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
2042
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2043
      end
2044
      for e = 1, 38 do
2045
        wait()
2046
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2047
        shok.Transparency = shok.Transparency + 0.002
2048
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2049
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2050
      end
2051
      for e = 1, 24 do
2052
        wait()
2053
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
2054
        shok.Transparency = shok.Transparency + 0.03
2055
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
2056
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
2057
      end
2058
    end))
2059
2060
coroutine.resume(coroutine.create(function()
2061
      local shok = Instance.new("Part")
2062
      shok.Name = "shokwve"
2063
      shok.BrickColor = BrickColor.new("Really black")
2064
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
2065
      shok.Size = Vector3.new(1, 1, 1)
2066
      shok.Anchored = true
2067
      shok.Material = "Neon"
2068
      shok.Transparency = 0.6
2069
      shok.CanCollide = false
2070
      shok.Parent = model
2071
      game.Debris:AddItem(shok, 12)
2072
      local mesh = Instance.new("SpecialMesh")
2073
      mesh.MeshType = "FileMesh"
2074
      mesh.MeshId = "rbxassetid://489415447"
2075
      mesh.Scale = Vector3.new(1, 1, 1)
2076
      mesh.Parent = shok
2077
      for e = 1, 12 do
2078
        wait()
2079
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
2080
        shok.Transparency = shok.Transparency + 0.002
2081
      end
2082
      for e = 1, 32 do
2083
        wait()
2084
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2085
        shok.Transparency = shok.Transparency + 0.002
2086
      end
2087
      for e = 1, 24 do
2088
        wait()
2089
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
2090
        shok.Transparency = shok.Transparency + 0.03
2091
      end
2092
    end))
2093
    coroutine.resume(coroutine.create(function()
2094
      local shok = Instance.new("Part")
2095
      shok.Name = "shock2"
2096
      shok.BrickColor = BrickColor.new("Really black")
2097
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
2098
      shok.Size = Vector3.new(1, 1, 1)
2099
      shok.Anchored = true
2100
      shok.Material = "Neon"
2101
      shok.Transparency = 0.35
2102
      shok.CanCollide = false
2103
      shok.Parent = model
2104
      game.Debris:AddItem(shok, 12)
2105
      local mesh = Instance.new("SpecialMesh")
2106
      mesh.MeshType = "FileMesh"
2107
      mesh.MeshId = "rbxassetid://489415447"
2108
      mesh.Scale = Vector3.new(12, 12, 12)
2109
      mesh.Parent = shok
2110
      for e = 1, 15 do
2111
        wait()
2112
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2113
        shok.Transparency = shok.Transparency + 0.004
2114
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2115
      end
2116
      for e = 1, 16 do
2117
        wait()
2118
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2119
        shok.Transparency = shok.Transparency + 0.004
2120
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2121
      end
2122
      for e = 1, 12 do
2123
        wait()
2124
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
2125
        shok.Transparency = shok.Transparency + 0.06
2126
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
2127
      end
2128
    end))
2129
    coroutine.resume(coroutine.create(function()
2130
      local shok = Instance.new("Part")
2131
      shok.Name = "shock3"
2132
      shok.BrickColor = BrickColor.new("Really blue")
2133
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
2134
      shok.Size = Vector3.new(1, 1, 1)
2135
      shok.Anchored = true
2136
      shok.Material = "Neon"
2137
      shok.Transparency = 0.35
2138
      shok.CanCollide = false
2139
      shok.Parent = model
2140
      game.Debris:AddItem(shok, 12)
2141
      local mesh = Instance.new("SpecialMesh")
2142
      mesh.MeshType = "FileMesh"
2143
      mesh.MeshId = "rbxassetid://489415447"
2144
      mesh.Scale = Vector3.new(12, 12, 12)
2145
      mesh.Parent = shok
2146
      for e = 1, 15 do
2147
        wait()
2148
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
2149
        shok.Transparency = shok.Transparency + 0.004
2150
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2151
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2152
      end
2153
      for e = 1, 16 do
2154
        wait()
2155
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
2156
        shok.Transparency = shok.Transparency + 0.004
2157
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2158
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2159
      end
2160
      for e = 1, 12 do
2161
        wait()
2162
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
2163
        shok.Transparency = shok.Transparency + 0.06
2164
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
2165
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
2166
      end
2167
    end))
2168
    
2169
end
2170
2171
2172
2173
2174
2175
2176
2177
it=Instance.new
2178
vt=Vector3.new
2179
cf=CFrame.new
2180
2181
function NoOutline(Part)
2182
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2183
end
2184
2185
2186
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
2187
local fp=it("Part")
2188
fp.formFactor=formfactor 
2189
fp.Parent=parent
2190
fp.Reflectance=reflectance
2191
fp.Transparency=transparency
2192
fp.CanCollide=false 
2193
fp.Locked=true
2194
fp.BrickColor=brickcolor
2195
fp.Name=name
2196
fp.Size=size
2197
fp.Position=torso.Position 
2198
NoOutline(fp)
2199
fp.Material="SmoothPlastic"
2200
fp:BreakJoints()
2201
return fp 
2202
end 
2203
 
2204
2205
2206
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2207
local mesh=it(Mesh) 
2208
mesh.Parent=part
2209
if Mesh=="SpecialMesh" then
2210
mesh.MeshType=meshtype
2211
if meshid~="nil" then
2212
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
2213
end
2214
end
2215
mesh.Offset=offset
2216
mesh.Scale=scale
2217
return mesh
2218
end
2219
 
2220
function weld(parent,part0,part1,c0)
2221
local weld=it("Weld") 
2222
weld.Parent=parent
2223
weld.Part0=part0 
2224
weld.Part1=part1 
2225
weld.C0=c0
2226
return weld
2227
end
2228
2229
2230
function swait(num)
2231
if num==0 or num==nil then
2232
game:service'RunService'.Stepped:wait(0)
2233
else
2234
for i=0,num do
2235
game:service'RunService'.Stepped:wait(0)
2236
end
2237
end
2238
end
2239
 
2240
2241
2242
2243
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2244
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2245
end 
2246
2247
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2248
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2249
prt.Anchored=true
2250
prt.CFrame=cframe
2251
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2252
--http://www.roblox.com/asset/?id=4770560
2253
game:GetService("Debris"):AddItem(prt,2)
2254
CF=prt.CFrame
2255
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2256
for i=0,1,0.2 do
2257
wait()
2258
Part.CFrame=CF*cf(0,0,-0.4)
2259
end
2260
for i=0,1,delay do
2261
wait()
2262
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
2263
Mesh.Scale=Mesh.Scale
2264
end
2265
for i=0,1,0.1 do
2266
wait()
2267
Part.Transparency=i
2268
end
2269
Part.Parent=nil
2270
end),prt,msh,CF)
2271
end
2272
 
2273
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2274
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2275
prt.Anchored=true
2276
prt.Material = "SmoothPlastic"
2277
prt.CFrame=cframe
2278
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2279
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2280
game:GetService("Debris"):AddItem(prt,5)
2281
coroutine.resume(coroutine.create(function(Part,Mesh) 
2282
for i=0,1,delay do
2283
swait()
2284
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2285
Part.Transparency=i
2286
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2287
end
2288
Part.Parent=nil
2289
end),prt,msh)
2290
end
2291
2292
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2293
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2294
prt.Anchored=true
2295
prt.Material = "Neon"
2296
prt.CFrame=cframe
2297
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2298
game:GetService("Debris"):AddItem(prt,5)
2299
coroutine.resume(coroutine.create(function(Part,Mesh) 
2300
	local rtype = rottype
2301
for i=0,1,delay do
2302
swait()
2303
if rtype == 1 then
2304
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2305
elseif rtype == 2 then
2306
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2307
end
2308
Part.Transparency=i
2309
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2310
end
2311
Part.Parent=nil
2312
end),prt,msh)
2313
end
2314
2315
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2316
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2317
prt.Anchored=true
2318
prt.CFrame=cframe
2319
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2320
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2321
game:GetService("Debris"):AddItem(prt,5)
2322
coroutine.resume(coroutine.create(function(Part,Mesh) 
2323
for i=0,1,delay do
2324
wait()
2325
Part.Transparency=i
2326
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2327
end
2328
Part.Parent=nil
2329
end),prt,msh)
2330
end
2331
 
2332
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2333
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2334
prt.Anchored=false
2335
prt.CFrame=cframe
2336
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2337
local wld=weld(prt,prt,Parent,cframe)
2338
game:GetService("Debris"):AddItem(prt,5)
2339
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2340
for i=0,1,delay do
2341
wait()
2342
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2343
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2344
Part.Transparency=i
2345
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2346
end
2347
Part.Parent=nil
2348
end),prt,msh,wld)
2349
end
2350
 
2351
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2352
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2353
prt.Anchored=false
2354
prt.CFrame=cframe
2355
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2356
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2357
game:GetService("Debris"):AddItem(prt,5)
2358
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2359
for i=0,1,delay do
2360
wait()
2361
Weld.C0=euler(i*20,0,0)
2362
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2363
Part.Transparency=i
2364
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2365
end
2366
Part.Parent=nil
2367
end),prt,msh,wld)
2368
end
2369
 
2370
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2371
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2372
prt.Anchored=true
2373
prt.CFrame=cframe
2374
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2375
game:GetService("Debris"):AddItem(prt,2)
2376
coroutine.resume(coroutine.create(function(Part,Mesh) 
2377
for i=0,1,delay do
2378
wait()
2379
Part.CFrame=Part.CFrame
2380
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2381
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2382
prt2.Anchored=true
2383
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2384
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2385
game:GetService("Debris"):AddItem(prt2,2)
2386
coroutine.resume(coroutine.create(function(Part,Mesh) 
2387
for i=0,1,0.1 do
2388
wait()
2389
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2390
end
2391
Part.Parent=nil
2392
end),prt2,msh2)
2393
end
2394
for i=0,1,delay*2 do
2395
wait()
2396
Part.CFrame=Part.CFrame
2397
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2398
end
2399
Part.Parent=nil
2400
end),prt,msh)
2401
end
2402
 
2403
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2404
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2405
prt.Anchored=true
2406
prt.CFrame=cframe
2407
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2408
game:GetService("Debris"):AddItem(prt,2)
2409
coroutine.resume(coroutine.create(function(Part,Mesh) 
2410
for i=0,1,delay do
2411
wait()
2412
Part.CFrame=Part.CFrame
2413
Part.Transparency=i
2414
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2415
end
2416
Part.Parent=nil
2417
end),prt,msh)
2418
end
2419
 
2420
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2421
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2422
prt.Anchored=true
2423
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2424
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2425
game:GetService("Debris"):AddItem(prt,2)
2426
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2427
CF=Part.CFrame
2428
Numbb=0
2429
randnumb=math.random()/10
2430
rand1=math.random()/10
2431
for i=0,1,rand1 do
2432
wait()
2433
CF=CF*cf(0,math.random()/2,0)
2434
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2435
Part.CFrame=CF*euler(Numbb,0,0)
2436
Part.Transparency=i
2437
Numbb=Numbb+randnumb
2438
end
2439
Part.Parent=nil
2440
end),prt,CF,Numbb,randnumb)
2441
end
2442
 
2443
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2444
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2445
prt.Anchored=true
2446
prt.CFrame=cframe
2447
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2448
game:GetService("Debris"):AddItem(prt,5)
2449
coroutine.resume(coroutine.create(function(Part,Mesh) 
2450
for i=0,1,delay do
2451
wait()
2452
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2453
Part.Transparency=i
2454
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2455
end
2456
Part.Parent=nil
2457
end),prt,msh)
2458
end
2459
 
2460
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2461
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2462
prt.Anchored=true
2463
prt.CFrame=cframe
2464
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2465
game:GetService("Debris"):AddItem(prt,2)
2466
coroutine.resume(coroutine.create(function(Part,Mesh) 
2467
for i=0,1,delay do
2468
wait()
2469
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2470
Part.Transparency=i
2471
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2472
end
2473
Part.Parent=nil
2474
end),prt,msh)
2475
end
2476
 
2477
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2478
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2479
prt.Anchored=true
2480
prt.CFrame=cframe*cf(x,y,z)
2481
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2482
game:GetService("Debris"):AddItem(prt,5)
2483
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2484
local num=math.random()
2485
local num2=math.random(-3,2)+math.random()
2486
local numm=0
2487
for i=0,1,delay*2 do
2488
swait()
2489
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2490
Part.Transparency=i
2491
numm=numm+0.01
2492
end
2493
Part.Parent=nil
2494
Mesh.Parent=nil
2495
end),prt,msh,x,y,z)
2496
end
2497
2498
2499
2500
function newRay(start,face,range,wat)
2501
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
2502
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
2503
	return rey,hit,pos
2504
end
2505
2506
function Landing()
2507
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2508
	MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2509
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2510
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2511
	MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2512
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2513
	
2514
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2515
	MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2516
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2517
end
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
    function nooutline(part)
2529
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
2530
    end
2531
2532
2533
2534
2535
function debris(cfremz, thepart, amt)
2536
    for j = 1, amt do
2537
      do
2538
        local pr = Instance.new("Part")
2539
        nooutline(pr)
2540
        pr.Name = "debrisobeb"
2541
        pr.Anchored = true
2542
        pr.BrickColor = thepart.BrickColor
2543
        pr.CanCollide = true
2544
        pr.Material = thepart.Material
2545
        pr.Transparency = thepart.Transparency
2546
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
2547
        pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
2548
        pr.Parent = workspace
2549
        game.Debris:AddItem(pr, 25)
2550
        delay(15, function()
2551
          if pr then
2552
            pr.CanCollide = false
2553
            pr.Anchored = false
2554
          end
2555
        end)
2556
      end
2557
    end
2558
    for c = 1, amt do
2559
      do
2560
        local pr2 = Instance.new("Part")
2561
        nooutline(pr2)
2562
        pr2.Name = "moredebr"
2563
        pr2.Anchored = false
2564
        pr2.BrickColor = thepart.BrickColor
2565
        pr2.CanCollide = false
2566
        pr2.Material = thepart.Material
2567
        pr2.Transparency = thepart.Transparency
2568
        pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
2569
        pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
2570
        pr2.Parent = workspace
2571
        pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
2572
        pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
2573
        game.Debris:AddItem(pr2, 45)
2574
        delay(2, function()
2575
          pr2.CanCollide = true
2576
          wait(10)
2577
          if pr2 then
2578
            pr2.CanCollide = false
2579
          end
2580
        end)
2581
      end
2582
    end
2583
  end
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
function AirSlam()
2595
	NoAnims = true
2596
	attack = true
2597
	for i = 1, 20 do
2598
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad    (45),math.rad(0),math.rad(32)), 0.2)
2599
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad     (0),math.rad(0),math.rad(-20)), 0.2)
2600
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-    8),math.rad(-40), math.rad(-8)),0.2)
2601
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles  (math.rad    (-50), math.rad(40), math.rad(0)), 0.2)
2602
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles  (math.rad    (30), 0, math.rad(20)), 0.2)
2603
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles  (math.rad(-    10), math.rad(-40), math.rad(0)), 0.2)
2604
            if Debounces.on == false then break end
2605
                wait()
2606
            end
2607
            wait(0.5)
2608
        
2609
2610
coroutine.resume(coroutine.create(function()
2611
       MagicBlock(BrickColor.new("Really blue"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015) 
2612
	MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025) 
2613
	MagicBlock(BrickColor.new("Really blue"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
2614
	end))
2615
	
2616
           Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
2617
                
2618
            hum.WalkSpeed = 50
2619
        BV = Instance.new("BodyVelocity", torso)
2620
        BV.maxForce = Vector3.new(0,200000,0)
2621
        BV.P = 100000
2622
        BV.velocity = Vector3.new(0,150,0)
2623
    for i = 1, 20 do
2624
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0),     math.rad(0)),0.7)
2625
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16),     math.rad(0), math.rad(0)), 0.7)
2626
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
2627
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
2628
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
2629
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
2630
        if Debounces.on == false then break end
2631
        wait()
2632
    end
2633
BV:Destroy()
2634
2635
		coroutine.resume(coroutine.create(function()
2636
					for i = 1, 2880, 48 do 
2637
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
2638
						rs:wait(4)
2639
					end
2640
					torso.Weld.C1 = CFrame.new(0, -1, 0)
2641
		end))
2642
		
2643
    for i = 1, 30 do
2644
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0),     math.rad(0)),0.3)
2645
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad    (0), math.rad(0)), 0.3)
2646
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-10)), 0.3)
2647
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(10)), 0.3)
2648
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2649
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
2650
        if Debounces.on == false then break end
2651
        wait()
2652
    end
2653
2654
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
2655
    for i = 1, 20 do
2656
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0),     math.rad(0)),0.3)
2657
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad    (0), math.rad(0)), 0.3)
2658
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-60)), 0.3)
2659
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(60)), 0.3)
2660
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
2661
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
2662
        if Debounces.on == false then break end
2663
        wait()
2664
    end
2665
end
2666
local ry,ht,ps=nil,nil,nil
2667
while ht==nil do
2668
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
2669
	wait()
2670
end
2671
par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
2672
		if par then
2673
      local cfremz = CFrame.new(loc)
2674
      debris(cfremz, par, 50)
2675
		    end
2676
coroutine.resume(coroutine.create(function()
2677
	Ring()
2678
end))
2679
Landing()
2680
Sound("rbxassetid://514867425",char,90,1,false)
2681
hum.WalkSpeed = 5
2682
for i = 1, 25 do
2683
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
2684
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
2685
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
2686
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
2687
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
2688
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
2689
            if Debounces.on == false then break end
2690
                wait()
2691
            end
2692
            wait(0.2)
2693
	attack = false
2694
	NoAnims = false
2695
end
2696
2697
2698
2699
function CreatePart(parent,transparency,reflectance,material,brickcolor)
2700
local p = Instance.new("Part")
2701
p.Parent = parent
2702
p.Size = Vector3.new(1,1,1)
2703
p.Transparency = transparency
2704
p.Reflectance = reflectance
2705
p.CanCollide = false
2706
p.BrickColor = brickcolor
2707
p.Material = material
2708
return p
2709
end
2710
2711
2712
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
2713
local weld = Instance.new("Weld")
2714
weld.Parent = parent
2715
weld.Part0 = part0
2716
weld.Part1 = part1
2717
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
2718
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
2719
return weld
2720
end
2721
2722
2723
2724
--[[HandleR = Instance.new("Part")
2725
	HandleR.BrickColor = BrickColor.new("Really blue")
2726
	HandleR.Material = "Neon"
2727
	HandleR.Transparency = 0.3
2728
	HandleR.Size = Vector3.new(1,0.8,4)
2729
	HandleR.CFrame = sorb.CFrame
2730
	HandleRM = Instance.new("SpecialMesh",HandleR)
2731
	HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
2732
	HandleRM.Scale = Vector3.new(1,1,1)
2733
	
2734
	HandleL = Instance.new("Part")
2735
	HandleL.BrickColor = BrickColor.new("Really blue")
2736
	HandleL.Material = "Neon"
2737
	HandleL.Transparency = 0.3
2738
	HandleL.Size = Vector3.new(1,0.8,4)
2739
	HandleL.CFrame = sorb2.CFrame
2740
	HandleLM = Instance.new("SpecialMesh",HandleL)
2741
	HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
2742
	HandleLM.Scale = Vector3.new(1,1,1)]]
2743
	
2744
2745
local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2746
CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
2747
local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2748
CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
2749
2750
2751
v3 = Vector3.new
2752
rad=math.rad
2753
2754
kiblade = Instance.new("Part",char)
2755
kiblade.Name = "Blade"
2756
kiblade.Size = v3(1,5,1)
2757
kiblade.Transparency = 1
2758
kiblade.BrickColor = BrickColor.new("Really blue")
2759
kiblade.Position = v3(999,999,999)
2760
kiblade.CanCollide = false
2761
kiblademesh = Instance.new("SpecialMesh",kiblade)
2762
kiblademesh.MeshType = "FileMesh"
2763
kiblademesh.MeshId = "rbxassetid://898849476"
2764
kiblademesh.Scale = v3(0.01,0.008,0.01)
2765
kiweld7 = Instance.new("Weld",kiblade)
2766
kiweld7.Part0 = rarm
2767
kiweld7.Part1 = kiblade
2768
kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2769
kiblade1 = Instance.new("Part",char)
2770
kiblade1.Name = "Blade"
2771
kiblade1.Transparency = 1
2772
kiblade1.Size = v3(0.1,0.1,0.1)
2773
kiblade1.Position = v3(999,999,999)
2774
kiblade1.CanCollide = false
2775
kiblademesh = Instance.new("SpecialMesh",kiblade1)
2776
kiblademesh.MeshType = "Sphere"
2777
kiblademesh.Scale = v3(1,1,1)
2778
kiweld = Instance.new("Weld",kiblade1)
2779
kiweld.Part0 = rarm
2780
kiweld.Part1 = kiblade1
2781
kiweld.C0 = CFrame.new(0,-1,0)
2782
kiblade2 = Instance.new("Part",char)
2783
kiblade2.Name = "Blade"
2784
kiblade2.Size = v3(0.1,0.1,0.1)
2785
kiblade2.Transparency = 1
2786
kiblade2.Position = v3(999,999,999)
2787
kiblade2.CanCollide = false
2788
kiblademesh = Instance.new("SpecialMesh",kiblade2)
2789
kiblademesh.MeshType = "Sphere"
2790
kiblademesh.Scale = v3(1,1,1)
2791
kiweld = Instance.new("Weld",kiblade2)
2792
kiweld.Part0 = rarm
2793
kiweld.Part1 = kiblade2
2794
kiweld.C0 = CFrame.new(0,-4.5,0)
2795
torso = game.Players.LocalPlayer.Character.Torso
2796
head = game.Players.LocalPlayer.Character.Head
2797
torso1 = Instance.new("Attachment",kiblade1)
2798
head1 = Instance.new("Attachment",kiblade2)
2799
trail = Instance.new("Trail",torso)
2800
trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2801
trail.Attachment0 = torso1
2802
trail.Attachment1 = head1
2803
trail.Lifetime = 0.5
2804
trail.Enabled = false
2805
2806
2807
2808
2809
kiblade2 = Instance.new("Part",char)
2810
kiblade2.Name = "Blade"
2811
kiblade2.Size = v3(1,5,1)
2812
kiblade2.Transparency = 1
2813
kiblade2.BrickColor = BrickColor.new("Really blue")
2814
kiblade2.Position = v3(999,999,999)
2815
kiblade2.CanCollide = false
2816
kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
2817
kiblademesh2.MeshType = "FileMesh"
2818
kiblademesh2.MeshId = "rbxassetid://898849476"
2819
kiblademesh2.Scale = v3(0.01,0.008,0.01)
2820
kiweld72 = Instance.new("Weld",kiblade2)
2821
kiweld72.Part0 = larm
2822
kiweld72.Part1 = kiblade2
2823
kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2824
kiblade12 = Instance.new("Part",char)
2825
kiblade12.Name = "Blade"
2826
kiblade12.Transparency = 1
2827
kiblade12.Size = v3(0.1,0.1,0.1)
2828
kiblade12.Position = v3(999,999,999)
2829
kiblade12.CanCollide = false
2830
kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
2831
kiblademesh2.MeshType = "Sphere"
2832
kiblademesh2.Scale = v3(1,1,1)
2833
kiweld2 = Instance.new("Weld",kiblade12)
2834
kiweld2.Part0 = larm
2835
kiweld2.Part1 = kiblade12
2836
kiweld2.C0 = CFrame.new(0,-1,0)
2837
kiblade22 = Instance.new("Part",char)
2838
kiblade22.Name = "Blade"
2839
kiblade22.Size = v3(0.1,0.1,0.1)
2840
kiblade22.Transparency = 1
2841
kiblade22.Position = v3(999,999,999)
2842
kiblade22.CanCollide = false
2843
kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
2844
kiblademesh2.MeshType = "Sphere"
2845
kiblademesh2.Scale = v3(1,1,1)
2846
kiweld2 = Instance.new("Weld",kiblade22)
2847
kiweld2.Part0 = larm
2848
kiweld2.Part1 = kiblade22
2849
kiweld2.C0 = CFrame.new(0,-4.5,0)
2850
torso2 = game.Players.LocalPlayer.Character.Torso
2851
head2 = game.Players.LocalPlayer.Character.Head
2852
torso12 = Instance.new("Attachment",kiblade12)
2853
head12 = Instance.new("Attachment",kiblade22)
2854
trail2 = Instance.new("Trail",torso2)
2855
trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2856
trail2.Attachment0 = torso12
2857
trail2.Attachment1 = head12
2858
trail2.Lifetime = 0.5
2859
trail2.Enabled = false
2860
2861
2862
2863
local Gibs = game.Workspace
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
function Kill(Character)
2877
	Character.Humanoid.Health = 0
2878
	local poo = Instance.new("IntValue",Character)
2879
	poo.Name = "haha nope"
2880
	local svch = Character
2881
	local hum = Character:findFirstChild("Humanoid")
2882
	Character.Archivable = true
2883
	local chrclone = Character:clone()
2884
	Character.Archivable = false
2885
2886
	local ch = chrclone:GetChildren()
2887
	local i
2888
	for i = 1,#ch do
2889
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
2890
			ch[i]:remove()
2891
		end
2892
	end
2893
	local function Scan(ch)
2894
		local e
2895
		for e = 1,#ch do
2896
			Scan(ch[e]:GetChildren())
2897
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
2898
				ch[e]:remove()
2899
			end
2900
		end
2901
	end
2902
	Scan(chrclone:GetChildren())
2903
2904
	local hum2 = chrclone:findFirstChild("Humanoid")
2905
2906
2907
	if hum2 ~= nil then
2908
		hum2.Name = "Humanoid2"
2909
		hum2.PlatformStand = true
2910
		hum2.Sit = true 
2911
		hum2.MaxHealth = 0
2912
		hum2.Health = 0
2913
	end
2914
2915
	local ch = Character:GetChildren()
2916
	local i
2917
	for i = 1,#ch do
2918
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2919
			ch[i]:remove()
2920
		end
2921
	end
2922
2923
	wait(0.2)
2924
2925
	local ch = Character:GetChildren()
2926
	local i
2927
	for i = 1,#ch do
2928
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2929
			ch[i]:remove()
2930
		end
2931
	end
2932
	Character = chrclone
2933
	local Torso = Character.Torso
2934
	local movevector = Vector3.new()
2935
2936
	if Torso then
2937
		local Head = Character:FindFirstChild("Head")
2938
		local Limb = Character:FindFirstChild("Right Arm")
2939
		if Limb then
2940
2941
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
2942
			local Joint = Instance.new("Glue")
2943
			Joint.Name = "RightShoulder"
2944
			Joint.Part0 = Torso
2945
			Joint.Part1 = Limb
2946
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2947
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2948
			Joint.Parent = Torso
2949
2950
			local B = Instance.new("Part")
2951
			B.TopSurface = 0
2952
			B.BottomSurface = 0
2953
			B.formFactor = "Symmetric"
2954
			B.Size = Vector3.new(1, 1, 1)
2955
			B.Transparency = 1
2956
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2957
			B.Parent = Character
2958
			local W = Instance.new("Weld")
2959
			W.Part0 = Limb
2960
			W.Part1 = B
2961
			W.C0 = CFrame.new(0, -0.5, 0)
2962
			W.Parent = Limb
2963
2964
		end
2965
		local Limb = Character:FindFirstChild("Left Arm")
2966
		if Limb then
2967
2968
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
2969
			local Joint = Instance.new("Glue")
2970
			Joint.Name = "LeftShoulder"
2971
			Joint.Part0 = Torso
2972
			Joint.Part1 = Limb
2973
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2974
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2975
			Joint.Parent = Torso
2976
2977
			local B = Instance.new("Part")
2978
			B.TopSurface = 0
2979
			B.BottomSurface = 0
2980
			B.formFactor = "Symmetric"
2981
			B.Size = Vector3.new(1, 1, 1)
2982
			B.Transparency = 1
2983
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2984
			B.Parent = Character
2985
			local W = Instance.new("Weld")
2986
			W.Part0 = Limb
2987
			W.Part1 = B
2988
			W.C0 = CFrame.new(0, -0.5, 0)
2989
			W.Parent = Limb
2990
2991
		end
2992
		local Limb = Character:FindFirstChild("Right Leg")
2993
		if Limb then
2994
2995
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
2996
			local Joint = Instance.new("Glue")
2997
			Joint.Name = "RightHip"
2998
			Joint.Part0 = Torso
2999
			Joint.Part1 = Limb
3000
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
3001
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
3002
			Joint.Parent = Torso
3003
3004
			local B = Instance.new("Part")
3005
			B.TopSurface = 0
3006
			B.BottomSurface = 0
3007
			B.formFactor = "Symmetric"
3008
			B.Size = Vector3.new(1, 1, 1)
3009
			B.Transparency = 1
3010
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
3011
			B.Parent = Character
3012
			local W = Instance.new("Weld")
3013
			W.Part0 = Limb
3014
			W.Part1 = B
3015
			W.C0 = CFrame.new(0, -0.5, 0)
3016
			W.Parent = Limb
3017
3018
		end
3019
		local Limb = Character:FindFirstChild("Left Leg")
3020
		if Limb then
3021
3022
			Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
3023
			local Joint = Instance.new("Glue")
3024
			Joint.Name = "LeftHip"
3025
			Joint.Part0 = Torso
3026
			Joint.Part1 = Limb
3027
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
3028
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
3029
			Joint.Parent = Torso
3030
3031
			local B = Instance.new("Part")
3032
			B.TopSurface = 0
3033
			B.BottomSurface = 0
3034
			B.formFactor = "Symmetric"
3035
			B.Size = Vector3.new(1, 1, 1)
3036
			B.Transparency = 1
3037
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
3038
			B.Parent = Character
3039
			local W = Instance.new("Weld")
3040
			W.Part0 = Limb
3041
			W.Part1 = B
3042
			W.C0 = CFrame.new(0, -0.5, 0)
3043
			W.Parent = Limb
3044
3045
		end
3046
		--[
3047
		local Bar = Instance.new("Part")
3048
		Bar.TopSurface = 0
3049
		Bar.BottomSurface = 0
3050
		Bar.formFactor = "Symmetric"
3051
		Bar.Size = Vector3.new(1, 1, 1)
3052
		Bar.Transparency = 1
3053
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
3054
		Bar.Parent = Character
3055
		local Weld = Instance.new("Weld")
3056
		Weld.Part0 = Torso
3057
		Weld.Part1 = Bar
3058
		Weld.C0 = CFrame.new(0, 0.5, 0)
3059
		Weld.Parent = Torso
3060
		--]]
3061
	end
3062
	Character.Parent = Gibs
3063
	game.Debris:AddItem(Character, 12)
3064
	if movevector ~= Vector3.new() then
3065
		for i = 1,10 do
3066
			wait()
3067
			Torso.Velocity = Vector3.new(0,0,-100)
3068
			Head.Velocity = movevector * 200
3069
		end
3070
	end
3071
	end
3072
	
3073
	
3074
3075
function SpinSlice()
3076
	NoAnims = true
3077
	attack = true
3078
	
3079
	
3080
	Sound("rbxassetid://588738949",char,90,1,false)
3081
	kiblade.Transparency = 0
3082
	kiblade2.Transparency = 0
3083
    trail.Enabled = true
3084
    trail2.Enabled = true
3085
3086
	hum.WalkSpeed = 0
3087
	for i = 1,40 do
3088
		torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3089
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
3090
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
3091
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
3092
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
3093
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
3094
if Debounces.on == false then break end
3095
                wait()
3096
	end
3097
	
3098
	
3099
	coroutine.resume(coroutine.create(function()
3100
	local BF = Instance.new("BodyVelocity",hed)
3101
	BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
3102
	BF.velocity = root.CFrame.lookVector*120
3103
	wait(2.0)
3104
	BF:remove()
3105
	end))
3106
	
3107
	coroutine.resume(coroutine.create(function()
3108
	Sound("rbxassetid://588734356",char,90,1,false)
3109
	wait(.1)
3110
	Sound("rbxassetid://588734356",char,90,1,false)
3111
	wait(.1)
3112
	Sound("rbxassetid://588734356",char,90,1,false)
3113
	wait(.1)
3114
	Sound("rbxassetid://588734356",char,90,1,false)
3115
	wait(.1)
3116
	Sound("rbxassetid://588734356",char,90,1,false)
3117
	wait(.1)
3118
	Sound("rbxassetid://588734356",char,90,1,false)
3119
	wait(.1)
3120
	Sound("rbxassetid://588734356",char,90,1,false)
3121
	wait(.1)
3122
	Sound("rbxassetid://588734356",char,90,1,false)
3123
end))
3124
	local HitBox = Instance.new("Part",rarm)
3125
	HitBox.Size = Vector3.new(1,5,1)
3126
	HitBox.CanCollide = false
3127
	HitBox.Transparency = 1
3128
	local HitBox2 = Instance.new("Weld",HitBox)
3129
	HitBox2.Part0 = rarm
3130
	HitBox2.Part1 = HitBox
3131
	HitBox2.C0 = CFrame.new(0,-1.8,0)
3132
	HitBox.Touched:connect(function(hit)
3133
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
3134
			Kill(hit.Parent)
3135
			hit.Parent.Humanoid.PlatformStand = true
3136
		end
3137
	end)
3138
	
3139
	local HitBox2 = Instance.new("Part",larm)
3140
	HitBox2.Size = Vector3.new(1,5,1)
3141
	HitBox2.CanCollide = false
3142
	HitBox2.Transparency = 1
3143
	local HitBox22 = Instance.new("Weld",HitBox2)
3144
	HitBox22.Part0 = larm
3145
	HitBox22.Part1 = HitBox2
3146
	HitBox22.C0 = CFrame.new(0,-1.8,0)
3147
	HitBox2.Touched:connect(function(hit)
3148
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
3149
			Kill(hit.Parent)
3150
			hit.Parent.Humanoid.PlatformStand = true
3151
		end
3152
		end)
3153
3154
	for i = 1,40 do
3155
		torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3156
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
3157
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
3158
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
3159
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
3160
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
3161
	root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
3162
	 if Debounces.on == false then break end
3163
                wait()
3164
	end
3165
	kiblade.Transparency = 1
3166
	kiblade2.Transparency = 1
3167
	trail.Enabled = false
3168
    trail2.Enabled = false
3169
HitBox:Destroy()
3170
HitBox2:Destroy()
3171
    hum.WalkSpeed = 5
3172
	attack = false
3173
	NoAnims = false
3174
end
3175
	
3176
	
3177
	
3178
	
3179
function hito(partoz, magn, dmg, debtim)
3180
    for _, guy in pairs(workspace:GetChildren()) do
3181
      if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
3182
        do
3183
          local humz = guy:FindFirstChildOfClass("Humanoid")
3184
          local hed = guy:FindFirstChild("Head")
3185
          humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
3186
          local db = Instance.new("StringValue")
3187
          db.Name = "alabo"
3188
          db.Parent = hed
3189
          delay(debtim, function()
3190
            db:Destroy()
3191
          end)
3192
        end
3193
      end
3194
    end
3195
  end
3196
end
3197
	
3198
	
3199
	
3200
	ang = CFrame.Angles
3201
rd = math.rad
3202
rd2 = math.random
3203
ov = false
3204
3205
3206
3207
nooutline = function(i)	
3208
	i.TopSurface = 10
3209
end
3210
makepart = function(l, m, n, o, p, q, r)	
3211
	local s = Instance.new("Part")
3212
	s.BrickColor = BrickColor.new(l)
3213
	s.Name = m
3214
	s.Transparency = o
3215
	nooutline(s)
3216
	s.Reflectance = n
3217
	s.Material = p
3218
	s.Anchored = true
3219
	s.CanCollide = false
3220
	s.Locked = true
3221
	s.CFrame = r
3222
	s.Size = Vector3.new(0.2, 0.2, 0.2)
3223
	s.Parent = q
3224
	return s
3225
end
3226
3227
makemesh = function(t, u, v, w)	
3228
	local x = Instance.new("SpecialMesh")
3229
	x.MeshType = t
3230
	x.Scale = u
3231
	if t == "FileMesh" then
3232
		x.MeshId = v
3233
	end
3234
	x.Parent = w
3235
	return x
3236
end
3237
3238
local H = {}
3239
3240
3241
	Barrage = function()
3242
	modz = Instance.new("Model")
3243
	modz.Name = "efx"
3244
	modz.Parent = char	
3245
	ov = true
3246
	hum.AutoRotate = false
3247
	local aN = nil
3248
	local a9 = true
3249
	local aa = {}
3250
	local ab = {}
3251
	local b7 = {}
3252
	for j = 1, 16 do
3253
		local ac = Instance.new("Part")
3254
		nooutline(ac)
3255
		ac.Anchored = true
3256
		ac.Locked = true
3257
		ac.CanCollide = false
3258
		ac.Material = "Neon"
3259
		ac.Size = Vector3.new(1, 1, 1)
3260
		ac.Transparency = 1
3261
		ac.CFrame = CFrame.new(0, 1000, 0)
3262
		ac.Parent = modz
3263
		ac.BrickColor = BrickColor.new("Really blue")
3264
		makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
3265
		table.insert(aa, ac)
3266
	end
3267
	for j = 1, 40 do
3268
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3269
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
3270
		table.insert(ab, a3)
3271
	end
3272
	for j = 1, 30 do
3273
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3274
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
3275
		table.insert(b7, a3)
3276
	end
3277
	local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
3278
	local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
3279
	for I,aO in pairs(H) do
3280
		if aO.Parent == rarm or aO.Parent == larm then
3281
			aN = aO.Transparency
3282
			aO.Transparency = 1
3283
		end
3284
	end
3285
	local a8 = Instance.new("BodyGyro")
3286
	a8.MaxTorque = Vector3.new(1050, 3000, 750)
3287
	a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3288
	a8.P = 580000
3289
	a8.D = 250
3290
	a8.Parent = root
3291
	coroutine.resume(coroutine.create(function()		
3292
		while a8 do
3293
			swait()
3294
			a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3295
		end
3296
	end))
3297
	local af = 0
3298
	local ag = 0
3299
	repeat
3300
			ag = ag + 1
3301
			if af == 0 then
3302
				af = 1
3303
			else
3304
				af = af % 14 + 1
3305
			end
3306
		coroutine.resume(coroutine.create(function()		
3307
		local ah = aa[af]
3308
		local ai = ab[af]
3309
		local aj = ab[af + 14]
3310
		local ba = b7[af]
3311
		ah.Size = Vector3.new(1, 1, 2)
3312
		ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
3313
		ah.Transparency = 0.25
3314
		ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
3315
		ai.Transparency = 0.35
3316
		ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
3317
		aj.Transparency = 0.45
3318
		aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3319
		aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
3320
		if af % 2 == 1 then
3321
			ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
3322
		else
3323
			if af % 2 == 0 then
3324
				ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
3325
			end
3326
		end
3327
		ba.CFrame = ah.CFrame * cf(0, 0, -8)
3328
		ba.Transparency = 0.4
3329
		ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3330
		local bb = ah.CFrame * cf(0, 0, -5)
3331
		local bc = aj.CFrame * cf(0, -0.1, 0)
3332
		local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
3333
		local ak = false
3334
		for j = 1, 12 do
3335
			swait()
3336
			local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
3337
			local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
3338
			if a1 and ak == false then
3339
				ak = true
3340
				local a3 = makepart("Really blue", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
3341
				do
3342
					local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
3343
					game.Debris:AddItem(a3, 0.5)
3344
					local a5 = rd2(1, 12)
3345
					if a5 == 6 then
3346
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
3347
					else
3348
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
3349
					end
3350
					coroutine.resume(coroutine.create(function()			
3351
			for I = 1, 4 do
3352
				swait()
3353
				a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
3354
				a3.Transparency = a3.Transparency + 0.2
3355
			end
3356
			a3:Destroy()
3357
		end))
3358
				end
3359
			end
3360
					ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
3361
					ah.CFrame = ah.CFrame:lerp(bb, 1)
3362
					ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
3363
					ah.Transparency = ah.Transparency + 0.0725
3364
					ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
3365
					ai.Transparency = ai.Transparency + 0.06
3366
					aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
3367
					aj.CFrame = aj.CFrame:lerp(bc, 0.3)
3368
					aj.Transparency = aj.Transparency + 0.05
3369
					ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
3370
					ba.CFrame = ba.CFrame:lerp(bd, 0.3)
3371
					ba.Transparency = ba.Transparency + 0.06
3372
		end
3373
	end))
3374
			swait()
3375
		until ov == false
3376
	for I,aO in pairs(H) do
3377
		if aO.Parent == rarm or aO.Parent == larm then
3378
			aO.Transparency = aN
3379
		end
3380
	end
3381
	b8:Destroy()
3382
	b9:Destroy()
3383
	a8:Destroy()
3384
	hum.AutoRotate = true
3385
	ov = false
3386
	wait(1)
3387
	for I,al in pairs(aa) do
3388
		al:Destroy()
3389
	end
3390
	for I,am in pairs(ab) do
3391
		am:Destroy()
3392
	end
3393
	for I,be in pairs(b7) do
3394
		be:Destroy()
3395
	end
3396
	end
3397
	
3398
	
3399
	
3400
	
3401
	
3402
	
3403
	function Kneel()
3404
		
3405
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
3406
        if v:FindFirstChild('Humanoid') then
3407
	
3408
	hum2 = v:FindFirstChild('Humanoid')
3409
    hum2.PlatformStand=true
3410
   
3411
end
3412
end
3413
	end
3414
	
3415
--[[mouse.KeyDown:connect(function(key)
3416
	if key == "l" and Trans == false and Strength then
3417
		Transformation()
3418
		Trans = true
3419
	end
3420
end)]]
3421
3422
3423
3424
mouse.KeyDown:connect(function(key)
3425
	if key == "z" then
3426
		GrabAndDrag()
3427
	end
3428
end)
3429
3430
3431
mouse.KeyDown:connect(function(key)
3432
	if key == "x"  then
3433
		AirSlam()
3434
	end
3435
end)
3436
3437
3438
3439
mouse.KeyDown:connect(function(key)
3440
	if key == "c"  then
3441
		SpinSlice()
3442
	end
3443
end)
3444
3445
3446
mouse.KeyDown:connect(function(key)
3447
	if key == "p"  and Full == false then
3448
		FullPower()
3449
	end
3450
end)
3451
3452
mouse.KeyDown:connect(function(key)
3453
	if key == "1"  then
3454
		Sound("rbxassetid://966268002",char,90,1,false)
3455
		Kneel()
3456
	end
3457
end)
3458
3459
mouse.KeyDown:connect(function(key)
3460
	if key == "v" then
3461
		if ov == false then
3462
		hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
3463
        wait()
3464
        local ChatService = game:GetService("Chat")
3465
	    wait()
3466
        local ChatService = game:GetService("Chat")
3467
coroutine.resume(coroutine.create(function()
3468
s = 0
3469
repeat
3470
s = s + 1
3471
Barrage()
3472
wait()
3473
until not ov
3474
end))
3475
if Full == true then
3476
coroutine.resume(coroutine.create(function()
3477
s = 0
3478
repeat
3479
s = s + 1
3480
Barrage()
3481
wait()
3482
until not ov
3483
end))	
3484
end
3485
mouse.KeyUp:connect(function(key)
3486
	if key == "v" then
3487
		wait(0.4)
3488
		ov = false
3489
		wait(0.1)
3490
end
3491
end)
3492
end
3493
end
3494
end)
3495
3496
3497
3498
3499
3500
-----animations-----
3501
3502
game:GetService("RunService").RenderStepped:connect(function()
3503
char.Humanoid.FreeFalling:connect(function(f)
3504
if f then
3505
ffing = true
3506
else
3507
ffing = false
3508
end
3509
end)
3510
sine = sine + add
3511
if ffing==true then
3512
anim="jump"
3513
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
3514
anim="idle"
3515
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
3516
anim = "walk"
3517
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
3518
anim = "run"
3519
end
3520
3521
if NoAnims==false then
3522
if anim=="idle" then
3523
add=0.5
3524
if trans == false then
3525
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3526
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3527
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3528
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
3529
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
3530
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
3531
else
3532
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3533
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
3534
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
3535
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
3536
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
3537
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
3538
end
3539
3540
elseif anim=="walk" then
3541
add=0.5
3542
if trans == false then
3543
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
3544
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
3545
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
3546
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
3547
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
3548
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
3549
else
3550
change = 0.5
3551
          larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
3552
          rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
3553
          hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
3554
          lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
3555
          rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
3556
          torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
3557
end
3558
3559
elseif anim=="run" then
3560
add=0.5
3561
if trans == false then
3562
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
3563
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
3564
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
3565
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
3566
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
3567
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
3568
else
3569
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
3570
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3571
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3572
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
3573
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
3574
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
3575
end
3576
3577
elseif anim=="jump" then
3578
add=0.5
3579
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
3580
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
3581
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
3582
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
3583
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
3584
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
3585
3586
end
3587
end
3588
                 
3589
end)
3590
3591
3592
--[[l = game.Lighting
3593
l.TimeOfDay = 1
3594
game.Lighting.Ambient = Color3.new(0,0,0)
3595
l.Brightness = 0.1]]--