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