View difference between Paste ID: gvXy17AS and GhiGgWRQ
SHOW: | | - or go back to the newest paste.
1
 repeat wait() until game.Players.LocalPlayer
2
local Mouse = game.Players.LocalPlayer:GetMouse()
3
local Plr = game.Players.LocalPlayer
4
 
5
Mouse.KeyDown:connect(function(KeyDown)
6
if KeyDown == "0" then
7
Plr.Character.Humanoid.WalkSpeed = 30
8
end
9
end)
10
 
11
Mouse.KeyUp:connect(function(KeyUp)
12
if KeyUp == "0" then
13
Plr.Character.Humanoid.WalkSpeed = 3
14
end
15
end)
16
17
Player = game:GetService("Players").LocalPlayer
18
PlayerGui = Player.PlayerGui
19
Cam = workspace.CurrentCamera
20
Backpack = Player.Backpack
21
Character = Player.Character
22
char = Player.Character
23
Humanoid = Character.Humanoid
24
Mouse = Player:GetMouse()
25
RootPart = Character["HumanoidRootPart"]
26
Torso = Character["Torso"]
27
Head = Character["Head"]
28
RightArm = Character["Right Arm"]
29
LeftArm = Character["Left Arm"]
30
RightLeg = Character["Right Leg"]
31
LeftLeg = Character["Left Leg"]
32
RootJoint = RootPart["RootJoint"]
33
Neck = Torso["Neck"]
34
RightShoulder = Torso["Right Shoulder"]
35
LeftShoulder = Torso["Left Shoulder"]
36
RightHip = Torso["Right Hip"]
37
LeftHip = Torso["Left Hip"]
38
39
Head.BrickColor = BrickColor.new("Really black")
40
Torso.BrickColor = BrickColor.new("Really black")
41
RightLeg.BrickColor = BrickColor.new("Really black")
42
LeftLeg.BrickColor = BrickColor.new("Really black")
43
RightArm.BrickColor = BrickColor.new("Really black")
44
LeftArm.BrickColor = BrickColor.new("Really black")
45
46
function weld(a, b, acf)
47
    local w = Instance.new("Weld", a)
48
    w.Part0 = a
49
    w.Part1 = b
50
    w.C0 = acf
51
end
52
local righteyebrickcolor = "Really red"
53
local reye = Instance.new("Part", char)
54
reye.CanCollide = false
55
reye.BrickColor = BrickColor.new(righteyebrickcolor)
56
reye.Material = "Neon"
57
reye.Size = Vector3.new(.25,.25,.25)
58
weld(reye, char.Head, CFrame.new(0.17,-0.2,0.55), CFrame.new(1,0,0))
59
m1 = Instance.new("SpecialMesh", reye)
60
m1.MeshType = "Sphere"
61
m1.Scale = Vector3.new(0.9,0.9,0.9)
62
reye.Locked = true
63-
wait()
63+
64-
local Dummy = game.Workspace:FindFirstChild("Meti2000")
64+
65
66
local lefteyebrickcolor = "Really red"
67
local leye = Instance.new("Part", char)
68
leye.CanCollide = false
69
leye.BrickColor = BrickColor.new(lefteyebrickcolor)
70
leye.Material = "Neon"
71
leye.Size = Vector3.new(.25,.25,.25)
72
weld(leye, char.Head, CFrame.new(-0.17,-0.2,0.55), CFrame.new(1,0,0))
73
m1 = Instance.new("SpecialMesh", leye)
74
m1.MeshType = "Sphere"
75
m1.Scale = Vector3.new(0.9,0.9,0.9)
76
leye.Locked = true
77
leye.Name = "le"
78
79
wait(1)
80
local Dummy = game.Workspace:FindFirstChild("CaptainDayez")
81
if Dummy == nil then
82
	error("Target not found!")
83
	return
84
end
85
wait(0.5)
86
for i,v in pairs(Dummy:GetChildren()) do
87
	if v.ClassName == "Part" then
88
		v.Transparency = 10
89
	end
90
end
91
Dummy["Left Arm"].Transparency = 1
92
Dummy["Right Arm"].Transparency = 1
93
Dummy["Torso"].Transparency = 1
94
Dummy["Head"].Transparency = 1
95
Dummy["Left Leg"].Transparency = 1
96
Dummy["Right Leg"].Transparency = 1
97
leye.Transparency = 1
98
reye.Transparency = 1
99
local Humanoid = Dummy:FindFirstChild("Humanoid")
100
local Head = Dummy:FindFirstChild("Head")
101
local ishead = true
102
if Humanoid == nil then error("Humanoid not found!") return end
103
if Head == nil then ishead = false end
104
if ishead == true then
105
	if Head:FindFirstChild("face") then
106
		Head:FindFirstChild("face"):Destroy()
107
	end
108
end
109
Humanoid.MaxHealth = math.huge
110
Humanoid.Health = math.huge
111
Humanoid.WalkSpeed = 3
112
Humanoid.Name = "Zombie"
113
function onTouchedDeath(part)
114
	if part.Parent ~= nil then
115
		local h = part.Parent:findFirstChild("Humanoid")
116
		if h ~= nil then
117
			local has_health = h.Health > 0
118
			h:TakeDamage(h.MaxHealth + 10)
119
		end
120
	end
121
end
122
Dummy["Left Arm"].Touched:connect(onTouchedDeath)
123
Dummy["Right Arm"].Touched:connect(onTouchedDeath)
124
Dummy["Torso"].Touched:connect(onTouchedDeath)
125
Dummy["Head"].Touched:connect(onTouchedDeath)
126
Dummy["Left Leg"].Touched:connect(onTouchedDeath)
127
Dummy["Right Leg"].Touched:connect(onTouchedDeath)
128
local larm = script.Parent:FindFirstChild("Left Arm")
129
local rarm = script.Parent:FindFirstChild("Right Arm")
130
function findNearestTorso(pos)
131
	local list = game.Workspace:children()
132
	local torso = nil
133
	local dist = 17
134
	local temp = nil
135
	local human = nil
136
	local temp2 = nil
137
	for x = 1, #list do
138
		temp2 = list[x]
139
		if (temp2.className == "Model") and (temp2 ~= script.Parent) then
140
			temp = temp2:findFirstChild("Right Arm")
141
			human = temp2:findFirstChild("Humanoid")
142
			if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
143
				if (temp.Position - pos).magnitude < dist then
144
					torso = temp
145
					dist = (temp.Position - pos).magnitude
146
				end
147
			end
148
		end
149
	end
150
	return torso
151
end
152
while true do
153
	wait(0.3)
154
	local target = findNearestTorso(Dummy["Torso"].Position)
155
	if target ~= nil then
156
		Humanoid:MoveTo(target.Position, target)
157
		local Music = Instance.new("Sound", Dummy.Head)
158
		Music.SoundId = "http://www.roblox.com/asset/?id=224299497"
159
		Music.Looped = false
160
		Music.Volume = 1
161
		Music:Play()
162
        Humanoid.WalkSpeed = 6000
163
		Dummy["Left Arm"].Transparency = 0
164
		Dummy["Right Arm"].Transparency = 0
165
		Dummy["Torso"].Transparency = 0
166
		Dummy["Head"].Transparency = 0
167
		Dummy["Left Leg"].Transparency = 0
168
		Dummy["Right Leg"].Transparency = 0
169
        leye.Transparency = 0
170
        reye.Transparency = 0
171
		wait(1)
172
		local Musc = Instance.new("Sound", Dummy.Head)
173
        Musc.SoundId = "http://www.roblox.com/asset/?id=155478643"
174
		Musc.Looped = false
175
		Musc.Volume = 1
176
		Musc:Play()
177
		Dummy["Left Arm"].Transparency = 1
178
		Dummy["Right Arm"].Transparency = 1
179
		Dummy["Torso"].Transparency = 1
180
		Dummy["Head"].Transparency = 1
181
		Dummy["Left Leg"].Transparency = 1
182
		Dummy["Right Leg"].Transparency = 1
183
		leye.Transparency = 1
184
		reye.Transparency = 1
185
        Humanoid.WalkSpeed = 3
186
		Dummy["Left Arm"].CanCollide = false
187
		Dummy["Right Arm"].CanCollide = false
188
		Dummy["Torso"].CanCollide = false
189
		Dummy["Head"].CanCollide = false
190
		Dummy["Left Leg"].CanCollide = false
191
		Dummy["Right Leg"].CanCollide = false
192
	end
193
end