View difference between Paste ID: FLw64Hpe and 2spSbh4P
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,game,owner = owner,game
3
local RealPlayer = Player
4
do
5
	local rp = RealPlayer
6
	script.Parent = rp.Character
7
	
8
	--RemoteEvent for communicating
9
	local Event = Instance.new("RemoteEvent")
10
	Event.Name = "UserInput_Event"
11
12
	--Fake event to make stuff like Mouse.KeyDown work
13
	local function fakeEvent()
14
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
15
		t.connect = t.Connect
16
		return t
17
	end
18
19
	--Creating fake input objects with fake variables
20
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24
	end}
25
	--Merged 2 functions into one by checking amount of arguments
26
	CAS.UnbindAction = CAS.BindAction
27
28
	--This function will trigger the events that have been :Connect()'ed
29
	local function te(self,ev,...)
30
		local t = m[ev]
31
		if t and t._fakeEvent then
32
			for _,f in pairs(t.Functions) do
33
				f(...)
34
			end
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=rp then return end
42
		m.Target = io.Target
43
		m.Hit = io.Hit
44
		if not io.isMouse then
45
			local b = io.UserInputState == Enum.UserInputState.Begin
46
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
47
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
48
			end
49
			for _,t in pairs(CAS.Actions) do
50
				for _,k in pairs(t.Keys) do
51
					if k==io.KeyCode then
52
						t.Function(t.Name,io.UserInputState,io)
53
					end
54
				end
55
			end
56
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58
	    end
59
	end)
60
	Event.Parent = NLS([==[
61
	local Player = game:GetService("Players").LocalPlayer
62
	local Event = script:WaitForChild("UserInput_Event")
63
64
	local Mouse = Player:GetMouse()
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local h,t
75
	--Give the server mouse data 30 times every second, but only if the values changed
76
	--If player is not moving their mouse, client won't fire events
77
	while wait(1/30) do
78
		if h~=Mouse.Hit or t~=Mouse.Target then
79
			h,t=Mouse.Hit,Mouse.Target
80
			Event:FireServer({isMouse=true,Target=t,Hit=h})
81
		end
82
	end]==],Player.Character)
83
84
	----Sandboxed game object that allows the usage of client-side methods and services
85
	--Real game object
86
	local _rg = game
87
88
	--Metatable for fake service
89
	local fsmt = {
90
		__index = function(self,k)
91
			local s = rawget(self,"_RealService")
92
			if s then return s[k] end
93
		end,
94
		__newindex = function(self,k,v)
95
			local s = rawget(self,"_RealService")
96
			if s then s[k]=v end
97
		end,
98
		__call = function(self,...)
99
			local s = rawget(self,"_RealService")
100
			if s then return s(...) end
101
		end
102
	}
103
	local function FakeService(t,RealService)
104
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
105
		return setmetatable(t,fsmt)
106
	end
107
108
	--Fake game object
109
	local g = {
110
		GetService = function(self,s)
111
			return self[s]
112
		end,
113
		Players = FakeService({
114
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
115
		},"Players"),
116
		UserInputService = FakeService(UIS,"UserInputService"),
117
		ContextActionService = FakeService(CAS,"ContextActionService"),
118
	}
119
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
120
	g.service = g.GetService
121
	
122
	g.RunService = FakeService({
123
		RenderStepped = _rg:GetService("RunService").Heartbeat,
124
		BindToRenderStep = function(self,name,_,fun)
125
			self._btrs[name] = self.Heartbeat:Connect(fun)
126
		end,
127
		UnbindFromRenderStep = function(self,name)
128
			self._btrs[name]:Disconnect()
129
		end,
130
	},"RunService")
131
132
	setmetatable(g,{
133
		__index=function(self,s)
134
			return _rg:GetService(s) or typeof(_rg[s])=="function"
135
			and function(_,...)return _rg[s](_rg,...)end or _rg[s]
136
		end,
137
		__newindex = fsmt.__newindex,
138
		__call = fsmt.__call
139
	})
140
	--Changing owner to fake player object to support owner:GetMouse()
141
	game,owner = g,g.Players.LocalPlayer
142
end
143
144
Player = owner
145
PlayerGui = Player.PlayerGui
146
Cam = workspace.CurrentCamera
147
Backpack = Player.Backpack
148
Character = Player.Character
149
Humanoid = Character.Humanoid
150
Mouse = Player:GetMouse()
151
RootPart = Character["HumanoidRootPart"]
152
Torso = Character["Torso"]
153
Head = Character["Head"]
154
RightArm = Character["Right Arm"]
155
LeftArm = Character["Left Arm"]
156
RightLeg = Character["Right Leg"]
157
LeftLeg = Character["Left Leg"]
158
RootJoint = RootPart["RootJoint"]
159
Neck = Torso["Neck"]
160
RightShoulder = Torso["Right Shoulder"]
161
LeftShoulder = Torso["Left Shoulder"]
162
RightHip = Torso["Right Hip"]
163
LeftHip = Torso["Left Hip"]
164
165
Character = Player.Character
166
Humanoid = Character.Humanoid
167
168
-------------------------------------------------------
169
170
local FavIDs = {
171
	340106355, --Nefl Crystals
172
	927529620, --Dimension
173
	876981900, --Fantasy
174
	398987889, --Ordinary Days
175
	1117396305, --Oh wait, it's you.
176
	885996042, --Action Winter Journey
177
	919231299, --Sprawling Idiot Effigy
178
	743466274, --Good Day Sunshine
179
	727411183, --Knife Fight
180
	1402748531, --The Earth Is Counting On You!
181
	595230126 --Robot Language
182
	}
183
184
185
186
wait(0.2)
187
local plr = game:service'Players'.LocalPlayer
188
local char = plr.Character
189
local hum = char.Humanoid
190
local hed = char.Head
191
local root = char.HumanoidRootPart
192
local rootj = root.RootJoint
193
local tors = char.Torso
194
local ra = char["Right Arm"]
195
local la = char["Left Arm"]
196
local rl = char["Right Leg"]
197
local ll = char["Left Leg"]
198
local neck = tors["Neck"]
199
local mouse = plr:GetMouse()
200
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
201
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
202
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
203
local maincolor = BrickColor.new("Institutional white")
204
205
-------------------------------------------------------
206
--Start Good Stuff--
207
-------------------------------------------------------
208
cam = game.Workspace.CurrentCamera
209
CF = CFrame.new
210
angles = CFrame.Angles
211
attack = false
212
Euler = CFrame.fromEulerAnglesXYZ
213
Rad = math.rad
214
IT = Instance.new
215
BrickC = BrickColor.new
216
Cos = math.cos
217
Acos = math.acos
218
Sin = math.sin
219
Asin = math.asin
220
Abs = math.abs
221
Mrandom = math.random
222
Floor = math.floor
223
-------------------------------------------------------
224
--End Good Stuff--
225
-------------------------------------------------------
226
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
227
RSH, LSH = nil, nil 
228
RW = Instance.new("Weld") 
229
LW = Instance.new("Weld")
230
RH = tors["Right Hip"]
231
LH = tors["Left Hip"]
232
RSH = tors["Right Shoulder"] 
233
LSH = tors["Left Shoulder"] 
234
RSH.Parent = nil 
235
LSH.Parent = nil 
236
RW.Name = "RW"
237
RW.Part0 = tors 
238
RW.C0 = CF(1.5, 0.5, 0)
239
RW.C1 = CF(0, 0.5, 0) 
240
RW.Part1 = ra
241
RW.Parent = tors 
242
LW.Name = "LW"
243
LW.Part0 = tors 
244
LW.C0 = CF(-1.5, 0.5, 0)
245
LW.C1 = CF(0, 0.5, 0) 
246
LW.Part1 = la
247
LW.Parent = tors
248
Effects = {}
249
-------------------------------------------------------
250
--Start HeartBeat--
251
-------------------------------------------------------
252
ArtificialHB = Instance.new("BindableEvent", script)
253
ArtificialHB.Name = "Heartbeat"
254
script:WaitForChild("Heartbeat")
255
256
frame = 1 / 60
257
tf = 0
258
allowframeloss = false
259
tossremainder = false
260
261
262
lastframe = tick()
263
script.Heartbeat:Fire()
264
265
266
game:GetService("RunService").Heartbeat:connect(function(s, p)
267
	tf = tf + s
268
	if tf >= frame then
269
		if allowframeloss then
270
			script.Heartbeat:Fire()
271
			lastframe = tick()
272
		else
273
			for i = 1, math.floor(tf / frame) do
274
				script.Heartbeat:Fire()
275
			end
276
			lastframe = tick()
277
		end
278
		if tossremainder then
279
			tf = 0
280
		else
281
			tf = tf - frame * math.floor(tf / frame)
282
		end
283
	end
284
end)
285
-------------------------------------------------------
286
--End HeartBeat--
287
-------------------------------------------------------
288
289
-------------------------------------------------------
290
--Start Important Functions--
291
-------------------------------------------------------
292
function swait(num)
293
	if num == 0 or num == nil then
294
		game:service("RunService").Stepped:wait(0)
295
	else
296
		for i = 0, num do
297
			game:service("RunService").Stepped:wait(0)
298
		end
299
	end
300
end
301
function thread(f)
302
	coroutine.resume(coroutine.create(f))
303
end
304
function clerp(a, b, t)
305
	local qa = {
306
		QuaternionFromCFrame(a)
307
	}
308
	local qb = {
309
		QuaternionFromCFrame(b)
310
	}
311
	local ax, ay, az = a.x, a.y, a.z
312
	local bx, by, bz = b.x, b.y, b.z
313
	local _t = 1 - t
314
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
315
end
316
function QuaternionFromCFrame(cf)
317
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
318
	local trace = m00 + m11 + m22
319
	if trace > 0 then
320
		local s = math.sqrt(1 + trace)
321
		local recip = 0.5 / s
322
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
323
	else
324
		local i = 0
325
		if m00 < m11 then
326
			i = 1
327
		end
328
		if m22 > (i == 0 and m00 or m11) then
329
			i = 2
330
		end
331
		if i == 0 then
332
			local s = math.sqrt(m00 - m11 - m22 + 1)
333
			local recip = 0.5 / s
334
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
335
		elseif i == 1 then
336
			local s = math.sqrt(m11 - m22 - m00 + 1)
337
			local recip = 0.5 / s
338
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
339
		elseif i == 2 then
340
			local s = math.sqrt(m22 - m00 - m11 + 1)
341
			local recip = 0.5 / s
342
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
343
		end
344
	end
345
end
346
function QuaternionToCFrame(px, py, pz, x, y, z, w)
347
	local xs, ys, zs = x + x, y + y, z + z
348
	local wx, wy, wz = w * xs, w * ys, w * zs
349
	local xx = x * xs
350
	local xy = x * ys
351
	local xz = x * zs
352
	local yy = y * ys
353
	local yz = y * zs
354
	local zz = z * zs
355
	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))
356
end
357
function QuaternionSlerp(a, b, t)
358
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
359
	local startInterp, finishInterp
360
	if cosTheta >= 1.0E-4 then
361
		if 1 - cosTheta > 1.0E-4 then
362
			local theta = math.acos(cosTheta)
363
			local invSinTheta = 1 / Sin(theta)
364
			startInterp = Sin((1 - t) * theta) * invSinTheta
365
			finishInterp = Sin(t * theta) * invSinTheta
366
		else
367
			startInterp = 1 - t
368
			finishInterp = t
369
		end
370
	elseif 1 + cosTheta > 1.0E-4 then
371
		local theta = math.acos(-cosTheta)
372
		local invSinTheta = 1 / Sin(theta)
373
		startInterp = Sin((t - 1) * theta) * invSinTheta
374
		finishInterp = Sin(t * theta) * invSinTheta
375
	else
376
		startInterp = t - 1
377
		finishInterp = t
378
	end
379
	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
380
end
381
function rayCast(Position, Direction, Range, Ignore)
382
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
383
end
384
local RbxUtility = LoadLibrary("RbxUtility")
385
local Create = RbxUtility.Create
386
387
-------------------------------------------------------
388
--Start Damage Function--
389
-------------------------------------------------------
390
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
391
	if hit.Parent == nil then
392
		return
393
	end
394
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
395
	for _, v in pairs(hit.Parent:children()) do
396
		if v:IsA("Humanoid") then
397
			h = v
398
		end
399
	end
400
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
401
	
402
         hit.Parent:FindFirstChild("Head"):BreakJoints()
403
         end
404
405
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
406
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
407
			if hit.Parent.DebounceHit.Value == true then
408
				return
409
			end
410
		end
411
         if insta == true then
412
         hit.Parent:FindFirstChild("Head"):BreakJoints()
413
         end
414
		local c = Create("ObjectValue"){
415
			Name = "creator",
416
			Value = game:service("Players").LocalPlayer,
417
			Parent = h,
418
		}
419
		game:GetService("Debris"):AddItem(c, .5)
420
		if HitSound ~= nil and HitPitch ~= nil then
421
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
422
		end
423
		local Damage = math.random(minim, maxim)
424
		local blocked = false
425
		local block = hit.Parent:findFirstChild("Block")
426
		if block ~= nil then
427
			if block.className == "IntValue" then
428
				if block.Value > 0 then
429
					blocked = true
430
					block.Value = block.Value - 1
431
					print(block.Value)
432
				end
433
			end
434
		end
435
		if blocked == false then
436
			h.Health = h.Health - Damage
437
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
438
		else
439
			h.Health = h.Health - (Damage / 2)
440
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
441
		end
442
		if Type == "Knockdown" then
443
			local hum = hit.Parent.Humanoid
444
			hum.PlatformStand = true
445
			coroutine.resume(coroutine.create(function(HHumanoid)
446
				swait(1)
447
				HHumanoid.PlatformStand = false
448
			end), hum)
449
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
450
			local bodvol = Create("BodyVelocity"){
451
				velocity = angle * knockback,
452
				P = 5000,
453
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
454
				Parent = hit,
455
			}
456
			local rl = Create("BodyAngularVelocity"){
457
				P = 3000,
458
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
459
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
460
				Parent = hit,
461
			}
462
			game:GetService("Debris"):AddItem(bodvol, .5)
463
			game:GetService("Debris"):AddItem(rl, .5)
464
		elseif Type == "Normal" then
465
			local vp = Create("BodyVelocity"){
466
				P = 500,
467
				maxForce = Vector3.new(math.huge, 0, math.huge),
468
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
469
			}
470
			if knockback > 0 then
471
				vp.Parent = hit.Parent.Torso
472
			end
473
			game:GetService("Debris"):AddItem(vp, .5)
474
		elseif Type == "Up" then
475
			local bodyVelocity = Create("BodyVelocity"){
476
				velocity = Vector3.new(0, 20, 0),
477
				P = 5000,
478
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
479
				Parent = hit,
480
			}
481
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
482
		elseif Type == "DarkUp" then
483
			coroutine.resume(coroutine.create(function()
484
				for i = 0, 1, 0.1 do
485
					swait()
486
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
487
				end
488
			end))
489
			local bodyVelocity = Create("BodyVelocity"){
490
				velocity = Vector3.new(0, 20, 0),
491
				P = 5000,
492
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
493
				Parent = hit,
494
			}
495
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
496
		elseif Type == "Snare" then
497
			local bp = Create("BodyPosition"){
498
				P = 2000,
499
				D = 100,
500
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
501
				position = hit.Parent.Torso.Position,
502
				Parent = hit.Parent.Torso,
503
			}
504
			game:GetService("Debris"):AddItem(bp, 1)
505
		elseif Type == "Freeze" then
506
			local BodPos = Create("BodyPosition"){
507
				P = 50000,
508
				D = 1000,
509
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
510
				position = hit.Parent.Torso.Position,
511
				Parent = hit.Parent.Torso,
512
			}
513
			local BodGy = Create("BodyGyro") {
514
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
515
				P = 20e+003,
516
				Parent = hit.Parent.Torso,
517
				cframe = hit.Parent.Torso.CFrame,
518
			}
519
			hit.Parent.Torso.Anchored = true
520
			coroutine.resume(coroutine.create(function(Part) 
521
				swait(1.5)
522
				Part.Anchored = false
523
			end), hit.Parent.Torso)
524
			game:GetService("Debris"):AddItem(BodPos, 3)
525
			game:GetService("Debris"):AddItem(BodGy, 3)
526
		end
527
		local debounce = Create("BoolValue"){
528
			Name = "DebounceHit",
529
			Parent = hit.Parent,
530
			Value = true,
531
		}
532
		game:GetService("Debris"):AddItem(debounce, Delay)
533
		c = Create("ObjectValue"){
534
			Name = "creator",
535
			Value = Player,
536
			Parent = h,
537
		}
538
		game:GetService("Debris"):AddItem(c, .5)
539
	end
540
end
541
-------------------------------------------------------
542
--End Damage Function--
543
-------------------------------------------------------
544
545
-------------------------------------------------------
546
--Start Damage Function Customization--
547
-------------------------------------------------------
548
function ShowDamage(Pos, Text, Time, Color)
549
	local Rate = (1 / 30)
550
	local Pos = (Pos or Vector3.new(0, 0, 0))
551
	local Text = (Text or "")
552
	local Time = (Time or 2)
553
	local Color = (Color or Color3.new(17, 17, 17))
554
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
555
	EffectPart.Anchored = true
556
	local BillboardGui = Create("BillboardGui"){
557
		Size = UDim2.new(3, 0, 3, 0),
558
		Adornee = EffectPart,
559
		Parent = EffectPart,
560
	}
561
	local TextLabel = Create("TextLabel"){
562
		BackgroundTransparency = 1,
563
		Size = UDim2.new(1, 0, 1, 0),
564
		Text = Text,
565
		Font = "Bodoni",
566
		TextColor3 = Color,
567
		TextScaled = true,
568
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
569
		Parent = BillboardGui,
570
	}
571
	game.Debris:AddItem(EffectPart, (Time))
572
	EffectPart.Parent = game:GetService("Workspace")
573
	delay(0, function()
574
		local Frames = (Time / Rate)
575
		for Frame = 1, Frames do
576
			wait(Rate)
577
			local Percent = (Frame / Frames)
578
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
579
			TextLabel.TextTransparency = Percent
580
		end
581
		if EffectPart and EffectPart.Parent then
582
			EffectPart:Destroy()
583
		end
584
	end)
585
end
586
-------------------------------------------------------
587
--End Damage Function Customization--
588
-------------------------------------------------------
589
590
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
591
  for _, c in pairs(workspace:children()) do
592
    local hum = c:findFirstChild("Humanoid")
593
    if hum ~= nil then
594
      local head = c:findFirstChild("Head")
595
      if head ~= nil then
596
        local targ = head.Position - Part.Position
597
        local mag = targ.magnitude
598
        if magni >= mag and c.Name ~= plr.Name then
599
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
600
        end
601
      end
602
    end
603
  end
604
end
605
606
607
CFuncs = {
608
	Part = {
609
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
610
			local Part = Create("Part")({
611
				Parent = Parent,
612
				Reflectance = Reflectance,
613
				Transparency = Transparency,
614
				CanCollide = false,
615
				Locked = true,
616
				BrickColor = BrickColor.new(tostring(BColor)),
617
				Name = Name,
618
				Size = Size,
619
				Material = Material
620
			})
621
			RemoveOutlines(Part)
622
			return Part
623
		end
624
	},
625
	Mesh = {
626
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
627
			local Msh = Create(Mesh)({
628
				Parent = Part,
629
				Offset = OffSet,
630
				Scale = Scale
631
			})
632
			if Mesh == "SpecialMesh" then
633
				Msh.MeshType = MeshType
634
				Msh.MeshId = MeshId
635
			end
636
			return Msh
637
		end
638
	},
639
	Mesh = {
640
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
641
			local Msh = Create(Mesh)({
642
				Parent = Part,
643
				Offset = OffSet,
644
				Scale = Scale
645
			})
646
			if Mesh == "SpecialMesh" then
647
				Msh.MeshType = MeshType
648
				Msh.MeshId = MeshId
649
			end
650
			return Msh
651
		end
652
	},
653
	Weld = {
654
		Create = function(Parent, Part0, Part1, C0, C1)
655
			local Weld = Create("Weld")({
656
				Parent = Parent,
657
				Part0 = Part0,
658
				Part1 = Part1,
659
				C0 = C0,
660
				C1 = C1
661
			})
662
			return Weld
663
		end
664
	},
665
	Sound = {
666
		Create = function(id, par, vol, pit)
667
			coroutine.resume(coroutine.create(function()
668
				local S = Create("Sound")({
669
					Volume = vol,
670
					Pitch = pit or 1,
671
					SoundId = id,
672
					Parent = par or workspace
673
				})
674
				wait()
675
				S:play()
676
				game:GetService("Debris"):AddItem(S, 6)
677
			end))
678
		end
679
	},
680
	ParticleEmitter = {
681
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
682
			local fp = Create("ParticleEmitter")({
683
				Parent = Parent,
684
				Color = ColorSequence.new(Color1, Color2),
685
				LightEmission = LightEmission,
686
				Size = Size,
687
				Texture = Texture,
688
				Transparency = Transparency,
689
				ZOffset = ZOffset,
690
				Acceleration = Accel,
691
				Drag = Drag,
692
				LockedToPart = LockedToPart,
693
				VelocityInheritance = VelocityInheritance,
694
				EmissionDirection = EmissionDirection,
695
				Enabled = Enabled,
696
				Lifetime = LifeTime,
697
				Rate = Rate,
698
				Rotation = Rotation,
699
				RotSpeed = RotSpeed,
700
				Speed = Speed,
701
				VelocitySpread = VelocitySpread
702
			})
703
			return fp
704
		end
705
	}
706
}
707
function RemoveOutlines(part)
708
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
709
end
710
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
711
	local Part = Create("Part")({
712
		formFactor = FormFactor,
713
		Parent = Parent,
714
		Reflectance = Reflectance,
715
		Transparency = Transparency,
716
		CanCollide = false,
717
		Locked = true,
718
		BrickColor = BrickColor.new(tostring(BColor)),
719
		Name = Name,
720
		Size = Size,
721
		Material = Material
722
	})
723
	RemoveOutlines(Part)
724
	return Part
725
end
726
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
727
	local Msh = Create(Mesh)({
728
		Parent = Part,
729
		Offset = OffSet,
730
		Scale = Scale
731
	})
732
	if Mesh == "SpecialMesh" then
733
		Msh.MeshType = MeshType
734
		Msh.MeshId = MeshId
735
	end
736
	return Msh
737
end
738
function CreateWeld(Parent, Part0, Part1, C0, C1)
739
	local Weld = Create("Weld")({
740
		Parent = Parent,
741
		Part0 = Part0,
742
		Part1 = Part1,
743
		C0 = C0,
744
		C1 = C1
745
	})
746
	return Weld
747
end
748
749
750
-------------------------------------------------------
751
--Start Effect Function--
752
-------------------------------------------------------
753
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
754
    local NEWWELD = IT(TYPE)
755
    NEWWELD.Part0 = PART0
756
    NEWWELD.Part1 = PART1
757
    NEWWELD.C0 = C0
758
    NEWWELD.C1 = C1
759
    NEWWELD.Parent = PARENT
760
    return NEWWELD
761
end
762
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
763
    local NEWMESH = IT(MESH)
764
    if MESH == "SpecialMesh" then
765
        NEWMESH.MeshType = MESHTYPE
766
        if MESHID ~= "nil" and MESHID ~= "" then
767
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
768
        end
769
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
770
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
771
        end
772
    end
773
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
774
    NEWMESH.Scale = SCALE
775
    NEWMESH.Parent = PARENT
776
    return NEWMESH
777
end
778
779
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Red", "Top Hat", Vector3.new(1,1,1),false)
780
PRT.Color = Color3.new(236, 236, 236)
781
local TopHat = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.87,0), CF(0, 0, 0))
782
CreateMesh("SpecialMesh", PRT, "FileMesh", "1033213385", "", Vector3.new(1,1,1)*1.05, Vector3.new(0,0,0))
783
local PRT = CreatePart(3, Character, "Neon", 0, 0, "Red", "Top Hat", Vector3.new(1,1,1),false)
784
PRT.Color = Color3.new(27, 42, 53)
785
EffectModel = Instance.new("Model", char)
786
Effects = {
787
  Block = {
788
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
789
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
790
      prt.Anchored = true
791
      prt.CFrame = cframe
792
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
793
      game:GetService("Debris"):AddItem(prt, 10)
794
      if Type == 1 or Type == nil then
795
        table.insert(Effects, {
796
          prt,
797
          "Block1",
798
          delay,
799
          x3,
800
          y3,
801
          z3,
802
          msh
803
        })
804
      elseif Type == 2 then
805
        table.insert(Effects, {
806
          prt,
807
          "Block2",
808
          delay,
809
          x3,
810
          y3,
811
          z3,
812
          msh
813
        })
814
      else
815
        table.insert(Effects, {
816
          prt,
817
          "Block3",
818
          delay,
819
          x3,
820
          y3,
821
          z3,
822
          msh
823
        })
824
      end
825
    end
826
  },
827
  Sphere = {
828
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
829
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
830
      prt.Anchored = true
831
      prt.CFrame = cframe
832
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
833
      game:GetService("Debris"):AddItem(prt, 10)
834
      table.insert(Effects, {
835
        prt,
836
        "Cylinder",
837
        delay,
838
        x3,
839
        y3,
840
        z3,
841
        msh
842
      })
843
    end
844
  },
845
  Cylinder = {
846
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
847
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
848
      prt.Anchored = true
849
      prt.CFrame = cframe
850
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
851
      game:GetService("Debris"):AddItem(prt, 10)
852
      table.insert(Effects, {
853
        prt,
854
        "Cylinder",
855
        delay,
856
        x3,
857
        y3,
858
        z3,
859
        msh
860
      })
861
    end
862
  },
863
  Wave = {
864
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
865
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
866
      prt.Anchored = true
867
      prt.CFrame = cframe
868
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
869
                  	Cso("158037267", tors, 10, 1)
870
        chatfunc("print (''Slash'')", BrickColor.new("Really red").Color)
871
        wait(0,35)
872
      game:GetService("Debris"):AddItem(prt, 10)
873
      table.insert(Effects, {
874
        prt,
875
        "Cylinder",
876
        delay,
877
        x3 / 60,
878
        y3 / 60,
879
        z3 / 60,
880
        msh
881
      })
882
    end
883
  },
884
  Ring = {
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("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", 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
  Break = {
903
    Create = function(brickcolor, cframe, x1, y1, z1)
904
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
905
      prt.Anchored = true
906
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
907
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
908
      local num = math.random(10, 50) / 1000
909
      game:GetService("Debris"):AddItem(prt, 10)
910
      table.insert(Effects, {
911
        prt,
912
        "Shatter",
913
        num,
914
        prt.CFrame,
915
        math.random() - math.random(),
916
        0,
917
        math.random(50, 100) / 100
918
      })
919
    end
920
  },
921
Spiral = {
922
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
923
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
924
      prt.Anchored = true
925
      prt.CFrame = cframe
926
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
927
      game:GetService("Debris"):AddItem(prt, 10)
928
      table.insert(Effects, {
929
        prt,
930
        "Cylinder",
931
        delay,
932
        x3,
933
        y3,
934
        z3,
935
        msh
936
      })
937
    end
938
  },
939
Push = {
940
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
941
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
942
      prt.Anchored = true
943
      prt.CFrame = cframe
944
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
945
      game:GetService("Debris"):AddItem(prt, 10)
946
      table.insert(Effects, {
947
        prt,
948
        "Cylinder",
949
        delay,
950
        x3,
951
        y3,
952
        z3,
953
        msh
954
      })
955
    end
956
  }
957
}
958
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
959
	local fp = IT("Part")
960
	fp.formFactor = formfactor 
961
	fp.Parent = parent
962
	fp.Reflectance = reflectance
963
	fp.Transparency = transparency
964
	fp.CanCollide = false 
965
	fp.Locked = true
966
	fp.BrickColor = brickcolor
967
	fp.Name = name
968
	fp.Size = size
969
	fp.Position = tors.Position 
970
	RemoveOutlines(fp)
971
	fp.Material = "SmoothPlastic"
972
	fp:BreakJoints()
973
	return fp 
974
end 
975
 
976
function mesh(Mesh,part,meshtype,meshid,offset,scale)
977
	local mesh = IT(Mesh) 
978
	mesh.Parent = part
979
	if Mesh == "SpecialMesh" then
980
		mesh.MeshType = meshtype
981
	if meshid ~= "nil" then
982
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
983
		end
984
	end
985
	mesh.Offset = offset
986
	mesh.Scale = scale
987
	return mesh
988
end
989
990
function Magic(bonuspeed, type, pos, scale, value, color, MType)
991
	local type = type
992
	local rng = Instance.new("Part", char)
993
	rng.Anchored = true
994
	rng.BrickColor = color
995
	rng.CanCollide = false
996
	rng.FormFactor = 3
997
	rng.Name = "Ring"
998
	rng.Material = "Neon"
999
	rng.Size = Vector3.new(1, 1, 1)
1000
	rng.Transparency = 0
1001
	rng.TopSurface = 0
1002
	rng.BottomSurface = 0
1003
	rng.CFrame = pos
1004
	local rngm = Instance.new("SpecialMesh", rng)
1005
	rngm.MeshType = MType
1006
	rngm.Scale = scale
1007
	local scaler2 = 1
1008
	if type == "Add" then
1009
		scaler2 = 1 * value
1010
	elseif type == "Divide" then
1011
		scaler2 = 1 / value
1012
	end
1013
	coroutine.resume(coroutine.create(function()
1014
		for i = 0, 10 / bonuspeed, 0.1 do
1015
			swait()
1016
			if type == "Add" then
1017
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1018
			elseif type == "Divide" then
1019
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1020
			end
1021
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1022
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
1023
		end
1024
		rng:Destroy()
1025
	end))
1026
end
1027
1028
function Eviscerate(dude)
1029
	if dude.Name ~= char then
1030
		local bgf = IT("BodyGyro", dude.Head)
1031
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1032
		local val = IT("BoolValue", dude)
1033
		val.Name = "IsHit"
1034
		local ds = coroutine.wrap(function()
1035
			dude:WaitForChild("Head"):BreakJoints()
1036
			wait(0.5)
1037
			target = nil
1038
			coroutine.resume(coroutine.create(function()
1039
				for i, v in pairs(dude:GetChildren()) do
1040
					if v:IsA("Accessory") then
1041
						v:Destroy()
1042
					end
1043
					if v:IsA("Humanoid") then
1044
						v:Destroy()
1045
					end
1046
					if v:IsA("CharacterMesh") then
1047
						v:Destroy()
1048
					end
1049
					if v:IsA("Model") then
1050
						v:Destroy()
1051
					end
1052
					if v:IsA("Part") or v:IsA("MeshPart") then
1053
						for x, o in pairs(v:GetChildren()) do
1054
							if o:IsA("Decal") then
1055
								o:Destroy()
1056
							end
1057
						end
1058
						coroutine.resume(coroutine.create(function()
1059
							v.Material = "Neon"
1060
							v.CanCollide = false
1061
							local PartEmmit1 = IT("ParticleEmitter", v)
1062
							PartEmmit1.LightEmission = 1
1063
							PartEmmit1.Texture = "rbxassetid://284205403"
1064
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1065
							PartEmmit1.Rate = 150
1066
							PartEmmit1.Lifetime = NumberRange.new(1)
1067
							PartEmmit1.Size = NumberSequence.new({
1068
								NumberSequenceKeypoint.new(0, 0.75, 0),
1069
								NumberSequenceKeypoint.new(1, 0, 0)
1070
							})
1071
							PartEmmit1.Transparency = NumberSequence.new({
1072
								NumberSequenceKeypoint.new(0, 0, 0),
1073
								NumberSequenceKeypoint.new(1, 1, 0)
1074
							})
1075
							PartEmmit1.Speed = NumberRange.new(0, 0)
1076
							PartEmmit1.VelocitySpread = 30000
1077
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
1078
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
1079
							local BodPoss = IT("BodyPosition", v)
1080
							BodPoss.P = 3000
1081
							BodPoss.D = 1000
1082
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1083
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1084
							v.Color = maincolor.Color
1085
							coroutine.resume(coroutine.create(function()
1086
								for i = 0, 49 do
1087
									swait(1)
1088
									v.Transparency = v.Transparency + 0.08
1089
								end
1090
								wait(0.5)
1091
								PartEmmit1.Enabled = false
1092
								wait(3)
1093
								v:Destroy()
1094
								dude:Destroy()
1095
							end))
1096
						end))
1097
					end
1098
				end
1099
			end))
1100
		end)
1101
		ds()
1102
	end
1103
end
1104
1105
function FindNearestHead(Position, Distance, SinglePlayer)
1106
	if SinglePlayer then
1107
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
1108
	end
1109
	local List = {}
1110
	for i, v in pairs(workspace:GetChildren()) do
1111
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
1112
			table.insert(List, v)
1113
		end
1114
	end
1115
	return List
1116
end
1117
1118
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
1119
	local type = type
1120
	local rng = Instance.new("Part", char)
1121
	rng.Anchored = true
1122
	rng.BrickColor = color
1123
	rng.CanCollide = false
1124
	rng.FormFactor = 3
1125
	rng.Name = "Ring"
1126
	rng.Material = "Neon"
1127
	rng.Size = Vector3.new(1, 1, 1)
1128
	rng.Transparency = 0
1129
	rng.TopSurface = 0
1130
	rng.BottomSurface = 0
1131
	rng.CFrame = pos
1132
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
1133
	local rngm = Instance.new("SpecialMesh", rng)
1134
	rngm.MeshType = MType
1135
	rngm.Scale = Vector3.new(x1, y1, z1)
1136
	local scaler2 = 1
1137
	local speeder = FastSpeed
1138
	if type == "Add" then
1139
		scaler2 = 1 * value
1140
	elseif type == "Divide" then
1141
		scaler2 = 1 / value
1142
	end
1143
	coroutine.resume(coroutine.create(function()
1144
		for i = 0, 10 / bonuspeed, 0.1 do
1145
			swait()
1146
			if type == "Add" then
1147
				scaler2 = scaler2 - 0.01 * value / bonuspeed
1148
			elseif type == "Divide" then
1149
				scaler2 = scaler2 - 0.01 / value * bonuspeed
1150
			end
1151
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
1152
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
1153
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
1154
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
1155
		end
1156
		rng:Destroy()
1157
	end))
1158
end
1159
1160
function SoulSteal(dude)
1161
if dude.Name ~= char then
1162
local bgf = IT("BodyGyro", dude.Head)
1163
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
1164
local val = IT("BoolValue", dude)
1165
val.Name = "IsHit"
1166
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
1167
local soulst = coroutine.wrap(function()
1168
local soul = Instance.new("Part",dude)
1169
soul.Size = Vector3.new(1,1,1)
1170
soul.CanCollide = false
1171
soul.Anchored = false
1172
soul.Position = torso.Position
1173
soul.Transparency = 1
1174
local PartEmmit1 = IT("ParticleEmitter", soul)
1175
PartEmmit1.LightEmission = 1
1176
PartEmmit1.Texture = "rbxassetid://569507414"
1177
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1178
PartEmmit1.Rate = 250
1179
PartEmmit1.Lifetime = NumberRange.new(1.6)
1180
PartEmmit1.Size = NumberSequence.new({
1181
	NumberSequenceKeypoint.new(0, 1, 0),
1182
	NumberSequenceKeypoint.new(1, 0, 0)
1183
})
1184
PartEmmit1.Transparency = NumberSequence.new({
1185
	NumberSequenceKeypoint.new(0, 0, 0),
1186
	NumberSequenceKeypoint.new(1, 1, 0)
1187
})
1188
PartEmmit1.Speed = NumberRange.new(0, 0)
1189
PartEmmit1.VelocitySpread = 30000
1190
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1191
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1192
local BodPoss = IT("BodyPosition", soul)
1193
BodPoss.P = 3000
1194
BodPoss.D = 1000
1195
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1196
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1197
wait(1.6)
1198
soul.Touched:connect(function(hit)
1199
	if hit.Parent == char then
1200
	soul:Destroy()
1201
	end
1202
end)
1203
wait(1.2)
1204
while soul do
1205
	swait()
1206
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1207
	BodPoss.Position = tors.Position
1208
end
1209
end)
1210
	soulst()
1211
	end
1212
end
1213
function FaceMouse()
1214
local	Cam = workspace.CurrentCamera
1215
	return {
1216
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1217
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1218
	}
1219
end
1220
1221
BTAUNT = Instance.new("Sound", tors)
1222
BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1843671833"
1223
BTAUNT.Volume = 10
1224
BTAUNT.Pitch = 1
1225
BTAUNT.Looped = true
1226
BTAUNT.TimePosition = 0.2
1227
1228
BTAUNT1 = Instance.new("Sound", tors)
1229
BTAUNT1.SoundId = "http://www.roblox.com/asset/?id=3062285720"
1230
BTAUNT1.Volume = 10
1231
BTAUNT1.Pitch = 1
1232
BTAUNT1.Looped = true
1233
BTAUNT1.TimePosition = 0.2
1234
1235
BTAUNT2 = Instance.new("Sound", tors)
1236
BTAUNT2.SoundId = "http://www.roblox.com/asset/?id=3210544464"
1237
BTAUNT2.Volume = 10
1238
BTAUNT2.Pitch = 1
1239
BTAUNT2.Looped = true
1240
BTAUNT2.TimePosition = 0.2
1241
1242
1243
BTAUNT3 = Instance.new("Sound", tors)
1244
BTAUNT3.SoundId = "http://www.roblox.com/asset/?id=2942631642"
1245
BTAUNT3.Volume = 10
1246
BTAUNT3.Pitch = 1
1247
BTAUNT3.Looped = true
1248
BTAUNT3.TimePosition = 0.2
1249
1250
BTAUNT4 = Instance.new("Sound", tors)
1251
BTAUNT4.SoundId = "http://www.roblox.com/asset/?id=2455369690"
1252
BTAUNT4.Volume = 10
1253
BTAUNT4.Pitch = 1
1254
BTAUNT4.Looped = true
1255
BTAUNT4.TimePosition = 0.2
1256
1257
BTAUNT5 = Instance.new("Sound", tors)
1258
BTAUNT5.SoundId = "http://www.roblox.com/asset/?id=3080683313"
1259
BTAUNT5.Volume = 10
1260
BTAUNT5.Pitch = 1
1261
BTAUNT5.Looped = true
1262
BTAUNT5.TimePosition = 0.2
1263
1264
BTAUNT6 = Instance.new("Sound", tors)
1265
BTAUNT6.SoundId = "http://www.roblox.com/asset/?id=1839038498"
1266
BTAUNT6.Volume = 10
1267
BTAUNT6.Pitch = 1
1268
BTAUNT6.Looped = true
1269
BTAUNT6.TimePosition = 0.2
1270
1271
------------------------------------------------------
1272
--End Effect Function--
1273
-------------------------------------------------------
1274
function Cso(ID, PARENT, VOLUME, PITCH)
1275
	local NSound = nil
1276
	coroutine.resume(coroutine.create(function()
1277
		NSound = IT("Sound", PARENT)
1278
		NSound.Volume = VOLUME
1279
		NSound.Pitch = PITCH
1280
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1281
		swait()
1282
		NSound:play()
1283
		game:GetService("Debris"):AddItem(NSound, 50)
1284
	end))
1285
	return NSound
1286
end
1287
function CameraEnshaking(Length, Intensity)
1288
	coroutine.resume(coroutine.create(function()
1289
		local intensity = 1 * Intensity
1290
		local rotM = 0.01 * Intensity
1291
		for i = 0, Length, 0.1 do
1292
			swait()
1293
			intensity = intensity - 0.05 * Intensity / Length
1294
			rotM = rotM - 5.0E-4 * Intensity / Length
1295
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1296
			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)
1297
		end
1298
		hum.CameraOffset = Vector3.new(0, 0, 0)
1299
	end))
1300
end
1301
-------------------------------------------------------
1302
--End Important Functions--
1303
-------------------------------------------------------
1304
1305
1306
-------------------------------------------------------
1307
--Start Customization--
1308
-------------------------------------------------------
1309
local Player_Size = 1
1310
if Player_Size ~= 1 then
1311
root.Size = root.Size * Player_Size
1312
tors.Size = tors.Size * Player_Size
1313
hed.Size = hed.Size * Player_Size
1314
ra.Size = ra.Size * Player_Size
1315
la.Size = la.Size * Player_Size
1316
rl.Size = rl.Size * Player_Size
1317
ll.Size = ll.Size * Player_Size
1318
----------------------------------------------------------------------------------
1319
rootj.Parent = root
1320
neck.Parent = tors
1321
RW.Parent = tors
1322
LW.Parent = tors
1323
RH.Parent = tors
1324
LH.Parent = tors
1325
----------------------------------------------------------------------------------
1326
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1327
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1328
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1329
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1330
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1331
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1332
----------------------------------------------------------------------------------
1333
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))
1334
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))
1335
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))
1336
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))
1337
--hat.Parent = Character
1338
end
1339
----------------------------------------------------------------------------------
1340
----------------------------------------------------------------------------------
1341
local equipped = false
1342
local idle = 0
1343
local change = 1
1344
local val = 0
1345
local toim = 0
1346
local idleanim = 0.4
1347
local sine = 0
1348
local Sit = 1
1349
----------------------------------------------------------------------------------
1350
hum.WalkSpeed = 8
1351
hum.JumpPower = 57
1352
hum.Animator.Parent = nil
1353
----------------------------------------------------------------------------------
1354
local Blob = Instance.new("Part", char)
1355
Blob.Name = "Bloby"
1356
Blob.CanCollide = false
1357
Blob.BrickColor = BrickColor.new("Really black")
1358
Blob.Transparency = 0
1359
Blob.Material = "Plastic"
1360
Blob.Size = Vector3.new(1, 1, 2)
1361
Blob.TopSurface = Enum.SurfaceType.Smooth
1362
Blob.BottomSurface = Enum.SurfaceType.Smooth
1363
1364
local Weld = Instance.new("Weld", Blob)
1365
Weld.Part0 = ra
1366
Weld.Part1 = Blob
1367
Weld.C1 = CFrame.new(0, -2, 1.1)
1368
Weld.C0 = CFrame.Angles(Rad(-86),0,0)
1369
1370
local M2 = Instance.new("SpecialMesh")
1371
M2.Parent = Blob
1372
M2.MeshId = "http://www.roblox.com/asset/?id=432791411"
1373
M2.TextureId = "http://www.roblox.com/asset/?id=160810181"
1374
M2.Scale = Vector3.new(2, 2, 2)
1375
1376
--[[local naeeym2 = Instance.new("BillboardGui",char)
1377
naeeym2.AlwaysOnTop = true
1378
naeeym2.Size = UDim2.new(5,35,2,15)
1379
naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
1380
naeeym2.Adornee = hed
1381
naeeym2.Name = "Name"
1382
--naeeym2.PlayerToHideFrom = Player
1383
local tecks2 = Instance.new("TextLabel",naeeym2)
1384
tecks2.BackgroundTransparency = 1
1385
tecks2.TextScaled = true
1386
tecks2.BorderSizePixel = 0
1387
tecks2.Text = "Fight Me"
1388
tecks2.Font = Enum.Font.Bodoni
1389
tecks2.TextSize = 30
1390
tecks2.TextStrokeTransparency = 0
1391
tecks2.TextColor3 = Color3.new(0, 0, 0)
1392
tecks2.TextStrokeColor3 = Color3.new(205, 84, 75)
1393
tecks2.Size = UDim2.new(1,0,0.5,0)
1394
tecks2.Parent = naeeym2]]
1395
-------------------------------------------------------
1396
--End Customization--
1397
-------------------------------------------------------
1398
1399
-------------------------------------------------------
1400
--Start Attacks N Stuff--
1401
-------------------------------------------------------
1402
local naeeym2 = Instance.new("BillboardGui",char)
1403
naeeym2.AlwaysOnTop = true
1404
naeeym2.Size = UDim2.new(5,35,2,35)
1405
naeeym2.StudsOffset = Vector3.new(0,2,0)
1406
naeeym2.Adornee = hed
1407
naeeym2.Name = "Name"
1408
1409
local tecks2 = Instance.new("TextLabel",naeeym2)
1410
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
1411
tecks2.BackgroundTransparency = 1
1412
tecks2.TextScaled = true
1413
tecks2.BorderSizePixel = 0
1414
tecks2.Text = ""
1415
tecks2.Font = "Fantasy"
1416
tecks2.TextSize = 30
1417
tecks2.TextStrokeTransparency = 0
1418
tecks2.TextColor3 = BrickColor.new('Really red').Color
1419
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
1420
tecks2.Size = UDim2.new(1,0,0.5,0)
1421
tecks2.Parent = naeeym2
1422
textfag = tecks2
1423
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
1424
tecks2.Text = ""
1425
CFuncs.Sound.Create("rbxassetid://2755928629", root, 1.85, 1)
1426-
tecks2.Text = "script by xdielivex"
1426+
tecks2.Text = "script by doryna2281337"
1427
wait(2)
1428
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
1429
tecks2.Text = ""
1430
BTAUNT:Play()
1431
coroutine.resume(coroutine.create(function()
1432
    while textfag ~= nil do
1433
        swait()
1434
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
1435
        textfag.Rotation = math.random(-3,3)
1436
    end
1437
end))
1438
1439
hed.face.Texture = "http://www.roblox.com/asset/?id=0"
1440
for i,v in pairs(char:children()) do
1441
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
1442
v:Remove()
1443
end
1444
end
1445
shirt = Instance.new("Shirt", char)
1446
shirt.Name = "Shirt"
1447
pants = Instance.new("Pants", char)
1448
pants.Name = "Pants"
1449
char.Shirt.ShirtTemplate = "rbxassetid://2018917293"
1450
char.Pants.PantsTemplate = "rbxassetid://398633812"
1451
local Hair2 = Instance.new("Part", char)
1452
Hair2.Name = "Hair2"
1453
Hair2.CanCollide = false
1454
Hair2.BrickColor = BrickColor.new("CGA brown")
1455
Hair2.Transparency = 0
1456
Hair2.Material = "Plastic"
1457
Hair2.Size = Vector3.new(1, 1, 2)
1458
Hair2.TopSurface = Enum.SurfaceType.Smooth
1459
Hair2.BottomSurface = Enum.SurfaceType.Smooth
1460
 
1461
local Weld = Instance.new("Weld", Hair2)
1462
Weld.Part0 = hed
1463
Weld.Part1 = Hair2
1464
Weld.C1 = CFrame.new(0,-0.1,0.60)
1465
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
1466
 
1467
local M2 = Instance.new("SpecialMesh")
1468
M2.Parent = Hair2
1469
M2.MeshId = "http://www.roblox.com/asset/?id=1703946602"
1470
M2.TextureId = "http://www.roblox.com/asset/?id=916236071"
1471
M2.Scale = Vector3.new(1, 1, 1)
1472
local l = game.Lighting
1473
local sky = Instance.new("Sky",l)
1474
l.TimeOfDay = "12:00:00"
1475
l.Brightness = 1
1476
l.Ambient = Color3.new(0.25, 0.5, 0.75)
1477
----------------------------------------------------------------------------------
1478
wait()
1479
player = game.Players.LocalPlayer
1480
torso = player.Character:WaitForChild("Torso")
1481
mouse = player:GetMouse()
1482
 
1483
mouse.KeyDown:connect(function(key)
1484
    if key == "t" then
1485
                  	Cso("2755928629", tors, 10, 1)
1486
        chatfunc("function teleport()", BrickColor.new("Really red").Color)
1487
        wait(1)
1488
        dist = (torso.Position - mouse.Hit.p).magnitude
1489
        if dist <= 10000 then
1490
            torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0)
1491
        end
1492
    end
1493
end)
1494
----------------------------------------------------------------------------------
1495
local AddInstance = function(Object, ...)
1496
local Obj = Instance.new(Object)
1497
for i,v in next,(...) do
1498
Obj[i] = v
1499
end
1500
return Obj
1501
end
1502
----------------------------------------------------
1503
		local Reaper = AddInstance("Part",{
1504
			Parent = hed,
1505
			CFrame = hed.CFrame,
1506
			formFactor = "Symmetric",
1507
			Size = Vector3.new(1, 1, 1),
1508
			CanCollide = false,
1509
			TopSurface = "Smooth",
1510
			BottomSurface = "Smooth",
1511
			Locked = true,
1512
		})
1513
		local Weld = AddInstance("Weld",{
1514
			Parent = Reaper,
1515
			Part0 = hed,
1516
			C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0),
1517
			Part1 = Reaper,
1518
		})
1519
		local Mesh = AddInstance("SpecialMesh",{
1520
			Parent = Reaper,
1521
			MeshId = "rbxassetid://0",
1522
			TextureId = "rbxassetid://0",
1523
			Scale = Vector3.new(1.1, 1.1, 1.1),
1524
			VertexColor = Vector3.new(0.3, 0.3, 0.3),
1525
		})
1526
-------------------------------------------------------
1527
wait()
1528
plr = game.Players.LocalPlayer
1529
char = plr.Character
1530
mouse = plr:GetMouse()
1531
whitecolor = Color3.new(1,1,1)
1532
epicmode = false
1533
normal = true
1534
for i,v in pairs(char:GetChildren()) do
1535
   if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
1536
      v:Destroy()
1537
     end
1538
end
1539
local shirt = Instance.new("Shirt",char)
1540
shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
1541
local pants = Instance.new("Pants",char)
1542
pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
1543
local bdycolors = char["Body Colors"]
1544
bdycolors.HeadColor3 = whitecolor
1545
bdycolors.LeftArmColor3 = whitecolor
1546
bdycolors.LeftLegColor3 = whitecolor
1547
bdycolors.RightArmColor3 = whitecolor
1548
bdycolors.RightLegColor3 = whitecolor
1549
bdycolors.TorsoColor3 = whitecolor
1550
for i,v in pairs(char:GetChildren()) do
1551
    if v.ClassName == "Hat" or v.ClassName == "Accessory" then
1552
        v:Destroy()
1553
    end
1554
end
1555
----------------------------------------------------------------------
1556
Circle = nil
1557
CircleParts = {}
1558
Equipped = false
1559
 
1560
function RayCast(Position, Direction, MaxDistance, IgnoreList)
1561
    return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
1562
end
1563
    Equipped = true
1564
    Circle = Instance.new("Model")
1565
    Circle.Name = "Circle"
1566
    Angle = 0
1567
    for i = 1, 1 do
1568
        local CirclePart = Instance.new("Part")
1569
        CirclePart.Name = "CirclePart"
1570
        CirclePart.Transparency = 1
1571
        CirclePart.BrickColor = BrickColor.new("Really black")
1572
        CirclePart.Material = Enum.Material.Plastic
1573
        CirclePart.Shape = Enum.PartType.Block
1574
        CirclePart.FormFactor = Enum.FormFactor.Custom
1575
        CirclePart.TopSurface = Enum.SurfaceType.Smooth
1576
        CirclePart.BottomSurface = Enum.SurfaceType.Smooth
1577
        CirclePart.Anchored = true
1578
        CirclePart.CanCollide = false
1579
        CirclePart.Locked = true
1580
        CirclePart.Size = Vector3.new(10, 0.2, 10)
1581
        local Aura = Instance.new('ParticleEmitter')
1582
Aura.Name = "Aura"
1583
Aura.Texture = "rbxassetid://0"
1584
Aura.Parent = CirclePart
1585
Aura.LightEmission = 0
1586
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
1587
Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
1588
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
1589
Aura.LockedToPart = false
1590
Aura.Lifetime = NumberRange.new(1)
1591
Aura.Rate = 50
1592
Aura.Speed = NumberRange.new(2.5)
1593
Aura.SpreadAngle = Vector2.new(80,80)
1594
        local BlockMesh = Instance.new("BlockMesh")
1595
        BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
1596
        BlockMesh.Parent = CirclePart
1597
        CirclePart.Parent = Circle
1598
        local Star = Instance.new("Decal", CirclePart)
1599
        Star.Texture = "http://www.roblox.com/asset/?id=124339739"
1600
        Star.Face = "Top"
1601
        local Light = Instance.new("PointLight", CirclePart)
1602
        Light.Color = Color3.new(.20,0,0)
1603
        Light.Brightness = 100
1604
        Light.Range = 15
1605
        table.insert(CircleParts, CirclePart)
1606
    end
1607
    Spawn(function()
1608
        while Equipped and Humanoid.Parent and Torso.Parent do
1609
            if Angle == 360 then
1610
                Angle = 0
1611
            end
1612
            Angle = Angle + 0.05
1613
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1614
            if Hit then
1615
                if not Circle.Parent then
1616
                    Circle.Parent = Character
1617
                end
1618
                for i, v in pairs(CircleParts) do
1619
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
1620
                end
1621
            else
1622
                Circle.Parent = nil
1623
            end
1624
            wait()
1625
        end
1626
    end)
1627
1628
function chatfunc(text, color)
1629
	local chat = coroutine.wrap(function()
1630
		if char:FindFirstChild("TalkingBillBoard") ~= nil then
1631
			char:FindFirstChild("TalkingBillBoard"):destroy()
1632
		end
1633
		local naeeym2 = Instance.new("BillboardGui", char)
1634
		naeeym2.Size = UDim2.new(0, 100, 0, 40)
1635
		naeeym2.StudsOffset = Vector3.new(0, 3, 0)
1636
		naeeym2.Adornee = hed
1637
		naeeym2.Name = "TalkingBillBoard"
1638
		local tecks2 = Instance.new("TextLabel", naeeym2)
1639
		tecks2.BackgroundTransparency = 1
1640
		tecks2.BorderSizePixel = 0
1641
		tecks2.Text = ""
1642
		tecks2.Font = "Fantasy"
1643
		tecks2.TextSize = 30
1644
		tecks2.TextStrokeTransparency = 0
1645
		tecks2.TextColor3 = color
1646
		tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
1647
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
1648
		local tecks3 = Instance.new("TextLabel", naeeym2)
1649
		tecks3.BackgroundTransparency = 1
1650
		tecks3.BorderSizePixel = 0
1651
		tecks3.Text = ""
1652
		tecks3.Font = "Fantasy"
1653
		tecks3.TextSize = 30
1654
		tecks3.TextStrokeTransparency = 0
1655
		tecks3.TextColor3 = Color3.new(0, 0, 0)
1656
		tecks3.TextStrokeColor3 = color
1657
		tecks3.Size = UDim2.new(1, 0, 0.5, 0)
1658
		coroutine.resume(coroutine.create(function()
1659
			while true do
1660
				swait(1)
1661
				tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
1662
				tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
1663
				tecks2.Rotation = math.random(-5, 5)
1664
				tecks3.Rotation = math.random(-5, 5)
1665
			end
1666
		end))
1667
		for i = 1, string.len(text) do
1668
			CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
1669
			tecks2.Text = string.sub(text, 1, i)
1670
			tecks3.Text = string.sub(text, 1, i)
1671
			swait(1)
1672
		end
1673
		wait(1)
1674
		local randomrot = math.random(1, 2)
1675
		if randomrot == 1 then
1676
			for i = 1, 50 do
1677
				swait()
1678
				tecks2.Rotation = tecks2.Rotation - 0.75
1679
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
1680
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
1681
				tecks3.Rotation = tecks2.Rotation + 0.75
1682
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
1683
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
1684
			end
1685
		elseif randomrot == 2 then
1686
			for i = 1, 50 do
1687
				swait()
1688
				tecks2.Rotation = tecks2.Rotation + 0.75
1689
				tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
1690
				tecks2.TextTransparency = tecks2.TextTransparency + 0.04
1691
				tecks3.Rotation = tecks2.Rotation - 0.75
1692
				tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
1693
				tecks3.TextTransparency = tecks2.TextTransparency + 0.04
1694
			end
1695
		end
1696
		naeeym2:Destroy()
1697
	end)
1698
	chat()
1699
end
1700
1701
function Ban()
1702
	attack = true
1703
	for i = 0, 2.6, 0.1 do
1704
		swait()
1705
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
1706
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
1707
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
1708
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
1709
		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)
1710
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
1711
	end
1712
	Cso("357417055", tors, 10, 1)
1713
	CameraEnshaking(2, 15)
1714
	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)
1715
  	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)
1716
  	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)
1717
 	for i, v in pairs(FindNearestHead(Blob.CFrame.p, 9.5)) do
1718
		if v:FindFirstChild("Head") then
1719
			Eviscerate(v)
1720
		end
1721
	end
1722
	for i = 0, 3, 0.1 do
1723
		swait()
1724
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
1725
		tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
1726
		RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
1727
		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
1728
		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)
1729
		LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
1730
	end
1731
	attack = false
1732
end
1733
function fail()
1734
CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1)
1735
        chatfunc("print (''such a skid'')", BrickColor.new("Really red").Color)
1736
        Cso("732572828", hed, 3.5, 1)
1737
	attack = true
1738
	hum.WalkSpeed = 2.01
1739
	for i = 0,1.2,0.1 do
1740
		swait()
1741
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1742
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1743
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1744
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1745
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1746
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1747
	end
1748
	for i = 0,1.2,0.1 do
1749
		swait()
1750
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1751
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1752
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1753
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1754
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1755
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1756
	end
1757
	for i = 0,1.2,0.1 do
1758
		swait()
1759
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1760
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1761
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1762
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1763
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1764
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1765
	end
1766
	for i = 0,1.2,0.1 do
1767
		swait()
1768
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1769
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1770
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1771
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1772
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1773
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1774
	end
1775
	for i = 0,1.2,0.1 do
1776
		swait()
1777
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1778
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1779
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1780
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1781
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1782
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1783
	end
1784
	for i = 0,1.2,0.1 do
1785
		swait()
1786
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1787
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1788
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1789
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1790
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1791
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1792
	end
1793
	hum.WalkSpeed = 16
1794
	attack = false
1795
end
1796
1797
function sneakonehundred()
1798
Cso("891918584", tors, 10, 1)
1799
    attack = true
1800
    hum.WalkSpeed = 0.03
1801
        Character.Head.face.Texture = "rbxassetid://0"
1802
    for i = 0,20,0.1 do
1803
        swait()
1804
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
1805
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
1806
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1807
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1808
        RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(-180)), 0.4)
1809
        LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(1), Rad(0), Rad(180)), 0.4)
1810
    end
1811
        wait(0.15)
1812
        Character.Head.face.Texture = "rbxassetid://0"
1813
    for i = 0,7,0.1 do
1814
        swait()
1815
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
1816
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
1817
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1818
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1819
        RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
1820
        LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
1821
    end
1822
        Character.Head.face.Texture = "rbxassetid://0"
1823
    attack = false
1824
    hum.WalkSpeed = 16
1825
end
1826
1827
function DANCEFORME()
1828
MERKIO = Instance.new("Sound", tors) --why
1829
MERKIO.SoundId = "http://www.roblox.com/asset/?id=891918584"
1830
MERKIO.Volume = 10
1831
MERKIO.Pitch = 1
1832
MERKIO.Looped = false
1833
MERKIO.TimePosition = 0
1834
	attack = true
1835
        Character.Head.face.Texture = "rbxassetid://0"
1836
        MERKIO:Play()
1837
        repeat
1838
	for i = 0,0.7,0.2 do 
1839
		swait()
1840
                MERKIO.Parent = tors
1841
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
1842
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
1843
		RH.C0 = clerp(RH.C0, CF(1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
1844
		LH.C0 = clerp(LH.C0, CF(-1.8, -0.1 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
1845
		RW.C0 = clerp(RW.C0, CF(1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(115)), 0.77)
1846
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.7 + 0.1 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-115)), 0.67)
1847
	end
1848
        for i = 0,0.7,0.2 do
1849
                swait()
1850
                MERKIO.Parent = tors
1851
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
1852
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
1853
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
1854
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
1855
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
1856
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7)
1857
        end
1858
        until MERKIO.Playing == false
1859
        MERKIO:Stop()
1860
        Character.Head.face.Texture = "rbxassetid://0"
1861
	attack = false
1862
	hum.WalkSpeed = 16
1863
end
1864
1865
function dejzrXD()
1866
        attack = true
1867
    hum.WalkSpeed = 20
1868
    for i = 0, 1, 0.1 do
1869
        swait()
1870
        Cso("2755928629", char, 10, 1)
1871
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
1872
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1873
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
1874
        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(-10)), 0.2)
1875
        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(-15), Rad(0), Rad(10)), 0.2)
1876
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
1877
        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)), 0.2)
1878
    end
1879
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(123, 46, 47), 1, maincolor, "Sphere")
1880
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(27, 42, 53), 2, maincolor, "Sphere")
1881
    Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.5, maincolor, "Sphere")
1882
    Magic(1, "Add", mouse.Hit, Vector3.new(1000, 1000, 1000), 0.75, maincolor, "Sphere")
1883
    CameraEnshaking(4, 5)
1884
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
1885
        if v:FindFirstChild("Head") then
1886
            Eviscerate(v)
1887
        end
1888
    end
1889
    for i = 0, 1, 0.1 do
1890
        swait()
1891
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
1892
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.9 + 0.5* Player_Size * Cos(sine / -15)) * angles(Rad(0), Rad(0), Rad(0)), 0.17)
1893
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
1894
        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(-10)), 0.2)
1895
        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(-15), Rad(0), Rad(10)), 0.2)
1896
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
1897
        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)), 0.2)
1898
    end
1899
	attack = false
1900
	Speed = 20
1901
end
1902
1903
function dash()
1904
dashing = true
1905
attack = true
1906
  local bv = Instance.new("BodyVelocity")
1907
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1908
  bv.velocity = root.CFrame.lookVector*200
1909
  bv.Parent = root
1910
for i = 0,1,0.1 do
1911
		swait()
1912
bv.velocity = root.CFrame.lookVector*200
1913
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*CF(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(0)),0.5)
1914
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
1915
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(50)), 0.5)
1916
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-80), math.rad(0), math.rad(-50)), 0.5)
1917
RH.C0=clerp(RH.C0,CF(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
1918
LH.C0=clerp(LH.C0,CF(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
1919
	end
1920
bv:Destroy()
1921
attack = false
1922
dashing = false
1923
end
1924
1925
function special_hell()
1926
CFuncs.Sound.Create("rbxassetid://2755928629", root, 1.85, 1)
1927
        chatfunc("function speed() ", BrickColor.new("Really red").Color)
1928
        wait(2)
1929
	CHOICE = 6
1930
        Cso("732572828", hed, 3.5, 1)
1931
CFuncs.Sound.Create("rbxassetid://188035939", root, 1.85, 1)
1932
	hum.WalkSpeed = 50
1933
1934
	attack = false
1935
end
1936
function ultra()
1937
        attack = true
1938
	hum.WalkSpeed = 0
1939
hed.face.Texture = "http://www.roblox.com/asset/?id=0"
1940
local Fire = IT("Sound",Character.Torso)
1941
local fire = Instance.new("ParticleEmitter", Character.Torso)
1942
fire.Lifetime = NumberRange.new(0.5)
1943
fire.Speed = NumberRange.new(1, 3)
1944
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
1945
fire.Rate = 0
1946
fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
1947
fire.LightEmission = 0.6
1948
fire.Texture = "http://www.roblox.com/asset/?id=0"
1949
fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
1950
Fire:Play()
1951
fire.Enabled = true
1952
fire.Rate =2000
1953
CFuncs.Sound.Create("rbxassetid://138088905", root, 1.85, 1)
1954
	chatfunc("print (''dude, i hate skids'')", BrickColor.new("Really red").Color)
1955
        wait(1)
1956
	for i = 0,18,0.1 do
1957
        swait()
1958
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
1959
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
1960
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
1961
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
1962
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
1963
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
1964
	end
1965
	chatfunc("print(''fine, i will forgive you'')", BrickColor.new("Really red").Color)
1966
        wait(1)
1967
	for i = 0,1.2,0.1 do
1968
		swait()
1969
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1970
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1971
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1972
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1973
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1974
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1975
	end
1976
	for i = 0,1.2,0.1 do
1977
		swait()
1978
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
1979
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
1980
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1981
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1982
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
1983
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
1984
	end
1985
        tecks2:Remove()
1986
        fire:Remove()
1987
        Fire:Stop()
1988
-------------------
1989
    Spawn(function()
1990
        while Equipped and Humanoid.Parent and Torso.Parent do
1991
            if Angle == 360 then
1992
                Angle = 0
1993
            end
1994
            Angle = Angle + 0.05
1995
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
1996
            if Hit then
1997
                if not Circle.Parent then
1998
                    Circle.Parent = Character
1999
                end
2000
                for i, v in pairs(CircleParts) do
2001
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
2002
                end
2003
            else
2004
                Circle.Parent = nil
2005
            end
2006
            wait()
2007
        end
2008
    end)
2009
	attack = false
2010
	hum.WalkSpeed = 16
2011
end
2012
2013
2014
-------------------------------------------------------
2015
--End Attacks N Stuff--
2016
-------------------------------------------------------
2017
mouse.KeyDown:connect(function(key)
2018
	if attack == false then
2019
		if key == "y" then
2020
                  	Cso("138088905", tors, 10, 1)
2021
        chatfunc("print (''your bad'')", BrickColor.new("Really red").Color)
2022
        wait(2)
2023
		elseif key == 'q' then
2024
                        fail()
2025
		elseif key == 'h' then
2026
                        special_hell()
2027
		elseif key == 'f' then
2028
                  	Cso("2755928629", tors, 10, 1)
2029
        chatfunc("function night()", BrickColor.new("Really red").Color)
2030
        wait(1)
2031
local l = game.Lighting
2032
local sky = Instance.new("Sky",l)
2033
l.TimeOfDay = "04:00:00"
2034
l.Brightness = 1
2035
l.Ambient = Color3.new(0.25, 0.5, 0.75)
2036
		elseif key == 'g' then
2037
                  	Cso("2755928629", tors, 10, 1)
2038
        chatfunc("function day()", BrickColor.new("Really red").Color)
2039
        wait(1)
2040
local l = game.Lighting
2041
local sky = Instance.new("Sky",l)
2042
l.TimeOfDay = "12:00:00"
2043
l.Brightness = 1
2044
l.Ambient = Color3.new(0.25, 0.5, 0.75)
2045
		elseif key == 'x' then
2046
                        DANCEFORME()
2047
chatfunc("function you got that()", BrickColor.new("Really red").Color)
2048
BTAUNT1:Remove()
2049
BTAUNT:Remove()
2050
BTAUNT3:Play()
2051
		elseif key == 'r' then
2052
                        dash()
2053
                  	Cso("158037267", tors, 10, 1)
2054
		elseif key == 'u' then
2055
                        ultra()
2056
		elseif key == 'z' then
2057
                        sneakonehundred()
2058
chatfunc("function walk it()", BrickColor.new("Really red").Color)
2059
BTAUNT:Remove()
2060
BTAUNT2:Play()
2061
		elseif key == 'c' then
2062
			hum.WalkSpeed = 16	
2063
            BTAUNT:Remove()
2064
chatfunc("print (''Oh god'')", BrickColor.new("Really red").Color)
2065
Cso("891918584", tors, 10, 1)
2066
wait(5)
2067
chatfunc("function oof()", BrickColor.new("Really red").Color)
2068
	yellowcolor = Color3.new(255, 255, 0)
2069
bdycolors.HeadColor3 = yellowcolor
2070
bdycolors.LeftArmColor3 = yellowcolor
2071
bdycolors.LeftLegColor3 = yellowcolor
2072
bdycolors.RightArmColor3 = yellowcolor
2073
bdycolors.RightLegColor3 = yellowcolor
2074
bdycolors.TorsoColor3 = yellowcolor
2075
BTAUNT1:Play()  
2076
		elseif key == 'v' then
2077
            BTAUNT:Remove()
2078
MERKIO = Instance.new("Sound", tors) --why
2079
MERKIO.SoundId = "http://www.roblox.com/asset/?id=891918584"
2080
MERKIO.Volume = 10
2081
MERKIO.Pitch = 1
2082
MERKIO.Looped = false
2083
MERKIO.TimePosition = 0
2084
            chatfunc("print (''Who is the fat skid here?'')", BrickColor.new("Really red").Color)
2085
Cso("891918584", tors, 10, 1)
2086
                Character.Head.face.Texture = "rbxassetid://0"
2087
        MERKIO:Play()
2088
        repeat
2089
    for i = 0,0.7,0.2 do
2090
        swait()
2091
                MERKIO.Parent = tors
2092
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.8)
2093
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-0), Rad(0), Rad(0)), 0.9)
2094
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
2095
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.8)
2096
        RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
2097
        LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.7)
2098
            end
2099
        for i = 0,0.7,0.2 do
2100
                swait()
2101
                MERKIO.Parent = tors
2102
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -2.64 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
2103
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-110), Rad(0), Rad(0)), 0.4)
2104
        RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2105
        LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
2106
        RW.C0 = clerp(RW.C0, CF(1.3, 0.9 + 0.05 * Sin(sine / 30), 0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-180)), 0.4)
2107
        LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.0001 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(180)), 0.4)
2108
    end
2109
        until MERKIO.Playing == false
2110
        MERKIO:Stop()
2111-
chatfunc("function xdielivex's-Anti-Skid()", BrickColor.new("Really red").Color)
2111+
chatfunc("function Dory's-Anti-Skid()", BrickColor.new("Really red").Color)
2112
BTAUNT4:Play()
2113
        local BC = char["Body Colors"]
2114
        BC.HeadColor = BrickColor.new("Really black")
2115
        BC.LeftArmColor = BrickColor.new("Really black")
2116
        BC.LeftLegColor = BrickColor.new("Really black")
2117
        BC.RightArmColor = BrickColor.new("Really black")
2118
        BC.RightLegColor = BrickColor.new("Really black")
2119
        BC.TorsoColor = BrickColor.new("Really black")
2120
        tecks2:Remove()
2121
local naeeym2 = Instance.new("BillboardGui",char)
2122
naeeym2.AlwaysOnTop = true
2123
naeeym2.Size = UDim2.new(5,35,2,35)
2124
naeeym2.StudsOffset = Vector3.new(0,1,0)
2125
naeeym2.Adornee = hed
2126
naeeym2.Name = "Name"
2127
local tecks2 = Instance.new("TextLabel",naeeym2)
2128
tecks2.BackgroundTransparency = 1
2129
tecks2.TextScaled = true
2130
tecks2.BorderSizePixel = 0
2131
tecks2.Font = "Garamond"
2132
tecks2.TextSize = 30
2133
tecks2.TextStrokeTransparency = 0
2134
tecks2.TextColor3 = BrickColor.new('Really white').Color
2135
tecks2.TextStrokeColor3 = BrickColor.new('Really white').Color
2136
tecks2.Size = UDim2.new(1,0,0.5,0)
2137
tecks2.Parent = naeeym2
2138
textfag = tecks2
2139
wait(1)
2140-
tecks2.Text = "xdielivex's Anti-Skid"
2140+
tecks2.Text = "Dory's Anti-Skid"
2141
coroutine.resume(coroutine.create(function()
2142
    while textfag ~= nil do
2143
        swait()
2144
        textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))  
2145
        textfag.Rotation = math.random(-3,3)
2146
    end
2147
end))
2148
hed.face.Texture = "http://www.roblox.com/asset/?id=0"
2149
2150
		elseif key == 'e' then
2151
                        dejzrXD()
2152
		elseif key == 'b' then
2153
BTAUNT5:Remove()
2154
local tecks2 = Instance.new("TextLabel",naeeym2)
2155
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2156
tecks2.BackgroundTransparency = 1
2157
tecks2.TextScaled = true
2158
tecks2.BorderSizePixel = 0
2159
tecks2.Text = ""
2160
tecks2.Font = "Fantasy"
2161
tecks2.TextSize = 30
2162
tecks2.TextStrokeTransparency = 0
2163
tecks2.TextColor3 = BrickColor.new('Really red').Color
2164
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
2165
tecks2.Size = UDim2.new(1,0,0.5,0)
2166
tecks2.Parent = naeeym2
2167
textfag = tecks2
2168
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2169
tecks2.Text = ""
2170
CFuncs.Sound.Create("rbxassetid://2755928629", root, 1.85, 1)
2171
tecks2.Text = "I'l show you the real peace of mind"
2172
                  	Cso("2884478027", tors, 10, 1)
2173
2174-
hum.WalkSpeed = 20
2174+
2175-
hum.JumpPower = 60
2175+
2176
wait(3)
2177
local killsky = Instance.new('Sky', game:GetService'Lighting')
2178
killsky.SkyboxBk = "rbxassetid://908972560"
2179
killsky.SkyboxDn = "rbxassetid://908972560"
2180
killsky.SkyboxFt = "rbxassetid://908972560"
2181
killsky.SkyboxLf = "rbxassetid://908972560"
2182
killsky.SkyboxRt = "rbxassetid://908972560"
2183
killsky.SkyboxUp = "rbxassetid://908972560"
2184
---
2185
killsky.StarCount = 0
2186-
l.TimeOfDay = "05:00:00"
2186+
2187
killsky.MoonAngularSize = 0
2188
killsky.MoonTextureId = ""
2189
killsky.CelestialBodiesShown = false
2190
game.Lighting.FogColor = Color3.new(0,0,0)
2191
game.Lighting.FogEnd = 100
2192
local l = game.Lighting
2193
local sky = Instance.new("Sky",l)
2194
l.TimeOfDay = "04:00:00"
2195
l.Brightness = 1
2196
l.Ambient = Color3.new(0.25, 0.5, 0.75)
2197
BTAUNT6:Play()
2198
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2199
tecks2.Text = "Zen"
2200
        local BC = char["Body Colors"]
2201
        BC.HeadColor = BrickColor.new("Really red")
2202
        BC.LeftArmColor = BrickColor.new("Really red")
2203
        BC.LeftLegColor = BrickColor.new("Really red")
2204
        BC.RightArmColor = BrickColor.new("Really red")
2205
        BC.RightLegColor = BrickColor.new("Really red")
2206
        BC.TorsoColor = BrickColor.new("Really red")
2207
2208
2209
		elseif key == 'm' then
2210
local tecks2 = Instance.new("TextLabel",naeeym2)
2211
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2212
tecks2.BackgroundTransparency = 1
2213
tecks2.TextScaled = true
2214
tecks2.BorderSizePixel = 0
2215
tecks2.Text = ""
2216-
tecks2.Text = "u have been warped to the Samurai era"
2216+
2217
tecks2.TextSize = 30
2218
tecks2.TextStrokeTransparency = 0
2219
tecks2.TextColor3 = BrickColor.new('Really red').Color
2220
tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
2221
tecks2.Size = UDim2.new(1,0,0.5,0)
2222
tecks2.Parent = naeeym2
2223-
hum.WalkSpeed = 40
2223+
2224-
hum.JumpPower = 100
2224+
2225
tecks2.Text = "U have unlocked a hidden function"
2226
wait(2)
2227
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2228
tecks2.Text = "The Lost Samurai"
2229
BTAUNT:Remove()
2230
BTAUNT5:Play()
2231
wait(3)
2232
CFuncs.Sound.Create("rbxassetid://0", root, 1.85, 1)
2233
tecks2.Text = ""
2234
function sandbox(var,func)
2235
	local env = getfenv(func)
2236
	local newenv = setmetatable({},{
2237
		__index = function(self,k)
2238
			if k=="script" then
2239
				return var
2240
			else
2241
				return env[k]
2242
			end
2243
		end,
2244
	})
2245
	setfenv(func,newenv)
2246
	return func
2247
end
2248
cors = {}
2249
mas = Instance.new("Model",game:GetService("Lighting"))
2250
Model0 = Instance.new("Model")
2251
Script1 = Instance.new("Script")
2252
Part2 = Instance.new("Part")
2253
Weld3 = Instance.new("Weld")
2254
Weld4 = Instance.new("Weld")
2255
Weld5 = Instance.new("Weld")
2256
Weld6 = Instance.new("Weld")
2257
Weld7 = Instance.new("Weld")
2258
Weld8 = Instance.new("Weld")
2259
Weld9 = Instance.new("Weld")
2260
Weld10 = Instance.new("Weld")
2261
Weld11 = Instance.new("Weld")
2262
Weld12 = Instance.new("Weld")
2263
Weld13 = Instance.new("Weld")
2264
Weld14 = Instance.new("Weld")
2265
Weld15 = Instance.new("Weld")
2266
Weld16 = Instance.new("Weld")
2267
Weld17 = Instance.new("Weld")
2268
Weld18 = Instance.new("Weld")
2269
Part19 = Instance.new("Part")
2270
Part20 = Instance.new("Part")
2271
Part21 = Instance.new("Part")
2272
Part22 = Instance.new("Part")
2273
Part23 = Instance.new("Part")
2274
Part24 = Instance.new("Part")
2275
Part25 = Instance.new("Part")
2276
Part26 = Instance.new("Part")
2277
Part27 = Instance.new("Part")
2278
Part28 = Instance.new("Part")
2279
Part29 = Instance.new("Part")
2280
Part30 = Instance.new("Part")
2281
Part31 = Instance.new("Part")
2282
Part32 = Instance.new("Part")
2283
Part33 = Instance.new("Part")
2284
Part34 = Instance.new("Part")
2285
Model0.Name = "Katana"
2286
Model0.Parent = mas
2287
Script1.Name = "1"
2288
Script1.Parent = Model0
2289
table.insert(cors,sandbox(Script1,function()
2290
how = 1
2291
for i,v in pairs(script.Parent:GetChildren()) do
2292
	v.Name = how
2293
	how = how + 1
2294
	for q,w in pairs(v:GetChildren()) do
2295
		w.Name = how
2296
		how = how + 1
2297
	end
2298
end
2299
end))
2300
Part2.Name = "2"
2301
Part2.Parent = Model0
2302
Part2.Material = Enum.Material.Metal
2303
Part2.BrickColor = BrickColor.new("Rust")
2304
Part2.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2305
Part2.Size = Vector3.new(0.0500000007, 0.0700000003, 0.200000107)
2306
Part2.CFrame = CFrame.new(7.61394024, 1.68914151, 28.8409805, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2307
Part2.Color = Color3.new(0.560784, 0.298039, 0.164706)
2308
Part2.Position = Vector3.new(7.61394024, 1.68914151, 28.8409805)
2309
Part2.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2310
Part2.Color = Color3.new(0.560784, 0.298039, 0.164706)
2311
Weld3.Name = "3"
2312
Weld3.Parent = Part2
2313
Weld3.C0 = CFrame.new(-0.624299288, -1.20320392, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2314
Weld3.Part0 = Part2
2315
Weld3.Part1 = Part25
2316
Weld4.Name = "4"
2317
Weld4.Parent = Part2
2318
Weld4.C0 = CFrame.new(-0.633573651, 4.76224995, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2319
Weld4.Part0 = Part2
2320
Weld4.Part1 = Part31
2321
Weld5.Name = "5"
2322
Weld5.Parent = Part2
2323
Weld5.C0 = CFrame.new(-0.753573596, 5.00227404, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2324
Weld5.Part0 = Part2
2325
Weld5.Part1 = Part28
2326
Weld6.Name = "6"
2327
Weld6.Parent = Part2
2328
Weld6.C0 = CFrame.new(-0.668573618, 4.84224367, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2329
Weld6.Part0 = Part2
2330
Weld6.Part1 = Part30
2331
Weld7.Name = "7"
2332
Weld7.Parent = Part2
2333
Weld7.C0 = CFrame.new(-0.624299347, -0.813958466, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2334
Weld7.Part0 = Part2
2335
Weld7.Part1 = Part24
2336
Weld8.Name = "8"
2337
Weld8.Parent = Part2
2338
Weld8.C0 = CFrame.new(-0.813573599, 5.08226967, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2339
Weld8.Part0 = Part2
2340
Weld8.Part1 = Part27
2341
Weld9.Name = "9"
2342
Weld9.Parent = Part2
2343
Weld9.C0 = CFrame.new(-0.624299347, -0.372724652, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2344
Weld9.Part0 = Part2
2345
Weld9.Part1 = Part22
2346
Weld10.Name = "10"
2347
Weld10.Parent = Part2
2348
Weld10.C0 = CFrame.new(-0.624299347, -0.794195056, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2349
Weld10.Part0 = Part2
2350
Weld10.Part1 = Part21
2351
Weld11.Name = "11"
2352
Weld11.Parent = Part2
2353
Weld11.C0 = CFrame.new(-0.624299347, -1.18344116, 0.137594938, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2354
Weld11.Part0 = Part2
2355
Weld11.Part1 = Part20
2356
Weld12.Name = "12"
2357
Weld12.Parent = Part2
2358
Weld12.C0 = CFrame.new(-0.624299347, -0.392485619, -0.111661673, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2359
Weld12.Part0 = Part2
2360
Weld12.Part1 = Part23
2361
Weld13.Name = "13"
2362
Weld13.Parent = Part2
2363
Weld13.C0 = CFrame.new(-0.633573651, 2.38222027, 0.0079665184, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2364
Weld13.Part0 = Part2
2365
Weld13.Part1 = Part32
2366
Weld14.Name = "14"
2367
Weld14.Parent = Part2
2368
Weld14.C0 = CFrame.new(-0.708573639, 4.92227697, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2369
Weld14.Part0 = Part2
2370
Weld14.Part1 = Part29
2371
Weld15.Name = "15"
2372
Weld15.Parent = Part2
2373
Weld15.C0 = CFrame.new(-0.858573616, 5.16230297, 0.00796699524, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2374
Weld15.Part0 = Part2
2375
Weld15.Part1 = Part26
2376
Weld16.Name = "16"
2377
Weld16.Parent = Part2
2378
Weld16.C0 = CFrame.new(-0.633573651, -0.777779102, 0.0105156898, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2379
Weld16.Part0 = Part2
2380
Weld16.Part1 = Part34
2381
Weld17.Name = "17"
2382
Weld17.Parent = Part2
2383
Weld17.C0 = CFrame.new(-0.728573561, 0.00222086906, 0.0184280872, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2384
Weld17.Part0 = Part2
2385
Weld17.Part1 = Part33
2386
Weld18.Name = "18"
2387
Weld18.Parent = Part2
2388
Weld18.C0 = CFrame.new(-0.0485734642, 0, 0.0199999809, 1, 0, 0, 0, 1, 0, 0, 0, 1)
2389
Weld18.Part0 = Part2
2390
Weld18.Part1 = Part19
2391
Part19.Name = "19"
2392
Part19.Parent = Model0
2393
Part19.Material = Enum.Material.Metal
2394
Part19.BrickColor = BrickColor.new("Rust")
2395
Part19.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2396
Part19.Size = Vector3.new(0.0500000007, 0.0700000003, 0.340000063)
2397
Part19.CFrame = CFrame.new(7.60914183, 1.73390079, 28.8139076, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2398
Part19.Color = Color3.new(0.560784, 0.298039, 0.164706)
2399
Part19.Position = Vector3.new(7.60914183, 1.73390079, 28.8139076)
2400
Part19.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2401
Part19.Color = Color3.new(0.560784, 0.298039, 0.164706)
2402
Part20.Name = "20"
2403
Part20.Parent = Model0
2404
Part20.BrickColor = BrickColor.new("Mid gray")
2405
Part20.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2406
Part20.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2407
Part20.CFrame = CFrame.new(8.47027397, 1.90645087, 27.8267384, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2408
Part20.Color = Color3.new(0.803922, 0.803922, 0.803922)
2409
Part20.Position = Vector3.new(8.47027397, 1.90645087, 27.8267384)
2410
Part20.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2411
Part20.Color = Color3.new(0.803922, 0.803922, 0.803922)
2412
Part21.Name = "21"
2413
Part21.Parent = Model0
2414
Part21.BrickColor = BrickColor.new("Mid gray")
2415
Part21.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2416
Part21.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2417
Part21.CFrame = CFrame.new(8.19518757, 2.02678919, 28.0744457, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2418
Part21.Color = Color3.new(0.803922, 0.803922, 0.803922)
2419
Part21.Position = Vector3.new(8.19518757, 2.02678919, 28.0744457)
2420
Part21.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2421
Part21.Color = Color3.new(0.803922, 0.803922, 0.803922)
2422
Part22.Name = "22"
2423
Part22.Parent = Model0
2424
Part22.BrickColor = BrickColor.new("Mid gray")
2425
Part22.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2426
Part22.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2427
Part22.CFrame = CFrame.new(7.89732742, 2.15708971, 28.342659, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2428
Part22.Color = Color3.new(0.803922, 0.803922, 0.803922)
2429
Part22.Position = Vector3.new(7.89732742, 2.15708971, 28.342659)
2430
Part22.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2431
Part22.Color = Color3.new(0.803922, 0.803922, 0.803922)
2432
Part23.Name = "23"
2433
Part23.Parent = Model0
2434
Part23.BrickColor = BrickColor.new("Mid gray")
2435
Part23.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2436
Part23.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2437
Part23.CFrame = CFrame.new(8.08166313, 2.16746688, 28.5112762, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2438
Part23.Color = Color3.new(0.803922, 0.803922, 0.803922)
2439
Part23.Position = Vector3.new(8.08166313, 2.16746688, 28.5112762)
2440
Part23.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2441
Part23.Color = Color3.new(0.803922, 0.803922, 0.803922)
2442
Part24.Name = "24"
2443
Part24.Parent = Model0
2444
Part24.BrickColor = BrickColor.new("Mid gray")
2445
Part24.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2446
Part24.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2447
Part24.CFrame = CFrame.new(8.37952518, 2.0371654, 28.2430611, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2448
Part24.Color = Color3.new(0.803922, 0.803922, 0.803922)
2449
Part24.Position = Vector3.new(8.37952518, 2.0371654, 28.2430611)
2450
Part24.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2451
Part24.Color = Color3.new(0.803922, 0.803922, 0.803922)
2452
Part25.Name = "25"
2453
Part25.Parent = Model0
2454
Part25.BrickColor = BrickColor.new("Mid gray")
2455
Part25.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2456
Part25.Size = Vector3.new(0.394296169, 0.22827673, 0.0518810749)
2457
Part25.CFrame = CFrame.new(8.65461159, 1.91682744, 27.9953537, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2458
Part25.Color = Color3.new(0.803922, 0.803922, 0.803922)
2459
Part25.Position = Vector3.new(8.65461159, 1.91682744, 27.9953537)
2460
Part25.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2461
Part25.Color = Color3.new(0.803922, 0.803922, 0.803922)
2462
Part26.Name = "26"
2463
Part26.Parent = Model0
2464
Part26.Material = Enum.Material.SmoothPlastic
2465
Part26.BrickColor = BrickColor.new("Institutional white")
2466
Part26.Reflectance = 0.80000001192093
2467
Part26.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2468
Part26.Size = Vector3.new(0.0500000007, 0.0799999982, 0.0500000007)
2469
Part26.CFrame = CFrame.new(4.11702347, 4.09911585, 31.8988037, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2470
Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
2471
Part26.Position = Vector3.new(4.11702347, 4.09911585, 31.8988037)
2472
Part26.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2473
Part26.Color = Color3.new(0.972549, 0.972549, 0.972549)
2474
Part27.Name = "27"
2475
Part27.Parent = Model0
2476
Part27.Material = Enum.Material.SmoothPlastic
2477
Part27.BrickColor = BrickColor.new("Institutional white")
2478
Part27.Reflectance = 0.80000001192093
2479
Part27.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2480
Part27.Size = Vector3.new(0.139999971, 0.0799999982, 0.0500000007)
2481
Part27.CFrame = CFrame.new(4.16536522, 4.03168106, 31.8594837, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2482
Part27.Color = Color3.new(0.972549, 0.972549, 0.972549)
2483
Part27.Position = Vector3.new(4.16536522, 4.03168106, 31.8594837)
2484
Part27.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2485
Part27.Color = Color3.new(0.972549, 0.972549, 0.972549)
2486
Part28.Name = "28"
2487
Part28.Parent = Model0
2488
Part28.Material = Enum.Material.SmoothPlastic
2489
Part28.BrickColor = BrickColor.new("Institutional white")
2490
Part28.Reflectance = 0.80000001192093
2491
Part28.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2492
Part28.Size = Vector3.new(0.25999999, 0.0799999982, 0.0500000007)
2493
Part28.CFrame = CFrame.new(4.21094084, 3.95002723, 31.8240604, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2494
Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
2495
Part28.Position = Vector3.new(4.21094084, 3.95002723, 31.8240604)
2496
Part28.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2497
Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
2498
Part29.Name = "29"
2499
Part29.Parent = Model0
2500
Part29.Material = Enum.Material.SmoothPlastic
2501
Part29.BrickColor = BrickColor.new("Institutional white")
2502
Part29.Reflectance = 0.80000001192093
2503
Part29.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2504
Part29.Size = Vector3.new(0.349999994, 0.0799999982, 0.0500000007)
2505
Part29.CFrame = CFrame.new(4.25925732, 3.88260341, 31.7847652, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2506
Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
2507
Part29.Position = Vector3.new(4.25925732, 3.88260341, 31.7847652)
2508
Part29.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2509
Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
2510
Part30.Name = "30"
2511
Part30.Parent = Model0
2512
Part30.Material = Enum.Material.SmoothPlastic
2513
Part30.BrickColor = BrickColor.new("Institutional white")
2514
Part30.Reflectance = 0.80000001192093
2515
Part30.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2516
Part30.Size = Vector3.new(0.429999977, 0.0799999982, 0.0500000007)
2517
Part30.CFrame = CFrame.new(4.30851221, 3.8199122, 31.7441559, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2518
Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
2519
Part30.Position = Vector3.new(4.30851221, 3.8199122, 31.7441559)
2520
Part30.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2521
Part30.Color = Color3.new(0.972549, 0.972549, 0.972549)
2522
Part31.Name = "31"
2523
Part31.Parent = Model0
2524
Part31.Material = Enum.Material.SmoothPlastic
2525
Part31.BrickColor = BrickColor.new("Institutional white")
2526
Part31.Reflectance = 0.80000001192093
2527
Part31.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2528
Part31.Size = Vector3.new(0.5, 0.0799999982, 0.0500000007)
2529
Part31.CFrame = CFrame.new(4.35865259, 3.76197672, 31.702282, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2530
Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
2531
Part31.Position = Vector3.new(4.35865259, 3.76197672, 31.702282)
2532
Part31.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2533
Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
2534
Part32.Name = "32"
2535
Part32.Parent = Model0
2536
Part32.Material = Enum.Material.SmoothPlastic
2537
Part32.BrickColor = BrickColor.new("Institutional white")
2538
Part32.Reflectance = 0.80000001192093
2539
Part32.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2540
Part32.Size = Vector3.new(0.5, 4.68000031, 0.0500000007)
2541
Part32.CFrame = CFrame.new(6.04065943, 3.02617335, 30.1876831, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2542
Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
2543
Part32.Position = Vector3.new(6.04065943, 3.02617335, 30.1876831)
2544
Part32.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2545
Part32.Color = Color3.new(0.972549, 0.972549, 0.972549)
2546
Part33.Name = "33"
2547
Part33.Parent = Model0
2548
Part33.Material = Enum.Material.Metal
2549
Part33.BrickColor = BrickColor.new("Rust")
2550
Part33.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2551
Part33.Size = Vector3.new(1.31000018, 0.0700000003, 0.5)
2552
Part33.CFrame = CFrame.new(7.73284435, 2.37981486, 28.6409836, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2553
Part33.Color = Color3.new(0.560784, 0.298039, 0.164706)
2554
Part33.Position = Vector3.new(7.73284435, 2.37981486, 28.6409836)
2555
Part33.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2556
Part33.Color = Color3.new(0.560784, 0.298039, 0.164706)
2557
Part34.Name = "34"
2558
Part34.Parent = Model0
2559
Part34.BrickColor = BrickColor.new("Black")
2560
Part34.Rotation = Vector3.new(174.800003, -43.1199989, 104.489998)
2561
Part34.Size = Vector3.new(0.518810749, 1.55643225, 0.238810867)
2562
Part34.CFrame = CFrame.new(8.2721405, 2.04906797, 28.1748772, -0.182644248, -0.706716537, -0.683516026, -0.948710799, 0.309157223, -0.0661422908, 0.258057326, 0.636377871, -0.726932526)
2563
Part34.Color = Color3.new(0.105882, 0.164706, 0.207843)
2564
Part34.Position = Vector3.new(8.2721405, 2.04906797, 28.1748772)
2565
Part34.Orientation = Vector3.new(3.78999996, -136.759995, -71.9499969)
2566
Part34.Color = Color3.new(0.105882, 0.164706, 0.207843)
2567
local weld = Instance.new("Weld", Part34)
2568
weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
2569
weld.Part1 = Part34
2570
weld.C0 = CFrame.new(-0.131607056, -0.861706018, -0.131599426, 0.0869438723, -0.0199763775, 0.996020675, -0.99057883, 0.104452573, 0.0885638446, -0.105806068, -0.994336903, -0.0107065737)
2571
for i,v in pairs(mas:GetChildren()) do
2572
	v.Parent = game:GetService("Players").LocalPlayer.Character
2573
	pcall(function() v:MakeJoints() end)
2574
end
2575
mas:Destroy()
2576
for i,v in pairs(cors) do
2577
	spawn(function()
2578
		pcall(v)
2579
	end)
2580
end
2581
for i,v in pairs(Model0:GetChildren()) do
2582
	if v.ClassName == "Part" then
2583
		v.CanCollide = false
2584
	end
2585
end
2586-
 		end
2586+
2587
local idle = 0
2588
local change = 1
2589
local val = 0
2590
local toim = 0
2591
local idleanim = 0.4
2592
local sine = 0
2593
local Sit = 1
2594
while true do
2595
	swait()
2596
	sine = sine + change
2597
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2598
	local velderp = root.Velocity.y
2599
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2600
	if equipped == true or equipped == false then
2601
		if attack == false then
2602
			idle = idle + 1
2603
		else
2604
			idle = 0
2605
		end
2606
		if 1 < root.Velocity.y and hitfloor == nil then
2607
			Anim = "Jump"
2608
			if attack == false then
2609
				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)
2610
				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)
2611
				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)
2612
				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)
2613
				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)
2614
				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)
2615
			end
2616
		elseif -1 > root.Velocity.y and hitfloor == nil then
2617
			Anim = "Fall"
2618
			if attack == false then
2619
				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)
2620
				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)
2621
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
2622
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
2623
				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)
2624
				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)
2625
			end
2626
		elseif torvel < 1 and hitfloor ~= nil then
2627
			Anim = "Idle"
2628
			change = 1
2629
			if attack == false then
2630
                                rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
2631
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 20)), Rad(0), Rad(5 - 40 * Sin(sine / 20))), 0.08)
2632
				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(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
2633
				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(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
2634
                                RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(90), Rad(-10), Rad(-90)), 0.08)
2635
                                LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
2636
			end
2637
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2638
			Anim = "Walk"
2639
			change = 1
2640
			if attack == false then
2641
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
2642
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2643
                RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
2644
                LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.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)
2645
                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
2646
                LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45)  * Cos(sine / 7) , Rad(0) ,  Rad(-5) + la.RotVelocity.Y / 75), 0.1)
2647
            end
2648
		elseif torvel >= 25 and hitfloor ~= nil then
2649
			Anim = "Sprint"
2650
			change = 1.35
2651
			if attack == false then
2652
			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)
2653
			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)
2654
			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)
2655
         	LH.C0 = clerp(LH.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)) + ll.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)
2656
			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)
2657
			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)
2658
			end
2659
		end
2660
	end
2661
end
2662
end
2663
end
2664
end
2665
mouse.Button1Down:connect(function(key)
2666
	if attack == false then
2667
		Ban()
2668
	end
2669
end)
2670
2671
2672
2673
                local eye1 = Instance.new("Part")
2674
eye1.Parent = Character
2675
eye1.Size = Vector3.new(0.2,0.2,0.2)
2676
eye1.Archivable = true
2677
eye1.Transparency = 0
2678
eye1.CanCollide = false
2679
eye1.Material = "Neon"
2680
eye1.Color = Color3.fromRGB(196, 40, 28)
2681
local eye1mesh = Instance.new("SpecialMesh",eye1)
2682
eye1mesh.MeshType = "Sphere"
2683
eye1mesh.Scale = Vector3.new(0.66,1.22,0.66)
2684
ko2 = eye1mesh.Scale
2685
local eye1weld = Instance.new("Weld")
2686
eye1weld.Parent = eye1
2687
eye1weld.Part0 = Head
2688
eye1weld.Part1 = eye1
2689
eye1weld.C0 = CFrame.new(.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
2690
        eye1weld.Part0 = Head
2691
 
2692
 
2693
 
2694
 
2695
local eye2 = Instance.new("Part")
2696
eye2.Parent = Character
2697
eye2.Size = Vector3.new(0.2,0.2,0.2)
2698
eye2.Archivable = true
2699
eye2.Transparency = 0
2700
eye2.CanCollide = false
2701
eye2.Material = "Neon"
2702
eye2.Color = Color3.fromRGB(196, 40, 28)
2703
local eye2mesh = Instance.new("SpecialMesh",eye2)
2704
eye2mesh.MeshType = "Sphere"
2705
eye2mesh.Scale = Vector3.new(0.66,1.22,0.66)
2706
local eye2weld = Instance.new("Weld")
2707
eye2weld.Parent = eye2
2708
eye2weld.Part0 = Head
2709
eye2weld.Part1 = eye2
2710
eye2weld.C0 = CFrame.new(-.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
2711
        eye2weld.Part0 = Head
2712
2713
-------------------------------------------------------
2714
--Start Animations--
2715
-------------------------------------------------------
2716
while true do
2717
	swait()
2718
	sine = sine + change
2719
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
2720
	local velderp = root.Velocity.y
2721
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
2722
	if equipped == true or equipped == false then
2723
		if attack == false then
2724
			idle = idle + 1
2725
		else
2726
			idle = 0
2727
		end
2728
		if 1 < root.Velocity.y and hitfloor == nil then
2729
			Anim = "Jump"
2730
			if attack == false then
2731
				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)
2732
				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)
2733
				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)
2734
				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)
2735
				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)
2736
				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)
2737
			end
2738
		elseif -1 > root.Velocity.y and hitfloor == nil then
2739
			Anim = "Fall"
2740
			if attack == false then
2741
				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)
2742
				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)
2743
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
2744
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
2745
				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)
2746
				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)
2747
			end
2748
		elseif torvel < 1 and hitfloor ~= nil then
2749
			Anim = "Idle"
2750
			change = 1
2751
			if attack == false then
2752
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.1)
2753
			neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
2754
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
2755
			LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-90), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
2756
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
2757
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-50), Rad(0), Rad(0)), 0.1)
2758
			end
2759
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
2760
			Anim = "Walk"
2761
			change = 1
2762
			if attack == false then
2763
                rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
2764
                tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
2765
                RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * 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)
2766
                LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.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)
2767
                RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45)  * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
2768
                LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45)  * Cos(sine / 7) , Rad(0) ,  Rad(-5) + la.RotVelocity.Y / 75), 0.1)
2769
            end
2770
		elseif torvel >= 25 and hitfloor ~= nil then
2771
			Anim = "Sprint"
2772
			change = 1.35
2773
			if attack == false then
2774
			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)
2775
			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)
2776
			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)
2777
         	LH.C0 = clerp(LH.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)) + ll.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)
2778
			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)
2779
			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)
2780
			end
2781
		end
2782
	end
2783
	if 0 < #Effects then
2784
		for e = 1, #Effects do
2785
			if Effects[e] ~= nil then
2786
				local Thing = Effects[e]
2787
				if Thing ~= nil then
2788
					local Part = Thing[1]
2789
					local Mode = Thing[2]
2790
					local Delay = Thing[3]
2791
					local IncX = Thing[4]
2792
					local IncY = Thing[5]
2793
					local IncZ = Thing[6]
2794
					if 1 >= Thing[1].Transparency then
2795
						if Thing[2] == "Block1" then
2796
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2797
							local Mesh = Thing[1].Mesh
2798
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2799
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2800
						elseif Thing[2] == "Block2" then
2801
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
2802
							local Mesh = Thing[7]
2803
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2804
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2805
						elseif Thing[2] == "Block3" then
2806
							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)
2807
							local Mesh = Thing[7]
2808
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2809
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2810
						elseif Thing[2] == "Cylinder" then
2811
							local Mesh = Thing[1].Mesh
2812
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2813
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2814
						elseif Thing[2] == "Blood" then
2815
							local Mesh = Thing[7]
2816
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
2817
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
2818
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2819
						elseif Thing[2] == "Elec" then
2820
							local Mesh = Thing[1].Mesh
2821
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
2822
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2823
						elseif Thing[2] == "Disappear" then
2824
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2825
						elseif Thing[2] == "Shatter" then
2826
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
2827
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
2828
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
2829
							Thing[6] = Thing[6] + Thing[5]
2830
						end
2831
					else
2832
						Part.Parent = nil
2833
						table.remove(Effects, e)
2834
					end
2835
				end
2836
			end
2837
		end
2838
	end
2839
end
2840
-------------------------------------------------------
2841
--End Animations And Script--
2842
-------------------------------------------------------