Sazious

Untitled

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