copra50

elavator

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