Advertisement
DrakerMaker

Vending

Feb 2nd, 2020
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.43 KB | None | 0 0
  1. -- Thanks for using Mod2S by NopeUsername
  2. local functions = {}
  3. function sandbox(script, func)
  4. local oldEnv = getfenv(func)
  5.  
  6. local newEnv = setmetatable({}, {
  7. __index = function(self,k)
  8. if k == "script" then
  9. return script
  10. else
  11. return oldEnv[k]
  12. end
  13. end,
  14. })
  15.  
  16. return setfenv(func, newEnv)
  17. end
  18.  
  19. local mas = Instance.new("Model", game:GetService("Lighting"))
  20. -- DECLARING VARIABLES
  21.  
  22. local Model = Instance.new("Model")
  23. local Part = Instance.new("Part")
  24. local Part_1 = Instance.new("Part")
  25. local A = Instance.new("Part")
  26. local SurfaceGui = Instance.new("SurfaceGui")
  27. local Text = Instance.new("TextBox")
  28. local A_1 = Instance.new("Part")
  29. local SurfaceGui_1 = Instance.new("SurfaceGui")
  30. local Text_1 = Instance.new("TextBox")
  31. local Part_2 = Instance.new("Part")
  32. local Part_3 = Instance.new("Part")
  33. local A_2 = Instance.new("Part")
  34. local SurfaceGui_2 = Instance.new("SurfaceGui")
  35. local Text_2 = Instance.new("TextBox")
  36. local BloxxyCola = Instance.new("Part")
  37. local Mesh = Instance.new("SpecialMesh")
  38. local Part_4 = Instance.new("Part")
  39. local Part_5 = Instance.new("Part")
  40. local Part_6 = Instance.new("Part")
  41. local Wedge = Instance.new("WedgePart")
  42. local A_3 = Instance.new("Part")
  43. local SurfaceGui_3 = Instance.new("SurfaceGui")
  44. local Text_3 = Instance.new("TextBox")
  45. local A_4 = Instance.new("Part")
  46. local SurfaceGui_4 = Instance.new("SurfaceGui")
  47. local Text_4 = Instance.new("TextBox")
  48. local ClickDetector = Instance.new("ClickDetector")
  49. local A_5 = Instance.new("Part")
  50. local SurfaceGui_5 = Instance.new("SurfaceGui")
  51. local Text_5 = Instance.new("TextBox")
  52. local ClickDetector_1 = Instance.new("ClickDetector")
  53. local Handle = Instance.new("Part")
  54. local Mesh_1 = Instance.new("SpecialMesh")
  55. local Fire = Instance.new("Fire")
  56. local A_6 = Instance.new("Part")
  57. local SurfaceGui_6 = Instance.new("SurfaceGui")
  58. local Text_6 = Instance.new("TextBox")
  59. local A_7 = Instance.new("Part")
  60. local SurfaceGui_7 = Instance.new("SurfaceGui")
  61. local Text_7 = Instance.new("TextBox")
  62. local Handle_1 = Instance.new("Part")
  63. local Mesh_2 = Instance.new("SpecialMesh")
  64. local Fire_1 = Instance.new("Fire")
  65. local Part_7 = Instance.new("Part")
  66. local Part_8 = Instance.new("Part")
  67. local SurfaceGui_8 = Instance.new("SurfaceGui")
  68. local Text_8 = Instance.new("TextBox")
  69. local Part_9 = Instance.new("Part")
  70.  
  71. -- SETTING PROPERTIES
  72.  
  73. Model.Parent = mas
  74.  
  75. Part.Anchored = true
  76. Part.BottomSurface = Enum.SurfaceType.Smooth
  77. Part.CFrame = CFrame.new(-27.975,4.225,13.035,1,0,0,0,1,0,0,0,1)
  78. Part.Color = Color3.new(0.106,0.165,0.208)
  79. Part.Material = Enum.Material.DiamondPlate
  80. Part.Size = Vector3.new(0.33,8.45,5.91)
  81. Part.TopSurface = Enum.SurfaceType.Smooth
  82. Part.Parent = Model
  83.  
  84. Part_1.Anchored = true
  85. Part_1.BottomSurface = Enum.SurfaceType.Smooth
  86. Part_1.CFrame = CFrame.new(-24.302,3.243,11.48,1,0,0,0,1,0,0,0,1)
  87. Part_1.Color = Color3.new(0.106,0.165,0.208)
  88. Part_1.Material = Enum.Material.DiamondPlate
  89. Part_1.Size = Vector3.new(0.33,2.69,2.66)
  90. Part_1.TopSurface = Enum.SurfaceType.Smooth
  91. Part_1.Parent = Model
  92.  
  93. A.Anchored = true
  94. A.CFrame = CFrame.new(-25.465,5.525,15.054,0,0,-1,0,1,0,1,0,0)
  95. A.Color = Color3.new(0.584,0.475,0.467)
  96. A.Size = Vector3.new(1,0.47,0.05)
  97. A.Transparency = 1
  98. A.Name = "A"
  99. A.Parent = Model
  100.  
  101. SurfaceGui.CanvasSize = Vector2.new(200,100)
  102. SurfaceGui.Parent = A
  103.  
  104. Text.Font = Enum.Font.SourceSansBold
  105. Text.Text = "A1"
  106. Text.TextColor3 = Color3.new(0,0,0)
  107. Text.TextScaled = true
  108. Text.TextSize = 48
  109. Text.TextWrapped = true
  110. Text.BackgroundColor3 = Color3.new(1,1,1)
  111. Text.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  112. Text.Name = "Text"
  113. Text.Parent = SurfaceGui
  114.  
  115. A_1.Anchored = true
  116. A_1.CFrame = CFrame.new(-25.465,5.525,11.402,0,0,-1,0,1,0,1,0,0)
  117. A_1.Color = Color3.new(0.584,0.475,0.467)
  118. A_1.Size = Vector3.new(1.12,0.47,0.05)
  119. A_1.Transparency = 1
  120. A_1.Name = "A"
  121. A_1.Parent = Model
  122.  
  123. SurfaceGui_1.CanvasSize = Vector2.new(200,100)
  124. SurfaceGui_1.Parent = A_1
  125.  
  126. Text_1.Font = Enum.Font.SourceSansBold
  127. Text_1.Text = "A4"
  128. Text_1.TextColor3 = Color3.new(0,0,0)
  129. Text_1.TextScaled = true
  130. Text_1.TextSize = 48
  131. Text_1.TextWrapped = true
  132. Text_1.BackgroundColor3 = Color3.new(1,1,1)
  133. Text_1.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  134. Text_1.Name = "Text"
  135. Text_1.Parent = SurfaceGui_1
  136.  
  137. Part_2.Anchored = true
  138. Part_2.BottomSurface = Enum.SurfaceType.Smooth
  139. Part_2.CFrame = CFrame.new(-26.14,4.225,8.251,1,0,0,0,1,0,0,0,1)
  140. Part_2.Color = Color3.new(0.106,0.165,0.208)
  141. Part_2.Material = Enum.Material.DiamondPlate
  142. Part_2.Size = Vector3.new(4,8.45,4.2)
  143. Part_2.TopSurface = Enum.SurfaceType.Smooth
  144. Part_2.Parent = Model
  145.  
  146. Part_3.Anchored = true
  147. Part_3.BottomSurface = Enum.SurfaceType.Smooth
  148. Part_3.CFrame = CFrame.new(-26.14,4.225,15.885,1,0,0,0,1,0,0,0,1)
  149. Part_3.Color = Color3.new(0.106,0.165,0.208)
  150. Part_3.Material = Enum.Material.DiamondPlate
  151. Part_3.Size = Vector3.new(4,8.45,0.27)
  152. Part_3.TopSurface = Enum.SurfaceType.Smooth
  153. Part_3.Parent = Model
  154.  
  155. A_2.Anchored = true
  156. A_2.CFrame = CFrame.new(-25.465,5.525,12.621,0,0,-1,0,1,0,1,0,0)
  157. A_2.Color = Color3.new(0.584,0.475,0.467)
  158. A_2.Size = Vector3.new(1.12,0.47,0.05)
  159. A_2.Transparency = 1
  160. A_2.Name = "A"
  161. A_2.Parent = Model
  162.  
  163. SurfaceGui_2.CanvasSize = Vector2.new(200,100)
  164. SurfaceGui_2.Parent = A_2
  165.  
  166. Text_2.Font = Enum.Font.SourceSansBold
  167. Text_2.Text = "A3"
  168. Text_2.TextColor3 = Color3.new(0,0,0)
  169. Text_2.TextScaled = true
  170. Text_2.TextSize = 48
  171. Text_2.TextWrapped = true
  172. Text_2.BackgroundColor3 = Color3.new(1,1,1)
  173. Text_2.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  174. Text_2.Name = "Text"
  175. Text_2.Parent = SurfaceGui_2
  176.  
  177. BloxxyCola.Anchored = true
  178. BloxxyCola.BottomSurface = Enum.SurfaceType.Smooth
  179. BloxxyCola.CFrame = CFrame.new(-27.2,6.51,13.75,-0.282,0,0.96,0,1,0,-0.96,0,-0.282)
  180. BloxxyCola.Color = Color3.new(0.804,0.804,0.804)
  181. BloxxyCola.Size = Vector3.new(1,1.2,1)
  182. BloxxyCola.TopSurface = Enum.SurfaceType.Smooth
  183. BloxxyCola.Name = "Bloxxy Cola"
  184. BloxxyCola.Parent = Model
  185.  
  186. Mesh.MeshType = Enum.MeshType.FileMesh
  187. Mesh.MeshId = "http://www.roblox.com/asset/?id=10470609"
  188. Mesh.TextureId = "http://www.roblox.com/asset/?id=10470600"
  189. Mesh.Scale = Vector3.new(1.2,1.2,1.2)
  190. Mesh.Parent = BloxxyCola
  191.  
  192. Part_4.Anchored = true
  193. Part_4.BottomSurface = Enum.SurfaceType.Smooth
  194. Part_4.CFrame = CFrame.new(-26.14,8.355,13.05,1,0,0,0,1,0,0,0,1)
  195. Part_4.Color = Color3.new(0.106,0.165,0.208)
  196. Part_4.Material = Enum.Material.DiamondPlate
  197. Part_4.Size = Vector3.new(4,0.19,5.94)
  198. Part_4.TopSurface = Enum.SurfaceType.Smooth
  199. Part_4.Parent = Model
  200.  
  201. Part_5.Anchored = true
  202. Part_5.BottomSurface = Enum.SurfaceType.Smooth
  203. Part_5.CFrame = CFrame.new(-24.302,1.988,13.035,1,0,0,0,1,0,0,0,1)
  204. Part_5.Color = Color3.new(0.106,0.165,0.208)
  205. Part_5.Material = Enum.Material.DiamondPlate
  206. Part_5.Size = Vector3.new(0.33,0.18,5.91)
  207. Part_5.TopSurface = Enum.SurfaceType.Smooth
  208. Part_5.Parent = Model
  209.  
  210. Part_6.Anchored = true
  211. Part_6.BottomSurface = Enum.SurfaceType.Smooth
  212. Part_6.CFrame = CFrame.new(-26.785,5.71,13.21,0,0,1,0,1,0,-1,0,0)
  213. Part_6.Color = Color3.new(0.106,0.165,0.208)
  214. Part_6.Material = Enum.Material.DiamondPlate
  215. Part_6.Size = Vector3.new(5.04,0.4,2.59)
  216. Part_6.TopSurface = Enum.SurfaceType.Smooth
  217. Part_6.Parent = Model
  218.  
  219. Wedge.Anchored = true
  220. Wedge.BottomSurface = Enum.SurfaceType.Smooth
  221. Wedge.CFrame = CFrame.new(-26.21,0.7,12.97,0,0,-1,0,1,0,1,0,0)
  222. Wedge.Color = Color3.new(0.106,0.165,0.208)
  223. Wedge.Material = Enum.Material.DiamondPlate
  224. Wedge.Size = Vector3.new(5.68,1,3.34)
  225. Wedge.Parent = Model
  226.  
  227. A_3.Anchored = true
  228. A_3.CFrame = CFrame.new(-24.112,4.123,10.882,0,0,-1,0,1,0,1,0,0)
  229. A_3.Color = Color3.new(0.584,0.475,0.467)
  230. A_3.Size = Vector3.new(1,0.47,0.05)
  231. A_3.Transparency = 1
  232. A_3.Name = "A"
  233. A_3.Parent = Model
  234.  
  235. SurfaceGui_3.CanvasSize = Vector2.new(200,100)
  236. SurfaceGui_3.Parent = A_3
  237.  
  238. Text_3.Font = Enum.Font.SourceSansBold
  239. Text_3.Text = "A3"
  240. Text_3.TextColor3 = Color3.new(0,0,0)
  241. Text_3.TextScaled = true
  242. Text_3.TextSize = 48
  243. Text_3.TextWrapped = true
  244. Text_3.BackgroundColor3 = Color3.new(1,1,1)
  245. Text_3.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  246. Text_3.Name = "Text"
  247. Text_3.Parent = SurfaceGui_3
  248.  
  249. A_4.Anchored = true
  250. A_4.CFrame = CFrame.new(-24.112,3.398,10.882,0,0,-1,0,1,0,1,0,0)
  251. A_4.Color = Color3.new(0.584,0.475,0.467)
  252. A_4.Size = Vector3.new(1,0.47,0.05)
  253. A_4.Transparency = 1
  254. A_4.Name = "A"
  255. A_4.Parent = Model
  256.  
  257. SurfaceGui_4.CanvasSize = Vector2.new(200,100)
  258. SurfaceGui_4.Parent = A_4
  259.  
  260. Text_4.Font = Enum.Font.SourceSansBold
  261. Text_4.Text = "A4"
  262. Text_4.TextColor3 = Color3.new(0,0,0)
  263. Text_4.TextScaled = true
  264. Text_4.TextSize = 48
  265. Text_4.TextWrapped = true
  266. Text_4.BackgroundColor3 = Color3.new(1,1,1)
  267. Text_4.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  268. Text_4.Name = "Text"
  269. Text_4.Parent = SurfaceGui_4
  270.  
  271. ClickDetector.Parent = A_4
  272.  
  273. A_5.Anchored = true
  274. A_5.CFrame = CFrame.new(-24.112,3.398,12.041,0,0,-1,0,1,0,1,0,0)
  275. A_5.Color = Color3.new(0.584,0.475,0.467)
  276. A_5.Size = Vector3.new(1,0.47,0.05)
  277. A_5.Transparency = 1
  278. A_5.Name = "A"
  279. A_5.Parent = Model
  280.  
  281. SurfaceGui_5.CanvasSize = Vector2.new(200,100)
  282. SurfaceGui_5.Parent = A_5
  283.  
  284. Text_5.Font = Enum.Font.SourceSansBold
  285. Text_5.Text = "A2"
  286. Text_5.TextColor3 = Color3.new(0,0,0)
  287. Text_5.TextScaled = true
  288. Text_5.TextSize = 48
  289. Text_5.TextWrapped = true
  290. Text_5.BackgroundColor3 = Color3.new(1,1,1)
  291. Text_5.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  292. Text_5.Name = "Text"
  293. Text_5.Parent = SurfaceGui_5
  294.  
  295. ClickDetector_1.Parent = A_5
  296.  
  297. Handle.Anchored = true
  298. Handle.BottomSurface = Enum.SurfaceType.Smooth
  299. Handle.CFrame = CFrame.new(-26.534,6.882,11.448,-0.179,-0.463,-0.868,-0.093,0.887,-0.453,0.979,0,-0.202)
  300. Handle.Color = Color3.new(0.804,0.804,0.804)
  301. Handle.Size = Vector3.new(1,1.6,1)
  302. Handle.TopSurface = Enum.SurfaceType.Smooth
  303. Handle.Name = "Handle"
  304. Handle.Parent = Model
  305.  
  306. Mesh_1.MeshType = Enum.MeshType.FileMesh
  307. Mesh_1.MeshId = "http://www.roblox.com/asset/?id=19106014"
  308. Mesh_1.TextureId = "http://www.roblox.com/asset/?id=32727689"
  309. Mesh_1.Parent = Handle
  310.  
  311. Fire.Color = Color3.new(0,0,0.929)
  312. Fire.Enabled = false
  313. Fire.Heat = 25
  314. Fire.SecondaryColor = Color3.new(1,1,1)
  315. Fire.Size = 30
  316. Fire.Parent = Handle
  317.  
  318. A_6.Anchored = true
  319. A_6.CFrame = CFrame.new(-24.112,4.123,12.041,0,0,-1,0,1,0,1,0,0)
  320. A_6.Color = Color3.new(0.584,0.475,0.467)
  321. A_6.Size = Vector3.new(1,0.47,0.05)
  322. A_6.Transparency = 1
  323. A_6.Name = "A"
  324. A_6.Parent = Model
  325.  
  326. SurfaceGui_6.CanvasSize = Vector2.new(200,100)
  327. SurfaceGui_6.Parent = A_6
  328.  
  329. Text_6.Font = Enum.Font.SourceSansBold
  330. Text_6.Text = "A1"
  331. Text_6.TextColor3 = Color3.new(0,0,0)
  332. Text_6.TextScaled = true
  333. Text_6.TextSize = 48
  334. Text_6.TextWrapped = true
  335. Text_6.BackgroundColor3 = Color3.new(1,1,1)
  336. Text_6.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  337. Text_6.Name = "Text"
  338. Text_6.Parent = SurfaceGui_6
  339.  
  340. A_7.Anchored = true
  341. A_7.CFrame = CFrame.new(-25.465,5.525,13.825,0,0,-1,0,1,0,1,0,0)
  342. A_7.Color = Color3.new(0.584,0.475,0.467)
  343. A_7.Size = Vector3.new(1,0.47,0.05)
  344. A_7.Transparency = 1
  345. A_7.Name = "A"
  346. A_7.Parent = Model
  347.  
  348. SurfaceGui_7.CanvasSize = Vector2.new(200,100)
  349. SurfaceGui_7.Parent = A_7
  350.  
  351. Text_7.Font = Enum.Font.SourceSansBold
  352. Text_7.Text = "A2"
  353. Text_7.TextColor3 = Color3.new(0,0,0)
  354. Text_7.TextScaled = true
  355. Text_7.TextSize = 48
  356. Text_7.TextWrapped = true
  357. Text_7.BackgroundColor3 = Color3.new(1,1,1)
  358. Text_7.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  359. Text_7.Name = "Text"
  360. Text_7.Parent = SurfaceGui_7
  361.  
  362. Handle_1.Anchored = true
  363. Handle_1.BottomSurface = Enum.SurfaceType.Smooth
  364. Handle_1.CFrame = CFrame.new(-27.115,6.846,11.701,-0.389,-0.463,-0.797,-0.203,0.887,-0.416,0.899,0,-0.438)
  365. Handle_1.Color = Color3.new(0.804,0.804,0.804)
  366. Handle_1.Size = Vector3.new(1,1.6,1)
  367. Handle_1.TopSurface = Enum.SurfaceType.Smooth
  368. Handle_1.Name = "Handle"
  369. Handle_1.Parent = Model
  370.  
  371. Mesh_2.MeshType = Enum.MeshType.FileMesh
  372. Mesh_2.MeshId = "http://www.roblox.com/asset/?id=19106014"
  373. Mesh_2.TextureId = "http://www.roblox.com/asset/?id=32727689"
  374. Mesh_2.Parent = Handle_1
  375.  
  376. Fire_1.Color = Color3.new(0,0,0.929)
  377. Fire_1.Enabled = false
  378. Fire_1.Heat = 25
  379. Fire_1.SecondaryColor = Color3.new(1,1,1)
  380. Fire_1.Size = 30
  381. Fire_1.Parent = Handle_1
  382.  
  383. Part_7.Anchored = true
  384. Part_7.BottomSurface = Enum.SurfaceType.Smooth
  385. Part_7.CFrame = CFrame.new(-24.312,5.173,13.02,1,0,0,0,1,0,0,0,1)
  386. Part_7.Color = Color3.new(0.431,0.6,0.792)
  387. Part_7.Material = Enum.Material.SmoothPlastic
  388. Part_7.Reflectance = 0.6
  389. Part_7.Size = Vector3.new(0.05,6.29,5.68)
  390. Part_7.TopSurface = Enum.SurfaceType.Smooth
  391. Part_7.Transparency = 0.6
  392. Part_7.Parent = Model
  393.  
  394. Part_8.Anchored = true
  395. Part_8.CFrame = CFrame.new(-24.115,4.355,8.171,0,0,-1,1,0,0,0,-1,0)
  396. Part_8.Color = Color3.new(0.973,0.973,0.973)
  397. Part_8.Size = Vector3.new(7.57,2.4,0.05)
  398. Part_8.Parent = Model
  399.  
  400. SurfaceGui_8.CanvasSize = Vector2.new(200,100)
  401. SurfaceGui_8.LightInfluence = 0.2
  402. SurfaceGui_8.Parent = Part_8
  403.  
  404. Text_8.Font = Enum.Font.SourceSansBold
  405. Text_8.Text = "D E L I C O U S "
  406. Text_8.TextColor3 = Color3.new(0,0,0)
  407. Text_8.TextSize = 25
  408. Text_8.TextStrokeTransparency = 0
  409. Text_8.TextWrapped = true
  410. Text_8.BackgroundColor3 = Color3.new(1,1,1)
  411. Text_8.Size = UDim2.new(UDim.new(1,0),UDim.new(1,0))
  412. Text_8.Name = "Text"
  413. Text_8.Parent = SurfaceGui_8
  414.  
  415. Part_9.Anchored = true
  416. Part_9.BottomSurface = Enum.SurfaceType.Smooth
  417. Part_9.CFrame = CFrame.new(-26.14,0.103,13.05,1,0,0,0,1,0,0,0,1)
  418. Part_9.Color = Color3.new(0.106,0.165,0.208)
  419. Part_9.Material = Enum.Material.DiamondPlate
  420. Part_9.Size = Vector3.new(4,0.19,5.94)
  421. Part_9.TopSurface = Enum.SurfaceType.Smooth
  422. Part_9.Parent = Model
  423.  
  424.  
  425. for i,v in ipairs(functions) do
  426. spawn(function()
  427. pcall(v)
  428. end)
  429. end
  430. for i,v in ipairs(mas:GetChildren()) do
  431. v.Parent = workspace
  432. end
  433. mas:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement