Advertisement
Glyoit

Untitled

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