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(Enum,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"))
- Part0 = Instance.new("Part")
- Script1 = Instance.new("Script")
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(17.2350311, 105.684937, 29.2550507, 0, -1, 5.06639481e-07, 0, 5.06639481e-07, 1, -1, 2.56683563e-13, 0)
- Part0.Orientation = Vector3.new(-90, 90, 0)
- Part0.Position = Vector3.new(17.2350311, 105.684937, 29.2550507)
- Part0.Rotation = Vector3.new(-90, 0, 90)
- Part0.Color = Color3.new(0.298039, 1, 0)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(719.770081, 640.2099, 211.369965)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.BrickColor = BrickColor.new("Lime green")
- Part0.CanCollide = false
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.brickColor = BrickColor.new("Lime green")
- Script1.Parent = Part0
- table.insert(cors,sandbox(Script1,function()
- local function onTouch(hit)
- b = Instance.new("Sky")
- b.Parent = game.Lighting
- b.SkyboxBk = "rbxassetid://510033734"
- b.SkyboxDn = "rbxassetid://510033548"
- b.SkyboxFt = "rbxassetid://510033858"
- b.SkyboxLf = "rbxassetid://510033352"
- b.SkyboxRt = "rbxassetid://510033651"
- b.SkyboxUp = "rbxassetid://510033905"
- end
- script.Parent.Touched:connect(onTouch)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement