Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Script2 = Instance.new("Script")
- Weld3 = Instance.new("Weld")
- Part4 = Instance.new("Part")
- Script5 = Instance.new("Script")
- Weld6 = Instance.new("Weld")
- Part7 = Instance.new("Part")
- Script8 = Instance.new("Script")
- Weld9 = Instance.new("Weld")
- Part10 = Instance.new("Part")
- Script11 = Instance.new("Script")
- Weld12 = Instance.new("Weld")
- Part13 = Instance.new("Part")
- Script14 = Instance.new("Script")
- Weld15 = Instance.new("Weld")
- Model0.Name = "Skin Colors"
- Model0.Parent = mas
- Part1.Name = "Smooth Block Model"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Reddish brown")
- Part1.Rotation = Vector3.new(0, 0, -180)
- Part1.Anchored = true
- Part1.CanCollide = false
- Part1.Size = Vector3.new(1, 6, 4)
- Part1.CFrame = CFrame.new(-6, 2.99999905, -1.49995005, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Weld
- Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part1.Position = Vector3.new(-6, 2.99999905, -1.49995005)
- Part1.Orientation = Vector3.new(0, 0, 180)
- Part1.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Script2.Parent = Part1
- table.insert(cors,sandbox(Script2,function()
- bin = script.Parent
- function onTouched(part)
- part.BrickColor = script.Parent.BrickColor
- wait(.3)
- end
- connection = bin.Touched:connect(onTouched)
- end))
- Weld3.Parent = Part1
- Weld3.C0 = CFrame.new(-50.5, 7.80000019, 3, 2.56730509e-12, 4.91654183e-11, 1, -6.29851504e-10, -1, -4.91654183e-11, 1, 6.29851504e-10, 2.56730509e-12)
- Weld3.C1 = CFrame.new(0.5, -8.80000019, 50.5, -1, -6.29851504e-10, -2.56730509e-12, 6.29851504e-10, 1, 4.91654183e-11, -2.56730509e-12, -4.91654183e-11, -1)
- Part4.Name = "Smooth Block Model"
- Part4.Parent = Model0
- Part4.BrickColor = BrickColor.new("Brown")
- Part4.Rotation = Vector3.new(0, 0, -180)
- Part4.Anchored = true
- Part4.CanCollide = false
- Part4.Size = Vector3.new(1, 6, 4)
- Part4.CFrame = CFrame.new(-6, 2.99999905, -6.49999619, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Weld
- Part4.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Part4.Position = Vector3.new(-6, 2.99999905, -6.49999619)
- Part4.Orientation = Vector3.new(0, 0, 180)
- Part4.Color = Color3.new(0.486275, 0.360784, 0.27451)
- Script5.Parent = Part4
- table.insert(cors,sandbox(Script5,function()
- bin = script.Parent
- function onTouched(part)
- part.BrickColor = script.Parent.BrickColor
- wait(.3)
- end
- connection = bin.Touched:connect(onTouched)
- end))
- Weld6.Parent = Part4
- Weld6.C0 = CFrame.new(-50.5, 7.80000019, 3, 2.56730509e-12, 4.91654183e-11, 1, -6.29851504e-10, -1, -4.91654183e-11, 1, 6.29851504e-10, 2.56730509e-12)
- Weld6.C1 = CFrame.new(0.5, -8.80000019, 50.5, -1, -6.29851504e-10, -2.56730509e-12, 6.29851504e-10, 1, 4.91654183e-11, -2.56730509e-12, -4.91654183e-11, -1)
- Part7.Name = "Smooth Block Model"
- Part7.Parent = Model0
- Part7.BrickColor = BrickColor.new("Nougat")
- Part7.Rotation = Vector3.new(0, 0, -180)
- Part7.Anchored = true
- Part7.CanCollide = false
- Part7.Size = Vector3.new(1, 6, 4)
- Part7.CFrame = CFrame.new(-6, 2.99999905, -11.5000458, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Weld
- Part7.Color = Color3.new(0.8, 0.556863, 0.411765)
- Part7.Position = Vector3.new(-6, 2.99999905, -11.5000458)
- Part7.Orientation = Vector3.new(0, 0, 180)
- Part7.Color = Color3.new(0.8, 0.556863, 0.411765)
- Script8.Parent = Part7
- table.insert(cors,sandbox(Script8,function()
- bin = script.Parent
- function onTouched(part)
- part.BrickColor = script.Parent.BrickColor
- wait(.3)
- end
- connection = bin.Touched:connect(onTouched)
- end))
- Weld9.Parent = Part7
- Weld9.C0 = CFrame.new(-50.5, 7.80000019, 3, 2.56730509e-12, 4.91654183e-11, 1, -6.29851504e-10, -1, -4.91654183e-11, 1, 6.29851504e-10, 2.56730509e-12)
- Weld9.C1 = CFrame.new(0.5, -8.80000019, 50.5, -1, -6.29851504e-10, -2.56730509e-12, 6.29851504e-10, 1, 4.91654183e-11, -2.56730509e-12, -4.91654183e-11, -1)
- Part10.Name = "Smooth Block Model"
- Part10.Parent = Model0
- Part10.BrickColor = BrickColor.new("Pastel brown")
- Part10.Rotation = Vector3.new(0, 0, -180)
- Part10.Anchored = true
- Part10.CanCollide = false
- Part10.Size = Vector3.new(1, 6, 4)
- Part10.CFrame = CFrame.new(-6, 2.99999905, -16.5000916, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.TopSurface = Enum.SurfaceType.Weld
- Part10.Color = Color3.new(1, 0.8, 0.6)
- Part10.Position = Vector3.new(-6, 2.99999905, -16.5000916)
- Part10.Orientation = Vector3.new(0, 0, 180)
- Part10.Color = Color3.new(1, 0.8, 0.6)
- Script11.Parent = Part10
- table.insert(cors,sandbox(Script11,function()
- bin = script.Parent
- function onTouched(part)
- part.BrickColor = script.Parent.BrickColor
- wait(.3)
- end
- connection = bin.Touched:connect(onTouched)
- end))
- Weld12.Parent = Part10
- Weld12.C0 = CFrame.new(-50.5, 7.80000019, 3, 2.56730509e-12, 4.91654183e-11, 1, -6.29851504e-10, -1, -4.91654183e-11, 1, 6.29851504e-10, 2.56730509e-12)
- Weld12.C1 = CFrame.new(0.5, -8.80000019, 50.5, -1, -6.29851504e-10, -2.56730509e-12, 6.29851504e-10, 1, 4.91654183e-11, -2.56730509e-12, -4.91654183e-11, -1)
- Part13.Name = "Smooth Block Model"
- Part13.Parent = Model0
- Part13.BrickColor = BrickColor.new("Light orange")
- Part13.Rotation = Vector3.new(0, 0, -180)
- Part13.Anchored = true
- Part13.CanCollide = false
- Part13.Size = Vector3.new(1, 6, 4)
- Part13.CFrame = CFrame.new(-6, 2.99999905, -21.5001488, -1, 0, 0, 0, -1, 0, 0, 0, 1)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.TopSurface = Enum.SurfaceType.Weld
- Part13.Color = Color3.new(0.917647, 0.721569, 0.572549)
- Part13.Position = Vector3.new(-6, 2.99999905, -21.5001488)
- Part13.Orientation = Vector3.new(0, 0, 180)
- Part13.Color = Color3.new(0.917647, 0.721569, 0.572549)
- Script14.Parent = Part13
- table.insert(cors,sandbox(Script14,function()
- bin = script.Parent
- function onTouched(part)
- part.BrickColor = script.Parent.BrickColor
- wait(.3)
- end
- connection = bin.Touched:connect(onTouched)
- end))
- Weld15.Parent = Part13
- Weld15.C0 = CFrame.new(-50.5, 7.80000019, 3, 2.56730509e-12, 4.91654183e-11, 1, -6.29851504e-10, -1, -4.91654183e-11, 1, 6.29851504e-10, 2.56730509e-12)
- Weld15.C1 = CFrame.new(0.5, -8.80000019, 50.5, -1, -6.29851504e-10, -2.56730509e-12, 6.29851504e-10, 1, 4.91654183e-11, -2.56730509e-12, -4.91654183e-11, -1)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement