Advertisement
Axprotss

Hells door

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