SHOW:
|
|
- or go back to the newest paste.
1 | -- Objects | |
2 | ||
3 | local ScreenGui = Instance.new("ScreenGui") | |
4 | local TextBox = Instance.new("TextBox") | |
5 | ||
6 | ||
7 | function MoveSpawn(obj1,PLAYER) | |
8 | local playerpos = nil | |
9 | if PLAYER:FindFirstChildOfClass('Humanoid') and PLAYER:FindFirstChild('HumanoidRootPart') then | |
10 | playerpos = PLAYER.HumanoidRootPart.Position - Vector3.new(0,PLAYER:FindFirstChildOfClass('Humanoid').HipHeight+3,0) | |
11 | end | |
12 | print(playerpos) | |
13 | for _,part in pairs (obj1:GetChildren()) do | |
14 | if part:IsA('BasePart') and playerpos then | |
15 | - | print('thefuck') |
15 | + | print('theheck') |
16 | print(playerpos) | |
17 | part.CFrame = part.CFrame + playerpos + Vector3.new(-2.6,-20,-143) | |
18 | end | |
19 | end | |
20 | end | |
21 | ||
22 | function ToHell(obj1) | |
23 | for i,v in pairs(obj1:GetChildren()) do | |
24 | v.CFrame = v.CFrame+Vector3.new(5000,5000,5000) | |
25 | end | |
26 | end | |
27 | ||
28 | function MoveBy(obj1,AMNT) | |
29 | for i,v in pairs(obj1:GetChildren()) do | |
30 | if v:IsA('BasePart') then | |
31 | v.CFrame = v.CFrame + AMNT | |
32 | end | |
33 | end | |
34 | end | |
35 | ||
36 | function MovePartBy(part,AMNT) | |
37 | part.CFrame = part.CFrame+AMNT | |
38 | end | |
39 | ||
40 | -- Properties | |
41 | ||
42 | - | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui |
42 | + | ScreenGui.Parent = game.Players.andreiek.PlayerGui |
43 | ScreenGui.ResetOnSpawn = false | |
44 | ||
45 | TextBox.Parent = ScreenGui | |
46 | TextBox.AnchorPoint = Vector2.new(0.5, 0.5) | |
47 | TextBox.BackgroundColor3 = Color3.new(0, 0, 0) | |
48 | TextBox.BorderColor3 = Color3.new(0.47451, 0, 0) | |
49 | TextBox.BorderSizePixel = 5 | |
50 | TextBox.Position = UDim2.new(0.5, 0, 0.949999988, 0) | |
51 | TextBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
52 | TextBox.Font = Enum.Font.SourceSans | |
53 | TextBox.FontSize = Enum.FontSize.Size14 | |
54 | TextBox.Text = "Enter Target's Name (Can be Shortened)" | |
55 | TextBox.TextColor3 = Color3.new(0.47451, 0, 0) | |
56 | TextBox.TextScaled = true | |
57 | TextBox.TextSize = 14 | |
58 | TextBox.TextWrapped = true | |
59 | ||
60 | TextBox.FocusLost:connect(function() | |
61 | for i,v in pairs(game.Players:GetChildren()) do | |
62 | if (string.sub(string.lower(v.Name),1,string.len(TextBox.Text)) == string.lower(TextBox.Text) and string.lower(TextBox.Text) ~= "all" and string.lower(TextBox.Text) ~= "others" and string.lower(TextBox.Text) ~= "me") or string.lower(TextBox.Text) == "all" or (string.lower(TextBox.Text) == "others" and v ~= game.Players.LocalPlayer) or (string.lower(TextBox.Text) == "me" and v == game.Players.LocalPlayer) then | |
63 | local coru = coroutine.wrap(function() | |
64 | print('elevatoring '..v.Name) | |
65 | local plr = v | |
66 | -- 1 - Model | |
67 | local obj1 = Instance.new("Model") | |
68 | obj1.Parent = workspace | |
69 | ||
70 | -- 2 - Part | |
71 | local obj2 = Instance.new("Part") | |
72 | obj2.CFrame = CFrame.new(Vector3.new(7.60000801, 8.2000227, 143.099991)) * CFrame.Angles(-0, 0, -0) | |
73 | obj2.Material = Enum.Material.Neon | |
74 | obj2.Size = Vector3.new(0.400000006, 0.200000003, 6.5999999) | |
75 | obj2.Anchored = true | |
76 | obj2.BrickColor = BrickColor.new("Maroon") | |
77 | obj2.Friction = 0.30000001192093 | |
78 | obj2.Shape = Enum.PartType.Block | |
79 | obj2.Parent = obj1 | |
80 | ||
81 | -- 3 - Part | |
82 | local obj3 = Instance.new("Part") | |
83 | obj3.CFrame = CFrame.new(Vector3.new(17.550005, 2.40002203, 152.699997)) * CFrame.Angles(-0, 0, -0) | |
84 | obj3.Material = Enum.Material.Foil | |
85 | obj3.Size = Vector3.new(19.4999981, 0.200000003, 0.200000003) | |
86 | obj3.Anchored = true | |
87 | obj3.BrickColor = BrickColor.new("Really black") | |
88 | obj3.Friction = 0.30000001192093 | |
89 | obj3.Shape = Enum.PartType.Block | |
90 | obj3.Parent = obj1 | |
91 | ||
92 | -- 4 - Wedge | |
93 | local obj4 = Instance.new("WedgePart") | |
94 | obj4.CFrame = CFrame.new(Vector3.new(27.300005, 0.107478142, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
95 | obj4.TopSurface = Enum.SurfaceType.Smooth | |
96 | obj4.Material = Enum.Material.Marble | |
97 | obj4.Size = Vector3.new(0.200000003, 1, 1) | |
98 | obj4.Anchored = true | |
99 | obj4.BrickColor = BrickColor.new("Maroon") | |
100 | obj4.Friction = 0.30000001192093 | |
101 | obj4.Name = "Wedge" | |
102 | obj4.Parent = obj1 | |
103 | ||
104 | -- 5 - Part | |
105 | local obj5 = Instance.new("Part") | |
106 | obj5.CFrame = CFrame.new(Vector3.new(17.7938519, 0.107021809, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0) | |
107 | obj5.TopSurface = Enum.SurfaceType.Smooth | |
108 | obj5.BottomSurface = Enum.SurfaceType.Smooth | |
109 | obj5.Material = Enum.Material.Marble | |
110 | obj5.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
111 | obj5.Anchored = true | |
112 | obj5.BrickColor = BrickColor.new("Maroon") | |
113 | obj5.Friction = 0.30000001192093 | |
114 | obj5.Shape = Enum.PartType.Block | |
115 | obj5.Parent = obj1 | |
116 | ||
117 | -- 6 - Part | |
118 | local obj6 = Instance.new("Part") | |
119 | obj6.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 149.850006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
120 | obj6.Material = Enum.Material.Cobblestone | |
121 | obj6.Size = Vector3.new(6.90000153, 13, 0.400000006) | |
122 | obj6.Anchored = true | |
123 | obj6.BrickColor = BrickColor.new("Maroon") | |
124 | obj6.Friction = 0.30000001192093 | |
125 | obj6.Shape = Enum.PartType.Block | |
126 | obj6.Parent = obj1 | |
127 | ||
128 | -- 7 - Part | |
129 | local obj7 = Instance.new("Part") | |
130 | obj7.CFrame = CFrame.new(Vector3.new(27.4000034, 2.40002203, 143.199997)) * CFrame.Angles(-0, 0, -0) | |
131 | obj7.Material = Enum.Material.Foil | |
132 | obj7.Size = Vector3.new(0.200000003, 0.200000003, 19.2000008) | |
133 | obj7.Anchored = true | |
134 | obj7.BrickColor = BrickColor.new("Really black") | |
135 | obj7.Friction = 0.30000001192093 | |
136 | obj7.Shape = Enum.PartType.Block | |
137 | obj7.Parent = obj1 | |
138 | ||
139 | -- 8 - Part | |
140 | local obj8 = Instance.new("Part") | |
141 | obj8.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 153.199997)) * CFrame.Angles(-0, 0, -0) | |
142 | obj8.Material = Enum.Material.Cobblestone | |
143 | obj8.Size = Vector3.new(20, 13, 0.200000003) | |
144 | obj8.Anchored = true | |
145 | obj8.BrickColor = BrickColor.new("Maroon") | |
146 | obj8.Friction = 0.30000001192093 | |
147 | obj8.Shape = Enum.PartType.Block | |
148 | obj8.Parent = obj1 | |
149 | ||
150 | -- 9 - Part | |
151 | local obj9 = Instance.new("Part") | |
152 | obj9.CFrame = CFrame.new(Vector3.new(7.6000042, 4.05002213, 139.899994)) * CFrame.Angles(-0, 0, -0) | |
153 | obj9.Material = Enum.Material.Neon | |
154 | obj9.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003) | |
155 | obj9.Anchored = true | |
156 | obj9.BrickColor = BrickColor.new("Maroon") | |
157 | obj9.Friction = 0.30000001192093 | |
158 | obj9.Shape = Enum.PartType.Block | |
159 | obj9.Parent = obj1 | |
160 | ||
161 | -- 10 - Part | |
162 | local obj10 = Instance.new("Part") | |
163 | obj10.CFrame = CFrame.new(Vector3.new(17.8000011, 0.100021839, 143.100006)) * CFrame.Angles(-0, 0, -0) | |
164 | obj10.TopSurface = Enum.SurfaceType.Smooth | |
165 | obj10.BottomSurface = Enum.SurfaceType.Smooth | |
166 | obj10.Material = Enum.Material.Wood | |
167 | obj10.Size = Vector3.new(20, 0.200000003, 20) | |
168 | obj10.Anchored = true | |
169 | obj10.BrickColor = BrickColor.new("Black") | |
170 | obj10.Friction = 0.30000001192093 | |
171 | obj10.Shape = Enum.PartType.Block | |
172 | obj10.Parent = obj1 | |
173 | ||
174 | -- 11 - Wedge | |
175 | local obj11 = Instance.new("WedgePart") | |
176 | obj11.CFrame = CFrame.new(Vector3.new(8.2999897, 0.107478142, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063) | |
177 | obj11.TopSurface = Enum.SurfaceType.Smooth | |
178 | obj11.Material = Enum.Material.Marble | |
179 | obj11.Size = Vector3.new(0.200000003, 1, 1) | |
180 | obj11.BottomSurface = Enum.SurfaceType.Smooth | |
181 | obj11.Anchored = true | |
182 | obj11.BrickColor = BrickColor.new("Maroon") | |
183 | obj11.Friction = 0.30000001192093 | |
184 | obj11.Name = "Wedge" | |
185 | obj11.Parent = obj1 | |
186 | ||
187 | -- 12 - Wedge | |
188 | local obj12 = Instance.new("WedgePart") | |
189 | obj12.CFrame = CFrame.new(Vector3.new(8.2988987, 0.107478142, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0) | |
190 | obj12.TopSurface = Enum.SurfaceType.Smooth | |
191 | obj12.Material = Enum.Material.Marble | |
192 | obj12.Size = Vector3.new(0.200000003, 1, 1) | |
193 | obj12.BottomSurface = Enum.SurfaceType.Smooth | |
194 | obj12.Anchored = true | |
195 | obj12.BrickColor = BrickColor.new("Maroon") | |
196 | obj12.Friction = 0.30000001192093 | |
197 | obj12.Name = "Wedge" | |
198 | obj12.Parent = obj1 | |
199 | ||
200 | -- 13 - Part | |
201 | local obj13 = Instance.new("Part") | |
202 | obj13.CFrame = CFrame.new(Vector3.new(17.7979107, 0.107021809, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126) | |
203 | obj13.TopSurface = Enum.SurfaceType.Smooth | |
204 | obj13.BottomSurface = Enum.SurfaceType.Smooth | |
205 | obj13.Material = Enum.Material.Marble | |
206 | obj13.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
207 | obj13.Anchored = true | |
208 | obj13.BrickColor = BrickColor.new("Maroon") | |
209 | obj13.Friction = 0.30000001192093 | |
210 | obj13.Shape = Enum.PartType.Block | |
211 | obj13.Parent = obj1 | |
212 | ||
213 | -- 14 - Wedge | |
214 | local obj14 = Instance.new("WedgePart") | |
215 | obj14.CFrame = CFrame.new(Vector3.new(27.2989597, 0.107478142, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0) | |
216 | obj14.TopSurface = Enum.SurfaceType.Smooth | |
217 | obj14.Material = Enum.Material.Marble | |
218 | obj14.Size = Vector3.new(0.200000003, 1, 1) | |
219 | obj14.Anchored = true | |
220 | obj14.BrickColor = BrickColor.new("Maroon") | |
221 | obj14.Friction = 0.30000001192093 | |
222 | obj14.Name = "Wedge" | |
223 | obj14.Parent = obj1 | |
224 | ||
225 | -- 15 - Part | |
226 | local obj15 = Instance.new("Part") | |
227 | obj15.CFrame = CFrame.new(Vector3.new(27.8999996, 6.50002193, 143.100006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
228 | obj15.Material = Enum.Material.Cobblestone | |
229 | obj15.Size = Vector3.new(20.4000015, 13, 0.200000003) | |
230 | obj15.Anchored = true | |
231 | obj15.BrickColor = BrickColor.new("Maroon") | |
232 | obj15.Friction = 0.30000001192093 | |
233 | obj15.Shape = Enum.PartType.Block | |
234 | obj15.Parent = obj1 | |
235 | ||
236 | -- 16 - Part | |
237 | local obj16 = Instance.new("Part") | |
238 | obj16.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 146.299988)) * CFrame.Angles(-0, 0, -0) | |
239 | obj16.Material = Enum.Material.Neon | |
240 | obj16.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003) | |
241 | obj16.Anchored = true | |
242 | obj16.BrickColor = BrickColor.new("Maroon") | |
243 | obj16.Friction = 0.30000001192093 | |
244 | obj16.Shape = Enum.PartType.Block | |
245 | obj16.Parent = obj1 | |
246 | ||
247 | -- 17 - Part | |
248 | local obj17 = Instance.new("Part") | |
249 | obj17.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 133)) * CFrame.Angles(-0, 0, -0) | |
250 | obj17.Material = Enum.Material.Cobblestone | |
251 | obj17.Size = Vector3.new(20, 13, 0.200000003) | |
252 | obj17.Anchored = true | |
253 | obj17.BrickColor = BrickColor.new("Maroon") | |
254 | obj17.Friction = 0.30000001192093 | |
255 | obj17.Shape = Enum.PartType.Block | |
256 | obj17.Parent = obj1 | |
257 | ||
258 | -- 18 - Part | |
259 | local obj18 = Instance.new("Part") | |
260 | obj18.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 136.350006)) * CFrame.Angles(0, 1.5707963705063, 0) | |
261 | obj18.Material = Enum.Material.Cobblestone | |
262 | obj18.Size = Vector3.new(6.90000153, 13, 0.400000006) | |
263 | obj18.Anchored = true | |
264 | obj18.BrickColor = BrickColor.new("Maroon") | |
265 | obj18.Friction = 0.30000001192093 | |
266 | obj18.Shape = Enum.PartType.Block | |
267 | obj18.Parent = obj1 | |
268 | ||
269 | -- 19 - Part | |
270 | local obj19 = Instance.new("Part") | |
271 | obj19.CFrame = CFrame.new(Vector3.new(7.6000042, 10.6500206, 143.099991)) * CFrame.Angles(0, 1.5707963705063, 0) | |
272 | obj19.Material = Enum.Material.Cobblestone | |
273 | obj19.Size = Vector3.new(6.60000181, 4.69999981, 0.400000006) | |
274 | obj19.Anchored = true | |
275 | obj19.BrickColor = BrickColor.new("Maroon") | |
276 | obj19.Friction = 0.30000001192093 | |
277 | obj19.Shape = Enum.PartType.Block | |
278 | obj19.Parent = obj1 | |
279 | ||
280 | -- 20 - Part | |
281 | local obj20 = Instance.new("Part") | |
282 | obj20.CFrame = CFrame.new(Vector3.new(17.6500034, 2.40002203, 133.5)) * CFrame.Angles(-0, 0, -0) | |
283 | obj20.Material = Enum.Material.Foil | |
284 | obj20.Size = Vector3.new(19.7000008, 0.200000003, 0.200000003) | |
285 | obj20.Anchored = true | |
286 | obj20.BrickColor = BrickColor.new("Really black") | |
287 | obj20.Friction = 0.30000001192093 | |
288 | obj20.Shape = Enum.PartType.Block | |
289 | obj20.Parent = obj1 | |
290 | ||
291 | -- 21 - Door1 | |
292 | local obj21 = Instance.new("Part") | |
293 | obj21.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 144.649994)) * CFrame.Angles(-0, 0, -0) | |
294 | obj21.Material = Enum.Material.Granite | |
295 | obj21.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014) | |
296 | obj21.Anchored = true | |
297 | obj21.BrickColor = BrickColor.new("Really black") | |
298 | obj21.Friction = 0.30000001192093 | |
299 | obj21.Shape = Enum.PartType.Block | |
300 | obj21.Name = "Door1" | |
301 | obj21.Parent = obj1 | |
302 | ||
303 | -- 22 - Part | |
304 | local obj22 = Instance.new("Part") | |
305 | obj22.CFrame = CFrame.new(Vector3.new(17.8000011, 12.9000273, 143.100006)) * CFrame.Angles(-0, 0, -0) | |
306 | obj22.TopSurface = Enum.SurfaceType.Smooth | |
307 | obj22.BottomSurface = Enum.SurfaceType.Smooth | |
308 | obj22.Material = Enum.Material.Wood | |
309 | obj22.Size = Vector3.new(20, 0.200000003, 20) | |
310 | obj22.Anchored = true | |
311 | obj22.BrickColor = BrickColor.new("Black") | |
312 | obj22.Friction = 0.30000001192093 | |
313 | obj22.Shape = Enum.PartType.Block | |
314 | obj22.Parent = obj1 | |
315 | ||
316 | -- 23 - Wedge | |
317 | local obj23 = Instance.new("WedgePart") | |
318 | obj23.CFrame = CFrame.new(Vector3.new(8.2999897, 12.9074841, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063) | |
319 | obj23.TopSurface = Enum.SurfaceType.Smooth | |
320 | obj23.Material = Enum.Material.Marble | |
321 | obj23.Size = Vector3.new(0.200000003, 1, 1) | |
322 | obj23.BottomSurface = Enum.SurfaceType.Smooth | |
323 | obj23.Anchored = true | |
324 | obj23.BrickColor = BrickColor.new("Maroon") | |
325 | obj23.Friction = 0.30000001192093 | |
326 | obj23.Name = "Wedge" | |
327 | obj23.Parent = obj1 | |
328 | ||
329 | -- 24 - Wedge | |
330 | local obj24 = Instance.new("WedgePart") | |
331 | obj24.CFrame = CFrame.new(Vector3.new(8.2988987, 12.9074841, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0) | |
332 | obj24.TopSurface = Enum.SurfaceType.Smooth | |
333 | obj24.Material = Enum.Material.Marble | |
334 | obj24.Size = Vector3.new(0.200000003, 1, 1) | |
335 | obj24.BottomSurface = Enum.SurfaceType.Smooth | |
336 | obj24.Anchored = true | |
337 | obj24.BrickColor = BrickColor.new("Maroon") | |
338 | obj24.Friction = 0.30000001192093 | |
339 | obj24.Name = "Wedge" | |
340 | obj24.Parent = obj1 | |
341 | ||
342 | -- 25 - Wedge | |
343 | local obj25 = Instance.new("WedgePart") | |
344 | obj25.CFrame = CFrame.new(Vector3.new(27.300005, 12.9074841, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) | |
345 | obj25.TopSurface = Enum.SurfaceType.Smooth | |
346 | obj25.Material = Enum.Material.Marble | |
347 | obj25.Size = Vector3.new(0.200000003, 1, 1) | |
348 | obj25.Anchored = true | |
349 | obj25.BrickColor = BrickColor.new("Maroon") | |
350 | obj25.Friction = 0.30000001192093 | |
351 | obj25.Name = "Wedge" | |
352 | obj25.Parent = obj1 | |
353 | ||
354 | -- 26 - Part | |
355 | local obj26 = Instance.new("Part") | |
356 | obj26.CFrame = CFrame.new(Vector3.new(17.7938519, 12.9070272, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0) | |
357 | obj26.TopSurface = Enum.SurfaceType.Smooth | |
358 | obj26.BottomSurface = Enum.SurfaceType.Smooth | |
359 | obj26.Material = Enum.Material.Marble | |
360 | obj26.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
361 | obj26.Anchored = true | |
362 | obj26.BrickColor = BrickColor.new("Maroon") | |
363 | obj26.Friction = 0.30000001192093 | |
364 | obj26.Shape = Enum.PartType.Block | |
365 | obj26.Parent = obj1 | |
366 | ||
367 | -- 27 - Part | |
368 | local obj27 = Instance.new("Part") | |
369 | obj27.CFrame = CFrame.new(Vector3.new(17.7979107, 12.9070272, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126) | |
370 | obj27.TopSurface = Enum.SurfaceType.Smooth | |
371 | obj27.BottomSurface = Enum.SurfaceType.Smooth | |
372 | obj27.Material = Enum.Material.Marble | |
373 | obj27.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
374 | obj27.Anchored = true | |
375 | obj27.BrickColor = BrickColor.new("Maroon") | |
376 | obj27.Friction = 0.30000001192093 | |
377 | obj27.Shape = Enum.PartType.Block | |
378 | obj27.Parent = obj1 | |
379 | ||
380 | -- 28 - Door2 | |
381 | local obj28 = Instance.new("Part") | |
382 | obj28.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 141.550003)) * CFrame.Angles(-0, 0, -0) | |
383 | obj28.Material = Enum.Material.Granite | |
384 | obj28.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014) | |
385 | obj28.Anchored = true | |
386 | obj28.BrickColor = BrickColor.new("Really black") | |
387 | obj28.Friction = 0.30000001192093 | |
388 | obj28.Shape = Enum.PartType.Block | |
389 | obj28.Name = "Door2" | |
390 | obj28.Parent = obj1 | |
391 | ||
392 | -- 29 - Wedge | |
393 | local obj29 = Instance.new("WedgePart") | |
394 | obj29.CFrame = CFrame.new(Vector3.new(27.2989597, 12.9074841, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0) | |
395 | obj29.TopSurface = Enum.SurfaceType.Smooth | |
396 | obj29.Material = Enum.Material.Marble | |
397 | obj29.Size = Vector3.new(0.200000003, 1, 1) | |
398 | obj29.Anchored = true | |
399 | obj29.BrickColor = BrickColor.new("Maroon") | |
400 | obj29.Friction = 0.30000001192093 | |
401 | obj29.Name = "Wedge" | |
402 | obj29.Parent = obj1 | |
403 | ||
404 | -- 30 - Wedge | |
405 | local obj30 = Instance.new("WedgePart") | |
406 | obj30.CFrame = CFrame.new(Vector3.new(27.2918797, 12.8000755, 152.600006)) * CFrame.Angles(-0, 0, 1.5707963705063) | |
407 | obj30.TopSurface = Enum.SurfaceType.Smooth | |
408 | obj30.Material = Enum.Material.Marble | |
409 | obj30.Size = Vector3.new(0.200000003, 1, 1) | |
410 | obj30.BottomSurface = Enum.SurfaceType.Smooth | |
411 | obj30.Anchored = true | |
412 | obj30.BrickColor = BrickColor.new("Really black") | |
413 | obj30.Friction = 0.30000001192093 | |
414 | obj30.Name = "Wedge" | |
415 | obj30.Parent = obj1 | |
416 | ||
417 | -- 31 - Part | |
418 | local obj31 = Instance.new("Part") | |
419 | obj31.CFrame = CFrame.new(Vector3.new(17.7939548, 12.8005333, 143.093857)) * CFrame.Angles(-3.1415927410126, 0.78539752960205, -0) | |
420 | obj31.TopSurface = Enum.SurfaceType.Smooth | |
421 | obj31.BottomSurface = Enum.SurfaceType.Smooth | |
422 | obj31.Material = Enum.Material.Marble | |
423 | obj31.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
424 | obj31.Anchored = true | |
425 | obj31.BrickColor = BrickColor.new("Really black") | |
426 | obj31.Friction = 0.30000001192093 | |
427 | obj31.Shape = Enum.PartType.Block | |
428 | obj31.Parent = obj1 | |
429 | ||
430 | -- 32 - Wedge | |
431 | local obj32 = Instance.new("WedgePart") | |
432 | obj32.CFrame = CFrame.new(Vector3.new(8.29290962, 12.8000755, 152.600037)) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0) | |
433 | obj32.TopSurface = Enum.SurfaceType.Smooth | |
434 | obj32.Material = Enum.Material.Marble | |
435 | obj32.Size = Vector3.new(0.200000003, 1, 1) | |
436 | obj32.Anchored = true | |
437 | obj32.BrickColor = BrickColor.new("Really black") | |
438 | obj32.Friction = 0.30000001192093 | |
439 | obj32.Name = "Wedge" | |
440 | obj32.Parent = obj1 | |
441 | ||
442 | -- 33 - Part | |
443 | local obj33 = Instance.new("Part") | |
444 | obj33.CFrame = CFrame.new(Vector3.new(17.7918682, 12.8075333, 143.100006)) * CFrame.Angles(-0, 0, -3.1415927410126) | |
445 | obj33.TopSurface = Enum.SurfaceType.Smooth | |
446 | obj33.BottomSurface = Enum.SurfaceType.Smooth | |
447 | obj33.Material = Enum.Material.Concrete | |
448 | obj33.Size = Vector3.new(20, 0.200000003, 20) | |
449 | obj33.Anchored = true | |
450 | obj33.BrickColor = BrickColor.new("Maroon") | |
451 | obj33.Friction = 0.30000001192093 | |
452 | obj33.Shape = Enum.PartType.Block | |
453 | obj33.Parent = obj1 | |
454 | ||
455 | -- 34 - Wedge | |
456 | local obj34 = Instance.new("WedgePart") | |
457 | obj34.CFrame = CFrame.new(Vector3.new(8.2918644, 12.8000755, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, -1.5707963705063) | |
458 | obj34.TopSurface = Enum.SurfaceType.Smooth | |
459 | obj34.Material = Enum.Material.Marble | |
460 | obj34.Size = Vector3.new(0.200000003, 1, 1) | |
461 | obj34.Anchored = true | |
462 | obj34.BrickColor = BrickColor.new("Really black") | |
463 | obj34.Friction = 0.30000001192093 | |
464 | obj34.Name = "Wedge" | |
465 | obj34.Parent = obj1 | |
466 | ||
467 | -- 35 - Part | |
468 | local obj35 = Instance.new("Part") | |
469 | obj35.CFrame = CFrame.new(Vector3.new(17.7980175, 12.8005333, 143.101028)) * CFrame.Angles(-0, 0.78539896011353, -3.1415927410126) | |
470 | obj35.TopSurface = Enum.SurfaceType.Smooth | |
471 | obj35.BottomSurface = Enum.SurfaceType.Smooth | |
472 | obj35.Material = Enum.Material.Marble | |
473 | obj35.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011) | |
474 | obj35.Anchored = true | |
475 | obj35.BrickColor = BrickColor.new("Really black") | |
476 | obj35.Friction = 0.30000001192093 | |
477 | obj35.Shape = Enum.PartType.Block | |
478 | obj35.Parent = obj1 | |
479 | ||
480 | -- 36 - Wedge | |
481 | local obj36 = Instance.new("WedgePart") | |
482 | obj36.CFrame = CFrame.new(Vector3.new(27.2929707, 12.8000755, 133.599976)) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0) | |
483 | obj36.TopSurface = Enum.SurfaceType.Smooth | |
484 | obj36.Material = Enum.Material.Marble | |
485 | obj36.Size = Vector3.new(0.200000003, 1, 1) | |
486 | obj36.BottomSurface = Enum.SurfaceType.Smooth | |
487 | obj36.Anchored = true | |
488 | obj36.BrickColor = BrickColor.new("Really black") | |
489 | obj36.Friction = 0.30000001192093 | |
490 | obj36.Name = "Wedge" | |
491 | obj36.Parent = obj1 | |
492 | ||
493 | -- 2 - HANDS | |
494 | local hand = Instance.new("Part") | |
495 | hand.CFrame = CFrame.new(Vector3.new(13.4999914, 4.49999952, 143.299988)) * CFrame.Angles(-1.570796251297, 0.84960347414017, -1.5707963705063) | |
496 | hand.FormFactor = Enum.FormFactor.Symmetric | |
497 | hand.TopSurface = Enum.SurfaceType.Weld | |
498 | hand.BottomSurface = Enum.SurfaceType.Weld | |
499 | hand.Material = Enum.Material.Neon | |
500 | hand.Size = Vector3.new(8, 9, 2) | |
501 | hand.Anchored = true | |
502 | hand.BrickColor = BrickColor.new("Really black") | |
503 | hand.Friction = 0.30000001192093 | |
504 | hand.Shape = Enum.PartType.Block | |
505 | hand.Name = "HANDS" | |
506 | hand.CanCollide = false | |
507 | hand.Parent = obj1 | |
508 | ||
509 | -- 3 - Mesh | |
510 | local handmesh = Instance.new("SpecialMesh") | |
511 | handmesh.MeshType = Enum.MeshType.FileMesh | |
512 | handmesh.Scale = Vector3.new(2, 2, 2) | |
513 | handmesh.MeshId = "http://www.roblox.com/asset/?id=32054761" | |
514 | handmesh.Parent = hand | |
515 | ||
516 | -- 4 - Realistic Stone Fist | |
517 | local fist = Instance.new("Part") | |
518 | fist.CFrame = CFrame.new(Vector3.new(3.50006008, 3.00004196, 143.000076)) * CFrame.Angles(-3.1415786743164, 1.8000484487857e-05, -1.5707963705063) | |
519 | fist.Transparency = 1 | |
520 | fist.Material = Enum.Material.Neon | |
521 | fist.Size = Vector3.new(6, 6, 6) | |
522 | fist.Anchored = true | |
523 | fist.CanCollide = false | |
524 | fist.BrickColor = BrickColor.new("Really black") | |
525 | fist.Friction = 0.30000001192093 | |
526 | fist.Shape = Enum.PartType.Block | |
527 | fist.Name = "Realistic Stone Fist" | |
528 | fist.Parent = obj1 | |
529 | ||
530 | -- 5 - Mesh | |
531 | local fistmesh = Instance.new("SpecialMesh") | |
532 | fistmesh.MeshType = Enum.MeshType.FileMesh | |
533 | fistmesh.Scale = Vector3.new(15, 15, 15) | |
534 | fistmesh.MeshId = "http://www.roblox.com/asset/?id=90718752" | |
535 | fistmesh.Parent = fist | |
536 | ||
537 | ||
538 | if plr.Character then | |
539 | function thatstuff() | |
540 | MoveSpawn(obj1,plr.Character) | |
541 | if plr.Character:FindFirstChild('Torso') and plr.Character:FindFirstChild('HumanoidRootPart') then | |
542 | plr.Character.Torso.Anchored = true | |
543 | elseif plr.Character:FindFirstChild('UpperTorso') and plr.Character:FindFirstChild('HumanoidRootPart') then | |
544 | plr.Character.UpperTorso.Anchored = true | |
545 | end | |
546 | local thing = Instance.new('Part',workspace) | |
547 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
548 | thing.Material = Enum.Material.Neon | |
549 | thing.BrickColor = BrickColor.new('Really red') | |
550 | local plrpos = nil | |
551 | thing.Anchored=true | |
552 | thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0) | |
553 | if plr.Character:FindFirstChildOfClass('Humanoid') then | |
554 | plr.Character:FindFirstChildOfClass('Humanoid').Name = "No Escape." | |
555 | plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0) | |
556 | end | |
557 | if plrpos then | |
558 | thing.CFrame = thing.CFrame - plrpos | |
559 | end | |
560 | local flame = Instance.new('ParticleEmitter',thing) | |
561 | flame.Texture = 'rbxassetid://743419909' | |
562 | flame.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))}) | |
563 | flame.LightEmission = 1 | |
564 | flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0,0)}) | |
565 | flame.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.137,0,0),NumberSequenceKeypoint.new(0.809,0.256,0),NumberSequenceKeypoint.new(1,1,0)}) | |
566 | flame.Lifetime = NumberRange.new(0.5,1) | |
567 | flame.Rate = 10000 | |
568 | flame.VelocityInheritance = 1 | |
569 | flame.VelocitySpread = 15 | |
570 | flame.Speed = NumberRange.new(10) | |
571 | for i=1,120 do | |
572 | if thing then | |
573 | thing.Size = thing.Size+Vector3.new(0.2,0,0.2) | |
574 | thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0) | |
575 | if plr.Character:FindFirstChildOfClass('Humanoid') then | |
576 | plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0) | |
577 | end | |
578 | if plrpos then | |
579 | thing.CFrame = thing.CFrame + Vector3.new(0,0.1,0) - plrpos | |
580 | end | |
581 | ||
582 | wait() | |
583 | end | |
584 | end | |
585 | for i=1,51 do | |
586 | MoveBy(obj1,Vector3.new(0,0.4,0)) | |
587 | wait() | |
588 | end | |
589 | local sound = Instance.new('Sound',obj21) | |
590 | sound.SoundId = 'rbxassetid://138169063' | |
591 | sound.Volume = 1 | |
592 | sound:Play() | |
593 | wait(1) | |
594 | for i=1,50 do | |
595 | MovePartBy(obj21,Vector3.new(0,0,0.1)) | |
596 | MovePartBy(obj28,Vector3.new(0,0,-0.1)) | |
597 | wait() | |
598 | end | |
599 | wait(0.5) | |
600 | for i=1,100 do | |
601 | MovePartBy(hand,Vector3.new(-0.1,0,0)) | |
602 | wait() | |
603 | end | |
604 | hand.Transparency = 1 | |
605 | fist.Transparency = 0 | |
606 | wait(0.5) | |
607 | for i=1,75 do | |
608 | MovePartBy(fist,Vector3.new(0.2,0,0)) | |
609 | if plr.Character:FindFirstChild('Torso') then | |
610 | MovePartBy(plr.Character.Torso,Vector3.new(0.2,0,0)) | |
611 | end | |
612 | wait() | |
613 | end | |
614 | local sound = Instance.new('Sound',obj21) | |
615 | sound.SoundId = 'rbxassetid://178555466' | |
616 | sound.Volume = 1 | |
617 | sound:Play() | |
618 | for i=1,50 do | |
619 | MovePartBy(obj21,Vector3.new(0,0,-0.1)) | |
620 | MovePartBy(obj28,Vector3.new(0,0,0.1)) | |
621 | wait() | |
622 | end | |
623 | for i=1,10 do | |
624 | fist.Transparency = i/10 | |
625 | wait() | |
626 | end | |
627 | wait(1) | |
628 | for i=1,51 do | |
629 | MoveBy(obj1,Vector3.new(0,-0.4,0)) | |
630 | if plr.Character:FindFirstChild('Torso') then | |
631 | MovePartBy(plr.Character.Torso,Vector3.new(0,-0.4,0)) | |
632 | end | |
633 | wait() | |
634 | end | |
635 | ToHell(obj1) | |
636 | if plr.Character:FindFirstChild('Torso') then | |
637 | plr.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(5000,5000,5000) | |
638 | plr.Character.Torso.Anchored = false | |
639 | end | |
640 | local cf = thing.CFrame | |
641 | for i=1,120 do | |
642 | if thing then | |
643 | thing.Size = thing.Size-Vector3.new(0.2,0,0.2) | |
644 | thing.CFrame = cf | |
645 | wait() | |
646 | end | |
647 | end | |
648 | if thing then | |
649 | thing:Destroy() | |
650 | end | |
651 | if plr.Character:FindFirstChildOfClass('Humanoid') then | |
652 | plr.Character:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
653 | end | |
654 | for i=1,100 do | |
655 | MovePartBy(obj33,Vector3.new(0,-0.1,0)) | |
656 | wait() | |
657 | end | |
658 | if plr.Character:FindFirstChildOfClass('Humanoid') then | |
659 | plr.Character:FindFirstChildOfClass('Humanoid').Health = 0 | |
660 | end | |
661 | for i=1,15 do | |
662 | MovePartBy(obj33,Vector3.new(0,-0.1,0)) | |
663 | wait() | |
664 | end | |
665 | wait(10) | |
666 | if obj1 then | |
667 | obj1:Destroy() | |
668 | end | |
669 | end | |
670 | local success, message = pcall(thatstuff) | |
671 | if success == false then | |
672 | print("An error occurred: "..message..". Removing the elevator for this player.") | |
673 | obj1:Destroy() | |
674 | end | |
675 | end | |
676 | ||
677 | ||
678 | end) | |
679 | coru() | |
680 | end--33 | |
681 | end | |
682 | TextBox.Text = "Enter Target's Name (Can be Shortened)" | |
683 | end) |