View difference between Paste ID: EDaFcTcB and W9MDsMJu
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
2
do
3
    script.Parent = owner.Character
4
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
5
    local function NewFakeEvent()
6
        local Bind = Instance.new("BindableEvent")
7
        local Fake;Fake = {Connections = {},
8
        fakeEvent=true;
9
        Connect=function(self,Func)
10
            Bind.Event:connect(Func)
11
            self.Connections[Bind] = true
12
            return setmetatable({Connected = true},{
13
            __index = function (self,Index)
14
                if Index:lower() == "disconnect" then
15
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
16
                end
17
                return Fake[Index]
18
            end;
19
            __tostring = function() return "Connection" end;
20
        })
21
        end}
22
        Fake.connect = Fake.Connect;return Fake;
23
    end
24
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
25
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
26
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
27
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
28
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
29
    local function TriggerEvent(self,Event,...)
30
        local Trigger = Mouse[Event]
31
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
32
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
33
        end
34
    end
35
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
36
    Event.OnServerEvent:Connect(function(FiredBy,Input)
37
        if FiredBy.Name ~= owner.Name then return end
38
        if Input.MouseEvent then
39
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
40
        else
41
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
42
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
43
            for _,Action in pairs(ContextActionService.Actions) do
44
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
45
            end
46
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
47
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
48
        end
49
    end)
50
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
51
    Event.Parent = NLS([[
52
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
53
        local Input = function(Input,gameProcessedEvent)
54
            if gameProcessedEvent then return end
55
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
56
        end
57
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
58
        local Hit,Target
59
        while wait(1/30) do
60
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
61
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
62
            end
63
        end
64
    ]],owner.Character)
65
end
66
RealGame = game;game = setmetatable({},{
67
    __index = function (self,Index)
68
        local Sandbox = function (Thing)
69
            if Thing:IsA("Player") then
70
                local RealPlayer = Thing
71
                return setmetatable({},{
72
                    __index = function (self,Index)
73
                        local Type = type(RealPlayer[Index])
74
                        if Type == "function" then
75
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
76
                                return function (self)return InternalData["Mouse"] end
77
                            end
78
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
79
                        end
80
                        return RealPlayer[Index]
81
                    end;
82
                    __tostring = function(self) return RealPlayer.Name end
83
                })
84
            end
85
        end
86
        if RealGame[Index] then
87
            local Type = type(RealGame[Index])
88
            if Type == "function" then
89
                if Index:lower() == "getservice" or Index:lower() == "service" then
90
                    return function (self,Service)
91
                        local FakeServices = {
92
                            ["players"] = function()
93
                                return setmetatable({},{
94
                                    __index = function (self2,Index2)
95
                                        local RealService = RealGame:GetService(Service)
96
                                        local Type2 = type(Index2)
97
                                        if Type2 == "function" then
98
                                            return function (self,...) return RealService[Index2](RealService,...)end
99
                                        else
100
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
101
                                            return RealService[Index2]
102
                                        end
103
                                    end;
104
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
105
                                })
106
                            end;
107
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
108
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
109
                            ["runservice"] = function()
110
                                return setmetatable({},{
111
                                    __index = function(self2,Index2)
112
                                        local RealService = RealGame:GetService(Service)
113
                                        local Type2 = type(Index2)
114
                                        if Type2 == "function" then
115
                                            return function (self,...) return RealService[Index2](RealService,...) end
116
                                        else
117
                                            local RunServices = {
118
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
119
                                                ["renderstepped"] = function() return RealService["Stepped"] end
120
                                            }
121
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
122
                                            return RealService[Index2]
123
                                        end
124
                                    end
125
                                })
126
                            end
127
                        }
128
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
129
                        return RealGame:GetService(Service)
130
                    end
131
                end
132
                return function (self,...) return RealGame[Index](RealGame,...) end
133
            else
134
                if game:GetService(Index) then return game:GetService(Index) end
135
                return RealGame[Index]
136
            end
137
        end
138
        return nil
139
    end
140
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
141
142
local Player = game:GetService("Players").LocalPlayer
143
repeat
144
	wait()
145
until Player.Character
146
Mouse = Player:GetMouse()
147
local Character = Player.Character
148
TrailSettings = {
149
	Lifetime = 1,
150
	Texture = "http://www.roblox.com/asset/?id=1097260739",
151
	Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
152
	Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
153
	AllBody = true,
154
	UpperBodyOnly = false,
155
	LowerBodyOnly = false,
156
	Accessories = false,
157
	Extras = true,
158
	R15 = false,
159
	R15Parts = {"UpperTorso", "LowerTorso"}
160
}
161
local Trail
162
function UpperBody()
163
	if TrailSettings.R15 == false then
164
		A0 = Instance.new("Attachment", Character.Torso)
165
		A1 = Instance.new("Attachment", Character.Head)
166
		A2 = Instance.new("Attachment", Character["Right Arm"])
167
		A3 = Instance.new("Attachment", Character["Left Arm"])
168
		Trail = Instance.new("Trail", Character)
169
		Trail.Attachment0 = A0
170
		Trail.Attachment1 = A1
171
		Trail.Texture = TrailSettings.Texture
172
		Trail.Color = TrailSettings.Color1
173
		Trail.Lifetime = TrailSettings.Lifetime
174
		local Trail2 = Trail:Clone()
175
		Trail2.Parent = Character
176
		Trail2.Attachment1 = A2
177
		local Trail3 = Trail:Clone()
178
		Trail3.Parent = Character
179
		Trail3.Attachment1 = A3
180
		local Trail6 = Trail:Clone()
181
		Trail6.Parent = Character
182
		Trail6.Attachment0 = A1
183
		Trail6.Attachment1 = A2
184
		local Trail7 = Trail:Clone()
185
		Trail7.Parent = Character
186
		Trail7.Attachment0 = A1
187
		Trail7.Attachment1 = A3
188
	else
189
		A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
190
		A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
191
		A1 = Instance.new("Attachment", Character.Head)
192
		A2 = Instance.new("Attachment", Character.RightUpperArm)
193
		A2R = Instance.new("Attachment", Character.RightLowerArm)
194
		A3 = Instance.new("Attachment", Character.LeftUpperArm)
195
		A3R = Instance.new("Attachment", Character.LeftLowerArm)
196
		Trail = Instance.new("Trail", Character)
197
		Trail.Attachment0 = A0
198
		Trail.Attachment1 = A1
199
		Trail.Texture = TrailSettings.Texture
200
		Trail.Color = TrailSettings.Color1
201
		Trail.Lifetime = TrailSettings.Lifetime
202
		local Trail2 = Trail:Clone()
203
		Trail2.Parent = Character
204
		Trail2.Attachment1 = A2
205
		local Trail3 = Trail:Clone()
206
		Trail3.Parent = Character
207
		Trail3.Attachment1 = A3
208
		local Trail6 = Trail:Clone()
209
		Trail6.Parent = Character
210
		Trail6.Attachment0 = A1
211
		Trail6.Attachment1 = A2
212
		local Trail7 = Trail:Clone()
213
		Trail7.Parent = Character
214
		Trail7.Attachment0 = A1
215
		Trail7.Attachment1 = A3
216
		local Trail1R = Trail:Clone()
217
		Trail1R.Parent = Character
218
		Trail1R.Attachment1 = A2R
219
		local Trail2R = Trail:Clone()
220
		Trail2R.Parent = Character
221
		Trail2R.Attachment1 = A3R
222
		local Trail6R = Trail:Clone()
223
		Trail6.Parent = Character
224
		Trail6.Attachment0 = A1
225
		Trail6.Attachment1 = A2R
226
		local Trail7R = Trail:Clone()
227
		Trail7.Parent = Character
228
		Trail7.Attachment0 = A1
229
		Trail7.Attachment1 = A3R
230
	end
231
end
232
function LowerBody()
233
	if TrailSettings.R15 == false then
234
		A4 = Instance.new("Attachment", Character["Right Leg"])
235
		A5 = Instance.new("Attachment", Character["Left Leg"])
236
		local Trail4 = Trail:Clone()
237
		Trail4.Parent = Character
238
		Trail4.Attachment1 = A4
239
		local Trail5 = Trail:Clone()
240
		Trail5.Parent = Character
241
		Trail5.Attachment1 = A5
242
		local Trail8 = Trail:Clone()
243
		Trail8.Parent = Character
244
		Trail8.Attachment0 = A2
245
		Trail8.Attachment1 = A4
246
		Trail8.Color = TrailSettings.Color2
247
		local Trail9 = Trail:Clone()
248
		Trail9.Parent = Character
249
		Trail9.Attachment0 = A3
250
		Trail9.Attachment1 = A5
251
		Trail9.Color = TrailSettings.Color2
252
		local FT = Trail:Clone()
253
		FT.Parent = Character
254
		FT.Attachment0 = A4
255
		FT.Attachment1 = A5
256
		FT.Color = TrailSettings.Color2
257
	else
258
		A4 = Instance.new("Attachment", Character.RightLowerLeg)
259
		A4R = Instance.new("Attachment", Character.RightUpperLeg)
260
		A5 = Instance.new("Attachment", Character.LeftLowerLeg)
261
		A5R = Instance.new("Attachment", Character.LeftUpperLeg)
262
		local Trail4 = Trail:Clone()
263
		Trail4.Parent = Character
264
		Trail4.Attachment1 = A4
265
		local Trail5 = Trail:Clone()
266
		Trail5.Parent = Character
267
		Trail5.Attachment1 = A5
268
		local Trail8 = Trail:Clone()
269
		Trail8.Parent = Character
270
		Trail8.Attachment0 = A2
271
		Trail8.Attachment1 = A4
272
		Trail8.Color = TrailSettings.Color2
273
		local Trail9 = Trail:Clone()
274
		Trail9.Parent = Character
275
		Trail9.Attachment0 = A3
276
		Trail9.Attachment1 = A5
277
		Trail9.Color = TrailSettings.Color2
278
		local FT = Trail:Clone()
279
		FT.Parent = Character
280
		FT.Attachment0 = A4
281
		FT.Attachment1 = A5
282
		FT.Color = TrailSettings.Color2
283
		local Trail3R = Trail:Clone()
284
		Trail3R.Parent = Character
285
		Trail3R.Attachment1 = A4R
286
		local Trail4R = Trail:Clone()
287
		Trail4R.Parent = Character
288
		Trail4R.Attachment1 = A5R
289
		local Trail8 = Trail:Clone()
290
		Trail8.Parent = Character
291
		Trail8.Attachment0 = A2R
292
		Trail8.Attachment1 = A4R
293
		Trail8.Color = TrailSettings.Color2
294
		local Trail9 = Trail:Clone()
295
		Trail9.Parent = Character
296
		Trail9.Attachment0 = A3R
297
		Trail9.Attachment1 = A5R
298
		Trail9.Color = TrailSettings.Color2
299
		local FT2R = Trail:Clone()
300
		FT2R.Parent = Character
301
		FT2R.Attachment0 = A4R
302
		FT2R.Attachment1 = A5R
303
		FT2R.Color = TrailSettings.Color2
304
	end
305
end
306
function AllBody()
307
	UpperBody()
308
	LowerBody()
309
end
310
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
311
	TrailSettings.UpperBodyOnly = false
312
	TrailSettings.LowerBodyOnly = false
313
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
314
	TrailSettings.UpperBodyOnly = false
315
	TrailSettings.LowerBodyOnly = false
316
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
317
	TrailSettings.UpperBodyOnly = false
318
	TrailSettings.LowerBodyOnly = false
319
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
320
	TrailSettings.AllBody = true
321
	TrailSettings.UpperBodyOnly = false
322
	TrailSettings.LowerBodyOnly = false
323
end
324
if TrailSettings.UpperBodyOnly == true then
325
	UpperBody()
326
	print("Called Upper Body Trail")
327
elseif TrailSettings.LowerBodyOnly == true then
328
	LowerBody()
329
	print("Called Lower Body Trail")
330
elseif TrailSettings.AllBody == true then
331
	AllBody()
332
	print("Called Full Body Trail")
333
end
334
if TrailSettings.Accessories == true then
335
	for Index, Item in pairs(Character:GetChildren()) do
336
		if Item:IsA("Accessory") then
337
			local AA = Instance.new("Attachment", Item.Handle)
338
			local ATrail = Trail:Clone()
339
			ATrail.Parent = Character
340
			ATrail.Attachment1 = AA
341
		end
342
	end
343
end
344
if TrailSettings.Extras == true then
345
	spawn(function()
346
		repeat
347
			wait()
348
		until Trail
349
		local AB = Instance.new("Attachment", a)
350
		local ABT = Trail:Clone()
351
		ABT.Parent = Character
352
		ABT.Attachment0 = A4
353
		ABT.Attachment1 = AB
354
		ABT.Color = TrailSettings.Color2
355
		local ABT2 = Trail:Clone()
356
		ABT2.Parent = Character
357
		ABT2.Attachment0 = A5
358
		ABT2.Attachment1 = AB
359
		ABT2.Color = TrailSettings.Color2
360
	end)
361
end
362
wait(0.1)
363
--//====================================================\\--
364
--||			   CREATED BY SHACKLUSTER
365
--\\====================================================//--
366
367
local Player = owner
368
local Character = Player.Character
369
local Humanoid = Character.Humanoid
370
local LeftArm = Character["Left Arm"]
371
local RightArm = Character["Right Arm"]
372
local LeftLeg = Character["Left Leg"]
373
local RightLeg = Character["Right Leg"]
374
local Head = Character.Head
375
local Torso = Character.Torso
376
local Camera = game.Workspace.CurrentCamera
377
local RootPart = Character.HumanoidRootPart
378
local RootJoint = RootPart.RootJoint
379
local attack = false
380
local Anim = 'Idle'
381
local Lighty = game:GetService"Lighting"
382
local attacktype = 1
383
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude 
384
local velocity = RootPart.Velocity.y
385
local sine = 0
386
local change = 1
387
local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
388
local Create = LoadLibrary("RbxUtility").Create
389
function swait(num)
390
	if num == 0 or num == nil then
391
		ArtificialHB.Event:wait()
392
	else
393
		for i = 0, num do
394
			ArtificialHB.Event:wait()
395
		end
396
	end
397
end
398
399
local chara = Character
400
local m = Create("Model"){
401
	Parent = Character,
402
	Name = "WeaponModel",
403
}
404
function chatfunc(text)
405
	local chat = coroutine.wrap(function()
406
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
407
		Character:FindFirstChild("TalkingBillBoard"):destroy()
408
	end
409
	local Bill = Instance.new("BillboardGui",Character)
410
	Bill.Size = UDim2.new(0,100,0,40)
411
	Bill.StudsOffset = Vector3.new(0,3,0)
412
	Bill.Adornee = Character.Head
413
	Bill.Name = "TalkingBillBoard"
414
	local Hehe = Instance.new("TextLabel",Bill)
415
	Hehe.BackgroundTransparency = 1
416
	Hehe.BorderSizePixel = 0
417
	Hehe.Text = ""
418
	Hehe.Font = "Garamond"
419
	Hehe.TextSize = 40
420
	Hehe.TextStrokeTransparency = 0
421
	Hehe.Size = UDim2.new(1,0,0.5,0)
422
	coroutine.resume(coroutine.create(function()
423
		while Hehe ~= nil do
424
			swait()	
425
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
426
			Hehe.Rotation = math.random(-5,5)
427
			Hehe.TextColor3 = Color3.new(255,255,0)
428
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
429
		end
430
	end))
431
	for i = 1,string.len(text),1 do
432
		swait()
433
		Hehe.Text = string.sub(text,1,i)
434
	end
435
	swait(90)--Re[math.random(1, 93)]
436
	for i = 0, 1, .025 do
437
		swait()
438
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
439
		Hehe.TextStrokeTransparency = i
440
		Hehe.TextTransparency = i
441
	end
442
	Bill:Destroy()
443
	end)
444
chat()
445
end
446
447
function onChatted(msg)
448
	chatfunc(msg)
449
end
450
451
Player.Chatted:connect(onChatted)
452
wait(0.2)
453
454
Player = owner
455
PlayerGui = Player.PlayerGui
456
Cam = workspace.CurrentCamera
457
Backpack = Player.Backpack
458
Character = Player.Character
459
Humanoid = Character.Humanoid
460
RootPart = Character["HumanoidRootPart"]
461
Torso = Character["Torso"]
462
Head = Character["Head"]
463
RightArm = Character["Right Arm"]
464
LeftArm = Character["Left Arm"]
465
RightLeg = Character["Right Leg"]
466
LeftLeg = Character["Left Leg"]
467
RootJoint = RootPart["RootJoint"]
468
Neck = Torso["Neck"]
469
RightShoulder = Torso["Right Shoulder"]
470
LeftShoulder = Torso["Left Shoulder"]
471
RightHip = Torso["Right Hip"]
472
LeftHip = Torso["Left Hip"]
473
Character.Archivable = true
474
Player:ClearCharacterAppearance()
475
476
IT = Instance.new
477
CF = CFrame.new
478
VT = Vector3.new
479
RAD = math.rad
480
C3 = Color3.new
481
UD2 = UDim2.new
482
BRICKC = BrickColor.new
483
ANGLES = CFrame.Angles
484
EULER = CFrame.fromEulerAnglesXYZ
485
COS = math.cos
486
ACOS = math.acos
487
SIN = math.sin
488
ASIN = math.asin
489
ABS = math.abs
490
MRANDOM = math.random
491
FLOOR = math.floor
492
local CHOICE = MRANDOM(1,5)
493
--//=================================\\
494
--|| 	      USEFUL VALUES
495
--\\=================================//
496
497
Animation_Speed = 3
498
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
499
local Speed = 20
500
local SIZE = 1.4
501
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
502
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
503
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
504
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
505
local DAMAGEMULTIPLIER = "inf"
506
local ANIM = "Idle"
507
local ATTACK = false
508
local EQUIPPED = false
509
local HOLD = false
510
local COMBO = 1
511
local Rooted = false
512
local SINE = 0
513
local KEYHOLD = false
514
local CHANGE = 2 / Animation_Speed
515
local WALKINGANIM = false
516
local VALUE1 = false
517
local VALUE2 = false
518
local ROBLOXIDLEANIMATION = IT("Animation")
519
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
520
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
521
local ATANIM = IT("Animation")
522
ATANIM.Name = "Attack Animation"
523
ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
524
--ROBLOXIDLEANIMATION.Parent = Humanoid
525
local WEAPONGUI = IT("ScreenGui", PlayerGui)
526
WEAPONGUI.Name = "Weapon GUI"
527
local Weapon = IT("Model")
528
Weapon.Name = "Adds"
529
local Effects = IT("Folder", Weapon)
530
Effects.Name = "Effects"
531
local ANIMATOR = Humanoid.Animator
532
local ANIMATE = Character.Animate
533
local UNANCHOR = true
534
local CLOCKLOOP = 0
535
local SONG = 492070484
536
local CLOCKTARGET = nil
537
local CLOCKSPEED = 4
538
script.Parent = WEAPONGUI
539
local CLONE = Character:Clone()
540
CLONE.Parent = nil
541
Character.Archivable = false
542
local sick = Instance.new("Sound",Torso)
543
sick.Volume = 50999
544
545
--//=================================\\
546
--\\=================================//
547
548
549
--//=================================\\
550
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
551
--\\=================================//
552
553
ArtificialHB = Instance.new("BindableEvent", script)
554
ArtificialHB.Name = "ArtificialHB"
555
556
script:WaitForChild("ArtificialHB")
557
558
frame = Frame_Speed
559
tf = 0
560
allowframeloss = false
561
tossremainder = false
562
lastframe = tick()
563
script.ArtificialHB:Fire()
564
565
game:GetService("RunService").Heartbeat:connect(function(s, p)
566
	tf = tf + s
567
	if tf >= frame then
568
		if allowframeloss then
569
			script.ArtificialHB:Fire()
570
			lastframe = tick()
571
		else
572
			for i = 1, math.floor(tf / frame) do
573
				script.ArtificialHB:Fire()
574
			end
575
		lastframe = tick()
576
		end
577
		if tossremainder then
578
			tf = 0
579
		else
580
			tf = tf - frame * math.floor(tf / frame)
581
		end
582
	end
583
end)
584
585
--//=================================\\
586
--\\=================================//
587
588
--//=================================\\
589
--|| 	      SOME FUNCTIONS
590
--\\=================================//
591
592
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
593
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
594
end
595
596
function PositiveAngle(NUMBER)
597
	if NUMBER >= 0 then
598
		NUMBER = 0
599
	end
600
	return NUMBER
601
end
602
603
function NegativeAngle(NUMBER)
604
	if NUMBER <= 0 then
605
		NUMBER = 0
606
	end
607
	return NUMBER
608
end
609
610
function Swait(NUMBER)
611
	if NUMBER == 0 or NUMBER == nil then
612
		ArtificialHB.Event:wait()
613
	else
614
		for i = 1, NUMBER do
615
			ArtificialHB.Event:wait()
616
		end
617
	end
618
end
619
620
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
621
	local NEWMESH = IT(MESH)
622
	if MESH == "SpecialMesh" then
623
		NEWMESH.MeshType = MESHTYPE
624
		if MESHID ~= "nil" and MESHID ~= "" then
625
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
626
		end
627
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
628
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
629
		end
630
	end
631
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
632
	NEWMESH.Scale = SCALE
633
	NEWMESH.Parent = PARENT
634
	return NEWMESH
635
end
636
637
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
638
	local NEWPART = IT("Part")
639
	NEWPART.formFactor = FORMFACTOR
640
	NEWPART.Reflectance = REFLECTANCE
641
	NEWPART.Transparency = TRANSPARENCY
642
	NEWPART.CanCollide = false
643
	NEWPART.Locked = true
644
	NEWPART.Anchored = true
645
	if ANCHOR == false then
646
		NEWPART.Anchored = false
647
	end
648
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
649
	NEWPART.Name = NAME
650
	NEWPART.Size = SIZE
651
	NEWPART.Position = Torso.Position
652
	NEWPART.Material = MATERIAL
653
	NEWPART:BreakJoints()
654
	NEWPART.Parent = PARENT
655
	return NEWPART
656
end
657
658
	local function weldBetween(a, b)
659
	    local weldd = Instance.new("ManualWeld")
660
	    weldd.Part0 = a
661
	    weldd.Part1 = b
662
	    weldd.C0 = CFrame.new()
663
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
664
	    weldd.Parent = a
665
	    return weldd
666
	end
667
668
669
function QuaternionFromCFrame(cf)
670
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
671
	local trace = m00 + m11 + m22
672
	if trace > 0 then 
673
		local s = math.sqrt(1 + trace)
674
		local recip = 0.5 / s
675
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
676
	else
677
		local i = 0
678
		if m11 > m00 then
679
			i = 1
680
		end
681
		if m22 > (i == 0 and m00 or m11) then
682
			i = 2
683
		end
684
		if i == 0 then
685
			local s = math.sqrt(m00 - m11 - m22 + 1)
686
			local recip = 0.5 / s
687
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
688
		elseif i == 1 then
689
			local s = math.sqrt(m11 - m22 - m00 + 1)
690
			local recip = 0.5 / s
691
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
692
		elseif i == 2 then
693
			local s = math.sqrt(m22 - m00 - m11 + 1)
694
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
695
		end
696
	end
697
end
698
 
699
function QuaternionToCFrame(px, py, pz, x, y, z, w)
700
	local xs, ys, zs = x + x, y + y, z + z
701
	local wx, wy, wz = w * xs, w * ys, w * zs
702
	local xx = x * xs
703
	local xy = x * ys
704
	local xz = x * zs
705
	local yy = y * ys
706
	local yz = y * zs
707
	local zz = z * zs
708
	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))
709
end
710
 
711
function QuaternionSlerp(a, b, t)
712
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
713
	local startInterp, finishInterp;
714
	if cosTheta >= 0.0001 then
715
		if (1 - cosTheta) > 0.0001 then
716
			local theta = ACOS(cosTheta)
717
			local invSinTheta = 1 / SIN(theta)
718
			startInterp = SIN((1 - t) * theta) * invSinTheta
719
			finishInterp = SIN(t * theta) * invSinTheta
720
		else
721
			startInterp = 1 - t
722
			finishInterp = t
723
		end
724
	else
725
		if (1 + cosTheta) > 0.0001 then
726
			local theta = ACOS(-cosTheta)
727
			local invSinTheta = 1 / SIN(theta)
728
			startInterp = SIN((t - 1) * theta) * invSinTheta
729
			finishInterp = SIN(t * theta) * invSinTheta
730
		else
731
			startInterp = t - 1
732
			finishInterp = t
733
		end
734
	end
735
	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
736
end
737
738
function Clerp(a, b, t)
739
	local qa = {QuaternionFromCFrame(a)}
740
	local qb = {QuaternionFromCFrame(b)}
741
	local ax, ay, az = a.x, a.y, a.z
742
	local bx, by, bz = b.x, b.y, b.z
743
	local _t = 1 - t
744
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
745
end
746
747
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
748
	local frame = IT("Frame")
749
	frame.BackgroundTransparency = TRANSPARENCY
750
	frame.BorderSizePixel = BORDERSIZEPIXEL
751
	frame.Position = POSITION
752
	frame.Size = SIZE
753
	frame.BackgroundColor3 = COLOR
754
	frame.BorderColor3 = BORDERCOLOR
755
	frame.Name = NAME
756
	frame.Parent = PARENT
757
	return frame
758
end
759
760
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
761
	local label = IT("TextLabel")
762
	label.BackgroundTransparency = 1
763
	label.Size = UD2(1, 0, 1, 0)
764
	label.Position = UD2(0, 0, 0, 0)
765
	label.TextColor3 = TEXTCOLOR
766
	label.TextStrokeTransparency = STROKETRANSPARENCY
767
	label.TextTransparency = TRANSPARENCY
768
	label.FontSize = TEXTFONTSIZE
769
	label.Font = TEXTFONT
770
	label.BorderSizePixel = BORDERSIZEPIXEL
771
	label.TextStrokeColor3 = C3(1,1,1)
772
	label.TextScaled = false
773
	label.Text = TEXT
774
	label.Name = NAME
775
	label.Parent = PARENT
776
	return label
777
end
778
779
function NoOutlines(PART)
780
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
781
end
782
783
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
784
	local NEWWELD = IT(TYPE)
785
	NEWWELD.Part0 = PART0
786
	NEWWELD.Part1 = PART1
787
	NEWWELD.C0 = C0
788
	NEWWELD.C1 = C1
789
	NEWWELD.Parent = PARENT
790
	return NEWWELD
791
end
792
793
local S = IT("Sound")
794
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
795
	local NEWSOUND = nil
796
	coroutine.resume(coroutine.create(function()
797
		NEWSOUND = S:Clone()
798
		NEWSOUND.Parent = PARENT
799
		NEWSOUND.Volume = VOLUME
800
		NEWSOUND.Pitch = PITCH
801
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
802
		NEWSOUND:play()
803
		if DOESLOOP == true then
804
			NEWSOUND.Looped = true
805
		else
806
			repeat wait(1) until NEWSOUND.Playing == false
807
			NEWSOUND:remove()
808
		end
809
	end))
810
	return NEWSOUND
811
end
812
813
function CFrameFromTopBack(at, top, back)
814
	local right = top:Cross(back)
815
	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)
816
end
817
818
--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})
819
function WACKYEFFECT(Table)
820
	local TYPE = (Table.EffectType or "Sphere")
821
	local SIZE = (Table.Size or VT(1,1,1))
822
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
823
	local TRANSPARENCY = (Table.Transparency or 0)
824
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
825
	local CFRAME = (Table.CFrame or Torso.CFrame)
826
	local MOVEDIRECTION = (Table.MoveToPos or nil)
827
	local ROTATION1 = (Table.RotationX or 0)
828
	local ROTATION2 = (Table.RotationY or 0)
829
	local ROTATION3 = (Table.RotationZ or 0)
830
	local MATERIAL = (Table.Material or "Neon")
831
	local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
832
	local TIME = (Table.Time or 45)
833
	local SOUNDID = (Table.SoundID or nil)
834
	local SOUNDPITCH = (Table.SoundPitch or nil)
835
	local SOUNDVOLUME = (Table.SoundVolume or nil)
836
	coroutine.resume(coroutine.create(function()
837
		local PLAYSSOUND = false
838
		local SOUND = nil
839
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
840
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
841
			PLAYSSOUND = true
842
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
843
		end
844
		EFFECT.Color = COLOR
845
		local MSH = nil
846
		if TYPE == "Sphere" then
847
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
848
		elseif TYPE == "Block" then
849
			MSH = IT("BlockMesh",EFFECT)
850
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
851
		elseif TYPE == "Wave" then
852
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
853
		elseif TYPE == "Ring" then
854
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
855
		elseif TYPE == "Slash" then
856
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
857
		elseif TYPE == "Round Slash" then
858
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
859
		elseif TYPE == "Swirl" then
860
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
861
		elseif TYPE == "Skull" then
862
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
863
		elseif TYPE == "Crystal" then
864
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
865
		end
866
		if MSH ~= nil then
867
			local MOVESPEED = nil
868
			if MOVEDIRECTION ~= nil then
869
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
870
			end
871
			local GROWTH = SIZE - ENDSIZE
872
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
873
			if TYPE == "Block" then
874
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
875
			else
876
				EFFECT.CFrame = CFRAME
877
			end
878
			for LOOP = 1, TIME+1 do
879
				Swait()
880
				MSH.Scale = MSH.Scale - GROWTH/TIME
881
				if TYPE == "Wave" then
882
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
883
				end
884
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
885
				if TYPE == "Block" then
886
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
887
				else
888
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
889
				end
890
				if MOVEDIRECTION ~= nil then
891
					local ORI = EFFECT.Orientation
892
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
893
					EFFECT.Orientation = ORI
894
				end
895
			end
896
			if PLAYSSOUND == false then
897
				EFFECT:remove()
898
			else
899
				repeat Swait() until SOUND.Playing == false
900
				EFFECT:remove()
901
			end
902
		else
903
			if PLAYSSOUND == false then
904
				EFFECT:remove()
905
			else
906
				repeat Swait() until SOUND.Playing == false
907
				EFFECT:remove()
908
			end
909
		end
910
	end))
911
end
912
913
function MakeForm(PART,TYPE)
914
	if TYPE == "Cyl" then
915
		local MSH = IT("CylinderMesh",PART)
916
	elseif TYPE == "Ball" then
917
		local MSH = IT("SpecialMesh",PART)
918
		MSH.MeshType = "Sphere"
919
	elseif TYPE == "Wedge" then
920
		local MSH = IT("SpecialMesh",PART)
921
		MSH.MeshType = "Wedge"
922
	end
923
end
924
925
Debris = game:GetService("Debris")
926
927
function CastProperRay(StartPos, EndPos, Distance, Ignore)
928
	local DIRECTION = CF(StartPos,EndPos).lookVector
929
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
930
end
931
932
function turnto(position)
933
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
934
end
935
936
--//=================================\\
937
--||	     WEAPON CREATION
938
--\\=================================//
939
940
Humanoid.Parent = nil
941
RootPart.Size = RootPart.Size*SIZE
942
Torso.Size = Torso.Size*SIZE
943
RightArm.Size = RightArm.Size*SIZE
944
RightLeg.Size = RightLeg.Size*SIZE
945
LeftArm.Size = LeftArm.Size*SIZE
946
LeftLeg.Size = LeftLeg.Size*SIZE
947
RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
948
RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
949
Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
950
Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
951
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
952
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
953
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
954
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
955
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
956
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
957
Head.Size = Head.Size*SIZE
958
RootJoint.Parent = RootPart
959
Neck.Parent = Torso
960
RightShoulder.Parent = Torso
961
LeftShoulder.Parent = Torso
962
RightHip.Parent = Torso
963
LeftHip.Parent = Torso
964
965
Humanoid.DisplayDistanceType = "None"
966
local naeeym2 = IT("BillboardGui",Character)
967
naeeym2.AlwaysOnTop = true
968
naeeym2.Size = UDim2.new(5,35,2,15)
969
naeeym2.StudsOffset = Vector3.new(0,2,0)
970
naeeym2.MaxDistance = 75
971
naeeym2.Adornee = Character.Head
972
naeeym2.Name = "Name"
973
local tecks2 = IT("TextLabel",naeeym2)
974
tecks2.BackgroundTransparency = 1
975
tecks2.TextScaled = true
976
tecks2.BorderSizePixel = 0
977
tecks2.Text = "Master of Time"
978
tecks2.Font = "Fantasy"
979
tecks2.TextSize = 30
980
tecks2.TextStrokeTransparency = 0
981
tecks2.TextColor3 = C3(0,0,0)
982
tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
983
tecks2.Size = UDim2.new(1,0,0.5,0)
984
tecks2.Parent = naeeym2
985
local top = Instance.new("Shirt")
986
top.ShirtTemplate = "rbxassetid://45695443"
987
top.Parent = Character
988
top.Name = "Cloth"
989
local bottom = Instance.new("Pants")
990
bottom.PantsTemplate = "rbxassetid://45696190"
991
bottom.Parent = Character
992
bottom.Name = "Cloth"
993
local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
994
PRT.Color = C3(0,0,0)
995
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
996
CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
997
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
998
PRT.Color = C3(0,0,0)
999
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1000
CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
1001
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
1002
PRT.Color = C3(255/255, 0/255, 0/255)
1003
MakeForm(PRT,"Ball")
1004
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
1005
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
1006
PRT.Color = C3(255/255, 255/255, 0/255)
1007
MakeForm(PRT,"Ball")
1008
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
1009
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1010
PRT.Color = C3(255/255, 255/255, 0/255)
1011
MakeForm(PRT,"Ball")
1012
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1013
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
1014
PRT.Color = C3(255/255, 255/255, 0/255)
1015
MakeForm(PRT,"Ball")
1016
local Aura = Instance.new('ParticleEmitter')
1017
Aura.Name = "Aura"
1018
Aura.Texture = "rbxassetid://131765579"
1019
Aura.Parent = PRT
1020
Aura.LightEmission = 0.3
1021
Aura.Transparency = NumberSequence.new(0,0.6,1)
1022
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
1023
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1024
Aura.LockedToPart = false
1025
Aura.Lifetime = NumberRange.new(2)
1026
Aura.Rate = 30
1027
Aura.Speed = NumberRange.new(1)
1028
Aura.EmissionDirection = "Top"
1029
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
1030
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1031
PRT.Color = C3(255/255, 255/255, 0/255)
1032
MakeForm(PRT,"Ball")
1033
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
1034
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
1035
PRT.Color = C3(255/255, 255/255, 0/255)
1036
MakeForm(PRT,"Ball")
1037
CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
1038
1039
local LASTPART = Head
1040
for i = 1, 24 do
1041
	local MATH = (1-(i/30))
1042
	if LASTPART == Head then
1043
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1044
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
1045
		LASTPART = Horn
1046
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1047
		local Aura = Instance.new('ParticleEmitter')
1048
Aura.Name = "Aura"
1049
Aura.Texture = "rbxassetid://242997264"
1050
Aura.Parent = Horn
1051
Aura.LightEmission = 0.8
1052
Aura.Transparency = NumberSequence.new(0,0.6,1)
1053
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1054
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1055
Aura.LockedToPart = true
1056
Aura.Lifetime = NumberRange.new(2)
1057
Aura.Rate = 25
1058
Aura.Speed = NumberRange.new(0.1)
1059
Aura.EmissionDirection = "Top"
1060
	else
1061
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1062
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1063
		LASTPART = Horn
1064
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1065
				local Aura = Instance.new('ParticleEmitter')
1066
Aura.Name = "Aura"
1067
Aura.Texture = "rbxassetid://242997264"
1068
Aura.Parent = Horn
1069
Aura.LightEmission = 0.8
1070
Aura.Transparency = NumberSequence.new(0,0.6,1)
1071
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1072
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1073
Aura.LockedToPart = true
1074
Aura.Lifetime = NumberRange.new(2)
1075
Aura.Rate = 25
1076
Aura.Speed = NumberRange.new(0.1)
1077
Aura.EmissionDirection = "Top"
1078
	end
1079
end
1080
local LASTPART = Head
1081
for i = 1, 24 do
1082
	local MATH = (1-(i/30))
1083
	if LASTPART == Head then
1084
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1085
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
1086
		LASTPART = Horn
1087
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1088
				local Aura = Instance.new('ParticleEmitter')
1089
Aura.Name = "Aura"
1090
Aura.Texture = "rbxassetid://242997264"
1091
Aura.Parent = Horn
1092
Aura.LightEmission = 0.8
1093
Aura.Transparency = NumberSequence.new(0,0.6,1)
1094
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1095
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1096
Aura.LockedToPart = true
1097
Aura.Lifetime = NumberRange.new(2)
1098
Aura.Rate = 25
1099
Aura.Speed = NumberRange.new(0.1)
1100
Aura.EmissionDirection = "Top"
1101
	else
1102
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1103
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1104
		LASTPART = Horn
1105
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1106
				local Aura = Instance.new('ParticleEmitter')
1107
Aura.Name = "Aura"
1108
Aura.Texture = "rbxassetid://242997264"
1109
Aura.Parent = Horn
1110
Aura.LightEmission = 0.8
1111
Aura.Transparency = NumberSequence.new(0,0.6,1)
1112
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1113
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1114
Aura.LockedToPart = true
1115
Aura.Lifetime = NumberRange.new(2)
1116
Aura.Rate = 25
1117
Aura.Speed = NumberRange.new(0.1)
1118
Aura.EmissionDirection = "Top"
1119
	end
1120
end
1121
local LASTPART = Head
1122
for i = 1, 8 do
1123
	local MATH = (1-(i/14))
1124
	if LASTPART == Head then
1125
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1126
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
1127
		LASTPART = Horn
1128
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1129
				local Aura = Instance.new('ParticleEmitter')
1130
Aura.Name = "Aura"
1131
Aura.Texture = "rbxassetid://242997264"
1132
Aura.Parent = Horn
1133
Aura.LightEmission = 0.8
1134
Aura.Transparency = NumberSequence.new(0,0.6,1)
1135
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1136
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1137
Aura.LockedToPart = true
1138
Aura.Lifetime = NumberRange.new(2)
1139
Aura.Rate = 25
1140
Aura.Speed = NumberRange.new(0.1)
1141
Aura.EmissionDirection = "Top"
1142
	else
1143
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1144
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1145
		LASTPART = Horn
1146
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1147
				local Aura = Instance.new('ParticleEmitter')
1148
Aura.Name = "Aura"
1149
Aura.Texture = "rbxassetid://242997264"
1150
Aura.Parent = Horn
1151
Aura.LightEmission = 0.8
1152
Aura.Transparency = NumberSequence.new(0,0.6,1)
1153
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1154
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1155
Aura.LockedToPart = true
1156
Aura.Lifetime = NumberRange.new(2)
1157
Aura.Rate = 25
1158
Aura.Speed = NumberRange.new(0.1)
1159
Aura.EmissionDirection = "Top"
1160
	end
1161
end
1162
local LASTPART = Head
1163
for i = 1, 8 do
1164
	local MATH = (1-(i/14))
1165
	if LASTPART == Head then
1166
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1167
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
1168
		LASTPART = Horn
1169
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1170
				local Aura = Instance.new('ParticleEmitter')
1171
Aura.Name = "Aura"
1172
Aura.Texture = "rbxassetid://242997264"
1173
Aura.Parent = Horn
1174
Aura.LightEmission = 0.8
1175
Aura.Transparency = NumberSequence.new(0,0.6,1)
1176
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1177
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1178
Aura.LockedToPart = true
1179
Aura.Lifetime = NumberRange.new(2)
1180
Aura.Rate = 25
1181
Aura.Speed = NumberRange.new(0.1)
1182
Aura.EmissionDirection = "Top"
1183
	else
1184
		local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
1185
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
1186
		LASTPART = Horn
1187
		Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
1188
				local Aura = Instance.new('ParticleEmitter')
1189
Aura.Name = "Aura"
1190
Aura.Texture = "rbxassetid://242997264"
1191
Aura.Parent = Horn
1192
Aura.LightEmission = 0.8
1193
Aura.Transparency = NumberSequence.new(0,0.6,1)
1194
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
1195
Aura.Size = NumberSequence.new(0.3,0.2,0.1)
1196
Aura.LockedToPart = true
1197
Aura.Lifetime = NumberRange.new(2)
1198
Aura.Rate = 25
1199
Aura.Speed = NumberRange.new(0.1)
1200
Aura.EmissionDirection = "Top"
1201
	end
1202
end
1203
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1204
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1205
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1206
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1207
MakeForm(PRT,"Cyl")
1208
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1209
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1210
MakeForm(PRT,"Cyl")
1211
PRT.Color = C3(255/255, 255/255, 0/255)
1212
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1213
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1214
MakeForm(RING,"Cyl")
1215
RING.Color = C3(0,0,0)
1216
for i = 1, 12 do
1217
	local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1218
	PRT.Color = C3(0,0,0)
1219
	local MSH = IT("BlockMesh",PRT)
1220
	MSH.Scale = VT(0.6,1,1)
1221
	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))
1222
end
1223
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1224
PRT.Color = C3(0,0,0)
1225
local MSH = IT("BlockMesh",PRT)
1226
MSH.Scale = VT(0.4,1,1)
1227
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))
1228
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1229
PRT.Color = C3(0,0,0)
1230
local MSH = IT("BlockMesh",PRT)
1231
MSH.Scale = VT(0.4,1,1)
1232
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))
1233
coroutine.resume(coroutine.create(function()
1234
	while true do
1235
		Swait()
1236
		CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1237
		WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1238
		WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1239
		if CLOCKLOOP <= -150 then
1240
			if VALUE1 == false then
1241
				CLOCKLOOP = 0
1242
				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, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
1243
				local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1244
				ApplyAoE(HITPOS,10,15,45,75,true)
1245
				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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1246
				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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
1247
				if CLOCKTARGET ~= nil then
1248
					CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1249
					if CLOCKTARGET.Torso ~= nil then
1250
						CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1251
					end
1252
					if CLOCKTARGET.Health == 0 then
1253
						CLOCKTARGET = nil
1254
					end
1255
				end
1256
			end
1257
		end
1258
	end
1259
end))
1260
1261
for _, c in pairs(Weapon:GetChildren()) do
1262
	if c.ClassName == "Part" then
1263
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1264
	end
1265
end
1266
1267
Neck.Name = "Weld"
1268
RootJoint.Name = "Weld"
1269
RightShoulder.Name = "Weld"
1270
LeftShoulder.Name = "Weld"
1271
RightHip.Name = "Weld"
1272
LeftHip.Name = "Weld"
1273
1274
local BODY = {}
1275
for _, c in pairs(Character:GetDescendants()) do
1276
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1277
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1278
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1279
		end
1280
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1281
	elseif c:IsA("JointInstance") then
1282
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1283
	end
1284
end
1285
for e = 1, #BODY do
1286
	if BODY[e] ~= nil then
1287
		local STUFF = BODY[e]
1288
		local PART = STUFF[1]
1289
		local PARENT = STUFF[2]
1290
		local MATERIAL = STUFF[3]
1291
		local COLOR = STUFF[4]
1292
		local TRANSPARENCY = STUFF[5]
1293
		if PART.ClassName == "Part" and PART ~= RootPart then
1294
			PART.Material = MATERIAL
1295
			PART.Color = COLOR
1296
			PART.Transparency = TRANSPARENCY
1297
		end
1298
		PART.AncestryChanged:Connect(function()
1299
			PART.Parent = PARENT
1300
		end)
1301
	end
1302
end
1303
1304
function refit()
1305
	Character.Parent = workspace
1306
	for e = 1, #BODY do
1307
		if BODY[e] ~= nil then
1308
			local STUFF = BODY[e]
1309
			local PART = STUFF[1]
1310
			local PARENT = STUFF[2]
1311
			local MATERIAL = STUFF[3]
1312
			local COLOR = STUFF[4]
1313
			local TRANSPARENCY = STUFF[5]
1314
			if PART.ClassName == "Part" and PART ~= RootPart then
1315
				PART.Material = MATERIAL
1316
				PART.Color = COLOR
1317
				PART.Transparency = TRANSPARENCY
1318
			end
1319
			if PART.Parent ~= PARENT then
1320
				Humanoid:remove()
1321
				PART.Parent = PARENT
1322
				Humanoid = IT("Humanoid",Character)
1323
chatfunc ("I dont have time to die...")
1324
			end
1325
		end
1326
	end
1327
end
1328
local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
1329
local SKILLFONT = "Fantasy"
1330
local SKILLTEXTSIZE = 7
1331
1332
Weapon.Parent = Character
1333
Humanoid.Parent = Character
1334
1335
Humanoid.Died:connect(function()
1336
	refit()
1337
end)
1338
chatfunc("Gentlemen, you just annoyed me")
1339
warn("deivis97 edit")
1340
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1341
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1342
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1343
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1344
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1345
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1346
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
1347
1348
1349
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
1350
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
1351
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
1352
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
1353
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
1354
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
1355
local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
1356
1357
--//=================================\\
1358
--||			DAMAGING
1359
--\\=================================//
1360
1361
function ApplyDamage(Humanoid,Damage,TorsoPart)
1362
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1363
	defence.Name = ("HitBy"..Player.Name)
1364
	game:GetService("Debris"):AddItem(defence, 0.001)
1365
	Damage = Damage * DAMAGEMULTIPLIER
1366
	if Humanoid.Health ~= 0 then
1367
		local CritChance = MRANDOM(1,100)
1368
		if Damage > Humanoid.Health then
1369
			Damage = math.ceil(Humanoid.Health)
1370
			if Damage == 0 then
1371
				Damage = 0.1
1372
			end
1373
		end
1374
		Humanoid.Health = Humanoid.Health - Damage
1375
	end
1376
end
1377
1378
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1379
	local CHILDREN = workspace:GetDescendants()
1380
	for index, CHILD in pairs(CHILDREN) do
1381
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1382
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1383
			if HUM then
1384
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1385
				if TORSO then
1386
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1387
						if INSTAKILL == false then
1388
							CHILD:BreakJoints()
1389
						else
1390
							local DMG = MRANDOM(MINDMG,MAXDMG)
1391
							ApplyDamage(HUM,DMG,TORSO)
1392
						end
1393
						if FLING > 0 then
1394
							for _, c in pairs(CHILD:GetChildren()) do
1395
								if c:IsA("BasePart") then
1396
									local bv = Instance.new("BodyVelocity") 
1397
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1398
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1399
									bv.Parent = c
1400
									Debris:AddItem(bv,0.05)
1401
								end
1402
							end
1403
						end
1404
					end
1405
				end
1406
			end
1407
		end
1408
	end
1409
end
1410
1411
--//=================================\\
1412
--||	ATTACK FUNCTIONS AND STUFF
1413
--\\=================================//
1414
1415
Circle = nil
1416
CircleParts = {}
1417
Equipped = false
1418
1419
function RayCast(Position, Direction, MaxDistance, IgnoreList)
1420
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
1421
end
1422
	Equipped = true
1423
	Circle = Instance.new("Model")
1424
	Circle.Name = "Circle"
1425
	Angle = 0
1426
	for i = 1, 1 do
1427
		local CirclePart = Instance.new("Part")
1428
		CirclePart.Name = "CirclePart"
1429
		CirclePart.Transparency = 1
1430
		CirclePart.BrickColor = BrickColor.new("Really black")
1431
		CirclePart.Material = Enum.Material.Plastic
1432
		CirclePart.Shape = Enum.PartType.Block
1433
		CirclePart.FormFactor = Enum.FormFactor.Custom
1434
		CirclePart.TopSurface = Enum.SurfaceType.Smooth
1435
		CirclePart.BottomSurface = Enum.SurfaceType.Smooth
1436
		CirclePart.Anchored = true
1437
		CirclePart.CanCollide = false
1438
		CirclePart.Locked = true
1439
		CirclePart.Size = Vector3.new(10, 0.2, 10)
1440
		local Aura = Instance.new('ParticleEmitter')
1441
Aura.Name = "Aura"
1442
Aura.Texture = "rbxassetid://641078192"
1443
Aura.Parent = CirclePart
1444
Aura.LightEmission = 0
1445
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
1446
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
1447
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
1448
Aura.LockedToPart = false
1449
Aura.Lifetime = NumberRange.new(1)
1450
Aura.Rate = 50
1451
Aura.Speed = NumberRange.new(2.5)
1452
Aura.SpreadAngle = Vector2.new(80,80)
1453
		local BlockMesh = Instance.new("BlockMesh")
1454
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
1455
		BlockMesh.Parent = CirclePart
1456
		CirclePart.Parent = Circle
1457
		local Star = Instance.new("Decal", CirclePart)
1458
		Star.Texture = "http://www.roblox.com/asset/?id=253215684"
1459
		Star.Face = "Top"
1460
		local Light = Instance.new("PointLight", CirclePart)
1461
		Light.Color = Color3.new(.20,0,0)
1462
		Light.Brightness = 100
1463
		Light.Range = 15
1464
		table.insert(CircleParts, CirclePart)
1465
	end
1466
	Spawn(function()
1467
		while Equipped and Humanoid.Parent and Torso.Parent do
1468
			if Angle == 360 then
1469
				Angle = 0
1470
			end
1471
			Angle = Angle + 0.05
1472
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1473
			if Hit then
1474
				if not Circle.Parent then
1475
					Circle.Parent = Character
1476
				end
1477
				for i, v in pairs(CircleParts) do
1478
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
1479
				end
1480
			else
1481
				Circle.Parent = nil
1482
			end
1483
			wait()
1484
		end
1485
	end)
1486
1487
1488
1489
function MagicMissiles()
1490
	ATTACK = true
1491
	Rooted = false
1492
	local SELECTING = true
1493
	local SPOTS = {}
1494
	coroutine.resume(coroutine.create(function()
1495
		local LOOP = 0
1496
		repeat
1497
			LOOP = LOOP + 1
1498
			Swait()
1499
			if LOOP >= 15 then
1500
				LOOP = 0
1501
				for i = 1, #SPOTS do
1502
					if SPOTS[i] ~= nil then
1503
						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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1504
						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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1505
					end
1506
				end
1507
			end
1508
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1509
			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)
1510
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1511
			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)
1512
			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)
1513
			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)
1514
		until SELECTING == false
1515
		Rooted = false
1516
		repeat
1517
			LOOP = LOOP + 1
1518
			Swait()
1519
			if LOOP >= 15 then
1520
				LOOP = 0
1521
				for i = 1, #SPOTS do
1522
					if SPOTS[i] ~= nil then
1523
						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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1524
						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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1525
					end
1526
				end
1527
			end
1528
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1529
			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)
1530
			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)
1531
			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)
1532
			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)
1533
			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)
1534
		until ATTACK == false
1535
	end))
1536
	repeat
1537
		repeat Swait() until HOLD == true
1538
			local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1539
			if DIST > 9999 then
1540
				DIST = 9999
1541
			end
1542
			local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1543
			local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)	
1544
			if HITFLOOR ~= nil then
1545
				table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
1546
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
1547
				WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1548
			end
1549
		repeat Swait() until HOLD == false
1550
	until #SPOTS == 5
1551
	SELECTING = false
1552
	for i = 1, #SPOTS do
1553
		if SPOTS[i] ~= nil then
1554
			local POS = SPOTS[i]
1555
			coroutine.resume(coroutine.create(function()
1556
				local MISSILE = IT("Model",Effects)
1557
				MISSILE.Name = "Missile"
1558
				local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
1559
				MakeForm(BASEPART,"Cyl")
1560
				MISSILE.PrimaryPart = BASEPART
1561
				BASEPART.CFrame = POS*CF(0,-30*3,0)
1562
				local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
1563
				MakeForm(HEAD,"Ball")
1564
				HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
1565
				local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
1566
				MakeForm(TAIL,"Cyl")
1567
				TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
1568
				chatfunc("you like nukes?")
1569
				for i = 1, 15 do
1570
					Swait()
1571
					for _, c in pairs(MISSILE:GetChildren()) do
1572
						if c.ClassName == "Part" then
1573
							c.Transparency = c.Transparency - 1/10
1574
						end
1575
					end
1576
				end
1577
				for i = 1, 15*1.5 do
1578
					Swait()
1579
					MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
1580
				end
1581
				ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
1582
				WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
1583
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
1584
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), 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(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1585
				WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), 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(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1586
				MISSILE:remove()
1587
			end))
1588
		end
1589
	end
1590
	wait(0.6)
1591
	ATTACK = false
1592
	Rooted = false
1593
end
1594
1595
function TimesUp()
1596
	CLOCKTARGET = nil
1597
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1598
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1599
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1600
		if TORSO then
1601
			ATTACK = true
1602
			Rooted = false
1603
			coroutine.resume(coroutine.create(function()
1604
				repeat
1605
					Swait()
1606
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1607
					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)
1608
					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)
1609
					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)
1610
					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)
1611
					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)
1612
				until ATTACK == false
1613
			end))
1614
			if Effects:FindFirstChild("NeonDoll") then
1615
				repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
1616
			end
1617
			wait(0.5)
1618
			local FAKECHARACTER = IT("Model",Effects)
1619
			FAKECHARACTER.Name = "NeonDoll"
1620
			local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
1621
			CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
1622
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1623
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
1624
			local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1625
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
1626
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1627
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
1628
			local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
1629
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
1630
			local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
1631
			CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
1632
			CreateSound(201858045, TORS, 5, 0.4, false)
1633
			for i = 1, 50 do
1634
				Swait()
1635
				CLOCKSPEED = 2.5
1636
				for _, c in pairs(FAKECHARACTER:GetChildren()) do
1637
					if c.ClassName == "Part" then
1638
						c.Transparency = c.Transparency - 0.5/150
1639
					end
1640
				end
1641
			end
1642
			CLOCKTARGET = HUM
1643
			coroutine.resume(coroutine.create(function()
1644
				repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
1645
				for i = 1, 25 do
1646
					Swait()
1647
					for _, c in pairs(FAKECHARACTER:GetChildren()) do
1648
						if c.ClassName == "Part" then
1649
							c.Transparency = c.Transparency + 0.5/25
1650
						end
1651
					end
1652
				end
1653
				CLOCKSPEED = 4
1654
				FAKECHARACTER:remove()
1655
			end))
1656
			wait(0.5)
1657
			ATTACK = false
1658
			Rooted = false
1659
		end
1660
	end
1661
end
1662
1663
function ChainPunch()
1664
	ATTACK = true
1665
	Rooted = false
1666
	local GYRO = IT("BodyGyro",RootPart)
1667
	GYRO.D = 25
1668
	GYRO.P = 2000
1669
	GYRO.MaxTorque = VT(0,40000,0)
1670
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1671
	repeat
1672
		Swait()
1673
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1674
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1675
		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)
1676
		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)
1677
		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)
1678
		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)
1679
		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)
1680
	until HOLD == true
1681
	local POS = Mouse.Hit.p
1682
	local CHAINS = false
1683
	local CHAINLINKS = {}
1684
	local A = IT("Attachment",RightArm)
1685
	A.Position = VT(1,-1,0)*SIZE
1686
	A.Orientation = VT(-90, -89.982, 0)
1687
	local B = IT("Attachment",RightArm)
1688
	B.Position = VT(-1,-1,0)*SIZE
1689
	B.Orientation = VT(-90, 89.988, 0)
1690
	local C = IT("Attachment",RightArm)
1691
	C.Position = VT(0.5,-1.3,0)*SIZE
1692
	C.Orientation = VT(-90, -89.982, 0)
1693
	local D = IT("Attachment",RightArm)
1694
	D.Position = VT(-0.5,-1.3,0)*SIZE
1695
	D.Orientation = VT(-90, 89.988, 0)
1696
	local LIGHT = IT("Attachment",RightArm)
1697
	LIGHT.Position = VT(0,-1,0)*SIZE
1698
	local LIGHT2 = IT("PointLight",LIGHT)
1699
	LIGHT2.Range = 7
1700
	LIGHT2.Brightness = 5
1701
	LIGHT2.Color = SKILLTEXTCOLOR
1702
	chatfunc("Falcon...")
1703
	for i = 1, 2 do
1704
		local TWIST = -2
1705
		local START = A
1706
		local END = B
1707
		if i == 1 then
1708
			START = B
1709
			END = A
1710
		end
1711
		local ChainLink = IT("Beam",Torso)
1712
		ChainLink.Texture = "rbxassetid://73042633"
1713
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1714
		ChainLink.TextureSpeed = 1
1715
		ChainLink.Width0 = 1
1716
		ChainLink.Width1 = 1
1717
		ChainLink.TextureLength = 2.5
1718
		ChainLink.Attachment0 = START
1719
		ChainLink.Attachment1 = END
1720
		ChainLink.CurveSize0 = TWIST
1721
		ChainLink.CurveSize1 = TWIST
1722
		--ChainLink.FaceCamera = true
1723
		ChainLink.Segments = 45
1724
		ChainLink.Transparency = NumberSequence.new(1)
1725
		table.insert(CHAINLINKS,ChainLink)
1726
	end
1727
	for i = 1, 2 do
1728
		local TWIST = -1
1729
		local START = C
1730
		local END = D
1731
		if i == 1 then
1732
			START = D
1733
			END = C
1734
		end
1735
		local ChainLink = IT("Beam",Torso)
1736
		ChainLink.Texture = "rbxassetid://73042633"
1737
		ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1738
		ChainLink.TextureSpeed = 1
1739
		ChainLink.Width0 = 1
1740
		ChainLink.Width1 = 1
1741
		ChainLink.TextureLength = 5
1742
		ChainLink.Attachment0 = START
1743
		ChainLink.Attachment1 = END
1744
		ChainLink.CurveSize0 = TWIST
1745
		ChainLink.CurveSize1 = TWIST
1746
		--ChainLink.FaceCamera = true
1747
		ChainLink.Segments = 25
1748
		ChainLink.LightEmission = 0.5
1749
		ChainLink.Transparency = NumberSequence.new(1)
1750
		table.insert(CHAINLINKS,ChainLink)
1751
	end
1752
	coroutine.resume(coroutine.create(function()
1753
		repeat
1754
			Swait()
1755
			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)
1756
			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)
1757
			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)
1758
			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)
1759
			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)
1760
			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)
1761
		until CHAINS == true
1762
		repeat
1763
			Swait()
1764
			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)
1765
			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)
1766
			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)
1767
			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)
1768
			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)
1769
			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)
1770
		until ATTACK == false
1771
		for e = 1, 15 do
1772
			Swait()
1773
			chatfunc("PUNCH!!!")
1774
			for i = 1, #CHAINLINKS do
1775
				CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
1776
			end
1777
		end
1778
		A:remove()
1779
		B:remove()
1780
		C:remove()
1781
		D:remove()
1782
	end))
1783
	CreateSound(233856115, RightArm, 5, 1.2, false)
1784
	for e = 1, 15 do
1785
		Swait()
1786
		for i = 1, #CHAINLINKS do
1787
			CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
1788
		end
1789
	end
1790
	CHAINS = true
1791
	Rooted = true
1792
	wait(0.25)
1793
	local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
1794
	FIST.Color = C3(1, 215/255, 1)
1795
	FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) 
1796
	local LIGHT3 = IT("PointLight",FIST)
1797
	LIGHT3.Range = 7
1798
	LIGHT3.Brightness = 5
1799
	LIGHT3.Color = SKILLTEXTCOLOR
1800
	CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
1801
	local FISTA = IT("Attachment",FIST)
1802
	FISTA.Position = VT(0.062, 0.977, 0)
1803
	local ChainLink = IT("Beam",Torso)
1804
	ChainLink.Texture = "rbxassetid://73042633"
1805
	ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
1806
	ChainLink.TextureSpeed = 2
1807
	ChainLink.Width0 = 3
1808
	ChainLink.Width1 = 3
1809
	ChainLink.TextureLength = 12
1810
	ChainLink.Attachment0 = LIGHT
1811
	ChainLink.Attachment1 = FISTA
1812
	ChainLink.FaceCamera = true
1813
	ChainLink.Segments = 45
1814
	ChainLink.LightEmission = 0.5
1815
	ChainLink.Transparency = NumberSequence.new(0.25)
1816
	local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
1817
	for i = 1, 85 do
1818
		Swait()
1819
		FIST.CFrame = FIST.CFrame*CF(0,-2,0)
1820
		ChainLink.TextureLength = 12+(i*2)
1821
		ApplyAoE(FIST.Position,10,15,25,100,true)
1822
		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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1823
		local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
1824
		if HITFLOOR ~= nil then
1825
			HITFLOOR:BreakJoints()
1826
			coroutine.resume(coroutine.create(function()
1827
				for i = 1, 15 do
1828
					Swait()
1829
					FISTSOUND.Volume = FISTSOUND.Volume - 0.15
1830
					ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
1831
					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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1832
				end
1833
			end))
1834
			break
1835
		end
1836
	end
1837
	coroutine.resume(coroutine.create(function()
1838
		for i = 1, 50 do
1839
			Swait()
1840
			FIST.Transparency = FIST.Transparency + 0.5/50
1841
			LIGHT3.Range = LIGHT3.Range - 7/50
1842
		end
1843
		FIST:remove()
1844
	end))
1845
	LIGHT:remove()
1846
	GYRO:remove()
1847
	ATTACK = false
1848
	Rooted = false
1849
end
1850
1851
function WarpMeteor()
1852
	local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
1853
	if DIST > 9999 then
1854
		DIST = 9999
1855
	end
1856
	local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)	
1857
	local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
1858
	if HITFLOOR then
1859
		local POS = HITPOS	
1860
		ATTACK = true
1861
		Rooted = false
1862
		local WARPED = false
1863
		local SMASHED = false
1864
		local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1865
		coroutine.resume(coroutine.create(function()
1866
			repeat
1867
				Swait()
1868
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1869
				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)
1870
				RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1871
				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)
1872
				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)
1873
				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)
1874
			until WARPED == true
1875
			repeat
1876
				Swait()
1877
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1878
				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)
1879
				RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1880
				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)
1881
				RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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)
1882
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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)
1883
			until SMASHED == true
1884
			repeat
1885
				Swait()
1886
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
1887
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
1888
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1889
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1890
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
1891
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1892
			until ATTACK == false
1893
		end))
1894
		VALUE1 = true
1895
		CreateSound(233856115, Torso, 5, 1.6, false)
1896
		chatfunc("This hurt more than you think")
1897
		for i = 1, 25 do
1898
			Swait()
1899
			for _, c in pairs(Character:GetChildren()) do
1900
				if c.ClassName == "Part" then
1901
					c.Transparency = c.Transparency + 1/25
1902
				end
1903
			end
1904
			for _, c in pairs(Weapon:GetChildren()) do
1905
				if c.ClassName == "Part" then
1906
					c.Transparency = c.Transparency + 1/25
1907
				end
1908
			end
1909
		end
1910
		UNANCHOR = false
1911
		RootPart.Anchored = true
1912
		RootPart.Velocity = VT(0,0,0)
1913
		local ROOTPOS = RootPart.Position
1914
		RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
1915
		WARPED = true
1916
		for i = 1, 25 do
1917
			Swait()
1918
			for _, c in pairs(Character:GetChildren()) do
1919
				if c.ClassName == "Part" then
1920
					c.Transparency = c.Transparency - 1/25
1921
				end
1922
			end
1923
			for _, c in pairs(Weapon:GetChildren()) do
1924
				if c.ClassName == "Part" then
1925
					c.Transparency = c.Transparency - 1/25
1926
				end
1927
			end
1928
		end
1929
		local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
1930
		SHELL.CFrame = RootPart.CFrame
1931
		MakeForm(SHELL,"Ball")
1932
		CreateSound(402981977, SHELL, 5, 1.6, false)
1933
		for i = 1, 10 do
1934
			Swait()
1935
			SHELL.Transparency = SHELL.Transparency - 1/10
1936
			SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
1937
		end
1938
		for i = 1, math.ceil(75/2) do
1939
			Swait()
1940
			RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
1941
			SHELL.CFrame = CF(RootPart.Position)
1942
			WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1943
		end
1944
		RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
1945
		SHELL.CFrame = CF(RootPart.Position)
1946
		WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
1947
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1948
		WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
1949
		for i = 1, 5 do
1950
			WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1951
		end
1952
		SHELL:remove()
1953
		ApplyAoE(RootPart.Position,75,35,75,175,true)
1954
		SMASHED = true
1955
		wait(1)
1956
		VALUE1 = false
1957
		UNANCHOR = true
1958
		ATTACK = false
1959
		Rooted = false
1960
	end
1961
end
1962
1963
function PandorasBox()
1964
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
1965
	if HITFLOOR ~= nil then
1966
		ATTACK = false
1967
		Rooted = false
1968
		local RINGSPIN = true
1969
		local CONSTRUCTING = true
1970
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
1971
		RING.Color = C3(0,0,0)
1972
		MakeForm(RING,"Cyl")
1973
		RING.CFrame = CF(HITPOS)
1974
		CreateSound(402981977, RING, 5, 1.2, false)
1975
		coroutine.resume(coroutine.create(function()
1976
			repeat
1977
				Swait()
1978
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1979
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1980
				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)
1981
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1982
				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)
1983
				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)
1984
				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)
1985
			until CONSTRUCTING == false
1986
			repeat 
1987
				Swait() 
1988
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1989
			until RINGSPIN == false
1990
			for i = 1, 25 do
1991
				Swait()
1992
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
1993
				RING.Size = RING.Size - VT(0.15,0,0.15)
1994
				--DECAL.Transparency = DECAL.Transparency + 1/25
1995
				RING.Transparency = RING.Transparency + 1/25
1996
			end
1997
			RING:remove()
1998
		end))
1999
		for i = 1, 15 do
2000
			Swait()
2001
			RING.Size = RING.Size + VT(0.75,0,0.75)
2002
			RING.Transparency = RING.Transparency - 1/15
2003
		end
2004
		chatfunc("let's see your prize...")
2005
		local BOXSPIN = true
2006
		local PANDORASBOX = IT("Model",Effects)
2007
		PANDORASBOX.Name = "Pandora's Box"
2008
		local BOX = IT("Model",PANDORASBOX)
2009
		BOX.Name = "Body"
2010
		local LID = IT("Model",PANDORASBOX)
2011
		LID.Name = "Lid"
2012
		--BUILDING THE BOX--
2013
			local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
2014
			BASE.Color = C3(0,0,0)
2015
			PANDORASBOX.PrimaryPart = BASE
2016
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
2017
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2018
			WOOD.CFrame = BASE.CFrame*CF(1,0,1)
2019
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2020
			WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
2021
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2022
			WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
2023
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
2024
			WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
2025
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2026
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
2027
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2028
			WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
2029
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2030
			WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
2031
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2032
			WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
2033
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2034
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
2035
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2036
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
2037
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2038
			WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
2039
			local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2040
			WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
2041
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
2042
			WOOD.CFrame = BASE.CFrame*CF(0,0,1)
2043
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
2044
			WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
2045
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
2046
			WOOD.CFrame = BASE.CFrame*CF(1,0,0)
2047
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
2048
			WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
2049
			local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
2050
			WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
2051
			-------------
2052
			local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
2053
			LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
2054
			LID.PrimaryPart = LIDPART
2055
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2056
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
2057
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
2058
			WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
2059
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2060
			WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
2061
			local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
2062
			WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
2063
			local DECAL = IT("Decal",LIDPART)
2064
			DECAL.Face = "Top"
2065
			DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
2066
			DECAL.Color3 = C3(0,0,0)
2067
		--BUILDING THE BOX--
2068
		coroutine.resume(coroutine.create(function()
2069
			repeat
2070
				Swait()
2071
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
2072
			until BOXSPIN == false
2073
		end))
2074
		for i = 1, 25 do
2075
			Swait()
2076
			PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
2077
		end
2078
		wait(0.5)
2079
		BOXSPIN = false
2080
		CONSTRUCTING = false	
2081
		coroutine.resume(coroutine.create(function()
2082
			WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
2083
			--[[for i = 1, 45 do
2084
				Swait()
2085
				LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
2086
			end-
2087
			LID:remove()]]--
2088
			for _, c in pairs(LID:GetChildren()) do
2089
				if c.ClassName == "Part" then
2090
					c.Anchored = false
2091
					c.CanCollide = true
2092
					if c ~= LIDPART then
2093
						weldBetween(LIDPART,c)
2094
					end
2095
				end
2096
			end
2097
			LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
2098
			Debris:AddItem(LID,15)
2099
			wait(0.5)
2100
			local RANDOMEFFECT = MRANDOM(1,4)
2101
			if RANDOMEFFECT == 1 then
2102
				for i = 1, 45 do
2103
					wait((2-(i/15))/15)
2104
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
2105
				end	
2106
				wait(1)
2107
				WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
2108
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
2109
				WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
2110
				for i = 1, 5 do
2111
					WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.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(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2112
				end
2113
				ApplyAoE(BASE.Position,50,1,200,375,true)
2114
				ApplyAoE(BASE.Position,250,35,75,175,true)
2115
			elseif RANDOMEFFECT == 2 then
2116
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2117
				FIELD.CFrame = BASE.CFrame
2118
				MakeForm(FIELD,"Ball")
2119
				for i = 1, 50 do
2120
					Swait()
2121
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2122
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2123
				end
2124
				wait(0.2)
2125
				local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
2126
				coroutine.resume(coroutine.create(function()
2127
					for i = 1, 75 do
2128
						Swait()
2129
						LOOP.Volume = LOOP.Volume + 10/75
2130
						LOOP.Parent = FIELD
2131
						local CHILDREN = workspace:GetDescendants()
2132
						for index, CHILD in pairs(CHILDREN) do
2133
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2134
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2135
								if HUM then
2136
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2137
									if TORSO then
2138
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2139
											HUM.Health = HUM.Health - 1.5
2140
											TORSO.Velocity = VT(0,5,0)
2141
											HUM.PlatformStand = true
2142
											if TORSO.RotVelocity.Magnitude < 15 then
2143
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2144
											end
2145
										end
2146
									end
2147
								end
2148
							end
2149
						end
2150
						FIELD.Size = FIELD.Size + VT(9,9,9)
2151
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2152
					end
2153
					for i = 1, 500 do
2154
						Swait()
2155
						LOOP.Parent = FIELD
2156
						local CHILDREN = workspace:GetDescendants()
2157
						for index, CHILD in pairs(CHILDREN) do
2158
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2159
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2160
								if HUM then
2161
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2162
									if TORSO then
2163
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2164
											TORSO.Velocity = VT(0,5,0)
2165
											HUM.Health = HUM.Health - 1.5
2166
											HUM.PlatformStand = true
2167
											if TORSO.RotVelocity.Magnitude < 15 then
2168
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2169
											end
2170
										end
2171
									end
2172
								end
2173
							end
2174
						end
2175
					end
2176
					for i = 1, 25 do
2177
						Swait()
2178
						LOOP.Volume = LOOP.Volume + 10/25
2179
						LOOP.Parent = FIELD
2180
						local CHILDREN = workspace:GetDescendants()
2181
						for index, CHILD in pairs(CHILDREN) do
2182
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2183
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2184
								if HUM then
2185
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2186
									if TORSO then
2187
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2188
											TORSO.Velocity = VT(0,5,0)
2189
											HUM.Health = HUM.Health - 1.5
2190
											HUM.PlatformStand = false
2191
											if TORSO.RotVelocity.Magnitude < 15 then
2192
										 		TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
2193
											end
2194
										end
2195
									end
2196
								end
2197
							end
2198
						end
2199
						FIELD.Size = FIELD.Size - VT(3,3,3)
2200
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2201
					end	
2202
					FIELD:remove()
2203
				end))
2204
			elseif RANDOMEFFECT == 3 then
2205
				for i = 1, 10 do
2206
					wait(0.15)
2207
					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
2208
					coroutine.resume(coroutine.create(function()
2209
						local MINION = CLONE:Clone()
2210
						MINION.Parent = Effects
2211
						MINION.Name = "Shadow"
2212
						MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
2213
						MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
2214
						for _, c in pairs(MINION:GetChildren()) do
2215
							if c.ClassName == "Part" then
2216
								c.Material = "Neon"
2217
								c.Color = C3(0,0,0)
2218
								c.Transparency = 0.25
2219
								if c.Name == "Head" then
2220
									c:ClearAllChildren()
2221
									local MSH = IT("BlockMesh",c)
2222
									MSH.Scale = VT(0.5,1,1)
2223
								end
2224
							end
2225
						end
2226
						local TORSO = MINION.Torso
2227
						local HUMAN = MINION.Humanoid
2228
						HUMAN.WalkSpeed = 20
2229
						HUMAN.MaxHealth = math.huge
2230
						HUMAN.Health = math.huge
2231
						HUMAN.DisplayDistanceType = "None"
2232
						HUMAN.Died:connect(function()
2233
							MINION:remove()
2234
							--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
2235
						end)
2236
						wait(1)
2237
						local findNearestTorso = function(POS)
2238
							local list = game.Workspace:GetDescendants()
2239
							local torso = nil
2240
							local dist = 500
2241
							local temp = nil
2242
							local human = nil
2243
							local temp2 = nil
2244
							for x = 1, #list do
2245
								temp2 = list[x]
2246
								if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
2247
									temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
2248
									human = temp2:findFirstChildOfClass("Humanoid")
2249
									if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
2250
										if (temp.Position - POS).magnitude < dist then
2251
											torso = temp
2252
											dist = (temp.Position - POS).magnitude
2253
										end
2254
									end
2255
								end
2256
							end
2257
							return torso, dist
2258
						end
2259
						for i = 1, 40 do
2260
							if HUMAN.Health == 0 then
2261
								break
2262
							end
2263
							wait(0.3)
2264
							local target,dist= findNearestTorso(TORSO.Position)
2265
							if target then
2266
								HUMAN:MoveTo(target.Position)
2267
								if dist < 25 then
2268
									CreateSound(348663022, TORSO, 10, 1, true)
2269
									wait(2)
2270
									--local ANIM = HUMAN:LoadAnimation(ATANIM)
2271
									--ANIM:Play()
2272
									--CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
2273
									ApplyAoE(TORSO.Position,10,0,0,85,true)
2274
									WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
2275
									for i = 1, 5 do
2276
										WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2277
									end
2278
									break
2279
								end
2280
							end
2281
						end
2282
						MINION:remove()
2283
					end))
2284
				end
2285
			elseif RANDOMEFFECT == 4 then
2286
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2287
				FIELD.Color = C3(0,0,0)
2288
				FIELD.CFrame = BASE.CFrame
2289
				MakeForm(FIELD,"Ball")
2290
				FIELD.CanCollide = true
2291
				for i = 1, 50 do
2292
					Swait()
2293
					FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
2294
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2295
				end
2296
				wait(0.2)
2297
				local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
2298
				coroutine.resume(coroutine.create(function()
2299
					local E = 0
2300
					for i = 1, 75 do
2301
						E = E + 1
2302
						Swait()
2303
						if E >= 35 then
2304
							E = 0
2305
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2306
						end
2307
						LOOP.Volume = LOOP.Volume + 10/75
2308
						LOOP.Parent = FIELD
2309
						local CHILDREN = workspace:GetDescendants()
2310
						for index, CHILD in pairs(CHILDREN) do
2311
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2312
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2313
								if HUM then
2314
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2315
									if TORSO then
2316
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2317
											for _, c in pairs(CHILD:GetChildren()) do
2318
												if c:IsA("BasePart") then
2319
													local bv = Instance.new("BodyVelocity") 
2320
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2321
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2322
													bv.Parent = c
2323
													Debris:AddItem(bv,0.05)
2324
												end
2325
											end
2326
											HUM.Health = HUM.Health - 0.3
2327
										end
2328
									end
2329
								end
2330
							end
2331
						end
2332
						FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
2333
					end
2334
					for i = 1, 180 do
2335
						E = E + 1
2336
						Swait()
2337
						if E >= 35 then
2338
							E = 0
2339
							WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
2340
						end
2341
						LOOP.Parent = FIELD
2342
						local CHILDREN = workspace:GetDescendants()
2343
						for index, CHILD in pairs(CHILDREN) do
2344
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2345
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2346
								if HUM then
2347
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2348
									if TORSO then
2349
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
2350
											for _, c in pairs(CHILD:GetChildren()) do
2351
												if c:IsA("BasePart") then
2352
													local bv = Instance.new("BodyVelocity") 
2353
													bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2354
													bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
2355
													bv.Parent = c
2356
													Debris:AddItem(bv,0.05)
2357
												end
2358
											end
2359
											HUM.Health = HUM.Health - 0.3
2360
										end
2361
									end
2362
								end
2363
							end
2364
						end
2365
					end
2366
					ApplyAoE(FIELD.Position,40,15,20,375,true)
2367
					WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
2368
					for i = 1, 5 do
2369
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.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(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
2370
					end
2371
					FIELD:remove()
2372
				end))
2373
			elseif RANDOMEFFECT == 5 then
2374
			end
2375
			wait(0.5)
2376
			for i = 1, 25 do
2377
				Swait()
2378
				PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
2379
			end
2380
			PANDORASBOX:remove()
2381
			RINGSPIN = false
2382
		end))
2383
		ATTACK = false
2384
		Rooted = false
2385
	end
2386
end
2387
2388
function TimeStop ()
2389
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2390
	CHOICE = 6
2391
	CreateSound(1193182658, Character, 5, 1, false)
2392
	chatfunc ("Za warudo...")
2393
     back = CreateSound(1841228386, Character, 9999, 1, false)
2394
	local killsky = Instance.new('Sky', game:GetService'Lighting')
2395
killsky.SkyboxBk = "rbxassetid://1013852"
2396
killsky.SkyboxDn = "rbxassetid://1013853"
2397
killsky.SkyboxFt = "rbxassetid://1013850"
2398
killsky.SkyboxLf = "rbxassetid://1013851"
2399
killsky.SkyboxRt = "rbxassetid://1013849"
2400
killsky.SkyboxUp = "rbxassetid://1013854"
2401
killsky.StarCount = 0
2402
killsky.SunAngularSize = 0
2403
killsky.MoonAngularSize = 0
2404
killsky.MoonTextureId = ""
2405
killsky.CelestialBodiesShown = false
2406
game.Lighting.FogColor = Color3.new(1,1,0)
2407
game.Lighting.FogEnd = 1400
2408
	if HITFLOOR ~= nil then
2409
		ATTACK = false
2410
		Rooted = false
2411
		local RINGSPIN = true
2412
		local CONSTRUCTING = true
2413
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
2414
		RING.Color = C3(0,0,0)
2415
		MakeForm(RING,"Cyl")
2416
		RING.CFrame = CF(HITPOS)
2417
		coroutine.resume(coroutine.create(function()
2418
			repeat
2419
				Swait()
2420
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2421
			until CONSTRUCTING == false
2422
			repeat 
2423
				Swait() 
2424
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2425
			until RINGSPIN == false
2426
			for i = 1, 25 do
2427
				Swait()
2428
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
2429
				RING.Size = RING.Size - VT(0.15,0,0.15)
2430
				--DECAL.Transparency = DECAL.Transparency + 1/25
2431
				RING.Transparency = RING.Transparency + 1/25
2432
			end
2433
			RING:remove()
2434
		end))
2435
		for i = 1, 15 do
2436
			Swait()
2437
			RING.Size = RING.Size + VT(0,0,0)
2438
			RING.Transparency = RING.Transparency - 1/15
2439
		end
2440
		end
2441
	local RANDOMEFFECT = MRANDOM(1)
2442
	local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
2443
			BASE.Color = C3(0,0,0)
2444
			BASE.Transparency = 1
2445
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
2446
	if RANDOMEFFECT == 1 then
2447
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2448
				FIELD.CFrame = BASE.CFrame
2449
				MakeForm(FIELD,"Ball")
2450
				for i = 1, 50 do
2451
					Swait()
2452
					FIELD.Size = VT(0,0,0)
2453
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
2454
				end
2455
				end
2456
				wait(0.2)
2457
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
2458
				FIELD.CFrame = BASE.CFrame
2459
				local LOOP = CreateSound(1393698948, Character, 0, 1, true)
2460
				coroutine.resume(coroutine.create(function()
2461
					for i = 1, 75 do
2462
						Swait()
2463
						LOOP.Volume = LOOP.Volume + 10/75
2464
						LOOP.Parent = FIELD
2465
						local CHILDREN = workspace:GetDescendants()
2466
						for index, CHILD in pairs(CHILDREN) do
2467
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2468
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2469
								if HUM then
2470
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2471
									if TORSO then
2472
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2473
											HUM.Health = HUM.Health - 0
2474
											TORSO.Velocity = VT(0,5,0)
2475
											HUM.PlatformStand = true
2476
											if TORSO.RotVelocity.Magnitude < 15 then
2477
										 		TORSO.Anchored = true
2478
											end
2479
										end
2480
									end
2481
								end
2482
							end
2483
						end
2484
						FIELD.Size = FIELD.Size + VT(90,90,90)
2485
						FIELD.Transparency = FIELD.Transparency + 0.8/75
2486
					end
2487
				for i = 1, 500 do
2488
						Swait()
2489
						LOOP.Parent = FIELD
2490
						local CHILDREN = workspace:GetDescendants()
2491
						for index, CHILD in pairs(CHILDREN) do
2492
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2493
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2494
								if HUM then
2495
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2496
									if TORSO then
2497
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
2498
											TORSO.Velocity = VT(0,5,0)
2499
											HUM.Health = HUM.Health - 0
2500
											HUM.PlatformStand = true
2501
											if TORSO.RotVelocity.Magnitude < 15 then
2502
										 		TORSO.Anchored = true
2503
											end
2504
										end
2505
									end
2506
								end
2507
							end
2508
						end
2509
					end
2510
 wait (20)
2511
back:Remove()
2512
		CreateSound(1538466750, Character, 99999, 1, false)
2513
		chatfunc ("the time rusume")
2514
		killsky:Remove()
2515
		game.Lighting.FogEnd = 90000000
2516
		wait (5)
2517
		CHOICE = MRANDOM (1,5)
2518
					for i = 1, 25 do
2519
						Swait()
2520
						LOOP.Volume = LOOP.Volume + 10/25
2521
						LOOP.Parent = FIELD
2522
						local CHILDREN = workspace:GetDescendants()
2523
						for index, CHILD in pairs(CHILDREN) do
2524
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
2525
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2526
								if HUM then
2527
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2528
									if TORSO then
2529
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
2530
											TORSO.Velocity = VT(0,5,0)
2531
											HUM.Health = HUM.Health - 0
2532
											HUM.PlatformStand = false
2533
											if TORSO.RotVelocity.Magnitude < 15 then
2534
										 		TORSO.Anchored = false
2535
										end
2536
									end
2537
								end
2538
							end
2539
						end
2540
						FIELD.Size = FIELD.Size - VT(3,3,3)
2541
						FIELD.Transparency = FIELD.Transparency + 0.2/25
2542
						     end
2543
						end
2544
				end))	
2545
				FIELD:Remove()
2546
           ATTACK = false
2547
		Rooted = false
2548
	end
2549
2550
				
2551
function Taunt()
2552
	ATTACK = true
2553
	local LAUGH = nil
2554
	coroutine.resume(coroutine.create(function()
2555
		repeat
2556
			Swait()
2557
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2558
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2559
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2560
			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)
2561
			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)
2562
			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)
2563
		until LAUGH ~= nil
2564
		repeat
2565
			Swait()
2566
			LAUGH.Parent = Head
2567
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
2568
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
2569
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2570
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2571
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
2572
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
2573
		until LAUGH.Playing == false
2574
	ATTACK = false
2575
	end))
2576
	wait(0.1)
2577
	CHOICE = 6
2578
	chatfunc("I HATE YOU...")
2579
	LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
2580
	wait(1.5)
2581
	CHOICE = MRANDOM (1,5)
2582
end
2583
2584
--//=================================\\
2585
--||	  ASSIGN THINGS TO KEYS
2586
--\\=================================//
2587
2588
function MouseDown(Mouse)
2589
	HOLD = true
2590
	if ATTACK == false then
2591
	end
2592
end
2593
2594
function MouseUp(Mouse)
2595
HOLD = false
2596
end
2597
2598
function KeyDown(Key)
2599
	KEYHOLD = true
2600
	if Key == "z" and ATTACK == false then
2601
		MagicMissiles()
2602
	end
2603
2604
	if Key == "b" and ATTACK == false then
2605
		TimesUp()
2606
	end
2607
2608
	if Key == "c" and ATTACK == false then
2609
		ChainPunch()
2610
	end
2611
2612
	if Key == "v" and ATTACK == false then
2613
		WarpMeteor()
2614
	end
2615
2616
	if Key == "x" and ATTACK == false then
2617
		PandorasBox()
2618
	end
2619
	
2620
	if Key == "g" and ATTACK == false then
2621
		TimeStop()
2622
	end
2623
2624
	if Key == "t" and ATTACK == false then
2625
		Taunt()
2626
		elseif Key == "1" and ATTACK == false then
2627
			if CHOICE ~= 1 then
2628
				CHOICE = 1
2629
				sick:Play()
2630
				chatfunc("original song")
2631
			end
2632
		elseif Key == "2" and ATTACK == false then
2633
			if CHOICE ~= 2 then
2634
				CHOICE = 2
2635
				sick:Play()
2636
				chatfunc("no comments...")
2637
			end
2638
		elseif Key == "3" and ATTACK == false then
2639
			if CHOICE ~= 3 then
2640
				CHOICE = 3
2641
				sick:Play()
2642
				chatfunc("Now the fight really begins...")
2643
				tecks2.Color = Color3.new (255,0,0)
2644
			end
2645
		elseif Key == "4" and ATTACK == false then
2646
			if CHOICE ~= 4 then
2647
				CHOICE = 4
2648
				sick:Play()
2649
				chatfunc("Just let me relax a little")
2650
			end	
2651
				elseif Key == "5" and ATTACK == false then
2652
			if CHOICE ~= 5 then
2653
				CHOICE = 5
2654
				sick:Play()
2655
				chatfunc("Why not this sound, i like it")
2656
			end
2657
		elseif Key == "6" and ATTACK == false then
2658
			if CHOICE ~= 6 then
2659
				CHOICE = 6
2660
				sick:Play()
2661
				chatfunc("music off")
2662
			end
2663
	end
2664
end
2665
2666
function KeyUp(Key)
2667
	KEYHOLD = false
2668
end
2669
2670
	Mouse.Button1Down:connect(function(NEWKEY)
2671
		MouseDown(NEWKEY)
2672
	end)
2673
	Mouse.Button1Up:connect(function(NEWKEY)
2674
		MouseUp(NEWKEY)
2675
	end)
2676
	Mouse.KeyDown:connect(function(NEWKEY)
2677
		KeyDown(NEWKEY)
2678
	end)
2679
	Mouse.KeyUp:connect(function(NEWKEY)
2680
		KeyUp(NEWKEY)
2681
	end)
2682
2683
--//=================================\\
2684
--\\=================================//
2685
2686
2687
function unanchor()
2688
	if UNANCHOR == true then
2689
		RootPart.Anchored = false
2690
	end
2691
	g = Character:GetChildren()
2692
	for i = 1, #g do
2693
		if g[i].ClassName == "Part" and g[i] ~= RootPart then
2694
			g[i].Anchored = false
2695
		end
2696
	end
2697
	g = Weapon:GetChildren()
2698
	for i = 1, #g do
2699
		if g[i].ClassName == "Part" then
2700
			g[i].Anchored = false
2701
		end
2702
	end
2703
end
2704
2705
2706
--//=================================\\
2707
--||	WRAP THE WHOLE SCRIPT UP
2708
--\\=================================//
2709
2710
Humanoid.Changed:connect(function(Jump)
2711
	if Jump == "Jump" and (Disable_Jump == true) then
2712
		Humanoid.Jump = false
2713
	end
2714
end)
2715
2716
while true do
2717
	Swait()
2718
           refit()
2719
	script.Parent = WEAPONGUI
2720
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2721
	    v:Stop();
2722
	end
2723
	ANIMATE.Parent = nil
2724
	SINE = SINE + CHANGE*1.5
2725
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2726
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2727
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2728
	local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
2729
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2730
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2731
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * 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)
2732
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2733
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2734
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2735
	end
2736
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2737
		ANIM = "Jump"
2738
		if ATTACK == false then
2739
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2740
			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)
2741
			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)
2742
			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)
2743
			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)
2744
			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)
2745
	    end
2746
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2747
		ANIM = "Fall"
2748
		if ATTACK == false then
2749
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2750
			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)
2751
			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)
2752
			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)
2753
			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)
2754
			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)
2755
		end
2756
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2757
		ANIM = "Idle"
2758
		if ATTACK == false then
2759
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2760
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2761
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2762
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2763
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2764
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2765
			end
2766
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2767
		ANIM = "Walk"
2768
		if ATTACK == false then
2769
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2770
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2771
			RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2772
			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)
2773
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2774
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2775
		end
2776
	end
2777
	unanchor()
2778
	Humanoid.MaxHealth = "inf"
2779
	Humanoid.Health = "inf"
2780
	if Rooted == false then
2781
		Disable_Jump = false
2782
		Humanoid.WalkSpeed = Speed
2783
	elseif Rooted == true then
2784
		Disable_Jump = true
2785
		Humanoid.WalkSpeed = 0
2786
	end
2787
	for _, c in pairs(Character:GetChildren()) do
2788
		if c.ClassName == "Part" and c.Name ~= "Detail" then
2789
			c.Material = "Fabric"
2790
			if c:FindFirstChildOfClass("ParticleEmitter") then
2791
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2792
			end
2793
			if c ~= Head then
2794
				c.Color = C3(0,0,0)
2795
			else
2796
				c.Color = C3(0,0,0)
2797
			end
2798
			if c == Head then
2799
				if c:FindFirstChild("face") then
2800
					c.face:remove()
2801
				end
2802
			end
2803
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
2804
			c:remove()
2805
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2806
			c:remove()
2807
		end
2808
	end
2809
	sick.SoundId = "rbxassetid://"..bored[CHOICE]
2810
	sick.Looped = true
2811
	sick.Pitch = 1
2812
	sick.Volume = 999999
2813
	sick.Parent = Character
2814
	sick:Resume()
2815
	--sick.Playing = false
2816
	Humanoid.Name = "Master of Time = "..Player.Name
2817
end
2818
2819
--//=================================\\
2820
--\\=================================//
2821
2822
2823
2824
2825
2826
--//====================================================\\--
2827
--||			  		 END OF SCRIPT
2828
--\\====================================================//--