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"))
- Part0 = Instance.new("Part")
- ClickDetector1 = Instance.new("ClickDetector")
- Script2 = Instance.new("Script")
- LocalScript3 = Instance.new("LocalScript")
- Decal4 = Instance.new("Decal")
- Decal5 = Instance.new("Decal")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Part0.Name = "Work at a Pizza Place"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(120.629974, 9.22000122, 39.840004, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.Position = Vector3.new(120.629974, 9.22000122, 39.840004)
- Part0.Size = Vector3.new(16.3199997, 18.4400024, 15.6799994)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- ClickDetector1.Parent = Part0
- Script2.Parent = ClickDetector1
- table.insert(cors,sandbox(Script2,function()
- script.Parent.MouseClick:connect(function(p)
- tele=script.Teleport:Clone()
- tele.Parent = p.PlayerGui
- tele.Disabled=false
- end)
- end))
- LocalScript3.Name = "Teleport"
- LocalScript3.Parent = Script2
- table.insert(cors,sandbox(LocalScript3,function()
- game:GetService("TeleportService"):Teleport(192800)
- end))
- Decal4.Parent = Part0
- Decal4.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal4.Face = Enum.NormalId.Right
- Decal5.Parent = Part0
- Decal5.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal5.Face = Enum.NormalId.Back
- Decal6.Parent = Part0
- Decal6.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal6.Face = Enum.NormalId.Top
- Decal7.Parent = Part0
- Decal7.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal7.Face = Enum.NormalId.Left
- Decal8.Parent = Part0
- Decal8.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal9.Parent = Part0
- Decal9.Texture = "http://www.roblox.com/asset/?id=415420316"
- Decal9.Face = Enum.NormalId.Bottom
- 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