Advertisement
Robloxian_Scripter

Untitled

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