View difference between Paste ID: XdzX9GwJ and FKdjeJAP
SHOW: | | - or go back to the newest paste.
1-
Name="King_N3xul"
1+
Name="EnderWolfMage"
2
pcall(function() workspace[Name].Droid:remove() end)
3
player = game.Players[Name]
4
char = player.Character 
5
char.Humanoid.MaxHealth = math.huge 
6
wait(0.5)
7
char.Humanoid.Health = char.Humanoid.MaxHealth 
8
9
Time=500000
10
11
r=tick()
12
wait()
13
print("Your life span is: ~"..math.floor((Time/(tick()-r))*(tick()-r)))
14
15
function Infect(char)
16
Color=BrickColor.new("Brown")
17
Color2=BrickColor.new("Grime")
18
local model = Instance.new("Model") 
19
model.Parent = char 
20
model.Name = "Droid" 
21
char.Humanoid.WalkSpeed=12
22
fake=char.Head:clone()
23
pcall(function() fake.face:remove() char.Head.face:remove()
24
char.Head.Transparency=1
25
fake.Parent=model
26
fake.Transparency=0
27
w=Instance.new("Weld")
28
w.Part1=fake
29
w.Part0=char.Head
30
w.Parent=char
31
fake.Mesh.Scale=fake.Mesh.Scale+Vector3.new(-0.01,-0.01,-0.01)
32
fake.BrickColor=Color2
33
for _,v in pairs(char:children()) do
34
if v.className=="Part" then
35
v.TopSurface="Smooth"
36
v.BottomSurface="Smooth"
37
elseif v.className=="Hat" then
38
v:remove()
39
end
40
end
41
char.Shirt:remove()
42
char.Pants:remove()
43
end)
44
char.Head.Changed:connect(function(p)
45
if p=="BrickColor" then
46
wait()
47
char["Right Leg"].BrickColor=Color
48
char["Left Leg"].BrickColor=Color
49
char["Torso"].BrickColor=Color
50
char["Head"].BrickColor=Color2
51
char["Right Arm"].BrickColor=Color2
52
char["Left Arm"].BrickColor=Color2
53
end
54
end)
55
char.Head.BrickColor=BrickColor:Red()
56
Arms={char.Torso["Left Shoulder"],char.Torso["Right Shoulder"]} or {char.Torso["Left Shouldr"],char.Torso["Right Shouldr"]}
57
char.Torso.Neck.C0=char.Torso.Neck.C0*CFrame.Angles(math.rad(8),math.rad(12),0)
58
Arms[1].Parent=nil
59
w = Instance.new("Weld") 
60
w.Name="Left Shouldr"
61
w.Parent = char.Torso
62
w.Part0 = char["Left Arm"]
63
w.Part1 = w.Parent
64
w.C0=CFrame.new(1.5,0.3,0)*CFrame.Angles(math.rad(-95),math.rad(9),math.rad(20))
65
Arms[2].Parent=nil
66
w2 = Instance.new("Weld") 
67
w2.Name="Right Shouldr"
68
w2.Parent = char.Torso
69
w2.Part0 = char["Right Arm"]
70
w2.Part1 = w2.Parent
71
w2.C0=CFrame.new(-1.5,0.3,0)*CFrame.Angles(math.rad(-95),math.rad(-9),math.rad(-20))
72
char["Left Arm"].Touched:connect(function(hit)
73
if hit.Parent:findFirstChild("Torso") and hit.Parent.Torso:findFirstChild("Right Shoulder") then
74
Delay(0,function() Infect(hit.Parent) end)
75
end
76
end)
77
char["Right Arm"].Touched:connect(function(hit)
78
if hit.Parent:findFirstChild("Torso") and hit.Parent.Torso:findFirstChild("Right Shoulder") then
79
Delay(0,function() Infect(hit.Parent) end)
80
end
81
end)
82
Delay(0,function()
83
r=tick()
84
wait()
85
local charh=char
86
for i=1,Time/(tick()-r) do
87
wait()
88
Dist=150
89
Targ=nil
90
for _,v in pairs(game.Players:children()) do
91
if v:IsA("Player") and v.Character and v.Character:findFirstChild("Torso") and v.Character.Torso:findFirstChild("Right Shoulder") then
92
if (v.Character.Torso.Position-charh.Torso.Position).magnitude<Dist then
93
Dist=(v.Character.Torso.Position-charh.Torso.Position).magnitude
94
Targ=v.Character.Torso
95
end
96
end
97
end
98
if Targ and Targ.Parent then
99
charh.Humanoid:MoveTo(Targ.Position,workspace.Base)
100
Targ=nil
101
end
102
end
103
charh.Head:remove()
104
end)
105
end
106
107
Infect(char)
108
--lego