Advertisement
PhantomFood4

Candy'sDinerLogo

Apr 19th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.20 KB | None | 0 0
  1. local functions = {}
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. local MotherModel = Instance.new("Model", game:GetService("Lighting"))
  17.  
  18. -- DECLARING VARIABLES (Must use global variables because Lua is limited to 200 local variables)
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Part2 = Instance.new("Part")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. SpecialMesh5 = Instance.new("SpecialMesh")
  25. Part6 = Instance.new("Part")
  26. SpecialMesh7 = Instance.new("SpecialMesh")
  27. Part8 = Instance.new("Part")
  28. Part9 = Instance.new("Part")
  29. Part10 = Instance.new("Part")
  30. SpecialMesh11 = Instance.new("SpecialMesh")
  31. Part12 = Instance.new("Part")
  32. Part13 = Instance.new("Part")
  33. SpecialMesh14 = Instance.new("SpecialMesh")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Part18 = Instance.new("Part")
  38.  
  39. -- SETTING PROPERTIES
  40. Model0.Name = "Candy'sDinerLogo"
  41. Part1.CFrame = CFrame.new(68.4533768, 10.1001511, 37, -0.707068563, 0.707145572, 0, -0.707145572, -0.707068563, 0, 0, 0, 1)
  42. Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  43. Part1.Material = Enum.Material.SmoothPlastic
  44. Part1.Size = Vector3.new(0.281313121, 0.074029766, 0.148059532)
  45. Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  46. Part1.Anchored = true
  47. Part1.Rotation = Vector3.new(0, 0, -135)
  48. Part1.Position = Vector3.new(68.4533768, 10.1001511, 37)
  49. Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  50. Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  51. Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  52. Part1.Orientation = Vector3.new(0, 0, -135)
  53. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  54. Part1.BrickColor = BrickColor.new("Mulberry")
  55. Part1.Color = Color3.new(0.34902, 0.133333, 0.34902)
  56. Part2.CFrame = CFrame.new(68.0345993, 10.5189266, 37, -0.707068563, 0.707145572, 0, -0.707145572, -0.707068563, 0, 0, 0, 1)
  57. Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  58. Part2.Material = Enum.Material.SmoothPlastic
  59. Part2.Size = Vector3.new(0.281313121, 0.074029766, 0.148059532)
  60. Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  61. Part2.Anchored = true
  62. Part2.Rotation = Vector3.new(0, 0, -135)
  63. Part2.Position = Vector3.new(68.0345993, 10.5189266, 37)
  64. Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  65. Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  66. Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  67. Part2.Orientation = Vector3.new(0, 0, -135)
  68. Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  69. Part2.BrickColor = BrickColor.new("Neon orange")
  70. Part2.Color = Color3.new(0.835294, 0.45098, 0.239216)
  71. Part3.CFrame = CFrame.new(68.243988, 10.6056576, 37, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  72. Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  73. Part3.Material = Enum.Material.SmoothPlastic
  74. Part3.Size = Vector3.new(0.281313121, 0.074029766, 0.177671462)
  75. Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  76. Part3.Anchored = true
  77. Part3.Position = Vector3.new(68.243988, 10.6056576, 37)
  78. Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  79. Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  80. Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  81. Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  82. Part3.BrickColor = BrickColor.new("Really red")
  83. Part3.Color = Color3.new(1, 0, 0)
  84. Part4.CFrame = CFrame.new(68.4874039, 10.5529537, 37, 0.707068086, -0.707145572, 0, 0.707145572, 0.707068086, 0, 0, 0, 1)
  85. Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  86. Part4.Material = Enum.Material.SmoothPlastic
  87. Part4.Size = Vector3.new(0.0500000007, 0.518208325, 0.444178611)
  88. Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  89. Part4.Anchored = true
  90. Part4.Rotation = Vector3.new(0, 0, 45)
  91. Part4.Position = Vector3.new(68.4874039, 10.5529537, 37)
  92. Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  93. Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  94. Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  95. Part4.CanCollide = false
  96. Part4.Orientation = Vector3.new(0, 0, 45)
  97. Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  98. Part4.BrickColor = BrickColor.new("Really black")
  99. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  100. SpecialMesh5.Scale = Vector3.new(0.148059472, 1, 1)
  101. SpecialMesh5.MeshType = Enum.MeshType.Cylinder
  102. Part6.CFrame = CFrame.new(68.5685349, 10.6340961, 37, 0.707068086, -0.707145572, 0, 0.707145572, 0.707068086, 0, 0, 0, 1)
  103. Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  104. Part6.Material = Enum.Material.SmoothPlastic
  105. Part6.Size = Vector3.new(0.370148838, 0.222089291, 0.296119064)
  106. Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  107. Part6.Anchored = true
  108. Part6.Rotation = Vector3.new(0, 0, 45)
  109. Part6.Position = Vector3.new(68.5685349, 10.6340961, 37)
  110. Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  111. Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  112. Part6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  113. Part6.Orientation = Vector3.new(0, 0, 45)
  114. Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  115. Part6.BrickColor = BrickColor.new("Really black")
  116. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  117. SpecialMesh7.MeshType = Enum.MeshType.Cylinder
  118. Part8.CFrame = CFrame.new(68.1699142, 10.1761036, 37, 0.965929627, 0.258804798, 0, -0.258804798, 0.965929627, 0, 0, 0, 1)
  119. Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  120. Part8.Material = Enum.Material.SmoothPlastic
  121. Part8.Size = Vector3.new(0.148059547, 0.074029766, 0.148059532)
  122. Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  123. Part8.Anchored = true
  124. Part8.Rotation = Vector3.new(0, 0, -15)
  125. Part8.Position = Vector3.new(68.1699142, 10.1761036, 37)
  126. Part8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  127. Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  128. Part8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  129. Part8.Orientation = Vector3.new(0, 0, -15)
  130. Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  131. Part8.BrickColor = BrickColor.new("Really blue")
  132. Part8.Color = Color3.new(0, 0, 1)
  133. Part9.CFrame = CFrame.new(68.243988, 10.0134201, 37, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  134. Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  135. Part9.Material = Enum.Material.SmoothPlastic
  136. Part9.Size = Vector3.new(0.281313121, 0.074029766, 0.177671462)
  137. Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  138. Part9.Anchored = true
  139. Part9.Position = Vector3.new(68.243988, 10.0134201, 37)
  140. Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  141. Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  142. Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  143. Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  144. Part9.BrickColor = BrickColor.new("Navy blue")
  145. Part9.Color = Color3.new(0, 0.12549, 0.376471)
  146. Part10.CFrame = CFrame.new(68.4560013, 10.5215445, 37, 0.707068086, -0.707145572, 0, 0.707145572, 0.707068086, 0, 0, 0, 1)
  147. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  148. Part10.Material = Enum.Material.SmoothPlastic
  149. Part10.Size = Vector3.new(0.0518208258, 0.518208325, 0.444178611)
  150. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  151. Part10.Anchored = true
  152. Part10.Rotation = Vector3.new(0, 0, 45)
  153. Part10.Position = Vector3.new(68.4560013, 10.5215445, 37)
  154. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  155. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  156. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  157. Part10.Orientation = Vector3.new(0, 0, 45)
  158. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  159. Part10.BrickColor = BrickColor.new("Really black")
  160. Part10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  161. SpecialMesh11.MeshType = Enum.MeshType.Cylinder
  162. Part12.CFrame = CFrame.new(67.9478683, 10.3095379, 37, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  163. Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  164. Part12.Material = Enum.Material.SmoothPlastic
  165. Part12.Size = Vector3.new(0.281313121, 0.074029766, 0.177671462)
  166. Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  167. Part12.Anchored = true
  168. Part12.Rotation = Vector3.new(0, 0, 90)
  169. Part12.Position = Vector3.new(67.9478683, 10.3095379, 37)
  170. Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  171. Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  172. Part12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  173. Part12.Orientation = Vector3.new(0, 0, 90)
  174. Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  175. Part12.BrickColor = BrickColor.new("New Yeller")
  176. Part12.Color = Color3.new(1, 1, 0)
  177. Part13.CFrame = CFrame.new(68.4795532, 10.5451012, 37, 0.707068086, -0.707145572, 0, 0.707145572, 0.707068086, 0, 0, 0, 1)
  178. Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  179. Part13.Material = Enum.Material.SmoothPlastic
  180. Part13.Size = Vector3.new(0.0500000007, 0.518208325, 0.444178611)
  181. Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  182. Part13.Anchored = true
  183. Part13.Rotation = Vector3.new(0, 0, 45)
  184. Part13.Position = Vector3.new(68.4795532, 10.5451012, 37)
  185. Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  186. Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  187. Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  188. Part13.CanCollide = false
  189. Part13.Orientation = Vector3.new(0, 0, 45)
  190. Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  191. Part13.BrickColor = BrickColor.new("Maroon")
  192. Part13.Color = Color3.new(0.458824, 0, 0)
  193. SpecialMesh14.Scale = Vector3.new(0.296118945, 1, 1)
  194. SpecialMesh14.MeshType = Enum.MeshType.Cylinder
  195. Part15.CFrame = CFrame.new(68.3154984, 10.2903776, 37, 0.965929627, 0.258804798, 0, -0.258804798, 0.965929627, 0, 0, 0, 1)
  196. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  197. Part15.Material = Enum.Material.SmoothPlastic
  198. Part15.Size = Vector3.new(0.0740297735, 0.370148808, 0.148059532)
  199. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  200. Part15.Anchored = true
  201. Part15.Rotation = Vector3.new(0, 0, -15)
  202. Part15.Position = Vector3.new(68.3154984, 10.2903776, 37)
  203. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  204. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  205. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  206. Part15.Orientation = Vector3.new(0, 0, -15)
  207. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  208. Part15.BrickColor = BrickColor.new("Really blue")
  209. Part15.Color = Color3.new(0, 0, 1)
  210. Part16.CFrame = CFrame.new(68.0345993, 10.1001511, 37, -0.707134247, -0.707079291, 0, 0.707079291, -0.707134247, 0, 0, 0, 1)
  211. Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  212. Part16.Material = Enum.Material.SmoothPlastic
  213. Part16.Size = Vector3.new(0.281313121, 0.074029766, 0.148059532)
  214. Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  215. Part16.Anchored = true
  216. Part16.Rotation = Vector3.new(0, 0, 135)
  217. Part16.Position = Vector3.new(68.0345993, 10.1001511, 37)
  218. Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  219. Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  220. Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  221. Part16.Orientation = Vector3.new(0, 0, 135)
  222. Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  223. Part16.BrickColor = BrickColor.new("Lime green")
  224. Part16.Color = Color3.new(0, 1, 0)
  225. Part17.CFrame = CFrame.new(68.2465591, 10.4621334, 37, 0.965929627, 0.258804798, 0, -0.258804798, 0.965929627, 0, 0, 0, 1)
  226. Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  227. Part17.Material = Enum.Material.SmoothPlastic
  228. Part17.Size = Vector3.new(0.148059547, 0.074029766, 0.148059532)
  229. Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  230. Part17.Anchored = true
  231. Part17.Rotation = Vector3.new(0, 0, -15)
  232. Part17.Position = Vector3.new(68.2465591, 10.4621334, 37)
  233. Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  234. Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  235. Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  236. Part17.Orientation = Vector3.new(0, 0, -15)
  237. Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  238. Part17.BrickColor = BrickColor.new("Really blue")
  239. Part17.Color = Color3.new(0, 0, 1)
  240. Part18.CFrame = CFrame.new(68.5401077, 10.3095379, 37, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  241. Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  242. Part18.Material = Enum.Material.SmoothPlastic
  243. Part18.Size = Vector3.new(0.281313121, 0.074029766, 0.177671462)
  244. Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  245. Part18.Anchored = true
  246. Part18.Rotation = Vector3.new(0, 0, 90)
  247. Part18.Position = Vector3.new(68.5401077, 10.3095379, 37)
  248. Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  249. Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  250. Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  251. Part18.Orientation = Vector3.new(0, 0, 90)
  252. Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  253. Part18.BrickColor = BrickColor.new("Magenta")
  254. Part18.Color = Color3.new(0.666667, 0, 0.666667)
  255.  
  256.  
  257. Model0.Parent = MotherModel
  258. Part1.Parent = Model0
  259. Part2.Parent = Model0
  260. Part3.Parent = Model0
  261. Part4.Parent = Model0
  262. SpecialMesh5.Parent = Part4
  263. Part6.Parent = Model0
  264. SpecialMesh7.Parent = Part6
  265. Part8.Parent = Model0
  266. Part9.Parent = Model0
  267. Part10.Parent = Model0
  268. SpecialMesh11.Parent = Part10
  269. Part12.Parent = Model0
  270. Part13.Parent = Model0
  271. SpecialMesh14.Parent = Part13
  272. Part15.Parent = Model0
  273. Part16.Parent = Model0
  274. Part17.Parent = Model0
  275. Part18.Parent = Model0
  276.  
  277. for i,v in pairs(functions) do
  278. spawn(function()
  279. pcall(v)
  280. end)
  281. end
  282.  
  283. for i,v in pairs(MotherModel:GetChildren()) do
  284. v.Parent = workspace
  285. end
  286. MotherModel:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement