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