View difference between Paste ID: ShCL8Ywf and TmyKLhXn
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	print("FE Compatibility code by Mokiros")
6
	local rp = RealPlayer
7
	script.Parent = rp.Character
8
	
9
	--RemoteEvent for communicating
10
	local Event = Instance.new("RemoteEvent")
11
	Event.Name = "UserInput_Event"
12
13
	--Fake event to make stuff like Mouse.KeyDown work
14
	local function fakeEvent()
15
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16
		t.connect = t.Connect
17
		return t
18
	end
19
20
	--Creating fake input objects with fake variables
21
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25
	end}
26
	--Merged 2 functions into one by checking amount of arguments
27
	CAS.UnbindAction = CAS.BindAction
28
29
	--This function will trigger the events that have been :Connect()'ed
30
	local function te(self,ev,...)
31
		local t = m[ev]
32
		if t and t._fakeEvent then
33
			for _,f in pairs(t.Functions) do
34
				f(...)
35
			end
36
		end
37
	end
38
	m.TrigEvent = te
39
	UIS.TrigEvent = te
40
41
	Event.OnServerEvent:Connect(function(plr,io)
42
	    if plr~=rp then return end
43
		m.Target = io.Target
44
		m.Hit = io.Hit
45
		if not io.isMouse then
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local Mouse = Player:GetMouse()
66
	local UIS = game:GetService("UserInputService")
67
	local input = function(io,a)
68
		if a then return end
69
		--Since InputObject is a client-side instance, we create and pass table instead
70
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71
	end
72
	UIS.InputBegan:Connect(input)
73
	UIS.InputEnded:Connect(input)
74
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
85
	----Sandboxed game object that allows the usage of client-side methods and services
86
	--Real game object
87
	local _rg = game
88
89
	--Metatable for fake service
90
	local fsmt = {
91
		__index = function(self,k)
92
			local s = rawget(self,"_RealService")
93
			if s then return s[k] end
94
		end,
95
		__newindex = function(self,k,v)
96
			local s = rawget(self,"_RealService")
97
			if s then s[k]=v end
98
		end,
99
		__call = function(self,...)
100
			local s = rawget(self,"_RealService")
101
			if s then return s(...) end
102
		end
103
	}
104
	local function FakeService(t,RealService)
105
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106
		return setmetatable(t,fsmt)
107
	end
108
109
	--Fake game object
110
	local g = {
111
		GetService = function(self,s)
112
			return self[s]
113
		end,
114
		Players = FakeService({
115
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116
		},"Players"),
117
		UserInputService = FakeService(UIS,"UserInputService"),
118
		ContextActionService = FakeService(CAS,"ContextActionService"),
119
	}
120
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121
	g.service = g.GetService
122
	
123
	g.RunService = FakeService({
124
		RenderStepped = _rg:GetService("RunService").Heartbeat,
125
		BindToRenderStep = function(self,name,_,fun)
126
127
		end,
128
		UnbindFromRenderStep = function(self,name)
129
			self._btrs[name]:Disconnect()
130
		end,
131
	},"RunService")
132
133
	setmetatable(g,{
134
		__index=function(self,s)
135
			return _rg:GetService(s) or typeof(_rg[s])=="function"
136
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137
		end,
138
		__newindex = fsmt.__newindex,
139
		__call = fsmt.__call
140
	})
141
	--Changing owner to fake player object to support owner:GetMouse()
142
	game,owner = g,g.Players.LocalPlayer
143
end
144
--------------------------------------------------
145
146-
--God Slayer 
146+
--Halloween Slayer 
147
148
149
150
151
--[[wait(0.1)
152
-------------------------------
153
local p=game:service("Players").LocalPlayer
154
if  p.Name=="Reruderu" then
155
        p:Kick("go away, skid who uses crappy decompilers,v3rmie skid.")
156
elseif p.Name=="Rerumu" then
157
        p:Kick("no thanks, skid who uses crappy decompilers that they didnt make.also being an pathetic v3rmie kid")
158
end]]
159
local p=game:service("Players").LocalPlayer
160
local char=p.Character
161
script.Parent=char 
162
local torso=char.Torso
163
local hed=char.Head
164
local larm=char:FindFirstChild("Left Arm")
165
local rarm=char:FindFirstChild("Right Arm")
166
local lleg=char:FindFirstChild("Left Leg")
167
local rleg=char:FindFirstChild("Right Leg") 
168
local hum=char.Humanoid
169
local cam=workspace.CurrentCamera
170
local root=char.HumanoidRootPart
171
local mouse=p:GetMouse()
172
local hb=game:service("RunService").Heartbeat
173
local rs=game:service("RunService").Stepped
174
hum.MaxHealth=math.huge
175
hum.Health=hum.MaxHealth
176
local pgui=Instance.new("ScreenGui",p.PlayerGui)
177
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}
178
local run = 30
179
local normal = 16
180
local color = "Really black"
181-
local color2 = "Really blue"
181+
local color2 = "Deep orange"
182-
local righteyebrickcolor = "Really blue"
182+
local righteyebrickcolor = "Deep orange"
183-
local NumCol = 0,0,255
183+
local NumCol = 255,176,0
184
local GodSlayer = true
185
local Full = false
186
hum.WalkSpeed = 5
187
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
188
-------------------
189
local drinks="10722059"
190
local m="41707332"
191
local tx="41708701"
192
local ragesong="590156873"
193
local breaks="368270172"
194
local scream="527276541"
195
local Shirt = "rbxassetid://427841675"
196
local Pants = "rbxassetid://428282416"
197
-------------------
198
199
200
function swait(num)
201
if num==0 or num==nil then
202
game:service'RunService'.Stepped:wait(0)
203
else
204
for i=0,num do
205
game:service'RunService'.Stepped:wait(0)
206
end
207
end
208
end
209
210
function chatfunc(text)
211
local chat = coroutine.wrap(function()
212
if char:FindFirstChild("TalkingBillBoard")~= nil then
213
char:FindFirstChild("TalkingBillBoard"):destroy()
214
end
215
local naeeym2 = Instance.new("BillboardGui",char)
216
naeeym2.Size = UDim2.new(0,100,0,40)
217
naeeym2.StudsOffset = Vector3.new(0,3,0)
218
naeeym2.Adornee = char.Head
219
naeeym2.Name = "TalkingBillBoard"
220
local tecks2 = Instance.new("TextLabel",naeeym2)
221
tecks2.BackgroundTransparency = 1
222
tecks2.BorderSizePixel = 0
223
tecks2.Text = ""
224
tecks2.Font = "Fantasy"
225
tecks2.TextSize = 30
226
tecks2.TextStrokeTransparency = 0
227
tecks2.TextColor3 = Color3.new(.6,0,0)
228
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
229
tecks2.Size = UDim2.new(1,0,0.5,0)
230
local tecks3 = Instance.new("TextLabel",naeeym2)
231
tecks3.BackgroundTransparency = 1
232
tecks3.BorderSizePixel = 0
233
tecks3.Text = ""
234
tecks3.Font = "Fantasy"
235
tecks3.TextSize = 30
236
tecks3.TextStrokeTransparency = 0
237-
tecks3.TextColor3 = Color3.new(0,0,255)
237+
tecks3.TextColor3 = Color3.new(255,176,0)
238
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
239
tecks3.Size = UDim2.new(1,0,0.5,0)
240
for i = 1,string.len(text),1 do
241
tecks2.Text = string.sub(text,1,i)
242
tecks3.Text = string.sub(text,1,i)
243
wait(0.01)
244
end
245
wait(2)
246
for i = 1, 50 do
247
swait()
248
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
249
tecks2.Rotation = tecks2.Rotation - .8
250
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
251
tecks2.TextTransparency = tecks2.TextTransparency + .04
252
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
253
tecks3.Rotation = tecks2.Rotation + .8
254
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
255
tecks3.TextTransparency = tecks2.TextTransparency + .04
256
end
257
naeeym2:Destroy()
258
end)
259
chat()
260
end
261
function onChatted(msg)
262
chatfunc(msg)
263
end
264
p.Chatted:connect(onChatted)
265
coroutine.resume(coroutine.create(function()
266
wait(2)
267
chatfunc("Allow me to show you what happens when I break my limiter..")
268
end))
269
270
271
local s0=Instance.new("Sound",char)
272
s0.SoundId="rbxassetid://"..ragesong
273
s0.Volume=1999
274
s0.Pitch=1
275
s0.Looped=true
276
277
278
local s02=Instance.new("Sound",char)
279
s02.SoundId="rbxassetid://978788235"
280
s02.Volume=1999
281
s02.Pitch=1
282
s02.Looped=false
283
s02:Play()
284
285
function Sound(ID,Parent,Vol,Pitch,Loop)
286
	local S0 = Instance.new("Sound",Parent)
287
	S0.SoundId = ID
288
	S0.Volume = Vol
289
	S0.Looped = Loop
290
	S0.Pitch = Pitch
291
	wait(.1)
292
	S0:Play()
293
end
294
function weld(a, b, acf)
295
	local w = Instance.new("Weld", a)
296
	w.Part0 = a
297
	w.Part1 = b
298
	w.C0 = acf
299
end
300
301
302
wait(9)
303
char.Head.face:Destroy()
304
local reye = Instance.new("Part", char)
305
reye.CanCollide = false
306
reye.BrickColor = BrickColor.new(righteyebrickcolor)
307
reye.Material = "Neon"
308
reye.Size = Vector3.new(.15,.15,.15)
309
weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
310
m1 = Instance.new("SpecialMesh", reye)
311
m1.MeshType = "Sphere"
312
m1.Scale = Vector3.new(0.9,0.9,0.9)
313
reye.Locked = true
314
reye.Name = "re"
315
316
local leye = Instance.new("Part", char)
317
leye.CanCollide = false
318
leye.BrickColor = BrickColor.new(righteyebrickcolor)
319
leye.Material = "Neon"
320
leye.Size = Vector3.new(.15,.15,.15)
321
weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
322
local m = Instance.new("SpecialMesh", leye)
323
m.MeshType = "Sphere"
324
m.Scale = Vector3.new(0.9,0.9,0.9)
325
leye.Locked = true
326
leye.Name = "le"
327
328
coroutine.resume(coroutine.create(function(Part,Weld)
329
while Part.Parent~=nil do
330
wait(2)
331
for i=0,1,0.2 do
332
wait()
333
m.Scale = Vector3.new(.9,.9-.8*i,.5)
334
end
335
for i=0,1,0.2 do
336
wait()
337
m.Scale = Vector3.new(.9,.9+.8*i,.5)
338
end
339
end
340
end),leye,weld)
341
342
coroutine.resume(coroutine.create(function(Part,Weld)
343
while Part.Parent~=nil do
344
wait(2)
345
for z=0,1,0.2 do
346
wait()
347
m1.Scale = Vector3.new(.9,.9-.8*z,.5)
348
end
349
for z=0,1,0.2 do
350
wait()
351
m1.Scale = Vector3.new(.9,.9+.8*z,.5)
352
end
353
end
354
end),reye,weld)
355
356
357
358
function fnt(pos,dist,splr)
359
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
360
        local list = {}
361
        for i,v in pairs(workspace:GetChildren())do
362
            if v:IsA("Model")then
363
                if v:findFirstChild("Torso")then
364
                    if v ~= char then
365
                        if(v.Torso.Position -pos).magnitude <= dist then
366
                            table.insert(list,v)
367
                        end
368
                    end
369
                end
370
            end
371
        end
372
    return list
373
end
374
function fnp(pos,dist,splr)
375
    if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
376
        local list = {}
377
        for i,v in pairs(workspace:GetChildren())do
378
            if v:IsA("Part")then
379
                    if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
380
                        if(v.Position -pos).magnitude <= dist then
381
                            table.insert(list,v)
382
                        end
383
                end
384
            end
385
        end
386
    return list
387
end
388
fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
389
local wld = Instance.new("Weld", wp1)
390
wld.Part0 = wp0
391
wld.Part1 = wp1
392
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
393
end
394
local trans=false
395
------------------------------------
396
------------------------------------
397
anim="idle"
398
local sine=0
399
local add=0
400
local value=0
401
local ffing=false
402
local msgs=0
403
attack=false
404
NoAnims=false
405
----preparing character----
406
407
408
409
410
411
412
function NoOutline(Part)
413
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
414
end 
415
function lerp(a, b, t) -- Linear interpolation
416
        return a + (b - a)*t
417
end
418
419
function slerp(a, b, t) --Spherical interpolation
420
        dot = a:Dot(b)
421
        if dot > 0.99999 or dot < -0.99999 then
422
                return t <= 0.5 and a or b
423
        else
424
                r = math.acos(dot)
425
                return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
426
        end
427
end
428
429
function matrixInterpolate(a, b, t)
430
        local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
431
        local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
432
        local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
433
        local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
434
        local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
435
        local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
436
        local t = v1:Dot(v2)
437
        if not (t < 0 or t == 0 or t > 0) then         -- Failsafe
438
                return CFrame.new()
439
        end
440
        return CFrame.new(
441
        v0.x, v0.y, v0.z,
442
        v1.x, v1.y, v1.z,
443
        v2.x, v2.y, v2.z,
444
        v3.x, v3.y, v3.z)
445
end
446
----------------------------------------------------
447
function genWeld(a,b)
448
    local w = Instance.new("Weld",a)
449
    w.Part0 = a
450
    w.Part1 = b
451
    return w
452
end
453
function weld(a, b)
454
    local weld = Instance.new("Weld")
455
    weld.Name = "W"
456
    weld.Part0 = a
457
    weld.Part1 = b
458
    weld.C0 = a.CFrame:inverse() * b.CFrame
459
    weld.Parent = a
460
    return weld;
461
end
462
----------------------------------------------------
463
function Lerp(c1,c2,al)
464
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
465
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
466
for i,v in pairs(com1) do
467
com1[i] = v+(com2[i]-v)*al
468
end
469
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
470
end
471
----------------------------------------------------
472
473
474
475
fw(torso, larm, -1.5, 0.5, 0)
476
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
477
fw(torso, rarm, 1.5, 0.5, 0)
478
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
479
fw(torso, hed, 0, 1.5, 0)
480
fw(torso, lleg, -0.5, -1, 0)
481
lleg.Weld.C1 = CFrame.new(0, 1, 0)
482
fw(torso, rleg, 0.5, -1, 0)
483
rleg.Weld.C1 = CFrame.new(0, 1, 0)
484
fw(root, torso, 0, -1, 0)
485
torso.Weld.C1 = CFrame.new(0, -1, 0)
486
--------------rot------------
487
local r=0
488
local radd=0.04
489
coroutine.wrap(function()
490
while rs:wait() do
491
r=r+radd
492
end
493
end)()
494
attack = false
495
-----------------------------
496
497
-----------------------------
498
499
500
                if trans == false then
501
                        attack=true
502
                        NoAnims=true
503
                        hum.WalkSpeed=0
504
                        
505
                        local fx = Instance.new("Sound",char)
506
                        fx.SoundId="rbxassetid://"..drinks
507
                        fx.Volume=0
508
                        fx.Pitch=1
509
                        fx:Play()
510
                        
511
                       
512
                        
513
                        
514
                        fx.SoundId="rbxassetid://"..breaks
515
                        fx.Volume=10
516
                        fx:Play()
517
                        
518
                       
519
                       
520
                        
521
                        print("drinked")
522
                        
523
                      
524
                        
525
                        coroutine.wrap(function()
526
                                while trans == false do
527
                                        wait(0.2)
528
                                        local ef = Instance.new("Part",char)
529
                                        ef.Name="pulse"
530
                                        ef.BrickColor=BrickColor.new(color2)
531
                                        ef.Material="Neon"
532
                                        ef.Shape="Ball"
533
                                        ef.CanCollide=false
534
                                        ef.Anchored=true
535
                                        ef.Size=Vector3.new(1,1,1)
536
                                        ef.CFrame=root.CFrame
537
                                        
538
                                        local ef2 = ef:Clone()
539
                                        ef2.Parent=ef
540
                                        ef2.BrickColor=BrickColor.new(color)
541
                                        ef2.Name="call"
542
                                        ef2.Size=Vector3.new(1,1,1)
543
                                        local em=Instance.new("SpecialMesh",ef2)
544
                                        em.MeshId="rbxassetid://3270017"
545
                                        em.Scale=Vector3.new(1,1,0.0001)
546
                                        
547
                                        local ef3 = ef2:Clone()
548
                                        ef3.Parent=ef
549
                                        ef3.Name="aura"
550
                                        ef3.CFrame=root.CFrame
551
                                        local em2=ef3.Mesh
552
                                        em2.MeshId="rbxassetid://20329976"
553
                                        em2.Scale=Vector3.new(1,0.4,1)
554
                                        
555
                                        local ef4 = ef3:Clone()
556
                                        ef4.Parent=ef
557
                                        local em3=ef4.Mesh
558
                                        
559
                                        local ef5 = ef2:Clone()
560
                                        ef5.Parent=ef
561
                                        local em4=ef5.Mesh
562
                                        
563
                                        coroutine.wrap(function()
564
                                                for i = 1, 60 do
565
                                                        rs:wait()
566
                                                        ef.Size=ef.Size+Vector3.new(1,1,1)
567
                                                        ef.Transparency=ef.Transparency+1/60
568
                                                        ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
569
                                                        ef2.Transparency=ef2.Transparency+1/60
570
                                                        em.Scale=em.Scale+Vector3.new(1,1,0)
571
                                                        ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
572
                                                        ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
573
                                                        ef3.Transparency=ef3.Transparency+1/60
574
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
575
                                                        em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
576
                                                        ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
577
                                                        ef4.Transparency=ef4.Transparency+1/60
578
                                                        ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
579
                                                        em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
580
                                                        ef5.Transparency=ef5.Transparency+1/60
581
                                                        em4.Scale=em4.Scale+Vector3.new(1,1,0)
582
                                                        ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
583
                                                end
584
                                                ef:Destroy()
585
                                                ef2:Destroy()
586
                                                ef3:Destroy()
587
                                                ef4:Destroy()
588
                                                ef5:Destroy()
589
                                        end)()
590
                                end
591
                                        local ef = Instance.new("Part",char)
592
                                        ef.Name="pulse"
593
                                        ef.BrickColor=BrickColor.new(color2)
594
                                        ef.Material="Neon"
595
                                        ef.Shape="Ball"
596
                                        ef.CanCollide=false
597
                                        ef.Anchored=true
598
                                        ef.Size=Vector3.new(1,1,1)
599
                                        ef.CFrame=root.CFrame
600
                                        local em=Instance.new("SpecialMesh",ef)
601
                                        em.MeshId="rbxassetid://9982590"
602
                                        em.Scale=Vector3.new(1,0.3,1)
603
                                        
604
                                        local ef2 = ef:Clone()
605
                                        ef2.Parent=ef
606
                                        ef2.Name="aura"
607
                                        ef2.CFrame=root.CFrame
608
                                        ef2.Mesh:Destroy()
609
                                        
610
                                        local ef3 = ef:Clone()
611
                                        ef3.Parent=ef
612
                                        ef3.Name="aura"
613
                                        ef3.CFrame=root.CFrame
614
                                        ef3.Mesh:Destroy()
615
                                        local em2=Instance.new("SpecialMesh",ef3)
616
                                        em2.MeshId="rbxassetid://20329976"
617
                                        em2.Scale=Vector3.new(1,0.3,1)
618
                                        
619
                                        coroutine.wrap(function()
620
                                                for i = 1, 250 do
621
                                                        ef.Size=ef.Size+Vector3.new(2,2,2)
622
                                                        ef.Transparency=ef.Transparency+1/160
623
                                                        em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
624
                                                        ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
625
                                                        ef3.Transparency=ef3.Transparency+1/160
626
                                                        ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
627
                                                        em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
628
                                                        ef2.Size=ef2.Size+Vector3.new(2,2,2)
629
                                                        ef2.Transparency=ef2.Transparency+1/160
630
                                                        rs:wait()
631
                                                end
632
                                                ef:Destroy()
633
                                                ef2:Destroy()
634
                                                ef3:Destroy()
635
                                                s02:Destroy()
636
637
                                        end)()
638
                        end)()
639
                        
640
                        for i = 1, 270 do
641
                                torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
642
                                rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
643
                                lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
644
                                rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
645
                                larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
646
                                hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
647
                                rs:wait()
648
                        end
649
                        wait(8.7)
650
                        s0:Play()
651
                        trans=true
652
                        print("screamed")
653
						for i,v in pairs(char:GetChildren()) do
654
							if v:FindFirstChild("Handle") then
655
								v.Handle.Transparency=1
656
							end
657
						end
658
                        hum.WalkSpeed=normal
659
                        NoAnims=false
660
                        attack=false
661
                end
662
     
663
664
------effects------
665
666
ypcall(function()
667
shirt = Instance.new("Shirt", char)
668
shirt.Name = "Shirt"
669
pants = Instance.new("Pants", char)
670
pants.Name = "Pants"
671
char.Shirt.ShirtTemplate = Shirt
672
char.Pants.PantsTemplate = Pants
673
end)
674
675
char["Body Colors"].HeadColor = BrickColor.new("Dirt brown")
676
char["Body Colors"].TorsoColor = BrickColor.new("Dirt brown")
677
char["Body Colors"].LeftArmColor = BrickColor.new("Dirt brown")
678
char["Body Colors"].RightArmColor = BrickColor.new("Dirt brown")
679
680
681
 
682
hum = char.Humanoid
683
 
684
function CreateMesh(parent, id, x, y, z, texture)
685
local m=Instance.new("SpecialMesh", parent)
686
m.MeshType = "FileMesh"
687
m.MeshId=id
688
if texture ~= nil then
689
m.TextureId=texture
690
end
691
m.Scale = Vector3.new(x,y,z)
692
end
693
 
694
 local euler = CFrame.fromEulerAnglesXYZ
695
 
696
Hat=function()
697
hat = Instance.new("Part", char)
698
CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
699
hat.Name = "PurpleHair"
700
hat.Locked = true
701
hat.BrickColor = BrickColor.new("Dark indigo")
702
hat.CanCollide=true
703
hat.Size=Vector3.new(1,1,1)
704
hatw = Instance.new("Weld",hat)
705
hatw.Part0=hat
706
hatw.Part1=char['Head']
707
hatw.C0=CFrame.new(-0.1,-0.4,0)
708
hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
709
end
710
 
711
712
Hat2=function()
713
hat2 = Instance.new("Part", char)
714
CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
715
hat2.Name = "DisguiseScarf"
716
hat2.Locked = true
717
hat2.BrickColor = BrickColor.new("Dark indigo")
718
hat2.CanCollide=true
719
hat2.Size=Vector3.new(1,1,1)
720
hat2w = Instance.new("Weld",hat2)
721
hat2w.Part0=hat2
722
hat2w.Part1=char['Head']
723
hat2w.C0=CFrame.new(0,0.5,0)
724
hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
725
end
726
727
Hat()
728
Hat2()
729
730
hum.MaxHealth=math.huge
731
hum.Health=hum.MaxHealth
732
733
734
Debounces = {
735
CanAttack = true;
736
NoIdl = false;
737
Slashing = false;
738
Slashed = false;
739
RPunch = false;
740
RPunched = false;
741
LPunch = false;
742
LPunched = false;
743
}
744
local Touche = {char.Name, }
745
746
747
748
749
750-
CV="Really blue"
750+
CV="Deep orange"
751
	
752
local txt = Instance.new("BillboardGui", char)
753
txt.Adornee = char .Head
754
txt.Name = "_status"
755
txt.Size = UDim2.new(2, 0, 1.2, 0)
756
txt.StudsOffset = Vector3.new(-9, 11, 0)
757
local text = Instance.new("TextLabel", txt)
758
text.Size = UDim2.new(10, 0, 7, 0)
759
text.FontSize = "Size24"
760
text.TextScaled = true
761
text.TextTransparency = 0
762
text.BackgroundTransparency = 1 
763
text.TextTransparency = 0
764
text.TextStrokeTransparency = 0
765
text.Font = "Antique"
766-
text.TextStrokeColor3 = Color3.new(0,0,255)
766+
text.TextStrokeColor3 = Color3.new(255,176,0)
767
768
v=Instance.new("Part")
769
v.Name = "ColorBrick"
770
v.Parent=p.Character
771
v.FormFactor="Symmetric"
772
v.Anchored=true
773
v.CanCollide=false
774
v.BottomSurface="Smooth"
775
v.TopSurface="Smooth"
776
v.Size=Vector3.new(10,5,3)
777
v.Transparency=1
778
v.CFrame=char.Torso.CFrame
779
v.BrickColor=BrickColor.new(CV)
780
v.Transparency=1
781
text.TextColor3 = Color3.new(0,0,0)
782
v.Shape="Block"
783-
text.Text = "God Slayer"
783+
text.Text = "Halloween Slayer"
784
785
786
787
788
789
790
791
rarm.Touched:connect(function(ht)
792
    hit = ht.Parent
793
    if ht and hit:IsA("Model") then
794
            if hit:FindFirstChild("Humanoid") then
795
                if hit.Name ~= p.Name then
796
                    if Debounces.RPunch == true and Debounces.RPunched == false then
797
                            Debounces.RPunched = true
798
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
799
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
800
                                    if Debounces.ks==true then
801
                                    z = Instance.new("Sound",hed)
802
                                    z.SoundId = "rbxassetid://588693156"
803
									z.Pitch = ptz[math.random(1,#ptz)]
804
                                    z.Volume = 20
805
                                    z:Play()
806
                                    end
807
                            wait(.2)
808
                            Debounces.RPunched = false
809
                    end
810
                end
811
            end
812
    elseif ht and hit:IsA("Hat") then
813
        if hit.Parent.Name ~= p.Name then
814
            if hit.Parent:FindFirstChild("Humanoid") then
815
                   if Debounces.RPunch == true and Debounces.RPunched == false then
816
                            Debounces.RPunched = true
817
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
818
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
819
                                    if Debounces.ks==true then
820
                                    z = Instance.new("Sound",hed)
821
                                    z.SoundId = "rbxassetid://588693156"
822
									z.Pitch = ptz[math.random(1,#ptz)]
823
                                    z.Volume = 20
824
                                    z:Play()
825
                                    end
826
                            wait(.2)
827
                Debounces.RPunched = false
828
				end
829
            end
830
        end
831
    end
832
end)
833
larm.Touched:connect(function(ht)
834
    hit = ht.Parent
835
    if ht and hit:IsA("Model") then
836
            if hit:FindFirstChild("Humanoid") then
837
                if hit.Name ~= p.Name then
838
                    if Debounces.LPunch == true and Debounces.LPunched == false then
839
                            Debounces.LPunched = true
840
                                hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
841
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
842
                                    if Debounces.ks2==true then
843
                                    z = Instance.new("Sound",hed)
844
                                    z.SoundId = "rbxassetid://588693156"
845
									z.Pitch = ptz[math.random(1,#ptz)]
846
                                    z.Volume = 20
847
                                    z:Play()
848
                                    end
849
                            wait(.2)
850
                            Debounces.LPunched = false
851
                    end
852
                end
853
            end
854
    elseif ht and hit:IsA("Hat") then
855
        if hit.Parent.Name ~= p.Name then
856
            if hit.Parent:FindFirstChild("Humanoid") then
857
                   if Debounces.LPunch == true and Debounces.LPunched == false then
858
                            Debounces.LPunched = true
859
                            hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
860
hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
861
                                    if Debounces.ks2==true then
862
                                    z = Instance.new("Sound",hed)
863
                                    z.SoundId = "rbxassetid://588693156"
864
									z.Pitch = ptz[math.random(1,#ptz)]
865
                                    z.Volume = 20
866
                                    z:Play()
867
                                    end
868
                            wait(.2)
869
                Debounces.LPunched = false
870
				end
871
            end
872
        end
873
    end
874
end)
875
876
877
878
879
880
881
882
883
local attacktype = 1
884
local attack = false
885
886
887
888
function attackone()
889
	Debounces.RPunch = true
890
Debounces.LPunch = true
891
	attack = true
892
	NoAnims = true
893
	for i = 1, 3 do
894
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)
895
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)
896
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
897
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
898
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)
899
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)
900
if Debounces.on == false then break end
901
wait()
902
end
903
	attack = false
904
	NoAnims = false
905
	Debounces.RPunch = false
906
Debounces.LPunch = false
907
end
908
909
function attacktwo()
910
	Debounces.RPunch = true
911
Debounces.LPunch = true
912
	NoAnims = true
913
	attack = true
914
	for i = 1, 3 do
915
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)
916
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)
917
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
918
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
919
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)
920
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)
921
if Debounces.on == false then break end
922
wait()
923
end
924
	attack = false
925
	NoAnims = false
926
	Debounces.RPunch = false
927
Debounces.LPunch = false
928
929
end
930
931
932
function attackthree()
933
	Debounces.RPunch = true
934
Debounces.LPunch = true
935
	NoAnims = true
936
	attack = true
937
	for i = 1, 3 do
938
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)
939
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)
940
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
941
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
942
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)
943
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)
944
if Debounces.on == false then break end
945
wait()
946
end
947
	attack = false
948
	NoAnims = false
949
	Debounces.RPunch = false
950
Debounces.LPunch = false
951
end
952
953
954
function attackfour()
955
	Debounces.RPunch = true
956
Debounces.LPunch = true
957
	NoAnims = true
958
	attack = true
959
	for i = 1, 3 do
960
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)
961
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)
962
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
963
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
964
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)
965
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)
966
if Debounces.on == false then break end
967
wait()
968
end
969
	attack = false
970
	NoAnims = false
971
	Debounces.RPunch = false
972
Debounces.LPunch = false
973
end
974
975
976
mouse.Button1Down:connect(function()
977
  if attack == false and attacktype == 1 then
978
    attacktype = 2
979
    attackone()
980
  elseif attack == false and attacktype == 2 then
981
    attacktype = 3
982
    attacktwo()
983
  elseif attack == false and attacktype == 3 then
984
    attacktype = 4
985
    attackthree()
986
  elseif attack == false and attacktype == 4 then
987
    attacktype = 1
988
    attackfour()
989
  end
990
end)
991
992
993
--[[function Transformation()
994
	hum.WalkSpeed = 0
995
	local Portal = Instance.new("Model",char)
996
local prt1 = Instance.new("Model",Portal)
997
local prt2 = Instance.new("Model",Portal)
998
local prt3 = Instance.new("Model",Portal)
999
for i = 1,7 do
1000
local p = Instance.new("Part",prt1)
1001
p.Locked = true
1002
p.Anchored = true
1003
p.Transparency = 1
1004
p.CanCollide = false
1005-
p.BrickColor = BrickColor.new("Really red")
1005+
p.BrickColor = BrickColor.new("Deep orange")
1006
p.TopSurface = 0
1007
p.Material = "Neon"
1008
p.BottomSurface = 0
1009
p.Size = Vector3.new(1,1,1)
1010
local m = Instance.new("SpecialMesh",p)
1011
m.Name = 'm'
1012
m.Scale = Vector3.new(1,1,1)
1013
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1014
end for i = 1,7 do
1015
local p = Instance.new("Part",prt2)
1016
p.Locked = true
1017
p.Anchored = true
1018
p.CanCollide = false
1019
p.Transparency = 1
1020
p.BrickColor = BrickColor.new("Really black")
1021
p.TopSurface = 0
1022
p.Material = "Neon"
1023
p.BottomSurface = 0
1024
p.Size = Vector3.new(1,1,1)
1025
local m = Instance.new("SpecialMesh",p)
1026
m.Name = 'm'
1027
m.Scale = Vector3.new(1,1,1)
1028
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1029
end for i = 1,7 do
1030
local p = Instance.new("Part",prt3)
1031
p.Locked = true
1032
p.Anchored = true
1033
p.CanCollide = false
1034
p.Transparency = 1
1035-
p.BrickColor = BrickColor.new("Really red")
1035+
p.BrickColor = BrickColor.new("Deep orange")
1036
p.TopSurface = 0
1037
p.Material = "Neon"
1038
p.BottomSurface = 0
1039
p.Size = Vector3.new(1,1,1)
1040
local m = Instance.new("SpecialMesh",p)
1041
m.Name = 'm'
1042
m.Scale = Vector3.new(1,1,1)
1043
m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
1044
end
1045
local Rot,Rate,Dist,Size = 0,65,65,1
1046
coroutine.wrap(function()
1047
while wait()do
1048
if _DEBOUNCE then break end
1049
for i,v in pairs(prt1:GetChildren())do
1050
v.Transparency = v.Transparency -0.035
1051
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
1052
v.m.Scale = Vector3.new(Size,Size,Size)
1053
end for i,v in pairs(prt2:GetChildren())do
1054
v.Transparency = v.Transparency -0.035
1055
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
1056
v.m.Scale = Vector3.new(Size,Size,Size)
1057
end for i,v in pairs(prt3:GetChildren())do
1058
v.Transparency = v.Transparency -0.035
1059
v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
1060
v.m.Scale = Vector3.new(Size,Size,Size)
1061
end
1062
Rot = Rot >= 360 and 0 or Rot +Rate
1063
end end)()
1064
wait(0.75)
1065
for i = 1,90 do
1066
Rate = Rate -(2.3/3)
1067
Dist = Dist -(1.5/3)
1068
wait()
1069
end
1070
wait(1)
1071
for i = 1,30 do
1072
Rate = Rate -(2.3/3)
1073
Dist = Dist +0.5
1074
wait()
1075
end
1076
wait(2)
1077
for i = 1,30 do
1078
Rate = Rate +(9.2/3)
1079
Dist = Dist -1.75
1080
wait()
1081
end
1082
wait(0.75)
1083
for i = 1,6 do
1084
Rate = Rate -4
1085
Dist = Dist +0.5
1086
wait()
1087
end
1088
Rate = 0
1089
Dist = 6
1090
wait(2)
1091
for i = 1,90 do
1092
Rate = Rate +0.5
1093
Dist = Dist +0.2
1094
wait()
1095
end
1096
wait(1)
1097
for i = 1,30 do
1098
Dist = Dist -(24/30)
1099
Size = Size +0.05
1100
wait()
1101
end
1102
-- Scream in pain
1103
1104
1105
coroutine.resume(coroutine.create(function()
1106
	wait(2)
1107
		game.Lighting.TimeOfDay = "00:00:00"
1108
		
1109
		hat.Transparency = 1
1110
		Hat3=function()
1111
hat3 = Instance.new("Part", char)
1112
CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
1113
hat3.Name = "RedHair"
1114
hat3.Locked = true
1115
hat3.BrickColor = BrickColor.new("Maroon")
1116
hat3.CanCollide=true
1117
hat3.Size=Vector3.new(1,1,1)
1118
hat3w = Instance.new("Weld",hat3)
1119
hat3w.Part0=hat3
1120
hat3w.Part1=char['Head']
1121
hat3w.C0=CFrame.new(-0.1,-0.4,0)
1122
hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
1123
end
1124
 
1125
		
1126
	
1127
	ypcall(function()
1128
shirt = Instance.new("Shirt", char)
1129
shirt.Name = "Shirt"
1130
pants = Instance.new("Pants", char)
1131
pants.Name = "Pants"
1132
char.Shirt.ShirtTemplate = "rbxassetid://519769931"
1133
char.Pants.PantsTemplate = "rbxassetid://519770250"
1134
	end)
1135
		
1136
ragesong2 = "492913801"
1137
s02=Instance.new("Sound",char)
1138
s02.SoundId="rbxassetid://"..ragesong2
1139
s02.Volume=1999
1140
s02.Pitch=1
1141
s02.Looped=true
1142-
righteyebrickcolor = "Really red"
1142+
righteyebrickcolor = "Deep orange"
1143
s0:Stop()
1144
wait(0.01)
1145
s02:Play()
1146
reye.BrickColor = BrickColor.new(righteyebrickcolor)
1147
leye.BrickColor = BrickColor.new(righteyebrickcolor)
1148
text.TextStrokeColor3 = Color3.new(255,0,0)
1149
hat.BrickColor = BrickColor.new("Maroon")
1150
Hat3()
1151
end))
1152
1153
1154
tran = 0
1155
for i,v in pairs(char:GetChildren()) do 
1156
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
1157
Glow1 = Color3.new(.6,0,.1)
1158
Glow2 = Color3.new(0,0,0)
1159
1160
GlowParticle = Instance.new("ParticleEmitter",v)
1161
GlowParticle.LightEmission = 1
1162
GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
1163
GlowParticle.Size = NumberSequence.new(0,2)
1164
1165
GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
1166
GlowParticle.Transparency = NumberSequence.new(tran,1)
1167
GlowParticle.LockedToPart = true
1168
GlowParticle.Lifetime = NumberRange.new(0.5)
1169
GlowParticle.Rate= 300
1170
GlowParticle.Speed =NumberRange.new(0)
1171
end end 
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
coroutine.wrap(function()
1186
for i = 1,3 do
1187
wait()
1188
end end)()
1189
wait(1.65)
1190
_DEBOUNCE = true
1191
wait()
1192
Portal:Destroy()
1193
coroutine.wrap(function()
1194
local Pos = char.Torso.Position
1195
local BOOSH = Instance.new("Sound",Workspace)
1196
BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
1197
BOOSH.Volume = 1
1198
BOOSH.Pitch = 0.675
1199
local Fuse = Instance.new("Sound",Workspace)
1200
Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
1201
Fuse.Volume = 1
1202
Fuse.Pitch = 0.25
1203
local BOOSH2 = Instance.new("Sound",Workspace)
1204
BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
1205
BOOSH2.Volume = 1
1206
BOOSH2.Pitch = 0.25
1207
local dsound = true
1208
local PewPew = Instance.new("Sound",Workspace)
1209
PewPew.Name = "PewPew"
1210
PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
1211
PewPew.Volume = 1
1212
PewPew.Pitch = 0.32
1213
local function GetHumanoids()
1214
local Characters = {}
1215
for i,v in pairs(Workspace:GetChildren())do
1216
if v:IsA("Model")then
1217
local Hu = v:findFirstChild("Humanoid")
1218
local Torso = v:findFirstChild("Torso")
1219
if Hu and Torso and v.Name ~= p.Name then
1220
table.insert(Characters,Torso)
1221
end end end
1222
return Characters
1223
end
1224
local function Boom()
1225
for i = 1,25 do
1226
for _,v in pairs(GetHumanoids())do
1227
if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
1228
local h = v.Parent:findFirstChild("Humanoid")
1229
if h then
1230
local Moar =(Pos - v.Position).unit
1231
1232
1233
end end end
1234
local p = Instance.new("Part",char)
1235
p.Name = "BlastRing"
1236
p.TopSurface = 0
1237
p.BottomSurface = 0
1238
p.CanCollide = false
1239
p.Anchored = true
1240-
p.BrickColor = BrickColor.new("Really red")
1240+
p.BrickColor = BrickColor.new("Deep orange")
1241
p.Size = Vector3.new(1,1,1)
1242
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)
1243
local rm = Instance.new("SpecialMesh",p)
1244
rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1245
rm.Name = "BlastMesh"
1246
rm.Scale = Vector3.new(1,1,1)
1247
coroutine.wrap(function()
1248
for n = 1,15 do
1249
rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
1250
if 2 +i/5 == 1.2 then
1251
rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
1252
end
1253
p.Transparency = n/15
1254
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
1255
wait()
1256
end
1257
p:Destroy()
1258
end)()
1259
local p = Instance.new("Part",char)
1260
p.TopSurface = 0
1261
p.BottomSurface = 0
1262
p.formFactor = "Symmetric"
1263
p.Size = Vector3.new(1,1,1)
1264
p.Anchored = true
1265
p.CanCollide = false
1266-
p.BrickColor = BrickColor.new("Really red")
1266+
p.BrickColor = BrickColor.new("Deep orange")
1267
p.CFrame = CFrame.new(Pos)
1268
local m = Instance.new("BlockMesh",p)
1269
coroutine.wrap(function()
1270
for x = 1,48 do
1271
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
1272
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
1273
p.Transparency = x/48
1274
Wait()
1275
end
1276
p:Destroy()
1277
end)()
1278
Game:GetService("Debris"):AddItem(p,5)
1279
local p = Instance.new("Part",char)
1280
p.Name = "BlastRing"
1281
p.TopSurface = 0
1282
p.BottomSurface = 0
1283
p.CanCollide = false
1284
p.Anchored = true
1285
p.BrickColor = BrickColor.new("Really black")
1286
p.Size = Vector3.new(1,1,1)
1287
p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1288
local m = Instance.new("SpecialMesh",p)
1289
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1290
m.Scale = Vector3.new(1,0.25,1)
1291
coroutine.wrap(function()
1292
for n = 1,13 do
1293
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1294
if 1 +i/5 == 1.2 then
1295
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1296
end
1297
p.Transparency = n/13
1298
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1299
Wait()
1300
end
1301
p:Destroy()
1302
end)()
1303
Wait(0.1)
1304
end for i = 10,19 do
1305
local p = Instance.new("Part",char)
1306
p.Name = "BlastRing"
1307
p.TopSurface = 0
1308
p.BottomSurface = 0
1309
p.CanCollide = false
1310
p.Anchored = true
1311-
p.BrickColor = BrickColor.new("Really red")
1311+
p.BrickColor = BrickColor.new("Deep orange")
1312
p.Size = Vector3.new(1,1,1)
1313
p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
1314
local m = Instance.new("SpecialMesh",p)
1315
m.MeshId = "http://www.roblox.com/asset/?id=20329976"
1316
m.Scale = Vector3.new(1,0.25,1)
1317
coroutine.wrap(function()
1318
for n = 1,13 do
1319
m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
1320
if 1 +i/5 == 1.2 then
1321
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1322
end
1323
p.Transparency = n/13
1324
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
1325
Wait()
1326
end
1327
p:Destroy()
1328
end)()
1329
local p = Instance.new("Part",char)
1330
p.Name = "BlastRing"
1331
p.TopSurface = 0
1332
p.BottomSurface = 0
1333
p.CanCollide = false
1334
p.Anchored = true
1335
p.BrickColor = BrickColor.new("Really black")
1336
p.Size = Vector3.new(1,1,1)
1337
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)
1338
p.Parent = workspace
1339
local m = Instance.new("SpecialMesh",p)
1340
m.Name = "BlastMesh"
1341
m.Scale = Vector3.new(0.1,0.1,0.1)
1342
m.MeshId = "http://www.roblox.com/asset/?id=3270017"
1343
coroutine.wrap(function()
1344
for n = 1,15 do
1345
m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
1346
if 3+i/5 == 1.2 then
1347
m.Scale = m.Scale + Vector3.new(0,0.9,0)
1348
end
1349
p.Transparency = n/15
1350
p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
1351
Wait()
1352
end
1353
p:Destroy()
1354
end)()
1355
for _,v in pairs(GetHumanoids())do
1356
if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
1357
local h = v.Parent:findFirstChild("Humanoid")
1358
if h then
1359
local Moar =(Pos - v.Position).unit
1360
1361
1362
end end end
1363
Wait(0.1)
1364
end for i = 30,37 do
1365
for _,v in pairs(GetHumanoids())do
1366
if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
1367
local h = v.Parent:findFirstChild("Humanoid")
1368
if h then
1369
local Moar =(Pos - v.Position).unit
1370
1371
1372
end end end end
1373
dsound = false
1374
wait(6.5)
1375
for i = 1,30 do
1376
BOOSH.Volume = BOOSH.Volume -0.033
1377
BOOSH2.Volume = BOOSH.Volume
1378
Fuse.Volume = BOOSH.Volume
1379
Wait()
1380
end
1381
BOOSH:Stop()
1382
BOOSH2:Stop()
1383
Fuse:Stop()
1384
end
1385
BOOSH2:Play()
1386
Fuse:Play()
1387
BOOSH:Play()
1388
Boom()
1389
end)()
1390
hum.WalkSpeed = 5
1391
end]]
1392
1393
1394
GroundWave = function()
1395
	local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1396-
	local Colors = {"Really blue", "Really blue"}
1396+
	local Colors = {"Deep orange", "Deep orange"}
1397
		local wave = Instance.new("Part", torso)
1398
		wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
1399
		wave.Anchored = true
1400
		wave.CanCollide = false
1401
		wave.Locked = true
1402
		wave.Size = Vector3.new(1, 1, 1)
1403
		wave.TopSurface = "Smooth"
1404
		wave.BottomSurface = "Smooth"
1405
		wave.Transparency = 0.35
1406
		wave.CFrame = HandCF
1407
		wm = Instance.new("SpecialMesh", wave)
1408
		wm.MeshId = "rbxassetid://3270017"
1409
		coroutine.wrap(function()
1410
		for i = 1, 14, 1 do
1411
		wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
1412
		wave.Size = wm.Scale
1413
		wave.CFrame = HandCF
1414
		wave.Transparency = i/14
1415
		wait()
1416
		end
1417
		wait()
1418
		wave:Destroy()
1419
	end)()
1420
end
1421
1422
1423
1424
function BurningEff(part)
1425
local eff1 = Instance.new("ParticleEmitter",part)
1426
eff1.Size = NumberSequence.new(.1)
1427
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1428
eff1.LightEmission = 1
1429
eff1.Lifetime = NumberRange.new(1)
1430
eff1.Speed = NumberRange.new(0)
1431
eff1.Rate = 100
1432
eff1.Texture = "rbxassetid://284205403"
1433
eff1.Acceleration = Vector3.new(0,10,0)
1434-
eff1.Color = ColorSequence.new(Color3.new(0,0,255))
1434+
eff1.Color = ColorSequence.new(Color3.new(255,176,0))
1435
local eff2 = Instance.new("ParticleEmitter",part)
1436
eff2.Size = NumberSequence.new(.1)
1437
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
1438
eff2.LightEmission = 1
1439
eff2.Lifetime = NumberRange.new(0.2)
1440
eff2.Speed = NumberRange.new(0)
1441
eff2.Rate = 100
1442
eff2.Texture = "rbxassetid://347504259"
1443
eff2.Acceleration = Vector3.new(0,10,0)
1444-
eff2.Color = ColorSequence.new(Color3.new(0,0,255))
1444+
eff2.Color = ColorSequence.new(Color3.new(255,176,0))
1445
local eff3 = Instance.new("ParticleEmitter",part)
1446
eff3.Size = NumberSequence.new(0.2)
1447
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
1448
eff3.LightEmission = 1
1449
eff3.Lifetime = NumberRange.new(1)
1450
eff3.Speed = NumberRange.new(0)
1451
eff3.Rate = 100
1452
eff3.Texture = "rbxassetid://284205403"
1453
eff3.Acceleration = Vector3.new(0,10,0)
1454-
eff3.Color = ColorSequence.new(Color3.new(0,0,255))
1454+
eff3.Color = ColorSequence.new(Color3.new(255,176,0))
1455
end
1456
1457
1458-
function FullPower()
1458+
1459
    weeld=Instance.new("Weld", part0)
1460
    weeld.Part0=part0
1461
    weeld.Part1=part1
1462
    weeld.C0=c0
1463
    weeld.C1=c1
1464-
	Full = true
1464+
1465
end
1466
1467-
	for i = 1, 40 do
1467+
1468
1469-
		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
1469+
1470-
		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
1470+
1471-
					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
1471+
1472-
					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
1472+
1473-
					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
1473+
1474-
		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
1474+
1475
fat = Instance.new("BindableEvent",script)
1476
fat.Name = "Heartbeat"
1477
1478
script:WaitForChild("Heartbeat")
1479
1480
frame = 1/30
1481
tf = 0
1482
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.
1483
tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
1484
lastframe = tick()
1485
script.Heartbeat:Fire() --ayy lmao
1486
1487-
		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
1487+
1488-
		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
1488+
1489-
					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
1489+
1490-
					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
1490+
1491-
					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
1491+
1492-
		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
1492+
1493
		else
1494
			--print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
1495-
	s0:Destroy()
1495+
1496-
	ragesong = "397952612"
1496+
1497-
	wait(0.001)
1497+
1498-
	s02 = Instance.new("Sound",char)
1498+
1499-
	s02.Volume = 90
1499+
1500-
	s02.SoundId = "rbxassetid://"..ragesong
1500+
1501-
	s02.Looped = true
1501+
1502-
	s02.Pitch = 1
1502+
1503-
	wait(0.001)
1503+
1504-
	s02:Play()
1504+
1505
	end
1506
end)
1507-
local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
1507+
1508-
selectionBoxOfTorso.Adornee = torso
1508+
1509-
selectionBoxOfTorso.Color = BrickColor.new("Really blue")
1509+
1510-
selectionBoxOfTorso.LineThickness = 0.01
1510+
1511-
selectionBoxOfTorso.Transparency = 0
1511+
1512
		for i = 1, NUMBER do
1513-
local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
1513+
1514-
selectionBoxOfRightArm.Adornee = char["Right Arm"]
1514+
1515-
selectionBoxOfRightArm.Color = BrickColor.new("Really blue")
1515+
1516-
selectionBoxOfRightArm.LineThickness = 0.01
1516+
1517-
selectionBoxOfRightArm.Transparency = 0
1517+
1518
1519-
local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
1519+
1520-
selectionBoxOfRightLeg.Adornee = char["Right Leg"]
1520+
1521-
selectionBoxOfRightLeg.Color = BrickColor.new("Really blue")
1521+
1522-
selectionBoxOfRightLeg.LineThickness = 0.01
1522+
1523-
selectionBoxOfRightLeg.Transparency = 0
1523+
1524
	attack = true
1525-
local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
1525+
1526-
selectionBoxOfLeftArm.Adornee = char["Left Arm"]
1526+
1527-
selectionBoxOfLeftArm.Color = BrickColor.new("Really blue")
1527+
1528-
selectionBoxOfLeftArm.LineThickness = 0.01
1528+
1529-
selectionBoxOfLeftArm.Transparency = 0
1529+
1530
			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)
1531-
local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
1531+
1532-
selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
1532+
1533-
selectionBoxOfLeftLeg.Color = BrickColor.new("Really blue")
1533+
1534-
selectionBoxOfLeftLeg.LineThickness = 0.01
1534+
1535-
selectionBoxOfLeftLeg.Transparency = 0
1535+
1536
            rs:wait(2)
1537-
BurningEff(reye)
1537+
1538
        con1=larm.Touched:connect(function(hit) -- this is grab
1539-
LightOnBody = Instance.new("PointLight", hed)
1539+
1540-
LightOnBody.Brightness = 3000
1540+
1541-
LightOnBody.Range = 20
1541+
1542-
LightOnBody.Color = Color3.new(0, 0, 255)
1542+
1543
			
1544-
r = game:GetService("RunService").RenderStepped
1544+
1545-
Activated = true
1545+
1546-
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}
1546+
1547-
	Debri = coroutine.wrap(function()
1547+
1548-
	repeat	
1548+
1549-
    local p = Instance.new('Part',torso)
1549+
1550-
    p.formFactor = 'Custom'
1550+
1551-
    p.Size = Vector3.new(1,1,1)
1551+
1552-
    p.BrickColor = workspace.Base.BrickColor
1552+
1553-
    p.CanCollide = false
1553+
1554-
    p.Transparency = 0
1554+
1555-
    p.Anchored = true
1555+
1556-
    p.Locked=true
1556+
1557-
    p.Material = workspace.Base.Material
1557+
1558-
    s = math.random(1,40)/10
1558+
1559-
    local m = Instance.new("BlockMesh",p)
1559+
1560-
    m.Scale = Vector3.new(s,s,s)
1560+
1561-
    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())
1561+
1562-
	--[[coroutine.wrap(function()
1562+
1563-
		wait(2)
1563+
1564-
		while Charging == true do
1564+
1565-
		wait(2)
1565+
1566-
		GroundWave1()
1566+
1567-
		wait(2)
1567+
1568
			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)
1569-
	end)()]]--
1569+
1570
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
1571-
	spawn(function()
1571+
1572-
        while r:wait() do
1572+
1573-
            if p.Transparency >= 1 then p:Destroy() break end
1573+
1574-
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
1574+
1575-
            p.Transparency = p.Transparency+0.01
1575+
1576
        end
1577-
    end)
1577+
1578-
    wait(.3)
1578+
1579-
	until Activated == false
1579+
1580
	attack = false
1581-
	Debri()
1581+
1582
	return end
1583-
	l = game.Lighting
1583+
1584
    
1585
    
1586-
l.Brightness = 0.1
1586+
1587
			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)
1588
			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)
1589-
	spawn(function()
1589+
1590-
	while wait(2)
1590+
1591-
		 do
1591+
1592-
		GroundWave()	
1592+
1593
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
1594-
	end)	
1594+
1595
			rs:wait()
1596
		end]]--
1597-
	local eColors = {"Really blue", "Really blue"}
1597+
1598
			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)
1599-
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
1599+
1600-
    local magz = (Part0 - Part1).magnitude
1600+
1601-
    local curpos = Part0
1601+
1602-
    local trz = {-Offset,Offset}
1602+
1603-
    for i=1,Times do
1603+
1604-
        local li = Instance.new("Part", torso)
1604+
1605-
		li.Name = "Lightning"
1605+
1606-
		li.TopSurface =0
1606+
1607-
		li.Material = "Neon"
1607+
1608-
		li.BottomSurface = 0
1608+
1609-
		li.Anchored = true
1609+
1610-
		li.Locked = true
1610+
1611-
		li.Transparency = Trans or 0.4
1611+
1612-
		li.BrickColor = BrickColor.new(Color)
1612+
1613-
		li.formFactor = "Custom"
1613+
1614-
		li.CanCollide = false
1614+
1615-
		li.Size = Vector3.new(Thickness,Thickness,magz/Times)
1615+
1616-
        local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
1616+
1617-
        local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
1617+
1618-
        if Times == i then
1618+
1619-
        local magz2 = (curpos - Part1).magnitude
1619+
1620-
        li.Size = Vector3.new(Thickness,Thickness,magz2)
1620+
1621-
        li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
1621+
1622
wait(.1)
1623-
        li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
1623+
1624
1625-
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
1625+
1626-
        game.Debris:AddItem(li,.1)
1626+
1627
wait()
1628
MagicBlock(BrickColor.new("Deep orange"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1629
wait(0.01)
1630-
BodyParts = {} 
1630+
1631-
for _, v in pairs(char:GetChildren()) do
1631+
1632-
    if v:IsA("Part")  then
1632+
1633-
        table.insert(BodyParts, v)
1633+
1634
			coroutine.resume(coroutine.create(function()
1635
				Grabee = gp:FindFirstChild("Torso")
1636
		par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
1637-
Bounding = {} -- Calculate the bounding boxes
1637+
1638-
for _, v in pairs(BodyParts) do
1638+
1639-
	local temp = {X=nil, Y=nil, Z=nil}
1639+
1640-
	temp.X = v.Size.X/2 * 10
1640+
1641-
	temp.Y = v.Size.Y/2 * 10
1641+
1642-
	temp.Z = v.Size.Z/2 * 10
1642+
1643-
	Bounding[v.Name] = temp
1643+
1644
			p.BottomSurface=0
1645
			p.Anchored=true p.CanCollide=false
1646-
while wait(lightspeed) do 
1646+
1647-
			lightspeed = math.random(0.1,0.2)
1647+
1648-
	local Body1 = BodyParts[math.random(#BodyParts)]
1648+
1649-
	local Body2 = BodyParts[math.random(#BodyParts)]
1649+
1650-
	local Pos1 = Vector3.new(
1650+
1651-
		math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
1651+
1652-
		math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
1652+
1653-
		math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
1653+
1654-
)
1654+
1655-
	local Pos2 = Vector3.new(
1655+
1656-
		math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
1656+
1657-
		math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
1657+
1658-
		math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
1658+
1659-
)
1659+
1660-
	local SPos1 = Body1.Position + Pos1
1660+
1661-
	local SPos2 = Body2.Position + Pos2	
1661+
1662-
	Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) 
1662+
1663
				
1664
		for i=1, 78 do
1665
			wait(0.01)
1666
			for i=1, 1 do
1667-
		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
1667+
1668-
		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
1668+
1669-
					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
1669+
1670-
					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
1670+
1671-
					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
1671+
1672-
		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
1672+
1673
			p.BrickColor=par.BrickColor
1674
			p.formFactor="Custom"
1675
			p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
1676
			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)
1677
			p.Parent=char
1678
			game:GetService("Debris"):AddItem(p,3+i*.1)
1679
			p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
1680
			p.RotVelocity=p.Velocity
1681
			if math.random(1,5)==5 then
1682
				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)
1683
			end
1684
			end
1685
			Swait(.025)
1686
		end	
1687
				
1688
			end))
1689
	for i = 1, 100 do
1690
			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)
1691
			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)
1692
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
1693
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
1694
			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)
1695
			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)
1696
			if Debounces.on == false then end
1697
			rs:wait()
1698
		end
1699
	asd:Destroy()
1700
	gp = nil
1701
	hum1.Health = 0
1702
	attack = false
1703
	ht = nil
1704
	NoAnims = false
1705
	Grab = false
1706
end
1707
end
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
function FindNearestTorso(Position,Distance,SinglePlayer)
1720
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1721
        local List = {}
1722
        for i,v in pairs(workspace:GetChildren())do
1723
            if v:IsA("Model")then
1724
                if v:findFirstChild("Torso")then
1725
                    if v ~= char then
1726
                        if(v.Torso.Position -Position).magnitude <= Distance then
1727
                            table.insert(List,v)
1728
                        end 
1729
                    end 
1730
                end 
1731
            end 
1732
        end
1733
    return List
1734
end
1735
1736
1737
1738
function Ring()
1739
	
1740
	
1741
	local effspwn = Instance.new("Part")      
1742
    local model = Instance.new("Model")
1743
    game.Debris:AddItem(model, 20)
1744
    model.Name = "smasheffects"
1745
    model.Parent = workspace
1746
    effspwn.Name = "spwnr"
1747
    effspwn.Size = Vector3.new(1, 1, 1)
1748
    effspwn.Anchored = true
1749
    effspwn.CanCollide = false
1750
    effspwn.Transparency = 1
1751
    effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
1752
    effspwn.Parent = model
1753
1754
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
1755
        if v:FindFirstChild('Humanoid') then
1756
            v.Humanoid:TakeDamage(math.random(10000020,10000030))
1757
            v.Humanoid.PlatformStand = true
1758
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
1759
        end
1760
    end 
1761
	coroutine.resume(coroutine.create(function()
1762
      local shok = Instance.new("Part")
1763
      shok.Name = "wring1"
1764
      shok.BrickColor = BrickColor.new("Deep orange")
1765
      shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1766
      shok.Size = Vector3.new(1, 1, 1)
1767
      shok.Anchored = true
1768
      shok.Material = "Neon"
1769
      shok.Transparency = 0.25
1770
      shok.CanCollide = false
1771
      shok.Parent = model
1772
      game.Debris:AddItem(shok, 12)
1773
      local mesh = Instance.new("SpecialMesh")
1774
      mesh.MeshType = "FileMesh"
1775
      mesh.MeshId = "rbxassetid://3270017"
1776
      mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
1777
      mesh.Parent = shok
1778
      for e = 1, 30 do
1779
        wait()
1780
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
1781
        shok.Transparency = shok.Transparency + 0.002
1782
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1783
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1784
      end
1785
      for e = 1, 38 do
1786
        wait()
1787
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1788
        shok.Transparency = shok.Transparency + 0.002
1789
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1790
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1791
      end
1792
      for e = 1, 24 do
1793
        wait()
1794
        mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
1795
        shok.Transparency = shok.Transparency + 0.03
1796
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1797
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
1798
      end
1799
    end))
1800
    coroutine.resume(coroutine.create(function()
1801
      local shok = Instance.new("Part")
1802
      shok.Name = "wring2"
1803
      shok.BrickColor = BrickColor.new("Deep orange")
1804
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
1805
      shok.Size = Vector3.new(1, 1, 1)
1806
      shok.Anchored = true
1807
      shok.Material = "Neon"
1808
      shok.Transparency = 0.25
1809
      shok.CanCollide = false
1810
      shok.Parent = model
1811
      game.Debris:AddItem(shok, 12)
1812
      local mesh = Instance.new("SpecialMesh")
1813
      mesh.MeshType = "FileMesh"
1814
      mesh.MeshId = "rbxassetid://3270017"
1815
      mesh.Scale = Vector3.new(12, 12, 0.05)
1816
      mesh.Parent = shok
1817
      for e = 1, 30 do
1818
        wait()
1819
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
1820
        shok.Transparency = shok.Transparency + 0.002
1821
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
1822
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1823
      end
1824
      for e = 1, 38 do
1825
        wait()
1826
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1827
        shok.Transparency = shok.Transparency + 0.002
1828
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1829
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1830
      end
1831
      for e = 1, 24 do
1832
        wait()
1833
        mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
1834
        shok.Transparency = shok.Transparency + 0.03
1835
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
1836
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
1837
      end
1838
    end))
1839
1840
coroutine.resume(coroutine.create(function()
1841
      local shok = Instance.new("Part")
1842
      shok.Name = "shokwve"
1843
      shok.BrickColor = BrickColor.new("Really black")
1844
      shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
1845
      shok.Size = Vector3.new(1, 1, 1)
1846
      shok.Anchored = true
1847
      shok.Material = "Neon"
1848
      shok.Transparency = 0.6
1849
      shok.CanCollide = false
1850-
MagicBlock(BrickColor.new("Really blue"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
1850+
1851
      game.Debris:AddItem(shok, 12)
1852
      local mesh = Instance.new("SpecialMesh")
1853
      mesh.MeshType = "FileMesh"
1854
      mesh.MeshId = "rbxassetid://489415447"
1855
      mesh.Scale = Vector3.new(1, 1, 1)
1856
      mesh.Parent = shok
1857
      for e = 1, 12 do
1858
        wait()
1859
        mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
1860
        shok.Transparency = shok.Transparency + 0.002
1861
      end
1862
      for e = 1, 32 do
1863
        wait()
1864
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1865
        shok.Transparency = shok.Transparency + 0.002
1866
      end
1867
      for e = 1, 24 do
1868
        wait()
1869
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
1870
        shok.Transparency = shok.Transparency + 0.03
1871
      end
1872
    end))
1873
    coroutine.resume(coroutine.create(function()
1874
      local shok = Instance.new("Part")
1875
      shok.Name = "shock2"
1876
      shok.BrickColor = BrickColor.new("Really black")
1877
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1878
      shok.Size = Vector3.new(1, 1, 1)
1879
      shok.Anchored = true
1880
      shok.Material = "Neon"
1881
      shok.Transparency = 0.35
1882
      shok.CanCollide = false
1883
      shok.Parent = model
1884
      game.Debris:AddItem(shok, 12)
1885
      local mesh = Instance.new("SpecialMesh")
1886
      mesh.MeshType = "FileMesh"
1887
      mesh.MeshId = "rbxassetid://489415447"
1888
      mesh.Scale = Vector3.new(12, 12, 12)
1889
      mesh.Parent = shok
1890
      for e = 1, 15 do
1891
        wait()
1892
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1893
        shok.Transparency = shok.Transparency + 0.004
1894
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1895
      end
1896
      for e = 1, 16 do
1897
        wait()
1898
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1899
        shok.Transparency = shok.Transparency + 0.004
1900
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1901
      end
1902
      for e = 1, 12 do
1903
        wait()
1904
        mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
1905
        shok.Transparency = shok.Transparency + 0.06
1906
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
1907
      end
1908
    end))
1909
    coroutine.resume(coroutine.create(function()
1910
      local shok = Instance.new("Part")
1911
      shok.Name = "shock3"
1912
      shok.BrickColor = BrickColor.new("Deep orange")
1913
      shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
1914
      shok.Size = Vector3.new(1, 1, 1)
1915
      shok.Anchored = true
1916
      shok.Material = "Neon"
1917
      shok.Transparency = 0.35
1918
      shok.CanCollide = false
1919
      shok.Parent = model
1920
      game.Debris:AddItem(shok, 12)
1921
      local mesh = Instance.new("SpecialMesh")
1922
      mesh.MeshType = "FileMesh"
1923
      mesh.MeshId = "rbxassetid://489415447"
1924
      mesh.Scale = Vector3.new(12, 12, 12)
1925
      mesh.Parent = shok
1926
      for e = 1, 15 do
1927
        wait()
1928
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1929
        shok.Transparency = shok.Transparency + 0.004
1930
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1931
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1932
      end
1933
      for e = 1, 16 do
1934
        wait()
1935
        mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
1936
        shok.Transparency = shok.Transparency + 0.004
1937
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1938
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1939
      end
1940
      for e = 1, 12 do
1941
        wait()
1942
        mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
1943
        shok.Transparency = shok.Transparency + 0.06
1944
        shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
1945
        shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
1946
      end
1947
    end))
1948
    
1949
end
1950
1951
1952
1953
1954
1955
1956
1957
it=Instance.new
1958
vt=Vector3.new
1959
cf=CFrame.new
1960
1961
function NoOutline(Part)
1962
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1963
end
1964
1965
1966
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1967
local fp=it("Part")
1968
fp.formFactor=formfactor 
1969
fp.Parent=parent
1970
fp.Reflectance=reflectance
1971
fp.Transparency=transparency
1972
fp.CanCollide=false 
1973
fp.Locked=true
1974
fp.BrickColor=brickcolor
1975
fp.Name=name
1976
fp.Size=size
1977
fp.Position=torso.Position 
1978
NoOutline(fp)
1979
fp.Material="SmoothPlastic"
1980
fp:BreakJoints()
1981
return fp 
1982
end 
1983
 
1984
1985
1986-
      shok.BrickColor = BrickColor.new("Really blue")
1986+
1987
local mesh=it(Mesh) 
1988
mesh.Parent=part
1989
if Mesh=="SpecialMesh" then
1990
mesh.MeshType=meshtype
1991
if meshid~="nil" then
1992
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1993
end
1994
end
1995
mesh.Offset=offset
1996
mesh.Scale=scale
1997
return mesh
1998
end
1999
 
2000
function weld(parent,part0,part1,c0)
2001
local weld=it("Weld") 
2002
weld.Parent=parent
2003
weld.Part0=part0 
2004
weld.Part1=part1 
2005
weld.C0=c0
2006
return weld
2007
end
2008
2009
2010
function swait(num)
2011
if num==0 or num==nil then
2012
game:service'RunService'.Stepped:wait(0)
2013
else
2014
for i=0,num do
2015
game:service'RunService'.Stepped:wait(0)
2016
end
2017
end
2018
end
2019
 
2020
2021
2022
2023
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2024
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2025-
      shok.BrickColor = BrickColor.new("Really blue")
2025+
2026
2027
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2028
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2029
prt.Anchored=true
2030
prt.CFrame=cframe
2031
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2032
--http://www.roblox.com/asset/?id=4770560
2033
game:GetService("Debris"):AddItem(prt,2)
2034
CF=prt.CFrame
2035
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2036
for i=0,1,0.2 do
2037
wait()
2038
Part.CFrame=CF*cf(0,0,-0.4)
2039
end
2040
for i=0,1,delay do
2041
wait()
2042
--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)
2043
Mesh.Scale=Mesh.Scale
2044
end
2045
for i=0,1,0.1 do
2046
wait()
2047
Part.Transparency=i
2048
end
2049
Part.Parent=nil
2050
end),prt,msh,CF)
2051
end
2052
 
2053
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2054
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2055
prt.Anchored=true
2056
prt.Material = "SmoothPlastic"
2057
prt.CFrame=cframe
2058
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2059
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2060
game:GetService("Debris"):AddItem(prt,5)
2061
coroutine.resume(coroutine.create(function(Part,Mesh) 
2062
for i=0,1,delay do
2063
swait()
2064
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2065
Part.Transparency=i
2066
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2067
end
2068
Part.Parent=nil
2069
end),prt,msh)
2070
end
2071
2072
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2073
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2074
prt.Anchored=true
2075
prt.Material = "Neon"
2076
prt.CFrame=cframe
2077
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2078
game:GetService("Debris"):AddItem(prt,5)
2079
coroutine.resume(coroutine.create(function(Part,Mesh) 
2080
	local rtype = rottype
2081
for i=0,1,delay do
2082
swait()
2083
if rtype == 1 then
2084
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2085
elseif rtype == 2 then
2086
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2087
end
2088
Part.Transparency=i
2089
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2090
end
2091
Part.Parent=nil
2092
end),prt,msh)
2093
end
2094
2095
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2096
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2097
prt.Anchored=true
2098
prt.CFrame=cframe
2099
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2100
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2101
game:GetService("Debris"):AddItem(prt,5)
2102
coroutine.resume(coroutine.create(function(Part,Mesh) 
2103
for i=0,1,delay do
2104
wait()
2105
Part.Transparency=i
2106
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2107
end
2108
Part.Parent=nil
2109
end),prt,msh)
2110
end
2111
 
2112
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2113
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2114
prt.Anchored=false
2115
prt.CFrame=cframe
2116
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2117
local wld=weld(prt,prt,Parent,cframe)
2118
game:GetService("Debris"):AddItem(prt,5)
2119
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2120
for i=0,1,delay do
2121
wait()
2122
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2123
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2124
Part.Transparency=i
2125
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2126
end
2127
Part.Parent=nil
2128
end),prt,msh,wld)
2129
end
2130
 
2131
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2132
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2133
prt.Anchored=false
2134-
      shok.BrickColor = BrickColor.new("Really blue")
2134+
2135
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2136
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2137
game:GetService("Debris"):AddItem(prt,5)
2138
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2139
for i=0,1,delay do
2140
wait()
2141
Weld.C0=euler(i*20,0,0)
2142
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2143
Part.Transparency=i
2144
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2145
end
2146
Part.Parent=nil
2147
end),prt,msh,wld)
2148
end
2149
 
2150
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2151
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2152
prt.Anchored=true
2153
prt.CFrame=cframe
2154
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2155
game:GetService("Debris"):AddItem(prt,2)
2156
coroutine.resume(coroutine.create(function(Part,Mesh) 
2157
for i=0,1,delay do
2158
wait()
2159
Part.CFrame=Part.CFrame
2160
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2161
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2162
prt2.Anchored=true
2163
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2164
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2165
game:GetService("Debris"):AddItem(prt2,2)
2166
coroutine.resume(coroutine.create(function(Part,Mesh) 
2167
for i=0,1,0.1 do
2168
wait()
2169
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2170
end
2171
Part.Parent=nil
2172
end),prt2,msh2)
2173
end
2174
for i=0,1,delay*2 do
2175
wait()
2176
Part.CFrame=Part.CFrame
2177
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2178
end
2179
Part.Parent=nil
2180
end),prt,msh)
2181
end
2182
 
2183
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2184
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2185
prt.Anchored=true
2186
prt.CFrame=cframe
2187
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2188
game:GetService("Debris"):AddItem(prt,2)
2189
coroutine.resume(coroutine.create(function(Part,Mesh) 
2190
for i=0,1,delay do
2191
wait()
2192
Part.CFrame=Part.CFrame
2193
Part.Transparency=i
2194
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2195
end
2196
Part.Parent=nil
2197
end),prt,msh)
2198
end
2199
 
2200
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2201
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2202
prt.Anchored=true
2203
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2204
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2205
game:GetService("Debris"):AddItem(prt,2)
2206
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2207
CF=Part.CFrame
2208
Numbb=0
2209
randnumb=math.random()/10
2210
rand1=math.random()/10
2211
for i=0,1,rand1 do
2212
wait()
2213
CF=CF*cf(0,math.random()/2,0)
2214
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2215
Part.CFrame=CF*euler(Numbb,0,0)
2216
Part.Transparency=i
2217
Numbb=Numbb+randnumb
2218
end
2219
Part.Parent=nil
2220
end),prt,CF,Numbb,randnumb)
2221
end
2222
 
2223
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2224
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2225
prt.Anchored=true
2226
prt.CFrame=cframe
2227
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2228
game:GetService("Debris"):AddItem(prt,5)
2229
coroutine.resume(coroutine.create(function(Part,Mesh) 
2230
for i=0,1,delay do
2231
wait()
2232
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2233
Part.Transparency=i
2234
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2235
end
2236
Part.Parent=nil
2237
end),prt,msh)
2238
end
2239
 
2240
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2241
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2242
prt.Anchored=true
2243
prt.CFrame=cframe
2244
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2245
game:GetService("Debris"):AddItem(prt,2)
2246
coroutine.resume(coroutine.create(function(Part,Mesh) 
2247
for i=0,1,delay do
2248
wait()
2249
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2250
Part.Transparency=i
2251
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2252
end
2253
Part.Parent=nil
2254
end),prt,msh)
2255
end
2256
 
2257
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2258
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2259
prt.Anchored=true
2260
prt.CFrame=cframe*cf(x,y,z)
2261
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2262
game:GetService("Debris"):AddItem(prt,5)
2263
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2264
local num=math.random()
2265
local num2=math.random(-3,2)+math.random()
2266
local numm=0
2267
for i=0,1,delay*2 do
2268
swait()
2269
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2270
Part.Transparency=i
2271
numm=numm+0.01
2272
end
2273
Part.Parent=nil
2274
Mesh.Parent=nil
2275
end),prt,msh,x,y,z)
2276
end
2277
2278
2279
2280
function newRay(start,face,range,wat)
2281
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
2282
	hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
2283
	return rey,hit,pos
2284
end
2285
2286
function Landing()
2287
	MagicBlock(BrickColor.new("Deep orange"),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) 
2288
	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) 
2289
	MagicBlock(BrickColor.new("Deep orange"),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) 
2290
	MagicBlock(BrickColor.new("Deep orange"),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) 
2291
	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) 
2292
	MagicBlock(BrickColor.new("Deep orange"),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) 
2293
	
2294
	MagicBlock(BrickColor.new("Deep orange"),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) 
2295
	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) 
2296
	MagicBlock(BrickColor.new("Deep orange"),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) 
2297
end
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
    function nooutline(part)
2309
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
2310
    end
2311
2312
2313
2314
2315
function debris(cfremz, thepart, amt)
2316
    for j = 1, amt do
2317
      do
2318
        local pr = Instance.new("Part")
2319
        nooutline(pr)
2320
        pr.Name = "debrisobeb"
2321
        pr.Anchored = true
2322
        pr.BrickColor = thepart.BrickColor
2323
        pr.CanCollide = true
2324
        pr.Material = thepart.Material
2325
        pr.Transparency = thepart.Transparency
2326
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
2327
        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)))
2328
        pr.Parent = workspace
2329
        game.Debris:AddItem(pr, 25)
2330
        delay(15, function()
2331
          if pr then
2332
            pr.CanCollide = false
2333
            pr.Anchored = false
2334
          end
2335
        end)
2336
      end
2337
    end
2338
    for c = 1, amt do
2339
      do
2340
        local pr2 = Instance.new("Part")
2341
        nooutline(pr2)
2342
        pr2.Name = "moredebr"
2343
        pr2.Anchored = false
2344
        pr2.BrickColor = thepart.BrickColor
2345
        pr2.CanCollide = false
2346
        pr2.Material = thepart.Material
2347
        pr2.Transparency = thepart.Transparency
2348
        pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
2349
        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)))
2350
        pr2.Parent = workspace
2351
        pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
2352
        pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
2353
        game.Debris:AddItem(pr2, 45)
2354
        delay(2, function()
2355
          pr2.CanCollide = true
2356
          wait(10)
2357
          if pr2 then
2358
            pr2.CanCollide = false
2359
          end
2360
        end)
2361
      end
2362
    end
2363
  end
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
function AirSlam()
2375
	NoAnims = true
2376
	attack = true
2377
	for i = 1, 20 do
2378
            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)
2379
            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)
2380
            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)
2381
            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)
2382
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles  (math.rad    (30), 0, math.rad(20)), 0.2)
2383
            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)
2384
            if Debounces.on == false then break end
2385
                wait()
2386
            end
2387
            wait(0.5)
2388
        
2389
2390
coroutine.resume(coroutine.create(function()
2391
       MagicBlock(BrickColor.new("Deep orange"),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) 
2392
	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) 
2393
	MagicBlock(BrickColor.new("Deep orange"),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)
2394
	end))
2395
	
2396
           Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
2397
                
2398
            hum.WalkSpeed = 50
2399
        BV = Instance.new("BodyVelocity", torso)
2400
        BV.maxForce = Vector3.new(0,200000,0)
2401
        BV.P = 100000
2402
        BV.velocity = Vector3.new(0,150,0)
2403
    for i = 1, 20 do
2404
        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)
2405
        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)
2406
        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)
2407
        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)
2408
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
2409
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
2410
        if Debounces.on == false then break end
2411
        wait()
2412
    end
2413
BV:Destroy()
2414
2415
		coroutine.resume(coroutine.create(function()
2416
					for i = 1, 2880, 48 do 
2417
            			torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
2418
						rs:wait(4)
2419
					end
2420
					torso.Weld.C1 = CFrame.new(0, -1, 0)
2421
		end))
2422
		
2423
    for i = 1, 30 do
2424
        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)
2425
        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)
2426
        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)
2427
        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)
2428
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2429
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
2430
        if Debounces.on == false then break end
2431
        wait()
2432
    end
2433
2434
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
2435
    for i = 1, 20 do
2436
        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)
2437
        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)
2438
        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)
2439
        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)
2440
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
2441
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0),     0.3)
2442
        if Debounces.on == false then break end
2443
        wait()
2444
    end
2445
end
2446
local ry,ht,ps=nil,nil,nil
2447
while ht==nil do
2448
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
2449
	wait()
2450
end
2451
par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
2452
		if par then
2453
      local cfremz = CFrame.new(loc)
2454
      debris(cfremz, par, 50)
2455
		    end
2456
coroutine.resume(coroutine.create(function()
2457
	Ring()
2458
end))
2459
Landing()
2460
Sound("rbxassetid://514867425",char,90,1,false)
2461
hum.WalkSpeed = 5
2462
for i = 1, 25 do
2463
            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)
2464
            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)
2465
            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)
2466
            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)
2467
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
2468
            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)
2469
            if Debounces.on == false then break end
2470
                wait()
2471
            end
2472
            wait(0.2)
2473
	attack = false
2474
	NoAnims = false
2475
end
2476
2477
2478
2479
function CreatePart(parent,transparency,reflectance,material,brickcolor)
2480
local p = Instance.new("Part")
2481
p.Parent = parent
2482
p.Size = Vector3.new(1,1,1)
2483
p.Transparency = transparency
2484
p.Reflectance = reflectance
2485
p.CanCollide = false
2486
p.BrickColor = brickcolor
2487
p.Material = material
2488
return p
2489
end
2490
2491
2492
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
2493
local weld = Instance.new("Weld")
2494
weld.Parent = parent
2495
weld.Part0 = part0
2496
weld.Part1 = part1
2497
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
2498
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
2499
return weld
2500
end
2501
2502
2503
2504
--[[HandleR = Instance.new("Part")
2505
	HandleR.BrickColor = BrickColor.new("Deep orange")
2506
	HandleR.Material = "Neon"
2507
	HandleR.Transparency = 0.3
2508
	HandleR.Size = Vector3.new(1,0.8,4)
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) 
2509+
2510
	HandleRM = Instance.new("SpecialMesh",HandleR)
2511-
	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+
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) 
2512+
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) 
2514+
2515
	HandleL.BrickColor = BrickColor.new("Deep orange")
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) 
2516+
2517
	HandleL.Transparency = 0.3
2518-
	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) 
2518+
2519
	HandleL.CFrame = sorb2.CFrame
2520
	HandleLM = Instance.new("SpecialMesh",HandleL)
2521
	HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
2522
	HandleLM.Scale = Vector3.new(1,1,1)]]
2523
	
2524
2525
local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Deep orange"))
2526
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))
2527
local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Deep orange"))
2528
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))
2529
2530
2531
v3 = Vector3.new
2532
rad=math.rad
2533
2534
kiblade = Instance.new("Part",char)
2535
kiblade.Name = "Blade"
2536
kiblade.Size = v3(1,5,1)
2537
kiblade.Transparency = 1
2538
kiblade.BrickColor = BrickColor.new("Deep orange")
2539
kiblade.Position = v3(999,999,999)
2540
kiblade.CanCollide = false
2541
kiblademesh = Instance.new("SpecialMesh",kiblade)
2542
kiblademesh.MeshType = "FileMesh"
2543
kiblademesh.MeshId = "rbxassetid://898849476"
2544
kiblademesh.Scale = v3(0.01,0.008,0.01)
2545
kiweld7 = Instance.new("Weld",kiblade)
2546
kiweld7.Part0 = rarm
2547
kiweld7.Part1 = kiblade
2548
kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2549
kiblade1 = Instance.new("Part",char)
2550
kiblade1.Name = "Blade"
2551
kiblade1.Transparency = 1
2552
kiblade1.Size = v3(0.1,0.1,0.1)
2553
kiblade1.Position = v3(999,999,999)
2554
kiblade1.CanCollide = false
2555
kiblademesh = Instance.new("SpecialMesh",kiblade1)
2556
kiblademesh.MeshType = "Sphere"
2557
kiblademesh.Scale = v3(1,1,1)
2558
kiweld = Instance.new("Weld",kiblade1)
2559
kiweld.Part0 = rarm
2560
kiweld.Part1 = kiblade1
2561
kiweld.C0 = CFrame.new(0,-1,0)
2562
kiblade2 = Instance.new("Part",char)
2563
kiblade2.Name = "Blade"
2564
kiblade2.Size = v3(0.1,0.1,0.1)
2565
kiblade2.Transparency = 1
2566
kiblade2.Position = v3(999,999,999)
2567
kiblade2.CanCollide = false
2568
kiblademesh = Instance.new("SpecialMesh",kiblade2)
2569
kiblademesh.MeshType = "Sphere"
2570
kiblademesh.Scale = v3(1,1,1)
2571
kiweld = Instance.new("Weld",kiblade2)
2572
kiweld.Part0 = rarm
2573
kiweld.Part1 = kiblade2
2574
kiweld.C0 = CFrame.new(0,-4.5,0)
2575
torso = game.Players.LocalPlayer.Character.Torso
2576
head = game.Players.LocalPlayer.Character.Head
2577
torso1 = Instance.new("Attachment",kiblade1)
2578
head1 = Instance.new("Attachment",kiblade2)
2579
trail = Instance.new("Trail",torso)
2580
trail.Color = ColorSequence.new(Color3.fromRGB(255,176,0))
2581
trail.Attachment0 = torso1
2582
trail.Attachment1 = head1
2583
trail.Lifetime = 0.5
2584
trail.Enabled = false
2585
2586
2587
2588
2589
kiblade2 = Instance.new("Part",char)
2590
kiblade2.Name = "Blade"
2591
kiblade2.Size = v3(1,5,1)
2592
kiblade2.Transparency = 1
2593
kiblade2.BrickColor = BrickColor.new("Deep orange")
2594
kiblade2.Position = v3(999,999,999)
2595
kiblade2.CanCollide = false
2596
kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
2597
kiblademesh2.MeshType = "FileMesh"
2598
kiblademesh2.MeshId = "rbxassetid://898849476"
2599
kiblademesh2.Scale = v3(0.01,0.008,0.01)
2600
kiweld72 = Instance.new("Weld",kiblade2)
2601
kiweld72.Part0 = larm
2602
kiweld72.Part1 = kiblade2
2603
kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
2604
kiblade12 = Instance.new("Part",char)
2605
kiblade12.Name = "Blade"
2606
kiblade12.Transparency = 1
2607
kiblade12.Size = v3(0.1,0.1,0.1)
2608
kiblade12.Position = v3(999,999,999)
2609
kiblade12.CanCollide = false
2610
kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
2611
kiblademesh2.MeshType = "Sphere"
2612
kiblademesh2.Scale = v3(1,1,1)
2613-
       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) 
2613+
2614
kiweld2.Part0 = larm
2615-
	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)
2615+
2616
kiweld2.C0 = CFrame.new(0,-1,0)
2617
kiblade22 = Instance.new("Part",char)
2618
kiblade22.Name = "Blade"
2619
kiblade22.Size = v3(0.1,0.1,0.1)
2620
kiblade22.Transparency = 1
2621
kiblade22.Position = v3(999,999,999)
2622
kiblade22.CanCollide = false
2623
kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
2624
kiblademesh2.MeshType = "Sphere"
2625
kiblademesh2.Scale = v3(1,1,1)
2626
kiweld2 = Instance.new("Weld",kiblade22)
2627
kiweld2.Part0 = larm
2628
kiweld2.Part1 = kiblade22
2629
kiweld2.C0 = CFrame.new(0,-4.5,0)
2630
torso2 = game.Players.LocalPlayer.Character.Torso
2631
head2 = game.Players.LocalPlayer.Character.Head
2632
torso12 = Instance.new("Attachment",kiblade12)
2633
head12 = Instance.new("Attachment",kiblade22)
2634
trail2 = Instance.new("Trail",torso2)
2635
trail2.Color = ColorSequence.new(Color3.fromRGB(255,176,0))
2636
trail2.Attachment0 = torso12
2637
trail2.Attachment1 = head12
2638
trail2.Lifetime = 0.5
2639
trail2.Enabled = false
2640
2641
2642
2643
local Gibs = game.Workspace
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
function Kill(Character)
2657
	Character.Humanoid.Health = 0
2658
	local poo = Instance.new("IntValue",Character)
2659
	poo.Name = "haha nope"
2660
	local svch = Character
2661
	local hum = Character:findFirstChild("Humanoid")
2662
	Character.Archivable = true
2663
	local chrclone = Character:clone()
2664
	Character.Archivable = false
2665
2666
	local ch = chrclone:GetChildren()
2667
	local i
2668
	for i = 1,#ch do
2669
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
2670
			ch[i]:remove()
2671
		end
2672
	end
2673
	local function Scan(ch)
2674
		local e
2675
		for e = 1,#ch do
2676
			Scan(ch[e]:GetChildren())
2677
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
2678
				ch[e]:remove()
2679
			end
2680
		end
2681
	end
2682
	Scan(chrclone:GetChildren())
2683
2684
	local hum2 = chrclone:findFirstChild("Humanoid")
2685
2686
2687
	if hum2 ~= nil then
2688
		hum2.Name = "Humanoid2"
2689
		hum2.PlatformStand = true
2690
		hum2.Sit = true 
2691
		hum2.MaxHealth = 0
2692
		hum2.Health = 0
2693
	end
2694
2695
	local ch = Character:GetChildren()
2696
	local i
2697
	for i = 1,#ch do
2698
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2699
			ch[i]:remove()
2700
		end
2701
	end
2702
2703
	wait(0.2)
2704
2705
	local ch = Character:GetChildren()
2706
	local i
2707
	for i = 1,#ch do
2708
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
2709
			ch[i]:remove()
2710
		end
2711
	end
2712
	Character = chrclone
2713
	local Torso = Character.Torso
2714
	local movevector = Vector3.new()
2715
2716
	if Torso then
2717
		local Head = Character:FindFirstChild("Head")
2718
		local Limb = Character:FindFirstChild("Right Arm")
2719
		if Limb then
2720
2721
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
2722
			local Joint = Instance.new("Glue")
2723
			Joint.Name = "RightShoulder"
2724
			Joint.Part0 = Torso
2725
			Joint.Part1 = Limb
2726
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2727-
	HandleR.BrickColor = BrickColor.new("Really blue")
2727+
2728
			Joint.Parent = Torso
2729
2730
			local B = Instance.new("Part")
2731
			B.TopSurface = 0
2732
			B.BottomSurface = 0
2733
			B.formFactor = "Symmetric"
2734
			B.Size = Vector3.new(1, 1, 1)
2735
			B.Transparency = 1
2736
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2737-
	HandleL.BrickColor = BrickColor.new("Really blue")
2737+
2738
			local W = Instance.new("Weld")
2739
			W.Part0 = Limb
2740
			W.Part1 = B
2741
			W.C0 = CFrame.new(0, -0.5, 0)
2742
			W.Parent = Limb
2743
2744
		end
2745
		local Limb = Character:FindFirstChild("Left Arm")
2746
		if Limb then
2747-
local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2747+
2748
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
2749-
local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Really blue"))
2749+
2750
			Joint.Name = "LeftShoulder"
2751
			Joint.Part0 = Torso
2752
			Joint.Part1 = Limb
2753
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2754
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2755
			Joint.Parent = Torso
2756
2757
			local B = Instance.new("Part")
2758
			B.TopSurface = 0
2759
			B.BottomSurface = 0
2760-
kiblade.BrickColor = BrickColor.new("Really blue")
2760+
2761
			B.Size = Vector3.new(1, 1, 1)
2762
			B.Transparency = 1
2763
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2764
			B.Parent = Character
2765
			local W = Instance.new("Weld")
2766
			W.Part0 = Limb
2767
			W.Part1 = B
2768
			W.C0 = CFrame.new(0, -0.5, 0)
2769
			W.Parent = Limb
2770
2771
		end
2772
		local Limb = Character:FindFirstChild("Right Leg")
2773
		if Limb then
2774
2775
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
2776
			local Joint = Instance.new("Glue")
2777
			Joint.Name = "RightHip"
2778
			Joint.Part0 = Torso
2779
			Joint.Part1 = Limb
2780
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2781
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
2782
			Joint.Parent = Torso
2783
2784
			local B = Instance.new("Part")
2785
			B.TopSurface = 0
2786
			B.BottomSurface = 0
2787
			B.formFactor = "Symmetric"
2788
			B.Size = Vector3.new(1, 1, 1)
2789
			B.Transparency = 1
2790
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2791
			B.Parent = Character
2792
			local W = Instance.new("Weld")
2793
			W.Part0 = Limb
2794
			W.Part1 = B
2795
			W.C0 = CFrame.new(0, -0.5, 0)
2796
			W.Parent = Limb
2797
2798
		end
2799
		local Limb = Character:FindFirstChild("Left Leg")
2800
		if Limb then
2801
2802-
trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2802+
2803
			local Joint = Instance.new("Glue")
2804
			Joint.Name = "LeftHip"
2805
			Joint.Part0 = Torso
2806
			Joint.Part1 = Limb
2807
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2808
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
2809
			Joint.Parent = Torso
2810
2811
			local B = Instance.new("Part")
2812
			B.TopSurface = 0
2813
			B.BottomSurface = 0
2814
			B.formFactor = "Symmetric"
2815-
kiblade2.BrickColor = BrickColor.new("Really blue")
2815+
2816
			B.Transparency = 1
2817
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
2818
			B.Parent = Character
2819
			local W = Instance.new("Weld")
2820
			W.Part0 = Limb
2821
			W.Part1 = B
2822
			W.C0 = CFrame.new(0, -0.5, 0)
2823
			W.Parent = Limb
2824
2825
		end
2826
		--[
2827
		local Bar = Instance.new("Part")
2828
		Bar.TopSurface = 0
2829
		Bar.BottomSurface = 0
2830
		Bar.formFactor = "Symmetric"
2831
		Bar.Size = Vector3.new(1, 1, 1)
2832
		Bar.Transparency = 1
2833
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
2834
		Bar.Parent = Character
2835
		local Weld = Instance.new("Weld")
2836
		Weld.Part0 = Torso
2837
		Weld.Part1 = Bar
2838
		Weld.C0 = CFrame.new(0, 0.5, 0)
2839
		Weld.Parent = Torso
2840
		--]]
2841
	end
2842
	Character.Parent = Gibs
2843
	game.Debris:AddItem(Character, 12)
2844
	if movevector ~= Vector3.new() then
2845
		for i = 1,10 do
2846
			wait()
2847
			Torso.Velocity = Vector3.new(0,0,-100)
2848
			Head.Velocity = movevector * 200
2849
		end
2850
	end
2851
	end
2852
	
2853
	
2854
2855
function SpinSlice()
2856
	NoAnims = true
2857-
trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
2857+
2858
	
2859
	
2860
	Sound("rbxassetid://588738949",char,90,1,false)
2861
	kiblade.Transparency = 0
2862
	kiblade2.Transparency = 0
2863
    trail.Enabled = true
2864
    trail2.Enabled = true
2865
2866
	hum.WalkSpeed = 0
2867
	for i = 1,40 do
2868
		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)
2869
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)
2870
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)
2871
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
2872
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
2873
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
2874
if Debounces.on == false then break end
2875
                wait()
2876
	end
2877
	
2878
	
2879
	coroutine.resume(coroutine.create(function()
2880
	local BF = Instance.new("BodyVelocity",hed)
2881
	BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2882
	BF.velocity = root.CFrame.lookVector*120
2883
	wait(2.0)
2884
	BF:remove()
2885
	end))
2886
	
2887
	coroutine.resume(coroutine.create(function()
2888
	Sound("rbxassetid://588734356",char,90,1,false)
2889
	wait(.1)
2890
	Sound("rbxassetid://588734356",char,90,1,false)
2891
	wait(.1)
2892
	Sound("rbxassetid://588734356",char,90,1,false)
2893
	wait(.1)
2894
	Sound("rbxassetid://588734356",char,90,1,false)
2895
	wait(.1)
2896
	Sound("rbxassetid://588734356",char,90,1,false)
2897
	wait(.1)
2898
	Sound("rbxassetid://588734356",char,90,1,false)
2899
	wait(.1)
2900
	Sound("rbxassetid://588734356",char,90,1,false)
2901
	wait(.1)
2902
	Sound("rbxassetid://588734356",char,90,1,false)
2903
end))
2904
	local HitBox = Instance.new("Part",rarm)
2905
	HitBox.Size = Vector3.new(1,5,1)
2906
	HitBox.CanCollide = false
2907
	HitBox.Transparency = 1
2908
	local HitBox2 = Instance.new("Weld",HitBox)
2909
	HitBox2.Part0 = rarm
2910
	HitBox2.Part1 = HitBox
2911
	HitBox2.C0 = CFrame.new(0,-1.8,0)
2912
	HitBox.Touched:connect(function(hit)
2913
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
2914
			Kill(hit.Parent)
2915
			hit.Parent.Humanoid.PlatformStand = true
2916
		end
2917
	end)
2918
	
2919
	local HitBox2 = Instance.new("Part",larm)
2920
	HitBox2.Size = Vector3.new(1,5,1)
2921
	HitBox2.CanCollide = false
2922
	HitBox2.Transparency = 1
2923
	local HitBox22 = Instance.new("Weld",HitBox2)
2924
	HitBox22.Part0 = larm
2925
	HitBox22.Part1 = HitBox2
2926
	HitBox22.C0 = CFrame.new(0,-1.8,0)
2927
	HitBox2.Touched:connect(function(hit)
2928
		if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
2929
			Kill(hit.Parent)
2930
			hit.Parent.Humanoid.PlatformStand = true
2931
		end
2932
		end)
2933
2934
	for i = 1,40 do
2935
		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)
2936
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)
2937
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)
2938
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
2939
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
2940
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
2941
	root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
2942
	 if Debounces.on == false then break end
2943
                wait()
2944
	end
2945
	kiblade.Transparency = 1
2946
	kiblade2.Transparency = 1
2947
	trail.Enabled = false
2948
    trail2.Enabled = false
2949
HitBox:Destroy()
2950
HitBox2:Destroy()
2951
    hum.WalkSpeed = 5
2952
	attack = false
2953
	NoAnims = false
2954
end
2955
	
2956
	
2957
	
2958
	
2959
function hito(partoz, magn, dmg, debtim)
2960
    for _, guy in pairs(workspace:GetChildren()) do
2961
      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
2962
        do
2963
          local humz = guy:FindFirstChildOfClass("Humanoid")
2964
          local hed = guy:FindFirstChild("Head")
2965
          humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
2966
          local db = Instance.new("StringValue")
2967
          db.Name = "alabo"
2968
          db.Parent = hed
2969
          delay(debtim, function()
2970
            db:Destroy()
2971
          end)
2972
        end
2973
      end
2974
    end
2975
  end
2976
end
2977
	
2978
	
2979
	
2980
	ang = CFrame.Angles
2981
rd = math.rad
2982
rd2 = math.random
2983
ov = false
2984
2985
2986
2987
nooutline = function(i)	
2988
	i.TopSurface = 10
2989
end
2990
makepart = function(l, m, n, o, p, q, r)	
2991
	local s = Instance.new("Part")
2992
	s.BrickColor = BrickColor.new(l)
2993
	s.Name = m
2994
	s.Transparency = o
2995
	nooutline(s)
2996
	s.Reflectance = n
2997
	s.Material = p
2998
	s.Anchored = true
2999
	s.CanCollide = false
3000
	s.Locked = true
3001
	s.CFrame = r
3002
	s.Size = Vector3.new(0.2, 0.2, 0.2)
3003
	s.Parent = q
3004
	return s
3005
end
3006
3007
makemesh = function(t, u, v, w)	
3008
	local x = Instance.new("SpecialMesh")
3009
	x.MeshType = t
3010
	x.Scale = u
3011
	if t == "FileMesh" then
3012
		x.MeshId = v
3013
	end
3014
	x.Parent = w
3015
	return x
3016
end
3017
3018
local H = {}
3019
3020
3021
	Barrage = function()
3022
	modz = Instance.new("Model")
3023
	modz.Name = "efx"
3024
	modz.Parent = char	
3025
	ov = true
3026
	hum.AutoRotate = false
3027
	local aN = nil
3028
	local a9 = true
3029
	local aa = {}
3030
	local ab = {}
3031
	local b7 = {}
3032
	for j = 1, 16 do
3033
		local ac = Instance.new("Part")
3034
		nooutline(ac)
3035
		ac.Anchored = true
3036
		ac.Locked = true
3037
		ac.CanCollide = false
3038
		ac.Material = "Neon"
3039
		ac.Size = Vector3.new(1, 1, 1)
3040
		ac.Transparency = 1
3041
		ac.CFrame = CFrame.new(0, 1000, 0)
3042
		ac.Parent = modz
3043
		ac.BrickColor = BrickColor.new("Deep orange")
3044
		makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
3045
		table.insert(aa, ac)
3046
	end
3047
	for j = 1, 40 do
3048
		local a3 = makepart("Deep orange", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3049
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
3050
		table.insert(ab, a3)
3051
	end
3052
	for j = 1, 30 do
3053
		local a3 = makepart("Deep orange", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3054
		makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
3055
		table.insert(b7, a3)
3056
	end
3057
	local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
3058
	local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
3059
	for I,aO in pairs(H) do
3060
		if aO.Parent == rarm or aO.Parent == larm then
3061
			aN = aO.Transparency
3062
			aO.Transparency = 1
3063
		end
3064
	end
3065
	local a8 = Instance.new("BodyGyro")
3066
	a8.MaxTorque = Vector3.new(1050, 3000, 750)
3067
	a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3068
	a8.P = 580000
3069
	a8.D = 250
3070
	a8.Parent = root
3071
	coroutine.resume(coroutine.create(function()		
3072
		while a8 do
3073
			swait()
3074
			a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
3075
		end
3076
	end))
3077
	local af = 0
3078
	local ag = 0
3079
	repeat
3080
			ag = ag + 1
3081
			if af == 0 then
3082
				af = 1
3083
			else
3084
				af = af % 14 + 1
3085
			end
3086
		coroutine.resume(coroutine.create(function()		
3087
		local ah = aa[af]
3088
		local ai = ab[af]
3089
		local aj = ab[af + 14]
3090
		local ba = b7[af]
3091
		ah.Size = Vector3.new(1, 1, 2)
3092
		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)
3093
		ah.Transparency = 0.25
3094
		ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
3095
		ai.Transparency = 0.35
3096
		ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
3097
		aj.Transparency = 0.45
3098
		aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3099
		aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
3100
		if af % 2 == 1 then
3101
			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))
3102
		else
3103
			if af % 2 == 0 then
3104
				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))
3105
			end
3106
		end
3107
		ba.CFrame = ah.CFrame * cf(0, 0, -8)
3108
		ba.Transparency = 0.4
3109
		ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
3110
		local bb = ah.CFrame * cf(0, 0, -5)
3111
		local bc = aj.CFrame * cf(0, -0.1, 0)
3112
		local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
3113
		local ak = false
3114
		for j = 1, 12 do
3115
			swait()
3116
			local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
3117
			local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
3118
			if a1 and ak == false then
3119
				ak = true
3120
				local a3 = makepart("Deep orange", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
3121
				do
3122
					local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
3123
					game.Debris:AddItem(a3, 0.5)
3124
					local a5 = rd2(1, 12)
3125
					if a5 == 6 then
3126
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
3127
					else
3128
						hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
3129
					end
3130
					coroutine.resume(coroutine.create(function()			
3131
			for I = 1, 4 do
3132
				swait()
3133
				a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
3134
				a3.Transparency = a3.Transparency + 0.2
3135
			end
3136
			a3:Destroy()
3137
		end))
3138
				end
3139
			end
3140
					ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
3141
					ah.CFrame = ah.CFrame:lerp(bb, 1)
3142
					ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
3143
					ah.Transparency = ah.Transparency + 0.0725
3144
					ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
3145
					ai.Transparency = ai.Transparency + 0.06
3146
					aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
3147
					aj.CFrame = aj.CFrame:lerp(bc, 0.3)
3148
					aj.Transparency = aj.Transparency + 0.05
3149
					ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
3150
					ba.CFrame = ba.CFrame:lerp(bd, 0.3)
3151
					ba.Transparency = ba.Transparency + 0.06
3152
		end
3153
	end))
3154
			swait()
3155
		until ov == false
3156
	for I,aO in pairs(H) do
3157
		if aO.Parent == rarm or aO.Parent == larm then
3158
			aO.Transparency = aN
3159
		end
3160
	end
3161
	b8:Destroy()
3162
	b9:Destroy()
3163
	a8:Destroy()
3164
	hum.AutoRotate = true
3165
	ov = false
3166
	wait(1)
3167
	for I,al in pairs(aa) do
3168
		al:Destroy()
3169
	end
3170
	for I,am in pairs(ab) do
3171
		am:Destroy()
3172
	end
3173
	for I,be in pairs(b7) do
3174
		be:Destroy()
3175
	end
3176
	end
3177
	
3178
	
3179
	
3180
	
3181
	
3182
	
3183
	function Kneel()
3184
		
3185
 for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
3186
        if v:FindFirstChild('Humanoid') then
3187
	
3188
	hum2 = v:FindFirstChild('Humanoid')
3189
    hum2.PlatformStand=true
3190
   
3191
end
3192
end
3193
	end
3194
	
3195
--[[mouse.KeyDown:connect(function(key)
3196
	if key == "l" and Trans == false and Strength then
3197
		Transformation()
3198
		Trans = true
3199
	end
3200
end)]]
3201
3202
3203
3204
mouse.KeyDown:connect(function(key)
3205
	if key == "z" then
3206
		GrabAndDrag()
3207
	end
3208
end)
3209
3210
3211
mouse.KeyDown:connect(function(key)
3212
	if key == "x"  then
3213
		AirSlam()
3214
	end
3215
end)
3216
3217
3218
3219
mouse.KeyDown:connect(function(key)
3220
	if key == "c"  then
3221
		SpinSlice()
3222
	end
3223
end)
3224
3225
3226
mouse.KeyDown:connect(function(key)
3227
	if key == "p"  and Full == false then
3228
		FullPower()
3229
	end
3230
end)
3231
3232
mouse.KeyDown:connect(function(key)
3233
	if key == "1"  then
3234
		Sound("rbxassetid://966268002",char,90,1,false)
3235
		Kneel()
3236
	end
3237
end)
3238
3239
mouse.KeyDown:connect(function(key)
3240
	if key == "v" then
3241
		if ov == false then
3242
		hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
3243
        wait()
3244
        local ChatService = game:GetService("Chat")
3245
	    wait()
3246
        local ChatService = game:GetService("Chat")
3247
coroutine.resume(coroutine.create(function()
3248
s = 0
3249
repeat
3250
s = s + 1
3251
Barrage()
3252
wait()
3253
until not ov
3254
end))
3255
if Full == true then
3256
coroutine.resume(coroutine.create(function()
3257
s = 0
3258
repeat
3259
s = s + 1
3260
Barrage()
3261
wait()
3262
until not ov
3263
end))	
3264
end
3265-
		ac.BrickColor = BrickColor.new("Really blue")
3265+
3266
	if key == "v" then
3267
		wait(0.4)
3268
		ov = false
3269
		wait(0.1)
3270-
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3270+
3271
end)
3272
end
3273
end
3274
end)
3275-
		local a3 = makepart("Really blue", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
3275+
3276
3277
3278
3279
3280
-----animations-----
3281
3282
game:GetService("RunService").RenderStepped:connect(function()
3283
char.Humanoid.FreeFalling:connect(function(f)
3284
if f then
3285
ffing = true
3286
else
3287
ffing = false
3288
end
3289
end)
3290
sine = sine + add
3291
if ffing==true then
3292
anim="jump"
3293
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
3294
anim="idle"
3295
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
3296
anim = "walk"
3297
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
3298
anim = "run"
3299
end
3300
3301
if NoAnims==false then
3302
if anim=="idle" then
3303
add=0.5
3304
if trans == false then
3305
torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
3306
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3307
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3308
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)
3309
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)
3310
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
3311
else
3312
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)
3313
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)
3314
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)
3315
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
3316
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
3317
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
3318
end
3319
3320
elseif anim=="walk" then
3321
add=0.5
3322
if trans == false then
3323
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)
3324
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)
3325
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)
3326
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)
3327
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)
3328
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
3329
else
3330
change = 0.5
3331
          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)
3332
          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)
3333
          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)
3334
          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)
3335
          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)
3336
          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)
3337
end
3338
3339
elseif anim=="run" then
3340
add=0.5
3341
if trans == false then
3342-
				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)))
3342+
3343
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)
3344
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)
3345
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)
3346
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)
3347
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
3348
else
3349
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)
3350
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
3351
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
3352
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)
3353
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)
3354
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
3355
end
3356
3357
elseif anim=="jump" then
3358
add=0.5
3359
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)
3360
rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
3361
lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
3362
rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
3363
larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
3364
hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
3365
--//====================================================\\--
3366
--||			   CREATED BY SHACKLUSTER
3367
--\\====================================================//--
3368
3369
wait(0.2)if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3370
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3371
do
3372
	print("FE Compatibility code by Mokiros")
3373
	script.Parent = Player.Character
3374
3375
	--RemoteEvent for communicating
3376
	local Event = Instance.new("RemoteEvent")
3377
	Event.Name = "UserInput_Event"
3378
3379
	--Fake event to make stuff like Mouse.KeyDown work
3380
	local function fakeEvent()
3381
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
3382
		t.connect = t.Connect
3383
		return t
3384
	end
3385
3386
	--Creating fake input objects with fake variables
3387
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
3388
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
3389
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
3390
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
3391
	end}
3392
	--Merged 2 functions into one by checking amount of arguments
3393
	CAS.UnbindAction = CAS.BindAction
3394
3395
	--This function will trigger the events that have been :Connect()'ed
3396
	local function te(self,ev,...)
3397
		local t = m[ev]
3398
		if t and t._fakeEvent and t.Function then
3399
			t.Function(...)
3400
		end
3401
	end
3402
	m.TrigEvent = te
3403
	UIS.TrigEvent = te
3404
3405
	Event.OnServerEvent:Connect(function(plr,io)
3406
	    if plr~=Player then return end
3407
		if io.isMouse then
3408
			m.Target = io.Target
3409
			m.Hit = io.Hit
3410
		else
3411
			local b = io.UserInputState == Enum.UserInputState.Begin
3412
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
3413
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
3414
			end
3415
			for _,t in pairs(CAS.Actions) do
3416
				for _,k in pairs(t.Keys) do
3417
					if k==io.KeyCode then
3418
						t.Function(t.Name,io.UserInputState,io)
3419
					end
3420
				end
3421
			end
3422
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
3423
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
3424
	    end
3425
	end)
3426
	Event.Parent = NLS([==[
3427
	local Player = game:GetService("Players").LocalPlayer
3428
	local Event = script:WaitForChild("UserInput_Event")
3429
3430
	local UIS = game:GetService("UserInputService")
3431
	local input = function(io,a)
3432
		if a then return end
3433
		--Since InputObject is a client-side instance, we create and pass table instead
3434
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
3435
	end
3436
	UIS.InputBegan:Connect(input)
3437
	UIS.InputEnded:Connect(input)
3438
3439
	local Mouse = Player:GetMouse()
3440
	local h,t
3441
	--Give the server mouse data 30 times every second, but only if the values changed
3442
	--If player is not moving their mouse, client won't fire events
3443
	while wait(1/30) do
3444
		if h~=Mouse.Hit or t~=Mouse.Target then
3445
			h,t=Mouse.Hit,Mouse.Target
3446
			Event:FireServer({isMouse=true,Target=t,Hit=h})
3447
		end
3448
	end]==],Player.Character)
3449
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
3450
end
3451
3452
Player = owner
3453
PlayerGui = Player.PlayerGui
3454
Cam = workspace.CurrentCamera
3455
Backpack = Player.Backpack
3456
Character = Player.Character
3457
Humanoid = Character.Humanoid
3458
RootPart = Character["HumanoidRootPart"]
3459
Torso = Character["Torso"]
3460
Head = Character["Head"]
3461
RightArm = Character["Right Arm"]
3462
LeftArm = Character["Left Arm"]
3463
RightLeg = Character["Right Leg"]
3464
LeftLeg = Character["Left Leg"]
3465
RootJoint = RootPart["RootJoint"]
3466
Neck = Torso["Neck"]
3467
RightShoulder = Torso["Right Shoulder"]
3468
LeftShoulder = Torso["Left Shoulder"]
3469
RightHip = Torso["Right Hip"]
3470
LeftHip = Torso["Left Hip"]
3471
local sick = Instance.new("Sound",Character)
3472
sick.SoundId = "rbxassetid://1494340971"
3473
sick.Looped = true
3474
sick.Pitch = 1
3475
sick.Volume = 1
3476
sick:Play()
3477
3478
IT = Instance.new
3479
CF = CFrame.new
3480
VT = Vector3.new
3481
RAD = math.rad
3482
C3 = Color3.new
3483
UD2 = UDim2.new
3484
BRICKC = BrickColor.new
3485
ANGLES = CFrame.Angles
3486
EULER = CFrame.fromEulerAnglesXYZ
3487
COS = math.cos
3488
ACOS = math.acos
3489
SIN = math.sin
3490
ASIN = math.asin
3491
ABS = math.abs
3492
MRANDOM = math.random
3493
FLOOR = math.floor
3494
3495
--//=================================\\
3496
--|| 	      USEFUL VALUES
3497
--\\=================================//
3498
3499
Animation_Speed = 3
3500
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
3501
local Speed = 25
3502
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
3503
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
3504
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
3505
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
3506
local DAMAGEMULTIPLIER = 1
3507
local ANIM = "Idle"
3508
local ATTACK = false
3509
local EQUIPPED = false
3510
local HOLD = false
3511
local COMBO = 1
3512
local Rooted = false
3513
local SINE = 0
3514
local KEYHOLD = false
3515
local CHANGE = 2 / Animation_Speed
3516
local WALKINGANIM = false
3517
local VALUE1 = false
3518
local VALUE2 = false
3519
local ROBLOXIDLEANIMATION = IT("Animation")
3520
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
3521
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
3522
--ROBLOXIDLEANIMATION.Parent = Humanoid
3523
local WEAPONGUI = IT("ScreenGui", PlayerGui)
3524
WEAPONGUI.Name = "Weapon GUI"
3525
local Effects = IT("Folder", Character)
3526
Effects.Name = "Effects"
3527
local ANIMATOR = Humanoid.Animator
3528
local ANIMATE = Character.Animate
3529
local UNANCHOR = true
3530
local PLAYMAINANIM = true
3531
local BOLTSOUNDS = {168586621,168586586,178452241}
3532
3533
--//=================================\\
3534
--\\=================================//
3535
3536
3537
--//=================================\\
3538
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
3539
--\\=================================//
3540
3541
ArtificialHB = Instance.new("BindableEvent", script)
3542
ArtificialHB.Name = "ArtificialHB"
3543
3544
script:WaitForChild("ArtificialHB")
3545
3546
frame = Frame_Speed
3547
tf = 0
3548
allowframeloss = false
3549
tossremainder = false
3550
lastframe = tick()
3551
script.ArtificialHB:Fire()
3552
3553
game:GetService("RunService").Heartbeat:connect(function(s, p)
3554
	tf = tf + s
3555
	if tf >= frame then
3556
		if allowframeloss then
3557
			script.ArtificialHB:Fire()
3558
			lastframe = tick()
3559
		else
3560
			for i = 1, math.floor(tf / frame) do
3561
				script.ArtificialHB:Fire()
3562
			end
3563
		lastframe = tick()
3564
		end
3565
		if tossremainder then
3566
			tf = 0
3567
		else
3568
			tf = tf - frame * math.floor(tf / frame)
3569
		end
3570
	end
3571
end)
3572
3573
--//=================================\\
3574
--\\=================================//
3575
3576
--//=================================\\
3577
--|| 	      SOME FUNCTIONS
3578
--\\=================================//
3579
3580
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
3581
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
3582
end
3583
3584
function PositiveAngle(NUMBER)
3585
	if NUMBER >= 0 then
3586
		NUMBER = 0
3587
	end
3588
	return NUMBER
3589
end
3590
3591
function NegativeAngle(NUMBER)
3592
	if NUMBER <= 0 then
3593
		NUMBER = 0
3594
	end
3595
	return NUMBER
3596
end
3597
3598
function Swait(NUMBER)
3599
	if NUMBER == 0 or NUMBER == nil then
3600
		ArtificialHB.Event:wait()
3601
	else
3602
		for i = 1, NUMBER do
3603
			ArtificialHB.Event:wait()
3604
		end
3605
	end
3606
end
3607
3608
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
3609
	local NEWMESH = IT(MESH)
3610
	if MESH == "SpecialMesh" then
3611
		NEWMESH.MeshType = MESHTYPE
3612
		if MESHID ~= "nil" and MESHID ~= "" then
3613
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
3614
		end
3615
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
3616
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
3617
		end
3618
	end
3619
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
3620
	NEWMESH.Scale = SCALE
3621
	NEWMESH.Parent = PARENT
3622
	return NEWMESH
3623
end
3624
3625
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
3626
	local NEWPART = IT("Part")
3627
	NEWPART.formFactor = FORMFACTOR
3628
	NEWPART.Reflectance = REFLECTANCE
3629
	NEWPART.Transparency = TRANSPARENCY
3630
	NEWPART.CanCollide = false
3631
	NEWPART.Locked = true
3632
	NEWPART.Anchored = true
3633
	if ANCHOR == false then
3634
		NEWPART.Anchored = false
3635
	end
3636
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
3637
	NEWPART.Name = NAME
3638
	NEWPART.Size = SIZE
3639
	NEWPART.Position = Torso.Position
3640
	NEWPART.Material = MATERIAL
3641
	NEWPART:BreakJoints()
3642
	NEWPART.Parent = PARENT
3643
	return NEWPART
3644
end
3645
3646
	local function weldBetween(a, b)
3647
	    local weldd = Instance.new("ManualWeld")
3648
	    weldd.Part0 = a
3649
	    weldd.Part1 = b
3650
	    weldd.C0 = CFrame.new()
3651
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
3652
	    weldd.Parent = a
3653
	    return weldd
3654
	end
3655
3656
3657
function QuaternionFromCFrame(cf)
3658
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
3659
	local trace = m00 + m11 + m22
3660
	if trace > 0 then 
3661
		local s = math.sqrt(1 + trace)
3662
		local recip = 0.5 / s
3663
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
3664
	else
3665
		local i = 0
3666
		if m11 > m00 then
3667
			i = 1
3668
		end
3669
		if m22 > (i == 0 and m00 or m11) then
3670
			i = 2
3671
		end
3672
		if i == 0 then
3673
			local s = math.sqrt(m00 - m11 - m22 + 1)
3674
			local recip = 0.5 / s
3675
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
3676
		elseif i == 1 then
3677
			local s = math.sqrt(m11 - m22 - m00 + 1)
3678
			local recip = 0.5 / s
3679
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
3680
		elseif i == 2 then
3681
			local s = math.sqrt(m22 - m00 - m11 + 1)
3682
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
3683
		end
3684
	end
3685
end
3686
 
3687
function QuaternionToCFrame(px, py, pz, x, y, z, w)
3688
	local xs, ys, zs = x + x, y + y, z + z
3689
	local wx, wy, wz = w * xs, w * ys, w * zs
3690
	local xx = x * xs
3691
	local xy = x * ys
3692
	local xz = x * zs
3693
	local yy = y * ys
3694
	local yz = y * zs
3695
	local zz = z * zs
3696
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
3697
end
3698
 
3699
function QuaternionSlerp(a, b, t)
3700
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
3701
	local startInterp, finishInterp;
3702
	if cosTheta >= 0.0001 then
3703
		if (1 - cosTheta) > 0.0001 then
3704
			local theta = ACOS(cosTheta)
3705
			local invSinTheta = 1 / SIN(theta)
3706
			startInterp = SIN((1 - t) * theta) * invSinTheta
3707
			finishInterp = SIN(t * theta) * invSinTheta
3708
		else
3709
			startInterp = 1 - t
3710
			finishInterp = t
3711
		end
3712
	else
3713
		if (1 + cosTheta) > 0.0001 then
3714
			local theta = ACOS(-cosTheta)
3715
			local invSinTheta = 1 / SIN(theta)
3716
			startInterp = SIN((t - 1) * theta) * invSinTheta
3717
			finishInterp = SIN(t * theta) * invSinTheta
3718
		else
3719
			startInterp = t - 1
3720
			finishInterp = t
3721
		end
3722
	end
3723
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
3724
end
3725
3726
function Clerp(a, b, t)
3727
	local qa = {QuaternionFromCFrame(a)}
3728
	local qb = {QuaternionFromCFrame(b)}
3729
	local ax, ay, az = a.x, a.y, a.z
3730
	local bx, by, bz = b.x, b.y, b.z
3731
	local _t = 1 - t
3732
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
3733
end
3734
3735
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
3736
	local frame = IT("Frame")
3737
	frame.BackgroundTransparency = TRANSPARENCY
3738
	frame.BorderSizePixel = BORDERSIZEPIXEL
3739
	frame.Position = POSITION
3740
	frame.Size = SIZE
3741
	frame.BackgroundColor3 = COLOR
3742
	frame.BorderColor3 = BORDERCOLOR
3743
	frame.Name = NAME
3744
	frame.Parent = PARENT
3745
	return frame
3746
end
3747
3748
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
3749
	local label = IT("TextLabel")
3750
	label.BackgroundTransparency = 1
3751
	label.Size = UD2(1, 0, 1, 0)
3752
	label.Position = UD2(0, 0, 0, 0)
3753
	label.TextColor3 = TEXTCOLOR
3754
	label.TextStrokeTransparency = STROKETRANSPARENCY
3755
	label.TextTransparency = TRANSPARENCY
3756
	label.FontSize = TEXTFONTSIZE
3757
	label.Font = TEXTFONT
3758
	label.BorderSizePixel = BORDERSIZEPIXEL
3759
	label.TextScaled = false
3760
	label.Text = TEXT
3761
	label.Name = NAME
3762
	label.Parent = PARENT
3763
	return label
3764
end
3765
3766
function NoOutlines(PART)
3767
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
3768
end
3769
3770
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
3771
	local NEWWELD = IT(TYPE)
3772
	NEWWELD.Part0 = PART0
3773
	NEWWELD.Part1 = PART1
3774
	NEWWELD.C0 = C0
3775
	NEWWELD.C1 = C1
3776
	NEWWELD.Parent = PARENT
3777
	return NEWWELD
3778
end
3779
3780
local S = IT("Sound")
3781
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
3782
	local NEWSOUND = nil
3783
	coroutine.resume(coroutine.create(function()
3784
		NEWSOUND = S:Clone()
3785
		NEWSOUND.Parent = PARENT
3786
		NEWSOUND.Volume = VOLUME
3787
		NEWSOUND.Pitch = PITCH
3788
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
3789
		NEWSOUND:play()
3790
		if DOESLOOP == true then
3791
			NEWSOUND.Looped = true
3792
		else
3793
			repeat wait(1) until NEWSOUND.Playing == false
3794
			NEWSOUND:remove()
3795
		end
3796
	end))
3797
	return NEWSOUND
3798
end
3799
3800
local EyeSizes={
3801
	NumberSequenceKeypoint.new(0,2,0),
3802
	NumberSequenceKeypoint.new(1,0,0)
3803
}
3804
local EyeTrans={
3805
	NumberSequenceKeypoint.new(0,0.5,0),
3806
	NumberSequenceKeypoint.new(1,1,0)
3807
}
3808
local PE=Instance.new("ParticleEmitter",nil)
3809
PE.LightEmission=.8
3810
PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Deep orange").Color)
3811
PE.Size=NumberSequence.new(EyeSizes)
3812
PE.Transparency=NumberSequence.new(EyeTrans)
3813
PE.Lifetime=NumberRange.new(0.35,1)
3814
PE.Rotation=NumberRange.new(0,360)
3815
PE.Rate=100
3816
PE.VelocitySpread = 10000
3817
PE.Acceleration = Vector3.new(0,85,0)
3818
PE.Drag = 5
3819
PE.Speed = NumberRange.new(0.1,5)
3820
PE.Texture="http://www.roblox.com/asset/?id=1460745664"
3821
PE.ZOffset = 0.5
3822
PE.Name = "PE"
3823
PE.Enabled = false
3824
3825
function Fire(art)
3826
	local PARTICLES = PE:Clone()
3827
	PARTICLES.Parent = art
3828
	PARTICLES.Enabled = true
3829
	return PARTICLES
3830
end
3831
3832
function CFrameFromTopBack(at, top, back)
3833
	local right = top:Cross(back)
3834
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
3835
end
3836
3837
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3838
function WACKYEFFECT(Table)
3839
	local TYPE = (Table.EffectType or "Sphere")
3840
	local SIZE = (Table.Size or VT(1,1,1))
3841
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
3842
	local TRANSPARENCY = (Table.Transparency or 0)
3843
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
3844
	local CFRAME = (Table.CFrame or Torso.CFrame)
3845
	local MOVEDIRECTION = (Table.MoveToPos or nil)
3846
	local ROTATION1 = (Table.RotationX or 0)
3847
	local ROTATION2 = (Table.RotationY or 0)
3848
	local ROTATION3 = (Table.RotationZ or 0)
3849
	local MATERIAL = (Table.Material or "Neon")
3850
	local COLOR = (Table.Color or C3(1,1,1))
3851
	local TIME = (Table.Time or 45)
3852
	local SOUNDID = (Table.SoundID or nil)
3853
	local SOUNDPITCH = (Table.SoundPitch or nil)
3854
	local SOUNDVOLUME = (Table.SoundVolume or nil)
3855
	coroutine.resume(coroutine.create(function()
3856
		local PLAYSSOUND = false
3857
		local SOUND = nil
3858
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Crimson"), "Effect", VT(1,1,1), true)
3859
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
3860
			PLAYSSOUND = true
3861
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
3862
		end
3863
		EFFECT.Color = COLOR
3864
		local MSH = nil
3865
		if TYPE == "Sphere" then
3866
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
3867
		elseif TYPE == "Block" or TYPE == "Box" then
3868
			MSH = IT("BlockMesh",EFFECT)
3869
			MSH.Scale = SIZE
3870
		elseif TYPE == "Wave" then
3871
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
3872
		elseif TYPE == "Ring" then
3873
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
3874
		elseif TYPE == "Slash" then
3875
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
3876
		elseif TYPE == "Round Slash" then
3877
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
3878
		elseif TYPE == "Swirl" then
3879
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
3880
		elseif TYPE == "Skull" then
3881
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
3882
		elseif TYPE == "Crystal" then
3883
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
3884
		end
3885
		if MSH ~= nil then
3886
			local MOVESPEED = nil
3887
			if MOVEDIRECTION ~= nil then
3888
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
3889
			end
3890
			local GROWTH = SIZE - ENDSIZE
3891
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
3892
			if TYPE == "Block" then
3893
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
3894
			else
3895
				EFFECT.CFrame = CFRAME
3896
			end
3897
			for LOOP = 1, TIME+1 do
3898
				Swait()
3899
				MSH.Scale = MSH.Scale - GROWTH/TIME
3900
				if TYPE == "Wave" then
3901
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
3902
				end
3903
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
3904
				if TYPE == "Block" then
3905
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
3906
				else
3907
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
3908
				end
3909
				if MOVEDIRECTION ~= nil then
3910
					local ORI = EFFECT.Orientation
3911
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
3912
					EFFECT.Orientation = ORI
3913
				end
3914
			end
3915
			if PLAYSSOUND == false then
3916
				EFFECT:remove()
3917
			else
3918
				repeat wait(1) until SOUND.Playing == false
3919
				EFFECT:remove()
3920
			end
3921
		else
3922
			if PLAYSSOUND == false then
3923
				EFFECT:remove()
3924
			else
3925
				repeat Swait() until SOUND.Playing == false
3926
				EFFECT:remove()
3927
			end
3928
		end
3929
	end))
3930
end
3931
3932
function MakeForm(PART,TYPE)
3933
	if TYPE == "Cyl" then
3934
		local MSH = IT("CylinderMesh",PART)
3935
	elseif TYPE == "Ball" then
3936
		local MSH = IT("SpecialMesh",PART)
3937
		MSH.MeshType = "Sphere"
3938
	elseif TYPE == "Wedge" then
3939
		local MSH = IT("SpecialMesh",PART)
3940
		MSH.MeshType = "Wedge"
3941
	end
3942
end
3943
3944
Debris = game:GetService("Debris")
3945
3946
function CastProperRay(StartPos, EndPos, Distance, Ignore)
3947
	local DIRECTION = CF(StartPos,EndPos).lookVector
3948
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
3949
end
3950
3951
local HATWELD = nil
3952
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
3953
	PLAYMAINANIM = false
3954
	if WhichPose == "Cast1" then
3955
		for i=0, Time, 0.1 / Animation_Speed do
3956
			Swait()
3957
			if Magic == true then
3958
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3959
			end
3960
			if Gyro ~= nil and Gyro ~= false then
3961
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
3962
			end
3963
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
3964
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
3965
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
3966
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
3967
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
3968
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
3969
		end
3970
	elseif WhichPose == "Cast2" then
3971
		for i=0, Time, 0.1 / Animation_Speed do
3972
			Swait()
3973
			if Magic == true then
3974
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3975
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3976
			end
3977
			if Gyro ~= nil and Gyro ~= false then
3978
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
3979
			end
3980
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
3981
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
3982
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
3983
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
3984
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
3985
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
3986
		end
3987
	elseif WhichPose == "RightArmUp" then
3988
		for i=0, Time, 0.1 / Animation_Speed do
3989
			Swait()
3990
			if Magic == true then
3991
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3992
			end
3993
			if Gyro ~= nil and Gyro ~= false then
3994
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
3995
			end
3996
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
3997
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
3998
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
3999
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4000
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4001
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4002
		end
4003
	elseif WhichPose == "Taunt" then
4004
		for i=0, Time, 0.1 / Animation_Speed do
4005
			Swait()
4006
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
4007
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
4008
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
4009
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4010
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4011
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4012
		end
4013
		HATWELD.Part0 = RightArm
4014
		HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
4015
		CreateSound(221057812,Torso,10,1,false)
4016
		for i=0, Time*2, 0.1 / Animation_Speed do
4017
			Swait()
4018
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
4019
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
4020
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
4021
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4022
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4023
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4024
		end
4025
		for i=0, Time, 0.1 / Animation_Speed do
4026
			Swait()
4027
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
4028
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
4029
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
4030
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4031
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4032
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4033
			HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
4034
		end
4035
		HATWELD.Part0 = Head
4036
		HATWELD.C0 = CF(0,0.35,0)
4037
	elseif WhichPose == "Prepare key" then
4038
		for i=0, Time, 0.1 / Animation_Speed do
4039
			Swait()
4040
			if Gyro ~= nil and Gyro ~= false then
4041
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
4042
			end
4043
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
4044
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
4045
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
4046
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4047
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4048
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4049
		end
4050
	elseif WhichPose == "Turn key" then
4051
		for i=0, Time, 0.1 / Animation_Speed do
4052
			Swait()
4053
			if Gyro ~= nil and Gyro ~= false then
4054
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
4055
			end
4056
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
4057
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
4058
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
4059
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
4060
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
4061
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
4062
		end
4063
	end
4064
	PLAYMAINANIM = true
4065
end
4066
4067
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
4068
function Lightning(Table)
4069
	local Color = Table.Color or C3(1,1,1)
4070
	local StartPos = Table.Start or Torso.Position
4071
	local EndPos = Table.End or Mouse.Hit.p
4072
	local SegmentLength = Table.SegmentL or 2
4073
	local Thickness = Table.Thickness or 0.1
4074
	local Dissapear = Table.DoesFade or false
4075
	local Parent = Table.Ignore or Character
4076
	local MaxDist = Table.MaxDist or 400
4077
	local Branches = Table.Branches or false
4078
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
4079
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
4080
	local LIGHTNINGMODEL = IT("Model",Effects)
4081
	LIGHTNINGMODEL.Name = "Lightning"
4082
	local LastBolt = nil
4083
	for E = 1, DISTANCE do
4084
		local ExtraSize = (DISTANCE-E)/15
4085
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
4086
		PART.Color = Color
4087
		MakeForm(PART,"Cyl")
4088
		if LastBolt == nil then
4089
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
4090
		else
4091
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
4092
		end
4093
		LastBolt = PART
4094
		if Branches == true then
4095
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
4096
			if CHOICE == 1 then
4097
				local LASTBRANCH = nil
4098
				for i = 1, MRANDOM(2,5) do
4099
					local ExtraSize2 = ((DISTANCE-E)/25)/i
4100
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
4101
					PART.Color = Color
4102
					MakeForm(PART,"Cyl")
4103
					if LASTBRANCH == nil then
4104
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
4105
					else
4106
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
4107
					end
4108
					LASTBRANCH = PART
4109
				end
4110
			end
4111
		end
4112
	end
4113
	if Dissapear == true then
4114
		coroutine.resume(coroutine.create(function()
4115
			for i = 1, 10 do
4116
				Swait()
4117
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
4118
					if c.ClassName == "Part" then
4119
						c.Transparency = i/10
4120
					end
4121
				end
4122
			end
4123
			LIGHTNINGMODEL:remove()
4124
		end))
4125
	elseif Dissapear == false then
4126
		Debris:AddItem(LIGHTNINGMODEL,0.1)
4127
	end
4128
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
4129
end
4130
4131
--//=================================\\
4132
--||	     WEAPON CREATION
4133
--\\=================================//
4134
4135
for i = 1, 15 do
4136
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
4137
	FACE.Color = C3(0,0,0)
4138
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
4139
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
4140
end
4141
local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
4142
MakeForm(HAT1,"Cyl")
4143
HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
4144
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
4145
BELT.Color = C3(15/255,15/255,15/255)
4146
MakeForm(BELT,"Cyl")
4147
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
4148
local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
4149
MakeForm(HAT2,"Cyl")
4150
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
4151
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
4152
BELT.Color = C3(15/255,15/255,15/255)
4153
MakeForm(BELT,"Cyl")
4154
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
4155
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.25,0.25,0.1),false)
4156
MakeForm(GEM,"Ball")
4157
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
4158
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.25,0.25,0.1),false)
4159
MakeForm(GEM,"Ball")
4160
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
4161
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.1,0.25,0.25),false)
4162
MakeForm(GEM,"Ball")
4163
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
4164
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.1,0.25,0.25),false)
4165
MakeForm(GEM,"Ball")
4166
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
4167
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
4168
BELT.Color = C3(15/255,15/255,15/255)
4169
MakeForm(BELT,"Cyl")
4170
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
4171
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
4172
BELT.Color = C3(15/255,15/255,15/255)
4173
MakeForm(BELT,"Cyl")
4174
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
4175
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
4176
BELT.Color = C3(15/255,15/255,15/255)
4177
MakeForm(BELT,"Cyl")
4178
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
4179
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
4180
BELT.Color = C3(15/255,15/255,15/255)
4181
MakeForm(BELT,"Cyl")
4182
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
4183
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
4184
MakeForm(BELT,"Ball")
4185
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
4186
Humanoid.DisplayDistanceType = "None"
4187
local naeeym2 = IT("BillboardGui",Character)
4188
naeeym2.AlwaysOnTop = true
4189
naeeym2.Size = UDim2.new(5,35,2,15)
4190
naeeym2.StudsOffset = Vector3.new(0,3,0)
4191
naeeym2.MaxDistance = 75
4192
naeeym2.Adornee = Character.Head
4193
naeeym2.Name = "Name"
4194
naeeym2.PlayerToHideFrom = Player
4195
local tecks2 = IT("TextLabel",naeeym2)
4196
tecks2.BackgroundTransparency = 1
4197
tecks2.TextScaled = true
4198
tecks2.BorderSizePixel = 0
4199
tecks2.Text = ""
4200
tecks2.Font = "Bodoni"
4201
tecks2.TextSize = 30
4202
tecks2.TextStrokeTransparency = 0.5
4203
tecks2.TextColor3 = C3(0,0,0)
4204
tecks2.TextStrokeColor3 = BRICKC"Deep orange".Color
4205
tecks2.Size = UDim2.new(1,0,0.5,0)
4206
tecks2.Parent = naeeym2
4207
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "FaceGradient", VT(0.6,0.1,1)/2,false)
4208
MakeForm(EYE,"Ball")
4209
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
4210
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "FaceGradient", VT(0.6,0.1,1)/2,false)
4211
MakeForm(EYE,"Ball")
4212
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
4213
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "FaceGradient", VT(0.1,1,1)/2,false)
4214
MakeForm(EYE,"Ball")
4215
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
4216
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "FaceGradient", VT(0.1,1,1)/2,false)
4217
MakeForm(EYE,"Ball")
4218
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
4219
4220
local top = Instance.new("Shirt")
4221
top.ShirtTemplate = "rbxassetid://676428254"
4222
top.Parent = Character
4223
top.Name = "Cloth"
4224
local bottom = Instance.new("Pants")
4225
bottom.PantsTemplate = "rbxassetid://676428351"
4226
bottom.Parent = Character
4227
bottom.Name = "Cloth"
4228
for _, c in pairs(Character:GetChildren()) do
4229
	if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
4230
		c.Material = "Neon"
4231
		if c:FindFirstChildOfClass("ParticleEmitter") then
4232
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
4233
		end
4234
		c.Color = C3(1,1,1)
4235
		if c == Head then
4236
			if c:FindFirstChild("face") then
4237
				c.face:remove()
4238
			end
4239
		end
4240
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
4241
		c:remove()
4242
	elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
4243
		c:remove()
4244
	end
4245
end
4246
local BODY = {}
4247
for _, c in pairs(Character:GetDescendants()) do
4248
	if c:IsA("BasePart") and c.Name ~= "Handle" then
4249
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
4250
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
4251
		end
4252
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
4253
	elseif c:IsA("JointInstance") then
4254
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
4255
	end
4256
end
4257
for e = 1, #BODY do
4258
	if BODY[e] ~= nil then
4259
		local STUFF = BODY[e]
4260
		local PART = STUFF[1]
4261
		local PARENT = STUFF[2]
4262
		local MATERIAL = STUFF[3]
4263
		local COLOR = STUFF[4]
4264
		local TRANSPARENCY = STUFF[5]
4265
		if PART.ClassName == "Part" and PART ~= RootPart then
4266
			PART.Material = MATERIAL
4267
			PART.Color = COLOR
4268
			PART.Transparency = TRANSPARENCY
4269
		end
4270
		PART.AncestryChanged:Connect(function()
4271
			PART.Parent = PARENT
4272
		end)
4273
	end
4274
end
4275
function refit()
4276
	Character.Parent = workspace
4277
	for e = 1, #BODY do
4278
		if BODY[e] ~= nil then
4279
			local STUFF = BODY[e]
4280
			local PART = STUFF[1]
4281
			local PARENT = STUFF[2]
4282
			local MATERIAL = STUFF[3]
4283
			local COLOR = STUFF[4]
4284
			local TRANSPARENCY = STUFF[5]
4285
			if PART.ClassName == "Part" and PART ~= RootPart then
4286
				PART.Material = MATERIAL
4287
				PART.Color = COLOR
4288
				PART.Transparency = TRANSPARENCY
4289
			end
4290
			if PART.Parent ~= PARENT then
4291
				Humanoid:remove()
4292
				PART.Parent = PARENT
4293
				Humanoid = IT("Humanoid",Character)
4294
			end
4295
		end
4296
	end
4297
end
4298
local SKILLTEXTCOLOR = BRICKC"Deep orange".Color
4299
local SKILLFONT = "Bodoni"
4300
local SKILLTEXTSIZE = 7
4301
4302
Humanoid.Died:connect(function()
4303
	refit()
4304
end)
4305
4306
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
4307
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
4308
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
4309
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
4310
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
4311
4312
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warden Zap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
4313
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Warden Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
4314
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inferno Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
4315
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
4316
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Prison Key", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
4317
4318
--//=================================\\
4319
--||			DAMAGING
4320
--\\=================================//
4321
4322
function ApplyAoE(POSITION,RANGE,FLING,BURN)
4323
	local CHILDREN = workspace:GetDescendants()
4324
	for index, CHILD in pairs(CHILDREN) do
4325
		if CHILD.ClassName == "Model" and CHILD ~= Character then
4326
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4327
			if HUM then
4328
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4329
				if TORSO then
4330
					if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
4331
						CHILD:BreakJoints()
4332
						if FLING ~= 0 then
4333
							for _, c in pairs(CHILD:GetChildren()) do
4334
								if c:IsA("BasePart") and c.Transparency == 0 then
4335
									if BURN == true then
4336
										Fire(c)
4337
									end
4338
									local bv = Instance.new("BodyVelocity") 
4339
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4340
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
4341
									bv.Parent = c
4342
									Debris:AddItem(bv,0.05)
4343
								end
4344
							end
4345
						end
4346
					end
4347
				end
4348
			end
4349
		end
4350
	end
4351
end
4352
4353
--//=================================\\
4354
--||	ATTACK FUNCTIONS AND STUFF
4355
--\\=================================//
4356
4357
function Warden_Zap()
4358
	ATTACK = true
4359
	Rooted = false
4360
	local GYRO = IT("BodyGyro",RootPart)
4361
	GYRO.D = 750
4362
	GYRO.P = 20000
4363
	GYRO.MaxTorque = VT(0,40000000,0)
4364
	CreateSound(348663022,RightArm,1.5,2,false)
4365
	Pose("Cast1",0.8,1,true,GYRO)
4366
	local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
4367
	local Hitpos = LightningTable.End
4368
	ApplyAoE(Hitpos,10,35)
4369
	WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
4370
	for i = 1, 4 do
4371
		WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4372
	end
4373
	Pose("Cast1",0.8,1,true)
4374
	GYRO:remove()
4375
	ATTACK = false
4376
	Rooted = false
4377
end
4378
4379
function Warden_Thunder()
4380
	ATTACK = true
4381
	Rooted = false
4382
	local GYRO = IT("BodyGyro",RootPart)
4383
	GYRO.D = 750
4384
	GYRO.P = 20000
4385
	GYRO.MaxTorque = VT(0,40000000,0)
4386
	CreateSound(469345336,Torso,3,2,false)
4387
	Pose("Cast2",1.5,2,true,GYRO)
4388
	coroutine.resume(coroutine.create(function()
4389
		local FRAME = RootPart.CFrame
4390
		for i = 1, 25 do
4391
			local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
4392
			local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
4393
			local Hitpos = LightningTable.End
4394
			ApplyAoE(Hitpos,20,15)
4395
			WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
4396
			for i = 1, 4 do
4397
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4398
			end
4399
			wait(0.05)
4400
		end
4401
	end))
4402
	Pose("Cast2",1.5,0.7,true)
4403
	GYRO:remove()
4404
	ATTACK = false
4405
	Rooted = false
4406
end
4407
4408
function Inferno_Ring()
4409
	ATTACK = true
4410
	Rooted = false
4411
	local GYRO = IT("BodyGyro",RootPart)
4412
	GYRO.D = 750
4413
	GYRO.P = 20000
4414
	GYRO.MaxTorque = VT(0,40000000,0)
4415
	local FIRE = IT("Model",Effects)
4416
	FIRE.Name = "Fire"
4417
	local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Deep orange", "Center", VT(0,0,0))
4418
	FIRE.PrimaryPart = MAIN
4419
	local FIRES = {}
4420
	for i = 1, 45 do
4421
		local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Deep orange", "RingPart", VT(3,3,3))
4422
		PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
4423
		local F = Fire(PRT)
4424
		table.insert(FIRES,F)
4425
	end
4426
	repeat
4427
		FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
4428
		Pose("Cast1",1.5,0.01,false,GYRO)
4429
	until HOLD == true
4430
	coroutine.resume(coroutine.create(function()
4431
		for i = 1, 4 do
4432
			ApplyAoE(MAIN.Position,21,-15,true)
4433
			CreateSound(463598785,MAIN,3,1,false)
4434
			for E = 1, #FIRES do
4435
				if FIRES[E] ~= nil then
4436
					FIRES[E].Acceleration = VT(0,300,0)
4437
					FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
4438
				end
4439
			end
4440
			wait(0.3)
4441
		end
4442
		for E = 1, #FIRES do
4443
			if FIRES[E] ~= nil then
4444
				FIRES[E].Enabled = false
4445
			end
4446
		end
4447
		Debris:AddItem(FIRE,5)
4448
	end))
4449
	CreateSound(215395388,RightArm,3,2,false)
4450
	Pose("RightArmUp",1.5,0.5,true)
4451
	GYRO:remove()
4452
	ATTACK = false
4453
	Rooted = false
4454
end
4455
4456
function Warden_Wall()
4457
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
4458
	if HITFLOOR ~= nil then
4459
		if HITFLOOR.Anchored == true then
4460
			local WALL = HITFLOOR:Clone()
4461
			WALL.Size = VT(45,45,5)
4462
			WALL.Parent = Effects
4463
			WALL.Name = "Wall"
4464
			WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
4465
			CreateSound(130972023,WALL,5,0.8,false)
4466
			ATTACK = true
4467
			Rooted = true
4468
			local HIT = WALL.Touched:Connect(function(hit)
4469
				if hit.Parent ~= Character then
4470
					hit:BreakJoints()
4471
				end
4472
			end)
4473
			coroutine.resume(coroutine.create(function()
4474
				WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4475
				for i = 1, 90 do
4476
					Swait()
4477
					WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
4478
				end
4479
				HIT:disconnect()
4480
				wait(5)
4481
				for i = 1, 46 do
4482
					Swait()
4483
					WALL.CFrame = WALL.CFrame*CF(0,-1,0)
4484
				end
4485
				WALL:remove()
4486
			end))
4487
			Pose("RightArmUp",1.5,1.2,true)
4488
			ATTACK = false
4489
			Rooted = false
4490
		end
4491
	end
4492
end
4493
4494
function Prison_Key()
4495
	if Mouse.Target ~= nil then
4496
		if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
4497
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
4498
			local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
4499
			local GYRO = IT("BodyGyro",RootPart)
4500
			GYRO.D = 750
4501
			GYRO.P = 20000
4502
			GYRO.MaxTorque = VT(0,40000000,0)
4503
			local grav = Instance.new("BodyPosition",TORSO)
4504
			grav.D = 15
4505
			grav.P = 20000
4506
			grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
4507
			grav.position = TORSO.Position
4508
			local GYRO2 = IT("BodyGyro",TORSO)
4509
			GYRO2.D = 750
4510
			GYRO2.P = 20000
4511
			GYRO2.MaxTorque = VT(0,40000000,0)
4512
			GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
4513
			grav.Name = "Jail"
4514
			local LOCKPARTS = {}
4515
			ATTACK = true
4516
			Rooted = false
4517
			local LOCK = IT("Model",Effects)
4518
			LOCK.Name = "Lock"
4519
			local LOCK2 = IT("Model",LOCK)
4520
			LOCK2.Name = "Metal"
4521
			--CREATE LOCK--
4522
				local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
4523
				LOCK.PrimaryPart = BASE
4524
				BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
4525
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
4526
				PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
4527
				MakeForm(PRT,"Cyl")
4528
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
4529
				PRT.Color = C3(0,0,0)
4530
				PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
4531
				MakeForm(PRT,"Cyl")
4532
				local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
4533
				PRT.Color = C3(0,0,0)
4534
				PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
4535
				for i = 1, 45 do
4536
					local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
4537
					PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
4538
				end
4539
				local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
4540
				PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
4541
				LOCK2.PrimaryPart = PRT
4542
			---------------
4543
			local CHILDREN = LOCK:GetDescendants()
4544
			for index, CHILD in pairs(CHILDREN) do
4545
				if CHILD:IsA("BasePart") then
4546
					CHILD.Transparency = 1
4547
				end
4548
			end
4549
			for i = 1, 75 do
4550
				LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
4551
				Swait()
4552
				GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
4553
				GYRO.cframe = CF(RootPart.Position,TORSO.Position)
4554
				local CHILDREN = LOCK:GetDescendants()
4555
				for index, CHILD in pairs(CHILDREN) do
4556
					if CHILD:IsA("BasePart") then
4557
						CHILD.Transparency = CHILD.Transparency - 1/75
4558
					end
4559
				end
4560
			end
4561
			HUM.DisplayDistanceType = "None"
4562
			local KEY = IT("Model",Effects)
4563
			KEY.Name = "Key"
4564
			--CREATE KEY--
4565
				local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Deep orange", "KeyBase", VT(0.1, 1, 0.1),false)
4566
				KEY.PrimaryPart = KBASE
4567
				KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
4568
				local WLD = weldBetween(RightArm,KBASE)
4569
				for i = 1, 45 do
4570
					local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Deep orange", "Key", VT(0.1, 0.1, 0.1),false)
4571
					PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
4572
					weldBetween(KBASE,PRT)
4573
				end
4574
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Deep orange", "Key", VT(0.3, 0.1, 0.1),false)
4575
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
4576
				weldBetween(KBASE,PRT)
4577
				local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Deep orange", "Key", VT(0.3, 0.1, 0.1),false)
4578
				PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
4579
				weldBetween(KBASE,PRT)
4580
			--------------
4581
			Rooted = true
4582
			Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
4583
			coroutine.resume(coroutine.create(function()
4584
				for i = 1, 10 do
4585
					Swait()
4586
					GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
4587
					GYRO.cframe = CF(RootPart.Position,TORSO.Position)
4588
				end
4589
				CreateSound(1149318312,BASE,5,1,false)
4590
				CreateSound(160772554,BASE,3,1,false)
4591
				LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
4592
				for i = 1, 4 do
4593
					WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4594
				end
4595
				WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
4596
				wait(1)
4597
				TORSO.Parent.Parent = LOCK
4598
				for i = 1, 75 do
4599
					Swait()
4600
					local CHILDREN = KEY:GetDescendants()
4601
					for index, CHILD in pairs(CHILDREN) do
4602
						if CHILD:IsA("BasePart") then
4603
							CHILD.Transparency = i/25
4604
						end
4605
					end
4606
					local CHILDREN = LOCK:GetDescendants()
4607
					for index, CHILD in pairs(CHILDREN) do
4608
						if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
4609
							CHILD.Transparency = CHILD.Transparency + 1/75
4610
						elseif CHILD.ClassName == "Decal" then
4611
							CHILD.Transparency = CHILD.Transparency + 1/75
4612
						end
4613
					end
4614
				end
4615
				TORSO.Parent:ClearAllChildren()
4616
				KEY:remove()
4617
				LOCK:remove()
4618
			end))
4619
			Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
4620
			GYRO:remove()
4621
			ATTACK = false
4622
			Rooted = false
4623
		end
4624
	end
4625
end
4626
4627
function Hat()
4628
	ATTACK = true
4629
	Rooted = false
4630
	Pose("Taunt",0.4,1.2,false)
4631
	ATTACK = false
4632
	Rooted = false
4633
end
4634
4635
--//=================================\\
4636
--||	  ASSIGN THINGS TO KEYS
4637
--\\=================================//
4638
4639
function MouseDown(Mouse)
4640
	HOLD = true
4641
	if ATTACK == false then
4642
	end
4643
end
4644
4645
function MouseUp(Mouse)
4646
HOLD = false
4647
end
4648
4649
function KeyDown(Key)
4650
	KEYHOLD = true
4651
	if Key == "z" and ATTACK == false then
4652
		Warden_Zap()
4653
	end
4654
4655
	if Key == "b" and ATTACK == false then
4656
		Warden_Thunder()
4657
	end
4658
4659
	if Key == "c" and ATTACK == false then
4660
		Inferno_Ring()
4661
	end
4662
4663
	if Key == "v" and ATTACK == false then
4664
		Warden_Wall()
4665
	end
4666
4667
	if Key == "x" and ATTACK == false then
4668
		Prison_Key()
4669
	end
4670
4671
	if Key == "t" and ATTACK == false then
4672
		Hat()
4673
	end
4674
end
4675
4676
function KeyUp(Key)
4677
	KEYHOLD = false
4678
end
4679
4680
	Mouse.Button1Down:connect(function(NEWKEY)
4681
		MouseDown(NEWKEY)
4682
	end)
4683
	Mouse.Button1Up:connect(function(NEWKEY)
4684
		MouseUp(NEWKEY)
4685
	end)
4686
	Mouse.KeyDown:connect(function(NEWKEY)
4687
		KeyDown(NEWKEY)
4688
	end)
4689
	Mouse.KeyUp:connect(function(NEWKEY)
4690
		KeyUp(NEWKEY)
4691
	end)
4692
4693
--//=================================\\
4694
--\\=================================//
4695
4696
4697
function unanchor()
4698
	if UNANCHOR == true then
4699
		g = Character:GetChildren()
4700
		for i = 1, #g do
4701
			if g[i].ClassName == "Part" then
4702
				g[i].Anchored = false
4703
			end
4704
		end
4705
	end
4706
end
4707
4708
4709
--//=================================\\
4710
--||	WRAP THE WHOLE SCRIPT UP
4711
--\\=================================//
4712
4713
Humanoid.Changed:connect(function(Jump)
4714
	if Jump == "Jump" and (Disable_Jump == true) then
4715
		Humanoid.Jump = false
4716
	end
4717
end)
4718
4719
while true do
4720
	Swait()
4721
	script.Parent = WEAPONGUI
4722
	Humanoid.Parent = Character
4723
	if Humanoid then
4724
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
4725
		IDLEANIMATION:Play()
4726
	end
4727
	if ANIMATE.Parent == Character then
4728
		ANIMATE:Destroy()
4729
	end
4730
	SINE = SINE + CHANGE
4731
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
4732
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
4733
	Humanoid.HipHeight = 1
4734
	Humanoid.Name = "Warden"
4735
	Humanoid.PlatformStand = false
4736
	if PLAYMAINANIM == true then
4737
		if TORSOVELOCITY < 1 then
4738
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4739
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4740
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4741
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4742
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
4743
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4744
		elseif TORSOVELOCITY > 1 then
4745
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4746
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
4747
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
4748
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
4749
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
4750
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
4751
		end
4752
	end
4753
	unanchor()
4754
	Humanoid.MaxHealth = "inf"
4755
	Humanoid.Health = "inf"
4756
	if Rooted == false then
4757
		Disable_Jump = false
4758
		Humanoid.WalkSpeed = Speed
4759
	elseif Rooted == true then
4760
		Disable_Jump = true
4761
		Humanoid.WalkSpeed = 0
4762
	end
4763
	for _, c in pairs(Character:GetChildren()) do
4764
		if c.ClassName == "Part" and c.Name ~= "Eye" then
4765
			c.Material = "Neon"
4766
			if c:FindFirstChildOfClass("ParticleEmitter") then
4767
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
4768
			end
4769
			c.Color = C3(1,1,1)
4770
			if c == Head then
4771
				if c:FindFirstChild("face") then
4772
					c.face:remove()
4773
				end
4774
			end
4775
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
4776
			c:remove()
4777
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
4778
			c:remove()
4779
		end
4780
	end
4781
	sick.SoundId = "rbxassetid://1494340971"
4782
	sick.Looped = true
4783
	sick.Pitch = 1
4784
	sick.Volume = 3
4785
	sick:Resume()
4786
	sick.Parent = Torso
4787
	refit()
4788
	if Head:FindFirstChildOfClass("Sound") then
4789
		Head:FindFirstChildOfClass("Sound"):remove()
4790
	end
4791
end
4792
4793
--//=================================\\
4794
--\\=================================//
4795
4796
4797
4798
4799
4800
--//====================================================\\--
4801
--||			  		 END OF SCRIPT
4802
--\\====================================================//--
4803
	
4804
	
4805
	
4806
end
4807
end
4808
                 
4809
end)
4810
4811
4812
--[[l = game.Lighting
4813
l.TimeOfDay = 1
4814
game.Lighting.Ambient = Color3.new(0,0,0)
4815
l.Brightness = 0.1]]--