View difference between Paste ID: VthZth9m and fqLgk3ZF
SHOW: | | - or go back to the newest paste.
1
local ContentProvider = game:GetService("ContentProvider")
2
 
3
local function LoadAssets(AssetList)
4
	-- Takes an asset list and preloads it. Will not wait for them to load. 
5
 
6
	for _, AssetId in pairs(AssetList) do
7
		ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
8
	end
9
end 
10
 
11
LoadAssets({11442510,30956707})
12
local Gibs = game.Workspace
13
14
function Kill(Character)
15
	Character.Humanoid.Health = 0
16
	local poo = Instance.new("IntValue",Character)
17
	poo.Name = "haha nope"
18
	local svch = Character
19
	local hum = Character:findFirstChild("Humanoid")
20
	Character.Archivable = true
21
	local chrclone = Character:clone()
22
	Character.Archivable = false
23
24
	local ch = chrclone:GetChildren()
25
	local i
26
	for i = 1,#ch do
27
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
28
			ch[i]:remove()
29
		end
30
	end
31
	local function Scan(ch)
32
		local e
33
		for e = 1,#ch do
34
			Scan(ch[e]:GetChildren())
35
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
36
				ch[e]:remove()
37
			end
38
		end
39
	end
40
	Scan(chrclone:GetChildren())
41
42
	local hum2 = chrclone:findFirstChild("Humanoid")
43
44
45
	if hum2 ~= nil then
46
		hum2.Name = "Humanoid2"
47
		hum2.PlatformStand = true
48
		hum2.Sit = true 
49
		hum2.MaxHealth = 0
50
		hum2.Health = 0
51
	end
52
53
	local ch = Character:GetChildren()
54
	local i
55
	for i = 1,#ch do
56
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
57
			ch[i]:remove()
58
		end
59
	end
60
61
	wait(0.2)
62
63
	local ch = Character:GetChildren()
64
	local i
65
	for i = 1,#ch do
66
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
67
			ch[i]:remove()
68
		end
69
	end
70
	Character = chrclone
71
	local Torso = Character.Torso
72
	local movevector = Vector3.new()
73
74
	if Torso then
75
		local Head = Character:FindFirstChild("Head")
76
		local Limb = Character:FindFirstChild("Right Arm")
77
		if Limb then
78
79
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
80
			local Joint = Instance.new("Glue")
81
			Joint.Name = "RightShoulder"
82
			Joint.Part0 = Torso
83
			Joint.Part1 = Limb
84
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
85
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
86
			Joint.Parent = Torso
87
88
			local B = Instance.new("Part")
89
			B.TopSurface = 0
90
			B.BottomSurface = 0
91
			B.formFactor = "Symmetric"
92
			B.Size = Vector3.new(1, 1, 1)
93
			B.Transparency = 1
94
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
95
			B.Parent = Character
96
			local W = Instance.new("Weld")
97
			W.Part0 = Limb
98
			W.Part1 = B
99
			W.C0 = CFrame.new(0, -0.5, 0)
100
			W.Parent = Limb
101
102
		end
103
		local Limb = Character:FindFirstChild("Left Arm")
104
		if Limb then
105
106
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
107
			local Joint = Instance.new("Glue")
108
			Joint.Name = "LeftShoulder"
109
			Joint.Part0 = Torso
110
			Joint.Part1 = Limb
111
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
112
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
113
			Joint.Parent = Torso
114
115
			local B = Instance.new("Part")
116
			B.TopSurface = 0
117
			B.BottomSurface = 0
118
			B.formFactor = "Symmetric"
119
			B.Size = Vector3.new(1, 1, 1)
120
			B.Transparency = 1
121
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
122
			B.Parent = Character
123
			local W = Instance.new("Weld")
124
			W.Part0 = Limb
125
			W.Part1 = B
126
			W.C0 = CFrame.new(0, -0.5, 0)
127
			W.Parent = Limb
128
129
		end
130
		local Limb = Character:FindFirstChild("Right Leg")
131
		if Limb then
132
133
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
134
			local Joint = Instance.new("Glue")
135
			Joint.Name = "RightHip"
136
			Joint.Part0 = Torso
137
			Joint.Part1 = Limb
138
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
139
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
140
			Joint.Parent = Torso
141
142
			local B = Instance.new("Part")
143
			B.TopSurface = 0
144
			B.BottomSurface = 0
145
			B.formFactor = "Symmetric"
146
			B.Size = Vector3.new(1, 1, 1)
147
			B.Transparency = 1
148
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
149
			B.Parent = Character
150
			local W = Instance.new("Weld")
151
			W.Part0 = Limb
152
			W.Part1 = B
153
			W.C0 = CFrame.new(0, -0.5, 0)
154
			W.Parent = Limb
155
156
		end
157
		local Limb = Character:FindFirstChild("Left Leg")
158
		if Limb then
159
160
			Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
161
			local Joint = Instance.new("Glue")
162
			Joint.Name = "LeftHip"
163
			Joint.Part0 = Torso
164
			Joint.Part1 = Limb
165
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
166
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
167
			Joint.Parent = Torso
168
169
			local B = Instance.new("Part")
170
			B.TopSurface = 0
171
			B.BottomSurface = 0
172
			B.formFactor = "Symmetric"
173
			B.Size = Vector3.new(1, 1, 1)
174
			B.Transparency = 1
175
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
176
			B.Parent = Character
177
			local W = Instance.new("Weld")
178
			W.Part0 = Limb
179
			W.Part1 = B
180
			W.C0 = CFrame.new(0, -0.5, 0)
181
			W.Parent = Limb
182
183
		end
184
		--[
185
		local Bar = Instance.new("Part")
186
		Bar.TopSurface = 0
187
		Bar.BottomSurface = 0
188
		Bar.formFactor = "Symmetric"
189
		Bar.Size = Vector3.new(1, 1, 1)
190
		Bar.Transparency = 1
191
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
192
		Bar.Parent = Character
193
		local Weld = Instance.new("Weld")
194
		Weld.Part0 = Torso
195
		Weld.Part1 = Bar
196
		Weld.C0 = CFrame.new(0, 0.5, 0)
197
		Weld.Parent = Torso
198
		--]]
199
	end
200
	Character.Parent = Gibs
201
	game.Debris:AddItem(Character, 12)
202
	if movevector ~= Vector3.new() then
203
		for i = 1,10 do
204
			wait()
205
			Torso.Velocity = Vector3.new(0,0,-100)
206
			Head.Velocity = movevector * 200
207
		end
208
	end
209
	local duh = Torso
210
ee = Instance.new("Part") 
211
ee.Anchored = false
212
ee.CanCollide = false
213
ee.Parent = duh 
214
ee.Transparency =1 
215
ee.Size = Vector3.new(0.15, 0.15, 0.15)
216
wee = Instance.new("Weld") 
217
wee.Parent = duh
218
wee.Part0 = duh
219
wee.Part1 = ee
220
wee.C0 = CFrame.new(0, 1, 0)
221
ge = Instance.new('ParticleEmitter')
222
ge.Parent = ee
223
ge.Texture = "rbxassetid://29712167"
224
ge.Size = NumberSequence.new(0.2,0.05)
225
ge.Acceleration = Vector3.new(0, -20, 0)
226
ge.Rate = 100000 
227
ge.Speed = NumberRange.new(7,8)
228
ge.Lifetime = NumberRange.new(3,4)
229
ge.VelocitySpread = 10
230
ge.VelocityInheritance = 0.3 
231
ea = Instance.new("Part") 
232
ea.Anchored = false
233
ea.CanCollide = false
234
ea.Parent = Character.Head
235
ea.Transparency =1 
236
ea.Size = Vector3.new(0.15, 0.15, 0.15)
237
wea = Instance.new("Weld") 
238
wea.Parent = Character.Head
239
wea.Part0 = Character.Head
240
wea.Part1 = ea
241
wea.C0 = CFrame.new(0, -0.7, 0)
242
ga = Instance.new('ParticleEmitter')
243
ga.Parent = ea
244
ga.Texture = "rbxassetid://29712167"
245
ga.Size = NumberSequence.new(0.2,0.05)
246
ga.Acceleration = Vector3.new(0, -20, 0)
247
ga.Rate = 100000
248
ga.Speed = NumberRange.new(7,8)
249
ga.Lifetime = NumberRange.new(3,4)
250
ga.VelocitySpread = 10
251
ga.VelocityInheritance = 0.3 
252
ga.EmissionDirection = Enum.NormalId.Bottom
253
end
254
255
local plr = game.Players.LocalPlayer
256
local chr = plr.Character
257
local mouse = plr:GetMouse()
258
local intro = coroutine.wrap(function()
259
	local gui = Instance.new('ScreenGui',plr.PlayerGui)
260
	gui.Name = "Intro"
261
	local fr = Instance.new('Frame',gui)
262
	fr.Size = UDim2.new(0.4,0,0,0)
263
	fr.Position = UDim2.new(0.3,0,-0.1,0)
264
	fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
265
	fr.BorderSizePixel = 5
266
	fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
267
	local title = Instance.new('TextLabel',fr)
268
	title.Size = UDim2.new(1,0,0.4,0)
269
	title.Position = UDim2.new(0,0,0.1,0)
270
	title.BackgroundTransparency = 1
271
	title.TextColor3 = Color3.fromRGB(198, 45, 45)
272
	title.TextScaled = true
273
	title.Text = 'Deadpool Script'
274
	local desc = Instance.new('TextLabel',fr)
275
	desc.Size = UDim2.new(1,0,0.5,0)
276
	desc.Position = UDim2.new(0,0,0.5,0)
277
	desc.BackgroundTransparency = 1
278
	desc.TextColor3 = Color3.fromRGB(198, 45, 45)
279
	desc.TextScaled = true
280
	desc.Text = ''
281
	wait(1)
282
	fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
283
	wait(2)
284
	local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
285
	local leng = string.len(str)
286
	for i = 1,leng do
287
		desc.Text = string.sub(str,1,i)
288
		wait()
289
	end
290
	wait(2)
291
	fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
292
	wait(2)
293
	gui:Destroy()
294
end)
295
intro()
296
297
298
wait(2)
299
local tors = chr.Torso
300
chr.Head.Transparency = 1
301
for i,v in pairs(chr:GetChildren()) do
302
	if v.ClassName == "CharacterMesh" then
303
		v:Destroy()
304
	end
305
end
306
local humroot = chr.HumanoidRootPart:Clone()
307
local torsclone = tors:Clone()
308
local anim = chr.Animate:Clone()
309
local hum = chr.Humanoid:Clone()
310
local head = chr.Head:Clone()
311
local neck = chr.Torso.Neck:Clone()
312
local rightarm = chr["Right Arm"]:Clone()
313
local leftarm = chr["Left Arm"]:Clone()
314
local leftleg = chr["Left Leg"]:Clone()
315
local rightleg = chr["Right Leg"]:Clone()
316
local rightshoulder = tors["Right Shoulder"]:Clone()
317
local leftshoulder = tors["Left Shoulder"]:Clone()
318
local righthip = tors["Right Hip"]:Clone()
319
local lefthip = tors["Left Hip"]:Clone()
320
local shirt = nil
321
local pants = nil
322
local hats = {}
323
local lastpos = CFrame.new(0,0,0)
324
local on = true
325
local doing = false
326
local stabbing = false
327
local slicing = false
328
local toolz = Instance.new('Tool',plr.Backpack)
329
toolz.Name = "Katana"
330
toolz.RequiresHandle = false
331
toolz.CanBeDropped = false
332
local partz = Instance.new('Part',toolz)
333-
partz.Size = Vector3.new(0.2,0.2,3)
333+
partz.Size = Vector3.new(0,0,0)
334
partz.CanCollide = false
335
local meshz = Instance.new('SpecialMesh',partz)
336
meshz.MeshId = 'rbxassetid://11442510'
337
meshz.TextureId = 'rbxassetid://30956707'
338
meshz.VertexColor = Vector3.new(0,0,0)
339
340
toolz.Equipped:connect(function(mouse)
341
	if chr:FindFirstChild('Right Arm') then
342
		local weld = Instance.new('Weld',partz)
343
		weld.Part0 = partz
344
		weld.Part1 = chr["Right Arm"]
345
		weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
346
	end
347
	mouse.KeyDown:connect(function(key)
348
		if doing == false then
349
		if key == 'z' then
350
		if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
351
			doing = true
352
			local weld = Instance.new('Weld',chr["Right Arm"])
353
			weld.Part0 = chr["Right Arm"]
354
			weld.Part1 = chr.Torso
355
			weld.C0 = CFrame.new(-1.5,0,0)
356
			for i=1,25 do
357
				weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
358
				wait()
359
			end
360
			wait()
361
			stabbing = true
362
			for i=1,10 do
363
				weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
364
				wait()
365
			end
366
			wait()
367
			for i=1,25 do
368
				weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
369
				wait()
370
			end
371
			chr["Right Arm"]:Destroy()
372
			doing = false
373
			stabbing = false
374
		end
375
		elseif key == 'x' then
376
			if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
377
			doing = true
378
			local weld = Instance.new('Weld',chr["Right Arm"])
379
			weld.Part0 = chr["Right Arm"]
380
			weld.Part1 = chr.Torso
381
			weld.C0 = CFrame.new(-1.5,0,0)
382
			for i=1,25 do
383
				weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
384
				wait()
385
			end
386
			wait()
387
			slicing = true
388
			for i=1,5 do
389
				weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
390
				wait()
391
			end
392
			wait()
393
			for i=1,12.5 do
394
				weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
395
				wait()
396
			end
397
			chr["Right Arm"]:Destroy()
398
			doing = false
399
			slicing = false
400
		end
401
		end
402
		end
403
	end)
404
end)
405
406
partz.Touched:connect(function(hit)
407
	if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
408
		hit.Parent.Humanoid.Health = 0
409
	elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
410
		local he = Instance.new('IntValue',hit.Parent)
411
		he.Name = "heck"
412
		Kill(hit.Parent)
413
	end
414
end)
415
416
toolz.Unequipped:connect(function(mouse)
417
	if partz:FindFirstChildOfClass('Weld') then
418
		partz:FindFirstChildOfClass('Weld'):Destroy()
419
	end
420
end)
421
toolz.AncestryChanged:connect(function(child, parent)
422
	if parent ~= chr and parent ~= plr.Backpack then
423
	wait()
424
		toolz.Parent = plr.Backpack
425
	end
426
end)
427
428
mouse.KeyDown:connect(function(key) 
429
	if key == "n" then
430
	wait()
431
		toolz:Equip()
432
	end
433
end)
434
if chr:FindFirstChildOfClass('Shirt') then
435
	shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
436
end
437
if chr:FindFirstChildOfClass('Pants') then
438
	pants = chr:FindFirstChildOfClass('Pants'):Clone()
439
end
440
for i,v in pairs(chr:GetChildren()) do
441
	if v.ClassName == "Accessory" then
442
		table.insert(hats,v:Clone())
443
	end
444
end
445
local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
446
chr.Humanoid:Destroy()
447
local gui = Instance.new('ScreenGui')
448
gui.Parent = game.Players.LocalPlayer.PlayerGui
449
gui.Name = "Deadpool"
450
gui.ResetOnSpawn = false
451
local frame = Instance.new('Frame',gui)
452
frame.Size = UDim2.new(0.2,0,0.2,0)
453
frame.Position = UDim2.new(0,0,0.9,0)
454
frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
455
frame.BorderSizePixel = 4
456
frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
457
frame.Active = true
458
frame.Draggable = true 
459
local txt = Instance.new('TextLabel',frame)
460
txt.Text = "Demon Gui"
461
txt.TextColor3 = Color3.fromRGB(198, 45, 45)
462
txt.Size = UDim2.new(1,0,0.3,0)
463
txt.TextScaled = true
464
txt.BackgroundTransparency = 1
465
local but = Instance.new('TextButton',frame)
466
but.Text = "Toggle Suit"
467
but.TextColor3 = Color3.fromRGB(38, 38, 38)
468
but.Size = UDim2.new(0.7,0,0.3,0)
469
but.Position = UDim2.new(0.15,0,0.5,0)
470
but.BorderSizePixel = 0
471
but.TextScaled = true
472
but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
473
but.MouseButton1Down:connect(function()
474
	on = not on
475
end)
476
game:GetService('RunService').Stepped:connect(function()
477
	if chr.Parent == nil then
478
	chr.RobloxLocked = false
479
	chr.Parent = game.Workspace
480
	end
481
	if chr:FindFirstChildOfClass('Humanoid') == nil then
482
		hum:Clone().Parent = chr
483
		chr.Animate:Destroy()
484
		anim:Clone().Parent = chr
485
	end
486
	if chr:FindFirstChild('HumanoidRootPart') == nil then
487
		humroot:Clone().Parent = chr
488
		humroot.CFrame = lastpos
489
		chr.Humanoid:Destroy()
490
		hum:Clone().Parent = chr
491
		chr.Animate:Destroy()
492
		anim:Clone().Parent = chr
493
		chr.HumanoidRootPart.RootJoint:Destroy()
494
	end
495
	if chr:FindFirstChild('Torso') == nil then
496
		chr.Humanoid:Destroy()
497
		local tor = tors:Clone()
498
		tor.Parent = chr
499
		hum:Clone().Parent = chr
500
		chr.Animate:Destroy()
501
		anim:Clone().Parent = chr
502
	end
503
	if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
504
		local rtj = rootjoint:Clone()
505
		rtj.Parent = chr.HumanoidRootPart
506
		rtj.Part0 = chr.HumanoidRootPart
507
		rtj.Part1 = chr.Torso
508
	end
509
	if chr:FindFirstChild('Head') == nil then
510
		chr.Humanoid:Destroy()
511
		head:Clone().Parent = chr
512
		hum:Clone().Parent = chr
513
		chr.Animate:Destroy()
514
		anim:Clone().Parent = chr
515
	end
516
	if chr.Torso:FindFirstChild('Neck') == nil then
517
		chr.Humanoid:Destroy()
518
		local hec = neck:Clone()
519
		hec.Parent = chr.Torso
520
		hec.Part0 = chr.Torso
521
		hec.Part1 = chr.Head
522
		hum:Clone().Parent = chr
523
		chr.Animate:Destroy()
524
		anim:Clone().Parent = chr
525
	end
526
	if chr:FindFirstChild('Right Leg') == nil then
527
		rightleg:Clone().Parent = chr
528
		local fi = righthip:Clone()
529
		fi.Parent = chr.Torso
530
		fi.Part0 = chr.Torso
531
		fi.Part1 = chr["Right Leg"]
532
	end
533
	if chr:FindFirstChild('Right Arm') == nil then
534
		rightarm:Clone().Parent = chr
535
		local fi = rightshoulder:Clone()
536
		fi.Parent = chr.Torso
537
		fi.Part0 = chr.Torso
538
		fi.Part1 = chr["Right Arm"]
539
	end
540
	if chr:FindFirstChild('Left Leg') == nil then
541
		leftleg:Clone().Parent = chr
542
		local fi = lefthip:Clone()
543
		fi.Parent = chr.Torso
544
		fi.Part0 = chr.Torso
545
		fi.Part1 = chr["Left Leg"]
546
	end
547
	if chr:FindFirstChild('Left Arm') == nil then
548
		leftarm:Clone().Parent = chr
549
		local fi = leftshoulder:Clone()
550
		fi.Parent = chr.Torso
551
		fi.Part0 = chr.Torso
552
		fi.Part1 = chr["Left Arm"]
553
	end
554
	for i,v in pairs(chr:GetChildren()) do
555
		if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
556
			v:Destroy()
557
		end
558
	end
559
	chr.Humanoid.Health = chr.Humanoid.MaxHealth
560
	if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
561
		local weld = Instance.new('Weld',partz)
562
		weld.Part0 = partz
563
		weld.Part1 = chr["Right Arm"]
564
		weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
565
	end
566
	lastpos = chr.HumanoidRootPart.CFrame
567
	local kat = Instance.new('Part',chr)
568
	kat.Size = Vector3.new(0.4,3,0.2)
569
	kat.Name = "KatanaHolder"
570
	kat.Material = Enum.Material.SmoothPlastic
571
	kat.BrickColor = BrickColor.new('Really black')
572
	kat.CanCollide = false
573
	local we = Instance.new('Weld',kat)
574
	we.Part0 = kat
575
	we.Part1 = chr.Torso
576
	we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
577
	if on == true then
578
	local shirt = Instance.new('Shirt',chr)
579
	shirt.ShirtTemplate = 'rbxassetid://1159325231'
580
	local pants = Instance.new('Pants',chr)
581
	pants.PantsTemplate = 'rbxassetid://787069171'
582
	else
583
		chr.Head.Transparency = 0
584
		if shirt ~= nil then
585
			shirt:Clone().Parent = chr
586
		end
587
		if pants ~= nil then
588
			pants:Clone().Parent = chr
589
		end
590
		for i,v in pairs(hats) do
591
			v:Clone().Parent = chr
592
		end
593
end
594
end)
595
596
wait()
597
script.Name = "_.:| E-Shield |:._"
598
--script.Parent = _EShield_
599
local LocalPlayer = game:service'Players'.LocalPlayer
600
local b, Platform = nil
601
local PlayerOnly = false
602
local Touched = {}
603
local Mouse = LocalPlayer:GetMouse()
604
local ShiftDown, CtrlDown, MouseDown, Mouse2Down, MouseDeb, Mouse2Tick = false, false, false, false, false, 0
605
606
function Create()
607
if b then pcall(function() b:Destroy() end) end
608
if Platform then pcall(function() Platform:Destroy() end) end
609
local t = LocalPlayer.Character:FindFirstChild("Torso")
610
local posit = Vector3.new(0, 50, 0)
611
if t then posit = t.Position end
612
Platform = Instance.new("Part") 
613
Platform.formFactor = "Custom"
614
Platform.Size = Vector3.new(10, 1, 10)
615
Platform.Transparency = 1
616
Platform.Anchored = true
617
Platform.CanCollide = true 
618
b = Instance.new("Part", game:service'Workspace') 
619
b.Position = posit
620
b.Shape = "Block" 
621
b.Transparency = 1
622
b.Anchored = true
623
b.Reflectance = 0
624-
b.Size = Mouse2Down and Vector3.new(25, 25, 25) or Vector3.new(15, 15, 15) 
624+
b.Size = Mouse2Down and Vector3.new(15, 15, 15) or Vector3.new(10, 10, 10) 
625
b.Color = Mouse2Down and Color3.new(0, 0, 0) or Color3.new(0, 0, 0)
626
b.TopSurface = "Smooth" 
627
b.BottomSurface = "Smooth"
628
b.Locked = true
629
b.CanCollide = false
630
b.Changed:connect(function(w)
631
if w == "Parent" then
632
Create()
633
end
634
end)
635
b.Touched:connect(function(obj)
636
if obj.Name ~= "WillNotBeRemoved" and not TouchedStatus(obj) and not obj:IsDescendantOf(LocalPlayer.Character) and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) and obj.Name ~= "Base" and obj.className == "Part" then
637
table.insert(Touched, obj)
638
if PlayerOnly then 
639
if GetPlayer(obj) then
640
Destroying(obj)
641
end
642
else
643
Destroying(obj)
644
end
645
end
646
end)
647
end
648
649
function GetRecursiveChildren(Parent)
650
    local ret = {}
651
    for i, v in pairs(Parent:GetChildren()) do
652
        if #v:GetChildren() > 0 then
653
            local childs = GetRecursiveChildren(v)
654
            for i1, v1 in pairs(childs) do
655
                ret[#ret + 1] = v1
656
            end
657
        end    
658
        ret[#ret + 1] = v
659
    end
660
    return ret
661
end
662
663
function GetPlayer(Target)
664
for _,v in pairs(game:service'Players':GetPlayers()) do 
665
if v.Character ~= nil and Target:IsDescendantOf(v.Character) then
666
return v 
667
end
668
end 
669
return nil
670
end 
671
672
function TouchedStatus(Target)
673
for _,v in pairs(Touched) do 
674
if v == Target then
675
return true
676
end
677
end 
678
return false
679
end 
680
681
function Destroying(obj)
682
local ran, err = coroutine.resume(coroutine.create(function()
683
if not Mouse2Down then
684
obj:BreakJoints()
685
obj.CanCollide = false
686
obj.Anchored = false
687
obj.formFactor = "Custom"
688
obj.Size = obj.Size * Vector3.new(math.random(), math.random(), math.random())
689
local bp = Instance.new("BodyPosition") 
690
bp.maxForce = Vector3.new(1/0,1/0,1/0)
691
bp.Parent = obj
692
local X, Y, Z = nil, nil, nil
693
coroutine.wrap(function()
694
while obj and obj.Parent do
695
X, Y, Z = math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)
696
wait(0.3)
697
end
698
end)()
699
coroutine.wrap(function()
700
while obj and obj.Parent do
701
bp.position = LocalPlayer.Character.Torso.Position + Vector3.new(X, Y, Z)
702
wait()
703
end
704
end)()
705
coroutine.wrap(function()
706
local transp = 0
707
for i = 1, 50 do
708
transp = transp + 0.02
709
obj.Transparency = transp
710
wait(0.05)
711
end
712
game:service'Debris':AddItem(obj, 0)
713
end)()
714
elseif Mouse2Down then
715
local selbox = Instance.new("SelectionBox", obj)
716
selbox.Adornee = obj
717
selbox.Color = BrickColor.new("Really red")
718
selbox.Transparency = 0
719
wait(2)
720
coroutine.wrap(function()
721
local transp = 0
722
local Size, Position = obj.Size, obj.Position
723
local brickTable = {}
724
game:service'Debris':AddItem(obj, 0)
725
for i = 1, math.random(2, 4) do
726
local x, y, z = math.random(), math.random(), math.random()
727
local Brick = Instance.new("Part")
728
Brick.Name = "WillNotBeRemoved"
729
Brick.Parent = game:service'Workspace'
730
Brick.BrickColor = BrickColor.new("White")
731
Brick.Size = Size * Vector3.new(x, y, z)
732
Brick.CFrame = CFrame.new(Position) * CFrame.Angles( x * 180, y * 180, z * 180)
733
Brick.Locked = true
734
Brick.Anchored = false
735
Brick.CanCollide = false
736
local Selection = Instance.new("SelectionBox", Brick)
737
Selection.Adornee = Brick
738
Selection.Color = BrickColor.new("White")
739
Selection.Transparency = 0
740
local BodyVelo = Instance.new("BodyVelocity", Brick)
741
BodyVelo.maxForce = Vector3.new(1/0, 1/0, 1/0)
742
BodyVelo.velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
743
brickTable[#brickTable + 1] = {Brick, Selection}
744
end
745
for i = 1, 50 do
746
transp = transp + 0.02
747
for i1, v in pairs(brickTable) do
748
v[1].Transparency = transp
749
v[2].Transparency = transp
750
end
751
wait(0.05)
752
end
753
--for i, v in pairs(brickTable) do game:service'Debris':AddItem(v[1], 0) game:service'Debris':AddItem(v[2], 0) end
754
end)()
755
end
756
end))
757
if not ran then print(".:| EShield |:. " .. err) end
758
end
759
760
Create()
761
762
Mouse.Button1Down:connect(function()
763
MouseDown = true
764
end)
765
766
Mouse.Button1Up:connect(function()
767
MouseDown = false
768
end)
769
770
Mouse.KeyDown:connect(function(key)
771
local key = type(key) == "string" and key:lower() or "" 
772
if key == "r" then 
773
print = function() end 
774
script:Destroy()
775
for i, v in pairs(getfenv()) do pcall(function() v:Destroy() end) getfenv()[i] = nil end 
776
end
777
end)
778
779
Mouse.Button2Down:connect(function()
780
if not Mouse2Down then
781
Mouse2Tick = tick()
782
Mouse2Down = true
783
coroutine.wrap(function()
784
for i = 1.1, 0, -0.1 do if Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
785
for i = 0, 1.1, 0.1 do if Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
786
end)()
787
coroutine.wrap(function()
788
for i = 15, 25 do if Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
789
end)()
790
end
791
end)
792
793
Mouse.Button2Up:connect(function()
794
if Mouse2Down then
795
if math.floor(tick() - Mouse2Tick) > 1 then
796
Mouse2Down = false
797
coroutine.wrap(function()
798
for i = 1.1, 0, -0.1 do if not Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
799
for i = 0, 1.1, 0.1 do if not Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
800
end)()
801
coroutine.wrap(function()
802
for i = 25, 15, -1 do if not Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
803
end)()
804
end
805
end
806
end)
807
808
Mouse.KeyDown:connect(function(key)
809
if key == "0" then
810
ShiftDown = true
811
elseif key == "1" or key == "2" then
812
CtrlDown = true
813
end
814
end)
815
816
Mouse.KeyUp:connect(function(key)
817
if key == "0" then
818
ShiftDown = false
819
elseif key == "1" or key == "2" then
820
CtrlDown = false
821
end
822
end)
823
824
coroutine.wrap(function()
825
while wait(0.05) do
826
for i = 0.2, 0.8, 0.1 do
827
b.Transparency = i
828
wait(0.05)
829
end
830
for i = 0.7, 0.1, -0.1 do
831
b.Transparency = i
832
wait(0.05)
833
end
834
end
835
end)()
836
837
game:service'RunService'.Stepped:connect(function()
838
coroutine.resume(coroutine.create(function()
839
b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
840
end))
841
coroutine.resume(coroutine.create(function()
842
for i, v in pairs(Touched) do
843
if v.Parent == nil or v == nil then
844
table.remove(Touched, i)
845
end
846
end
847
end))
848
coroutine.resume(coroutine.create(function()
849
local Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
850
if ShiftDown then
851
Height = Height - 0.25
852
if CtrlDown then
853
Height = Height - 0.75
854
end
855
end
856
local TargetCFrame = LocalPlayer.Character.Torso.CFrame 
857
local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
858
Platform.Parent = game:service'Workspace'.CurrentCamera
859
Platform.CFrame = CFrame.new(TargetCFrame.x, Height, TargetCFrame.z)        
860
Platform.CanCollide = true 
861
LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0, -(TargetCFrame.y) + Height + 3.5, 0)
862
end))
863
coroutine.resume(coroutine.create(function()
864
if LocalPlayer.Parent ~= nil then
865
for i, v in pairs(GetRecursiveChildren(LocalPlayer.Character)) do
866
if v.className == "Part" then v.CanCollide = false end
867
end
868
end
869
end))
870
coroutine.resume(coroutine.create(function()
871
if MouseDown and not MouseDeb and not Mouse2Down then
872
MouseDeb = true
873
coroutine.wrap(function() wait(1) MouseDeb = false end)()
874
local dist = Instance.new("Part") 
875
dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
876
dist.formFactor = "Custom"
877
dist.Shape = "Ball" 
878
dist.Name = "WillNotBeRemoved"
879
dist.Transparency = 0
880
dist.Reflectance = 0.1
881
dist.Size = Vector3.new(10, 10, 10) 
882
dist.BrickColor = BrickColor.new("New Yeller") 
883
dist.TopSurface = "Smooth" 
884
dist.Anchored = true
885
dist.BottomSurface = "Smooth"
886
dist.Locked = true
887
dist.CanCollide = false
888
dist.Parent = game:service'Workspace'
889
dist.Touched:connect(function(obj)
890
coroutine.resume(coroutine.create(function()
891
local Player = GetPlayer(obj)
892
if Player and Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("Torso") then
893
local BV = Instance.new("BodyVelocity", Player.Character.Torso)
894
BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
895
BV.velocity = ((LocalPlayer.Character.Torso.Position - Player.Character.Torso.Position).unit * -50)
896
game:service'Debris':AddItem(BV, 1)
897
elseif not Player and obj ~= b and obj.Name ~= "Base" and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) then
898
obj:BreakJoints()
899
obj.Anchored = false
900
obj.CanCollide = false
901
local BV = Instance.new("BodyVelocity", obj)
902
BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
903
BV.velocity = ((LocalPlayer.Character.Torso.Position - obj.Position).unit * -50)
904
game:service'Debris':AddItem(BV, 1)
905
end
906
end))
907
end)
908
coroutine.wrap(function()
909
for i = 1, 100 do
910
dist.Transparency = dist.Transparency + 0.01
911
dist.Size = dist.Size + Vector3.new(1, 1, 1)
912
dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
913
wait()
914
end
915
game:service'Debris':AddItem(dist, 0)
916
end)()
917
end
918
end))
919-
end)
919+
920
921
plr = game.Players.LocalPlayer
922
mouse = plr:GetMouse()
923
part = nil
924
bp = nil
925
particles = nil
926
function clerp(a,b,c,d)
927
	for i = 0,d,.01 do
928
		a.CFrame = CFrame.new(b:lerp(c,i))
929
		wait()
930
	end
931
end
932
function slerp(a2,b2,c2,d2)
933
	for i2 = 0,d2,.01 do
934
		a2.CFrame = CFrame.new(b2:lerp(c2,i2))
935
		wait()
936
	end
937
end
938
mouse.KeyDown:connect(function(key)
939
	if key == "e" and plr.Character.Parent == workspace then
940
		plr.Character.Parent = workspace.Camera
941
		plr.Character.Archivable = true
942
		Instance.new("ForceField",plr.Character).Visible = false
943
		for y,t in pairs(plr.Character:GetChildren()) do
944
			if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
945
				t.Transparency = 0.3
946
				if t.Name == "Head" and t:FindFirstChild("face") then
947
					t.face.Transparency = 1
948
				end
949
			elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
950
				t.Handle.Transparency = 1
951
			end
952
		end
953
	elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
954
		plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
955
	elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
956
		if plr.Character.Torso.Anchored == true then
957
			for y,t in pairs(plr.Character:GetChildren()) do
958
				if t:IsA("Part") then
959
					t.Anchored = false
960
				end
961
			end
962
		else
963
			for y,t in pairs(plr.Character:GetChildren()) do
964
				if t:IsA("Part") then
965
					t.Anchored = true
966
				end
967
			end
968
		end
969
	elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
970
		local clone = part:Clone()
971
		clone.Parent = workspace
972
		clone.Anchored = false
973
		clone:ClearAllChildren()
974
		clone.CanCollide = true
975
		bp.Parent = clone
976
		particles.Parent = clone
977
		if part.Parent:FindFirstChildOfClass("Humanoid") then
978
			part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
979
		end
980
		part:Destroy()
981
		part = clone
982
	elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
983
		plr.Character.Parent = workspace
984
		plr.Character.Archivable = false
985
		plr.Character:FindFirstChildOfClass("ForceField"):Remove()
986
		for y,t in pairs(plr.Character:GetChildren()) do
987
			if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
988
				t.Transparency = 0
989
				if t.Name == "Head" and t:FindFirstChild("face") then
990
					t.face.Transparency = 0
991
				end
992
			elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
993
				t.Handle.Transparency = 0
994
			end
995
		end
996
	end
997
end)
998
mouse.Button1Down:connect(function()
999
	if plr.Character.Parent == workspace.Camera then
1000
		if mouse ~= nil then
1001
			if mouse.Target ~= nil then
1002
				part = mouse.Target
1003
				bp = Instance.new("BodyPosition",part)
1004
				bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1005
				bp.Position = part.Position
1006
				particles = Instance.new("ParticleEmitter",part)
1007
				particles.Color = ColorSequence.new(Color3.new(255, 255, 255))
1008
				particles.Size = NumberSequence.new(20)
1009
				particles.Texture = "rbxassetid://522606102" 
1010
				particles.VelocitySpread = 360
1011
				particles.Speed = NumberRange.new(0)
1012
				particles.RotSpeed = NumberRange.new(0)
1013
				particles.Rotation = NumberRange.new(0)
1014
				particles.Rate = 250
1015
				particles.Lifetime = NumberRange.new(1.5, 3.75)
1016
				particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
1017
				dwn = true
1018
			end
1019
		end
1020
		while dwn == true do 
1021
			wait()	
1022
			bp.Position = mouse.hit.p
1023
			if part then
1024
				if part.Parent:FindFirstChildOfClass("Humanoid") then
1025
					part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
1026
				end
1027
			end
1028
		end
1029
	end
1030
end)
1031
mouse.Button1Up:connect(function()
1032
	dwn = false
1033
	if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
1034
	if bp then bp:Destroy() end
1035
	if particles then particles:Destroy() end
1036
end)
1037
base = Instance.new("ScreenGui",plr.PlayerGui)
1038
bbg = Instance.new("BillboardGui",plr.Character.Head)
1039
bbg.Size = UDim2.new(0,200,0,50)
1040
bbg.StudsOffset = Vector3.new(0,3,0)
1041
bbgTl = Instance.new("TextLabel",bbg)
1042
bbgTl.BackgroundTransparency = 1
1043
bbgTl.Size = UDim2.new(10,0,1,0)
1044
bbgTl.Position = UDim2.new(-4.5,0,0,0)
1045
bbgTl.Font = "Code"
1046
bbgTl.Text = " "
1047
bbgTl.TextSize = 70
1048
bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
1049
bbgTl.TextColor3 = Color3.new(201,201,201)
1050
bbgTl.TextStrokeTransparency = 0
1051
bbgTl.TextWrapped = true
1052
plr.Chatted:connect(function(msg)
1053
	bbgTl.Text = msg
1054
	wait(5)
1055
	if bbgTl.Text == msg then
1056
		bbgTl.Text = " "
1057
	end
1058
end)
1059
touchCounter = 0
1060
while wait() do
1061
	if plr.Character.Parent == workspace.Camera then
1062
		local c = plr.Character:Clone()
1063
		c:MakeJoints()
1064
		for y,t in pairs(c:GetChildren()) do
1065
			if t:IsA("Part") then
1066
				t.CanCollide = false 
1067
				t.Anchored = true 
1068
				t.Transparency = 0.99
1069
				t.TopSurface = "Smooth"
1070
				t.BottomSurface = "Smooth"
1071
				t.RightSurface = "Smooth"
1072
				t.LeftSurface = "Smooth"
1073
				t.FrontSurface = "Smooth"
1074
				t.BackSurface = "Smooth"
1075
				t.BrickColor = BrickColor.new("grey")
1076
				if t.Name == "Head" and t:FindFirstChild("face") then
1077
					t.face:Remove()
1078
				elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
1079
					t.roblox:Remove()
1080
				elseif t.Name == "HumanoidRootPart" then
1081
					t:Remove()
1082
				end
1083
			else 
1084
				t:Remove()
1085
			end
1086
		end
1087
		c.Parent = workspace
1088
		game.Debris:AddItem(c,.05)
1089
	end
1090
end