Advertisement
Gememed

Untitled

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