Advertisement
Guest User

Hellavator

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