View difference between Paste ID: yddVP4zv and JkT7gk5D
SHOW: | | - or go back to the newest paste.
1
2-
script.Name = "Banisher Gun V3 / 1"
2+
3
local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))()
4-
--||			   CREATED BY SHACKLUSTER               ||--
4+
5-
--||               EDITED BY EBICGAMERMOLMENT           ||--
5+
6-
--\\====================================================//--
6+
FEService:FullNetwork()  
7
8-
wait(0.2)
8+
print(game.Players.LocalPlayer.SimulationRadius)
9
--[[
10
Paid:
11
https://www.roblox.com/catalog/14255556501/Extra-Right-White-Arm
12
https://www.roblox.com/catalog/14255554762/Extra-Left-White-Arm
13
https://www.roblox.com/catalog/14768693948/White-Extended-Right-Arm
14
https://www.roblox.com/catalog/14768701869/White-Extended-Left-Arm 
15
https://www.roblox.com/catalog/14255528083/Torso-Extension
16
or
17
https://www.roblox.com/catalog/13779879140/Black-Fluffy-Fur-Body
18
(ANYTHING CAN BE USED FOR THE TORSO SUCH AS A VEST.)
19
20
Paid (2):
21
https://www.roblox.com/catalog/11159410305/Rectangle-Head-For-Headless
22
https://www.roblox.com/catalog/11263254795/Dummy-Head-For-Headless
23
https://www.roblox.com/catalog/12344545199/Extra-Left-hand-moving-Blocky-white
24
https://www.roblox.com/catalog/12344591101/Extra-Right-hand-moving-Blocky-white
25
https://www.roblox.com/catalog/14255528083/Torso-Extension
26
or
27
https://www.roblox.com/catalog/13779879140/Black-Fluffy-Fur-Body
28
(ANYTHING CAN BE USED FOR THE TORSO SUCH AS A VEST.)
29
30
Free:
31
https://www.roblox.com/catalog/3033908130/International-Fedora-France
32
https://www.roblox.com/catalog/3033910400/International-Fedora-Germany
33
https://www.roblox.com/catalog/3409612660/International-Fedora-USA
34
https://www.roblox.com/catalog/3398308134/International-Fedora-Canada
35
https://www.roblox.com/catalog/4819740796/Robox
36
37
Weapons:
38
https://www.roblox.com/catalog/13760686814/Classic-MARKA-17M-Valkan-Left
39
]]--
40
41
game:GetService("StarterGui"):SetCore("SendNotification", { 
42
	Title = "Melon's (FE) Scripts";
43
	Text = "Have fun!";
44
	Icon = "rbxthumb://type=Asset&id=13446503788&w=150&h=150"})
45
Duration = 16;
46
47
if not game:IsLoaded() then
48
	game.Loaded:Wait()
49
end
50
51
local function FindInstance(Parent, ClassName, Name)
52
	for _, Instance in pairs(Parent:GetChildren()) do
53
		if Instance:IsA(ClassName) and Instance.Name == Name then
54
			return Instance
55
		end
56
	end
57
end
58
59
local function WaitForClass(Parent, ClassName)
60
	local Instance = Parent:FindFirstChildOfClass(ClassName)
61
62
	while not Instance and Parent do
63
		Parent.ChildAdded:Wait()
64
		Instance = Parent:FindFirstChildOfClass(ClassName)
65
	end
66
67
	return Instance
68
end
69
70
local function WaitForClassOfName(Parent, ...)
71
	local Instance = FindInstance(Parent, ...)
72
73
	while not Instance and Parent do
74
		Parent.ChildAdded:Wait()
75
		Instance = FindInstance(Parent, ...)
76
	end
77
78
	return Instance
79
end
80
81
local Fling = { }
82
local Aligns = { }
83
local Blacklist = { }
84
local Accessories = { }
85
local Attachments = { }
86
87
local Instancenew = Instance.new
88
89
local taskwait = task.wait
90
local taskspawn = task.spawn
91
local taskdefer = task.defer
92
93
local mathabs = math.abs
94
local mathcos = math.cos
95
local mathrandom = math.random
96
97
local stringmatch = string.match
98
99
local osclock = os.clock
100
101
local tableinsert = table.insert
102
local tableclear = table.clear
103
local tablefind = table.find
104
105
local CFramenew = CFrame.new
106
local CFrameAngles = CFrame.Angles
107
local CFrameidentity = CFrame.identity
108
109
local Vector3new = Vector3.new
110
local Vector3zero = Vector3.zero
111
112
local Sleep = CFrameidentity
113
local Velocity = Vector3new(0, 16384, 0)
114
local Angular = 0
115
local Linear = 0
116
117
local Workspace = game:FindFirstChildOfClass("Workspace")
118
local CurrentCamera = Workspace.CurrentCamera
119
120
local Players = game:FindFirstChildOfClass("Players")
121
122
local LocalPlayer = Players.LocalPlayer
123
local Mouse = LocalPlayer:GetMouse()
124
125
local PostSimulation = game:FindFirstChildOfClass("RunService").PostSimulation
126
127
local Character = LocalPlayer.Character
128
local CharacterClone = Instancenew("Model")
129
 
130
local StarterGui = game:FindFirstChildOfClass("StarterGui")
131
local BindableEvent = Instancenew("BindableEvent")
132
133
local UserInputService = game:FindFirstChildOfClass("UserInputService")
134
local UserInputType = Enum.UserInputType
135
136
local MouseButton1 = UserInputType.MouseButton1
137
local Touch = UserInputType.Touch
138
139
local InputBegan = UserInputService.InputBegan:Connect(function(Input, GameProcessed)
140
	local Type = Input.UserInputType
141
	
142
	if not GameProcessed and ( Type == MouseButton1 or Type == Touch ) then
143
		local Target = Mouse.Target
144
		if Target and not Target.Anchored and not Target:IsDescendantOf(CharacterClone) and not Target:IsDescendantOf(Character) and not tablefind(Fling, Target) then
145
			local Parent = Target.Parent
146
147
			if Parent:IsA("Model") and Parent ~= Character and Parent:FindFirstChildOfClass("Humanoid") then
148
				local HumanoidRootPart = FindInstance(Parent, "BasePart", "HumanoidRootPart") or FindInstance(Parent, "BasePart", "Torso") or FindInstance(Parent, "BasePart", "Head")
149
150
				if HumanoidRootPart and not tablefind(Fling, HumanoidRootPart) then
151
					tableinsert(Fling, HumanoidRootPart)
152
					return
153
				end
154
			end
155
156
			tableinsert(Fling, Target)
157
		end
158
	end
159
end)
160
161
local function Part(Name, Size)
162
	local Part = Instancenew("Part")
163-
ArtificialHB = Instance.new("BindableEvent", script)
163+
	Part.Name = Name
164-
ArtificialHB.Name = "ArtificialHB"
164+
	Part.Size = Size
165
	Part.Transparency = 1
166-
script:WaitForChild("ArtificialHB")
166+
	Part.Parent = CharacterClone
167
168-
frame = Frame_Speed
168+
	return Part
169-
tf = 0
169+
170-
allowframeloss = false
170+
171-
tossremainder = false
171+
local function Motor6D(Name, Part0, Part1, C0, C1)
172-
lastframe = tick()
172+
	local Motor6D = Instancenew("Motor6D")
173-
script.ArtificialHB:Fire()
173+
	Motor6D.Name = Name
174
	Motor6D.Part0 = Part0
175-
game:GetService("RunService").Heartbeat:connect(function(s, p)
175+
	Motor6D.Part1 = Part1
176-
	tf = tf + s
176+
	Motor6D.C0 = C0
177-
	if tf >= frame then
177+
	Motor6D.C1 = C1
178-
		if allowframeloss then
178+
	Motor6D.Parent = Part0
179-
			script.ArtificialHB:Fire()
179+
180-
			lastframe = tick()
180+
	return Motor6D
181
end
182-
			for i = 1, math.floor(tf / frame) do
182+
183-
				script.ArtificialHB:Fire()
183+
local function Attachment(Name, CFrame, Parent)
184
	local Attachment = Instancenew("Attachment")
185-
		lastframe = tick()
185+
	Attachment.Name = Name
186
	Attachment.CFrame = CFrame
187-
		if tossremainder then
187+
	Attachment.Parent = Parent
188-
			tf = 0
188+
189
	tableinsert(Attachments, Attachment)
190-
			tf = tf - frame * math.floor(tf / frame)
190+
	return Attachment
191
end
192
193
local LimbSize = Vector3new(1, 2, 1)
194
local TorsoSize = Vector3new(2, 2, 1)
195
196
local Head = Part("Head", Vector3new(2, 1, 1))
197
local Torso = Part("Torso", TorsoSize)
198
local LeftArm = Part("Left Arm", LimbSize)
199
local RightArm = Part("Right Arm", LimbSize)
200
local LeftLeg = Part("Left Leg", LimbSize)
201
local RightLeg = Part("Right Leg", LimbSize)
202
local HumanoidRootPart = Part("HumanoidRootPart", TorsoSize)
203
204
local FakeRA = Instance.new("Part")
205
FakeRA.Size = Vector3.new(1,2,1)
206
FakeRA.Transparency = 1
207
FakeRA.BrickColor = BrickColor.new("Institutional White")
208
FakeRA.Parent = RightArm
209
210
local FRAW = Instance.new("Weld")
211
FRAW.Part0 = RightArm
212
FRAW.Part1 = FakeRA
213
FRAW.C0 = CFrame.new(0, 0, 0)
214
FRAW.Parent = RightArm
215
216
local FakeLA = Instance.new("Part")
217
FakeLA.Size = Vector3.new(1,2,1)
218
FakeLA.Transparency = 1
219
FakeLA.BrickColor = BrickColor.new("Institutional White")
220
FakeLA.Parent = LeftArm
221
222
local FLAW = Instance.new("Weld")
223
FLAW.Part0 = LeftArm
224
FLAW.Part1 = FakeLA
225
FLAW.C0 = CFrame.new(0, 0, 0)
226
FLAW.Parent = LeftArm
227
228
local Part = nil
229
230
if Character then
231
	Part = FindInstance(Character, "BasePart", "HumanoidRootPart") or FindInstance(Character, "BasePart", "Head") or FindInstance(Character, "BasePart", "Torso") or FindInstance(Character, "BasePart", "UpperTorso")
232
end
233
234
if Part then
235
	HumanoidRootPart.CFrame = Part.CFrame
236
else
237
	local SpawnLocations = { }
238
239
	for _, SpawnLocation in pairs(Workspace:GetDescendants()) do
240
		if SpawnLocation:IsA("SpawnLocation") then
241
			tableinsert(SpawnLocations, SpawnLocation)
242
		end
243
	end
244
245
	local Amount = # SpawnLocations
246
247
	if Amount > 0 then
248
		local SpawnLocation = SpawnLocations[mathrandom(1, Amount)]
249
		HumanoidRootPart.CFrame = SpawnLocation.CFrame * CFramenew(0, SpawnLocation.Size.Y / 2 + 3, 0)
250
	else
251
		HumanoidRootPart.CFrame = CFrameidentity
252
	end
253
end
254
255
local face = Instancenew("Decal")
256
face.Name = "face"
257
face.Parent = Head
258
259
local AccessoryTable = { 
260
     -- Paid --
261
	{ Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
262
	{ Mesh = "14255522247", Texture = "14255543546", Instance = RightArm, CFrame = CFrameAngles(0, 1.57, 1.57) },
263
	{ Mesh = "14255522247", Texture = "14255543546", Instance = LeftArm, CFrame = CFrameAngles(0, - 1.57, 1.57) },
264
	{ Mesh = "14768684979", Texture = "14768683674", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
265
	{ Mesh = "14768684979", Texture = "14768683674", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
266
	
267
	-- Paid (2) --
268
	{ Mesh = "14241018198", Texture = "14251599953", Instance = Torso },
269
	{ Mesh = "12344206657", Texture = "12344206675", Instance = RightArm, CFrame = CFrameAngles(-115, 0, 0) },
270
	{ Mesh = "12344207333", Texture = "12344207341", Instance = LeftArm, CFrame = CFrameAngles(-115, 0, 0) },
271
	{ Mesh = "11159370334", Texture = "11159284657", Instance = RightLeg, CFrame = CFrameAngles(0, - 1.57, 1.57) },
272
	{ Mesh = "11263221350", Texture = "11263219250", Instance = LeftLeg, CFrame = CFrameAngles(0, 1.57, 1.57) },
273
	
274
	-- Free --
275
	{ Mesh = "4819720316", Texture = "4819722776", Instance = Torso, CFrame = CFrameAngles(0, 0, 105) },
276
	{ Mesh = "3030546036", Texture = "3033903209", Instance = RightArm, CFrame = CFrameAngles(-90, 0, -89.5) },
277
	{ Mesh = "3030546036", Texture = "3360978739", Instance = LeftArm, CFrame = CFrameAngles(-90, 0, 89.5) },
278
	{ Mesh = "3030546036", Texture = "3409604993", Instance = RightLeg, CFrame = CFrameAngles(-90, 0, -89.5) },
279
	{ Mesh = "3030546036", Texture = "3033898741", Instance = LeftLeg, CFrame = CFrameAngles(-90, 0, 89.5) },
280
    
281
    -- Temporary --
282
    { Mesh = "14833036921", Texture = "14833036785", Instance = FakeRA, CFrame = CFramenew(0,-2.35, -0.80) * CFrameAngles(1.85, 0, 3.15) },
283
}
284
285
for _, Table in pairs(AccessoryTable) do
286
	if type(Table.Mesh) ~= "string" then
287
		Table.Mesh = ""
288
	end
289
	if type(Table.Texture) ~= "string" then
290
		Table.Texture = ""
291
	end
292
end
293
294
Motor6D("Right Shoulder", Torso, RightArm, CFramenew(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
295
Motor6D("Left Shoulder", Torso, LeftArm, CFramenew(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
296
Motor6D("Right Hip", Torso, RightLeg, CFramenew(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0), CFramenew(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0))
297
Motor6D("Left Hip", Torso, LeftLeg, CFramenew(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0), CFramenew(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0))
298
Motor6D("Neck", Torso, Head, CFramenew(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
299
Motor6D("RootJoint", HumanoidRootPart, Torso, CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), CFramenew(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0))
300
301
Attachment("HairAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
302
Attachment("HatAttachment", CFramenew(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
303
Attachment("FaceFrontAttachment", CFramenew(0, 0, -0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
304
Attachment("FaceCenterAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Head)
305
Attachment("NeckAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
306
Attachment("BodyFrontAttachment", CFramenew(0, 0, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
307
Attachment("BodyBackAttachment", CFramenew(0, 0, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
308
Attachment("LeftCollarAttachment", CFramenew(-1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
309
Attachment("RightCollarAttachment", CFramenew(1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
310
Attachment("WaistFrontAttachment", CFramenew(0, -1, -0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
311
Attachment("WaistCenterAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
312
Attachment("WaistBackAttachment", CFramenew(0, -1, 0.5, 1, 0, 0, 0, 1, 0, 0, 0, 1), Torso)
313
Attachment("LeftShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
314
Attachment("LeftGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftArm)
315
Attachment("RightShoulderAttachment", CFramenew(0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
316
Attachment("RightGripAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightArm)
317
Attachment("LeftFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), LeftLeg)
318
Attachment("RightFootAttachment", CFramenew(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), RightLeg)
319
Attachment("RootAttachment", CFramenew(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), HumanoidRootPart)
320
321
local Humanoid = Instancenew("Humanoid", CharacterClone)
322
Instancenew("Animator", Humanoid)
323
324
Instancenew("LocalScript", CharacterClone).Name = "Animate"
325
326
CharacterClone.PrimaryPart = Head
327
CharacterClone.Parent = Workspace
328
329
local function DescendantAdded(Instance)
330
	if Instance:IsA("Accessory") then
331
		taskspawn(function()
332
			local Handle = WaitForClassOfName(Instance, "BasePart", "Handle")
333
			local Attachment = WaitForClass(Handle, "Attachment")
334
335
			local Clone = Instance:Clone()
336
337
			local CloneHandle = FindInstance(Clone, "BasePart", "Handle")
338
			CloneHandle.Transparency = 1
339
			CloneHandle:BreakJoints()
340
341
			local AccessoryWeld = Instancenew("Weld")
342
			AccessoryWeld.Name = "AccessoryWeld"
343
			AccessoryWeld.Part0 = CloneHandle
344
			AccessoryWeld.C0 = Attachment.CFrame
345
346
			local Name = Attachment.Name
347
348
			for _, TableAttachment in pairs(Attachments) do
349
				if TableAttachment.Name == Name then
350
					AccessoryWeld.Part1 = TableAttachment.Parent
351
					AccessoryWeld.C1 = TableAttachment.CFrame
352
				end
353
			end
354
355
			AccessoryWeld.Parent = CloneHandle
356
			Clone.Parent = CharacterClone
357
358
			tableinsert(Accessories, Clone)
359
360
			local IsAMeshPart = CloneHandle:IsA("MeshPart")
361
			local Mesh = IsAMeshPart and CloneHandle or WaitForClass(CloneHandle, "SpecialMesh")
362
			local Id = IsAMeshPart and "TextureID" or "TextureId"
363
364
			for _, Table in pairs(AccessoryTable) do
365
				local Instance = Table.Instance
366
367
				if Instance then
368
					if stringmatch(Mesh.MeshId, Table.Mesh) and stringmatch(Mesh[Id], Table.Texture) and not tablefind(Blacklist, Instance) then
369
						tableinsert(Blacklist, Instance)
370
						tableinsert(Aligns, { Handle, Instance, Table.CFrame or CFrameidentity })
371
						return
372
					end
373
				end
374
			end
375
376
			tableinsert(Aligns, { Handle, CloneHandle, CFrameidentity })
377
		end)
378
	elseif Instance:IsA("JointInstance") then
379
		taskspawn(function()
380
			taskwait()
381
			Instance:Destroy()
382
		end)
383
	end
384
end
385
386
local function CharacterAdded(Character)
387
	if Character ~= CharacterClone then		
388
		PostSimulation:Wait()
389
390
		local Backpack = LocalPlayer:FindFirstChildOfClass("Backpack")
391
392
		if Backpack then
393
			Backpack:ClearAllChildren()
394
		end
395
396
		tableclear(Aligns)
397
		tableclear(Blacklist)
398
399
		for _, Accessory in pairs(Accessories) do
400
			Accessory:Destroy()
401
		end
402
403
		local CurrentCameraCFrame = CurrentCamera.CFrame
404
405
		LocalPlayer.Character = CharacterClone
406
		CurrentCamera.CameraSubject = CharacterClone.Head
407
408
		taskspawn(function()
409
			CurrentCamera:GetPropertyChangedSignal("CFrame"):Wait()
410
			CurrentCamera.CFrame = CurrentCameraCFrame
411
		end)
412
413
		local CharacterHumanoidRootPart = WaitForClassOfName(Character, "BasePart", "HumanoidRootPart")
414
415
		for Index, Value in pairs(Fling) do
416
			local BasePart = nil
417
418
			if typeof(Value) == "Instance" then 
419
				if Value:IsA("BasePart") then
420
					BasePart = Value
421
				elseif Value:IsA("Humanoid") then
422
					local Model = Value.Parent
423
424
					if Model ~= Character and Model:IsA("Model") then
425
						BasePart = FindInstance(Model, "BasePart", "HumanoidRootPart") or FindInstance(Model, "BasePart", "Head") or Model:FindFirstChildOfClass("BasePart")
426
					end
427
				elseif Value:IsA("Model") and Value ~= Character then
428
					BasePart = FindInstance(Value, "BasePart", "HumanoidRootPart") or FindInstance(Value, "BasePart", "Head") or Value:FindFirstChildOfClass("BasePart")
429
				end
430
			end
431
432
			if BasePart then
433
				local clock = osclock()
434
435
				while CharacterHumanoidRootPart and BasePart and osclock() - clock <= 1 and BasePart.AssemblyLinearVelocity.Magnitude <= 60 do
436
					CharacterHumanoidRootPart.AssemblyAngularVelocity = Velocity
437
					CharacterHumanoidRootPart.AssemblyLinearVelocity = Velocity
438
439
					CharacterHumanoidRootPart.CFrame = BasePart.CFrame + Vector3new(0, - 1, 0)
440
					PostSimulation:Wait()
441
				end
442
			end
443
		end
444
445
		tableclear(Fling)
446
447
		if CharacterHumanoidRootPart then
448
			CharacterHumanoidRootPart.AssemblyAngularVelocity = Vector3zero
449
			CharacterHumanoidRootPart.AssemblyLinearVelocity = Vector3zero
450
451
			CharacterHumanoidRootPart.CFrame = CFramenew(HumanoidRootPart.Position + Vector3new(mathrandom(- 32, 32), 0, mathrandom(- 32, 32)))
452
			PostSimulation:Wait()
453
		end
454
455
		Character:BreakJoints()
456
457
		for _, Instance in pairs(Character:GetDescendants()) do
458
			DescendantAdded(Instance)
459
		end
460
461
		Character.DescendantAdded:Connect(DescendantAdded)
462
	end
463
end
464
465
local function Align(Part0, Part1, CFrame)
466
	if Part0.ReceiveAge == 0 and not Part0.Anchored and # Part0:GetJoints() == 0 then
467
		Part0.AssemblyAngularVelocity = Vector3new(0, Angular, 0)
468
469
		local Part1CFrame = Part1.CFrame
470
		local LinearVelocity = Part1.AssemblyLinearVelocity * Linear
471
		local Magnitude = LinearVelocity.Magnitude < Linear
472
473
		if Magnitude then
474
			local LookVector = Part1CFrame.LookVector * Linear
475
			Part0.AssemblyLinearVelocity = Vector3new(LookVector.X, Linear, LookVector.Z)
476
		else
477
			Part0.AssemblyLinearVelocity = Vector3new(LinearVelocity.X, Linear, LinearVelocity.Z)
478
		end
479
480
		Part0.CFrame = Part1CFrame * ( Magnitude and Sleep or CFrameidentity ) * CFrame
481
	end
482
end
483
484
if Character then
485
	CharacterAdded(Character)
486
end
487
488
local Added = LocalPlayer.CharacterAdded:Connect(CharacterAdded)
489
490
local Connection = game:FindFirstChildOfClass("RunService").PostSimulation:Connect(function()
491
	local osclock = osclock()
492
	local Axis = 0.004 * mathcos(osclock * 17.5)
493
494
	Sleep = CFramenew(0, Axis, 0)
495
	Angular = mathcos(osclock)
496
	Linear = 26
497
498
	for _, Table in pairs(Aligns) do
499
		Align(Table[1], Table[2], Table[3])
500
	end
501
502
	if sethiddenproperty then
503
		sethiddenproperty(LocalPlayer, "SimulationRadius", 10000000)
504
	end
505
506
	StarterGui:SetCore("ResetButtonCallback", BindableEvent) -- This is if it gets overriden, just like in MyWorld testing place.
507
end)
508
509
local function Event()
510
	CharacterClone:Destroy()
511
end
512
513
BindableEvent.Event:Connect(Event)
514
515
CharacterClone:GetPropertyChangedSignal("Parent"):Connect(function()
516
	if not CharacterClone.Parent then
517
		Added:Disconnect()
518
		Connection:Disconnect()
519
520
		CharacterClone:Destroy()
521
522
		if BindableEvent then
523
			BindableEvent:Destroy()
524
		end
525
526
		StarterGui:SetCore("ResetButtonCallback", true)
527
	end
528
end)
529
530
BindableEvent:GetPropertyChangedSignal("Parent"):Connect(Event)
531
lol = getcustomasset or getsynasset
532
getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
533
Player = game:GetService("Players").LocalPlayer
534
PlayerGui = Player.PlayerGui
535
Cam = workspace.CurrentCamera
536
Backpack = Player.Backpack
537
Character = Player.Character
538
Humanoid = Character.Humanoid
539
Mouse = Player:GetMouse()
540
RootPart = Character["HumanoidRootPart"]
541
Torso = Character["Torso"]
542
Head = Character["Head"]
543
RightArm = Character["Right Arm"]
544
LeftArm = Character["Left Arm"]
545
RightLeg = Character["Right Leg"]
546
LeftLeg = Character["Left Leg"]
547
RootJoint = RootPart["RootJoint"]
548
Neck = Torso["Neck"]
549
RightShoulder = Torso["Right Shoulder"]
550
LeftShoulder = Torso["Left Shoulder"]
551
RightHip = Torso["Right Hip"]
552
LeftHip = Torso["Left Hip"]
553
local sick = Instance.new("Sound",Torso)
554
sick.SoundId = "rbxassetid://930541401"
555
sick.Looped = true
556
Mode = "Glitch"
557
sick.Pitch = 1
558
sick.Volume = 2
559
sick.TimePosition = 110
560
Character.Archivable = true
561
Humanoid.DisplayDistanceType = "None"
562
563
local naeeym2 = Instance.new("BillboardGui",Character)
564
naeeym2.AlwaysOnTop = true
565
naeeym2.Size = UDim2.new(7,35,5,35)
566
naeeym2.StudsOffset = Vector3.new(0,3,0)
567
naeeym2.Adornee = Character.Head
568
naeeym2.Name = "Name"
569
local tecks2 = Instance.new("TextLabel",naeeym2)
570
tecks2.BackgroundTransparency = 1
571
tecks2.TextScaled = true
572
tecks2.BorderSizePixel = 0
573
tecks2.Text = "The Glitched."
574
tecks2.Font = "Code"
575
tecks2.TextSize = 40
576
tecks2.TextTransparency = 1
577
tecks2.TextStrokeTransparency = 1
578
tecks2.TextColor3 = Color3.new(1/0,0/1,1/0)
579
tecks2.Size = UDim2.new(1,0,0.5,0)
580
tecks2.Parent = naeeym2
581
582
IT = Instance.new
583
CF = CFrame.new
584
VT = Vector3.new
585
RAD = math.rad
586
C3 = Color3.new
587
UD2 = UDim2.new
588
BRICKC = BrickColor.new
589
ANGLES = CFrame.Angles
590
EULER = CFrame.fromEulerAnglesXYZ
591
COS = math.cos
592
ACOS = math.acos
593
SIN = math.sin
594
ASIN = math.asin
595
ABS = math.abs
596
MRANDOM = math.random
597
FLOOR = math.floor
598
599
--//=================================\\
600
--|| 	      USEFUL VALUES
601
--\\=================================//
602
603
Animation_Speed = 3
604
local FORCERESET = false
605
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
606
local Speed = 16
607
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
608
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
609
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
610
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
611
local DAMAGEMULTIPLIER = 1
612
local ANIM = "Idle"
613
local ATTACK = false
614
local EQUIPPED = false
615
local HOLD = false
616
local COMBO = 1
617
local Rooted = false
618
local INTRO = false
619
local Gun = IT("Model")
620
Gun.Name = "Gun"
621
local SINE = 0
622
local KEYHOLD = false
623
local CHANGE = 2 / Animation_Speed
624
local WALKINGANIM = false
625
local VALUE1 = false
626
local VALUE2 = false
627
local ROBLOXIDLEANIMATION = IT("Animation")
628
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
629
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
630
--ROBLOXIDLEANIMATION.Parent = Humanoid
631
local WEAPONGUI = IT("ScreenGui", PlayerGui)
632
WEAPONGUI.Name = "BanishV3Gui"
633
local Weapon = IT("Model")
634
Weapon.Name = "Adds"
635
local Effects = IT("Folder", Weapon)
636
Effects.Name = "Effects"
637
local ANIMATOR = Humanoid.Animator
638
local ANIMATE = Character:FindFirstChild("Animate")
639
local UNANCHOR = true
640
local TOBANISH = {}
641
script.Parent = PlayerGui
642
643
--//=================================\\
644
--\\=================================//
645
646
647
--//=================================\\
648
--||		  CUSTOMIZATION
649
--\\=================================//
650
651
Class_Name = "Sharpshooter"
652
Weapon_Name = "Add-ons"
653
654
	Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
655
	Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
656
657
	Custom_Color_3 = BRICKC("Really red"); --Color for the abilities.
658
	Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
659
	Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
660
	Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
661
	Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
662
663
	Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
664
	Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
665
	Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
666
	Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
667
	Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
668
669
670
Player_Size = 1 --Size of the player.
671
Animation_Speed = 3
672
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
673
674
local Speed = 16
675
local Effects2 = {}
676
677
--//=================================\\
678
--|| 	  END OF CUSTOMIZATION
679
--\\=================================//
680
681
682
--//=================================\\
683
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
684
--\\=================================//
685
ArtificialHB = Instance.new("BindableEvent")
686
FPS = 60
687
LastFrame = tick()
688
TimeFrame = 0
689
Frame = 1/FPS
690
691
game:GetService("RunService").Heartbeat:Connect(function(s,p)
692
	TimeFrame = TimeFrame + s
693
	if(TimeFrame>=Frame)then
694
		for i=1,math.floor(TimeFrame/Frame) do
695
		  ArtificialHB:Fire()
696
		end
697
		LastFrame=tick()
698
		TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
699
	end
700
end)
701
702
function Swait(dur)
703
	if(dur == 0 or typeof(dur) ~= 'number') then
704
		ArtificialHB.Event:wait()
705
	else
706
		for i= 1, dur*FPS do
707
			ArtificialHB.Event:wait()
708
		end
709
	end
710
end
711
712
--//=================================\\
713
--\\=================================//
714
715
--//=================================\\
716
--|| 	      SOME FUNCTIONS
717
--\\=================================//
718
719
function Clerp(a, b, t)
720
	local qa = {QuaternionFromCFrame(a)}
721
	local qb = {QuaternionFromCFrame(b)}
722
	local ax, ay, az = a.x, a.y, a.z
723
	local bx, by, bz = b.x, b.y, b.z
724
	local _t = 1 - t
725
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
726
end
727
728
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
729
	local frame = IT("Frame")
730
	frame.BackgroundTransparency = TRANSPARENCY
731
	frame.BorderSizePixel = BORDERSIZEPIXEL
732
	frame.Position = POSITION
733
	frame.Size = SIZE
734
	frame.BackgroundColor3 = COLOR
735
	frame.BorderColor3 = BORDERCOLOR
736
	frame.Name = NAME
737
	frame.Parent = PARENT
738
	return frame
739
end
740
741
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
742
	local label = IT("TextLabel")
743
	label.BackgroundTransparency = 1
744
	label.Size = UD2(1, 0, 1, 0)
745
	label.Position = UD2(0, 0, 0, 0)
746
	label.TextColor3 = TEXTCOLOR
747
	label.TextStrokeTransparency = STROKETRANSPARENCY
748
	label.TextTransparency = TRANSPARENCY
749
	label.FontSize = TEXTFONTSIZE
750
	label.Font = TEXTFONT
751
	label.BorderSizePixel = BORDERSIZEPIXEL
752
	label.TextScaled = false
753
	label.Text = TEXT
754
	label.Name = NAME
755
	label.Parent = PARENT
756
	return label
757
end
758
759
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
760
	if FLOOR ~= nil then
761
		coroutine.resume(coroutine.create(function()
762
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
763
			PART.CFrame = CF(POSITION)
764
			for i = 1, 45 do
765
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
766
				RingPiece.Material = FLOOR.Material
767
				RingPiece.Color = FLOOR.Color
768
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
769
				Debris:AddItem(RingPiece,SWAIT)
770
			end
771
			PART:remove()
772
		end))
773
	end
774
end
775
776
function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
777
	if FLOOR ~= nil then
778
		for i = 1, AMOUNT do
779
			local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
780
			DEBREE.Material = FLOOR.Material
781
			DEBREE.Color = FLOOR.Color
782
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
783
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
784
			coroutine.resume(coroutine.create(function()
785
				Swait(15)
786
				DEBREE.Parent = workspace
787
				DEBREE.CanCollide = true
788
				Debris:AddItem(DEBREE,SWAIT)
789
			end))
790
		end
791
	end
792
end
793
794
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
795
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
796
end
797
798
function PositiveAngle(NUMBER)
799
	if NUMBER >= 0 then
800
		NUMBER = 0
801
	end
802
	return NUMBER
803
end
804
805
function NegativeAngle(NUMBER)
806
	if NUMBER <= 0 then
807
		NUMBER = 0
808
	end
809
	return NUMBER
810
end
811
812
function Swait(NUMBER)
813
	if NUMBER == 0 or NUMBER == nil then
814
		ArtificialHB.Event:wait()
815
	else
816
		for i = 1, NUMBER do
817
			ArtificialHB.Event:wait()
818
		end
819
	end
820
end
821
822
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
823
	local NEWMESH = IT(MESH)
824
	if MESH == "SpecialMesh" then
825
		NEWMESH.MeshType = MESHTYPE
826
		if MESHID ~= "nil" and MESHID ~= "" then
827
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
828
		end
829
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
830
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
831
		end
832
	end
833
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
834
	NEWMESH.Scale = SCALE
835
	NEWMESH.Parent = PARENT
836
	return NEWMESH
837
end
838
839
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
840
	local NEWPART = IT("Part")
841
	NEWPART.formFactor = FORMFACTOR
842
	NEWPART.Reflectance = REFLECTANCE
843
	NEWPART.Transparency = TRANSPARENCY
844
	NEWPART.CanCollide = false
845
	NEWPART.Locked = true
846
	NEWPART.Anchored = true
847
	if ANCHOR == false then
848
		NEWPART.Anchored = false
849
	end
850
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
851
	NEWPART.Name = NAME
852
	NEWPART.Size = SIZE
853
	NEWPART.Position = Torso.Position
854
	NEWPART.Material = MATERIAL
855
	NEWPART:BreakJoints()
856
	NEWPART.Parent = PARENT
857
	return NEWPART
858
end
859
860
	local function weldBetween(a, b)
861
	    local weldd = Instance.new("ManualWeld")
862
	    weldd.Part0 = a
863
	    weldd.Part1 = b
864
	    weldd.C0 = CFrame.new()
865
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
866
	    weldd.Parent = a
867
	    return weldd
868
	end
869
870
871
function QuaternionFromCFrame(cf)
872
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
873
	local trace = m00 + m11 + m22
874
	if trace > 0 then 
875
		local s = math.sqrt(1 + trace)
876
		local recip = 0.5 / s
877
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
878
	else
879
		local i = 0
880
		if m11 > m00 then
881
			i = 1
882
		end
883
		if m22 > (i == 0 and m00 or m11) then
884
			i = 2
885
		end
886
		if i == 0 then
887
			local s = math.sqrt(m00 - m11 - m22 + 1)
888
			local recip = 0.5 / s
889
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
890
		elseif i == 1 then
891
			local s = math.sqrt(m11 - m22 - m00 + 1)
892
			local recip = 0.5 / s
893
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
894
		elseif i == 2 then
895
			local s = math.sqrt(m22 - m00 - m11 + 1)
896
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
897
		end
898
	end
899
end
900
 
901
function QuaternionToCFrame(px, py, pz, x, y, z, w)
902
	local xs, ys, zs = x + x, y + y, z + z
903
	local wx, wy, wz = w * xs, w * ys, w * zs
904
	local xx = x * xs
905
	local xy = x * ys
906
	local xz = x * zs
907
	local yy = y * ys
908
	local yz = y * zs
909
	local zz = z * zs
910
	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))
911
end
912
 
913
function QuaternionSlerp(a, b, t)
914
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
915
	local startInterp, finishInterp;
916
	if cosTheta >= 0.0001 then
917
		if (1 - cosTheta) > 0.0001 then
918
			local theta = ACOS(cosTheta)
919
			local invSinTheta = 1 / SIN(theta)
920
			startInterp = SIN((1 - t) * theta) * invSinTheta
921
			finishInterp = SIN(t * theta) * invSinTheta
922
		else
923
			startInterp = 1 - t
924
			finishInterp = t
925
		end
926
	else
927
		if (1 + cosTheta) > 0.0001 then
928
			local theta = ACOS(-cosTheta)
929
			local invSinTheta = 1 / SIN(theta)
930
			startInterp = SIN((t - 1) * theta) * invSinTheta
931
			finishInterp = SIN(t * theta) * invSinTheta
932
		else
933
			startInterp = t - 1
934
			finishInterp = t
935
		end
936
	end
937
	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
938
end
939
940
function Clerp(a, b, t)
941
	local qa = {QuaternionFromCFrame(a)}
942
	local qb = {QuaternionFromCFrame(b)}
943
	local ax, ay, az = a.x, a.y, a.z
944
	local bx, by, bz = b.x, b.y, b.z
945
	local _t = 1 - t
946
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
947
end
948
949
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
950
	local frame = IT("Frame")
951
	frame.BackgroundTransparency = TRANSPARENCY
952
	frame.BorderSizePixel = BORDERSIZEPIXEL
953
	frame.Position = POSITION
954
	frame.Size = SIZE
955
	frame.BackgroundColor3 = COLOR
956
	frame.BorderColor3 = BORDERCOLOR
957
	frame.Name = NAME
958
	frame.Parent = PARENT
959
	return frame
960
end
961
962
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
963
	local label = IT("TextLabel")
964
	label.BackgroundTransparency = 1
965
	label.Size = UD2(1, 0, 1, 0)
966
	label.Position = UD2(0, 0, 0, 0)
967
	label.TextColor3 = TEXTCOLOR
968
	label.TextStrokeTransparency = STROKETRANSPARENCY
969
	label.TextTransparency = TRANSPARENCY
970
	label.FontSize = TEXTFONTSIZE
971
	label.Font = TEXTFONT
972
	label.BorderSizePixel = BORDERSIZEPIXEL
973
	label.TextScaled = false
974
	label.Text = TEXT
975
	label.Name = NAME
976
	label.Parent = PARENT
977
	return label
978
end
979
980
function NoOutlines(PART)
981
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
982
end
983
984
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
985
	local NEWWELD = IT(TYPE)
986
	NEWWELD.Part0 = PART0
987
	NEWWELD.Part1 = PART1
988
	NEWWELD.C0 = C0
989
	NEWWELD.C1 = C1
990
	NEWWELD.Parent = PARENT
991
	return NEWWELD
992
end
993
994
local S = IT("Sound")
995
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
996
	local NEWSOUND = nil
997
	coroutine.resume(coroutine.create(function()
998
		NEWSOUND = S:Clone()
999
		NEWSOUND.Parent = PARENT
1000
		NEWSOUND.Volume = VOLUME
1001
		NEWSOUND.Pitch = PITCH
1002
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1003
		NEWSOUND:play()
1004
		if DOESLOOP == true then
1005
			NEWSOUND.Looped = true
1006
		else
1007
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
1008
			NEWSOUND:remove()
1009
		end
1010
	end))
1011
	return NEWSOUND
1012
end
1013
1014
function CFrameFromTopBack(at, top, back)
1015
	local right = top:Cross(back)
1016
	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)
1017
end
1018
1019
--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})
1020
function WACKYEFFECT(Table)
1021
	local TYPE = (Table.EffectType or "Sphere")
1022
	local SIZE = (Table.Size or VT(1,1,1))
1023
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1024
	local TRANSPARENCY = (Table.Transparency or 0)
1025
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1026
	local CFRAME = (Table.CFrame or Torso.CFrame)
1027
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1028
	local ROTATION1 = (Table.RotationX or 0)
1029
	local ROTATION2 = (Table.RotationY or 0)
1030
	local ROTATION3 = (Table.RotationZ or 0)
1031
	local MATERIAL = (Table.Material or "Neon")
1032
	local COLOR = (Table.Color or C3(1,1,1))
1033
	local TIME = (Table.Time or 45)
1034
	local SOUNDID = (Table.SoundID or nil)
1035
	local SOUNDPITCH = (Table.SoundPitch or nil)
1036
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1037
	coroutine.resume(coroutine.create(function()
1038
		local PLAYSSOUND = false
1039
		local SOUND = nil
1040
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1041
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1042
			PLAYSSOUND = true
1043
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1044
		end
1045
		EFFECT.Color = COLOR
1046
		local MSH = nil
1047
		if TYPE == "Sphere" then
1048
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1049
		elseif TYPE == "Block" then
1050
			MSH = IT("BlockMesh",EFFECT)
1051
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1052
		elseif TYPE == "Wave" then
1053
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1054
		elseif TYPE == "Ring" then
1055
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1056
		elseif TYPE == "Slash" then
1057
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1058
		elseif TYPE == "Round Slash" then
1059
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1060
		elseif TYPE == "Swirl" then
1061
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1062
		elseif TYPE == "Skull" then
1063
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1064
		elseif TYPE == "Crystal" then
1065
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1066
		end
1067
		if MSH ~= nil then
1068
			local MOVESPEED = nil
1069
			if MOVEDIRECTION ~= nil then
1070
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1071
			end
1072
			local GROWTH = SIZE - ENDSIZE
1073
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1074
			if TYPE == "Block" then
1075
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1076
			else
1077
				EFFECT.CFrame = CFRAME
1078
			end
1079
			for LOOP = 1, TIME+1 do
1080
				Swait()
1081
				MSH.Scale = MSH.Scale - GROWTH/TIME
1082
				if TYPE == "Wave" then
1083
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1084
				end
1085
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1086
				if TYPE == "Block" then
1087
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1088
				else
1089
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1090
				end
1091
				if MOVEDIRECTION ~= nil then
1092
					local ORI = EFFECT.Orientation
1093
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1094
					EFFECT.Orientation = ORI
1095
				end
1096
			end
1097
			if PLAYSSOUND == false then
1098
				EFFECT:remove()
1099
			else
1100
				SOUND.Stopped:Connect(function()
1101
					EFFECT:remove()
1102
				end)
1103
			end
1104
		else
1105
			if PLAYSSOUND == false then
1106
				EFFECT:remove()
1107
			else
1108
				repeat Swait() until SOUND.Playing == false
1109
				EFFECT:remove()
1110
			end
1111
		end
1112
	end))
1113
end
1114
1115
local DECAL = IT("Decal")
1116
function MakeRing()
1117
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Institutional white"), "MagicRing", VT(0, 0, 0), true)
1118
	local MSH = IT("BlockMesh", RING)
1119
	local TOP = DECAL:Clone()
1120
	local BOTTOM = DECAL:Clone()
1121
	TOP.Parent = RING
1122
	BOTTOM.Parent = RING
1123
	TOP.Face = "Top"
1124
	BOTTOM.Face = "Bottom"
1125
	TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
1126
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
1127
	local function REMOVE()
1128
		coroutine.resume(coroutine.create(function()
1129
			local SIZE = MSH.Scale.X
1130
			for i = 1, 35 do
1131
				Swait()
1132
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
1133
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
1134
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
1135
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
1136
			end
1137
			RING:remove()
1138
		end))
1139
	end
1140
	return RING, MSH, REMOVE
1141
end
1142
1143
function MakeForm(PART,TYPE)
1144
	if TYPE == "Cyl" then
1145
		local MSH = IT("CylinderMesh",PART)
1146
	elseif TYPE == "Ball" then
1147
		local MSH = IT("SpecialMesh",PART)
1148
		MSH.MeshType = "Sphere"
1149
	elseif TYPE == "Wedge" then
1150
		local MSH = IT("SpecialMesh",PART)
1151
		MSH.MeshType = "Wedge"
1152
	end
1153
end
1154
1155
function SpawnTrail(FROM,TO,BIG)
1156
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "", "Trail", VT(0,0,0))
1157
	MakeForm(TRAIL,"Cyl")
1158
	local DIST = (FROM - TO).Magnitude
1159
	if BIG == true then
1160
		TRAIL.Size = VT(0.5,DIST,0.5)
1161
	else
1162
		TRAIL.Size = VT(0.25,DIST,0.25)
1163
	end
1164
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1165
	coroutine.resume(coroutine.create(function()
1166
		for i = 1, 5 do
1167
			Swait()
1168
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1169
		end
1170
		TRAIL:remove()
1171
	end))
1172
end
1173
--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})
1174
function WACKYEFFECT(Table)
1175
	local TYPE = (Table.EffectType or "Sphere")
1176
	local SIZE = (Table.Size or VT(1,1,1))
1177
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1178
	local TRANSPARENCY = (Table.Transparency or 0)
1179
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1180
	local CFRAME = (Table.CFrame or Torso.CFrame)
1181
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1182
	local ROTATION1 = (Table.RotationX or 0)
1183
	local ROTATION2 = (Table.RotationY or 0)
1184
	local ROTATION3 = (Table.RotationZ or 0)
1185
	local MATERIAL = (Table.Material or "Neon")
1186
	local COLOR = (Table.Color or C3(1,1,1))
1187
	local TIME = (Table.Time or 45)
1188
	local SOUNDID = (Table.SoundID or nil)
1189
	local SOUNDPITCH = (Table.SoundPitch or nil)
1190
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1191
	coroutine.resume(coroutine.create(function()
1192
		local PLAYSSOUND = false
1193
		local SOUND = nil
1194
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Institutional white"), "Effect", VT(1,1,1), true)
1195
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1196
			PLAYSSOUND = true
1197
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1198
		end
1199
		EFFECT.Color = COLOR
1200
		local MSH = nil
1201
		if TYPE == "Sphere" then
1202
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1203
		elseif TYPE == "Block" then
1204
			MSH = IT("BlockMesh",EFFECT)
1205
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1206
		elseif TYPE == "Wave" then
1207
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1208
		elseif TYPE == "Ring" then
1209
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1210
		elseif TYPE == "Slash" then
1211
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1212
		elseif TYPE == "Round Slash" then
1213
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1214
		elseif TYPE == "Swirl" then
1215
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1216
		elseif TYPE == "Skull" then
1217
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1218
		elseif TYPE == "Crystal" then
1219
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1220
		end
1221
		if MSH ~= nil then
1222
			local MOVESPEED = nil
1223
			if MOVEDIRECTION ~= nil then
1224
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1225
			end
1226
			local GROWTH = SIZE - ENDSIZE
1227
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1228
			if TYPE == "Block" then
1229
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1230
			else
1231
				EFFECT.CFrame = CFRAME
1232
			end
1233
			for LOOP = 1, TIME+1 do
1234
				Swait()
1235
				MSH.Scale = MSH.Scale - GROWTH/TIME
1236
				if TYPE == "Wave" then
1237
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1238
				end
1239
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1240
				if TYPE == "Block" then
1241
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1242
				else
1243
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1244
				end
1245
				if MOVEDIRECTION ~= nil then
1246
					local ORI = EFFECT.Orientation
1247
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1248
					EFFECT.Orientation = ORI
1249
				end
1250
			end
1251
			if PLAYSSOUND == false then
1252
				EFFECT:remove()
1253
			else
1254
				SOUND.Stopped:Connect(function()
1255
					EFFECT:remove()
1256
				end)
1257
			end
1258
		else
1259
			if PLAYSSOUND == false then
1260
				EFFECT:remove()
1261
			else
1262
				repeat Swait() until SOUND.Playing == false
1263
				EFFECT:remove()
1264
			end
1265
		end
1266
	end))
1267
end
1268
1269
function MakeForm(PART,TYPE)
1270
	if TYPE == "Cyl" then
1271
		local MSH = IT("CylinderMesh",PART)
1272
	elseif TYPE == "Ball" then
1273
		local MSH = IT("SpecialMesh",PART)
1274
		MSH.MeshType = "Sphere"
1275
	elseif TYPE == "Wedge" then
1276
		local MSH = IT("SpecialMesh",PART)
1277
		MSH.MeshType = "Wedge"
1278
	end
1279
end
1280
1281
function SpawnTrail(FROM,TO,BIG)
1282
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
1283
	MakeForm(TRAIL,"Cyl")
1284
	local DIST = (FROM - TO).Magnitude
1285
	if BIG == true then
1286
		TRAIL.Size = VT(0.5,DIST,0.5)
1287
	else
1288
		TRAIL.Size = VT(0.25,DIST,0.25)
1289
	end
1290
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1291
	coroutine.resume(coroutine.create(function()
1292
		for i = 1, 5 do
1293
			Swait()
1294
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1295
		end
1296
		TRAIL:remove()
1297
	end))
1298
end
1299
1300
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1301
	local TORSO = Torso
1302
	local HUM = Humanoid
1303
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1304
		coroutine.wrap(function()
1305
			VT = Vector3.new
1306
			MRANDOM = math.random
1307
			local A = TIME
1308
			local B = INTENSITY
1309
			local C = true
1310
			local HUMANOID = Humanoid
1311
			local TIMER = A or 35
1312
			local SHAKE = B or 5
1313
			local FADE = C or true
1314
			if HUMANOID then
1315
				local FADER = SHAKE / TIMER
1316
				for i = 1, TIMER do
1317
					wait()
1318
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
1319
				end
1320
				HUMANOID.CameraOffset = VT(0, 0, 0)
1321
			end
1322
1323
		end)()
1324
	end
1325
end
1326
1327
function chatfunc(text)
1328
	local chat = coroutine.wrap(function()
1329
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
1330
		Character:FindFirstChild("TalkingBillBoard"):destroy()
1331
	end
1332
	local Bill = Instance.new("BillboardGui",Character)
1333
	Bill.Size = UDim2.new(0,100,0,40)
1334
	Bill.StudsOffset = Vector3.new(0,3,0)
1335
	Bill.Adornee = Character.Head
1336
	Bill.Name = "TalkingBillBoard"
1337
	local Hehe = Instance.new("TextLabel",Bill)
1338
	Hehe.BackgroundTransparency = 1
1339
	Hehe.BorderSizePixel = 0
1340
	Hehe.Text = ""
1341
	Hehe.Font = "Bodoni"
1342
	Hehe.TextSize = 40
1343
	Hehe.TextStrokeTransparency = 0
1344
	Hehe.Size = UDim2.new(1,0,0.5,0)
1345
	coroutine.resume(coroutine.create(function()
1346
		while Hehe ~= nil do
1347
			Swait()	
1348
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
1349
			Hehe.Rotation = math.random(-2.5,2.5)
1350
			Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
1351
			Hehe.TextStrokeColor3 = Color3.new(255,255,255)
1352
		end
1353
	end))
1354
	for i = 1,string.len(text),1 do
1355
		Swait()
1356
		Hehe.Text = string.sub(text,1,i)
1357
	end
1358
	Swait(90)--Re[math.random(1, 93)]
1359
	for i = 0, 1, .025 do
1360
		Swait()
1361
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
1362
		Hehe.TextStrokeTransparency = i
1363
		Hehe.TextTransparency = i
1364
	end
1365
	Bill:Destroy()
1366
	end)
1367
chat()
1368
end
1369
1370
Debris = game:GetService("Debris")
1371
1372
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1373
	local DIRECTION = CF(StartPos,EndPos).lookVector
1374
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1375
end
1376
1377
function turnto(position)
1378
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1379
end
1380
1381
--//=================================\\
1382
--||	     RAGDOLL STUFF
1383
--\\=================================//
1384
1385
function recurse(root,callback,i)
1386
	i= i or 0
1387
	for _,v in pairs(root:GetChildren()) do
1388
		i = i + 1
1389
		callback(i,v)
1390
		
1391
		if #v:GetChildren() > 0 then
1392
			i = recurse(v,callback,i)
1393
		end
1394
	end
1395
	
1396
	return i
1397
end
1398
1399
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1400
	attachmentName = attachmentName.."RigAttachment"
1401
	local constraint = Instance.new(className.."Constraint")
1402
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1403
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1404
	constraint.Name = "RagdollConstraint"..part1.Name
1405
	
1406
	for _,propertyData in next,properties or {} do
1407
		constraint[propertyData[1]] = propertyData[2]
1408
	end
1409
	
1410
	constraint.Parent = character
1411
end
1412
1413
function getAttachment0(character, attachmentName)
1414
	for _,child in next,character:GetChildren() do
1415
		local attachment = child:FindFirstChild(attachmentName)
1416
		if attachment then
1417
			return attachment
1418
		end
1419
	end
1420
end
1421
1422
function ArtificialHitbox(Part)
1423
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Institutional white", "Hitbox", Part.Size/2, false)
1424
	HITBOX.CanCollide = true
1425
	HITBOX.CFrame = Part.CFrame
1426
	weldBetween(Part,HITBOX)
1427
end
1428
1429
function R15Ragdoll(character,KeepArms)
1430
	character:BreakJoints()
1431
	coroutine.resume(coroutine.create(function()
1432
		recurse(character, function(_,v)
1433
			if v:IsA("Attachment") then
1434
				v.Axis = Vector3.new(0, 1, 0)
1435
				v.SecondaryAxis = Vector3.new(0, 0, 1)
1436
				v.Rotation = Vector3.new(0, 0, 0)
1437
			end
1438
		end)
1439
		for _,child in next,character:GetChildren() do
1440
			if child:IsA("Accoutrement") then
1441
				for _,part in next,child:GetChildren() do
1442
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1443
						local attachment1 = part:FindFirstChildOfClass("Attachment")
1444
						local attachment0 = getAttachment0(character,attachment1.Name)
1445
						if attachment0 and attachment1 then
1446
							local constraint = Instance.new("HingeConstraint")
1447
							constraint.Attachment0 = attachment0
1448
							constraint.Attachment1 = attachment1
1449
							constraint.LimitsEnabled = true
1450
							constraint.UpperAngle = 0
1451
							constraint.LowerAngle = 0
1452
							constraint.Parent = character
1453
						end
1454
						ArtificialHitbox(part)
1455
					elseif part.Name == "HumanoidRootPart" then
1456
						part:remove()
1457
					end
1458
				end
1459
			end
1460
		end
1461
		
1462
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1463
			{"LimitsEnabled",true};
1464
			{"UpperAngle",5};
1465
		})
1466
		if character:FindFirstChild("Head") then
1467
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1468
				{"LimitsEnabled",true};
1469
				{"UpperAngle",15};
1470
			})
1471
		end
1472
		
1473
		local handProperties = {
1474
			{"LimitsEnabled", true};
1475
			{"UpperAngle",0};
1476
			{"LowerAngle",0};
1477
		}
1478
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
1479
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
1480
		
1481
		local shinProperties = {
1482
			{"LimitsEnabled", true};
1483
			{"UpperAngle", 0};
1484
			{"LowerAngle", -75};
1485
		}
1486
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
1487
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
1488
		
1489
		local footProperties = {
1490
			{"LimitsEnabled", true};
1491
			{"UpperAngle", 15};
1492
			{"LowerAngle", -45};
1493
		}
1494
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
1495
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
1496
		if KeepArms == true then
1497
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
1498
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
1499
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
1500
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
1501
		end
1502
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
1503
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
1504
		Debris:AddItem(character,5)
1505
	end))
1506
end
1507
1508
function Ragdoll(Character2,CharTorso,KeepArms)
1509
	coroutine.resume(coroutine.create(function()
1510
		Character2:BreakJoints()
1511
		local hum = Character2:findFirstChild("Humanoid")
1512
		hum:remove()
1513
		local function Scan(ch)
1514
			local e
1515
			for e = 1,#ch do
1516
				Scan(ch[e]:GetChildren())
1517
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1518
					ch[e]:remove()
1519
				end
1520
			end
1521
		end
1522
		local NEWHUM = IT("Humanoid")
1523
		NEWHUM.Name = "Corpse"
1524
		NEWHUM.Health = 0
1525
		NEWHUM.MaxHealth = 0
1526
		NEWHUM.PlatformStand = true
1527
		NEWHUM.Parent = Character2
1528
		NEWHUM.DisplayDistanceType = "None"
1529
	
1530
		local ch = Character2:GetChildren()
1531
		local i
1532
		for i = 1,#ch do
1533
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1534
				ch[i]:remove()
1535
			end
1536
		end
1537
	
1538
		local Torso2 = Character2.Torso
1539
		local movevector = Vector3.new()
1540
	
1541
		if Torso2 then
1542
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1543
			local Head = Character2:FindFirstChild("Head")
1544
			if Head then
1545
				local Neck = Instance.new("Weld")
1546
				Neck.Name = "Neck"
1547
				Neck.Part0 = Torso2
1548
				Neck.Part1 = Head
1549
				Neck.C0 = CFrame.new(0, 1.5, 0)
1550
				Neck.C1 = CFrame.new()
1551
				Neck.Parent = Torso2
1552
	
1553
			end
1554
			local Limb = Character2:FindFirstChild("Right Arm")
1555
			if Limb and KeepArms == true then
1556
	
1557
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1558
				local Joint = Instance.new("Glue")
1559
				Joint.Name = "RightShoulder"
1560
				Joint.Part0 = Torso2
1561
				Joint.Part1 = Limb
1562
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1563
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1564
				Joint.Parent = Torso2
1565
	
1566
				local B = Instance.new("Part")
1567
				B.TopSurface = 0
1568
				B.BottomSurface = 0
1569
				B.formFactor = "Symmetric"
1570
				B.Size = Vector3.new(1, 1, 1)
1571
				B.Transparency = 1
1572
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1573
				B.Parent = Character2
1574
				local W = Instance.new("Weld")
1575
				W.Part0 = Limb
1576
				W.Part1 = B
1577
				W.C0 = CFrame.new(0, -0.5, 0)
1578
				W.Parent = Limb
1579
	
1580
			end
1581
			local Limb = Character2:FindFirstChild("Left Arm")
1582
			if Limb and KeepArms == true then
1583
	
1584
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1585
				local Joint = Instance.new("Glue")
1586
				Joint.Name = "LeftShoulder"
1587
				Joint.Part0 = Torso2
1588
				Joint.Part1 = Limb
1589
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1590
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1591
				Joint.Parent = Torso2
1592
	
1593
				local B = Instance.new("Part")
1594
				B.TopSurface = 0
1595
				B.BottomSurface = 0
1596
				B.formFactor = "Symmetric"
1597
				B.Size = Vector3.new(1, 1, 1)
1598
				B.Transparency = 1
1599
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1600
				B.Parent = Character2
1601
				local W = Instance.new("Weld")
1602
				W.Part0 = Limb
1603
				W.Part1 = B
1604
				W.C0 = CFrame.new(0, -0.5, 0)
1605
				W.Parent = Limb
1606
	
1607
			end
1608
			local Limb = Character2:FindFirstChild("Right Leg")
1609
			if Limb then
1610
	
1611
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1612
				local Joint = Instance.new("Glue")
1613
				Joint.Name = "RightHip"
1614
				Joint.Part0 = Torso2
1615
				Joint.Part1 = Limb
1616
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1617
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1618
				Joint.Parent = Torso2
1619
	
1620
				local B = Instance.new("Part")
1621
				B.TopSurface = 0
1622
				B.BottomSurface = 0
1623
				B.formFactor = "Symmetric"
1624
				B.Size = Vector3.new(1, 1, 1)
1625
				B.Transparency = 1
1626
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1627
				B.Parent = Character2
1628
				local W = Instance.new("Weld")
1629
				W.Part0 = Limb
1630
				W.Part1 = B
1631
				W.C0 = CFrame.new(0, -0.5, 0)
1632
				W.Parent = Limb
1633
	
1634
			end
1635
			local Limb = Character2:FindFirstChild("Left Leg")
1636
			if Limb then
1637
	
1638
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1639
				local Joint = Instance.new("Glue")
1640
				Joint.Name = "LeftHip"
1641
				Joint.Part0 = Torso2
1642
				Joint.Part1 = Limb
1643
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1644
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1645
				Joint.Parent = Torso2
1646
	
1647
				local B = Instance.new("Part")
1648
				B.TopSurface = 0
1649
				B.BottomSurface = 0
1650
				B.formFactor = "Symmetric"
1651
				B.Size = Vector3.new(1, 1, 1)
1652
				B.Transparency = 1
1653
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1654
				B.Parent = Character2
1655
				local W = Instance.new("Weld")
1656
				W.Part0 = Limb
1657
				W.Part1 = B
1658
				W.C0 = CFrame.new(0, -0.5, 0)
1659
				W.Parent = Limb
1660
	
1661
			end
1662
			--[
1663
			local Bar = Instance.new("Part")
1664
			Bar.TopSurface = 0
1665
			Bar.BottomSurface = 0
1666
			Bar.formFactor = "Symmetric"
1667
			Bar.Size = Vector3.new(1, 1, 1)
1668
			Bar.Transparency = 1
1669
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1670
			Bar.Parent = Character2
1671
			local Weld = Instance.new("Weld")
1672
			Weld.Part0 = Torso2
1673
			Weld.Part1 = Bar
1674
			Weld.C0 = CFrame.new(0, 0.5, 0)
1675
			Weld.Parent = Torso2
1676
			--]]
1677
		end
1678
		Character2.Parent = workspace
1679
		Debris:AddItem(Character2,5)
1680
	
1681
		return Character2,Torso2
1682
	end))
1683
end
1684
1685
--//=================================\\
1686
--||	     WEAPON CREATION
1687
--\\=================================//
1688
1689
local Particle = IT("ParticleEmitter",nil)
1690
Particle.Enabled = false
1691
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1692
Particle.LightEmission = 0.5
1693
Particle.Rate = 150
1694
Particle.ZOffset = 0.2
1695
Particle.Rotation = NumberRange.new(-180, 180)
1696
Particle.RotSpeed = NumberRange.new(-180, 180)
1697
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1698
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
1699
1700
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1701
function ParticleEmitter(Table)
1702
	local PRTCL = Particle:Clone()
1703
	local Speed = Table.Speed or 5
1704
	local Drag = Table.Drag or 0
1705
	local Size1 = Table.Size1 or 1
1706
	local Size2 = Table.Size2 or 5
1707
	local Lifetime1 = Table.Lifetime1 or 1
1708
	local Lifetime2 = Table.Lifetime2 or 1.5
1709
	local Parent = Table.Parent or Torso
1710
	local Emit = Table.Emit or 100
1711
	local Offset = Table.Offset or 360
1712
	local Acel = Table.Acel or VT(0,0,0)
1713
	local Enabled = Table.Enabled or false
1714
	PRTCL.Parent = Parent
1715
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1716
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1717
	PRTCL.Speed = NumberRange.new(Speed)
1718
	PRTCL.VelocitySpread = Offset
1719
	PRTCL.Drag = Drag
1720
	PRTCL.Acceleration = Acel
1721
	if Enabled == false then
1722
		PRTCL:Emit(Emit)
1723
		Debris:AddItem(PRTCL,Lifetime2)
1724
	else
1725
		PRTCL.Enabled = true
1726
	end
1727
	return PRTCL
1728
end
1729
1730
local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1731
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1732
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1733
MakeForm(Part,"Wedge")
1734
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1735
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1736
MakeForm(Part,"Wedge")
1737
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1738
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1739
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1740
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1741
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1742
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1743
MakeForm(Part,"Cyl")
1744
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1745
for i = 1, 8 do
1746
	local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1747
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1748
end
1749
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1750
MakeForm(Part,"Cyl")
1751
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1752
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1753
MakeForm(Part,"Ball")
1754
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1755
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1756
MakeForm(Part,"Wedge")
1757
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1758
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1759
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1760
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1761
MakeForm(Part,"Cyl")
1762
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1763
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1764
MakeForm(Part,"Cyl")
1765
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1766
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1767
MakeForm(Part,"Cyl")
1768
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1769
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1770
MakeForm(Part,"Wedge")
1771
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1772
local LASTPART = Handle
1773
for i = 1, 10 do
1774
	if LASTPART == Handle then
1775
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1776
		LASTPART = Part
1777
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1778
	else
1779
		local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1780
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1781
		LASTPART = Part
1782
	end
1783
end
1784
1785
local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
1786
MakeForm(Barrel,"Cyl")
1787
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1788
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
1789
MakeForm(Part,"Cyl")
1790
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
1791
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1792
MakeForm(Part,"Wedge")
1793
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1794
local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1795
MakeForm(Hole,"Cyl")
1796
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
1797
local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1798
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1799
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1800
local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1801
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1802
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1803
coroutine.resume(coroutine.create(function()
1804
	while wait() do
1805
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
1806
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
1807
	end
1808
end))
1809
1810
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1811
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1812
1813
for _, c in pairs(Gun:GetDescendants()) do
1814
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1815
		c.Material = "Glass"
1816
		c.Color = C3(255,255,255)
1817
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1818
		c.Color = C3(255,255,255)
1819
		c.Material = "Neon"
1820
	end
1821
end
1822
1823
Weapon.Parent = Character
1824
for _, c in pairs(Weapon:GetChildren()) do
1825
	if c.ClassName == "Part" then
1826
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1827
	end
1828
end
1829
1830
Weapon.Parent = Character
1831
Gun.Parent = nil
1832
1833
for _, c in pairs(Gun:GetChildren()) do
1834
	if c.ClassName == "Part" then
1835
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1836
	end
1837
end
1838
1839
for _, c in pairs(Weapon:GetChildren()) do
1840
	if c.ClassName == "Part" then
1841
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1842
	end
1843
end
1844
1845
local SKILLTEXTCOLOR = C3(0,0,0)
1846
local SKILLFONT = "Arcade"
1847
local SKILLTEXTSIZE = 7
1848
1849
Humanoid.Died:connect(function()
1850
	ATTACK = true
1851
end)
1852
1853
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1854
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1855
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1856
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1857
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1858
1859
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1860
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Kill", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
1861
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Sleep", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
1862
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Ultimate", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
1863
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
1864
1865
function printbye(Name)
1866
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1867
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1868
end
1869
	if INTRO == false and INSTANT == false then
1870
		INTRO = true
1871
		coroutine.resume(coroutine.create(function()
1872
			sick:Play()
1873
			Intro()
1874
		end))
1875
	end
1876
1877
workspace.ChildAdded:connect(function(instance)
1878
    for BANISH = 1, #TOBANISH do
1879
		if TOBANISH[BANISH] ~= nil then
1880
			if instance.Name == TOBANISH[BANISH] then
1881
				coroutine.resume(coroutine.create(function()
1882
					printbye(instance.Name)
1883
					instance:ClearAllChildren()
1884
					Debris:AddItem(instance,0.0005)
1885
				end))
1886
			end
1887
		end
1888
	end
1889
end)
1890
1891
--//=================================\\
1892
--||			DAMAGING
1893
--\\=================================//
1894
1895
function ApplyDamage(Humanoid,Damage,OneShot)
1896
	Damage = Damage * DAMAGEMULTIPLIER
1897
	local DEAD = false
1898
	if Humanoid.Health < 2000 and OneShot == false then
1899
		if Humanoid.Health - Damage > 0 then
1900
			Humanoid.Health = Humanoid.Health - Damage
1901
		else
1902
			Humanoid.Parent:BreakJoints()
1903
			DEAD = true
1904
		end
1905
	else
1906
		DEAD = true
1907
		Humanoid.Parent:BreakJoints()
1908
	end
1909
	if DEAD == true then
1910
		local PARTS = {}
1911
		for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
1912
			if CHILD:IsA("BasePart") then
1913
				table.insert(PARTS,CHILD)
1914
			end
1915
		end
1916
		coroutine.resume(coroutine.create(function()
1917
			wait(2)
1918
			repeat
1919
				Swait()
1920
				local PIECE = nil
1921
				if MRANDOM(1,5) == 1 then
1922
					for E = 1, #PARTS do
1923
						if MRANDOM(1,5) == 1 then
1924
							PIECE = PARTS[E]
1925
							table.remove(PARTS,E)
1926
							break
1927
						end
1928
					end
1929
				end
1930
				if PIECE ~= nil then
1931
					if PIECE.Name == "Head" then
1932
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
1933
					else
1934
						WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
1935
					end
1936
					PIECE:remove()
1937
				end
1938
			until #PARTS == 0
1939
		end))
1940
	end
1941
end
1942
1943
1944
function ApplyDamage3(Humanoid,Damage,TorsoPart)
1945
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1946
	defence.Name = ("HitBy"..Player.Name)
1947
	game:GetService("Debris"):AddItem(defence, 0.001)
1948
	Damage = Damage * DAMAGEMULTIPLIER
1949
	if Humanoid.Health ~= 0 then
1950
		local CritChance = MRANDOM(1,100)
1951
		if Damage > Humanoid.Health then
1952
			Damage = math.ceil(Humanoid.Health)
1953
			if Damage == 0 then
1954
				Damage = 0.1
1955
			end
1956
		end
1957
		Humanoid.Health = Humanoid.Health - Damage
1958
	end
1959
end
1960
1961
function ApplyDamage3(Humanoid,Damage,TorsoPart)
1962
	local defence = Instance.new("BoolValue",Humanoid.Parent)
1963
	defence.Name = ("HitBy"..Player.Name)
1964
	game:GetService("Debris"):AddItem(defence, 0.001)
1965
	Damage = Damage * DAMAGEMULTIPLIER
1966
	if Humanoid.Health ~= 0 then
1967
		local CritChance = MRANDOM(1,100)
1968
		if Damage > Humanoid.Health then
1969
			Damage = math.ceil(Humanoid.Health)
1970
			if Damage == 0 then
1971
				Damage = 0.1
1972
			end
1973
		end
1974
		Humanoid.Health = Humanoid.Health - Damage
1975
	end
1976
end
1977
1978
function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
1979
	local CHILDREN = workspace:GetDescendants()
1980
	for index, CHILD in pairs(CHILDREN) do
1981
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
1982
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1983
			if HUM then
1984
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1985
				if TORSO then
1986
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1987
						if INSTAKILL == true then
1988
							CHILD:BreakJoints()
1989
						else
1990
							local DMG = MRANDOM(MINDMG,MAXDMG)
1991
							ApplyDamage(HUM,DMG,TORSO)
1992
						end
1993
						if FLING > 0 then
1994
							for _, c in pairs(CHILD:GetChildren()) do
1995
								if c:IsA("BasePart") then
1996
									local bv = Instance.new("BodyVelocity") 
1997
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1998
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1999
									bv.Parent = c
2000
									Debris:AddItem(bv,0.05)
2001
								end
2002
							end
2003
						end
2004
					end
2005
				end
2006
			end
2007
		end
2008
	end
2009
end
2010
2011
function CameraEnshaking(Length, Intensity)
2012
	coroutine.resume(coroutine.create(function()
2013
		local intensity = 1 * Intensity
2014
		local rotM = 0.01 * Intensity
2015
		for i = 0, Length, 0.1 do
2016
			Swait()
2017
			intensity = intensity - 0.05 * Intensity / Length
2018
			rotM = rotM - 5.0E-4 * Intensity / Length
2019
			Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
2020
			Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
2021
		end
2022
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
2023
	end))
2024
end
2025
2026
function KillChildren(v)
2027
	v:BreakJoints()
2028
	for _, c in pairs(v:GetChildren()) do
2029
		if c:IsA("BasePart") then
2030
			if c.Transparency < 1 then
2031
				if c:FindFirstChildOfClass("Decal") then
2032
					c:FindFirstChildOfClass("Decal"):remove()
2033
				end
2034
				particles(c)
2035
				c.PE.Enabled = true
2036
				c.Parent = Effects
2037
				c.CanCollide = false
2038
				c.Material = "Neon"
2039
				c.Color = C3(1,0,0)
2040
				c.Transparency = 1
2041
				local grav = Instance.new("BodyPosition",c)
2042
				grav.P = 20000
2043
				grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2044
				grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
2045
				grav.Name = "GravityForce"
2046
				coroutine.resume(coroutine.create(function()
2047
					for i = 1, 20 do
2048
						Swait()
2049
						c.Transparency = c.Transparency + 1/20
2050
					end
2051
					c.PE.Enabled = false
2052
					Debris:AddItem(c,2)
2053
				end))
2054
			end
2055
		end
2056
	end
2057
end
2058
2059
function ApplyAoE(POSITION,RANGE)
2060
	local CHILDREN = workspace:GetDescendants()
2061
	for index, CHILD in pairs(CHILDREN) do
2062
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2063
			local LISTED = false
2064
			for LIST = 1, #WHITELIST do
2065
				if WHITELIST[LIST] ~= nil then
2066
					if CHILD.Name == WHITELIST[LIST] then
2067
						LISTED = true
2068
					end
2069
				end
2070
			end
2071
			if LISTED == false then
2072
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2073
				if HUM then
2074
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2075
					if TORSO then
2076
						if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
2077
							KillChildren(CHILD)
2078
						end
2079
					end
2080
				end
2081
			end
2082
		end
2083
	end
2084
end
2085
2086
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
2087
	coroutine.resume(coroutine.create(function()
2088
		local METEOR = IT("Model",Effects)
2089
		METEOR.Name = "Meteorite"
2090
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2091
		METEOR.PrimaryPart = CENTER
2092
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
2093
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2094
		for i = 1, 15 do
2095
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "In", "Fire", VT(5.1,1,5.1)*SIZE)
2096
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
2097
		end
2098
		if ISDEBREE ~= true then
2099
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2100
		else
2101
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2102
		end
2103
		local IMPACT = false
2104
		CreateSound(463593339, CENTER, 10, 0.6)
2105
		if SIZE >= 3.5 then
2106
			for i = 1, MRANDOM(3,7) do
2107
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
2108
			end
2109
		end
2110
		for i = 1, 200 do
2111
			Swait()
2112
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
2113
			if HITFLOOR == nil then
2114
				local ORI = CENTER.Orientation
2115
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
2116
			else
2117
				if HITFLOOR.Anchored == true then
2118
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
2119
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
2120
				end
2121
				IMPACT = true
2122
				break
2123
			end
2124
		end
2125
		if IMPACT == true then
2126
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2127
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
2128
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
2129
			ApplyAoE(CENTER.Position,30*SIZE)
2130
		end
2131
		METEOR:remove()
2132
	end))
2133
end
2134
2135
function ApplyAoE4(POSITION,RANGE,BRUTAL)
2136
	local CHILDREN = workspace:GetDescendants()
2137
	for index, CHILD in pairs(CHILDREN) do
2138
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2139
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2140
			if HUM then
2141
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2142
				if TORSO then
2143
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2144
						if BRUTAL == true then
2145
							Kill(CHILD)
2146
						else
2147
							CHILD:BreakJoints()
2148
						end
2149
					end
2150
				end
2151
			end
2152
		end
2153
	end
2154
end
2155
2156
function Kill(Char)
2157
	local NewCharacter = IT("Model",Effects)
2158
	NewCharacter.Name = "Ow im ded ;-;"
2159
	for _, c in pairs(Char:GetDescendants()) do
2160
		if c:IsA("BasePart") and c.Transparency == 0 then
2161
			c:BreakJoints()
2162
			c.Material = "Glass"
2163
			c.Color = C3(1,0,0)
2164
			c.CanCollide = true
2165
			c.Transparency = 0.3
2166
			if c:FindFirstChildOfClass("SpecialMesh") then
2167
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2168
			end
2169
			if c.Name == "Head" then
2170
				c:ClearAllChildren()
2171
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
2172
			end
2173
			if c.ClassName == "MeshPart" then
2174
				c.TextureID = ""
2175
			end
2176
			if c:FindFirstChildOfClass("BodyPosition") then
2177
				c:FindFirstChildOfClass("BodyPosition"):remove()
2178
			end
2179
			if c:FindFirstChildOfClass("ParticleEmitter") then
2180
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2181
			end
2182
			c.Parent = NewCharacter
2183
			c.Name = "DeadPart"
2184
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
2185
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
2186
		end
2187
	end
2188
	Char:remove()
2189
	Debris:AddItem(NewCharacter,5)
2190
end
2191
2192
function ApplyAoE(POSITION,RANGE,BRUTAL)
2193
	local CHILDREN = workspace:GetDescendants()
2194
	for index, CHILD in pairs(CHILDREN) do
2195
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2196
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2197
			if HUM then
2198
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2199
				if TORSO then
2200
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2201
						if BRUTAL == true then
2202
							Kill(CHILD)
2203
						else
2204
							CHILD:BreakJoints()
2205
						end
2206
					end
2207
				end
2208
			end
2209
		end
2210
	end
2211
end
2212
2213
function ApplyAoE(POSITION,RANGE,BRUTAL)
2214
	local CHILDREN = workspace:GetDescendants()
2215
	for index, CHILD in pairs(CHILDREN) do
2216
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2217
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2218
			if HUM then
2219
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2220
				if TORSO then
2221
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2222
						if BRUTAL == true then
2223
							Kill(CHILD)
2224
						else
2225
							CHILD:BreakJoints()
2226
						end
2227
					end
2228
				end
2229
			end
2230
		end
2231
	end
2232
end
2233
2234
function Banish(Foe)
2235
	if Foe then
2236
		coroutine.resume(coroutine.create(function()
2237
			--if game.Players:FindFirstChild(Foe.Name) then
2238
				table.insert(TOBANISH,Foe.Name)
2239
				printbye(Foe.Name)
2240
			--end
2241
			Foe.Archivable = true
2242
			local CLONE = Foe:Clone()
2243
			Foe:Destroy()
2244
			CLONE.Parent = Effects
2245
			CLONE:BreakJoints()
2246
			local MATERIALS = {"Glass","Neon"}
2247
			for _, c in pairs(CLONE:GetDescendants()) do
2248
				if c:IsA("BasePart") then
2249
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
2250
 						CreateSound(138271815, c, 10, 1, false)
2251
					end
2252
					c.Anchored = true
2253
					c.Transparency = c.Transparency + 0.2
2254
					c.Material = MATERIALS[MRANDOM(1,2)]
2255
					c.Color = C3(1,0,0)
2256
					if c.ClassName == "MeshPart" then
2257
						c.TextureID = ""
2258
					end
2259
					if c:FindFirstChildOfClass("SpecialMesh") then
2260
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2261
					end
2262
					if c:FindFirstChildOfClass("Decal") then
2263
						c:FindFirstChildOfClass("Decal"):remove()
2264
					end
2265
					c.Name = "Banished"
2266
					c.CanCollide = false
2267
				else
2268
					c:remove()
2269
				end
2270
			end
2271
			local A = false
2272
			for i = 1, 35 do
2273
				if A == false then
2274
					A = true
2275
				elseif A == true then
2276
					A = false
2277
				end
2278
				for _, c in pairs(CLONE:GetDescendants()) do
2279
					if c:IsA("BasePart") then
2280
						c.Anchored = true
2281
						c.Material = MATERIALS[MRANDOM(1,2)]
2282
						c.Transparency = c.Transparency + 0.8/35
2283
						if A == false then
2284
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
2285
						elseif A == true then
2286
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
2287
						end
2288
					end
2289
				end
2290
				Swait()
2291
			end
2292
			CLONE:remove()
2293
		end))
2294
	end
2295
end
2296
2297
2298
function ApplyAoE(POSITION,RANGE,ISBANISH)
2299
	local CHILDREN = workspace:GetDescendants()
2300
	for index, CHILD in pairs(CHILDREN) do
2301
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2302
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2303
			if HUM then
2304
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2305
				if TORSO then
2306
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2307
						if ISBANISH == true then
2308
							Banish(CHILD)
2309
						else
2310
							if ISBANISH == "Gravity" then
2311
								HUM.PlatformStand = true
2312
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2313
									local grav = Instance.new("BodyPosition",TORSO)
2314
									grav.D = 15
2315
									grav.P = 20000
2316
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2317
									grav.position = TORSO.Position
2318
									grav.Name = "V3BanishForce"..Player.Name
2319
								else
2320
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2321
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2322
								end
2323
							else
2324
								HUM.PlatformStand = false
2325
							end
2326
						end
2327
					elseif ISBANISH == "Gravity" then
2328
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2329
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2330
							HUM.PlatformStand = false
2331
						end
2332
					end
2333
				end
2334
			end
2335
		end
2336
	end
2337
end
2338
2339
function SpawnSmite(POS)
2340
	local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
2341
	local EMITPOS = HITPOS
2342
	if HITFLOOR ~= nil then
2343
		if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
2344
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
2345
			EMITPOS = HITPOS
2346
		elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2347
			HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
2348
			EMITPOS = HITPOS
2349
		end
2350
	end
2351
	if HITFLOOR ~= nil then
2352
		ApplyAoE(EMITPOS,10)
2353
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
2354
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2355
		WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
2356
		for i = 1, 5 do
2357
			local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
2358
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
2359
		end
2360
	end
2361
end
2362
2363
--//=================================\\
2364
--||	ATTACK FUNCTIONS AND STUFF
2365
--\\=================================//
2366
2367
function eh()
2368
	ATTACK = true
2369
	Rooted = false
2370
	Speed = 20
2371
		Swait()
2372
		local CHILDREN = workspace:GetDescendants()
2373
		for index, CHILD in pairs(CHILDREN) do
2374
			if CHILD.ClassName == "Model" and CHILD ~= Character then
2375
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2376
				if HUM then
2377
					local TORSO = CHILD:FindFirstChild("Head")
2378
					if TORSO then
2379
						if (TORSO.Position - Head.Position).Magnitude <= 25 then
2380
							WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2381
							TORSO:remove()
2382
							if CHILD:FindFirstChild("Torso") then
2383
								Ragdoll(CHILD,Torso,true)
2384
							elseif CHILD:FindFirstChild("UpperTorso") then
2385
								R15Ragdoll(CHILD,true)
2386
							end
2387
						end
2388
					end
2389
				end
2390
			end
2391
		end
2392
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2393
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 1})
2394
	for i=0, 0.3, 0.1 / Animation_Speed do
2395
		Swait()
2396
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)	
2397
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2398
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
2399
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
2400
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2401
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2402
end
2403
	Speed = 20
2404
	ATTACK = false
2405
	Rooted = false
2406
end
2407
2408
function Taunt()
2409
	ATTACK = true
2410
	Rooted = true
2411
	        CreateSound("1238240145", Torso, 6, 0.9)
2412
		for i=0, 0.6, 0.1 / Animation_Speed do
2413
			Swait()
2414
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2415
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2416
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2417
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2418
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2419
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2420
		end
2421
		for i=0, 0.6, 0.1 / Animation_Speed do
2422
			Swait()
2423
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2424
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2425
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2426
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2427
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2428
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2429
		end
2430
		for i=0, 0.6, 0.1 / Animation_Speed do
2431
			Swait()
2432
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2433
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2434
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2435
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2436
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2437
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2438
		end
2439
		for i=0, 0.6, 0.1 / Animation_Speed do
2440
			Swait()
2441
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2442
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2443
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2444
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2445
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2446
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2447
		end
2448
		for i=0, 0.6, 0.1 / Animation_Speed do
2449
			Swait()
2450
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2451
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2452
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2453
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2454
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2455
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2456
		end
2457
		for i=0, 0.6, 0.1 / Animation_Speed do
2458
			Swait()
2459
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2460
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2461
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2462
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(15), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2463
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2464
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2465
		end
2466
	ATTACK = false
2467
	Rooted = false
2468
end
2469
2470
function Karmaz()
2471
	if Mode == "Glitch" then
2472
		WACKYEFFECT({TIME = 30 ,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(20,20,20), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743499393, SoundPitch = 1.05, SoundVolume = 15})
2473
		sick.TimePosition = 15
2474
		sick.SoundId = "rbxassetid://1789295287"
2475
		tecks2.Text = "KARMA."
2476
		tecks2.Font = "Antique"
2477
		Mode = "Karma"
2478
	elseif Mode == "Karma" then
2479
		WACKYEFFECT({TIME = 30 ,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(20,20,20), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743499393, SoundPitch = 1.05, SoundVolume = 15})
2480
		sick.TimePosition = 0
2481
		tecks2.Text = "The Glitched."
2482
		tecks2.Font = "Code"
2483
		sick.SoundId = "rbxassetid://930541401"
2484
		Mode = "Glitch"
2485
	else
2486
		print("asd")
2487
	end
2488
end
2489
2490
function TakeOnMe()
2491
	Speed = 16
2492
	local MEME = CreateSound(1171341451, Effects, 2, 1, false)
2493
	ATTACK = true
2494
	Rooted = false
2495
	local DANCE = true
2496
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2497
		if NEWKEY == "p" then
2498
			DANCE = false
2499
		end
2500
	end)
2501
	PLAYSONG = false
2502
	while true do
2503
		for i = 1, 15 do
2504
			Swait()
2505
			MEME.Parent = Effects
2506
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2507
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2508
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2509
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2510
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2511
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2512
		end
2513
		if DANCE == false then
2514
			break
2515
		end
2516
		for i = 1, 15 do
2517
			Swait()
2518
			MEME.Parent = Effects
2519
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2520
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
2521
			if MRANDOM(1,7) == 1 then
2522
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2523
			end			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2524
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2525
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2526
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2527
		end
2528
	end
2529
	PLAYSONG = true
2530
	KEY:Disconnect()
2531
	MEME:remove()
2532
	Speed = 25
2533
	ATTACK = false
2534
	Rooted = false
2535
end
2536
2537
function Intro()
2538
	ATTACK = true
2539
	Rooted = true
2540
	repeat 
2541
		Swait() 
2542
		WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2543
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2544
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2545
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2546
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2547
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2548
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
2549
	until sick.TimePosition > 114
2550
	repeat 
2551
		Swait()
2552
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2553
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2554
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2555
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2556
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2557
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2558
	until sick.TimePosition > 116
2559
	repeat 
2560
		Swait() 
2561
		WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0.2,0.2), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
2562
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2563
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2564
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(45), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2565
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(45), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2566
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2567
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2568
	until sick.TimePosition >119
2569
	Gun.Parent = Character
2570
	tecks2.TextTransparency = 0
2571
	for i = 1, 100 do
2572
		Swait()
2573
		for _, c in pairs(Character:GetChildren()) do
2574
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2575
				c.Transparency = 0
2576
			end
2577
		end
2578
		for _, c in pairs(Weapon:GetChildren()) do
2579
			if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2580
				c.Transparency = 0
2581
			end
2582
		end
2583
for _, c in pairs(Weapon:GetDescendants()) do
2584
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2585
		c.Material = "Glass"
2586
		c.Color = C3(255,255,255)
2587
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2588
		c.Color = C3(1,0,0)
2589
		c.Material = "Neon"
2590
	end
2591
end
2592
	end
2593
	TRANSFORMED = true
2594
	ATTACK = false
2595
	Rooted = false
2596
end
2597
2598
function Shot()
2599
	ATTACK = true
2600
	Rooted = false
2601
	for i=0, 0.2, 0.05 / Animation_Speed do
2602
		Swait()
2603
		turnto(Mouse.Hit.p)
2604
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2605
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2606
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2607
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2608
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2609
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2610
	end
2611
	repeat
2612
		for i=0, 0.2, 0.05 / Animation_Speed do
2613
			Swait()
2614
			turnto(Mouse.Hit.p)
2615
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2616
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2617
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2618
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2619
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2620
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2621
		end
2622
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2623
		SpawnTrail(Hole.Position,POS)
2624
		if HIT ~= nil then
2625
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2626
				Banish(HIT.Parent)
2627
			end
2628
		end
2629
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2630
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2631
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2632
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2633
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
2634
		for i=0, 0.2, 0.05 / Animation_Speed do
2635
			Swait()
2636
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2637
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
2638
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2639
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2640
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2641
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2642
		end
2643
	until KEYHOLD == false
2644
	ATTACK = false
2645
	Rooted = false
2646
end
2647
2648
function Shot2()
2649
	ATTACK = true
2650
	Rooted = false
2651
	for i=0, 0.2, 0.05 / Animation_Speed do
2652
		Swait()
2653
		turnto(Mouse.Hit.p)
2654
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2655
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2656
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2657
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2658
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2659
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2660
	end
2661
	repeat
2662
		for i=0, 0.2, 0.05 / Animation_Speed do
2663
			Swait()
2664
			turnto(Mouse.Hit.p)
2665
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2666
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2667
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2668
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2669
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2670
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2671
		end
2672
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
2673
		SpawnTrail(Hole.Position,POS)
2674
		if HIT ~= nil then
2675
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
2676
				Kill(HIT.Parent)
2677
			end
2678
		end
2679
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2680
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2681
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2682
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2683
	Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
2684
		for i=0, 0.2, 0.05 / Animation_Speed do
2685
			Swait()
2686
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2687
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
2688
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2689
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2690
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2691
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2692
		end
2693
	until KEYHOLD == false
2694
	ATTACK = false
2695
	Rooted = false
2696
end
2697
2698
function AttackTemplate()
2699
	ATTACK = true
2700
	Rooted = false
2701
	for i=0, 1, 0.1 / Animation_Speed do
2702
		Swait()
2703
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2704
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2705
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2706
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2707
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2708
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2709
	end
2710
	ATTACK = false
2711
	Rooted = false
2712
end
2713
2714
function Finisher()
2715
	local TARGET = Mouse.Target
2716
	if TARGET ~= nil then
2717
		if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
2718
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
2719
			local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
2720
			if ROOT and HUM.Health > 0 then
2721
				local FOE = Mouse.Target.Parent
2722
				ATTACK = true
2723
				Rooted = true
2724
				RootPart.CFrame = ROOT.CFrame*CF(-1.35,0,4)
2725
				ROOT.Anchored = true
2726
				CreateSound(670796769, Torso, 9999, 0.6, false)
2727
				CreateSound(159882598, Torso, 5, 0.9, false)
2728
				for i=0, 0.4, 0.1 / Animation_Speed do
2729
					Swait()
2730
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2731
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2732
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2733
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2734
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2735
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2736
				end
2737
				HUM.PlatformStand = true
2738
				ROOT.CFrame = ROOT.CFrame * CF(0,-2*ROOT.Size.Z,0) * ANGLES(RAD(-90), RAD(0), RAD(0))
2739
				coroutine.resume(coroutine.create(function()
2740
					Swait()
2741
					ROOT.Anchored = true
2742
				end))
2743
				RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
2744
				for i=0, 0.2, 0.1 / Animation_Speed do
2745
					Swait()
2746
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2747
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2748
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2749
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2750
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2751
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2752
				end
2753
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2754
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2755
				for i=0, 0.2, 0.1 / Animation_Speed do
2756
					Swait()
2757
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2758
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
2759
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2760
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2761
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2762
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2763
				end
2764
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2765
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2766
				local AMMO = 6
2767
				local FIRING = true
2768
				local SHOOTING = false
2769
				local TIMER = 70
2770
				CreateSound(147722227, GunPoint, 6, 1.3, false)
2771
				for i=0, 0.2, 0.1 / Animation_Speed do
2772
					Swait()
2773
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2774
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2775
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2776
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2777
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2778
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2779
				end
2780
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2781
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2782
				for i = 1, 6 do
2783
					local GUNPOS = Hole.CFrame*CF(0, 0, 0).p
2784
					local DISTANCE = (FOE.Head.Position - GUNPOS).Magnitude
2785
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2786
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2787
					HUM.Health = HUM.Health/1.5
2788
					for i=0, 0.2, 0.1 / Animation_Speed do
2789
						Swait()
2790
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2791
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2792
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2793
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2794
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2795
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2796
				end
2797
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2798
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2799
					for i=0, 0.2, 0.1 / Animation_Speed do
2800
						Swait()
2801
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2802
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
2803
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2804
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2805
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2806
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
2807
					end
2808
				end
2809
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2810
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
2811
				ApplyDamage(HUM,0,true)
2812
				FOE:BreakJoints()
2813
				ROOT.Anchored = false
2814
				for i=0, 0.3, 0.1 / Animation_Speed do
2815
					Swait()
2816
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2817
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
2818
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2819
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.525, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2820
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2821
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2822
				end
2823
				ATTACK = false
2824
				Rooted = false
2825
			end
2826
		end
2827
	end
2828
end
2829
2830
2831
--//=================================\\
2832
--||	  ASSIGN THINGS TO KEYS
2833
--\\=================================//
2834
2835
function MouseDown(Mouse)
2836
	if ATTACK == false then
2837
	end
2838
end
2839
2840
function MouseUp(Mouse)
2841
HOLD = false
2842
end
2843
2844
function KeyDown(Key)
2845
	KEYHOLD = true
2846
	if Key == "z" and ATTACK == false then
2847
		Shot()
2848
	end
2849
	
2850
	if Key == "m" and ATTACK == false then
2851
		Karmaz()
2852
	end
2853
2854
	if Key == "v" and ATTACK == false then
2855
		Shot2()
2856
	end
2857
2858
	if Key == "x" and ATTACK == false then
2859
                Finisher()
2860
	end
2861
2862
	if Key == "t" and ATTACK == false then
2863
               Taunt()
2864
	end
2865
2866
	if Key == "c" and ATTACK == false then
2867
                eh()
2868
	end
2869
end
2870
2871
function KeyUp(Key)
2872
	KEYHOLD = false
2873
end
2874
2875
	Mouse.Button1Down:connect(function(NEWKEY)
2876
		MouseDown(NEWKEY)
2877
	end)
2878
	Mouse.Button1Up:connect(function(NEWKEY)
2879
		MouseUp(NEWKEY)
2880
	end)
2881
	Mouse.KeyDown:connect(function(NEWKEY)
2882
		KeyDown(NEWKEY)
2883
	end)
2884
	Mouse.KeyUp:connect(function(NEWKEY)
2885
		KeyUp(NEWKEY)
2886
	end)
2887
2888
--//=================================\\
2889
--\\=================================//
2890
2891
2892
function unanchor()
2893
	if UNANCHOR == true then
2894
		g = Character:GetChildren()
2895
		for i = 1, #g do
2896
			if g[i].ClassName == "Part" then
2897
				g[i].Anchored = false
2898
			end
2899
		end
2900
	end
2901
end
2902
2903
2904
--//=================================\\
2905
--||	WRAP THE WHOLE SCRIPT UP
2906
--\\=================================//
2907
2908
Humanoid.Changed:connect(function(Jump)
2909
	if Jump == "Jump" and (Disable_Jump == true) then
2910
		Humanoid.Jump = false
2911
	end
2912
end)
2913
2914
local FF = IT("ForceField",Character)
2915
FF.Visible = false
2916
2917
INSTANT = false
2918
Speed = 20
2919
2920
while true do
2921
	Swait()
2922
	SINE = SINE + CHANGE
2923
		ANIMATE.Parent = nil
2924
		local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
2925
		IDLEANIMATION:Play()
2926
		if TRANSFORMED == true then
2927
			tecks2.TextTransparency = 0
2928
			for _, c in pairs(Character:GetChildren()) do
2929
				if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
2930
					c.Anchored = false
2931
					c.Transparency = 0
2932
				end
2933
			end
2934
			for _, c in pairs(Weapon:GetChildren()) do
2935
				if c.ClassName == "Part" then
2936
					c.Transparency = 0
2937
				end
2938
			end
2939
			local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2940
			local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2941
			local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
2942
			local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
2943
			local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2944
			if ATTACK == false and VALUE2 == false then
2945
                            end
2946
			if ANIM == "Walk" and TORSOVELOCITY > 1 then
2947
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2948
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_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)
2949
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2950
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2951
			elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2952
				RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2953
				Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2954
				RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2955
				LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2956
			end
2957
			if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2958
				ANIM = "Jump"
2959
				if ATTACK == false then
2960
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2961
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2962
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2963
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2964
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2965
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2966
			       end
2967
			elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2968
				ANIM = "Fall"
2969
				if ATTACK == false then
2970
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2971
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2972
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2973
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2974
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2975
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2976
				end
2977
			elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2978
				ANIM = "Idle"
2979
				if ATTACK == false then
2980
				if Mode == "Glitch" then
2981
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 45) + MRANDOM(-4,4)), RAD(0 + MRANDOM(-4,4)), RAD(-10 + MRANDOM(-4,4))), 3 / Animation_Speed)
2982
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15+ 5 * COS(SINE / 30) + MRANDOM(-4,4)), RAD(0 + MRANDOM(-4,4)), RAD(12 + MRANDOM(-4,4))) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
2983
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.15 + 0.12 * COS(SINE / 45), -0.05 + 0.1 * COS(SINE / 45)) * ANGLES(RAD(-15 - 6 * COS(SINE / 45)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2984
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.4, 0.8, 0) * ANGLES(RAD(165 + MRANDOM(-4,4)), RAD(0 + MRANDOM(-4,4)), RAD(25 + MRANDOM(-4,4))) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
2985
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 45), -0.01) * ANGLES(RAD(-15- 6 * COS(SINE / 45)), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
2986
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 45), -0.01) * ANGLES(RAD(-15- 6 * COS(SINE / 45)), RAD(-80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2987
				elseif Mode == "Karma" then
2988
						RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
2989
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
2990
			if MRANDOM(1,7) == 1 then
2991
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
2992
			end					
2993
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2994
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2995
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2996
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2997
				end
2998
				end
2999
			elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
3000
				ANIM = "Walk"
3001
				if ATTACK == false then
3002
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3003
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
3004
			if MRANDOM(1,7) == 1 then
3005
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
3006
			end
3007
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
3008
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
3009
					RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
3010
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
3011
				end
3012
			end
3013
		end
3014
	--end
3015
	Humanoid.DisplayDistanceType = "None"
3016
	unanchor()
3017
	if scrollColortecks2 ~= 2 then
3018
		scrollColortecks2 = 2
3019
		currentColor = BrickColor.new("Really black")
3020
	elseif scrollColortecks2 ~= 1 then
3021
		scrollColortecks2 = 1
3022
		currentColor = BrickColor.new("Institutional white")
3023
	end
3024
	tecks2.TextColor3 = currentColor.Color
3025
	tecks2.TextStrokeColor3 = currentColor.Color
3026
	Humanoid.MaxHealth = "inf"
3027
	Humanoid.Health = "inf"
3028
	if Rooted == false then
3029
		Disable_Jump = false
3030
		Humanoid.WalkSpeed = Speed
3031
	elseif Rooted == true then
3032
		Disable_Jump = true
3033
		Humanoid.WalkSpeed = 0
3034
	end
3035
	if Head:FindFirstChild("face") then
3036
		Head.face.Texture = "rbxassetid://2090706356"
3037
	end
3038
	local MATHS = {"0","1"}
3039
	Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
3040
	Humanoid.PlatformStand = false
3041
	if INTRO == false and INSTANT == false then
3042
		INTRO = true
3043
		coroutine.resume(coroutine.create(function()
3044
			sick:Play()
3045
			Intro()
3046
		end))
3047
	end
3048
	if INSTANT == true then
3049
		if TRANSFORMED == false then
3050
			sick.TimePosition = 60
3051
			sick:Play()
3052
		end
3053
		TRANSFORMED = true
3054
	end
3055
	script.Parent = PlayerGui
3056
	Character.Parent = workspace
3057
	Humanoid.Parent = Character
3058
end
3059
--//=================================\\
3060
--\\=================================//
3061
3062
3063
3064
3065
3066
--//====================================================\\--
3067
--||			  		 END OF SCRIPT
3068
--\\====================================================//--