Advertisement
Guest User

Untitled

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