Advertisement
firebudgy

Untitled

Jan 21st, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.13 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Decal4 = Instance.new("Decal")
  24. Part5 = Instance.new("Part")
  25. Model6 = Instance.new("Model")
  26. Part7 = Instance.new("Part")
  27. ClickDetector8 = Instance.new("ClickDetector")
  28. Decal9 = Instance.new("Decal")
  29. Part10 = Instance.new("Part")
  30. ClickDetector11 = Instance.new("ClickDetector")
  31. Decal12 = Instance.new("Decal")
  32. Part13 = Instance.new("Part")
  33. ClickDetector14 = Instance.new("ClickDetector")
  34. Decal15 = Instance.new("Decal")
  35. Part16 = Instance.new("Part")
  36. ClickDetector17 = Instance.new("ClickDetector")
  37. Decal18 = Instance.new("Decal")
  38. Part19 = Instance.new("Part")
  39. ClickDetector20 = Instance.new("ClickDetector")
  40. Decal21 = Instance.new("Decal")
  41. Part22 = Instance.new("Part")
  42. ClickDetector23 = Instance.new("ClickDetector")
  43. Decal24 = Instance.new("Decal")
  44. Part25 = Instance.new("Part")
  45. ClickDetector26 = Instance.new("ClickDetector")
  46. Decal27 = Instance.new("Decal")
  47. Part28 = Instance.new("Part")
  48. ClickDetector29 = Instance.new("ClickDetector")
  49. Decal30 = Instance.new("Decal")
  50. Part31 = Instance.new("Part")
  51. ClickDetector32 = Instance.new("ClickDetector")
  52. Decal33 = Instance.new("Decal")
  53. Part34 = Instance.new("Part")
  54. ClickDetector35 = Instance.new("ClickDetector")
  55. Decal36 = Instance.new("Decal")
  56. Part37 = Instance.new("Part")
  57. ClickDetector38 = Instance.new("ClickDetector")
  58. Decal39 = Instance.new("Decal")
  59. Part40 = Instance.new("Part")
  60. ClickDetector41 = Instance.new("ClickDetector")
  61. Decal42 = Instance.new("Decal")
  62. Script43 = Instance.new("Script")
  63. Part44 = Instance.new("Part")
  64. Part45 = Instance.new("Part")
  65. Part46 = Instance.new("Part")
  66. Part47 = Instance.new("Part")
  67. Model0.Name = "Gear Machine"
  68. Model0.Parent = mas
  69. Part1.Parent = Model0
  70. Part1.BrickColor = BrickColor.new("Navy blue")
  71. Part1.Rotation = Vector3.new(180, 0, -180)
  72. Part1.Anchored = true
  73. Part1.FormFactor = Enum.FormFactor.Symmetric
  74. Part1.Size = Vector3.new(7, 1, 1)
  75. Part1.CFrame = CFrame.new(-97.5, 3.10000706, 104.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  76. Part1.Color = Color3.new(0, 0.12549, 0.376471)
  77. Part1.Position = Vector3.new(-97.5, 3.10000706, 104.5)
  78. Part1.Orientation = Vector3.new(0, -180, 0)
  79. Part1.Color = Color3.new(0, 0.12549, 0.376471)
  80. Part2.Parent = Model0
  81. Part2.BrickColor = BrickColor.new("Navy blue")
  82. Part2.Rotation = Vector3.new(180, 0, -180)
  83. Part2.Anchored = true
  84. Part2.FormFactor = Enum.FormFactor.Symmetric
  85. Part2.Size = Vector3.new(1, 1, 6)
  86. Part2.CFrame = CFrame.new(-94.5, 3.10000706, 108, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  87. Part2.TopSurface = Enum.SurfaceType.Smooth
  88. Part2.Color = Color3.new(0, 0.12549, 0.376471)
  89. Part2.Position = Vector3.new(-94.5, 3.10000706, 108)
  90. Part2.Orientation = Vector3.new(0, -180, 0)
  91. Part2.Color = Color3.new(0, 0.12549, 0.376471)
  92. Part3.Name = "Door"
  93. Part3.Parent = Model0
  94. Part3.BrickColor = BrickColor.new("Navy blue")
  95. Part3.Reflectance = 1
  96. Part3.Rotation = Vector3.new(180, 0, -180)
  97. Part3.Anchored = true
  98. Part3.FormFactor = Enum.FormFactor.Symmetric
  99. Part3.Friction = 1
  100. Part3.Size = Vector3.new(5, 1, 6)
  101. Part3.CFrame = CFrame.new(-97.5, 3.10000706, 108, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  102. Part3.TopSurface = Enum.SurfaceType.Smooth
  103. Part3.Color = Color3.new(0, 0.12549, 0.376471)
  104. Part3.Position = Vector3.new(-97.5, 3.10000706, 108)
  105. Part3.Orientation = Vector3.new(0, -180, 0)
  106. Part3.Color = Color3.new(0, 0.12549, 0.376471)
  107. Decal4.Parent = Part3
  108. Decal4.Texture = "http://www.roblox.com/asset/?id=30986255"
  109. Decal4.Face = Enum.NormalId.Top
  110. Part5.Name = "GearSpawn"
  111. Part5.Parent = Model0
  112. Part5.BrickColor = BrickColor.new("Navy blue")
  113. Part5.Rotation = Vector3.new(0, -90, 0)
  114. Part5.Anchored = true
  115. Part5.FormFactor = Enum.FormFactor.Symmetric
  116. Part5.Size = Vector3.new(8, 1, 1)
  117. Part5.CFrame = CFrame.new(-100.5, 2.10000706, 108, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  118. Part5.Color = Color3.new(0, 0.12549, 0.376471)
  119. Part5.Position = Vector3.new(-100.5, 2.10000706, 108)
  120. Part5.Orientation = Vector3.new(0, -90, 0)
  121. Part5.Color = Color3.new(0, 0.12549, 0.376471)
  122. Model6.Name = "KeyPad"
  123. Model6.Parent = Model0
  124. Part7.Name = "B9"
  125. Part7.Parent = Model6
  126. Part7.BrickColor = BrickColor.new("Institutional white")
  127. Part7.Rotation = Vector3.new(-90, 0, -180)
  128. Part7.Anchored = true
  129. Part7.FormFactor = Enum.FormFactor.Plate
  130. Part7.Size = Vector3.new(1, 0.400000006, 1)
  131. Part7.CFrame = CFrame.new(-96.5, 5.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  132. Part7.BottomSurface = Enum.SurfaceType.Weld
  133. Part7.TopSurface = Enum.SurfaceType.Smooth
  134. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  135. Part7.Position = Vector3.new(-96.5, 5.49993992, 105.199997)
  136. Part7.Orientation = Vector3.new(-90, -180, 0)
  137. Part7.Color = Color3.new(0.972549, 0.972549, 0.972549)
  138. ClickDetector8.Parent = Part7
  139. ClickDetector8.MaxActivationDistance = 10
  140. Decal9.Parent = Part7
  141. Decal9.Texture = "http://www.roblox.com/asset/?id=27277614"
  142. Decal9.Face = Enum.NormalId.Top
  143. Part10.Name = "B7"
  144. Part10.Parent = Model6
  145. Part10.BrickColor = BrickColor.new("Institutional white")
  146. Part10.Rotation = Vector3.new(-90, 0, -180)
  147. Part10.Anchored = true
  148. Part10.FormFactor = Enum.FormFactor.Plate
  149. Part10.Size = Vector3.new(1, 0.400000006, 1)
  150. Part10.CFrame = CFrame.new(-98.5, 5.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  151. Part10.BottomSurface = Enum.SurfaceType.Weld
  152. Part10.TopSurface = Enum.SurfaceType.Smooth
  153. Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  154. Part10.Position = Vector3.new(-98.5, 5.49993992, 105.199997)
  155. Part10.Orientation = Vector3.new(-90, -180, 0)
  156. Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  157. ClickDetector11.Parent = Part10
  158. ClickDetector11.MaxActivationDistance = 10
  159. Decal12.Parent = Part10
  160. Decal12.Texture = "http://www.roblox.com/asset/?id=27277591"
  161. Decal12.Face = Enum.NormalId.Top
  162. Part13.Name = "B8"
  163. Part13.Parent = Model6
  164. Part13.BrickColor = BrickColor.new("Institutional white")
  165. Part13.Rotation = Vector3.new(-90, 0, -180)
  166. Part13.Anchored = true
  167. Part13.FormFactor = Enum.FormFactor.Plate
  168. Part13.Size = Vector3.new(1, 0.400000006, 1)
  169. Part13.CFrame = CFrame.new(-97.5, 5.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  170. Part13.BottomSurface = Enum.SurfaceType.Weld
  171. Part13.TopSurface = Enum.SurfaceType.Smooth
  172. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  173. Part13.Position = Vector3.new(-97.5, 5.49993992, 105.199997)
  174. Part13.Orientation = Vector3.new(-90, -180, 0)
  175. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  176. ClickDetector14.Parent = Part13
  177. ClickDetector14.MaxActivationDistance = 10
  178. Decal15.Parent = Part13
  179. Decal15.Texture = "http://www.roblox.com/asset/?id=27277602"
  180. Decal15.Face = Enum.NormalId.Top
  181. Part16.Name = "B6"
  182. Part16.Parent = Model6
  183. Part16.BrickColor = BrickColor.new("Institutional white")
  184. Part16.Rotation = Vector3.new(-90, 0, -180)
  185. Part16.Anchored = true
  186. Part16.FormFactor = Enum.FormFactor.Plate
  187. Part16.Size = Vector3.new(1, 0.400000006, 1)
  188. Part16.CFrame = CFrame.new(-96.5, 6.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  189. Part16.BottomSurface = Enum.SurfaceType.Weld
  190. Part16.TopSurface = Enum.SurfaceType.Smooth
  191. Part16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  192. Part16.Position = Vector3.new(-96.5, 6.49993992, 105.199997)
  193. Part16.Orientation = Vector3.new(-90, -180, 0)
  194. Part16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  195. ClickDetector17.Parent = Part16
  196. ClickDetector17.MaxActivationDistance = 10
  197. Decal18.Parent = Part16
  198. Decal18.Texture = "http://www.roblox.com/asset/?id=27277502"
  199. Decal18.Face = Enum.NormalId.Top
  200. Part19.Name = "B5"
  201. Part19.Parent = Model6
  202. Part19.BrickColor = BrickColor.new("Institutional white")
  203. Part19.Rotation = Vector3.new(-90, 0, -180)
  204. Part19.Anchored = true
  205. Part19.FormFactor = Enum.FormFactor.Plate
  206. Part19.Size = Vector3.new(1, 0.400000006, 1)
  207. Part19.CFrame = CFrame.new(-97.5, 6.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  208. Part19.BottomSurface = Enum.SurfaceType.Weld
  209. Part19.TopSurface = Enum.SurfaceType.Smooth
  210. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  211. Part19.Position = Vector3.new(-97.5, 6.49993992, 105.199997)
  212. Part19.Orientation = Vector3.new(-90, -180, 0)
  213. Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  214. ClickDetector20.Parent = Part19
  215. ClickDetector20.MaxActivationDistance = 10
  216. Decal21.Parent = Part19
  217. Decal21.Texture = "http://www.roblox.com/asset/?id=27277487"
  218. Decal21.Face = Enum.NormalId.Top
  219. Part22.Name = "B4"
  220. Part22.Parent = Model6
  221. Part22.BrickColor = BrickColor.new("Institutional white")
  222. Part22.Rotation = Vector3.new(-90, 0, -180)
  223. Part22.Anchored = true
  224. Part22.FormFactor = Enum.FormFactor.Plate
  225. Part22.Size = Vector3.new(1, 0.400000006, 1)
  226. Part22.CFrame = CFrame.new(-98.5, 6.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  227. Part22.BottomSurface = Enum.SurfaceType.Weld
  228. Part22.TopSurface = Enum.SurfaceType.Smooth
  229. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  230. Part22.Position = Vector3.new(-98.5, 6.49993992, 105.199997)
  231. Part22.Orientation = Vector3.new(-90, -180, 0)
  232. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  233. ClickDetector23.Parent = Part22
  234. ClickDetector23.MaxActivationDistance = 10
  235. Decal24.Parent = Part22
  236. Decal24.Texture = "http://www.roblox.com/asset/?id=27277424"
  237. Decal24.Face = Enum.NormalId.Top
  238. Part25.Name = "B3"
  239. Part25.Parent = Model6
  240. Part25.BrickColor = BrickColor.new("Institutional white")
  241. Part25.Rotation = Vector3.new(-90, 0, -180)
  242. Part25.Anchored = true
  243. Part25.FormFactor = Enum.FormFactor.Plate
  244. Part25.Size = Vector3.new(1, 0.400000006, 1)
  245. Part25.CFrame = CFrame.new(-96.5, 7.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  246. Part25.BottomSurface = Enum.SurfaceType.Weld
  247. Part25.TopSurface = Enum.SurfaceType.Smooth
  248. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  249. Part25.Position = Vector3.new(-96.5, 7.49993992, 105.199997)
  250. Part25.Orientation = Vector3.new(-90, -180, 0)
  251. Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
  252. ClickDetector26.Parent = Part25
  253. ClickDetector26.MaxActivationDistance = 10
  254. Decal27.Parent = Part25
  255. Decal27.Texture = "http://www.roblox.com/asset/?id=27277404"
  256. Decal27.Face = Enum.NormalId.Top
  257. Part28.Name = "B1"
  258. Part28.Parent = Model6
  259. Part28.BrickColor = BrickColor.new("Institutional white")
  260. Part28.Rotation = Vector3.new(-90, 0, 0)
  261. Part28.Anchored = true
  262. Part28.FormFactor = Enum.FormFactor.Plate
  263. Part28.Size = Vector3.new(1, 0.400000006, 1)
  264. Part28.CFrame = CFrame.new(-98.5, 7.50039577, 105.200012, 1, 2.07877215e-10, -6.68192115e-08, -6.68192115e-08, -2.95570999e-08, 1, -2.07851514e-10, -1, 2.95572136e-08)
  265. Part28.BottomSurface = Enum.SurfaceType.Smooth
  266. Part28.TopSurface = Enum.SurfaceType.Weld
  267. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  268. Part28.Position = Vector3.new(-98.5, 7.50039577, 105.200012)
  269. Part28.Orientation = Vector3.new(-90, 0, 0)
  270. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  271. ClickDetector29.Parent = Part28
  272. ClickDetector29.MaxActivationDistance = 10
  273. Decal30.Parent = Part28
  274. Decal30.Texture = "http://www.roblox.com/asset/?id=27277323"
  275. Decal30.Face = Enum.NormalId.Bottom
  276. Part31.Name = "B0"
  277. Part31.Parent = Model6
  278. Part31.BrickColor = BrickColor.new("Institutional white")
  279. Part31.Rotation = Vector3.new(-90, 0, -180)
  280. Part31.Anchored = true
  281. Part31.FormFactor = Enum.FormFactor.Plate
  282. Part31.Size = Vector3.new(1, 0.400000006, 1)
  283. Part31.CFrame = CFrame.new(-97.5, 4.49994707, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  284. Part31.BottomSurface = Enum.SurfaceType.Weld
  285. Part31.TopSurface = Enum.SurfaceType.Smooth
  286. Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
  287. Part31.Position = Vector3.new(-97.5, 4.49994707, 105.199997)
  288. Part31.Orientation = Vector3.new(-90, -180, 0)
  289. Part31.Color = Color3.new(0.972549, 0.972549, 0.972549)
  290. ClickDetector32.Parent = Part31
  291. ClickDetector32.MaxActivationDistance = 10
  292. Decal33.Parent = Part31
  293. Decal33.Texture = "http://www.roblox.com/asset/?id=27277647"
  294. Decal33.Face = Enum.NormalId.Top
  295. Part34.Name = "Enter"
  296. Part34.Parent = Model6
  297. Part34.BrickColor = BrickColor.new("Lime green")
  298. Part34.Rotation = Vector3.new(-90, 0, -180)
  299. Part34.Anchored = true
  300. Part34.FormFactor = Enum.FormFactor.Plate
  301. Part34.Size = Vector3.new(1, 0.400000006, 1)
  302. Part34.CFrame = CFrame.new(-98.5, 4.49994707, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  303. Part34.BottomSurface = Enum.SurfaceType.Weld
  304. Part34.TopSurface = Enum.SurfaceType.Smooth
  305. Part34.Color = Color3.new(0, 1, 0)
  306. Part34.Position = Vector3.new(-98.5, 4.49994707, 105.199997)
  307. Part34.Orientation = Vector3.new(-90, -180, 0)
  308. Part34.Color = Color3.new(0, 1, 0)
  309. ClickDetector35.Parent = Part34
  310. ClickDetector35.MaxActivationDistance = 10
  311. Decal36.Parent = Part34
  312. Decal36.Texture = "http://www.roblox.com/asset/?id=2761987"
  313. Decal36.Face = Enum.NormalId.Top
  314. Part37.Name = "Clear"
  315. Part37.Parent = Model6
  316. Part37.BrickColor = BrickColor.new("Bright red")
  317. Part37.Rotation = Vector3.new(-90, 0, -180)
  318. Part37.Anchored = true
  319. Part37.FormFactor = Enum.FormFactor.Plate
  320. Part37.Size = Vector3.new(1, 0.400000006, 1)
  321. Part37.CFrame = CFrame.new(-96.5, 4.50047779, 105.200012, -1, 3.16004289e-08, 1.19651359e-05, 1.19651359e-05, 1.10379015e-05, 1, 3.14683177e-08, 1, -1.10379015e-05)
  322. Part37.BottomSurface = Enum.SurfaceType.Weld
  323. Part37.TopSurface = Enum.SurfaceType.Smooth
  324. Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
  325. Part37.Position = Vector3.new(-96.5, 4.50047779, 105.200012)
  326. Part37.Orientation = Vector3.new(-90, -180, 0)
  327. Part37.Color = Color3.new(0.768628, 0.156863, 0.109804)
  328. ClickDetector38.Parent = Part37
  329. ClickDetector38.MaxActivationDistance = 10
  330. Decal39.Parent = Part37
  331. Decal39.Texture = "http://www.roblox.com/asset/?id=2761996"
  332. Decal39.Face = Enum.NormalId.Top
  333. Part40.Name = "B2"
  334. Part40.Parent = Model6
  335. Part40.BrickColor = BrickColor.new("Institutional white")
  336. Part40.Rotation = Vector3.new(-90, 0, -180)
  337. Part40.Anchored = true
  338. Part40.FormFactor = Enum.FormFactor.Plate
  339. Part40.Size = Vector3.new(1, 0.400000006, 1)
  340. Part40.CFrame = CFrame.new(-97.5, 7.49993992, 105.199997, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  341. Part40.BottomSurface = Enum.SurfaceType.Weld
  342. Part40.TopSurface = Enum.SurfaceType.Smooth
  343. Part40.Color = Color3.new(0.972549, 0.972549, 0.972549)
  344. Part40.Position = Vector3.new(-97.5, 7.49993992, 105.199997)
  345. Part40.Orientation = Vector3.new(-90, -180, 0)
  346. Part40.Color = Color3.new(0.972549, 0.972549, 0.972549)
  347. ClickDetector41.Parent = Part40
  348. ClickDetector41.MaxActivationDistance = 10
  349. Decal42.Parent = Part40
  350. Decal42.Texture = "http://www.roblox.com/asset/?id=27277378"
  351. Decal42.Face = Enum.NormalId.Top
  352. Script43.Name = "MasterScript"
  353. Script43.Parent = Model6
  354. table.insert(cors,sandbox(Script43,function()
  355. Code = "" --lol
  356. Input = ""
  357.  
  358. ----------------------------------------------------------------------------------------------------------------------------------
  359. --Inserting
  360.  
  361.  
  362.  
  363.  
  364.  
  365. function insert()
  366.  
  367. gearId = tonumber(Input) -- change this to an id (now it will convert input to a id but this could also insert giant models so that would suck...
  368.  
  369. print(gearId)
  370.  
  371. if gearId ~= nil then
  372.  
  373. --This call will cause a "wait" until the data comes back
  374. root = game:GetService("InsertService"):LoadAsset(gearId)
  375.  
  376.  
  377. local instances = root:GetChildren()
  378. if #instances == 0 then
  379. root:Remove()
  380. return
  381. end
  382.  
  383. --Continue the insert process
  384. root.Name = "InsertedObject" .. gearId
  385.  
  386. root.Parent = game.Workspace
  387.  
  388. local t = script.Parent.Parent.GearSpawn
  389.  
  390. root:MoveTo(t.Position + t.CFrame.lookVector * 3)
  391.  
  392. --Tool.Handle.Drop:Play()
  393.  
  394. end
  395.  
  396. end
  397.  
  398. ------------------------------------------
  399. --Clear And Enter
  400.  
  401. function Clear()
  402. print("Cleared")
  403. Input = ""
  404. end
  405.  
  406. script.Parent.Clear.ClickDetector.MouseClick:connect(Clear)
  407.  
  408.  
  409.  
  410.  
  411. function Enter()
  412. --if Input == Code then
  413. insert()
  414. print("Entered")
  415. Input = ""
  416.  
  417. local door = script.Parent.Parent.Door
  418.  
  419.  
  420.  
  421. door.CanCollide = false
  422. door.Transparency = door.Transparency + 0.1
  423. wait(0.1)
  424. door.Transparency = door.Transparency + 0.1
  425. wait(0.1)
  426. door.Transparency = door.Transparency + 0.1
  427. wait(0.1)
  428. door.Transparency = door.Transparency + 0.1
  429. wait(0.1)
  430. door.Transparency = door.Transparency + 0.1
  431. wait(0.1)
  432. door.Transparency = door.Transparency + 0.1
  433. wait(0.1)
  434. door.Transparency = door.Transparency + 0.1
  435. wait(0.1)
  436. door.Transparency = 0.8
  437. wait(3)--
  438. door.Transparency = door.Transparency - 0.1
  439. wait(0.1)
  440. door.Transparency = door.Transparency - 0.1
  441. wait(0.1)
  442. door.Transparency = door.Transparency - 0.1
  443. wait(0.1)
  444. door.Transparency = door.Transparency - 0.1
  445. wait(0.1)
  446. door.Transparency = door.Transparency - 0.1
  447. wait(0.1)
  448. door.Transparency = door.Transparency - 0.1
  449. wait(0.1)
  450. door.Transparency = door.Transparency - 0.1
  451. wait(0.1)
  452. door.Transparency = 0
  453. door.CanCollide = true
  454.  
  455.  
  456.  
  457. --return end
  458. --Input = ""
  459. --print("Wrong Code")
  460. end
  461.  
  462.  
  463.  
  464.  
  465. script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
  466.  
  467. ------------------------------------------
  468. --Digets
  469.  
  470.  
  471. function Click0()
  472. Input = Input..0
  473. print("0")
  474. script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=27277647"
  475. wait(0.1)
  476. script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=27277647"
  477. end
  478.  
  479. script.Parent.B0.ClickDetector.MouseClick:connect(Click0)
  480.  
  481. function Click1()
  482. Input = Input..1
  483. print("1")
  484. script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=27277323"
  485. wait(0.1)
  486. script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=27277323"
  487. end
  488.  
  489. script.Parent.B1.ClickDetector.MouseClick:connect(Click1)
  490.  
  491. function Click2()
  492. Input = Input..2
  493. print("2")
  494. script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=27277378"
  495. wait(0.1)
  496. script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=27277378"
  497. end
  498.  
  499. script.Parent.B2.ClickDetector.MouseClick:connect(Click2)
  500.  
  501. function Click3()
  502. Input = Input..3
  503. print("3")
  504. script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=27277404"
  505. wait(0.1)
  506. script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=27277404"
  507. end
  508.  
  509. script.Parent.B3.ClickDetector.MouseClick:connect(Click3)
  510.  
  511. function Click4()
  512. Input = Input..4
  513. print("4")
  514. script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=27277424"
  515. wait(0.1)
  516. script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=27277424"
  517. end
  518.  
  519. script.Parent.B4.ClickDetector.MouseClick:connect(Click4)
  520.  
  521. function Click5()
  522. Input = Input..5
  523. print("5")
  524. script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=27277487"
  525. wait(0.1)
  526. script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=27277487"
  527. end
  528.  
  529. script.Parent.B5.ClickDetector.MouseClick:connect(Click5)
  530.  
  531. function Click6()
  532. Input = Input..6
  533. print("6")
  534. script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=27277502"
  535. wait(0.1)
  536. script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=27277502"
  537. end
  538.  
  539. script.Parent.B6.ClickDetector.MouseClick:connect(Click6)
  540.  
  541. function Click7()
  542. Input = Input..7
  543. print("7")
  544. script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=27277591"
  545. wait(0.1)
  546. script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=27277591"
  547. end
  548.  
  549. script.Parent.B7.ClickDetector.MouseClick:connect(Click7)
  550.  
  551. function Click8()
  552. Input = Input..8
  553. print("8")
  554. script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=27277602"
  555. wait(0.1)
  556. script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=27277602"
  557. end
  558.  
  559. script.Parent.B8.ClickDetector.MouseClick:connect(Click8)
  560.  
  561. function Click9()
  562. Input = Input..9
  563. print("9")
  564. script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=27277614"
  565. wait(0.1)
  566. script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=27277614"
  567. end
  568.  
  569. script.Parent.B9.ClickDetector.MouseClick:connect(Click9)
  570.  
  571. a = Instance.new("Hint")
  572. a.Parent = game.Workspace -- If you want the Hint to change its text, write everything again except "while true do" and "end."
  573. a.Text = "The maker of this place thanks GearMod for using his Gear/Hat Machine"
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590. end))
  591. Part44.Parent = Model0
  592. Part44.BrickColor = BrickColor.new("Navy blue")
  593. Part44.Rotation = Vector3.new(180, 0, -180)
  594. Part44.Anchored = true
  595. Part44.FormFactor = Enum.FormFactor.Symmetric
  596. Part44.Size = Vector3.new(1, 1, 6)
  597. Part44.CFrame = CFrame.new(-100.5, 3.10000706, 108, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  598. Part44.TopSurface = Enum.SurfaceType.Smooth
  599. Part44.Color = Color3.new(0, 0.12549, 0.376471)
  600. Part44.Position = Vector3.new(-100.5, 3.10000706, 108)
  601. Part44.Orientation = Vector3.new(0, -180, 0)
  602. Part44.Color = Color3.new(0, 0.12549, 0.376471)
  603. Part45.Parent = Model0
  604. Part45.BrickColor = BrickColor.new("Navy blue")
  605. Part45.Rotation = Vector3.new(0, 90, 0)
  606. Part45.Anchored = true
  607. Part45.FormFactor = Enum.FormFactor.Symmetric
  608. Part45.Size = Vector3.new(8, 1, 6)
  609. Part45.CFrame = CFrame.new(-97, 2.10000706, 108, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  610. Part45.Color = Color3.new(0, 0.12549, 0.376471)
  611. Part45.Position = Vector3.new(-97, 2.10000706, 108)
  612. Part45.Orientation = Vector3.new(0, 90, 0)
  613. Part45.Color = Color3.new(0, 0.12549, 0.376471)
  614. Part46.Parent = Model0
  615. Part46.BrickColor = BrickColor.new("Navy blue")
  616. Part46.Rotation = Vector3.new(0, -90, 0)
  617. Part46.Anchored = true
  618. Part46.FormFactor = Enum.FormFactor.Symmetric
  619. Part46.Size = Vector3.new(1, 1, 7)
  620. Part46.CFrame = CFrame.new(-97.5, 3.10000706, 111.5, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  621. Part46.TopSurface = Enum.SurfaceType.Smooth
  622. Part46.Color = Color3.new(0, 0.12549, 0.376471)
  623. Part46.Position = Vector3.new(-97.5, 3.10000706, 111.5)
  624. Part46.Orientation = Vector3.new(0, -90, 0)
  625. Part46.Color = Color3.new(0, 0.12549, 0.376471)
  626. Part47.Parent = Model0
  627. Part47.BrickColor = BrickColor.new("Navy blue")
  628. Part47.Anchored = true
  629. Part47.FormFactor = Enum.FormFactor.Symmetric
  630. Part47.Size = Vector3.new(7, 6, 1)
  631. Part47.CFrame = CFrame.new(-97.5, 6.59993601, 104.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  632. Part47.TopSurface = Enum.SurfaceType.Smooth
  633. Part47.Color = Color3.new(0, 0.12549, 0.376471)
  634. Part47.Position = Vector3.new(-97.5, 6.59993601, 104.5)
  635. Part47.Color = Color3.new(0, 0.12549, 0.376471)
  636. for i,v in pairs(mas:GetChildren()) do
  637. v.Parent = workspace
  638. pcall(function() v:MakeJoints() end)
  639. end
  640. mas:Destroy()
  641. for i,v in pairs(cors) do
  642. spawn(function()
  643. pcall(v)
  644. end)
  645. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement