SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
6 | ||
7 | wait(1) | |
8 | ||
9 | --By Rufus14 Showcase by purpleguy2playZ | |
10 | wait(2) | |
11 | script.Parent = nil | |
12 | mouse = game.Players.LocalPlayer:GetMouse() | |
13 | local aaabegone = Instance.new("Sound", workspace) | |
14 | aaabegone.SoundId = "rbxassetid://131057316" | |
15 | aaabegone.Volume = 10 | |
16 | aaabegone:Play() | |
17 | print("Script by Rufus14 Showcase by purpleguy2playZ") | |
18 | --Converted with ttyyuu12345's model to script plugin v4 | |
19 | function sandbox(var,func) | |
20 | local env = getfenv(func) | |
21 | local newenv = setmetatable({},{ | |
22 | __index = function(self,k) | |
23 | if k=="script" then | |
24 | return var | |
25 | else | |
26 | return env[k] | |
27 | end | |
28 | end, | |
29 | }) | |
30 | setfenv(func,newenv) | |
31 | return func | |
32 | end | |
33 | cors = {} | |
34 | mas = Instance.new("Model",game:GetService("Lighting")) | |
35 | Model0 = Instance.new("Model") | |
36 | Part1 = Instance.new("Part") | |
37 | SpecialMesh2 = Instance.new("SpecialMesh") | |
38 | Decal3 = Instance.new("Decal") | |
39 | Part4 = Instance.new("Part") | |
40 | Decal5 = Instance.new("Decal") | |
41 | RightShoulder = Instance.new("Motor") | |
42 | LeftShoulder = Instance.new("Motor") | |
43 | RightHip = Instance.new("Motor") | |
44 | LeftHip = Instance.new("Motor") | |
45 | Neck = Instance.new("Motor") | |
46 | Part11 = Instance.new("Part") | |
47 | Part12 = Instance.new("Part") | |
48 | Part13 = Instance.new("Part") | |
49 | Part14 = Instance.new("Part") | |
50 | Humanoid15 = Instance.new("Humanoid") | |
51 | Model0.Name = "Scp-008 Infected" | |
52 | Model0.Parent = mas | |
53 | Model0.PrimaryPart = Part1 | |
54 | Part1.Name = "Head" | |
55 | Part1.Parent = Model0 | |
56 | Part1.BrickColor = BrickColor.new("Really black") | |
57 | Part1.FormFactor = Enum.FormFactor.Symmetric | |
58 | Part1.Size = Vector3.new(2, 1, 1) | |
59 | Part1.CFrame = CFrame.new(-0.700021029, 4.49999905, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
60 | Part1.TopSurface = Enum.SurfaceType.Smooth | |
61 | Part1.Color = Color3.new(0.0588235, 0.258824, 0.00392157) | |
62 | Part1.Position = Vector3.new(-0.700021029, 4.49999905, 2.99999809) | |
63 | Part1.Color = Color3.new(0.0588235, 0.258824, 0.00392157) | |
64 | SpecialMesh2.Parent = Part1 | |
65 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
66 | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
67 | Decal3.Name = "face" | |
68 | Decal3.Parent = Part1 | |
69 | Decal3.Texture = "http://www.roblox.com/asset/?id=51827997" | |
70 | Part4.Name = "Torso" | |
71 | Part4.Parent = Model0 | |
72 | Part4.BrickColor = BrickColor.new("Black") | |
73 | Part4.FormFactor = Enum.FormFactor.Symmetric | |
74 | Part4.Size = Vector3.new(2, 2, 1) | |
75 | Part4.CFrame = CFrame.new(-0.700021029, 2.99999905, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
76 | Part4.LeftSurface = Enum.SurfaceType.Weld | |
77 | Part4.RightSurface = Enum.SurfaceType.Weld | |
78 | Part4.Color = Color3.new(0.0156863, 0.14902, 0.243137) | |
79 | Part4.Position = Vector3.new(-0.700021029, 2.99999905, 2.99999809) | |
80 | Part4.Color = Color3.new(0.0156863, 0.14902, 0.243137) | |
81 | Decal5.Name = "roblox" | |
82 | Decal5.Parent = Part4 | |
83 | RightShoulder.Name = "Right Shoulder" | |
84 | RightShoulder.Parent = Part4 | |
85 | RightShoulder.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
86 | RightShoulder.Part0 = Part4 | |
87 | RightShoulder.Part1 = Part12 | |
88 | RightShoulder.MaxVelocity = 0.15000000596046 | |
89 | LeftShoulder.Name = "Left Shoulder" | |
90 | LeftShoulder.Parent = Part4 | |
91 | LeftShoulder.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
92 | LeftShoulder.Part0 = Part4 | |
93 | LeftShoulder.Part1 = Part11 | |
94 | LeftShoulder.MaxVelocity = 0.15000000596046 | |
95 | RightHip.Name = "Right Hip" | |
96 | RightHip.Parent = Part4 | |
97 | RightHip.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
98 | RightHip.Part0 = Part4 | |
99 | RightHip.Part1 = Part14 | |
100 | RightHip.MaxVelocity = 0.10000000149012 | |
101 | LeftHip.Name = "Left Hip" | |
102 | LeftHip.Parent = Part4 | |
103 | LeftHip.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
104 | LeftHip.Part0 = Part4 | |
105 | LeftHip.Part1 = Part13 | |
106 | LeftHip.MaxVelocity = 0.10000000149012 | |
107 | Neck.Name = "Neck" | |
108 | Neck.Parent = Part4 | |
109 | Neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
110 | Neck.Part0 = Part4 | |
111 | Neck.Part1 = Part1 | |
112 | Neck.MaxVelocity = 0.10000000149012 | |
113 | Part11.Name = "Left Arm" | |
114 | Part11.Parent = Model0 | |
115 | Part11.BrickColor = BrickColor.new("Maroon") | |
116 | Part11.CanCollide = false | |
117 | Part11.FormFactor = Enum.FormFactor.Symmetric | |
118 | Part11.Size = Vector3.new(1, 2, 1) | |
119 | Part11.CFrame = CFrame.new(-2.20002103, 2.99999905, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
120 | Part11.Color = Color3.new(0.309804, 0.00392157, 0.00392157) | |
121 | Part11.Position = Vector3.new(-2.20002103, 2.99999905, 2.99999809) | |
122 | Part11.Color = Color3.new(0.309804, 0.00392157, 0.00392157) | |
123 | Part12.Name = "Right Arm" | |
124 | Part12.Parent = Model0 | |
125 | Part12.BrickColor = BrickColor.new("Earth green") | |
126 | Part12.CanCollide = false | |
127 | Part12.FormFactor = Enum.FormFactor.Symmetric | |
128 | Part12.Size = Vector3.new(1, 2, 1) | |
129 | Part12.CFrame = CFrame.new(0.799978971, 2.99999905, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
130 | Part12.Color = Color3.new(0.0666667, 0.290196, 0.0156863) | |
131 | Part12.Position = Vector3.new(0.799978971, 2.99999905, 2.99999809) | |
132 | Part12.Color = Color3.new(0.0666667, 0.290196, 0.0156863) | |
133 | Part13.Name = "Left Leg" | |
134 | Part13.Parent = Model0 | |
135 | Part13.BrickColor = BrickColor.new("Earth yellow") | |
136 | Part13.CanCollide = false | |
137 | Part13.FormFactor = Enum.FormFactor.Symmetric | |
138 | Part13.Size = Vector3.new(1, 2, 1) | |
139 | Part13.CFrame = CFrame.new(-1.20002103, 0.999999046, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
140 | Part13.BottomSurface = Enum.SurfaceType.Smooth | |
141 | Part13.TopSurface = Enum.SurfaceType.Inlet | |
142 | Part13.Color = Color3.new(0.396078, 0.454902, 0.168627) | |
143 | Part13.Position = Vector3.new(-1.20002103, 0.999999046, 2.99999809) | |
144 | Part13.Color = Color3.new(0.396078, 0.454902, 0.168627) | |
145 | Part14.Name = "Right Leg" | |
146 | Part14.Parent = Model0 | |
147 | Part14.BrickColor = BrickColor.new("Earth yellow") | |
148 | Part14.CanCollide = false | |
149 | Part14.FormFactor = Enum.FormFactor.Symmetric | |
150 | Part14.Size = Vector3.new(1, 2, 1) | |
151 | Part14.CFrame = CFrame.new(-0.200021029, 0.999999046, 2.99999809, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
152 | Part14.BottomSurface = Enum.SurfaceType.Smooth | |
153 | Part14.TopSurface = Enum.SurfaceType.Inlet | |
154 | Part14.Color = Color3.new(0.396078, 0.454902, 0.168627) | |
155 | Part14.Position = Vector3.new(-0.200021029, 0.999999046, 2.99999809) | |
156 | Part14.Color = Color3.new(0.396078, 0.454902, 0.168627) | |
157 | Humanoid15.Parent = Model0 | |
158 | Humanoid15.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
159 | Humanoid15.RightLeg = Part14 | |
160 | Humanoid15.LeftLeg = Part13 | |
161 | Humanoid15.Torso = Part4 | |
162 | for i,v in pairs(mas:GetChildren()) do | |
163 | v.Parent = workspace | |
164 | pcall(function() v:MakeJoints() end) | |
165 | end | |
166 | mas:Destroy() | |
167 | for i,v in pairs(cors) do | |
168 | spawn(function() | |
169 | pcall(v) | |
170 | end) | |
171 | end | |
172 | local zombiebool = Instance.new("BoolValue", Model0) | |
173 | zombiebool.Name = "ImAZombie" | |
174 | --Converted with ttyyuu12345's model to script plugin v4 | |
175 | function sandbox(var,func) | |
176 | local env = getfenv(func) | |
177 | local newenv = setmetatable({},{ | |
178 | __index = function(self,k) | |
179 | if k=="script" then | |
180 | return var | |
181 | else | |
182 | return env[k] | |
183 | end | |
184 | end, | |
185 | }) | |
186 | setfenv(func,newenv) | |
187 | return func | |
188 | end | |
189 | cors = {} | |
190 | mas = Instance.new("Model",game:GetService("Lighting")) | |
191 | ded4 = Instance.new("Sound") | |
192 | ded3 = Instance.new("Sound") | |
193 | ded2 = Instance.new("Sound") | |
194 | attacc1 = Instance.new("Sound") | |
195 | attacc = Instance.new("Sound") | |
196 | alldied = Instance.new("Sound") | |
197 | spawnz = Instance.new("Sound") | |
198 | ded1 = Instance.new("Sound") | |
199 | ded4.Name = "ded4" | |
200 | ded4.Parent = mas | |
201 | ded4.Volume = 10 | |
202 | ded4.SoundId = "rbxassetid://131138845" | |
203 | ded3.Name = "ded3" | |
204 | ded3.Parent = mas | |
205 | ded3.Volume = 10 | |
206 | ded3.SoundId = "rbxassetid://131138850" | |
207 | ded2.Name = "ded2" | |
208 | ded2.Parent = mas | |
209 | ded2.Volume = 10 | |
210 | ded2.SoundId = "rbxassetid://131138839" | |
211 | attacc1.Name = "attacc1" | |
212 | attacc1.Parent = mas | |
213 | attacc1.Volume = 10 | |
214 | attacc1.SoundId = "rbxassetid://131138835" | |
215 | attacc.Name = "attacc" | |
216 | attacc.Parent = mas | |
217 | attacc.Volume = 10 | |
218 | attacc.SoundId = "rbxassetid://131138828" | |
219 | alldied.Name = "zombiedied" | |
220 | alldied.Parent = mas | |
221 | alldied.Volume = 10 | |
222 | alldied.SoundId = "rbxassetid://131058078" | |
223 | spawnz.Name = "spawn1" | |
224 | spawnz.Parent = mas | |
225 | spawnz.Volume = 10 | |
226 | spawnz.SoundId = "rbxassetid://131060194" | |
227 | ded1.Name = "ded1" | |
228 | ded1.Parent = mas | |
229 | ded1.Volume = 10 | |
230 | ded1.SoundId = "rbxassetid://131138860" | |
231 | for i,v in pairs(mas:GetChildren()) do | |
232 | v.Parent = workspace | |
233 | pcall(function() v:MakeJoints() end) | |
234 | end | |
235 | mas:Destroy() | |
236 | for i,v in pairs(cors) do | |
237 | spawn(function() | |
238 | pcall(v) | |
239 | end) | |
240 | end | |
241 | randomvictim = nil | |
242 | --Converted with ttyyuu12345's model to script plugin v4 | |
243 | function sandbox(var,func) | |
244 | local env = getfenv(func) | |
245 | local newenv = setmetatable({},{ | |
246 | __index = function(self,k) | |
247 | if k=="script" then | |
248 | return var | |
249 | else | |
250 | return env[k] | |
251 | end | |
252 | end, | |
253 | }) | |
254 | setfenv(func,newenv) | |
255 | return func | |
256 | end | |
257 | cors = {} | |
258 | mas = Instance.new("Model",game:GetService("Lighting")) | |
259 | Part0 = Instance.new("Part") | |
260 | Attachment1 = Instance.new("Attachment") | |
261 | humanoidrootpart = Instance.new("Motor6D") | |
262 | Part0.Name = "HumanoidRootPart" | |
263 | Part0.Parent = Model0 | |
264 | Part0.Transparency = 1 | |
265 | Part0.CanCollide = false | |
266 | Part0.Locked = true | |
267 | Part0.FormFactor = Enum.FormFactor.Symmetric | |
268 | Part0.Size = Vector3.new(2, 2, 1) | |
269 | Part0.CFrame = CFrame.new(0, 3, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
270 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
271 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
272 | Part0.Position = Vector3.new(0, 3, 0) | |
273 | Attachment1.Name = "RootAttachment" | |
274 | Attachment1.Parent = Part0 | |
275 | humanoidrootpart.Name = "RootJoint" | |
276 | humanoidrootpart.Parent = Part0 | |
277 | humanoidrootpart.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
278 | humanoidrootpart.Part0 = Part0 | |
279 | humanoidrootpart.Part1 = Part4 | |
280 | humanoidrootpart.MaxVelocity = 0.10000000149012 | |
281 | for i,v in pairs(mas:GetChildren()) do | |
282 | v.Parent = Model0 | |
283 | pcall(function() v:MakeJoints() end) | |
284 | end | |
285 | mas:Destroy() | |
286 | for i,v in pairs(cors) do | |
287 | spawn(function() | |
288 | pcall(v) | |
289 | end) | |
290 | end | |
291 | spawnz:Play() | |
292 | Humanoid15.WalkSpeed = 17 | |
293 | Humanoid15.MaxHealth = 500 | |
294 | Humanoid15.Health = 500 | |
295 | function diiiie() | |
296 | ded1:Play() | |
297 | local corpseclone = Humanoid15.Parent:Clone() | |
298 | for i,v in pairs(Humanoid15.Parent:GetChildren()) do | |
299 | if v.ClassName == "Part" then | |
300 | v:destroy() | |
301 | end | |
302 | end | |
303 | for i,v in pairs(Humanoid15.Parent:GetChildren()) do | |
304 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
305 | v:Remove() | |
306 | end | |
307 | end | |
308 | corpseclone.Parent = workspace | |
309 | local function serch(part) | |
310 | for i,v in pairs(part:GetChildren()) do | |
311 | serch(v) | |
312 | if v.Name == "Weld" or v.Name == "Motor6D" then | |
313 | v:Remove() | |
314 | end | |
315 | end | |
316 | end | |
317 | serch(corpseclone) | |
318 | corpseclone.Name = corpseclone.Name.." (Dead)" | |
319 | local glue = Instance.new("Glue", corpseclone.Torso) | |
320 | glue.Part0 = corpseclone.Torso | |
321 | glue.Part1 = corpseclone["Left Leg"] | |
322 | glue.Name = "Left leg" | |
323 | local collider = Instance.new("Part", corpseclone["Left Leg"]) | |
324 | collider.Position = Vector3.new(0,999,0) | |
325 | collider.Size = Vector3.new(1.5, 1, 1) | |
326 | collider.Shape = "Cylinder" | |
327 | local weld = Instance.new("Weld", collider) | |
328 | weld.Part0 = corpseclone["Left Leg"] | |
329 | weld.Part1 = collider | |
330 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
331 | collider.TopSurface = "Smooth" | |
332 | collider.BottomSurface = "Smooth" | |
333 | collider.formFactor = "Symmetric" | |
334 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
335 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
336 | collider.Transparency = 1 | |
337 | -- | |
338 | local glue = Instance.new("Glue", corpseclone.Torso) | |
339 | glue.Part0 = corpseclone.Torso | |
340 | glue.Part1 = corpseclone["Right Leg"] | |
341 | glue.Name = "Right leg" | |
342 | local collider = Instance.new("Part", corpseclone["Right Leg"]) | |
343 | collider.Position = Vector3.new(0,999,0) | |
344 | collider.Size = Vector3.new(1.5, 1, 1) | |
345 | collider.Shape = "Cylinder" | |
346 | local weld = Instance.new("Weld", collider) | |
347 | weld.Part0 = corpseclone["Right Leg"] | |
348 | weld.Part1 = collider | |
349 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
350 | collider.TopSurface = "Smooth" | |
351 | collider.BottomSurface = "Smooth" | |
352 | collider.formFactor = "Symmetric" | |
353 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
354 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
355 | collider.Transparency = 1 | |
356 | -- | |
357 | local glue = Instance.new("Glue", corpseclone.Torso) | |
358 | glue.Part0 = corpseclone.Torso | |
359 | glue.Part1 = corpseclone["Right Arm"] | |
360 | glue.Name = "Right arm" | |
361 | local collider = Instance.new("Part", corpseclone["Right Arm"]) | |
362 | collider.Position = Vector3.new(0,999,0) | |
363 | collider.Size = Vector3.new(1.5, 1, 1) | |
364 | collider.Shape = "Cylinder" | |
365 | local weld = Instance.new("Weld", collider) | |
366 | weld.Part0 = corpseclone["Right Arm"] | |
367 | weld.Part1 = collider | |
368 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
369 | collider.TopSurface = "Smooth" | |
370 | collider.BottomSurface = "Smooth" | |
371 | collider.formFactor = "Symmetric" | |
372 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
373 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
374 | collider.Transparency = 1 | |
375 | -- | |
376 | local glue = Instance.new("Glue", corpseclone.Torso) | |
377 | glue.Part0 = corpseclone.Torso | |
378 | glue.Part1 = corpseclone["Left Arm"] | |
379 | glue.Name = "Left arm" | |
380 | local collider = Instance.new("Part", corpseclone["Left Arm"]) | |
381 | collider.Position = Vector3.new(0,999,0) | |
382 | collider.Size = Vector3.new(1.5, 1, 1) | |
383 | collider.Shape = "Cylinder" | |
384 | local weld = Instance.new("Weld", collider) | |
385 | weld.Part0 = corpseclone["Left Arm"] | |
386 | weld.Part1 = collider | |
387 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
388 | collider.TopSurface = "Smooth" | |
389 | collider.BottomSurface = "Smooth" | |
390 | collider.formFactor = "Symmetric" | |
391 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
392 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
393 | collider.Transparency = 1 | |
394 | local findhead = corpseclone:findFirstChild("Head") | |
395 | if findhead and corpseclone.Torso:findFirstChild("NeckAttachment") then | |
396 | local attachment = Instance.new("Attachment", corpseclone.Head) | |
397 | attachment.Position = Vector3.new(0, -0.5, 0) | |
398 | attachment.Name = "lol" | |
399 | attachment.Visible = false | |
400 | corpseclone.Torso.NeckAttachment.Visible = false | |
401 | corpseclone.Torso.NeckAttachment.Position = corpseclone.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
402 | local ball = Instance.new("BallSocketConstraint", corpseclone) | |
403 | ball.Attachment0 = corpseclone.Torso.NeckAttachment | |
404 | ball.Attachment1 = attachment | |
405 | ball.LimitsEnabled = true | |
406 | ball.TwistLimitsEnabled = true | |
407 | ball.UpperAngle = 90 | |
408 | ball.Restitution = 0.5 | |
409 | ball.TwistUpperAngle = 90 | |
410 | ball.TwistLowerAngle = -90 | |
411 | local collidepartofleftleg = Instance.new("Part", corpseclone.Torso) | |
412 | collidepartofleftleg.Name = "Bone" | |
413 | collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7) | |
414 | collidepartofleftleg.Transparency = 1 | |
415 | collidepartofleftleg:BreakJoints() | |
416 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
417 | weeld.Part0 = collidepartofleftleg | |
418 | weeld.Part1 = corpseclone["Head"] | |
419 | if corpseclone.Torso:findFirstChild("Neck") then | |
420 | corpseclone.Torso.Neck:destroy() | |
421 | end | |
422 | end | |
423 | wait(10) | |
424 | corpseclone:destroy() | |
425 | end | |
426 | Humanoid15.Died:connect(diiiie) | |
427 | for i = 0,1 , 0.03 do | |
428 | Neck.C0 = Neck.C0:lerp(CFrame.new(0, 1.4826355, -0.0984807983, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),i) | |
429 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.0174310207, 0.199238777, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736):inverse(),i) | |
430 | RightHip.C0 = RightHip.C0:lerp(CFrame.new(0.5, -2, -0.299999982, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),i) | |
431 | LeftHip.C0 = LeftHip.C0:lerp(CFrame.new(-0.5, -2, -0.299999982, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),i) | |
432 | LeftShoulder.C0 = LeftShoulder.C0:lerp(CFrame.new(-1.5, -0.0999999046, -0.400000006, 1, 0, 0, 0, 0.906307876, -0.422617942, 0, 0.422617942, 0.906307876),i) | |
433 | RightShoulder.C0 = RightShoulder.C0:lerp(CFrame.new(1.5, -0.0999999046, -0.400000006, 1, 0, 0, 0, 0.906307876, -0.422617942, 0, 0.422617942, 0.906307876),i) | |
434 | game:GetService("RunService").RenderStepped:wait() | |
435 | end | |
436 | canattacc = true | |
437 | function search() | |
438 | for i,v in pairs(workspace:GetChildren()) do | |
439 | if v.ClassName == "Model" then | |
440 | local humanoid = v:findFirstChildOfClass("Humanoid") | |
441 | local torso = v:findFirstChild("Torso") | |
442 | local imzomb = v:findFirstChild("ImAZombie") | |
443 | if humanoid and torso then | |
444 | if imzomb then | |
445 | ||
446 | else | |
447 | randomvictim = torso | |
448 | end | |
449 | end | |
450 | end | |
451 | end | |
452 | print("Found: "..randomvictim.Parent.Name) | |
453 | end | |
454 | search() | |
455 | function attaccing(part) | |
456 | local humanoid = part.Parent:findFirstChildOfClass("Humanoid") | |
457 | local torso = part.Parent:findFirstChild("Torso") | |
458 | local ImAZombie = part.Parent:findFirstChild("ImAZombie") | |
459 | if humanoid and canattacc and not ImAZombie then | |
460 | if humanoid.Health >= 600 then | |
461 | humanoid.MaxHealth = 100 | |
462 | humanoid.Health = 100 | |
463 | end | |
464 | local dmgrandom = math.random(46,90) | |
465 | if humanoid.Health < dmgrandom and humanoid.Health > 0 then | |
466 | humanoid.PlatformStand = true | |
467 | local zombiebool = Instance.new("BoolValue", torso.Parent) | |
468 | zombiebool.Name = "ImAZombie" | |
469 | search() | |
470 | humanoid.PlatformStand = true | |
471 | if torso then | |
472 | torso.CFrame = torso.CFrame * CFrame.fromEulerAnglesXYZ(0,0,1) | |
473 | end | |
474 | wait(1.5) | |
475 | if torso then | |
476 | local spawnzz = spawnz:Clone() | |
477 | spawnzz.Parent = torso | |
478 | spawnzz:Play() | |
479 | end | |
480 | humanoid.PlatformStand = false | |
481 | humanoid.Parent.Archivable = true | |
482 | humanoid.WalkSpeed = 17 | |
483 | humanoid.MaxHealth = 400 | |
484 | humanoid.Health = 400 | |
485 | local zombieclone = humanoid.Parent:Clone() | |
486 | zombieclone.Name = zombieclone.Name.." (Scp-008 Infected)" | |
487 | zombieclone.Parent = workspace | |
488 | local dedth = ded1:Clone() | |
489 | dedth.Parent = zombieclone.Head | |
490 | local dedth1 = ded2:Clone() | |
491 | dedth1.Parent = zombieclone.Head | |
492 | local dedth2 = ded3:Clone() | |
493 | dedth2.Parent = zombieclone.Head | |
494 | local dedth3 = ded4:Clone() | |
495 | dedth3.Parent = zombieclone.Head | |
496 | zombieclone.Torso.Touched:connect(attaccing) | |
497 | local function di3() | |
498 | local diemath = math.random(1,4) | |
499 | if diemath == 1 then | |
500 | dedth:Play() | |
501 | end | |
502 | if diemath == 2 then | |
503 | dedth1:Play() | |
504 | end | |
505 | if diemath == 3 then | |
506 | dedth2:Play() | |
507 | end | |
508 | if diemath == 4 then | |
509 | dedth3:Play() | |
510 | end | |
511 | local corpseclone = zombieclone:Clone() | |
512 | for i,v in pairs(zombieclone:GetChildren()) do | |
513 | if v.ClassName == "Part" then | |
514 | v:destroy() | |
515 | end | |
516 | end | |
517 | for i,v in pairs(zombieclone:GetChildren()) do | |
518 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
519 | v:Remove() | |
520 | end | |
521 | end | |
522 | corpseclone.Humanoid.PlatformStand = true | |
523 | corpseclone.Parent = workspace | |
524 | local function serch(part) | |
525 | for i,v in pairs(part:GetChildren()) do | |
526 | serch(v) | |
527 | if v.Name == "Weld" or v.Name == "Motor6D" then | |
528 | v:Remove() | |
529 | end | |
530 | end | |
531 | end | |
532 | serch(corpseclone) | |
533 | local glue = Instance.new("Glue", corpseclone.Torso) | |
534 | glue.Part0 = corpseclone.Torso | |
535 | glue.Part1 = corpseclone["Left Leg"] | |
536 | glue.Name = "Left leg" | |
537 | local collider = Instance.new("Part", corpseclone["Left Leg"]) | |
538 | collider.Position = Vector3.new(0,999,0) | |
539 | collider.Size = Vector3.new(1.5, 1, 1) | |
540 | collider.Shape = "Cylinder" | |
541 | local weld = Instance.new("Weld", collider) | |
542 | weld.Part0 = corpseclone["Left Leg"] | |
543 | weld.Part1 = collider | |
544 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
545 | collider.TopSurface = "Smooth" | |
546 | collider.BottomSurface = "Smooth" | |
547 | collider.formFactor = "Symmetric" | |
548 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
549 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
550 | collider.Transparency = 1 | |
551 | -- | |
552 | local glue = Instance.new("Glue", corpseclone.Torso) | |
553 | glue.Part0 = corpseclone.Torso | |
554 | glue.Part1 = corpseclone["Right Leg"] | |
555 | glue.Name = "Right leg" | |
556 | local collider = Instance.new("Part", corpseclone["Right Leg"]) | |
557 | collider.Position = Vector3.new(0,999,0) | |
558 | collider.Size = Vector3.new(1.5, 1, 1) | |
559 | collider.Shape = "Cylinder" | |
560 | local weld = Instance.new("Weld", collider) | |
561 | weld.Part0 = corpseclone["Right Leg"] | |
562 | weld.Part1 = collider | |
563 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
564 | collider.TopSurface = "Smooth" | |
565 | collider.BottomSurface = "Smooth" | |
566 | collider.formFactor = "Symmetric" | |
567 | glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
568 | glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
569 | collider.Transparency = 1 | |
570 | -- | |
571 | local glue = Instance.new("Glue", corpseclone.Torso) | |
572 | glue.Part0 = corpseclone.Torso | |
573 | glue.Part1 = corpseclone["Right Arm"] | |
574 | glue.Name = "Right arm" | |
575 | local collider = Instance.new("Part", corpseclone["Right Arm"]) | |
576 | collider.Position = Vector3.new(0,999,0) | |
577 | collider.Size = Vector3.new(1.5, 1, 1) | |
578 | collider.Shape = "Cylinder" | |
579 | local weld = Instance.new("Weld", collider) | |
580 | weld.Part0 = corpseclone["Right Arm"] | |
581 | weld.Part1 = collider | |
582 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
583 | collider.TopSurface = "Smooth" | |
584 | collider.BottomSurface = "Smooth" | |
585 | collider.formFactor = "Symmetric" | |
586 | glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
587 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
588 | collider.Transparency = 1 | |
589 | -- | |
590 | local glue = Instance.new("Glue", corpseclone.Torso) | |
591 | glue.Part0 = corpseclone.Torso | |
592 | glue.Part1 = corpseclone["Left Arm"] | |
593 | glue.Name = "Left arm" | |
594 | local collider = Instance.new("Part", corpseclone["Left Arm"]) | |
595 | collider.Position = Vector3.new(0,999,0) | |
596 | collider.Size = Vector3.new(1.5, 1, 1) | |
597 | collider.Shape = "Cylinder" | |
598 | local weld = Instance.new("Weld", collider) | |
599 | weld.Part0 = corpseclone["Left Arm"] | |
600 | weld.Part1 = collider | |
601 | weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
602 | collider.TopSurface = "Smooth" | |
603 | collider.BottomSurface = "Smooth" | |
604 | collider.formFactor = "Symmetric" | |
605 | glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
606 | glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
607 | collider.Transparency = 1 | |
608 | local findhead = corpseclone:findFirstChild("Head") | |
609 | if findhead and corpseclone.Torso:findFirstChild("NeckAttachment") then | |
610 | local attachment = Instance.new("Attachment", corpseclone.Head) | |
611 | attachment.Position = Vector3.new(0, -0.5, 0) | |
612 | attachment.Name = "lol" | |
613 | attachment.Visible = false | |
614 | corpseclone.Torso.NeckAttachment.Visible = false | |
615 | corpseclone.Torso.NeckAttachment.Position = corpseclone.Torso.NeckAttachment.Position + Vector3.new(0,0,0) | |
616 | local ball = Instance.new("BallSocketConstraint", corpseclone) | |
617 | ball.Attachment0 = corpseclone.Torso.NeckAttachment | |
618 | ball.Attachment1 = attachment | |
619 | ball.LimitsEnabled = true | |
620 | ball.TwistLimitsEnabled = true | |
621 | ball.UpperAngle = 90 | |
622 | ball.Restitution = 0.5 | |
623 | ball.TwistUpperAngle = 90 | |
624 | ball.TwistLowerAngle = -90 | |
625 | local collidepartofleftleg = Instance.new("Part", corpseclone.Torso) | |
626 | collidepartofleftleg.Name = "Bone" | |
627 | collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7) | |
628 | collidepartofleftleg.Transparency = 1 | |
629 | collidepartofleftleg:BreakJoints() | |
630 | local weeld = Instance.new("Weld", collidepartofleftleg) | |
631 | weeld.Part0 = collidepartofleftleg | |
632 | weeld.Part1 = corpseclone["Head"] | |
633 | if corpseclone.Torso:findFirstChild("Neck") then | |
634 | corpseclone.Torso.Neck:destroy() | |
635 | end | |
636 | end | |
637 | corpseclone.Name = corpseclone.Name.." (Dead)" | |
638 | wait(10) | |
639 | corpseclone:destroy() | |
640 | end | |
641 | zombieclone.Humanoid.Died:connect(di3) | |
642 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
643 | if v.ClassName == "Part" then | |
644 | v:destroy() | |
645 | end | |
646 | end | |
647 | wait(1) | |
648 | while true do | |
649 | if zombieclone.Humanoid.Health > 1 then | |
650 | if zombieclone.Parent == nil then | |
651 | zombieclone.Parent = workspace | |
652 | end | |
653 | end | |
654 | wait() | |
655 | end | |
656 | else | |
657 | canattacc = false | |
658 | local attaccramdom = math.random(1,2) | |
659 | if attaccramdom == 1 then | |
660 | attacc:Play() | |
661 | end | |
662 | if attaccramdom == 2 then | |
663 | attacc1:Play() | |
664 | end | |
665 | - | run.SoundId = "rbxassetid://425903468" |
665 | + | |
666 | wait(0.8) | |
667 | canattacc = true | |
668 | end | |
669 | end | |
670 | end | |
671 | Part4.Touched:connect(attaccing) | |
672 | local run = Instance.new("Sound", workspace) | |
673 | run.SoundId = "rbxassetid://" | |
674 | run:Play() | |
675 | run.Looped = true | |
676 | run.Volume = 10 | |
677 | function clikd(key) | |
678 | key = key:lower() | |
679 | if key == "f" then | |
680 | local humanoid = mouse.Target.Parent:findFirstChild("Humanoid") | |
681 | local torso = mouse.Target.Parent:findFirstChild("Torso") | |
682 | if humanoid and torso then | |
683 | print("Picked "..mouse.Target.Parent.Name.." as a manual target") | |
684 | randomvictim = torso | |
685 | end | |
686 | end | |
687 | end | |
688 | mouse.KeyDown:connect(clikd) | |
689 | homanyzombies = 0 | |
690 | -- Objects | |
691 | ||
692 | local ScreenGui = Instance.new("ScreenGui") | |
693 | local TextLabel = Instance.new("TextLabel") | |
694 | ||
695 | -- Properties | |
696 | ||
697 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
698 | ||
699 | TextLabel.Parent = ScreenGui | |
700 | TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) | |
701 | TextLabel.Position = UDim2.new(0.176427528, 0, 0.89121145, 0) | |
702 | TextLabel.Size = UDim2.new(0, 855, 0, 83) | |
703 | TextLabel.SizeConstraint = Enum.SizeConstraint.RelativeXX | |
704 | TextLabel.Font = Enum.Font.SourceSans | |
705 | TextLabel.FontSize = Enum.FontSize.Size14 | |
706 | TextLabel.Text = "Scp-008 infected Alive: " | |
707 | TextLabel.TextColor3 = Color3.new(0.25098, 1, 0.0431373) | |
708 | TextLabel.TextScaled = true | |
709 | TextLabel.TextSize = 14 | |
710 | TextLabel.TextWrapped = true | |
711 | while true do | |
712 | homanyzombies = 0 | |
713 | for i,v in pairs(workspace:GetChildren()) do | |
714 | if v.ClassName == "Model" then | |
715 | local humanoid = v:findFirstChildOfClass("Humanoid") | |
716 | local imzomb = v:findFirstChild("ImAZombie") | |
717 | if humanoid and imzomb then | |
718 | if humanoid.Health >= 0.001 then | |
719 | homanyzombies = homanyzombies + 1 | |
720 | TextLabel.Text = "Scp-008 Infected Alive: "..homanyzombies | |
721 | end | |
722 | end | |
723 | end | |
724 | end | |
725 | if homanyzombies == 0 then | |
726 | alldied:Play() | |
727 | run:Stop() | |
728 | TextLabel.Text = "Every zombie died!" | |
729 | wait(4) | |
730 | ScreenGui:destroy() | |
731 | while true do | |
732 | wait(3) | |
733 | end | |
734 | end | |
735 | for i,v in pairs(workspace:GetChildren()) do | |
736 | if v.ClassName == "Model" then | |
737 | local humanoid = v:findFirstChildOfClass("Humanoid") | |
738 | local imzomb = v:findFirstChild("ImAZombie") | |
739 | local torso = v:findFirstChild("Torso") | |
740 | if humanoid and imzomb and torso then | |
741 | if humanoid.Health > 0.01 then | |
742 | humanoid.WalkToPoint = randomvictim.Position | |
743 | for i = 0,0.6 , 0.1 do | |
744 | humanoid.WalkToPoint = randomvictim.Position | |
745 | if torso:findFirstChild("Right Hip") then | |
746 | torso["Right Hip"].C1 = CFrame.new(0,0,0) | |
747 | end | |
748 | if torso:findFirstChild("Left Hip") then | |
749 | torso["Left Hip"].C1 = CFrame.new(0,0,0) | |
750 | end | |
751 | if torso:findFirstChild("Right Shoulder") then | |
752 | torso["Right Shoulder"].C1 = CFrame.new(0,0,0) | |
753 | end | |
754 | if torso:findFirstChild("Left Shoulder") then | |
755 | torso["Left Shoulder"].C1 = CFrame.new(0,0,0) | |
756 | end | |
757 | -- | |
758 | if torso:findFirstChild("Right Hip") then | |
759 | torso["Right Hip"].C0 = torso["Right Hip"].C0:lerp(CFrame.new(0.499992371, -1.87492192, 0.954907298, 1, 0, 0, 0, 0.819151878, 0.573576808, 0, -0.573576987, 0.819151878),i) | |
760 | end | |
761 | if torso:findFirstChild("Left Hip") then | |
762 | torso["Left Hip"].C0 = torso["Left Hip"].C0:lerp(CFrame.new(-0.500007629, -1.96685851, -0.799733043, 1, 0, 0, 0, 0.819151759, -0.573576927, 0, 0.573576868, 0.819151998),i) | |
763 | end | |
764 | if torso:findFirstChild("Right Shoulder") then | |
765 | torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(CFrame.new(1.41486359, 0.409589052, -0.827155113, 1, 0, 0, 0, -8.94069672e-08, -1, 0, 1.00000012, 8.94069672e-08),i) | |
766 | end | |
767 | if torso:findFirstChild("Left Shoulder") then | |
768 | torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(CFrame.new(-1.50000763, 0.409590244, -0.901263297, 1, 0, 0, 0, -3.27825546e-07, -1, 0, 1.00000024, 3.27825575e-07),i) | |
769 | end | |
770 | game:GetService("RunService").RenderStepped:wait() | |
771 | end | |
772 | end | |
773 | end | |
774 | end | |
775 | end | |
776 | for i,v in pairs(workspace:GetChildren()) do | |
777 | if v.ClassName == "Model" then | |
778 | local humanoid = v:findFirstChildOfClass("Humanoid") | |
779 | local imzomb = v:findFirstChild("ImAZombie") | |
780 | local torso = v:findFirstChild("Torso") | |
781 | if humanoid and imzomb and torso then | |
782 | if humanoid.Health > 0.01 then | |
783 | humanoid.WalkToPoint = randomvictim.Position | |
784 | for i = 0,0.6 , 0.1 do | |
785 | humanoid.WalkToPoint = randomvictim.Position | |
786 | if torso:findFirstChild("Right Hip") then | |
787 | torso["Right Hip"].C1 = CFrame.new(0,0,0) | |
788 | end | |
789 | if torso:findFirstChild("Left Hip") then | |
790 | torso["Left Hip"].C1 = CFrame.new(0,0,0) | |
791 | end | |
792 | if torso:findFirstChild("Right Shoulder") then | |
793 | torso["Right Shoulder"].C1 = CFrame.new(0,0,0) | |
794 | end | |
795 | if torso:findFirstChild("Left Shoulder") then | |
796 | torso["Left Shoulder"].C1 = CFrame.new(0,0,0) | |
797 | end | |
798 | -- | |
799 | if torso:findFirstChild("Right Hip") then | |
800 | torso["Right Hip"].C0 = torso["Right Hip"].C0:lerp(CFrame.new(0.5, -1.95895696, -0.881649196, 1, 0, 0, 0, 0.819151819, -0.573576868, 0, 0.573576868, 0.819151819),i) | |
801 | end | |
802 | if torso:findFirstChild("Left Hip") then | |
803 | torso["Left Hip"].C0 = torso["Left Hip"].C0:lerp(CFrame.new(-0.5, -1.97527182, 0.78138262, 1, 0, 0, 0, 0.819151819, 0.573576868, 0, -0.573576868, 0.819151819),i) | |
804 | end | |
805 | if torso:findFirstChild("Right Shoulder") then | |
806 | torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0:lerp(CFrame.new(1.41486359, 0.309589148, -0.82715553, 1, 0, 0, 0, -3.57627897e-07, -1, 0, 1.00000036, 3.57627897e-07),i) | |
807 | end | |
808 | if torso:findFirstChild("Left Shoulder") then | |
809 | torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0:lerp(CFrame.new(-1.50000763, 0.309590578, -0.901263416, 1, 0, 0, 0, -2.68220901e-07, -1, 0, 1.00000024, 2.68220901e-07),i) | |
810 | end | |
811 | game:GetService("RunService").RenderStepped:wait() | |
812 | end | |
813 | end | |
814 | end | |
815 | end | |
816 | end | |
817 | if Humanoid15.Health > 1 then | |
818 | if Model0.Parent == nil then | |
819 | Model0.Parent = workspace | |
820 | end | |
821 | end | |
822 | if alldied.Parent == nil then | |
823 | alldied.Parent = workspace | |
824 | end | |
825 | if ded1.Parent == nil then | |
826 | ded1.Parent = workspace | |
827 | end | |
828 | if ded2.Parent == nil then | |
829 | ded2.Parent = workspace | |
830 | end | |
831 | if ded3.Parent == nil then | |
832 | ded3.Parent = workspace | |
833 | end | |
834 | if ded4.Parent == nil then | |
835 | ded4.Parent = workspace | |
836 | end | |
837 | if spawnz.Parent == nil then | |
838 | spawnz.Parent = workspace | |
839 | end | |
840 | if attacc.Parent == nil then | |
841 | attacc.Parent = workspace | |
842 | end | |
843 | if attacc1.Parent == nil then | |
844 | attacc1.Parent = workspace | |
845 | end | |
846 | if run.Parent == nil then | |
847 | run.Parent = workspace | |
848 | end | |
849 | wait() | |
850 | end |