View difference between Paste ID: jBGYSJxm and yvdawW6G
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
print(" this script was converted by An ignorant / zach ")
3
warn(" credits goes to SHACKLUSTER [ Creator ] ")
4
warn(" pls dont abuse ")
5
warn(" i beg u ")
6
local Player,game,owner = owner,game
7
local RealPlayer = Player
8
do
9
    print("FE Compatibility code by Mokiros")
10
    local rp = RealPlayer
11
    script.Parent = rp.Character
12
   
13
    --RemoteEvent for communicating
14
    local Event = Instance.new("RemoteEvent")
15
    Event.Name = "UserInput_Event"
16
 
17
    --Fake event to make stuff like Mouse.KeyDown work
18
    local function fakeEvent()
19
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
20
        t.connect = t.Connect
21
        return t
22
    end
23
 
24
    --Creating fake input objects with fake variables
25
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
26
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
27
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
28
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
29
    end}
30
    --Merged 2 functions into one by checking amount of arguments
31
    CAS.UnbindAction = CAS.BindAction
32
 
33
    --This function will trigger the events that have been :Connect()'ed
34
    local function te(self,ev,...)
35
        local t = m[ev]
36
        if t and t._fakeEvent then
37
            for _,f in pairs(t.Functions) do
38
                f(...)
39
            end
40
        end
41
    end
42
    m.TrigEvent = te
43
    UIS.TrigEvent = te
44
 
45
    Event.OnServerEvent:Connect(function(plr,io)
46
        if plr~=rp then return end
47
        m.Target = io.Target
48
        m.Hit = io.Hit
49
        if not io.isMouse then
50
            local b = io.UserInputState == Enum.UserInputState.Begin
51
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
52
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
53
            end
54
            for _,t in pairs(CAS.Actions) do
55
                for _,k in pairs(t.Keys) do
56
                    if k==io.KeyCode then
57
                        t.Function(t.Name,io.UserInputState,io)
58
                    end
59
                end
60
            end
61
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
62
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
63
        end
64
    end)
65
    Event.Parent = NLS([==[
66
    local Player = game:GetService("Players").LocalPlayer
67
    local Event = script:WaitForChild("UserInput_Event")
68
 
69
    local Mouse = Player:GetMouse()
70
    local UIS = game:GetService("UserInputService")
71
    local input = function(io,a)
72
        if a then return end
73
        --Since InputObject is a client-side instance, we create and pass table instead
74
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
75
    end
76
    UIS.InputBegan:Connect(input)
77
    UIS.InputEnded:Connect(input)
78
 
79
    local h,t
80
    --Give the server mouse data 30 times every second, but only if the values changed
81
    --If player is not moving their mouse, client won't fire events
82
    while wait(1/30) do
83
        if h~=Mouse.Hit or t~=Mouse.Target then
84
            h,t=Mouse.Hit,Mouse.Target
85
            Event:FireServer({isMouse=true,Target=t,Hit=h})
86
        end
87
    end]==],Player.Character)
88
 
89
    ----Sandboxed game object that allows the usage of client-side methods and services
90
    --Real game object
91
    local _rg = game
92
 
93
    --Metatable for fake service
94
    local fsmt = {
95
        __index = function(self,k)
96
            local s = rawget(self,"_RealService")
97
            if s then return s[k] end
98
        end,
99
        __newindex = function(self,k,v)
100
            local s = rawget(self,"_RealService")
101
            if s then s[k]=v end
102
        end,
103
        __call = function(self,...)
104
            local s = rawget(self,"_RealService")
105
            if s then return s(...) end
106
        end
107
    }
108
    local function FakeService(t,RealService)
109
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
110
        return setmetatable(t,fsmt)
111
    end
112
 
113
    --Fake game object
114
    local g = {
115
        GetService = function(self,s)
116
            return self[s]
117
        end,
118
        Players = FakeService({
119
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
120
        },"Players"),
121
        UserInputService = FakeService(UIS,"UserInputService"),
122
        ContextActionService = FakeService(CAS,"ContextActionService"),
123
    }
124
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
125
    g.service = g.GetService
126
   
127
    g.RunService = FakeService({
128
        RenderStepped = _rg:GetService("RunService").Heartbeat,
129
        BindToRenderStep = function(self,name,_,fun)
130
 
131
        end,
132
        UnbindFromRenderStep = function(self,name)
133
            self._btrs[name]:Disconnect()
134
        end,
135
    },"RunService")
136
 
137
    setmetatable(g,{
138
        __index=function(self,s)
139
            return _rg:GetService(s) or typeof(_rg[s])=="function"
140
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
141
        end,
142
        __newindex = fsmt.__newindex,
143
        __call = fsmt.__call
144
    })
145
    --Changing owner to fake player object to support owner:GetMouse()
146
    game,owner = g,g.Players.LocalPlayer
147
end
148
149
150
wait(0.2)
151
152
Player = game:GetService("Players").LocalPlayer
153
PlayerGui = Player.PlayerGui
154
Cam = workspace.CurrentCamera
155
Backpack = Player.Backpack
156
Character = Player.Character
157
Humanoid = Character.Humanoid
158
Mouse = Player:GetMouse()
159
RootPart = Character["HumanoidRootPart"]
160
Torso = Character["Torso"]
161
Head = Character["Head"]
162
RightArm = Character["Right Arm"]
163
LeftArm = Character["Left Arm"]
164
RightLeg = Character["Right Leg"]
165
LeftLeg = Character["Left Leg"]
166
RootJoint = RootPart["RootJoint"]
167
Neck = Torso["Neck"]
168
RightShoulder = Torso["Right Shoulder"]
169
LeftShoulder = Torso["Left Shoulder"]
170
RightHip = Torso["Right Hip"]
171
LeftHip = Torso["Left Hip"]
172
Character.Archivable = true
173-
Player:ClearCharacterAppearance()
173+
174
IT = Instance.new
175
CF = CFrame.new
176
VT = Vector3.new
177
RAD = math.rad
178
C3 = Color3.new
179
UD2 = UDim2.new
180
BRICKC = BrickColor.new
181
ANGLES = CFrame.Angles
182
EULER = CFrame.fromEulerAnglesXYZ
183
COS = math.cos
184
ACOS = math.acos
185
SIN = math.sin
186
ASIN = math.asin
187
ABS = math.abs
188
MRANDOM = math.random
189
FLOOR = math.floor
190
191
--//=================================\\
192
--|| 	      USEFUL VALUES
193
--\\=================================//
194
195
Animation_Speed = 3
196
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
197
local Speed = 20
198
local SIZE = 1
199
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
200
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
201
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
202
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
203
local DAMAGEMULTIPLIER = 1
204
local ANIM = "Idle"
205
local ATTACK = false
206
local EQUIPPED = false
207
local HOLD = false
208
local COMBO = 1
209
local Rooted = false
210
local SINE = 0
211
local KEYHOLD = false
212
local CHANGE = 2 / Animation_Speed
213
local WALKINGANIM = false
214
local Player_Size = 1
215
local VALUE1 = false
216
local VALUE2 = false
217
local ROBLOXIDLEANIMATION = IT("Animation")
218
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
219
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
220
local ATANIM = IT("Animation")
221
ATANIM.Name = "Attack Animation"
222
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
223
--ROBLOXIDLEANIMATION.Parent = Humanoid
224
local WEAPONGUI = IT("ScreenGui", PlayerGui)
225
WEAPONGUI.Name = "Weapon GUI"
226
local Weapon = IT("Model")
227
Weapon.Name = "Adds"
228
local Effects = IT("Folder", Weapon)
229
Effects.Name = "Effects"
230
local ANIMATOR = Humanoid.Animator
231
local ANIMATE = Character.Animate
232
local UNANCHOR = true
233
local CLOCKLOOP = 0
234
local SONG = 1497785701
235
local CLOCKTARGET = nil
236
local CLOCKSPEED = 1
237
script.Parent = WEAPONGUI
238
local CLONE = Character:Clone()
239
CLONE.Parent = nil
240
local Delete = IT("Model", Character)
241
Delete.Name = "Those who must be Punished."
242
Character.Archivable = false
243
local sick = Instance.new("Sound",Torso)
244
local ENERGYSOUND = 1417051162
245
local EXPLOSIONSOUND = 1417056081
246
247
248
--//=================================\\
249
--\\=================================//
250
251
252
--//=================================\\
253
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
254
--\\=================================//
255
256
ArtificialHB = Instance.new("BindableEvent", script)
257
ArtificialHB.Name = "ArtificialHB"
258
259
script:WaitForChild("ArtificialHB")
260
261
frame = Frame_Speed
262
tf = 0
263
allowframeloss = false
264
tossremainder = false
265
lastframe = tick()
266
script.ArtificialHB:Fire()
267
268
game:GetService("RunService").Heartbeat:connect(function(s, p)
269
	tf = tf + s
270
	if tf >= frame then
271
		if allowframeloss then
272
			script.ArtificialHB:Fire()
273
			lastframe = tick()
274
		else
275
			for i = 1, math.floor(tf / frame) do
276
				script.ArtificialHB:Fire()
277
			end
278
		lastframe = tick()
279
		end
280
		if tossremainder then
281
			tf = 0
282
		else
283
			tf = tf - frame * math.floor(tf / frame)
284
		end
285
	end
286
end)
287
288
--//=================================\\
289
--\\=================================//
290
291
--//=================================\\
292
--||          SOME TAG EDIT
293
--\\=================================//
294
295
m = game.Players.LocalPlayer
296
char = m.Character
297
local txt = Instance.new("BillboardGui", char)
298
txt.Adornee = char.Head
299
txt.Name = "_status"
300
txt.Size = UDim2.new(2, 0, 1.2, 0)
301
txt.StudsOffset = Vector3.new(-9, 8, 0)
302
local text = Instance.new("TextLabel", txt)
303
text.Size = UDim2.new(10, 0, 11, 0)
304
text.FontSize = "Size24"
305
text.TextScaled = true
306
text.TextTransparency = 0
307
text.BackgroundTransparency = 1
308
text.TextTransparency = 0
309
text.TextStrokeTransparency = 0
310
text.Font = "Bodoni"
311
text.TextStrokeColor3 = Color3.new(0, 0, 0)
312
v = Instance.new("Part")
313
v.Name = "ColorBrick"
314
v.Parent = m.Character
315
v.FormFactor = "Symmetric"
316
v.Anchored = true
317
v.CanCollide = false
318
v.BottomSurface = "Smooth"
319
v.TopSurface = "Smooth"
320
v.Size = Vector3.new(5, 5, 3)
321
v.Transparency = 1
322
v.CFrame = char.Torso.CFrame
323
v.BrickColor = BrickColor.new("Really black")
324
v.Transparency = 1
325
v.Shape = "Block"
326
spawn(function()
327
local TweenService = game:GetService("TweenService")
328
local Colours = {Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0),Color3.fromRGB(255, 176, 0),Color3.fromRGB(0,0,0)}
329
local Int = 0
330
while wait(0.5) do
331
    if Int == #Colours then Int = 0 end
332
    Int = Int+1
333
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
334
end
335
end)
336
text.Text = "wanTH092"
337
338
--//=================================\\
339
--|| 	      SOME FUNCTIONS
340
--\\=================================//
341
342
local asd = Instance.new("ParticleEmitter")
343
asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, 0, 0))
344
asd.LightEmission = .1
345
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
346
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
347
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
348
asd.Transparency = bbb
349
asd.Size = aaa
350
asd.ZOffset = .9
351
asd.Acceleration = Vector3.new(0, -15, 0)
352
asd.LockedToPart = false
353
asd.EmissionDirection = "Back"
354
asd.Lifetime = NumberRange.new(1, 2)
355
asd.Rotation = NumberRange.new(-100, 100)
356
asd.RotSpeed = NumberRange.new(-100, 100)
357
asd.Speed = NumberRange.new(10)
358
asd.Enabled = false
359
asd.VelocitySpread = 999
360
361
function getbloody(victim,amount)
362
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
363
	PART.CFrame = victim.CFrame
364
	local HITPLAYERSOUNDS = {"356551938","264486467"}
365
	Debris:AddItem(PART,5)
366
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
367
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
368
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
369
	local prtcl = asd:Clone()
370
	prtcl.Parent = PART
371
	prtcl:Emit(amount*10)
372
end
373
374
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
375
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
376
end
377
378
function PositiveAngle(NUMBER)
379
	if NUMBER >= 0 then
380
		NUMBER = 0
381
	end
382
	return NUMBER
383
end
384
385
function NegativeAngle(NUMBER)
386
	if NUMBER <= 0 then
387
		NUMBER = 0
388
	end
389
	return NUMBER
390
end
391
392
function Swait(NUMBER)
393
	if NUMBER == 0 or NUMBER == nil then
394
		ArtificialHB.Event:wait()
395
	else
396
		for i = 1, NUMBER do
397
			ArtificialHB.Event:wait()
398
		end
399
	end
400
end
401
402
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
403
	local NEWMESH = IT(MESH)
404
	if MESH == "SpecialMesh" then
405
		NEWMESH.MeshType = MESHTYPE
406
		if MESHID ~= "nil" and MESHID ~= "" then
407
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
408
		end
409
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
410
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
411
		end
412
	end
413
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
414
	NEWMESH.Scale = SCALE
415
	NEWMESH.Parent = PARENT
416
	return NEWMESH
417
end
418
419
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
420
	local NEWPART = IT("Part")
421
	NEWPART.formFactor = FORMFACTOR
422
	NEWPART.Reflectance = REFLECTANCE
423
	NEWPART.Transparency = TRANSPARENCY
424
	NEWPART.CanCollide = false
425
	NEWPART.Locked = true
426
	NEWPART.Anchored = true
427
	if ANCHOR == false then
428
		NEWPART.Anchored = false
429
	end
430
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
431
	NEWPART.Name = NAME
432
	NEWPART.Size = SIZE
433
	NEWPART.Position = Torso.Position
434
	NEWPART.Material = MATERIAL
435
	NEWPART:BreakJoints()
436
	NEWPART.Parent = PARENT
437
	return NEWPART
438
end
439
440
	local function weldBetween(a, b)
441
	    local weldd = Instance.new("ManualWeld")
442
	    weldd.Part0 = a
443
	    weldd.Part1 = b
444
	    weldd.C0 = CFrame.new()
445
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
446
	    weldd.Parent = a
447
	    return weldd
448
	end
449
450
451
function QuaternionFromCFrame(cf)
452
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
453
	local trace = m00 + m11 + m22
454
	if trace > 0 then 
455
		local s = math.sqrt(1 + trace)
456
		local recip = 0.5 / s
457
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
458
	else
459
		local i = 0
460
		if m11 > m00 then
461
			i = 1
462
		end
463
		if m22 > (i == 0 and m00 or m11) then
464
			i = 2
465
		end
466
		if i == 0 then
467
			local s = math.sqrt(m00 - m11 - m22 + 1)
468
			local recip = 0.5 / s
469
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
470
		elseif i == 1 then
471
			local s = math.sqrt(m11 - m22 - m00 + 1)
472
			local recip = 0.5 / s
473
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
474
		elseif i == 2 then
475
			local s = math.sqrt(m22 - m00 - m11 + 1)
476
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
477
		end
478
	end
479
end
480
 
481
function QuaternionToCFrame(px, py, pz, x, y, z, w)
482
	local xs, ys, zs = x + x, y + y, z + z
483
	local wx, wy, wz = w * xs, w * ys, w * zs
484
	local xx = x * xs
485
	local xy = x * ys
486
	local xz = x * zs
487
	local yy = y * ys
488
	local yz = y * zs
489
	local zz = z * zs
490
	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))
491
end
492
 
493
function QuaternionSlerp(a, b, t)
494
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
495
	local startInterp, finishInterp;
496
	if cosTheta >= 0.0001 then
497
		if (1 - cosTheta) > 0.0001 then
498
			local theta = ACOS(cosTheta)
499
			local invSinTheta = 1 / SIN(theta)
500
			startInterp = SIN((1 - t) * theta) * invSinTheta
501
			finishInterp = SIN(t * theta) * invSinTheta
502
		else
503
			startInterp = 1 - t
504
			finishInterp = t
505
		end
506
	else
507
		if (1 + cosTheta) > 0.0001 then
508
			local theta = ACOS(-cosTheta)
509
			local invSinTheta = 1 / SIN(theta)
510
			startInterp = SIN((t - 1) * theta) * invSinTheta
511
			finishInterp = SIN(t * theta) * invSinTheta
512
		else
513
			startInterp = t - 1
514
			finishInterp = t
515
		end
516
	end
517
	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
518
end
519
520
function Clerp(a, b, t)
521
	local qa = {QuaternionFromCFrame(a)}
522
	local qb = {QuaternionFromCFrame(b)}
523
	local ax, ay, az = a.x, a.y, a.z
524
	local bx, by, bz = b.x, b.y, b.z
525
	local _t = 1 - t
526
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
527
end
528
529
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
530
	local frame = IT("Frame")
531
	frame.BackgroundTransparency = TRANSPARENCY
532
	frame.BorderSizePixel = BORDERSIZEPIXEL
533
	frame.Position = POSITION
534
	frame.Size = SIZE
535
	frame.BackgroundColor3 = COLOR
536
	frame.BorderColor3 = BORDERCOLOR
537
	frame.Name = NAME
538
	frame.Parent = PARENT
539
	return frame
540
end
541
542
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
543
	local label = IT("TextLabel")
544
	label.BackgroundTransparency = 1
545
	label.Size = UD2(1, 0, 1, 0)
546
	label.Position = UD2(0, 0, 0, 0)
547
	label.TextColor3 = TEXTCOLOR
548
	label.TextStrokeTransparency = STROKETRANSPARENCY
549
	label.TextTransparency = TRANSPARENCY
550
	label.FontSize = TEXTFONTSIZE
551
	label.Font = TEXTFONT
552
	label.BorderSizePixel = BORDERSIZEPIXEL
553
	label.TextStrokeColor3 = C3(1,1,1)
554
	label.TextScaled = false
555
	label.Text = TEXT
556
	label.Name = NAME
557
	label.Parent = PARENT
558
	return label
559
end
560
561
function NoOutlines(PART)
562
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
563
end
564
565
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
566
	local NEWWELD = IT(TYPE)
567
	NEWWELD.Part0 = PART0
568
	NEWWELD.Part1 = PART1
569
	NEWWELD.C0 = C0
570
	NEWWELD.C1 = C1
571
	NEWWELD.Parent = PARENT
572
	return NEWWELD
573
end
574
575
local S = IT("Sound")
576
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
577
	local NEWSOUND = nil
578
	coroutine.resume(coroutine.create(function()
579
		NEWSOUND = S:Clone()
580
		NEWSOUND.Parent = PARENT
581
		NEWSOUND.Volume = VOLUME
582
		NEWSOUND.Pitch = PITCH
583
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
584
		NEWSOUND:play()
585
		if DOESLOOP == true then
586
			NEWSOUND.Looped = true
587
		else
588
			repeat wait(1) until NEWSOUND.Playing == false
589
			NEWSOUND:remove()
590
		end
591
	end))
592
	return NEWSOUND
593
end
594
595
function CFrameFromTopBack(at, top, back)
596
	local right = top:Cross(back)
597
	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)
598
end
599
600
--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})
601
function WACKYEFFECT(Table)
602
	local TYPE = (Table.EffectType or "Sphere")
603
	local SIZE = (Table.Size or VT(1,1,1))
604
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
605
	local TRANSPARENCY = (Table.Transparency or 0)
606
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
607
	local CFRAME = (Table.CFrame or Torso.CFrame)
608
	local MOVEDIRECTION = (Table.MoveToPos or nil)
609
	local ROTATION1 = (Table.RotationX or 0)
610
	local ROTATION2 = (Table.RotationY or 0)
611
	local ROTATION3 = (Table.RotationZ or 0)
612
	local MATERIAL = (Table.Material or "Neon")
613
	local COLOR = (Table.Color or C3(1,1,1))
614
	local TIME = (Table.Time or 45)
615
	local SOUNDID = (Table.SoundID or nil)
616
	local SOUNDPITCH = (Table.SoundPitch or nil)
617
	local SOUNDVOLUME = (Table.SoundVolume or nil)
618
	coroutine.resume(coroutine.create(function()
619
		local PLAYSSOUND = false
620
		local SOUND = nil
621
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
622
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
623
			PLAYSSOUND = true
624
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
625
		end
626
		EFFECT.Color = COLOR
627
		local MSH = nil
628
		if TYPE == "Sphere" then
629
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
630
		elseif TYPE == "Block" then
631
			MSH = IT("BlockMesh",EFFECT)
632
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
633
		elseif TYPE == "Wave" then
634
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
635
		elseif TYPE == "Ring" then
636
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
637
		elseif TYPE == "Slash" then
638
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
639
		elseif TYPE == "Round Slash" then
640
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
641
		elseif TYPE == "Swirl" then
642
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
643
		elseif TYPE == "Skull" then
644
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
645
		elseif TYPE == "Crystal" then
646
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
647
		end
648
		if MSH ~= nil then
649
			local MOVESPEED = nil
650
			if MOVEDIRECTION ~= nil then
651
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
652
			end
653
			local GROWTH = SIZE - ENDSIZE
654
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
655
			if TYPE == "Block" then
656
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
657
			else
658
				EFFECT.CFrame = CFRAME
659
			end
660
			for LOOP = 1, TIME+1 do
661
				Swait()
662
				MSH.Scale = MSH.Scale - GROWTH/TIME
663
				if TYPE == "Wave" then
664
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
665
				end
666
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
667
				if TYPE == "Block" then
668
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
669
				else
670
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
671
				end
672
				if MOVEDIRECTION ~= nil then
673
					local ORI = EFFECT.Orientation
674
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
675
					EFFECT.Orientation = ORI
676
				end
677
			end
678
			if PLAYSSOUND == false then
679
				EFFECT:remove()
680
			else
681
				repeat Swait() until SOUND.Playing == false
682
				EFFECT:remove()
683
			end
684
		else
685
			if PLAYSSOUND == false then
686
				EFFECT:remove()
687
			else
688
				repeat Swait() until SOUND.Playing == false
689
				EFFECT:remove()
690
			end
691
		end
692
	end))
693
end
694
695
function MakeForm(PART,TYPE)
696
	if TYPE == "Cyl" then
697
		local MSH = IT("CylinderMesh",PART)
698
	elseif TYPE == "Ball" then
699
		local MSH = IT("SpecialMesh",PART)
700
		MSH.MeshType = "Sphere"
701
	elseif TYPE == "Wedge" then
702
		local MSH = IT("SpecialMesh",PART)
703
		MSH.MeshType = "Wedge"
704
	end
705
end
706
707
Debris = game:GetService("Debris")
708
709
function CastProperRay(StartPos, EndPos, Distance, Ignore)
710
	local DIRECTION = CF(StartPos,EndPos).lookVector
711
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
712
end
713
714
function turnto(position)
715
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
716
end
717
718
function SpawnTrail(FROM,TO,BIG)
719
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Trail", VT(0,0,0))
720
	MakeForm(TRAIL,"Cyl")
721
	local DIST = (FROM - TO).Magnitude
722
	if BIG == true then
723
		TRAIL.Size = VT(0.5,DIST,0.5)
724
	else
725
		TRAIL.Size = VT(0.25,DIST,0.25)
726
	end
727
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
728
	coroutine.resume(coroutine.create(function()
729
		for i = 1, 5 do
730
			Swait()
731
			TRAIL.Transparency = TRAIL.Transparency + 0.1
732
		end
733
		TRAIL:remove()
734
	end))
735
end
736
737
--//=================================\\
738
--||	     WEAPON CREATION
739
--\\=================================//
740
741
Humanoid.Parent = nil
742
RootPart.Size = RootPart.Size*SIZE
743
Torso.Size = Torso.Size*SIZE
744
RightArm.Size = RightArm.Size*SIZE
745
RightLeg.Size = RightLeg.Size*SIZE
746
LeftArm.Size = LeftArm.Size*SIZE
747
LeftLeg.Size = LeftLeg.Size*SIZE
748
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
749
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
750
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
751
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
752
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
753
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
754
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
755
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
756
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
757
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
758
Head.Size = Head.Size*SIZE
759
RootJoint.Parent = RootPart
760
Neck.Parent = Torso
761
RightShoulder.Parent = Torso
762
LeftShoulder.Parent = Torso
763
RightHip.Parent = Torso
764
LeftHip.Parent = Torso
765
766
local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
767
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
768
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
769
MakeForm(Part,"Wedge")
770
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
771
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
772
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
773
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
774
MakeForm(Part,"Cyl")
775
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
776
for i = 1, 8 do
777
	local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
778
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
779
end
780
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
781
MakeForm(Part,"Wedge")
782
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
783
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
784
MakeForm(Part,"Cyl")
785
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
786
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
787
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
788
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
789
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
790
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
791
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
792
local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
793
MakeForm(RightBarrel,"Cyl")
794
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
795
local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
796
MakeForm(Part,"Wedge")
797
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
798
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
799
MakeForm(RightHole,"Cyl")
800
CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
801
802
Humanoid.DisplayDistanceType = "None"
803
local top = Instance.new("Shirt")
804
top.ShirtTemplate = "rbxassetid://1830724093"
805
top.Parent = Character
806
top.Name = "Cloth"
807
local bottom = Instance.new("Pants")
808
bottom.PantsTemplate = "rbxassetid://230347534"
809
bottom.Parent = Character
810
bottom.Name = "Cloth"
811
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
812
PRT.Color = C3(0,0,0)
813
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.1,0.15*SIZE,0.085) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
814
CreateMesh("SpecialMesh", PRT, "FileMesh", "19999424", "20571982", VT(1.07,1.07,1.07)*SIZE, VT(0,0,0))
815
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
816
PRT.Color = C3(0,0,0)
817
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.031,-1.1*SIZE,-0.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
818
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "1149570750", VT(1, 1, 1)*SIZE, VT(0,0,0))
819
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
820
PRT.Color = C3(0,0,0)
821
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.14*SIZE,-0.20) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
822
CreateMesh("SpecialMesh", PRT, "FileMesh", "11419729", "112346956", VT(1, 1, 1)*SIZE, VT(0,0,0))
823
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
824
PRT.Color = C3(0,0,0)
825
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.8*SIZE,0) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
826
CreateMesh("SpecialMesh", PRT, "FileMesh", "1374148", "413143035", VT(1, 1, 1)*SIZE, VT(0,0,0))
827
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
828
PRT.Color = C3(0,0,0)
829
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0,0*SIZE,0.7) * ANGLES(RAD(12), RAD(0), RAD(0)), CF(0, 0, 0))
830
CreateMesh("SpecialMesh", PRT, "FileMesh", "1147817045", "1147816718", VT(0.8, 0.8, 0.8)*SIZE, VT(0,0,0))
831
832
local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(1.01,0.3,1.01),false)
833
CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
834
for i = 1, 3 do
835
	local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.2,1.02,0.2),false)
836
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
837
	MakeForm(Part,"Cyl")
838
end
839
for i = 1, 3 do
840
	local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.2,1.02,0.2),false)
841
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
842
	MakeForm(Part,"Cyl")
843
end
844
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(0.51,0.6,0.25),false)
845
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
846
MakeForm(Part,"Wedge")
847
local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Institutional white", "BraceletPart", VT(0.51,0.6,0.25),false)
848
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
849
MakeForm(Part,"Wedge")
850
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
851
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
852
MakeForm(Part,"Wedge")
853
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Deep orange", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
854
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
855
MakeForm(Part,"Wedge")
856
857
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Cocoa", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
858
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
859
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Rust", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
860
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
861
MakeForm(PRT,"Cyl")
862
local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
863
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
864
MakeForm(PRT,"Cyl")
865
PRT.Color = C3(255/255, 176/255, 0/255)
866
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Cocoa", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
867
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
868
MakeForm(RING,"Cyl")
869
RING.Color = C3(99/255, 95/255, 98/255)
870
for i = 1, 12 do
871
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
872
	PRT.Color = C3(99/255, 95/255, 98/255)
873
	local MSH = IT("BlockMesh",PRT)
874
	MSH.Scale = VT(0.6,1,1)
875
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
876
end
877
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
878
PRT.Color = C3(99/255, 95/255, 98/255)
879
local MSH = IT("BlockMesh",PRT)
880
MSH.Scale = VT(0.4,1,1)
881
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
882
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
883
PRT.Color = C3(99/255, 95/255, 98/255)
884
local MSH = IT("BlockMesh",PRT)
885
MSH.Scale = VT(0.4,1,1)
886
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
887
coroutine.resume(coroutine.create(function()
888
	while true do
889
		Swait()
890
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
891
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
892
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
893
		if CLOCKLOOP <= -150 then
894
			if VALUE1 == false then
895
				CLOCKLOOP = 0
896
				WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
897
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
898
				ApplyAoE(HITPOS,10,15,45,75,false)
899
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
900
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
901
				if CLOCKTARGET ~= nil then
902
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
903
					if CLOCKTARGET.Torso ~= nil then
904
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
905
					end
906
					if CLOCKTARGET.Health == 0 then
907
						CLOCKTARGET = nil
908
					end
909
				end
910
			end
911
		end
912
	end
913
end))
914
915
for _, c in pairs(Weapon:GetChildren()) do
916
	if c.ClassName == "Part" then
917
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
918
	end
919
end
920
921
Neck.Name = "Weld"
922
RootJoint.Name = "Weld"
923
RightShoulder.Name = "Weld"
924
LeftShoulder.Name = "Weld"
925
RightHip.Name = "Weld"
926
LeftHip.Name = "Weld"
927
928
local SKILLTEXTCOLOR = C3(255/255, 176/255, 0/255)
929
local SKILLFONT = "Fantasy"
930
local SKILLTEXTSIZE = 7
931
932
Weapon.Parent = Character
933
Humanoid.Parent = Character
934
935
Humanoid.Died:connect(function()
936
	ATTACK = true
937
end)
938
939
local BODY = {}
940
for _, c in pairs(Character:GetDescendants()) do
941
	if c:IsA("BasePart") and c.Name ~= "Handle" then
942
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
943
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
944
		end
945
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
946
	elseif c:IsA("JointInstance") then
947
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
948
	end
949
end
950
for e = 1, #BODY do
951
	if BODY[e] ~= nil then
952
		local STUFF = BODY[e]
953
		local PART = STUFF[1]
954
		local PARENT = STUFF[2]
955
		local MATERIAL = STUFF[3]
956
		local COLOR = STUFF[4]
957
		local TRANSPARENCY = STUFF[5]
958
		if PART.ClassName == "Part" and PART ~= RootPart then
959
			PART.Material = MATERIAL
960
			PART.Color = COLOR
961
			PART.Transparency = TRANSPARENCY
962
		end
963
		PART.AncestryChanged:Connect(function()
964
			PART.Parent = PARENT
965
		end)
966
	end
967
end
968
969
--//=================================\\
970
--||			ANIM
971
--\\=================================//
972
973
974
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
975
	PLAYMAINANIM = false
976
	if WhichPose == "Cast1" then
977
		for i=0, Time, 0.1 / Animation_Speed do
978
			Swait()
979
			if Magic == true then
980
				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})
981
			end
982
			if Gyro ~= nil and Gyro ~= false then
983
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
984
			end
985
			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)
986
			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)
987
			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)
988
			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)
989
			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)
990
			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)
991
		end
992
	elseif WhichPose == "Cast2" then
993
		for i=0, Time, 0.1 / Animation_Speed do
994
			Swait()
995
			if Magic == true then
996
				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})
997
				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})
998
			end
999
			if Gyro ~= nil and Gyro ~= false then
1000
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
1001
			end
1002
			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)
1003
			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)
1004
			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)
1005
			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)
1006
			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)
1007
			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)
1008
		end
1009
	elseif WhichPose == "RightArmUp" then
1010
		for i=0, Time, 0.1 / Animation_Speed do
1011
			Swait()
1012
			if Magic == true then
1013
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,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})
1014
			end
1015
			if Gyro ~= nil and Gyro ~= false then
1016
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
1017
			end
1018
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1019
			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)
1020
			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(-90), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
1021
			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)
1022
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1023
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1024
		end
1025
	elseif WhichPose == "Taunt" then
1026
		for i=0, Time, 0.1 / Animation_Speed do
1027
			Swait()
1028
			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)
1029
			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)
1030
			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)
1031
			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)
1032
			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)
1033
			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)
1034
		end
1035
		CreateSound(221057812,Torso,10,1,false)
1036
		for i=0, Time*2, 0.1 / Animation_Speed do
1037
			Swait()
1038
			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)
1039
			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)
1040
			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)
1041
			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)
1042
			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)
1043
			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)
1044
		end
1045
		for i=0, Time, 0.1 / Animation_Speed do
1046
			Swait()
1047
			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)
1048
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
1049
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
1050
			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)
1051
			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)
1052
			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)
1053
		end
1054
	elseif WhichPose == "Prepare key" then
1055
		for i=0, Time, 0.1 / Animation_Speed do
1056
			Swait()
1057
			if Gyro ~= nil and Gyro ~= false then
1058
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
1059
			end
1060
			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)
1061
			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)
1062
			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)
1063
			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)
1064
			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)
1065
			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)
1066
		end
1067
	elseif WhichPose == "Turn key" then
1068
		for i=0, Time, 0.1 / Animation_Speed do
1069
			Swait()
1070
			if Gyro ~= nil and Gyro ~= false then
1071
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
1072
			end
1073
			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)
1074
			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)
1075
			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)
1076
			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)
1077
			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)
1078
			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)
1079
		end
1080
	end
1081
	PLAYMAINANIM = true
1082
end
1083
1084
--//=================================\\
1085
--||			DAMAGING
1086
--\\=================================//
1087
1088
function CastWarpOutlines(TARGET)
1089
	coroutine.resume(coroutine.create(function()
1090
		local T = TARGET:GetChildren()
1091
		for i = 1, #T do
1092
			local child = T[i]
1093
			if child.ClassName == "Part" or child.ClassName == "MeshPart" then
1094
				do
1095
					local clone = child:Clone()
1096
					clone.Parent = Effects
1097
					clone.Anchored = true
1098
					clone.CanCollide = false
1099
					clone:ClearAllChildren()
1100
					clone.CFrame = child.CFrame
1101
					if clone.Name == "Head" then
1102
						clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
1103
					end
1104
					if clone.ClassName == "MeshPart" then
1105
						clone.TextureID = ""
1106
					end
1107
					clone.Color = C3(255/255, 176/255, 0)
1108
					clone.Material = "Neon"
1109
					coroutine.resume(coroutine.create(function()
1110
						for i = 1, 100 do
1111
							Swait()
1112
							clone.Transparency = clone.Transparency + 0.01
1113
							clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
1114
						end
1115
						clone:remove()
1116
					end))
1117
				end
1118
			end
1119
		end
1120
	end))
1121
end
1122
1123
function ApplyDamage(Humanoid,Damage,TorsoPart)
1124
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1125
	defence.Name = ("HitBy"..Player.Name)
1126
	game:GetService("Debris"):AddItem(defence, 0.001)
1127
	Damage = Damage * DAMAGEMULTIPLIER
1128
	if Humanoid.Health ~= 0 then
1129
		local CritChance = MRANDOM(1,100)
1130
		if Damage > Humanoid.Health then
1131
			Damage = math.ceil(Humanoid.Health)
1132
			if Damage == 0 then
1133
				Damage = 0.1
1134
			end
1135
		end
1136
		Humanoid.Health = Humanoid.Health - Damage
1137
	end
1138
end
1139
1140
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1141
	local CHILDREN = workspace:GetDescendants()
1142
	for index, CHILD in pairs(CHILDREN) do
1143
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1144
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1145
			if HUM then
1146
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1147
				if TORSO then
1148
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1149
						if INSTAKILL == true then
1150
							CHILD:BreakJoints()
1151
						else
1152
							local DMG = MRANDOM(MINDMG,MAXDMG)
1153
							ApplyDamage(HUM,DMG,TORSO)
1154
						end
1155
						if FLING > 0 then
1156
							for _, c in pairs(CHILD:GetChildren()) do
1157
								if c:IsA("BasePart") then
1158
									local bv = Instance.new("BodyVelocity") 
1159
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1160
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1161
									bv.Parent = c
1162
									Debris:AddItem(bv,0.05)
1163
								end
1164
							end
1165
						end
1166
					end
1167
				end
1168
			end
1169
		end
1170
	end
1171
end
1172
1173
function ApplyAoE(POSITION,RANGE,BRUTAL)
1174
	local CHILDREN = workspace:GetDescendants()
1175
	for index, CHILD in pairs(CHILDREN) do
1176
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1177
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1178
			if HUM then
1179
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1180
				if TORSO then
1181
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1182
						if BRUTAL == true then
1183
							Kill(CHILD)
1184
						else
1185
							CHILD:BreakJoints()
1186
						end
1187
					end
1188
				end
1189
			end
1190
		end
1191
	end
1192
end
1193
1194
function Kill(Char)
1195
	local NewCharacter = IT("Model",Effects)
1196
	NewCharacter.Name = "Ow im ded ;-;"
1197
	for _, c in pairs(Char:GetDescendants()) do
1198
		if c:IsA("BasePart") and c.Transparency == 0 then
1199
			if c.Parent == Char then
1200
				getbloody(c,5)
1201
			end
1202
			c:BreakJoints()
1203
			c.Material = "Glass"
1204
			c.Color = C3(1,0,0)
1205
			c.CanCollide = true
1206
			c.Transparency = 0.3
1207
			if c:FindFirstChildOfClass("SpecialMesh") then
1208
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1209
			end
1210
			if c.Name == "Head" then
1211
				c:ClearAllChildren()
1212
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
1213
			end
1214
			if c.ClassName == "MeshPart" then
1215
				c.TextureID = ""
1216
			end
1217
			if c:FindFirstChildOfClass("BodyPosition") then
1218
				c:FindFirstChildOfClass("BodyPosition"):remove()
1219
			end
1220
			if c:FindFirstChildOfClass("ParticleEmitter") then
1221
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1222
			end
1223
			c.Parent = NewCharacter
1224
			c.Name = "DeadPart"
1225
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
1226
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
1227
		end
1228
	end
1229
	Char:remove()
1230
	Debris:AddItem(NewCharacter,5)
1231
end
1232
1233
function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier)
1234
	local dmg = math.random(min,max)
1235
	for i,v in ipairs(workspace:GetChildren()) do
1236
	if v:FindFirstChild("HitBy"..Player.Name) == nil then
1237
		local body = v:GetChildren()
1238
			for part = 1, #body do
1239
				if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
1240
					if(body[part].Position - position).Magnitude < radius then
1241
						if v.ClassName == "Model" then
1242
							if v:FindFirstChildOfClass("Humanoid") then
1243
								ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
1244
								body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
1245
							end
1246
						end
1247
					end
1248
				end
1249
			end
1250
		end
1251
		if v:FindFirstChild("HitBy"..Player.Name) then
1252
			v:FindFirstChild("HitBy"..Player.Name):remove()
1253
		end
1254
	end
1255
end
1256
1257
function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
1258
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
1259
	local mesh = IT("SpecialMesh",wave)
1260
	mesh.MeshType = "FileMesh"
1261
	mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
1262
	mesh.Scale = SIZE
1263
	mesh.Offset = VT(0,0,-SIZE.X/8)
1264
	wave.CFrame = CFRAME
1265
	coroutine.resume(coroutine.create(function(PART)
1266
		for i = 1, WAIT do
1267
			Swait()
1268
			mesh.Scale = mesh.Scale + GROW
1269
			mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
1270
			if DOESROT == true then
1271
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
1272
			end
1273
			wave.Transparency = wave.Transparency + (0.5/WAIT)
1274
			if wave.Transparency > 0.99 then
1275
				wave:remove()
1276
			end
1277
		end
1278
	end))
1279
end
1280
1281
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1282
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1283
	local mesh = IT("SpecialMesh",wave)
1284
	mesh.MeshType = "Sphere"
1285
	mesh.Scale = SIZE
1286
	mesh.Offset = VT(0,0,0)
1287
	wave.CFrame = CFRAME
1288
	coroutine.resume(coroutine.create(function(PART)
1289
		for i = 1, WAIT do
1290
			Swait()
1291
			mesh.Scale = mesh.Scale + GROW
1292
			wave.Transparency = wave.Transparency + (1/WAIT)
1293
			if wave.Transparency > 0.99 then
1294
				wave:remove()
1295
			end
1296
		end
1297
	end))
1298
end
1299
1300
function killnearest(position, range, maxstrength)
1301
	for i, v in ipairs(workspace:GetChildren()) do
1302
		local body = v:GetChildren()
1303
		for part = 1, #body do
1304
			if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
1305
				CastWarpOutlines(v)
1306
				v:remove()
1307
				if game.Players:FindFirstChild(v.Name) then
1308
					local Value = IT("BoolValue", Kill)
1309
					Value.Name = v.Name
1310
				end
1311
			end
1312
		end
1313
	end
1314
end
1315
1316
function MagicSphere3(SIZE, WAIT, CFRAME, COLOR, GROW)
1317
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Effect", VT(1, 1, 1), true)
1318
	local mesh = IT("SpecialMesh", wave)
1319
	mesh.MeshType = "Sphere"
1320
	mesh.Scale = SIZE
1321
	mesh.Offset = VT(0, 0, 0)
1322
	wave.CFrame = CFRAME
1323
	coroutine.resume(coroutine.create(function(PART)
1324
		for i = 1, WAIT do
1325
			Swait()
1326
			mesh.Scale = mesh.Scale + GROW
1327
			wave.Transparency = wave.Transparency + 1 / WAIT
1328
			if wave.Transparency > 0.99 then
1329
				wave:remove()
1330
			end
1331
		end
1332
	end))
1333
end
1334
function MagicBlock(SIZE, WAIT, CFRAME, COLOR, GROW)
1335
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE, SIZE, SIZE), true)
1336
	local mesh = IT("BlockMesh", wave)
1337
	wave.CFrame = CFRAME
1338
	coroutine.resume(coroutine.create(function(PART)
1339
		for i = 1, WAIT do
1340
			Swait()
1341
			mesh.Scale = mesh.Scale + GROW
1342
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360, 360)), RAD(math.random(-360, 360)), RAD(math.random(-360, 360)))
1343
			wave.Transparency = wave.Transparency + 1 / WAIT
1344
			if wave.Transparency > 0.99 then
1345
				wave:remove()
1346
			end
1347
		end
1348
	end))
1349
end
1350
1351
--//=================================\\
1352
--||	ATTACK FUNCTIONS AND STUFF
1353
--\\=================================//
1354
1355
function TimeSweep() 
1356
    ATTACK = true
1357
    Rooted = false
1358
    text.Text = "Cya"
1359
    for i=0, 0.5, 0.1 / Animation_Speed do
1360
        Swait()
1361
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1362
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1363
    end
1364
    for e = 1, #BODY do
1365
        if BODY[e] ~= nil then
1366
            local STUFF = BODY[e]
1367
            local PART = STUFF[1]
1368
            if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
1369
                local PRT = PART:Clone()
1370
                PRT.Anchored = true
1371
                PRT.CanCollide = false
1372
                PRT.Material = "Glass"
1373
                PRT.Color = C3(0.5,0.5,0)
1374
                PRT.Name = "WarpEffect"
1375
                PRT.Parent = Effects
1376
                PRT.CFrame = PART.CFrame
1377
                PRT:BreakJoints()
1378
                if PRT:FindFirstChildOfClass("Sound") then
1379
                    PRT:FindFirstChildOfClass("Sound"):remove()
1380
                end
1381
                if PRT:FindFirstChildOfClass("Decal") then
1382
                    PRT:FindFirstChildOfClass("Decal"):remove()
1383
                end
1384
                coroutine.resume(coroutine.create(function()
1385
                    for i = 1, 100 do
1386
                        Swait()
1387
                        PRT.Transparency = PRT.Transparency + 1/100
1388
                    end
1389
                    PRT:remove()
1390
                end))
1391
            end
1392
        end
1393
    end
1394
	CreateSound(289556450, Torso, 10, 1)
1395
    local POS = RootPart.Orientation
1396
    RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
1397
    RootPart.Orientation = POS
1398
    RootJoint.Parent = RootPart
1399
    for i=0, 0.5, 0.1 / Animation_Speed do
1400
        Swait()
1401
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1402
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1403
     end
1404
    for i=0, 0.1, 0.1 / Animation_Speed do
1405
        Swait()
1406
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1407
    end
1408
    text.Text = "wanTH092"
1409
    ATTACK = false
1410
    Rooted = false
1411
end
1412
1413
function MagicMissiles()
1414
	ATTACK = true
1415
	Rooted = true
1416
    text.Text = "Look up bro."
1417
	local SELECTING = true
1418
	local SPOTS = {}
1419
	coroutine.resume(coroutine.create(function()
1420
		local LOOP = 0
1421
		repeat
1422
			LOOP = LOOP + 1
1423
			Swait()
1424
			if LOOP >= 10 then
1425
				LOOP = 0
1426
				for i = 1, #SPOTS do
1427
					if SPOTS[i] ~= nil then
1428
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1429
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1430
					end
1431
				end
1432
			end
1433
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1434
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, -.1 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1435
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(155), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1436
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1437
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1438
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1439
		until SELECTING == false
1440
		Rooted = false
1441
		repeat
1442
			LOOP = LOOP + 1
1443
			Swait()
1444
			if LOOP >= 10 then
1445
				LOOP = 0
1446
				for i = 1, #SPOTS do
1447
					if SPOTS[i] ~= nil then
1448
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1449
						WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1450
					end
1451
				end
1452
			end
1453
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1454
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1455
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1456
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1457
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1458
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1459
		until ATTACK == false
1460
	end))
1461
	repeat
1462
		repeat Swait() until HOLD == true
1463
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1464
			if DIST > 9999999 then
1465
				DIST = 9999999
1466
			end
1467
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1468
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1469
			if HITFLOOR ~= nil then
1470
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1471
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 213603013, SoundPitch = 1, SoundVolume = 6})
1472
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(2,1.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1473
			end
1474
		repeat Swait() until HOLD == false
1475
	until #SPOTS == 4
1476
	SELECTING = false
1477
	for i = 1, #SPOTS do
1478
		if SPOTS[i] ~= nil then
1479
			local POS = SPOTS[i]
1480
			coroutine.resume(coroutine.create(function()
1481
				local MISSILE = IT("Model",Effects)
1482
				MISSILE.Name = "Missile"
1483
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2,2,2))
1484
				MakeForm(BASEPART,"Cyl")
1485
				MISSILE.PrimaryPart = BASEPART
1486
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1487
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2,4,2))
1488
				MakeForm(HEAD,"Ball")
1489
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1490
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Deep orange", "Part", VT(2.5,0.1,2.5))
1491
				MakeForm(TAIL,"Cyl")
1492
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1493
				for i = 1, 10 do
1494
					Swait()
1495
					for _, c in pairs(MISSILE:GetChildren()) do
1496
						if c.ClassName == "Part" then
1497
							c.Transparency = c.Transparency - 1/10
1498
						end
1499
					end
1500
				end
1501
				for i = 1, 15*1.5 do
1502
					Swait()
1503
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1504
				end
1505
				ApplyAoE(BASEPART.CFrame.p,80,140,180,300,false)
1506
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(300,4,300), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1507
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1508
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(88,8,88), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1509
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(80,12,80), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1510
				MISSILE:remove()
1511
			end))
1512
		end
1513
	end
1514
	wait(0.6)
1515
    text.Text = "wanTH092"
1516
	ATTACK = false
1517
	Rooted = false
1518
end
1519
1520
function TimesUp()
1521
	CLOCKTARGET = nil
1522
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1523
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1524
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1525
		if TORSO then
1526
			ATTACK = true
1527
			Rooted = false
1528
			coroutine.resume(coroutine.create(function()
1529
				repeat
1530
					Swait()
1531
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1532
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1533
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1534
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1535
					RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1536
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1537
				until ATTACK == false
1538
			end))
1539
			if Effects:FindFirstChild("NeonDoll") then
1540
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1541
			end
1542
			wait(0.5)
1543
			local FAKECHARACTER = IT("Model",Effects)
1544
			FAKECHARACTER.Name = "NeonDoll"
1545
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.3,0.3,0.15),false)
1546
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1547
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1548
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1549
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1550
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1551
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1552
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1553
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.3,0.15),false)
1554
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1555
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Deep orange", "Part", VT(0.15,0.15,0.15),false)
1556
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1557
			CreateSound(201858045, TORS, 5, 0.4, false)
1558
			for i = 1, 150 do
1559
				Swait()
1560
                text.Text = "Stop moving.."
1561
				CLOCKSPEED = 15
1562
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1563
					if c.ClassName == "Part" then
1564
						c.Transparency = c.Transparency - 0.5/150
1565
					end
1566
				end
1567
			end
1568
			CLOCKTARGET = HUM
1569
			coroutine.resume(coroutine.create(function()
1570
				repeat Swait() CLOCKSPEED = 0.5 until CLOCKTARGET == nil
1571
				for i = 1, 25 do
1572
					Swait()
1573
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1574
						if c.ClassName == "Part" then
1575
							c.Transparency = c.Transparency + 0.5/25
1576
						end
1577
					end
1578
				end
1579
				CLOCKSPEED = 1
1580
				FAKECHARACTER:remove()
1581
			end))
1582
			wait(0.5)
1583
            text.Text = "wanTH092"
1584
			ATTACK = false
1585
			Rooted = false
1586
		end
1587
	end
1588
end
1589
1590
function ChainPunch()
1591
	ATTACK = true
1592
	Rooted = false
1593
    text.Text = "Lightning Dragon..."
1594
	local GYRO = IT("BodyGyro",RootPart)
1595
	GYRO.D = 25
1596
	GYRO.P = 2000
1597
	GYRO.MaxTorque = VT(0,40000,0)
1598
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1599
	repeat
1600
		Swait()
1601
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1602
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1603
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1604
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1605
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1606
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1607
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1608
	until HOLD == true
1609
	local POS = Mouse.Hit.p
1610
	local CHAINS = false
1611
	local CHAINLINKS = {}
1612
	local A = IT("Attachment",RightArm)
1613
	A.Position = VT(1,-1,0)*SIZE
1614
	A.Orientation = VT(-90, -89.982, 0)
1615
	local B = IT("Attachment",RightArm)
1616
	B.Position = VT(-1,-1,0)*SIZE
1617
	B.Orientation = VT(-90, 89.988, 0)
1618
	local C = IT("Attachment",RightArm)
1619
	C.Position = VT(0.5,-1.3,0)*SIZE
1620
	C.Orientation = VT(-90, -89.982, 0)
1621
	local D = IT("Attachment",RightArm)
1622
	D.Position = VT(-0.5,-1.3,0)*SIZE
1623
	D.Orientation = VT(-90, 89.988, 0)
1624
	local LIGHT = IT("Attachment",RightArm)
1625
	LIGHT.Position = VT(0,-1,0)*SIZE
1626
	local LIGHT2 = IT("PointLight",LIGHT)
1627
	LIGHT2.Range = 7
1628
	LIGHT2.Brightness = 5
1629
	LIGHT2.Color = SKILLTEXTCOLOR
1630
	for i = 1, 2 do
1631
		local TWIST = -2
1632
		local START = A
1633
		local END = B
1634
		if i == 1 then
1635
			START = B
1636
			END = A
1637
		end
1638
		local ChainLink = IT("Beam",Torso)
1639
		ChainLink.Texture = "rbxassetid://73042633"
1640
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1641
		ChainLink.TextureSpeed = 1
1642
		ChainLink.Width0 = 1
1643
		ChainLink.Width1 = 1
1644
		ChainLink.TextureLength = 2.5
1645
		ChainLink.Attachment0 = START
1646
		ChainLink.Attachment1 = END
1647
		ChainLink.CurveSize0 = TWIST
1648
		ChainLink.CurveSize1 = TWIST
1649
		--ChainLink.FaceCamera = true
1650
		ChainLink.Segments = 45
1651
		ChainLink.Transparency = NumberSequence.new(1)
1652
		table.insert(CHAINLINKS,ChainLink)
1653
	end
1654
	for i = 1, 2 do
1655
		local TWIST = -1
1656
		local START = C
1657
		local END = D
1658
		if i == 1 then
1659
			START = D
1660
			END = C
1661
		end
1662
		local ChainLink = IT("Beam",Torso)
1663
		ChainLink.Texture = "rbxassetid://73042633"
1664
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1665
		ChainLink.TextureSpeed = 1
1666
		ChainLink.Width0 = 1
1667
		ChainLink.Width1 = 1
1668
		ChainLink.TextureLength = 5
1669
		ChainLink.Attachment0 = START
1670
		ChainLink.Attachment1 = END
1671
		ChainLink.CurveSize0 = TWIST
1672
		ChainLink.CurveSize1 = TWIST
1673
		--ChainLink.FaceCamera = true
1674
		ChainLink.Segments = 25
1675
		ChainLink.LightEmission = 0.5
1676
		ChainLink.Transparency = NumberSequence.new(1)
1677
		table.insert(CHAINLINKS,ChainLink)
1678
	end
1679
	coroutine.resume(coroutine.create(function()
1680
		repeat
1681
			Swait()
1682
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
1683
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
1684
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1685
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1686
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1687
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1688
		until CHAINS == true
1689
		repeat
1690
			Swait()
1691
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
1692
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
1693
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1694
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1695
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1696
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1697
		until ATTACK == false
1698
		for e = 1, 15 do
1699
			Swait()
1700
			for i = 1, #CHAINLINKS do
1701
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1702
			end
1703
		end
1704
		A:remove()
1705
		B:remove()
1706
		C:remove()
1707
		D:remove()
1708
	end))
1709
    text.Text = "Smash!!!"
1710
	CreateSound(233856115, RightArm, 5, 1.2, false)
1711
	for e = 1, 15 do
1712
		Swait()
1713
		for i = 1, #CHAINLINKS do
1714
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1715
		end
1716
	end
1717
	CHAINS = true
1718
	Rooted = true
1719
	wait(0.25)
1720
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
1721
	FIST.Color = C3(255/255, 176/255, 0/255)
1722
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1723
	local LIGHT3 = IT("PointLight",FIST)
1724
	LIGHT3.Range = 7
1725
	LIGHT3.Brightness = 5
1726
	LIGHT3.Color = SKILLTEXTCOLOR
1727
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1728
	local FISTA = IT("Attachment",FIST)
1729
	FISTA.Position = VT(0.062, 0.977, 0)
1730
	local ChainLink = IT("Beam",Torso)
1731
	ChainLink.Texture = "rbxassetid://73042633"
1732
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1733
	ChainLink.TextureSpeed = 0
1734
	ChainLink.Width0 = 3
1735
	ChainLink.Width1 = 3
1736
	ChainLink.TextureLength = 12
1737
	ChainLink.Attachment0 = LIGHT
1738
	ChainLink.Attachment1 = FISTA
1739
	ChainLink.FaceCamera = true
1740
	ChainLink.Segments = 45
1741
	ChainLink.LightEmission = 0.5
1742
	ChainLink.Transparency = NumberSequence.new(0.25)
1743
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1744
	for i = 1, 85 do
1745
		Swait()
1746
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1747
		ChainLink.TextureLength = 12+(i*2)
1748
		ApplyAoE(FIST.Position,10,15,25,100,false)
1749
		WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1750
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1751
		if HITFLOOR ~= nil then
1752
			HITFLOOR:BreakJoints()
1753
			coroutine.resume(coroutine.create(function()
1754
				for i = 1, 15 do
1755
					Swait()
1756
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1757
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
1758
					WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 176/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1759
				end
1760
			end))
1761
			break
1762
		end
1763
	end
1764
	coroutine.resume(coroutine.create(function()
1765
		for i = 1, 50 do
1766
			Swait()
1767
			FIST.Transparency = FIST.Transparency + 0.5/50
1768
			LIGHT3.Range = LIGHT3.Range - 7/50
1769
		end
1770
		FIST:remove()
1771
	end))
1772
	LIGHT:remove()
1773
	GYRO:remove()
1774
    text.Text = "wanTH092"
1775
	ATTACK = false
1776
	Rooted = false
1777
end
1778
1779
function Taunt1()
1780
		ATTACK = true
1781
	Rooted = true
1782
    text.Text = "Just don't bore me"
1783
	local TAUNT = CreateSound(159882635, Torso,50, 1.08, false)
1784
	repeat
1785
		Swait()
1786
		TAUNT.Parent = Torso
1787
		TAUNT.Playing = true
1788
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1789
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1790
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1791
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1792
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1793
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1794
	until TAUNT.TimePosition >= 1.25
1795
	for i=0, 1.6, 0.1 / Animation_Speed do
1796
		text.Text = "Yeah.."
1797
		Swait()
1798
		TAUNT.Parent = Torso
1799
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1800
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1801
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1802
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1803
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1804
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1805
	end
1806
    text.Text = "wanTH092"
1807
	ATTACK = false
1808
	Rooted = false
1809
end
1810
1811
function Charge(TIME,GYRO)
1812
	local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
1813
	local G = nil
1814
	if GYRO == true then
1815
		G = IT("BodyGyro",RootPart)
1816
		G.D = 250
1817
		G.P = 200000
1818
		G.MaxTorque = VT(math.huge,math.huge,math.huge)
1819
	end
1820
	for i=0, 4.5, 0.1 / Animation_Speed do
1821
		Swait()
1822
		if G then
1823
			G.cframe = CF(RootPart.Position,Mouse.Hit.p)
1824
		end
1825
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1826
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1827
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1828
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(-90), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1829
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1830
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1831
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1832
	end
1833
	SND:remove()
1834
	if G then
1835
		return G
1836
	end
1837
end
1838
1839
function Reminder_Circle()
1840
    text.Text = "Reminder.."
1841
	ATTACK = true
1842
	Rooted = true
1843
	Charge(2,false)
1844
	local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
1845
	local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
1846
	for i = 1, 60 do
1847
		Swait()
1848
		ApplyAoE(RootPart.Position,i*2.6,2,2,-400,true)
1849
		SND.Pitch = SND.Pitch - 1/60
1850
		SND2.Pitch = SND.Pitch
1851
		WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*4,20,i*4), Size2 = VT(i*4,20,i*4), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1852
		WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,20,0), Size2 = VT(i*4,12,i*4), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1853
		WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,12,0), Size2 = VT(i*3.2,20,i*3.2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1854
        text.Text = "Circle!!"
1855
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1856
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1857
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1858
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1859
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1860
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1861
	end
1862
	SND:remove()
1863
	SND2:remove()
1864
    text.Text = "wanTH092"
1865
	ATTACK = false
1866
	Rooted = false
1867
end
1868
1869
function Mornin_Star()
1870
    ATTACK = true
1871
    Rooted = true
1872
    text.Text = "Gud-"
1873
    for i=0, 2, 0.1 / Animation_Speed do
1874
        Swait()
1875
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1876
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1877
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1878
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1879
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1880
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1881
    end
1882
    coroutine.resume(coroutine.create(function()
1883
	    text.Text = "Mornin.."
1884
        local POS = Mouse.Hit.p
1885
        local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Strike", VT(0,2000,0))
1886
        MakeForm(RAY,"Cyl")
1887
        local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "CGA orange", "Strike", VT(0,0,0))
1888
        MakeForm(SPHERE,"Ball")
1889
        local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Strike", VT(0,0,0))
1890
        MakeForm(SHIELD,"Ball")
1891
        SHIELD.CFrame = CF(POS)
1892
        RAY.CFrame = CF(POS)
1893
        SPHERE.CFrame = CF(POS)
1894
        CreateSound(440145570, SPHERE, 10, 0.8, false)
1895
        CreateSound(415700134, SPHERE, 10, 0.8, false)
1896
        for i = 1, 200 do
1897
            Swait()
1898
            WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1899
            RAY.Size = RAY.Size + VT(0.05,0,0.05)
1900
            SPHERE.Size = SPHERE.Size + VT(2,2,2)
1901
            SHIELD.Size = SPHERE.Size + VT(3,3,3)
1902
            ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1903
        end
1904
        for i = 1, 45 do
1905
            Swait()
1906
            RAY.Transparency = RAY.Transparency + 1/45
1907
            SPHERE.Transparency = RAY.Transparency
1908
            SHIELD.Transparency = SPHERE.Transparency + 1/45
1909
        end
1910
        RAY:remove()
1911
        SHIELD:remove()
1912
        SPHERE:remove()
1913
    end))
1914
    for i=0, 1, 0.1 / Animation_Speed do
1915
        Swait()
1916
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1917
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
1918
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-270), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1919
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1920
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1921
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1922
    end
1923
    text.Text = "wanTH092"
1924
    ATTACK = false
1925
    Rooted = false
1926
end
1927
1928
function Taunt2()
1929
	ATTACK = true
1930
	Rooted = true
1931
	text.Text = "I don't have all day.."
1932
	local TAUNT = CreateSound(159882303,Torso,10,1.07,false)
1933
	coroutine.resume(coroutine.create(function()
1934
		repeat
1935
			Swait()
1936
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1937
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1938
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(-90), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1939
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1940
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1941
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1942
		until ATTACK == false
1943
	end))
1944
	repeat wait() until TAUNT.Playing == false
1945
	text.Text = "wanTH092"
1946
	ATTACK = false
1947
	Rooted = false
1948
end
1949
1950
function Forget_Circle()
1951
	ATTACK = true
1952
	Rooted = true
1953
	text.Text = "Forget.."
1954
	for i=0, 1, 0.1 / Animation_Speed do
1955
		Swait()
1956
		MagicSphere(VT(65,2,65),15,RootPart.CFrame*CF(0,-3,0),"Deep orange",VT(0,0,0))
1957
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1958
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1959
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(185), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1960
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1961
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
1962
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1963
	end
1964
	text.Text = "Crown!!"
1965
	CreateSound("588736245", RightArm, 8, 1)
1966
	for i=0, 1, 0.1 / Animation_Speed do
1967
		Swait()
1968
		MagicSphere(VT(65,2,65),15,RootPart.CFrame*CF(0,-3,0),"Deep orange",VT(0,0,0))
1969
		AoEDamage(RootPart.CFrame*CF(0,-3,0).p,35,5,8,5,2,2)
1970
		CreateCrown(VT(62,0,62),15,RootPart.CFrame*CF(0,-3,0),true,4,"Deep orange",VT(0,12,0))
1971
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1972
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1973
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
1974
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1975
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.8 / Animation_Speed)
1976
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.8 / Animation_Speed)
1977
	end
1978
	text.Text = "wanTH092"
1979
	ATTACK = false
1980
	Rooted = false
1981
end
1982
1983
function AfterLife_Rain()
1984
	ATTACK = true
1985
	Rooted = true
1986
	text.Text = "AfterLife.."
1987
	for i=0, 0.6, 0.1 / Animation_Speed do
1988
		Swait()
1989
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1990
RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
1991
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
1992
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1993
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
1994
	end
1995
	local DONE = false
1996
	local GATE = nil
1997
	local GATESPIN = true
1998
	coroutine.resume(coroutine.create(function()
1999
		repeat
2000
			Swait()
2001
			if GATE ~= nil then
2002
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
2003
			end
2004
		until GATESPIN == false
2005
	end))
2006
	coroutine.resume(coroutine.create(function()
2007
		repeat
2008
			Swait()
2009
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2010
RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2011
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2012
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2013
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.75, -0.5) * ANGLES(RAD(0), RAD(-180), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
2014
		until DONE == true
2015
		Swait(10)
2016
		for i = 1, 75 do
2017
			Swait(1.5)
2018
			local FIRED = false
2019
			local CHILDREN = workspace:GetDescendants()
2020
			for index, CHILD in pairs(CHILDREN) do
2021
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2022
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2023
					if HUM then
2024
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2025
						if TORSO then
2026
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2027
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2028
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2029
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
2030
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2031
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2032
								Kill(CHILD)
2033
								FIRED = true
2034
								break
2035
							end
2036
						end
2037
					end
2038
				end
2039
			end
2040
			if FIRED == false then
2041
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2042
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
2043
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2044
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
2045
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2046
				if HITBOD ~= nil then
2047
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2048
						Kill(HITBOD.Parent)
2049
					end
2050
				end
2051
			end
2052
		end
2053
		for i = 1, 45 do
2054
			Swait()
2055
			GATE.Size = GATE.Size - VT(3,0,3)
2056
		end
2057
		GATESPIN = false
2058
		GATE:remove()
2059
		end))
2060
		text.Text = "Rain!!"
2061
	Swait(5)
2062
	local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
2063
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
2064
	local DECAL = IT("Decal",GATE)
2065
	DECAL.Texture = "http://www.roblox.com/asset/?id=0"
2066
	DECAL.Face = "Top"
2067
	GATE.CFrame = CF(HITPOS)
2068
	CreateSound(160772554, GATE, 4, 1.3, false)
2069
	for i = 1, 45 do
2070
		Swait()
2071
		GATE.Size = GATE.Size + VT(3,0,3)
2072
	end
2073
	CreateSound(213603013, RightBarrel, 6, 1, false)
2074
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightBarrel.CFrame*CF(0,2.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2075
	text.Text = "wanTH092"
2076
	ATTACK = false
2077
	Rooted = false
2078
	DONE = true
2079
end
2080
2081
function Spirital_Wall()
2082
	text.Text = "Yaa!!"
2083
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
2084
	if HITFLOOR ~= nil then
2085
		if HITFLOOR.Anchored == true then
2086
			local WALL = HITFLOOR:Clone()
2087
			WALL.Size = VT(45,45,5)
2088
			WALL.Parent = Effects
2089
			WALL.Name = "Wall"
2090
			WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
2091
			CreateSound(130972023,WALL,5,0.8,false)
2092
			ATTACK = true
2093
			Rooted = true
2094
			local HIT = WALL.Touched:Connect(function(hit)
2095
				if hit.Parent ~= Character then
2096
					hit:BreakJoints()
2097
				end
2098
			end)
2099
			coroutine.resume(coroutine.create(function()
2100
				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"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2101
				for i = 1, 90 do
2102
					Swait()
2103
					WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
2104
				end
2105
				HIT:disconnect()
2106
				wait(5)
2107
				for i = 1, 46 do
2108
					Swait()
2109
					WALL.CFrame = WALL.CFrame*CF(0,-1,0)
2110
				end
2111
				WALL:remove()
2112
			end))
2113
			Pose("RightArmUp",1.5,1.2,true)
2114
			text.Text = "wanTH092"
2115
			ATTACK = false
2116
			Rooted = false
2117
		end
2118
	end
2119
end
2120
2121
function FoxRampage()
2122
	ATTACK = true
2123
	Rooted = false
2124
	text.Text = "FoxRampage!!!"
2125
	for i = 0, 2, 0.1 / Animation_Speed do
2126
		Swait()
2127
		turnto(Mouse.Hit.p)
2128
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2129
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2130
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2131
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2132
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2133
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2134
	end
2135
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
2136
	repeat
2137
		Swait()
2138
		HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
2139
	until HITFLOOR ~= nil
2140
	CreateSound("238353911", RightBarrel, 10, MRANDOM(9, 11) / 10)
2141
	local SOUND = CreateSound("415700134", Effects, 10, 1.6)
2142
	CreateSound("138677306", Effects, 7, 1.2)
2143
	coroutine.resume(coroutine.create(function()
2144
		local CFRAME = RootPart.CFrame * CF(0, -1.2, -3)
2145
		local SIZE = 1
2146
		while true do
2147
			text.Text = "wanTH092"
2148
			Swait()
2149
			for i = 1, 2 do
2150
				MagicSphere(VT(SIZE / 5, SIZE / 5, SIZE * 2), 65, CF(CFRAME * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, CFRAME.p), "Deep orange", VT(0.001, 0.001, 0), 0.5)
2151
			end
2152
			do
2153
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
2154
				Part.CFrame = CFRAME * CF(SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
2155
				coroutine.resume(coroutine.create(function()
2156
					Swait(200)
2157
					Part.Anchored = false
2158
				end))
2159
				local Part = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(SIZE / 5, SIZE / 5, SIZE / 5))
2160
				Part.CFrame = CFRAME * CF(-SIZE / 1.5, -0.7, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
2161
				coroutine.resume(coroutine.create(function()
2162
					Swait(200)
2163
					Part.Anchored = false
2164
				end))
2165
				MagicSphere(VT(SIZE, SIZE, SIZE), 75, CFRAME, "Deep orange", VT(-SIZE / 75, -SIZE / 75, -SIZE / 75))
2166
				killnearest(CFRAME.p, SIZE, 0)
2167
				SIZE = SIZE + 2
2168
				CFRAME = CFRAME * CF(0, 0, -2)
2169
				if SOUND.Playing == false then
2170
					break
2171
				end
2172
			end
2173
		end
2174
	end))
2175
	MagicSphere(VT(0.1, 0.1, 0.1), 45, RightBarrel.CFrame, "Deep orange", VT(0.1, 5, 0.1))
2176
	MagicSphere(VT(0.1, 0.1, 0.1), 45, RightBarrel.CFrame, "Deep orange", VT(0.05, 5, 0.05))
2177
	for i = 0, 3, 0.1 / Animation_Speed do
2178
		Swait()
2179
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2180
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2181
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(85), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2182
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2183
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2184
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2185
	end
2186
	ATTACK = false
2187
	Rooted = false
2188
end
2189
2190
--//=================================\\
2191
--||	  ASSIGN THINGS TO KEYS
2192
--\\=================================//
2193
2194
function MouseDown(Mouse)
2195
	HOLD = true
2196
	if ATTACK == false then
2197
	end
2198
end
2199
2200
function MouseUp(Mouse)
2201
HOLD = false
2202
end
2203
2204
function KeyDown(Key)
2205
	KEYHOLD = true
2206
	if Key == "z" and ATTACK == false then
2207
		MagicMissiles()
2208
	end
2209
2210
	if Key == "b" and ATTACK == false then
2211
		TimesUp()
2212
	end
2213
2214
	if Key == "c" and ATTACK == false then
2215
		ChainPunch()
2216
	end
2217
2218
	if Key == "q" and ATTACK == false then
2219
		TimeSweep()
2220
	end
2221
2222
	if Key == "e" and ATTACK == false then
2223
		Reminder_Circle()
2224
	end
2225
	
2226
	if Key == "v" and ATTACK == false then
2227
		Spirital_Wall()
2228
	end
2229
	
2230
	if Key == "r" and ATTACK == false then
2231
		Forget_Circle()
2232
	end
2233
2234
	if Key == "x" and ATTACK == false then
2235
		Mornin_Star()
2236
	end
2237
	
2238
	if Key == "g" and ATTACK == false then
2239
		FoxRampage()
2240
	end
2241
	
2242
	if Key == "f" and ATTACK == false then
2243
		AfterLife_Rain()
2244
	end
2245
2246
	if Key == "1" and ATTACK == false then
2247
		Taunt1()
2248
    end
2249
	if Key == "2" and ATTACK == false then
2250
		Taunt2()
2251
	end
2252
end
2253
2254
function KeyUp(Key)
2255
	KEYHOLD = false
2256
end
2257
2258
	Mouse.Button1Down:connect(function(NEWKEY)
2259
		MouseDown(NEWKEY)
2260
	end)
2261
	Mouse.Button1Up:connect(function(NEWKEY)
2262
		MouseUp(NEWKEY)
2263
	end)
2264
	Mouse.KeyDown:connect(function(NEWKEY)
2265
		KeyDown(NEWKEY)
2266
	end)
2267
	Mouse.KeyUp:connect(function(NEWKEY)
2268
		KeyUp(NEWKEY)
2269
	end)
2270
2271
--//=================================\\
2272
--\\=================================//
2273
2274
2275
function unanchor()
2276
	if UNANCHOR == true then
2277
		RootPart.Anchored = false
2278
	end
2279
	g = Character:GetChildren()
2280
	for i = 1, #g do
2281
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2282
			g[i].Anchored = false
2283
		end
2284
	end
2285
	g = Weapon:GetChildren()
2286
	for i = 1, #g do
2287
		if g[i].ClassName == "Part" then
2288
			g[i].Anchored = false
2289
		end
2290
	end
2291
end
2292
2293
2294
--//=================================\\
2295
--||	WRAP THE WHOLE SCRIPT UP
2296
--\\=================================//
2297
2298
Humanoid.Changed:connect(function(Jump)
2299
	if Jump == "Jump" and (Disable_Jump == true) then
2300
		Humanoid.Jump = false
2301
	end
2302
end)
2303
2304
while true do
2305
	Swait()
2306
	script.Parent = WEAPONGUI
2307
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2308
	    v:Stop();
2309
	end
2310
	ANIMATE.Parent = nil
2311
	SINE = SINE + CHANGE*1.5
2312
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2313
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2314
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2315
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2316
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2317
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2318
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2319
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2320
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2321
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2322
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2323
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2324
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2325
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2326
	end
2327
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2328
		ANIM = "Jump"
2329
		if ATTACK == false then
2330
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2331
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2332
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2333
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2334
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2335
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2336
	    end
2337
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2338
		ANIM = "Fall"
2339
		if ATTACK == false then
2340
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2341
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2342
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2343
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2344
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2345
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2346
		end
2347
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2348
		ANIM = "Idle"
2349
		if ATTACK == false then
2350
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2351
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2352
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2353
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2354
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2355
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2356
		end
2357
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2358
		ANIM = "Walk"
2359
		if ATTACK == false then
2360
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2361
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
2362
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2363
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2364
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2365
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2366
		end
2367
	end
2368
	unanchor()
2369
	Humanoid.MaxHealth = "inf"
2370
	Humanoid.Health = "inf"
2371
	if Rooted == false then
2372
		Disable_Jump = false
2373
		Humanoid.WalkSpeed = Speed
2374
	elseif Rooted == true then
2375
		Disable_Jump = true
2376
		Humanoid.WalkSpeed = 0
2377
	end
2378
	for _, c in pairs(Character:GetChildren()) do
2379
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2380
			c.Material = "Fabric"
2381
			if c:FindFirstChildOfClass("ParticleEmitter") then
2382
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2383
			end
2384
			if c ~= Head then
2385
				c.Color = C3(255/255,204/255,153/255)
2386
			else
2387
				c.Color = C3(255/255, 204/255, 153/255)
2388
			end
2389
			if c == Head then
2390
				if c:FindFirstChild("face") then
2391
					c.face.Texture = "rbxassetid://31117192"
2392
				end
2393
			end
2394
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2395
			c:remove()
2396
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2397
			c:remove()
2398
		end
2399
	end
2400
	sick.SoundId = "rbxassetid://"..SONG
2401
	sick.Looped = true
2402
	sick.Pitch = 1
2403
	sick.Volume = 1.5
2404
	sick.Parent = Torso
2405
	sick:Resume()
2406
	--sick.Playing = false
2407
	Humanoid.Name = "wanTH092 = "..Player.Name
2408
end
2409
2410
--//=================================\\
2411
--\\=================================//
2412
2413
2414
2415
2416
2417
--//====================================================\\--
2418
--||			  		 END OF SCRIPT
2419
--\\====================================================//--