Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return script
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- Wo = Instance.new("Model",game:GetService("Lighting"))
- Wo.Name = "CompiledModel"
- local b1 = Instance.new("Part")
- local b2 = Instance.new("Part")
- local b3 = Instance.new("Part")
- local b4 = Instance.new("Part")
- local b5 = Instance.new("Part")
- local b6 = Instance.new("Part")
- local b7 = Instance.new("Part")
- local b8 = Instance.new("Part")
- local bp = Instance.new("Part")
- local Shrek = Instance.new("Decal")
- local truss = Instance.new("TrussPart")
- local bn = Instance.new("Part")
- bn.Name = "bn"
- local bnl = Instance.new("PointLight")
- local bnd = Instance.new("Decal")
- local sound = Instance.new("Sound")
- local sp = Instance.new("Part")
- sp.Name = "GameSpawn"
- local tp = Instance.new("Part")
- tp.Name = "tp"
- local sz = Instance.new("Part")
- sz.Name = "safezone"
- local bfloor = Instance.new("Part")
- --Wo.Parent = workspace
- wait(0.2)
- local W = Wo
- b1.Parent = W
- b1.Position = Vector3.new(-53.949, 21.553, -79.903)
- b1.Orientation = Vector3.new(0, 0, 0)
- b1.Size = Vector3.new(0.543, 43.105, 45.265)
- b1.Anchored = true
- b1.BrickColor = BrickColor.new("Cork")
- b1.Material = Enum.Material.SmoothPlastic
- b2.Parent = W
- b2.Position = Vector3.new(-30.621, 22.409, -101.942)
- b2.Orientation = Vector3.new(0, 0, 0)
- b2.Size = Vector3.new(47.199, 43.105, 1.186)
- b2.Anchored = true
- b2.BrickColor = BrickColor.new("Cork")
- b2.Material = Enum.Material.SmoothPlastic
- b3.Parent = W
- b3.Position = Vector3.new(-7.424, 22.409, -79.903)
- b3.Orientation = Vector3.new(0, 0, 0)
- b3.Size = Vector3.new(0.543, 43.105, 45.265)
- b3.Anchored = true
- b3.BrickColor = BrickColor.new("Cork")
- b3.Material = Enum.Material.SmoothPlastic
- b4.Parent = W
- b4.Position = Vector3.new(-30.621, 29.006, -57.776)
- b4.Orientation = Vector3.new(0, 0, 0)
- b4.Size = Vector3.new(47.199, 29.912, 1.186)
- b4.Anchored = true
- b4.BrickColor = BrickColor.new("Cork")
- b4.Material = Enum.Material.SmoothPlastic
- b5.Parent = W
- b5.Position = Vector3.new(-47.034, 7.05, -57.776)
- b5.Orientation = Vector3.new(0, 0, 0)
- b5.Size = Vector3.new(14.373, 14.1, 1.186)
- b5.Anchored = true
- b5.BrickColor = BrickColor.new("Cork")
- b5.Material = Enum.Material.SmoothPlastic
- b6.Parent = W
- b6.Position = Vector3.new(-14.358, 7.05, -57.776)
- b6.Orientation = Vector3.new(0, 0, 0)
- b6.Size = Vector3.new(14.373, 14.1, 1.186)
- b6.Anchored = true
- b6.BrickColor = BrickColor.new("Cork")
- b6.Material = Enum.Material.SmoothPlastic
- b7.Parent = W
- b7.Position = Vector3.new(2.166, 50.652, -79.903)
- b7.Orientation = Vector3.new(0, 0, -55)
- b7.Size = Vector3.new(0.543, 23.464, 45.265)
- b7.Anchored = true
- b7.BrickColor = BrickColor.new("Cork")
- b7.Material = Enum.Material.SmoothPlastic
- b8.Parent = W
- b8.Position = Vector3.new(-63.741, 50.53, -79.903)
- b8.Orientation = Vector3.new(0, 0, -35)
- b8.Size = Vector3.new(24.45, 0.577, 45.265)
- b8.Anchored = true
- b8.BrickColor = BrickColor.new("Cork")
- b8.Material = Enum.Material.SmoothPlastic
- bp.Parent = W
- bp.Position = Vector3.new(-41.371, 9.227, -101.324)
- bp.Orientation = Vector3.new(0, 180, -15)
- bp.Size = Vector3.new(6.56, 6.084, 0.05)
- bp.Anchored = true
- bp.BrickColor = BrickColor.new("Institutional white")
- bp.Material = Enum.Material.SmoothPlastic
- Shrek.Parent = bp
- Shrek.Texture = "http://www.roblox.com/asset/?id=4673386763"
- bn.Parent = W
- bn.Position = Vector3.new(-31.213, 6.875, -100.017)
- bn.Orientation = Vector3.new(0, 180, 0)
- bn.Size = Vector3.new(16.282, 10.896, 1.459)
- bn.Anchored = true
- bn.Transparency = 1
- bn.BrickColor = BrickColor.new("Institutional white")
- bn.Material = Enum.Material.SmoothPlastic
- bnl.Parent = bn
- bnl.Brightness = 1
- bnl.Range = 18
- bnd.Parent = bn
- bnd.Texture = "http://www.roblox.com/asset/?id=6357211783"
- sound.Parent = bn
- sound.Volume = 5
- sound.Looped = true
- sound.Playing = true
- sound.SoundId = "http://www.roblox.com/asset/?id=504876952"
- truss.Parent = W
- truss.Position = Vector3.new(-12.262, 22.19, -99.505)
- truss.Orientation = Vector3.new(0, 0, 0)
- truss.Size = Vector3.new(2, 42.64, 2)
- truss.Anchored = true
- truss.BrickColor = BrickColor.new("Cork")
- truss.Material = Enum.Material.Neon
- sp.Parent = W
- sp.Position = Vector3.new(-30.767, 18.679, -79.903)
- sp.Orientation = Vector3.new(0, 0, 0)
- sp.Size = Vector3.new(12, 1, 12)
- sp.Anchored = true
- sp.BrickColor = BrickColor.new("Cork")
- sp.Material = Enum.Material.SmoothPlastic
- sp.Transparency = 1
- sp.CanCollide = false
- tp.Parent = W
- tp.Position = Vector3.new(-9.75, 0.5, 66.38)
- tp.Orientation = Vector3.new(0, 0, 0)
- tp.Size = Vector3.new(2048, 1, 2027.976)
- tp.Anchored = true
- tp.BrickColor = BrickColor.new("Bright green")
- tp.Material = Enum.Material.Neon
- sz.Parent = W
- sz.Position = Vector3.new(-9.176, 1.304, -78.906)
- sz.Orientation = Vector3.new(0, 0, 0)
- sz.Size = Vector3.new(2.854, 0.869, 3.605)
- sz.Anchored = true
- sz.BrickColor = tp.BrickColor
- sz.Material = Enum.Material.Neon
- -------
- ----------
- bfloor.Parent = W
- bfloor.Position = Vector3.new(-30.767, 1.291, -79.903)
- bfloor.Orientation = Vector3.new(0, 0, 0)
- bfloor.Size = Vector3.new(46.905, 0.869, 45.265)
- bfloor.Anchored = true
- bfloor.BrickColor = BrickColor.new("Cork")
- bfloor.Material = Enum.Material.SmoothPlastic
- print("end")
- Wo.Parent = workspace
- Wo:MakeJoints()
- local mas1 = Wo:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- Wo:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- local safezone = true
- game.Workspace.tp.Touched:Connect(function(hit)
- if safezone == false then
- local char = hit.Parent
- char.HumanoidRootPart.CFrame = game.Workspace.GameSpawn.CFrame
- else
- end
- end)
- game.Workspace.safezone.Touched:Connect(function(hit)
- if safezone == true then
- safezone = false
- game.Workspace.safezone.BrickColor = BrickColor.new("Really red")
- game.Workspace.tp.BrickColor = BrickColor.new("Really red")
- else
- safezone = true
- game.Workspace.safezone.BrickColor = BrickColor.new("Bright green")
- game.Workspace.tp.BrickColor = BrickColor.new("Bright green")
- end
- end)
Add Comment
Please, Sign In to add comment