View difference between Paste ID: XtE8cCx6 and m1MRu7MM
SHOW: | | - or go back to the newest paste.
1
--                    ------------------------------
2
--                   /                              \
3-
--                   |      Edit By EnderPlayBro    |
3+
--                   |    Edit By TameDoNotClick    |
4
--                   |       Code By ozzak1003      |
5
--                   |                              |
6
--                   |          Name:Scipt          |  
7
--                   |            Susie             |
8
--                   |      (dont leak it pls)      |
9
--                   \                              /
10
--                    ------------------------------
11
12
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
13
local Player,game,owner = owner,game
14
local RealPlayer = Player
15
do
16
	local rp = RealPlayer
17
	script.Parent = rp.Character
18
	
19
	--RemoteEvent for communicating
20
	local Event = Instance.new("RemoteEvent")
21
	Event.Name = "UserInput_Event"
22
23
	--Fake event to make stuff like Mouse.KeyDown work
24
	local function fakeEvent()
25
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
26
		t.connect = t.Connect
27
		return t
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
32
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
33
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
34
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
35
	end}
36
	--Merged 2 functions into one by checking amount of arguments
37
	CAS.UnbindAction = CAS.BindAction
38
39
	--This function will trigger the events that have been :Connect()'ed
40
	local function te(self,ev,...)
41
		local t = m[ev]
42
		if t and t._fakeEvent then
43
			for _,f in pairs(t.Functions) do
44
				f(...)
45
			end
46
		end
47
	end
48
	m.TrigEvent = te
49
	UIS.TrigEvent = te
50
51
	Event.OnServerEvent:Connect(function(plr,io)
52
	    if plr~=rp then return end
53
		m.Target = io.Target
54
		m.Hit = io.Hit
55
		if not io.isMouse then
56
			local b = io.UserInputState == Enum.UserInputState.Begin
57
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
58
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
59
			end
60
			for _,t in pairs(CAS.Actions) do
61
				for _,k in pairs(t.Keys) do
62
					if k==io.KeyCode then
63
						t.Function(t.Name,io.UserInputState,io)
64
					end
65
				end
66
			end
67
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
68
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
69
	    end
70
	end)
71
	Event.Parent = NLS([==[
72
	local Player = game:GetService("Players").LocalPlayer
73
	local Event = script:WaitForChild("UserInput_Event")
74
75
	local Mouse = Player:GetMouse()
76
	local UIS = game:GetService("UserInputService")
77
	local input = function(io,a)
78
		if a then return end
79
		--Since InputObject is a client-side instance, we create and pass table instead
80
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
81
	end
82
	UIS.InputBegan:Connect(input)
83
	UIS.InputEnded:Connect(input)
84
85
	local h,t
86
	--Give the server mouse data 30 times every second, but only if the values changed
87
	--If player is not moving their mouse, client won't fire events
88
	while wait(1/30) do
89
		if h~=Mouse.Hit or t~=Mouse.Target then
90
			h,t=Mouse.Hit,Mouse.Target
91
			Event:FireServer({isMouse=true,Target=t,Hit=h})
92
		end
93
	end]==],Player.Character)
94
95
	----Sandboxed game object that allows the usage of client-side methods and services
96
	--Real game object
97
	local _rg = game
98
99
	--Metatable for fake service
100
	local fsmt = {
101
		__index = function(self,k)
102
			local s = rawget(self,"_RealService")
103
			if s then return s[k] end
104
		end,
105
		__newindex = function(self,k,v)
106
			local s = rawget(self,"_RealService")
107
			if s then s[k]=v end
108
		end,
109
		__call = function(self,...)
110
			local s = rawget(self,"_RealService")
111
			if s then return s(...) end
112
		end
113
	}
114
	local function FakeService(t,RealService)
115
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
116
		return setmetatable(t,fsmt)
117
	end
118
119
	--Fake game object
120
	local g = {
121
		GetService = function(self,s)
122
			return self[s]
123
		end,
124
		Players = FakeService({
125
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
126
		},"Players"),
127
		UserInputService = FakeService(UIS,"UserInputService"),
128
		ContextActionService = FakeService(CAS,"ContextActionService"),
129
	}
130
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
131
	g.service = g.GetService
132
	
133
	g.RunService = FakeService({
134
		RenderStepped = _rg:GetService("RunService").Heartbeat,
135
		BindToRenderStep = function(self,name,_,fun)
136
			self._btrs[name] = self.Heartbeat:Connect(fun)
137
		end,
138
		UnbindFromRenderStep = function(self,name)
139
			self._btrs[name]:Disconnect()
140
		end,
141
	},"RunService")
142
143
	setmetatable(g,{
144
		__index=function(self,s)
145
			return _rg:GetService(s) or typeof(_rg[s])=="function"
146
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
147
		end,
148
		__newindex = fsmt.__newindex,
149
		__call = fsmt.__call
150
	})
151
	--Changing owner to fake player object to support owner:GetMouse()
152
	game,owner = g,g.Players.LocalPlayer
153
end
154
155
Player = owner
156
PlayerGui = Player.PlayerGui
157
Cam = workspace.CurrentCamera
158
Backpack = Player.Backpack
159
Character = Player.Character
160
Humanoid = Character.Humanoid
161
Mouse = Player:GetMouse()
162
RootPart = Character["HumanoidRootPart"]
163
Torso = Character["Torso"]
164
Head = Character["Head"]
165
RightArm = Character["Right Arm"]
166
LeftArm = Character["Left Arm"]
167
RightLeg = Character["Right Leg"]
168
LeftLeg = Character["Left Leg"]
169
RootJoint = RootPart["RootJoint"]
170
Neck = Torso["Neck"]
171
RightShoulder = Torso["Right Shoulder"]
172
LeftShoulder = Torso["Left Shoulder"]
173
RightHip = Torso["Right Hip"]
174
LeftHip = Torso["Left Hip"]
175
176
removeuseless = game:GetService("Debris")
177
laff = Instance.new("Sound",Head)
178
tauntdebounce = false
179
Character = Player.Character
180
Humanoid = Character.Humanoid
181
---------
182
plr = game.Players.LocalPlayer
183
chara = plr.Character
184
mouse = plr:GetMouse()
185
Create = Instance.new
186
Huge = math.huge
187
188
189
local shadowhead = Create("Part",chara.Head)
190
shadowhead.BrickColor = BrickColor.new("Really black")
191
shadowhead.Size = Vector3.new(1.2, 0.6, 1)
192
shadowhead.CanCollide = false
193
local shadowheadmesh = Create("SpecialMesh",shadowhead)
194
shadowheadmesh.MeshType = "Head"
195
shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
196
local weld2 = Create("Weld",shadowhead)
197
weld2.Part0 = shadowhead
198
weld2.Part1 = chara.Head
199
weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
200
201
Player = game:GetService("Players").LocalPlayer
202
PlayerGui = Player.PlayerGui
203
Cam = workspace.CurrentCamera
204
Backpack = Player.Backpack
205
Character = Player.Character
206
char = Player.Character
207
Humanoid = Character.Humanoid
208
Mouse = Player:GetMouse()
209
RootPart = Character["HumanoidRootPart"]
210
Torso = Character["Torso"]
211
Head = Character["Head"]
212
RightArm = Character["Right Arm"]
213
LeftArm = Character["Left Arm"]
214
RightLeg = Character["Right Leg"]
215
LeftLeg = Character["Left Leg"]
216
RootJoint = RootPart["RootJoint"]
217
Neck = Torso["Neck"]
218
RightShoulder = Torso["Right Shoulder"]
219
LeftShoulder = Torso["Left Shoulder"]
220
RightHip = Torso["Right Hip"]
221
LeftHip = Torso["Left Hip"]
222
223
local Orin = "http://www.roblox.com/asset/?id=7074786"
224
Head.face.Texture = Orin
225
function weld(a, b, acf)
226
	local w = Instance.new("Weld", a)
227
	w.Part0 = a
228
	w.Part1 = b
229
	w.C0 = acf
230
end
231
--------------------------------
232
char.Head.face.Texture = "rbxassetid://89221257"
233
--------------------------------
234
235
-------------------------------------------------------
236
237
local FavIDs = {
238
	340106355, --Nefl Crystals
239
	927529620, --Dimension
240
	876981900, --Fantasy
241
	398987889, --Ordinary Days
242
	1117396305, --Oh wait, it's you.
243
	885996042, --Action Winter Journey
244
	919231299, --Sprawling Idiot Effigy
245
	743466274, --Good Day Sunshine
246
	727411183, --Knife Fight
247
	1402748531, --The Earth Is Counting On You!
248
	595230126 --Robot Language
249
	}
250
251
252
253
--The reality of my life isn't real but a Universe -makhail07
254
wait(0.2)
255
local plr = game:service'Players'.LocalPlayer
256
print('Local User is '..plr.Name)
257
print('SCRIPTNAME Loaded')
258
print('SCRIPT DESCRIPTION')
259
local char = plr.Character
260
local hum = char.Humanoid
261
local hed = char.Head
262
local root = char.HumanoidRootPart
263
local rootj = root.RootJoint
264
local tors = char.Torso
265
local ra = char["Right Arm"]
266
local la = char["Left Arm"]
267
local rl = char["Right Leg"]
268
local ll = char["Left Leg"]
269
local neck = tors["Neck"]
270
local mouse = plr:GetMouse()
271
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
272
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
273
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
274
local maincolor = BrickColor.new("Plum")
275
276
-------------------------------------------------------
277
--Start Good Stuff--
278
-------------------------------------------------------
279
cam = game.Workspace.CurrentCamera
280
CF = CFrame.new
281
angles = CFrame.Angles
282
attack = false
283
Euler = CFrame.fromEulerAnglesXYZ
284
Rad = math.rad
285
IT = Instance.new
286
BrickC = BrickColor.new
287
Cos = math.cos
288
Acos = math.acos
289
Sin = math.sin
290
Asin = math.asin
291
Abs = math.abs
292
Mrandom = math.random
293
Floor = math.floor
294
-------------------------------------------------------
295
--End Good Stuff--
296
-------------------------------------------------------
297
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
298
RSH, LSH = nil, nil 
299
RW = Instance.new("Weld") 
300
LW = Instance.new("Weld")
301
RH = tors["Right Hip"]
302
LH = tors["Left Hip"]
303
RSH = tors["Right Shoulder"] 
304
LSH = tors["Left Shoulder"] 
305
RSH.Parent = nil 
306
LSH.Parent = nil 
307
RW.Name = "RW"
308
RW.Part0 = tors 
309
RW.C0 = CF(1.5, 0.5, 0)
310
RW.C1 = CF(0, 0.5, 0) 
311
RW.Part1 = ra
312
RW.Parent = tors 
313
LW.Name = "LW"
314
LW.Part0 = tors 
315
LW.C0 = CF(-1.5, 0.5, 0)
316
LW.C1 = CF(0, 0.5, 0) 
317
LW.Part1 = la
318
LW.Parent = tors
319
Effects = {}
320
-------------------------------------------------------
321
--Start HeartBeat--
322
-------------------------------------------------------
323
ArtificialHB = Instance.new("BindableEvent", script)
324
ArtificialHB.Name = "Heartbeat"
325
script:WaitForChild("Heartbeat")
326
327
frame = 1 / 60
328
tf = 0
329
allowframeloss = false
330
tossremainder = false
331
332
333
lastframe = tick()
334
script.Heartbeat:Fire()
335
336
337
game:GetService("RunService").Heartbeat:connect(function(s, p)
338
	tf = tf + s
339
	if tf >= frame then
340
		if allowframeloss then
341
			script.Heartbeat:Fire()
342
			lastframe = tick()
343
		else
344
			for i = 1, math.floor(tf / frame) do
345
				script.Heartbeat:Fire()
346
			end
347
			lastframe = tick()
348
		end
349
		if tossremainder then
350
			tf = 0
351
		else
352
			tf = tf - frame * math.floor(tf / frame)
353
		end
354
	end
355
end)
356
-------------------------------------------------------
357
--End HeartBeat--
358
-------------------------------------------------------
359
360
-------------------------------------------------------
361
--Start Important Functions--
362
-------------------------------------------------------
363
function swait(num)
364
	if num == 0 or num == nil then
365
		game:service("RunService").Stepped:wait(0)
366
	else
367
		for i = 0, num do
368
			game:service("RunService").Stepped:wait(0)
369
		end
370
	end
371
end
372
function thread(f)
373
	coroutine.resume(coroutine.create(f))
374
end
375
function clerp(a, b, t)
376
	local qa = {
377
		QuaternionFromCFrame(a)
378
	}
379
	local qb = {
380
		QuaternionFromCFrame(b)
381
	}
382
	local ax, ay, az = a.x, a.y, a.z
383
	local bx, by, bz = b.x, b.y, b.z
384
	local _t = 1 - t
385
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
386
end
387
function QuaternionFromCFrame(cf)
388
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
389
	local trace = m00 + m11 + m22
390
	if trace > 0 then
391
		local s = math.sqrt(1 + trace)
392
		local recip = 0.5 / s
393
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
394
	else
395
		local i = 0
396
		if m00 < m11 then
397
			i = 1
398
		end
399
		if m22 > (i == 0 and m00 or m11) then
400
			i = 2
401
		end
402
		if i == 0 then
403
			local s = math.sqrt(m00 - m11 - m22 + 1)
404
			local recip = 0.5 / s
405
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
406
		elseif i == 1 then
407
			local s = math.sqrt(m11 - m22 - m00 + 1)
408
			local recip = 0.5 / s
409
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
410
		elseif i == 2 then
411
			local s = math.sqrt(m22 - m00 - m11 + 1)
412
			local recip = 0.5 / s
413
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
414
		end
415
	end
416
end
417
function QuaternionToCFrame(px, py, pz, x, y, z, w)
418
	local xs, ys, zs = x + x, y + y, z + z
419
	local wx, wy, wz = w * xs, w * ys, w * zs
420
	local xx = x * xs
421
	local xy = x * ys
422
	local xz = x * zs
423
	local yy = y * ys
424
	local yz = y * zs
425
	local zz = z * zs
426
	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))
427
end
428
function QuaternionSlerp(a, b, t)
429
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
430
	local startInterp, finishInterp
431
	if cosTheta >= 1.0E-4 then
432
		if 1 - cosTheta > 1.0E-4 then
433
			local theta = math.acos(cosTheta)
434
			local invSinTheta = 1 / Sin(theta)
435
			startInterp = Sin((1 - t) * theta) * invSinTheta
436
			finishInterp = Sin(t * theta) * invSinTheta
437
		else
438
			startInterp = 1 - t
439
			finishInterp = t
440
		end
441
	elseif 1 + cosTheta > 1.0E-4 then
442
		local theta = math.acos(-cosTheta)
443
		local invSinTheta = 1 / Sin(theta)
444
		startInterp = Sin((t - 1) * theta) * invSinTheta
445
		finishInterp = Sin(t * theta) * invSinTheta
446
	else
447
		startInterp = t - 1
448
		finishInterp = t
449
	end
450
	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
451
end
452
function rayCast(Position, Direction, Range, Ignore)
453
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
454
end
455
local RbxUtility = LoadLibrary("RbxUtility")
456
local Create = RbxUtility.Create
457
458
-------------------------------------------------------
459
--Start Damage Function--
460
-------------------------------------------------------
461
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
462
	if hit.Parent == nil then
463
		return
464
	end
465
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
466
	for _, v in pairs(hit.Parent:children()) do
467
		if v:IsA("Humanoid") then
468
			h = v
469
		end
470
	end
471
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
472
	
473
         hit.Parent:FindFirstChild("Head"):BreakJoints()
474
         end
475
476
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
477
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
478
			if hit.Parent.DebounceHit.Value == true then
479
				return
480
			end
481
		end
482
         if insta == true then
483
         hit.Parent:FindFirstChild("Head"):BreakJoints()
484
         end
485
		local c = Create("ObjectValue"){
486
			Name = "creator",
487
			Value = game:service("Players").LocalPlayer,
488
			Parent = h,
489
		}
490
		game:GetService("Debris"):AddItem(c, .5)
491
		if HitSound ~= nil and HitPitch ~= nil then
492
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
493
		end
494
		local Damage = math.random(minim, maxim)
495
		local blocked = false
496
		local block = hit.Parent:findFirstChild("Block")
497
		if block ~= nil then
498
			if block.className == "IntValue" then
499
				if block.Value > 0 then
500
					blocked = true
501
					block.Value = block.Value - 1
502
					print(block.Value)
503
				end
504
			end
505
		end
506
		if blocked == false then
507
			h.Health = h.Health - Damage
508
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
509
		else
510
			h.Health = h.Health - (Damage / 2)
511
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
512
		end
513
		if Type == "Knockdown" then
514
			local hum = hit.Parent.Humanoid
515
			hum.PlatformStand = true
516
			coroutine.resume(coroutine.create(function(HHumanoid)
517
				swait(1)
518
				HHumanoid.PlatformStand = false
519
			end), hum)
520
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
521
			local bodvol = Create("BodyVelocity"){
522
				velocity = angle * knockback,
523
				P = 5000,
524
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
525
				Parent = hit,
526
			}
527
			local rl = Create("BodyAngularVelocity"){
528
				P = 3000,
529
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
530
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
531
				Parent = hit,
532
			}
533
			game:GetService("Debris"):AddItem(bodvol, .5)
534
			game:GetService("Debris"):AddItem(rl, .5)
535
		elseif Type == "Normal" then
536
			local vp = Create("BodyVelocity"){
537
				P = 500,
538
				maxForce = Vector3.new(math.huge, 0, math.huge),
539
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
540
			}
541
			if knockback > 0 then
542
				vp.Parent = hit.Parent.Torso
543
			end
544
			game:GetService("Debris"):AddItem(vp, .5)
545
		elseif Type == "Up" then
546
			local bodyVelocity = Create("BodyVelocity"){
547
				velocity = Vector3.new(0, 20, 0),
548
				P = 5000,
549
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
550
				Parent = hit,
551
			}
552
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
553
		elseif Type == "DarkUp" then
554
			coroutine.resume(coroutine.create(function()
555
				for i = 0, 1, 0.1 do
556
					swait()
557
					Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
558
				end
559
			end))
560
			local bodyVelocity = Create("BodyVelocity"){
561
				velocity = Vector3.new(0, 20, 0),
562
				P = 5000,
563
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
564
				Parent = hit,
565
			}
566
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
567
		elseif Type == "Snare" then
568
			local bp = Create("BodyPosition"){
569
				P = 2000,
570
				D = 100,
571
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
572
				position = hit.Parent.Torso.Position,
573
				Parent = hit.Parent.Torso,
574
			}
575
			game:GetService("Debris"):AddItem(bp, 1)
576
		elseif Type == "Freeze" then
577
			local BodPos = Create("BodyPosition"){
578
				P = 50000,
579
				D = 1000,
580
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
581
				position = hit.Parent.Torso.Position,
582
				Parent = hit.Parent.Torso,
583
			}
584
			local BodGy = Create("BodyGyro") {
585
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
586
				P = 20e+003,
587
				Parent = hit.Parent.Torso,
588
				cframe = hit.Parent.Torso.CFrame,
589
			}
590
			hit.Parent.Torso.Anchored = true
591
			coroutine.resume(coroutine.create(function(Part) 
592
				swait(1.5)
593
				Part.Anchored = false
594
			end), hit.Parent.Torso)
595
			game:GetService("Debris"):AddItem(BodPos, 3)
596
			game:GetService("Debris"):AddItem(BodGy, 3)
597
		end
598
		local debounce = Create("BoolValue"){
599
			Name = "DebounceHit",
600
			Parent = hit.Parent,
601
			Value = true,
602
		}
603
		game:GetService("Debris"):AddItem(debounce, Delay)
604
		c = Create("ObjectValue"){
605
			Name = "creator",
606
			Value = Player,
607
			Parent = h,
608
		}
609
		game:GetService("Debris"):AddItem(c, .5)
610
	end
611
end
612
-------------------------------------------------------
613
--End Damage Function--
614
-------------------------------------------------------
615
616
-------------------------------------------------------
617
--Start Damage Function Customization--
618
-------------------------------------------------------
619
function ShowDamage(Pos, Text, Time, Color)
620
	local Rate = (1 / 30)
621
	local Pos = (Pos or Vector3.new(0, 0, 0))
622
	local Text = (Text or "")
623
	local Time = (Time or 2)
624
	local Color = (Color or Color3.new(255, 255, 1))
625
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
626
	EffectPart.Anchored = true
627
	local BillboardGui = Create("BillboardGui"){
628
		Size = UDim2.new(3, 0, 3, 0),
629
		Adornee = EffectPart,
630
		Parent = EffectPart,
631
	}
632
	local TextLabel = Create("TextLabel"){
633
		BackgroundTransparency = 1,
634
		Size = UDim2.new(1, 0, 1, 0),
635
		Text = Text,
636
		Font = "Bodoni",
637
		TextColor3 = Color,
638
		TextScaled = true,
639
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
640
		Parent = BillboardGui,
641
	}
642
	game.Debris:AddItem(EffectPart, (Time))
643
	EffectPart.Parent = game:GetService("Workspace")
644
	delay(0, function()
645
		local Frames = (Time / Rate)
646
		for Frame = 1, Frames do
647
			wait(Rate)
648
			local Percent = (Frame / Frames)
649
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
650
			TextLabel.TextTransparency = Percent
651
		end
652
		if EffectPart and EffectPart.Parent then
653
			EffectPart:Destroy()
654
		end
655
	end)
656
end
657
-------------------------------------------------------
658
--End Damage Function Customization--
659
-------------------------------------------------------
660
661
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
662
  for _, c in pairs(workspace:children()) do
663
    local hum = c:findFirstChild("Humanoid")
664
    if hum ~= nil then
665
      local head = c:findFirstChild("Head")
666
      if head ~= nil then
667
        local targ = head.Position - Part.Position
668
        local mag = targ.magnitude
669
        if magni >= mag and c.Name ~= plr.Name then
670
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
671
        end
672
      end
673
    end
674
  end
675
end
676
677
678
CFuncs = {
679
	Part = {
680
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
681
			local Part = Create("Part")({
682
				Parent = Parent,
683
				Reflectance = Reflectance,
684
				Transparency = Transparency,
685
				CanCollide = false,
686
				Locked = true,
687
				BrickColor = BrickColor.new(tostring(BColor)),
688
				Name = Name,
689
				Size = Size,
690
				Material = Material
691
			})
692
			RemoveOutlines(Part)
693
			return Part
694
		end
695
	},
696
	Mesh = {
697
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
698
			local Msh = Create(Mesh)({
699
				Parent = Part,
700
				Offset = OffSet,
701
				Scale = Scale
702
			})
703
			if Mesh == "SpecialMesh" then
704
				Msh.MeshType = MeshType
705
				Msh.MeshId = MeshId
706
			end
707
			return Msh
708
		end
709
	},
710
	Mesh = {
711
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
712
			local Msh = Create(Mesh)({
713
				Parent = Part,
714
				Offset = OffSet,
715
				Scale = Scale
716
			})
717
			if Mesh == "SpecialMesh" then
718
				Msh.MeshType = MeshType
719
				Msh.MeshId = MeshId
720
			end
721
			return Msh
722
		end
723
	},
724
	Weld = {
725
		Create = function(Parent, Part0, Part1, C0, C1)
726
			local Weld = Create("Weld")({
727
				Parent = Parent,
728
				Part0 = Part0,
729
				Part1 = Part1,
730
				C0 = C0,
731
				C1 = C1
732
			})
733
			return Weld
734
		end
735
	},
736
	Sound = {
737
		Create = function(id, par, vol, pit)
738
			coroutine.resume(coroutine.create(function()
739
				local S = Create("Sound")({
740
					Volume = vol,
741
					Pitch = pit or 1,
742
					SoundId = id,
743
					Parent = par or workspace
744
				})
745
				wait()
746
				S:play()
747
				game:GetService("Debris"):AddItem(S, 6)
748
			end))
749
		end
750
	},
751
	ParticleEmitter = {
752
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
753
			local fp = Create("ParticleEmitter")({
754
				Parent = Parent,
755
				Color = ColorSequence.new(Color1, Color2),
756
				LightEmission = LightEmission,
757
				Size = Size,
758
				Texture = Texture,
759
				Transparency = Transparency,
760
				ZOffset = ZOffset,
761
				Acceleration = Accel,
762
				Drag = Drag,
763
				LockedToPart = LockedToPart,
764
				VelocityInheritance = VelocityInheritance,
765
				EmissionDirection = EmissionDirection,
766
				Enabled = Enabled,
767
				Lifetime = LifeTime,
768
				Rate = Rate,
769
				Rotation = Rotation,
770
				RotSpeed = RotSpeed,
771
				Speed = Speed,
772
				VelocitySpread = VelocitySpread
773
			})
774
			return fp
775
		end
776
	}
777
}
778
function RemoveOutlines(part)
779
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
780
end
781
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
782
	local Part = Create("Part")({
783
		formFactor = FormFactor,
784
		Parent = Parent,
785
		Reflectance = Reflectance,
786
		Transparency = Transparency,
787
		CanCollide = false,
788
		Locked = true,
789
		BrickColor = BrickColor.new(tostring(BColor)),
790
		Name = Name,
791
		Size = Size,
792
		Material = Material
793
	})
794
	RemoveOutlines(Part)
795
	return Part
796
end
797
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
798
	local Msh = Create(Mesh)({
799
		Parent = Part,
800
		Offset = OffSet,
801
		Scale = Scale
802
	})
803
	if Mesh == "SpecialMesh" then
804
		Msh.MeshType = MeshType
805
		Msh.MeshId = MeshId
806
	end
807
	return Msh
808
end
809
function CreateWeld(Parent, Part0, Part1, C0, C1)
810
	local Weld = Create("Weld")({
811
		Parent = Parent,
812
		Part0 = Part0,
813
		Part1 = Part1,
814
		C0 = C0,
815
		C1 = C1
816
	})
817
	return Weld
818
end
819
820
821
-------------------------------------------------------
822
--Start Effect Function--
823
-------------------------------------------------------
824
EffectModel = Instance.new("Model", char)
825
Effects = {
826
  Block = {
827
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
828
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
829
      prt.Anchored = true
830
      prt.CFrame = cframe
831
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
832
      game:GetService("Debris"):AddItem(prt, 10)
833
      if Type == 1 or Type == nil then
834
        table.insert(Effects, {
835
          prt,
836
          "Block1",
837
          delay,
838
          x3,
839
          y3,
840
          z3,
841
          msh
842
        })
843
      elseif Type == 2 then
844
        table.insert(Effects, {
845
          prt,
846
          "Block2",
847
          delay,
848
          x3,
849
          y3,
850
          z3,
851
          msh
852
        })
853
      else
854
        table.insert(Effects, {
855
          prt,
856
          "Block3",
857
          delay,
858
          x3,
859
          y3,
860
          z3,
861
          msh
862
        })
863
      end
864
    end
865
  },
866
  Sphere = {
867
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
868
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
869
      prt.Anchored = true
870
      prt.CFrame = cframe
871
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
872
      game:GetService("Debris"):AddItem(prt, 10)
873
      table.insert(Effects, {
874
        prt,
875
        "Cylinder",
876
        delay,
877
        x3,
878
        y3,
879
        z3,
880
        msh
881
      })
882
    end
883
  },
884
  Cylinder = {
885
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
886
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
887
      prt.Anchored = true
888
      prt.CFrame = cframe
889
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
890
      game:GetService("Debris"):AddItem(prt, 10)
891
      table.insert(Effects, {
892
        prt,
893
        "Cylinder",
894
        delay,
895
        x3,
896
        y3,
897
        z3,
898
        msh
899
      })
900
    end
901
  },
902
  Wave = {
903
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
904
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
905
      prt.Anchored = true
906
      prt.CFrame = cframe
907
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
908
      game:GetService("Debris"):AddItem(prt, 10)
909
      table.insert(Effects, {
910
        prt,
911
        "Cylinder",
912
        delay,
913
        x3 / 60,
914
        y3 / 60,
915
        z3 / 60,
916
        msh
917
      })
918
    end
919
  },
920
  Ring = {
921
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
922
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
923
      prt.Anchored = true
924
      prt.CFrame = cframe
925
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
926
      game:GetService("Debris"):AddItem(prt, 10)
927
      table.insert(Effects, {
928
        prt,
929
        "Cylinder",
930
        delay,
931
        x3,
932
        y3,
933
        z3,
934
        msh
935
      })
936
    end
937
  },
938
  Break = {
939
    Create = function(brickcolor, cframe, x1, y1, z1)
940
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
941
      prt.Anchored = true
942
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
943
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
944
      local num = math.random(10, 50) / 1000
945
      game:GetService("Debris"):AddItem(prt, 10)
946
      table.insert(Effects, {
947
        prt,
948
        "Shatter",
949
        num,
950
        prt.CFrame,
951
        math.random() - math.random(),
952
        0,
953
        math.random(50, 100) / 100
954
      })
955
    end
956
  },
957
Spiral = {
958
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
959
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
960
      prt.Anchored = true
961
      prt.CFrame = cframe
962
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
963
      game:GetService("Debris"):AddItem(prt, 10)
964
      table.insert(Effects, {
965
        prt,
966
        "Cylinder",
967
        delay,
968
        x3,
969
        y3,
970
        z3,
971
        msh
972
      })
973
    end
974
  },
975
Push = {
976
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
977
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
978
      prt.Anchored = true
979
      prt.CFrame = cframe
980
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
981
      game:GetService("Debris"):AddItem(prt, 10)
982
      table.insert(Effects, {
983
        prt,
984
        "Cylinder",
985
        delay,
986
        x3,
987
        y3,
988
        z3,
989
        msh
990
      })
991
    end
992
  }
993
}
994
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
995
	local fp = IT("Part")
996
	fp.formFactor = formfactor 
997
	fp.Parent = parent
998
	fp.Reflectance = reflectance
999
	fp.Transparency = transparency
1000
	fp.CanCollide = false 
1001
	fp.Locked = true
1002
	fp.BrickColor = brickcolor
1003
	fp.Name = name
1004
	fp.Size = size
1005
	fp.Position = tors.Position 
1006
	RemoveOutlines(fp)
1007
	fp.Material = "SmoothPlastic"
1008
	fp:BreakJoints()
1009
	return fp 
1010
end 
1011
 
1012
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1013
	local mesh = IT(Mesh) 
1014
	mesh.Parent = part
1015
	if Mesh == "SpecialMesh" then
1016
		mesh.MeshType = meshtype
1017
	if meshid ~= "nil" then
1018
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
1019
		end
1020
	end
1021
	mesh.Offset = offset
1022
	mesh.Scale = scale
1023
	return mesh
1024
end
1025
1026
function Magic(bonuspeed, type, pos, scale, value, color, MType)
1027
	local type = type
1028
	local rng = Instance.new("Part", char)
1029
	rng.Anchored = true
1030
	rng.BrickColor = color
1031
	rng.CanCollide = false
1032
	rng.FormFactor = 3
1033
	rng.Name = "Ring"
1034
	rng.Material = "Neon"
1035
	rng.Size = Vector3.new(1, 1, 1)
1036
	rng.Transparency = 0
1037
	rng.TopSurface = 0
1038
	rng.BottomSurface = 0
1039
	rng.CFrame = pos
1040
	local rngm = Instance.new("SpecialMesh", rng)
1041
	rngm.MeshType = MType
1042
	rngm.Scale = scale
1043
	local scaler2 = 1
1044
	if type == "Add" then
1045
		scaler2 = 1 * value
1046
	elseif type == "Divide" then
1047
		scaler2 = 1 / value
1048
	end
1049
	coroutine.resume(coroutine.create(function()
1050
		for i = 0, 10 / bonuspeed, 0.1 do
1051
			swait()
1052
			if type == "Add" then
1053
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1054
			elseif type == "Divide" then
1055
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1056
			end
1057
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1058
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1059
		end
1060
		rng:Destroy()
1061
	end))
1062
end
1063
1064
function Eviscerate(dude)
1065
	if dude.Name ~= char then
1066
		local bgf = IT("BodyGyro", dude.Head)
1067
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1068
		local val = IT("BoolValue", dude)
1069
		val.Name = "IsHit"
1070
		local ds = coroutine.wrap(function()
1071
			dude:WaitForChild("Head"):BreakJoints()
1072
			wait(0.5)
1073
			target = nil
1074
			coroutine.resume(coroutine.create(function()
1075
				for i, v in pairs(dude:GetChildren()) do
1076
					if v:IsA("Accessory") then
1077
						v:Destroy()
1078
					end
1079
					if v:IsA("Humanoid") then
1080
						v:Destroy()
1081
					end
1082
					if v:IsA("CharacterMesh") then
1083
						v:Destroy()
1084
					end
1085
					if v:IsA("Model") then
1086
						v:Destroy()
1087
					end
1088
					if v:IsA("Part") or v:IsA("MeshPart") then
1089
						for x, o in pairs(v:GetChildren()) do
1090
							if o:IsA("Decal") then
1091
								o:Destroy()
1092
							end
1093
						end
1094
						coroutine.resume(coroutine.create(function()
1095
							v.Material = "Neon"
1096
							v.CanCollide = false
1097
							local PartEmmit1 = IT("ParticleEmitter", v)
1098
							PartEmmit1.LightEmission = 1
1099
							PartEmmit1.Texture = "rbxassetid://284205403"
1100
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1101
							PartEmmit1.Rate = 150
1102
							PartEmmit1.Lifetime = NumberRange.new(1)
1103
							PartEmmit1.Size = NumberSequence.new({
1104
								NumberSequenceKeypoint.new(0, 0.75, 0),
1105
								NumberSequenceKeypoint.new(1, 0, 0)
1106
							})
1107
							PartEmmit1.Transparency = NumberSequence.new({
1108
								NumberSequenceKeypoint.new(0, 0, 0),
1109
								NumberSequenceKeypoint.new(1, 1, 0)
1110
							})
1111
							PartEmmit1.Speed = NumberRange.new(0, 0)
1112
							PartEmmit1.VelocitySpread = 30000
1113
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1114
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1115
							local BodPoss = IT("BodyPosition", v)
1116
							BodPoss.P = 3000
1117
							BodPoss.D = 1000
1118
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1119
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1120
							v.Color = maincolor.Color
1121
							coroutine.resume(coroutine.create(function()
1122
								for i = 0, 49 do
1123
									swait(1)
1124
									v.Transparency = v.Transparency + 0.08
1125
								end
1126
								wait(0.5)
1127
								PartEmmit1.Enabled = false
1128
								wait(3)
1129
								v:Destroy()
1130
								dude:Destroy()
1131
							end))
1132
						end))
1133
					end
1134
				end
1135
			end))
1136
		end)
1137
		ds()
1138
	end
1139
end
1140
1141
function FindNearestHead(Position, Distance, SinglePlayer)
1142
	if SinglePlayer then
1143
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1144
	end
1145
	local List = {}
1146
	for i, v in pairs(workspace:GetChildren()) do
1147
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1148
			table.insert(List, v)
1149
		end
1150
	end
1151
	return List
1152
end
1153
1154
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1155
	local type = type
1156
	local rng = Instance.new("Part", char)
1157
	rng.Anchored = true
1158
	rng.BrickColor = color
1159
	rng.CanCollide = false
1160
	rng.FormFactor = 3
1161
	rng.Name = "Ring"
1162
	rng.Material = "Neon"
1163
	rng.Size = Vector3.new(1, 1, 1)
1164
	rng.Transparency = 0
1165
	rng.TopSurface = 0
1166
	rng.BottomSurface = 0
1167
	rng.CFrame = pos
1168
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1169
	local rngm = Instance.new("SpecialMesh", rng)
1170
	rngm.MeshType = MType
1171
	rngm.Scale = Vector3.new(x1, y1, z1)
1172
	local scaler2 = 1
1173
	local speeder = FastSpeed
1174
	if type == "Add" then
1175
		scaler2 = 1 * value
1176
	elseif type == "Divide" then
1177
		scaler2 = 1 / value
1178
	end
1179
	coroutine.resume(coroutine.create(function()
1180
		for i = 0, 10 / bonuspeed, 0.1 do
1181
			swait()
1182
			if type == "Add" then
1183
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1184
			elseif type == "Divide" then
1185
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1186
			end
1187
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1188
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1189
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1190
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1191
		end
1192
		rng:Destroy()
1193
	end))
1194
end
1195
1196
function SoulSteal(dude)
1197
if dude.Name ~= char then
1198
local bgf = IT("BodyGyro", dude.Head)
1199
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1200
local val = IT("BoolValue", dude)
1201
val.Name = "IsHit"
1202
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1203
local soulst = coroutine.wrap(function()
1204
local soul = Instance.new("Part",dude)
1205
soul.Size = Vector3.new(1,1,1)
1206
soul.CanCollide = false
1207
soul.Anchored = false
1208
soul.Position = torso.Position
1209
soul.Transparency = 1
1210
local PartEmmit1 = IT("ParticleEmitter", soul)
1211
PartEmmit1.LightEmission = 1
1212
PartEmmit1.Texture = "rbxassetid://569507414"
1213
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1214
PartEmmit1.Rate = 250
1215
PartEmmit1.Lifetime = NumberRange.new(1.6)
1216
PartEmmit1.Size = NumberSequence.new({
1217
	NumberSequenceKeypoint.new(0, 1, 0),
1218
	NumberSequenceKeypoint.new(1, 0, 0)
1219
})
1220
PartEmmit1.Transparency = NumberSequence.new({
1221
	NumberSequenceKeypoint.new(0, 0, 0),
1222
	NumberSequenceKeypoint.new(1, 1, 0)
1223
})
1224
PartEmmit1.Speed = NumberRange.new(0, 0)
1225
PartEmmit1.VelocitySpread = 30000
1226
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1227
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1228
local BodPoss = IT("BodyPosition", soul)
1229
BodPoss.P = 3000
1230
BodPoss.D = 1000
1231
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1232
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1233
wait(1.6)
1234
soul.Touched:connect(function(hit)
1235
	if hit.Parent == char then
1236
	soul:Destroy()
1237
	end
1238
end)
1239
wait(1.2)
1240
while soul do
1241
	swait()
1242
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1243
	BodPoss.Position = tors.Position
1244
end
1245
end)
1246
	soulst()
1247
	end
1248
end
1249
function FaceMouse()
1250
local	Cam = workspace.CurrentCamera
1251
	return {
1252
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1253
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1254
	}
1255
end
1256
1257
BTAUNT = Instance.new("Sound", tors)
1258
BTAUNT.SoundId = "rbxassetid://2539916569"
1259
BTAUNT.Volume = 5
1260
BTAUNT.Pitch = 1
1261
BTAUNT.Looped = true
1262
BTAUNT.TimePosition = 0.2
1263
-------------------------------------------------------
1264
--End Effect Function--
1265
-------------------------------------------------------
1266
function Cso(ID, PARENT, VOLUME, PITCH)
1267
	local NSound = nil
1268
	coroutine.resume(coroutine.create(function()
1269
		NSound = IT("Sound", PARENT)
1270
		NSound.Volume = VOLUME
1271
		NSound.Pitch = PITCH
1272
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1273
		swait()
1274
		NSound:play()
1275
		game:GetService("Debris"):AddItem(NSound, 50)
1276
	end))
1277
	return NSound
1278
end
1279
function CameraEnshaking(Length, Intensity)
1280
	coroutine.resume(coroutine.create(function()
1281
		local intensity = 1 * Intensity
1282
		local rotM = 0.01 * Intensity
1283
		for i = 0, Length, 0.1 do
1284
			swait()
1285
			intensity = intensity - 0.05 * Intensity / Length
1286
			rotM = rotM - 5.0E-4 * Intensity / Length
1287
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1288
			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)
1289
		end
1290
		hum.CameraOffset = Vector3.new(0, 0, 0)
1291
	end))
1292
end
1293
-------------------------------------------------------
1294
--End Important Functions--
1295
-------------------------------------------------------
1296
1297
1298
-------------------------------------------------------
1299
--Start Customization--
1300
-------------------------------------------------------
1301
local Player_Size = 1
1302
if Player_Size ~= 1 then
1303
root.Size = root.Size * Player_Size
1304
tors.Size = tors.Size * Player_Size
1305
hed.Size = hed.Size * Player_Size
1306
ra.Size = ra.Size * Player_Size
1307
la.Size = la.Size * Player_Size
1308
rl.Size = rl.Size * Player_Size
1309
ll.Size = ll.Size * Player_Size
1310
----------------------------------------------------------------------------------
1311
rootj.Parent = root
1312
neck.Parent = tors
1313
RW.Parent = tors
1314
LW.Parent = tors
1315
RH.Parent = tors
1316
LH.Parent = tors
1317
----------------------------------------------------------------------------------
1318
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1319
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1320
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1321
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1322
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1323
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1324
----------------------------------------------------------------------------------
1325
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1326
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1327
RH.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))
1328
LH.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))
1329
--hat.Parent = Character
1330
end
1331
----------------------------------------------------------------------------------
1332
----------------------------------------------------------------------------------
1333
local equipped = false
1334
local idle = 0
1335
local change = 1
1336
local val = 0
1337
local toim = 0
1338
local idleanim = 0.4
1339
local sine = 0
1340
local Sit = 1
1341
----------------------------------------------------------------------------------
1342
hum.WalkSpeed = 16
1343
hum.JumpPower = 57
1344
hum.Animator.Parent = nil
1345
----------------------------------------------------------------------------------
1346
1347
1348
-------------------------------------------------------
1349
--End Customization--
1350
-------------------------------------------------------
1351
local Blobby = Instance.new("Part", char)
1352
Blobby.Name = "Blob"
1353
Blobby.CanCollide = false
1354
Blobby.BrickColor = BrickColor.new("Really black")
1355
Blobby.Transparency = 0
1356
Blobby.Material = "Plastic"
1357
Blobby.Size = Vector3.new(1, 1, 2)
1358
Blobby.TopSurface = Enum.SurfaceType.Smooth
1359
Blobby.BottomSurface = Enum.SurfaceType.Smooth
1360
1361
local Weld = Instance.new("Weld", Blobby)
1362
Weld.Part0 = ra
1363
Weld.Part1 = Blobby
1364
Weld.C1 = CFrame.new(0, -1, 1.1)
1365
Weld.C0 = CFrame.Angles(Rad(-86),0,0)
1366
1367
local M2 = Instance.new("SpecialMesh")
1368
M2.Parent = Blobby
1369
M2.MeshId = "http://www.roblox.com/asset/?id=612343272"
1370
M2.TextureId = "rbxassetid://2834025004"
1371
M2.Scale = Vector3.new(0.1, 0.1, 0.1)
1372
1373
1374
--[[local naeeym2 = Instance.new("BillboardGui",char)
1375
naeeym2.AlwaysOnTop = true
1376
naeeym2.Size = UDim2.new(5,35,2,15)
1377
naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
1378
naeeym2.Adornee = hed
1379
naeeym2.Name = "Name"
1380
--naeeym2.PlayerToHideFrom = Player
1381
local tecks2 = Instance.new("TextLabel",naeeym2)
1382
tecks2.BackgroundTransparency = 1
1383
tecks2.TextScaled = true
1384
tecks2.BorderSizePixel = 0
1385
tecks2.Text = "Fight Me"
1386
tecks2.Font = Enum.Font.Bodoni
1387
tecks2.TextSize = 30
1388
tecks2.TextStrokeTransparency = 0
1389
tecks2.TextColor3 = Color3.new(0, 0, 0)
1390
tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
1391
tecks2.Size = UDim2.new(1,0,0.5,0)
1392
tecks2.Parent = naeeym2]]
1393
----------------------------------------------------------------------------------
1394
local AddInstance = function(Object, ...)
1395
local Obj = Instance.new(Object)
1396
for i,v in next,(...) do
1397
Obj[i] = v
1398
end
1399
return Obj
1400
end
1401
----------------------------------------------------
1402
		local Reaper = AddInstance("Part",{
1403
			Parent = hed,
1404
			CFrame = hed.CFrame,
1405
			formFactor = "Symmetric",
1406
			Size = Vector3.new(1, 1, 1),
1407
			CanCollide = false,
1408
			TopSurface = "Smooth",
1409
			BottomSurface = "Smooth",
1410
			Locked = true,
1411
		})
1412
		local Weld = AddInstance("Weld",{
1413
			Parent = Reaper,
1414
			Part0 = hed,
1415
			C0 = CFrame.new(-0.15, 0.19, 0.09)*CFrame.Angles(0, 0, 0),
1416
			Part1 = Reaper,
1417
		})
1418
		local Mesh = AddInstance("SpecialMesh",{
1419
			Parent = Reaper,
1420
			MeshId = "rbxassetid://1017165558",
1421
			TextureId = "rbxassetid://2650838288",
1422
			Scale = Vector3.new(1.14,1.05,1.24),
1423
			VertexColor = Vector3.new(0.3, 0.3, 0.3),
1424
		})
1425
-------------------------------------------------------
1426
wait(1)
1427
plr = game.Players.LocalPlayer
1428
char = plr.Character
1429
mouse = plr:GetMouse()
1430
whitecolor = Color3.new(255,255,1)
1431
epicmode = false
1432
normal = true
1433
for i,v in pairs(char:GetChildren()) do
1434
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
1435
      v:Destroy()
1436
     end
1437
end
1438
local shirt = Instance.new("Shirt",char)
1439
shirt.ShirtTemplate = "rbxassetid://2619481169"
1440
local pants = Instance.new("Pants",char)
1441
pants.PantsTemplate = "rbxassetid://2619425423"
1442
local bdycolors = char["Body Colors"]
1443
bdycolors.HeadColor3 = whitecolor
1444
bdycolors.LeftArmColor3 = whitecolor
1445
bdycolors.LeftLegColor3 = whitecolor
1446
bdycolors.RightArmColor3 = whitecolor
1447
bdycolors.RightLegColor3 = whitecolor
1448
bdycolors.TorsoColor3 = whitecolor
1449
for i,v in pairs(char:GetChildren()) do
1450
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
1451
        v:Destroy()
1452
    end
1453
end
1454
1455
1456
1457
local BC = Character["Body Colors"]
1458
BC.HeadColor = BrickColor.new("Hot pink")
1459
BC.LeftArmColor = BrickColor.new("Hot pink")
1460
BC.LeftLegColor = BrickColor.new("Hot pink")
1461
BC.RightArmColor = BrickColor.new("Hot pink")
1462
BC.RightLegColor = BrickColor.new("Hot pink")
1463
BC.TorsoColor = BrickColor.new("Hot pink")
1464
-------------------------------------------------------
1465
--Start Attacks N Stuff--
1466
-------------------------------------------------------
1467
local naeeym2 = Instance.new("BillboardGui",char)
1468
naeeym2.AlwaysOnTop = true
1469
naeeym2.Size = UDim2.new(5,35,2,35)
1470
naeeym2.StudsOffset = Vector3.new(0,2,0)
1471
naeeym2.Adornee = hed
1472
naeeym2.Name = "Name"
1473
1474
local tecks2 = Instance.new("TextLabel",naeeym2)
1475
tecks2.BackgroundTransparency = 1
1476
tecks2.TextScaled = true
1477
tecks2.BorderSizePixel = 0
1478
tecks2.Text = "Edited by EnderPlayBro and ozzak10003"
1479
tecks2.Font = "Fantasy"
1480
tecks2.TextSize = 30
1481
tecks2.TextStrokeTransparency = 0
1482
tecks2.TextColor3 = BrickColor.new('Magenta').Color
1483
tecks2.TextStrokeColor3 = BrickColor.new('Eggplant').Color
1484
tecks2.Size = UDim2.new(1,0,0.5,0)
1485
tecks2.Parent = naeeym2
1486
textfag = tecks2
1487
tecks2.Text = "Edited by EnderPlayBro and ozzak1003"
1488
wait(2)
1489
tecks2.Text = "dont leak bro"
1490
wait(1)
1491
tecks2.Text = "S U S I E"
1492
BTAUNT:Play()
1493
coroutine.resume(coroutine.create(function()
1494
    while textfag ~= nil do
1495
        swait()
1496
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1497
        textfag.Rotation = math.random(-3,3)
1498
    end
1499
end))
1500
1501
1502
1503
function die()
1504
	attack = true
1505
	for i = 0, 2.6, 0.1 do
1506
		swait()
1507
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1508
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
1509
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
1510
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
1511
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
1512
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
1513
			end
1514
	Cso("357417055", tors, 10, 1)
1515
	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1516
  	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1517
  	Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
1518
 	for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
1519
		if v:FindFirstChild("Head") then
1520
			Eviscerate(v)
1521
		end
1522
	end
1523
	for i = 0, 3, 0.1 do
1524
		swait()
1525
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1526
			tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
1527
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
1528
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
1529
			RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
1530
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
1531
			end
1532
	attack = false
1533
end
1534
1535
1536
1537
function taunt()
1538
if tauntdebounce then return end
1539
tauntdebounce = true
1540
local b1 = Instance.new("BillboardGui",hed)
1541
b1.Size = UDim2.new(0,4,0,1.6)
1542
b1.StudsOffset = Vector3.new(0,0,0)
1543
b1.Name = "laff"
1544
b1.AlwaysOnTop = true
1545
b1.StudsOffset = Vector3.new(0,2,0)
1546
b1.Adornee = hed
1547
removeuseless:AddItem(b1,3)
1548
local b2 = Instance.new("TextLabel",b1)
1549
b2.BackgroundTransparency = 1
1550
b2.Text = "HA...Ha...ha"
1551
b2.Font = "Garamond"
1552
b2.TextSize = 30
1553
b2.Name = "lafftext"
1554
b2.TextStrokeTransparency = 0
1555
b2.TextColor3 = BrickColor.new("Plum").Color
1556
b2.TextStrokeColor3 = Color3.new(0,0,0)
1557
b2.Size = UDim2.new(1,0,.5,0)
1558
laff = Instance.new("Sound",hed)
1559
laff.SoundId = "rbxassetid://2583820331"
1560
laff.Volume = 5
1561
laff:Play()
1562
wait(5)
1563
laff:Remove()
1564
tauntdebounce = false
1565
end
1566
1567
-------------------------------------------------------
1568
--End Attacks N Stuff--
1569
-------------------------------------------------------
1570
mouse.KeyDown:connect(function(key)
1571
	if attack == false then
1572
		if key == "t" then
1573
            taunt()
1574
 		end
1575
	end
1576
end)
1577
1578
mouse.Button1Down:connect(function(key)
1579
	if attack == false then
1580
		die()
1581
	end
1582
end)
1583
1584
1585
1586
-------------------------------------------------------
1587
--Start Animations--
1588
-------------------------------------------------------
1589
print("Edited By EnderPlayBro and ozzak1003")
1590
while true do
1591
	swait()
1592
	sine = sine + change
1593
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1594
	local velderp = root.Velocity.y
1595
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1596
	if equipped == true or equipped == false then
1597
		if attack == false then
1598
			idle = idle + 1
1599
		else
1600
			idle = 0
1601
		end
1602
		if 1 < root.Velocity.y and hitfloor == nil then
1603
			Anim = "Jump"
1604
			if attack == false then
1605
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
1606
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1607
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1608
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1609
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
1610
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
1611
			end
1612
		elseif -1 > root.Velocity.y and hitfloor == nil then
1613
			Anim = "Fall"
1614
			if attack == false then
1615
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
1616
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1617
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1618
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
1619
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
1620
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
1621
			end
1622
		elseif torvel < 1 and hitfloor ~= nil then
1623
			Anim = "Idle"
1624
			change = 1
1625
			if attack == false then
1626
				hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
1627
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
1628
				tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25 - 9 * Sin(sine / 30)), Rad(0), Rad(-10 * Sin(sine / 35))), 0.3)
1629
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(20)), 0.15)
1630
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
1631
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-7.5 * Sin(sine / 20)), Rad(25 + 7.5 * Sin(sine / 20))), 0.1)
1632
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25 - 7.5 * Sin(sine / 20))), 0.1)
1633
				end
1634
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
1635
			Anim = "Walk"
1636
			change = 1
1637
			if attack == false then
1638
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
1639
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1640
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1641
         	        	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1642
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
1643
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37)  * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) ,	Rad(-6) + la.RotVelocity.Y / 75), 0.1)
1644
			end
1645
		elseif torvel >= 25 and hitfloor ~= nil then
1646
			Anim = "Sprint"
1647
			change = 1.35
1648
			if attack == false then
1649
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
1650
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1651
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1652
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1653
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
1654
			end
1655
		end
1656
	end
1657
	if 0 < #Effects then
1658
		for e = 1, #Effects do
1659
			if Effects[e] ~= nil then
1660
				local Thing = Effects[e]
1661
				if Thing ~= nil then
1662
					local Part = Thing[1]
1663
					local Mode = Thing[2]
1664
					local Delay = Thing[3]
1665
					local IncX = Thing[4]
1666
					local IncY = Thing[5]
1667
					local IncZ = Thing[6]
1668
					if 1 >= Thing[1].Transparency then
1669
						if Thing[2] == "Block1" then
1670
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1671
							local Mesh = Thing[1].Mesh
1672
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1673
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1674
						elseif Thing[2] == "Block2" then
1675
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1676
							local Mesh = Thing[7]
1677
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1678
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1679
						elseif Thing[2] == "Block3" then
1680
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1681
							local Mesh = Thing[7]
1682
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1683
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1684
						elseif Thing[2] == "Cylinder" then
1685
							local Mesh = Thing[1].Mesh
1686
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1687
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1688
						elseif Thing[2] == "Blood" then
1689
							local Mesh = Thing[7]
1690
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1691
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1692
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1693
						elseif Thing[2] == "Elec" then
1694
							local Mesh = Thing[1].Mesh
1695
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1696
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1697
						elseif Thing[2] == "Disappear" then
1698
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1699
						elseif Thing[2] == "Shatter" then
1700
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1701
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1702
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1703
							Thing[6] = Thing[6] + Thing[5]
1704
						end
1705
					else
1706
						Part.Parent = nil
1707
						table.remove(Effects, e)
1708
					end
1709
				end
1710
			end
1711
		end
1712
	end
1713
end
1714
-------------------------------------------------------
1715
--End Animations And Script--
1716
-------------------------------------------------------