Advertisement
oatmeal2009

Mustardfoot's Elevator to Hell FE

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