View difference between Paste ID: KUVdPsyx and fPb5vNwC
SHOW: | | - or go back to the newest paste.
1-
-- Objects
1+
if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
2
print("FE Compatibility: by WaverlyCole & Mokiros")
3
InternalData = {}
4
do
5
    script.Parent = owner.Character
6
    local Event = Instance.new("RemoteEvent")
7
    Event.Name = "UserInput"
8
    local function NewFakeEvent()
9
        local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
10
        return Fake
11
    end
12
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
13
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
14
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
15-
			print('thefuck')
15+
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
16
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
17
    local function TriggerEvent(self,Event,...)
18
        local Trigger = Mouse[Event]
19
        if Trigger and Trigger.fakeEvent and Trigger.Function then
20
            Trigger.Function(...)
21
        end
22
    end
23
    Mouse.TrigEvent = TriggerEvent
24
    UserInputService.TrigEvent = TriggerEvent
25
    Event.OnServerEvent:Connect(function(FiredBy,Input)
26
        if FiredBy.Name ~= owner.Name then end
27
        if Input.MouseEvent then
28
            Mouse.Target = Input.Target
29
            Mouse.Hit = Input.Hit
30
        else
31
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
32
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then
33
                return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
34
            end
35
            for _,Action in pairs(ContextActionService.Actions) do
36
                for _,Key in pairs(Action.Keys) do
37
                    if Key==Input.KeyCode then
38
                        Action.Function(Action.Name,Input.UserInputState,Input)
39
                    end
40
                end
41
            end
42
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
43
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
44
        end
45
    end)
46
    InternalData["Mouse"] = Mouse
47
    InternalData["ContextActionService"] = ContextActionService
48
    InternalData["UserInputService"] = UserInputService
49
    Event.Parent = NLS([[
50
        local Player = owner
51
        local Event = script:WaitForChild("UserInput")
52
        local UserInputService = game:GetService("UserInputService")
53
        local Mouse = Player:GetMouse()
54
        local Input = function(Input,gameProcessedEvent)
55
            if gameProcessedEvent then return end
56
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
57
        end
58
        UserInputService.InputBegan:Connect(Input)
59
        UserInputService.InputEnded:Connect(Input)
60
        local Hit,Target
61
        while wait(1/30) do
62
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
63
                Hit,Target = Mouse.Hit,Mouse.Target
64
                Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
65
            end
66
        end
67
    ]],owner.Character)
68
end
69
RealGame = game;game = setmetatable({},{
70
    __index = function (self,Index)
71
        local Sandbox = function (Thing)
72
            if Thing:IsA("Player") then
73
                local RealPlayer = Thing
74
                return setmetatable({},{
75
                    __index = function (self,Index)
76
                        local Type = type(RealPlayer[Index])
77
                        if Type == "function" then
78
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
79
                                return function (self)
80
                                    return InternalData["Mouse"]
81
                                end
82
                            end
83
                            return function (self,...)
84
                                return RealPlayer[Index](RealPlayer,...)
85
                            end
86
                        else
87
                            if Index == "PlrObj" then
88
                                return RealPlayer
89
                            end
90
                            return RealPlayer[Index]
91
                        end
92
                    end;
93
                    __tostring = function(self)
94
                        return RealPlayer.Name
95
                    end
96
                })
97
            end
98
        end
99
        if RealGame[Index] then
100
            local Type = type(RealGame[Index])
101
            if Type == "function" then
102
                if Index:lower() == "getservice" or Index:lower() == "service" then
103
                    return function (self,Service)
104
                        if Service:lower() == "players" then
105
                            return setmetatable({},{
106
                                __index = function (self2,Index2)
107
                                    local RealService = RealGame:GetService(Service)
108
                                    local Type2 = type(Index2)
109
                                    if Type2 == "function" then
110
                                        return function (self,...)
111
                                            return RealService[Index2](RealService,...)
112
                                        end
113
                                    else
114
                                        if Index2:lower() == "localplayer" then
115
                                            return Sandbox(owner)
116
                                        end
117
                                        return RealService[Index2]
118
                                    end
119
                                end;
120
                                __tostring = function(self)
121
                                    return RealGame:GetService(Service).Name
122
                                end
123
                            })
124
                        elseif Service:lower() == "contextactionservice" then
125
                            return InternalData["ContextActionService"]
126
                        elseif Service:lower() == "contextactionservice" then
127
                            return InternalData["UserInputService"]
128
                        elseif Service:lower() == "runservice" then
129
                            return setmetatable({},{
130
                                __index = function(self2,Index2)
131
                                    local RealService = RealGame:GetService(Service)
132
                                    local Type2 = type(Index2)
133
                                    if Type2 == "function" then
134
                                        return function (self,...)
135
                                            return RealService[Index2](RealService,...)
136
                                        end
137
                                    else
138
                                        if Index2:lower() == "bindtorenderstep" then
139
                                            return function (self,Name,Priority,Function)
140
                                                return RealGame:GetService("RunService").Stepped:Connect(Function)
141
                                            end
142
                                        end
143
                                        if Index2:lower() == "renderstepped" then
144
                                            return RealService["Stepped"]
145
                                        end
146
                                        return RealService[Index2]
147
                                    end
148
                                end
149
                            })
150
                        else
151
                            return RealGame:GetService(Service)
152
                        end
153
                    end
154
                end
155
                return function (self,...)
156
                    return RealGame[Index](RealGame,...)
157
                end
158
            else
159
                if game:GetService(Index) then
160
                    return game:GetService(Index)
161
                end
162
                return RealGame[Index]
163
            end
164
        else
165
            return nil
166
        end
167
    end
168
});Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
169
print("Complete! Running...")
170
171
local ScreenGui = Instance.new("ScreenGui")
172
local TextBox = Instance.new("TextBox")
173
174
175
function MoveSpawn(obj1,PLAYER)
176
	local playerpos = nil
177
	if PLAYER:FindFirstChildOfClass('Humanoid') and PLAYER:FindFirstChild('HumanoidRootPart') then
178
		playerpos = PLAYER.HumanoidRootPart.Position - Vector3.new(0,PLAYER:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
179
	end
180
	print(playerpos)
181
	for _,part in pairs (obj1:GetChildren()) do
182
		if part:IsA('BasePart') and playerpos then
183
			print('Nani')
184
			print(playerpos)
185
			part.CFrame = part.CFrame + playerpos + Vector3.new(-2.6,-20,-143)
186
		end
187
	end
188
end
189
190
function ToHell(obj1)
191
	for i,v in pairs(obj1:GetChildren()) do
192
		v.CFrame = v.CFrame+Vector3.new(5000,5000,5000)
193
	end
194
end
195
196
function MoveBy(obj1,AMNT)
197
	for i,v in pairs(obj1:GetChildren()) do
198
		if v:IsA('BasePart') then
199
			v.CFrame = v.CFrame + AMNT
200
		end
201
	end
202
end
203
204
function MovePartBy(part,AMNT)
205
	part.CFrame = part.CFrame+AMNT
206
end
207
208
-- Properties
209
210
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
211
ScreenGui.ResetOnSpawn = false
212
213
TextBox.Parent = ScreenGui
214
TextBox.AnchorPoint = Vector2.new(0.5, 0.5)
215
TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
216
TextBox.BorderColor3 = Color3.new(0.47451, 0, 0)
217
TextBox.BorderSizePixel = 5
218
TextBox.Position = UDim2.new(0.5, 0, 0.949999988, 0)
219
TextBox.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
220
TextBox.Font = Enum.Font.SourceSans
221
TextBox.FontSize = Enum.FontSize.Size14
222
TextBox.Text = "Enter Target's Name (Can be Shortened)"
223
TextBox.TextColor3 = Color3.new(0.47451, 0, 0)
224
TextBox.TextScaled = true
225
TextBox.TextSize = 14
226
TextBox.TextWrapped = true
227
228
TextBox.FocusLost:connect(function()
229
for i,v in pairs(game.Players:GetChildren()) do
230
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
231
local coru = coroutine.wrap(function()
232
print('elevatoring '..v.Name)
233
local plr = v
234
-- 1 - Model
235
local obj1 = Instance.new("Model")
236
obj1.Parent = workspace
237
238
-- 2 - Part
239
local obj2 = Instance.new("Part")
240
obj2.CFrame = CFrame.new(Vector3.new(7.60000801, 8.2000227, 143.099991)) * CFrame.Angles(-0, 0, -0)
241
obj2.Material = Enum.Material.Neon
242
obj2.Size = Vector3.new(0.400000006, 0.200000003, 6.5999999)
243
obj2.Anchored = true
244
obj2.BrickColor = BrickColor.new("Maroon")
245
obj2.Friction = 0.30000001192093
246
obj2.Shape = Enum.PartType.Block
247
obj2.Parent = obj1
248
249
-- 3 - Part
250
local obj3 = Instance.new("Part")
251
obj3.CFrame = CFrame.new(Vector3.new(17.550005, 2.40002203, 152.699997)) * CFrame.Angles(-0, 0, -0)
252
obj3.Material = Enum.Material.Foil
253
obj3.Size = Vector3.new(19.4999981, 0.200000003, 0.200000003)
254
obj3.Anchored = true
255
obj3.BrickColor = BrickColor.new("Really black")
256
obj3.Friction = 0.30000001192093
257
obj3.Shape = Enum.PartType.Block
258
obj3.Parent = obj1
259
260
-- 4 - Wedge
261
local obj4 = Instance.new("WedgePart")
262
obj4.CFrame = CFrame.new(Vector3.new(27.300005, 0.107478142, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
263
obj4.TopSurface = Enum.SurfaceType.Smooth
264
obj4.Material = Enum.Material.Marble
265
obj4.Size = Vector3.new(0.200000003, 1, 1)
266
obj4.Anchored = true
267
obj4.BrickColor = BrickColor.new("Maroon")
268
obj4.Friction = 0.30000001192093
269
obj4.Name = "Wedge"
270
obj4.Parent = obj1
271
272
-- 5 - Part
273
local obj5 = Instance.new("Part")
274
obj5.CFrame = CFrame.new(Vector3.new(17.7938519, 0.107021809, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
275
obj5.TopSurface = Enum.SurfaceType.Smooth
276
obj5.BottomSurface = Enum.SurfaceType.Smooth
277
obj5.Material = Enum.Material.Marble
278
obj5.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
279
obj5.Anchored = true
280
obj5.BrickColor = BrickColor.new("Maroon")
281
obj5.Friction = 0.30000001192093
282
obj5.Shape = Enum.PartType.Block
283
obj5.Parent = obj1
284
285
-- 6 - Part
286
local obj6 = Instance.new("Part")
287
obj6.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 149.850006)) * CFrame.Angles(0, 1.5707963705063, 0)
288
obj6.Material = Enum.Material.Cobblestone
289
obj6.Size = Vector3.new(6.90000153, 13, 0.400000006)
290
obj6.Anchored = true
291
obj6.BrickColor = BrickColor.new("Maroon")
292
obj6.Friction = 0.30000001192093
293
obj6.Shape = Enum.PartType.Block
294
obj6.Parent = obj1
295
296
-- 7 - Part
297
local obj7 = Instance.new("Part")
298
obj7.CFrame = CFrame.new(Vector3.new(27.4000034, 2.40002203, 143.199997)) * CFrame.Angles(-0, 0, -0)
299
obj7.Material = Enum.Material.Foil
300
obj7.Size = Vector3.new(0.200000003, 0.200000003, 19.2000008)
301
obj7.Anchored = true
302
obj7.BrickColor = BrickColor.new("Really black")
303
obj7.Friction = 0.30000001192093
304
obj7.Shape = Enum.PartType.Block
305
obj7.Parent = obj1
306
307
-- 8 - Part
308
local obj8 = Instance.new("Part")
309
obj8.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 153.199997)) * CFrame.Angles(-0, 0, -0)
310
obj8.Material = Enum.Material.Cobblestone
311
obj8.Size = Vector3.new(20, 13, 0.200000003)
312
obj8.Anchored = true
313
obj8.BrickColor = BrickColor.new("Maroon")
314
obj8.Friction = 0.30000001192093
315
obj8.Shape = Enum.PartType.Block
316
obj8.Parent = obj1
317
318
-- 9 - Part
319
local obj9 = Instance.new("Part")
320
obj9.CFrame = CFrame.new(Vector3.new(7.6000042, 4.05002213, 139.899994)) * CFrame.Angles(-0, 0, -0)
321
obj9.Material = Enum.Material.Neon
322
obj9.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
323
obj9.Anchored = true
324
obj9.BrickColor = BrickColor.new("Maroon")
325
obj9.Friction = 0.30000001192093
326
obj9.Shape = Enum.PartType.Block
327
obj9.Parent = obj1
328
329
-- 10 - Part
330
local obj10 = Instance.new("Part")
331
obj10.CFrame = CFrame.new(Vector3.new(17.8000011, 0.100021839, 143.100006)) * CFrame.Angles(-0, 0, -0)
332
obj10.TopSurface = Enum.SurfaceType.Smooth
333
obj10.BottomSurface = Enum.SurfaceType.Smooth
334
obj10.Material = Enum.Material.Wood
335
obj10.Size = Vector3.new(20, 0.200000003, 20)
336
obj10.Anchored = true
337
obj10.BrickColor = BrickColor.new("Black")
338
obj10.Friction = 0.30000001192093
339
obj10.Shape = Enum.PartType.Block
340
obj10.Parent = obj1
341
342
-- 11 - Wedge
343
local obj11 = Instance.new("WedgePart")
344
obj11.CFrame = CFrame.new(Vector3.new(8.2999897, 0.107478142, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
345
obj11.TopSurface = Enum.SurfaceType.Smooth
346
obj11.Material = Enum.Material.Marble
347
obj11.Size = Vector3.new(0.200000003, 1, 1)
348
obj11.BottomSurface = Enum.SurfaceType.Smooth
349
obj11.Anchored = true
350
obj11.BrickColor = BrickColor.new("Maroon")
351
obj11.Friction = 0.30000001192093
352
obj11.Name = "Wedge"
353
obj11.Parent = obj1
354
355
-- 12 - Wedge
356
local obj12 = Instance.new("WedgePart")
357
obj12.CFrame = CFrame.new(Vector3.new(8.2988987, 0.107478142, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
358
obj12.TopSurface = Enum.SurfaceType.Smooth
359
obj12.Material = Enum.Material.Marble
360
obj12.Size = Vector3.new(0.200000003, 1, 1)
361
obj12.BottomSurface = Enum.SurfaceType.Smooth
362
obj12.Anchored = true
363
obj12.BrickColor = BrickColor.new("Maroon")
364
obj12.Friction = 0.30000001192093
365
obj12.Name = "Wedge"
366
obj12.Parent = obj1
367
368
-- 13 - Part
369
local obj13 = Instance.new("Part")
370
obj13.CFrame = CFrame.new(Vector3.new(17.7979107, 0.107021809, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
371
obj13.TopSurface = Enum.SurfaceType.Smooth
372
obj13.BottomSurface = Enum.SurfaceType.Smooth
373
obj13.Material = Enum.Material.Marble
374
obj13.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
375
obj13.Anchored = true
376
obj13.BrickColor = BrickColor.new("Maroon")
377
obj13.Friction = 0.30000001192093
378
obj13.Shape = Enum.PartType.Block
379
obj13.Parent = obj1
380
381
-- 14 - Wedge
382
local obj14 = Instance.new("WedgePart")
383
obj14.CFrame = CFrame.new(Vector3.new(27.2989597, 0.107478142, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
384
obj14.TopSurface = Enum.SurfaceType.Smooth
385
obj14.Material = Enum.Material.Marble
386
obj14.Size = Vector3.new(0.200000003, 1, 1)
387
obj14.Anchored = true
388
obj14.BrickColor = BrickColor.new("Maroon")
389
obj14.Friction = 0.30000001192093
390
obj14.Name = "Wedge"
391
obj14.Parent = obj1
392
393
-- 15 - Part
394
local obj15 = Instance.new("Part")
395
obj15.CFrame = CFrame.new(Vector3.new(27.8999996, 6.50002193, 143.100006)) * CFrame.Angles(0, 1.5707963705063, 0)
396
obj15.Material = Enum.Material.Cobblestone
397
obj15.Size = Vector3.new(20.4000015, 13, 0.200000003)
398
obj15.Anchored = true
399
obj15.BrickColor = BrickColor.new("Maroon")
400
obj15.Friction = 0.30000001192093
401
obj15.Shape = Enum.PartType.Block
402
obj15.Parent = obj1
403
404
-- 16 - Part
405
local obj16 = Instance.new("Part")
406
obj16.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 146.299988)) * CFrame.Angles(-0, 0, -0)
407
obj16.Material = Enum.Material.Neon
408
obj16.Size = Vector3.new(0.400000006, 8.10000038, 0.200000003)
409
obj16.Anchored = true
410
obj16.BrickColor = BrickColor.new("Maroon")
411
obj16.Friction = 0.30000001192093
412
obj16.Shape = Enum.PartType.Block
413
obj16.Parent = obj1
414
415
-- 17 - Part
416
local obj17 = Instance.new("Part")
417
obj17.CFrame = CFrame.new(Vector3.new(17.8000011, 6.50002193, 133)) * CFrame.Angles(-0, 0, -0)
418
obj17.Material = Enum.Material.Cobblestone
419
obj17.Size = Vector3.new(20, 13, 0.200000003)
420
obj17.Anchored = true
421
obj17.BrickColor = BrickColor.new("Maroon")
422
obj17.Friction = 0.30000001192093
423
obj17.Shape = Enum.PartType.Block
424
obj17.Parent = obj1
425
426
-- 18 - Part
427
local obj18 = Instance.new("Part")
428
obj18.CFrame = CFrame.new(Vector3.new(7.6000042, 6.50002193, 136.350006)) * CFrame.Angles(0, 1.5707963705063, 0)
429
obj18.Material = Enum.Material.Cobblestone
430
obj18.Size = Vector3.new(6.90000153, 13, 0.400000006)
431
obj18.Anchored = true
432
obj18.BrickColor = BrickColor.new("Maroon")
433
obj18.Friction = 0.30000001192093
434
obj18.Shape = Enum.PartType.Block
435
obj18.Parent = obj1
436
437
-- 19 - Part
438
local obj19 = Instance.new("Part")
439
obj19.CFrame = CFrame.new(Vector3.new(7.6000042, 10.6500206, 143.099991)) * CFrame.Angles(0, 1.5707963705063, 0)
440
obj19.Material = Enum.Material.Cobblestone
441
obj19.Size = Vector3.new(6.60000181, 4.69999981, 0.400000006)
442
obj19.Anchored = true
443
obj19.BrickColor = BrickColor.new("Maroon")
444
obj19.Friction = 0.30000001192093
445
obj19.Shape = Enum.PartType.Block
446
obj19.Parent = obj1
447
448
-- 20 - Part
449
local obj20 = Instance.new("Part")
450
obj20.CFrame = CFrame.new(Vector3.new(17.6500034, 2.40002203, 133.5)) * CFrame.Angles(-0, 0, -0)
451
obj20.Material = Enum.Material.Foil
452
obj20.Size = Vector3.new(19.7000008, 0.200000003, 0.200000003)
453
obj20.Anchored = true
454
obj20.BrickColor = BrickColor.new("Really black")
455
obj20.Friction = 0.30000001192093
456
obj20.Shape = Enum.PartType.Block
457
obj20.Parent = obj1
458
459
-- 21 - Door1
460
local obj21 = Instance.new("Part")
461
obj21.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 144.649994)) * CFrame.Angles(-0, 0, -0)
462
obj21.Material = Enum.Material.Granite
463
obj21.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
464
obj21.Anchored = true
465
obj21.BrickColor = BrickColor.new("Really black")
466
obj21.Friction = 0.30000001192093
467
obj21.Shape = Enum.PartType.Block
468
obj21.Name = "Door1"
469
obj21.Parent = obj1
470
471
-- 22 - Part
472
local obj22 = Instance.new("Part")
473
obj22.CFrame = CFrame.new(Vector3.new(17.8000011, 12.9000273, 143.100006)) * CFrame.Angles(-0, 0, -0)
474
obj22.TopSurface = Enum.SurfaceType.Smooth
475
obj22.BottomSurface = Enum.SurfaceType.Smooth
476
obj22.Material = Enum.Material.Wood
477
obj22.Size = Vector3.new(20, 0.200000003, 20)
478
obj22.Anchored = true
479
obj22.BrickColor = BrickColor.new("Black")
480
obj22.Friction = 0.30000001192093
481
obj22.Shape = Enum.PartType.Block
482
obj22.Parent = obj1
483
484
-- 23 - Wedge
485
local obj23 = Instance.new("WedgePart")
486
obj23.CFrame = CFrame.new(Vector3.new(8.2999897, 12.9074841, 152.600006)) * CFrame.Angles(-0, 0, -1.5707963705063)
487
obj23.TopSurface = Enum.SurfaceType.Smooth
488
obj23.Material = Enum.Material.Marble
489
obj23.Size = Vector3.new(0.200000003, 1, 1)
490
obj23.BottomSurface = Enum.SurfaceType.Smooth
491
obj23.Anchored = true
492
obj23.BrickColor = BrickColor.new("Maroon")
493
obj23.Friction = 0.30000001192093
494
obj23.Name = "Wedge"
495
obj23.Parent = obj1
496
497
-- 24 - Wedge
498
local obj24 = Instance.new("WedgePart")
499
obj24.CFrame = CFrame.new(Vector3.new(8.2988987, 12.9074841, 133.599976)) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
500
obj24.TopSurface = Enum.SurfaceType.Smooth
501
obj24.Material = Enum.Material.Marble
502
obj24.Size = Vector3.new(0.200000003, 1, 1)
503
obj24.BottomSurface = Enum.SurfaceType.Smooth
504
obj24.Anchored = true
505
obj24.BrickColor = BrickColor.new("Maroon")
506
obj24.Friction = 0.30000001192093
507
obj24.Name = "Wedge"
508
obj24.Parent = obj1
509
510
-- 25 - Wedge
511
local obj25 = Instance.new("WedgePart")
512
obj25.CFrame = CFrame.new(Vector3.new(27.300005, 12.9074841, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
513
obj25.TopSurface = Enum.SurfaceType.Smooth
514
obj25.Material = Enum.Material.Marble
515
obj25.Size = Vector3.new(0.200000003, 1, 1)
516
obj25.Anchored = true
517
obj25.BrickColor = BrickColor.new("Maroon")
518
obj25.Friction = 0.30000001192093
519
obj25.Name = "Wedge"
520
obj25.Parent = obj1
521
522
-- 26 - Part
523
local obj26 = Instance.new("Part")
524
obj26.CFrame = CFrame.new(Vector3.new(17.7938519, 12.9070272, 143.101028)) * CFrame.Angles(-0, -0.78539991378784, -0)
525
obj26.TopSurface = Enum.SurfaceType.Smooth
526
obj26.BottomSurface = Enum.SurfaceType.Smooth
527
obj26.Material = Enum.Material.Marble
528
obj26.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
529
obj26.Anchored = true
530
obj26.BrickColor = BrickColor.new("Maroon")
531
obj26.Friction = 0.30000001192093
532
obj26.Shape = Enum.PartType.Block
533
obj26.Parent = obj1
534
535
-- 27 - Part
536
local obj27 = Instance.new("Part")
537
obj27.CFrame = CFrame.new(Vector3.new(17.7979107, 12.9070272, 143.093857)) * CFrame.Angles(-3.1415927410126, -0.78540050983429, -3.1415927410126)
538
obj27.TopSurface = Enum.SurfaceType.Smooth
539
obj27.BottomSurface = Enum.SurfaceType.Smooth
540
obj27.Material = Enum.Material.Marble
541
obj27.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
542
obj27.Anchored = true
543
obj27.BrickColor = BrickColor.new("Maroon")
544
obj27.Friction = 0.30000001192093
545
obj27.Shape = Enum.PartType.Block
546
obj27.Parent = obj1
547
548
-- 28 - Door2
549
local obj28 = Instance.new("Part")
550
obj28.CFrame = CFrame.new(Vector3.new(7.60000038, 4.05002213, 141.550003)) * CFrame.Angles(-0, 0, -0)
551
obj28.Material = Enum.Material.Granite
552
obj28.Size = Vector3.new(0.200000003, 8.10000038, 3.10000014)
553
obj28.Anchored = true
554
obj28.BrickColor = BrickColor.new("Really black")
555
obj28.Friction = 0.30000001192093
556
obj28.Shape = Enum.PartType.Block
557
obj28.Name = "Door2"
558
obj28.Parent = obj1
559
560
-- 29 - Wedge
561
local obj29 = Instance.new("WedgePart")
562
obj29.CFrame = CFrame.new(Vector3.new(27.2989597, 12.9074841, 152.600037)) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
563
obj29.TopSurface = Enum.SurfaceType.Smooth
564
obj29.Material = Enum.Material.Marble
565
obj29.Size = Vector3.new(0.200000003, 1, 1)
566
obj29.Anchored = true
567
obj29.BrickColor = BrickColor.new("Maroon")
568
obj29.Friction = 0.30000001192093
569
obj29.Name = "Wedge"
570
obj29.Parent = obj1
571
572
-- 30 - Wedge
573
local obj30 = Instance.new("WedgePart")
574
obj30.CFrame = CFrame.new(Vector3.new(27.2918797, 12.8000755, 152.600006)) * CFrame.Angles(-0, 0, 1.5707963705063)
575
obj30.TopSurface = Enum.SurfaceType.Smooth
576
obj30.Material = Enum.Material.Marble
577
obj30.Size = Vector3.new(0.200000003, 1, 1)
578
obj30.BottomSurface = Enum.SurfaceType.Smooth
579
obj30.Anchored = true
580
obj30.BrickColor = BrickColor.new("Really black")
581
obj30.Friction = 0.30000001192093
582
obj30.Name = "Wedge"
583
obj30.Parent = obj1
584
585
-- 31 - Part
586
local obj31 = Instance.new("Part")
587
obj31.CFrame = CFrame.new(Vector3.new(17.7939548, 12.8005333, 143.093857)) * CFrame.Angles(-3.1415927410126, 0.78539752960205, -0)
588
obj31.TopSurface = Enum.SurfaceType.Smooth
589
obj31.BottomSurface = Enum.SurfaceType.Smooth
590
obj31.Material = Enum.Material.Marble
591
obj31.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
592
obj31.Anchored = true
593
obj31.BrickColor = BrickColor.new("Really black")
594
obj31.Friction = 0.30000001192093
595
obj31.Shape = Enum.PartType.Block
596
obj31.Parent = obj1
597
598
-- 32 - Wedge
599
local obj32 = Instance.new("WedgePart")
600
obj32.CFrame = CFrame.new(Vector3.new(8.29290962, 12.8000755, 152.600037)) * CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
601
obj32.TopSurface = Enum.SurfaceType.Smooth
602
obj32.Material = Enum.Material.Marble
603
obj32.Size = Vector3.new(0.200000003, 1, 1)
604
obj32.Anchored = true
605
obj32.BrickColor = BrickColor.new("Really black")
606
obj32.Friction = 0.30000001192093
607
obj32.Name = "Wedge"
608
obj32.Parent = obj1
609
610
-- 33 - Part
611
local obj33 = Instance.new("Part")
612
obj33.CFrame = CFrame.new(Vector3.new(17.7918682, 12.8075333, 143.100006)) * CFrame.Angles(-0, 0, -3.1415927410126)
613
obj33.TopSurface = Enum.SurfaceType.Smooth
614
obj33.BottomSurface = Enum.SurfaceType.Smooth
615
obj33.Material = Enum.Material.Concrete
616
obj33.Size = Vector3.new(20, 0.200000003, 20)
617
obj33.Anchored = true
618
obj33.BrickColor = BrickColor.new("Maroon")
619
obj33.Friction = 0.30000001192093
620
obj33.Shape = Enum.PartType.Block
621
obj33.Parent = obj1
622
623
-- 34 - Wedge
624
local obj34 = Instance.new("WedgePart")
625
obj34.CFrame = CFrame.new(Vector3.new(8.2918644, 12.8000755, 133.599991)) * CFrame.Angles(-3.1415927410126, 0, -1.5707963705063)
626
obj34.TopSurface = Enum.SurfaceType.Smooth
627
obj34.Material = Enum.Material.Marble
628
obj34.Size = Vector3.new(0.200000003, 1, 1)
629
obj34.Anchored = true
630
obj34.BrickColor = BrickColor.new("Really black")
631
obj34.Friction = 0.30000001192093
632
obj34.Name = "Wedge"
633
obj34.Parent = obj1
634
635
-- 35 - Part
636
local obj35 = Instance.new("Part")
637
obj35.CFrame = CFrame.new(Vector3.new(17.7980175, 12.8005333, 143.101028)) * CFrame.Angles(-0, 0.78539896011353, -3.1415927410126)
638
obj35.TopSurface = Enum.SurfaceType.Smooth
639
obj35.BottomSurface = Enum.SurfaceType.Smooth
640
obj35.Material = Enum.Material.Marble
641
obj35.Size = Vector3.new(1.40999985, 0.200000003, 26.8800011)
642
obj35.Anchored = true
643
obj35.BrickColor = BrickColor.new("Really black")
644
obj35.Friction = 0.30000001192093
645
obj35.Shape = Enum.PartType.Block
646
obj35.Parent = obj1
647
648
-- 36 - Wedge
649
local obj36 = Instance.new("WedgePart")
650
obj36.CFrame = CFrame.new(Vector3.new(27.2929707, 12.8000755, 133.599976)) * CFrame.Angles(1.5707963705063, 1.5707963705063, 0)
651
obj36.TopSurface = Enum.SurfaceType.Smooth
652
obj36.Material = Enum.Material.Marble
653
obj36.Size = Vector3.new(0.200000003, 1, 1)
654
obj36.BottomSurface = Enum.SurfaceType.Smooth
655
obj36.Anchored = true
656
obj36.BrickColor = BrickColor.new("Really black")
657
obj36.Friction = 0.30000001192093
658
obj36.Name = "Wedge"
659
obj36.Parent = obj1
660
661
-- 2 - HANDS
662
local hand = Instance.new("Part")
663
hand.CFrame = CFrame.new(Vector3.new(13.4999914, 4.49999952, 143.299988)) * CFrame.Angles(-1.570796251297, 0.84960347414017, -1.5707963705063)
664
hand.FormFactor = Enum.FormFactor.Symmetric
665
hand.TopSurface = Enum.SurfaceType.Weld
666
hand.BottomSurface = Enum.SurfaceType.Weld
667
hand.Material = Enum.Material.Neon
668
hand.Size = Vector3.new(8, 9, 2)
669
hand.Anchored = true
670
hand.BrickColor = BrickColor.new("Really black")
671
hand.Friction = 0.30000001192093
672
hand.Shape = Enum.PartType.Block
673
hand.Name = "HANDS"
674
hand.CanCollide = false
675
hand.Parent = obj1
676
677
-- 3 - Mesh
678
local handmesh = Instance.new("SpecialMesh")
679
handmesh.MeshType = Enum.MeshType.FileMesh
680
handmesh.Scale = Vector3.new(2, 2, 2)
681
handmesh.MeshId = "http://www.roblox.com/asset/?id=32054761"
682
handmesh.Parent = hand
683
684
-- 4 - Realistic Stone Fist
685
local fist = Instance.new("Part")
686
fist.CFrame = CFrame.new(Vector3.new(3.50006008, 3.00004196, 143.000076)) * CFrame.Angles(-3.1415786743164, 1.8000484487857e-05, -1.5707963705063)
687
fist.Transparency = 1
688
fist.Material = Enum.Material.Neon
689
fist.Size = Vector3.new(6, 6, 6)
690
fist.Anchored = true
691
fist.CanCollide = false
692
fist.BrickColor = BrickColor.new("Really black")
693
fist.Friction = 0.30000001192093
694
fist.Shape = Enum.PartType.Block
695
fist.Name = "Realistic Stone Fist"
696
fist.Parent = obj1
697
698
-- 5 - Mesh
699
local fistmesh = Instance.new("SpecialMesh")
700
fistmesh.MeshType = Enum.MeshType.FileMesh
701
fistmesh.Scale = Vector3.new(15, 15, 15)
702
fistmesh.MeshId = "http://www.roblox.com/asset/?id=90718752"
703
fistmesh.Parent = fist
704
705
706
if plr.Character then
707
	function thatstuff()
708
	MoveSpawn(obj1,plr.Character)
709
	if plr.Character:FindFirstChild('Torso') and plr.Character:FindFirstChild('HumanoidRootPart') then
710
		plr.Character.Torso.Anchored = true
711
	elseif plr.Character:FindFirstChild('UpperTorso') and plr.Character:FindFirstChild('HumanoidRootPart') then
712
		plr.Character.UpperTorso.Anchored = true
713
	end
714
	local thing = Instance.new('Part',workspace)
715
	thing.Size = Vector3.new(0.2,0.2,0.2)
716
	thing.Material = Enum.Material.Neon
717
	thing.BrickColor = BrickColor.new('Really red')
718
	local plrpos = nil
719
	thing.Anchored=true
720
	thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
721
	if plr.Character:FindFirstChildOfClass('Humanoid') then
722
		plr.Character:FindFirstChildOfClass('Humanoid').Name = "No Escape."
723
		plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
724
	end
725
	if plrpos then
726
		thing.CFrame = thing.CFrame - plrpos
727
	end
728
	local flame = Instance.new('ParticleEmitter',thing)
729
	flame.Texture = 'rbxassetid://743419909'
730
	flame.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,0))})
731
	flame.LightEmission = 1
732
	flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
733
	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)})
734
	flame.Lifetime = NumberRange.new(0.5,1)
735
	flame.Rate = 10000
736
	flame.VelocityInheritance = 1
737
	flame.VelocitySpread = 15
738
	flame.Speed = NumberRange.new(10)
739
	for i=1,120 do
740
		if thing then
741
			thing.Size = thing.Size+Vector3.new(0.2,0,0.2)
742
			thing.CFrame = CFrame.new(plr.Character.HumanoidRootPart.Position) + Vector3.new(15,0,0)
743
			if plr.Character:FindFirstChildOfClass('Humanoid') then
744
				plrpos = Vector3.new(0,plr.Character:FindFirstChildOfClass('Humanoid').HipHeight+3,0)
745
			end
746
			if plrpos then
747
				thing.CFrame = thing.CFrame + Vector3.new(0,0.1,0) - plrpos
748
			end
749
			
750
			wait()
751
		end
752
	end
753
	for i=1,51 do
754
		MoveBy(obj1,Vector3.new(0,0.4,0))
755
		wait()
756
	end
757
	local sound = Instance.new('Sound',obj21)
758
	sound.SoundId = 'rbxassetid://138169063'
759
	sound.Volume = 1
760
	sound:Play()
761
	wait(1)
762
	for i=1,50 do
763
		MovePartBy(obj21,Vector3.new(0,0,0.1))
764
		MovePartBy(obj28,Vector3.new(0,0,-0.1))
765
		wait()
766
	end
767
	wait(0.5)
768
	for i=1,100 do
769
		MovePartBy(hand,Vector3.new(-0.1,0,0))
770
		wait()
771
	end
772
	hand.Transparency = 1
773
	fist.Transparency = 0
774
	wait(0.5)
775
	for i=1,75 do
776
		MovePartBy(fist,Vector3.new(0.2,0,0))
777
		if plr.Character:FindFirstChild('Torso') then
778
			MovePartBy(plr.Character.Torso,Vector3.new(0.2,0,0))
779
		end
780
		wait()
781
	end
782
	local sound = Instance.new('Sound',obj21)
783
	sound.SoundId = 'rbxassetid://178555466'
784
	sound.Volume = 1
785
	sound:Play()
786
	for i=1,50 do
787
		MovePartBy(obj21,Vector3.new(0,0,-0.1))
788
		MovePartBy(obj28,Vector3.new(0,0,0.1))
789
		wait()
790
	end
791
	for i=1,10 do
792
		fist.Transparency = i/10
793
		wait()
794
	end
795
	wait(1)
796
	for i=1,51 do
797
		MoveBy(obj1,Vector3.new(0,-0.4,0))
798
		if plr.Character:FindFirstChild('Torso') then
799
			MovePartBy(plr.Character.Torso,Vector3.new(0,-0.4,0))
800
		end
801
		wait()
802
	end
803
	ToHell(obj1)
804
	if plr.Character:FindFirstChild('Torso') then
805
		plr.Character.Torso.CFrame = plr.Character.Torso.CFrame + Vector3.new(5000,5000,5000)
806
		plr.Character.Torso.Anchored = false
807
	end
808
	local cf = thing.CFrame
809
	for i=1,120 do
810
		if thing then
811
			thing.Size = thing.Size-Vector3.new(0.2,0,0.2)
812
			thing.CFrame = cf
813
			wait()
814
		end
815
	end
816
	if thing then
817
		thing:Destroy()
818
	end
819
	if plr.Character:FindFirstChildOfClass('Humanoid') then
820
		plr.Character:FindFirstChildOfClass('Humanoid').JumpPower = 0
821
	end
822
	for i=1,100 do
823
		MovePartBy(obj33,Vector3.new(0,-0.1,0))
824
		wait()
825
	end
826
	if plr.Character:FindFirstChildOfClass('Humanoid') then
827
		plr.Character:FindFirstChildOfClass('Humanoid').Health = 0
828
	end
829
	for i=1,15 do
830
		MovePartBy(obj33,Vector3.new(0,-0.1,0))
831
		wait()
832
	end
833
	wait(10)
834
	if obj1 then
835
		obj1:Destroy()
836
	end
837
	end
838
	local success, message = pcall(thatstuff)
839
	if success == false then
840
    		print("An error occurred: "..message..". Removing the elevator for this player.")
841
		obj1:Destroy()
842
	end
843
end
844
845
846
end)
847
coru()
848
end--33
849
end
850
TextBox.Text = "Enter Target's Name (Can be Shortened)"
851
end)