Advertisement
BNutty07

fefe

Nov 23rd, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Script0 = Instance.new("Script")
  20. Sound1 = Instance.new("Sound")
  21. Part2 = Instance.new("Part")
  22. Script3 = Instance.new("Script")
  23. Script3.Parent = Part2
  24. table.insert(cors,sandbox(Script3,function()
  25. local TeleportService = game:GetService("TeleportService")
  26. local gameID = 1190539933
  27.  
  28. function onTouched(hit)
  29. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  30. if player then
  31. TeleportService:Teleport(gameID, player)
  32. end
  33. end
  34.  
  35. script.Parent.Touched:connect(onTouched)
  36.  
  37. end))
  38. Sound1.Parent = mas
  39. Sound1.Pitch = 0.89999997615814
  40. Sound1.SoundId = "rbxassetid://138108793"
  41. Sound1.Volume = 10
  42. Sound1.Looped = true
  43. Part2.Parent = mas
  44. Part2.BrickColor = BrickColor.new("Plum")
  45. Part2.Anchored = true
  46. Part2.Size = Vector3.new(1489.96997, 351, 1695.63)
  47. Part2.CFrame = CFrame.new(-146.205017, 175.5, 35.3950195, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  48. Part2.BottomSurface = Enum.SurfaceType.Smooth
  49. Part2.TopSurface = Enum.SurfaceType.Smooth
  50. Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
  51. Part2.Position = Vector3.new(-146.205017, 175.5, 35.3950195)
  52. Part2.Color = Color3.new(0.482353, 0.184314, 0.482353)
  53. Script3.Parent = Part2
  54. table.insert(cors,sandbox(Script3,function()
  55. local TeleportService = game:GetService("TeleportService")
  56. local gameID = 1190539933
  57.  
  58. function onTouched(hit)
  59. local player = game.Players:GetPlayerFromCharacter(hit.Parent)
  60. if player then
  61. TeleportService:Teleport(gameID, player)
  62. end
  63. end
  64.  
  65. script.Parent.Touched:connect(onTouched)
  66.  
  67. end))
  68. for i,v in pairs(mas:GetChildren()) do
  69. v.Parent = workspace
  70. pcall(function() v:MakeJoints() end)
  71. end
  72. mas:Destroy()
  73. for i,v in pairs(cors) do
  74. spawn(function()
  75. pcall(v)
  76. end)
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement