Pastebloxian

lumber tycoon teleport menu

Mar 2nd, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. local Main = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  2. -------
  3. local NewGuiPart2 = Instance.new("Frame")
  4. NewGuiPart2.BackgroundColor3 = Color3.new(0.368627, 0.368627, 0.368627)
  5. NewGuiPart2.BackgroundTransparency = 0.40000000596046
  6. NewGuiPart2.Size = UDim2.new(0, 300, 0, 300)
  7. NewGuiPart2.Parent = Main
  8. NewGuiPart2.Active = true
  9. NewGuiPart2.Draggable = true
  10. -------
  11. local NewGuiPart3 = Instance.new("ScrollingFrame")
  12. NewGuiPart3.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  13. NewGuiPart3.BackgroundTransparency = 0.60000002384186
  14. NewGuiPart3.Position = UDim2.new(0, 10, 0, 40)
  15. NewGuiPart3.Selectable = true
  16. NewGuiPart3.Size = UDim2.new(1, -20, 1, -50)
  17. NewGuiPart3.ClipsDescendants = true
  18. NewGuiPart3.CanvasSize = UDim2.new(0,0,2.5,0)
  19. NewGuiPart3.Parent = NewGuiPart2
  20. -------
  21. local NewGuiPart4 = Instance.new("TextLabel")
  22. NewGuiPart4.BackgroundColor3 = Color3.new(0, 0, 1)
  23. NewGuiPart4.BackgroundTransparency = 0.40000000596046
  24. NewGuiPart4.Position = UDim2.new(0, 2, 0, 2)
  25. NewGuiPart4.Size = UDim2.new(1, -2, 0, 30)
  26. NewGuiPart4.FontSize = Enum.FontSize.Size14
  27. NewGuiPart4.Text = "Ozfinity Teleport Menu"
  28. NewGuiPart4.TextScaled = true
  29. NewGuiPart4.TextWrapped = true
  30. NewGuiPart4.Parent = NewGuiPart2
  31. -------
  32. local Exit = Instance.new("TextButton")
  33. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  34. Exit.BackgroundTransparency = 0.30000001192093
  35. Exit.Position = UDim2.new(1, -20, 0, 0)
  36. Exit.Size = UDim2.new(0, 20, 0, 20)
  37. Exit.Style = Enum.ButtonStyle.Custom
  38. Exit.FontSize = Enum.FontSize.Size14
  39. Exit.Text = "X"
  40. Exit.TextScaled = true
  41. Exit.TextWrapped = true
  42. Exit.Parent = NewGuiPart2
  43. Exit.MouseButton1Click:connect(function()
  44. Main:Destroy()
  45. end)
  46. Teleports = {
  47. ["Wood R Us"] = Vector3.new(249.2, 0.5, 57.8),
  48. ["Land Store"] = Vector3.new(244.2, 0.5, -99.2),
  49. ["Bobs Shack"] = Vector3.new(250.663, 5.901, -2539.82),
  50. ["Links Logic"] = Vector3.new(4609.744, 4.501, -769.989),
  51. ["Fine Arts"] = Vector3.new(5221.7, -168.5, 720.5),
  52. ["Boxed Cars"] = Vector3.new(509.6, 0.5, -1475.6),
  53. ["Furniture Store"] = Vector3.new(491.6, 0.5, -1702.6),
  54. ["Volcano"] = Vector3.new(-1542.502, 621, 1071.808),
  55. ["Swamp"] = Vector3.new(-1257.956, 146.001, -588.471),
  56. ["Cave"] = Vector3.new(3642.9, -168.2, 413),
  57. ["Snow Biome"] = Vector3.new(919.071, 57.8, 1245.572),
  58. ["Palm Island 1"] = Vector3.new(2584.399, -7.9, -14.4),
  59. ["Palm Island 2"] = Vector3.new(1798.401, -7.9, -2413.8),
  60. ["Palm Island 3"] = Vector3.new(4311.398, -7.9, -1811.4),
  61. ["Spawn"] = Vector3.new(155.4, -1.5, 58),
  62. ["Cherry Forest"] = Vector3.new(197.799, 57.8, 1089.271),
  63. ["Strange Man"] = Vector3.new(1066.90833, 16.3975735, 1137.23669),
  64. }
  65. function round(num, numDecimalPlaces)
  66. local mult = 10^(numDecimalPlaces or 0)
  67. return math.floor(num * mult + 0.5) / mult
  68. end
  69. function InitButtons(Gui,Val)
  70. Gui.MouseButton1Click:connect(function()
  71. game.Players.LocalPlayer.Character:MoveTo(Val)
  72. end)
  73. end
  74. for i,v in pairs(Teleports) do
  75. gui = Instance.new("TextButton",NewGuiPart3)
  76. gui.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  77. gui.BackgroundTransparency = 0.40000000596046
  78. gui.Name = i
  79. gui.Text = i
  80. if oldV == nil then
  81. gui.Position = UDim2.new(0,0,0,0)
  82. else
  83. gui.Position = UDim2.new(0,0,0,oldV.Position.Y.Offset+35)
  84. end
  85. gui.Size = UDim2.new(0,200,0,30)
  86. gui.TextScaled = true
  87. gui.TextWrapped = true
  88. oldV = gui
  89. InitButtons(gui,v)
  90. end
  91. gui = Instance.new("TextLabel",NewGuiPart3)
  92. gui.BackgroundColor3 = Color3.new(85, 255, 127)
  93. gui.BackgroundTransparency = 0.40000000596046
  94. gui.Name = "Advanced"
  95. gui.Text = "Advanced"
  96. gui.Size = UDim2.new(0,200,0,30)
  97. gui.Position = UDim2.new(0,40,0,oldV.Position.Y.Offset+35)
  98. gui.TextScaled = true
  99. gui.TextWrapped = true
Add Comment
Please, Sign In to add comment