Hugo1234cool

Untitled

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