Advertisement
Godofadmin1337

tedsgfsed

Sep 27th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 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. Part0 = Instance.new("Part")
  20. Script1 = Instance.new("Script")
  21. Part0.Name = "Noooob"
  22. Part0.Parent = mas
  23. Part0.BrickColor = BrickColor.new("Dark stone grey")
  24. Part0.Reflectance = 0.40000000596046
  25. Part0.Rotation = Vector3.new(-90, 0, -180)
  26. Part0.Locked = true
  27. Part0.FormFactor = Enum.FormFactor.Plate
  28. Part0.Size = Vector3.new(2, 1.20000005, 1)
  29. Part0.CFrame = CFrame.new(4.00004101, 0.500029027, -14.7700005, -0.999999762, 2.7361466e-08, 6.92362664e-06, 6.92362664e-06, 5.96046448e-08, 0.999999881, 2.73621481e-08, 0.999999881, 1.78813934e-07)
  30. Part0.BottomSurface = Enum.SurfaceType.Smooth
  31. Part0.TopSurface = Enum.SurfaceType.Smooth
  32. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  33. Part0.Position = Vector3.new(4.00004101, 0.500029027, -14.7700005)
  34. Part0.Orientation = Vector3.new(-89.9700012, 88.5199966, 89.5099945)
  35. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  36. Script1.Parent = Part0
  37. table.insert(cors,sandbox(Script1,function()
  38. -- YouTube: Lentilkač 58 ( http://youtube.com/channel/UCGW_ltdykdCjQE6kHRn7sPw/ )
  39. -- Skype: Lentilkac58
  40. -- By: Lentilkac58 ( https://www.roblox.com/users/171327977/profile )
  41. -- Date: 30.8.2017
  42. local Teleport = "Lentilkac58-Easy-Teleport-2" --Put the name of the Part between the ""s.
  43. function Touch(hit) --Indicates that the Part has been Touched.
  44. if script.Parent.Locked == false and script.Parent.Parent:findFirstChild(Teleport).Locked == false then script.Parent.Locked = true script.Parent.Parent:findFirstChild(Teleport).Locked = true --Checks Debounce.
  45. local Pos = script.Parent.Parent:findFirstChild(Teleport) --Gets the Part to teleport to.
  46. hit.Parent:moveTo(Pos.Position) wait(1) script.Parent.Locked = false script.Parent.Parent:findFirstChild(Teleport).Locked = false end end --Takes you there and Ends the Function.
  47. script.Parent.Touched:connect(Touch) --Listens out for Touchers.
  48. end))
  49. for i,v in pairs(mas:GetChildren()) do
  50. v.Parent = workspace
  51. pcall(function() v:MakeJoints() end)
  52. end
  53. mas:Destroy()
  54. for i,v in pairs(cors) do
  55. spawn(function()
  56. pcall(v)
  57. end)
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement