hawoody

Rainbow Flashing Room

May 14th, 2018
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.02 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  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. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. local chil = workspace:GetChildren()
  19. for i,v in pairs(chil) do
  20. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  21. v:Destroy()
  22. end
  23. end
  24. Part0 = Instance.new("Part")
  25. Part1 = Instance.new("Part")
  26. Script2 = Instance.new("Script")
  27. Part3 = Instance.new("Part")
  28. Script4 = Instance.new("Script")
  29. Part5 = Instance.new("Part")
  30. Script6 = Instance.new("Script")
  31. Part7 = Instance.new("Part")
  32. Script8 = Instance.new("Script")
  33. Part9 = Instance.new("Part")
  34. Script10 = Instance.new("Script")
  35. Part11 = Instance.new("Part")
  36. Script12 = Instance.new("Script")
  37. Part0.Name = "Baseplate"
  38. Part0.Parent = mas
  39. Part0.BrickColor = BrickColor.new("Dark stone grey")
  40. Part0.Anchored = true
  41. Part0.Locked = true
  42. Part0.FormFactor = Enum.FormFactor.Symmetric
  43. Part0.Size = Vector3.new(512, 20, 512)
  44. Part0.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  45. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  46. Part0.Position = Vector3.new(0, -10, 0)
  47. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  48. Part1.Name = "Color Changing Block: Outreagously"
  49. Part1.Parent = mas
  50. Part1.Material = Enum.Material.Neon
  51. Part1.BrickColor = BrickColor.new("Bright bluish green")
  52. Part1.Anchored = true
  53. Part1.Size = Vector3.new(512, 0.200000048, 512)
  54. Part1.CFrame = CFrame.new(0, 0.099999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  55. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  56. Part1.Position = Vector3.new(0, 0.099999994, 0)
  57. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  58. Script2.Parent = Part1
  59. table.insert(cors,sandbox(Script2,function()
  60. while true do
  61. script.Parent.BrickColor = BrickColor.Random()
  62. wait(0.1)
  63. script.Parent.BrickColor = BrickColor.Random()
  64. wait(0.1)
  65. end
  66. end))
  67. Part3.Name = "Color Changing Block: Outreagously"
  68. Part3.Parent = mas
  69. Part3.Material = Enum.Material.Neon
  70. Part3.BrickColor = BrickColor.new("Bright bluish green")
  71. Part3.Rotation = Vector3.new(-90, 0, -180)
  72. Part3.Anchored = true
  73. Part3.Size = Vector3.new(512, 0.200000048, 183)
  74. Part3.CFrame = CFrame.new(0, 91.6999969, -255.899994, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  75. Part3.Color = Color3.new(0, 0.560784, 0.611765)
  76. Part3.Position = Vector3.new(0, 91.6999969, -255.899994)
  77. Part3.Orientation = Vector3.new(-90, -180, 0)
  78. Part3.Color = Color3.new(0, 0.560784, 0.611765)
  79. Script4.Parent = Part3
  80. table.insert(cors,sandbox(Script4,function()
  81. while true do
  82. script.Parent.BrickColor = BrickColor.Random()
  83. wait(0.1)
  84. script.Parent.BrickColor = BrickColor.Random()
  85. wait(0.1)
  86. end
  87. end))
  88. Part5.Name = "Color Changing Block: Outreagously"
  89. Part5.Parent = mas
  90. Part5.Material = Enum.Material.Neon
  91. Part5.BrickColor = BrickColor.new("Bright bluish green")
  92. Part5.Rotation = Vector3.new(-90, 0, -180)
  93. Part5.Anchored = true
  94. Part5.Size = Vector3.new(512, 0.200000048, 183)
  95. Part5.CFrame = CFrame.new(0, 91.6999969, 255.100006, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  96. Part5.Color = Color3.new(0, 0.560784, 0.611765)
  97. Part5.Position = Vector3.new(0, 91.6999969, 255.100006)
  98. Part5.Orientation = Vector3.new(-90, -180, 0)
  99. Part5.Color = Color3.new(0, 0.560784, 0.611765)
  100. Script6.Parent = Part5
  101. table.insert(cors,sandbox(Script6,function()
  102. while true do
  103. script.Parent.BrickColor = BrickColor.Random()
  104. wait(0.1)
  105. script.Parent.BrickColor = BrickColor.Random()
  106. wait(0.1)
  107. end
  108. end))
  109. Part7.Name = "Color Changing Block: Outreagously"
  110. Part7.Parent = mas
  111. Part7.Material = Enum.Material.Neon
  112. Part7.BrickColor = BrickColor.new("Bright bluish green")
  113. Part7.Rotation = Vector3.new(-90, 0, -180)
  114. Part7.Anchored = true
  115. Part7.Size = Vector3.new(1, 511.200012, 183)
  116. Part7.CFrame = CFrame.new(255.5, 91.6999969, -0.399999976, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  117. Part7.Color = Color3.new(0, 0.560784, 0.611765)
  118. Part7.Position = Vector3.new(255.5, 91.6999969, -0.399999976)
  119. Part7.Orientation = Vector3.new(-90, -180, 0)
  120. Part7.Color = Color3.new(0, 0.560784, 0.611765)
  121. Script8.Parent = Part7
  122. table.insert(cors,sandbox(Script8,function()
  123. while true do
  124. script.Parent.BrickColor = BrickColor.Random()
  125. wait(0.1)
  126. script.Parent.BrickColor = BrickColor.Random()
  127. wait(0.1)
  128. end
  129. end))
  130. Part9.Name = "Color Changing Block: Outreagously"
  131. Part9.Parent = mas
  132. Part9.Material = Enum.Material.Neon
  133. Part9.BrickColor = BrickColor.new("Bright bluish green")
  134. Part9.Rotation = Vector3.new(-90, 0, -180)
  135. Part9.Anchored = true
  136. Part9.Size = Vector3.new(1, 511.200012, 183)
  137. Part9.CFrame = CFrame.new(-255.5, 91.6999969, -0.399999976, -1, 0, 0, -0, 0, 1, -0, 1, 0)
  138. Part9.Color = Color3.new(0, 0.560784, 0.611765)
  139. Part9.Position = Vector3.new(-255.5, 91.6999969, -0.399999976)
  140. Part9.Orientation = Vector3.new(-90, -180, 0)
  141. Part9.Color = Color3.new(0, 0.560784, 0.611765)
  142. Script10.Parent = Part9
  143. table.insert(cors,sandbox(Script10,function()
  144. while true do
  145. script.Parent.BrickColor = BrickColor.Random()
  146. wait(0.1)
  147. script.Parent.BrickColor = BrickColor.Random()
  148. wait(0.1)
  149. end
  150. end))
  151. Part11.Name = "Color Changing Block: Outreagously"
  152. Part11.Parent = mas
  153. Part11.Material = Enum.Material.Neon
  154. Part11.BrickColor = BrickColor.new("Bright bluish green")
  155. Part11.Anchored = true
  156. Part11.Size = Vector3.new(512, 0.200000048, 512)
  157. Part11.CFrame = CFrame.new(0, 181.100006, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  158. Part11.Color = Color3.new(0, 0.560784, 0.611765)
  159. Part11.Position = Vector3.new(0, 181.100006, 0)
  160. Part11.Color = Color3.new(0, 0.560784, 0.611765)
  161. Script12.Parent = Part11
  162. table.insert(cors,sandbox(Script12,function()
  163. while true do
  164. script.Parent.BrickColor = BrickColor.Random()
  165. wait(0.1)
  166. script.Parent.BrickColor = BrickColor.Random()
  167. wait(0.1)
  168. end
  169. end))
  170. for i,v in pairs(mas:GetChildren()) do
  171. v.Parent = workspace
  172. pcall(function() v:MakeJoints() end)
  173. end
  174. mas:Destroy()
  175. for i,v in pairs(cors) do
  176. spawn(function()
  177. pcall(v)
  178. end)
  179. end
Add Comment
Please, Sign In to add comment