Advertisement
danielaust

Evelvator

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