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"))
- Script0 = Instance.new("Script")
- Sound1 = Instance.new("Sound")
- Part2 = Instance.new("Part")
- Script3 = Instance.new("Script")
- Script3.Parent = Part2
- table.insert(cors,sandbox(Script3,function()
- local TeleportService = game:GetService("TeleportService")
- local gameID = 1190539933
- function onTouched(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player then
- TeleportService:Teleport(gameID, player)
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound1.Parent = mas
- Sound1.Pitch = 0.89999997615814
- Sound1.SoundId = "rbxassetid://138108793"
- Sound1.Volume = 10
- Sound1.Looped = true
- Part2.Parent = mas
- Part2.BrickColor = BrickColor.new("Plum")
- Part2.Anchored = true
- Part2.Size = Vector3.new(1489.96997, 351, 1695.63)
- Part2.CFrame = CFrame.new(-146.205017, 175.5, 35.3950195, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
- Part2.Position = Vector3.new(-146.205017, 175.5, 35.3950195)
- Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
- Script3.Parent = Part2
- table.insert(cors,sandbox(Script3,function()
- local TeleportService = game:GetService("TeleportService")
- local gameID = 1190539933
- function onTouched(hit)
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- if player then
- TeleportService:Teleport(gameID, player)
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- 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