Guest User

Lumber Tycoon 2 GUI Script

a guest
Oct 4th, 2018
58,760
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local OpenMain = Instance.new("Frame")
  3. local OpenB = Instance.new("TextButton")
  4. local GUI = Instance.new("Frame")
  5. local TeleportScroll = Instance.new("ScrollingFrame")
  6. local SpawnTele = Instance.new("TextButton")
  7. local WoodRUSTele = Instance.new("TextButton")
  8. local FurnishingTele = Instance.new("TextButton")
  9. local CarsTele = Instance.new("TextButton")
  10. local LinksStoreTele = Instance.new("TextButton")
  11. local BobsShack = Instance.new("TextButton")
  12. local FineArtTele = Instance.new("TextButton")
  13. local SwampTele = Instance.new("TextButton")
  14. local PalmsTele = Instance.new("TextButton")
  15. local CaveTele = Instance.new("TextButton")
  16. local YellowWoodTele = Instance.new("TextButton")
  17. local Volcano = Instance.new("TextButton")
  18. local IceTreeTele = Instance.new("TextButton")
  19. local EndTimesTele = Instance.new("TextButton")
  20. local Den = Instance.new("TextButton")
  21. local StrangeMan = Instance.new("TextButton")
  22. local SkiiLodge = Instance.new("TextButton")
  23. local GodAxeB = Instance.new("TextButton")
  24. local MaxSpeedB = Instance.new("TextButton")
  25. local Credits = Instance.new("TextLabel")
  26. local TeleportWoodB = Instance.new("TextButton")
  27. local ImageButton = Instance.new("ImageButton")
  28. local TeleportsText = Instance.new("TextLabel")
  29. local FlyB = Instance.new("TextButton")
  30. local Logo = Instance.new("ImageButton")
  31. local Frame = Instance.new("Frame")
  32. local Frame_2 = Instance.new("Frame")
  33. local TextLabel = Instance.new("TextLabel")
  34. local TextLabel_2 = Instance.new("TextLabel")
  35. local TextLabel_3 = Instance.new("TextLabel")
  36. local NoClipB = Instance.new("TextButton")
  37. local CloseGUI = Instance.new("TextButton")
  38. local PlayerTeleportB = Instance.new("TextButton")
  39. local TeleportPlayerGUI = Instance.new("Frame")
  40. local Player6B = Instance.new("TextButton")
  41. local Player5B = Instance.new("TextButton")
  42. local Player3B = Instance.new("TextButton")
  43. local Player2B = Instance.new("TextButton")
  44. local Player1B = Instance.new("TextButton")
  45. local PlayerSelectScreen = Instance.new("TextLabel")
  46. local Player4B = Instance.new("TextButton")
  47. local boarder = Instance.new("Frame")
  48. local boarder_2 = Instance.new("Frame")
  49. local boarder_3 = Instance.new("Frame")
  50. local TPPlayerB = Instance.new("TextButton")
  51. local CloseTeleports = Instance.new("TextButton")
  52. --Properties:
  53. ScreenGui.Parent = game.CoreGui
  54.  
  55. OpenMain.Name = "OpenMain"
  56. OpenMain.Parent = ScreenGui
  57. OpenMain.BackgroundColor3 = Color3.new(1, 1, 1)
  58. OpenMain.Position = UDim2.new(-0.0125000011, 0, 0.541425824, 0)
  59. OpenMain.Size = UDim2.new(0, 131, 0, 31)
  60. OpenMain.Style = Enum.FrameStyle.DropShadow
  61.  
  62. OpenB.Name = "OpenB"
  63. OpenB.Parent = OpenMain
  64. OpenB.BackgroundColor3 = Color3.new(0.85098, 0.721569, 1)
  65. OpenB.BorderColor3 = Color3.new(0.521569, 0.368627, 0.541176)
  66. OpenB.BorderSizePixel = 2
  67. OpenB.Position = UDim2.new(0.00763358781, 0, -0.0257318616, 0)
  68. OpenB.Size = UDim2.new(0, 113, 0, 16)
  69. OpenB.Font = Enum.Font.Garamond
  70. OpenB.Text = "Open GUI"
  71. OpenB.TextColor3 = Color3.new(0, 0, 0)
  72. OpenB.TextSize = 14
  73. OpenB.MouseButton1Down:connect(function()
  74. GUI.Visible=true
  75. OpenMain.Visible=false
  76. end)
  77.  
  78. GUI.Name = "GUI"
  79. GUI.Parent = ScreenGui
  80. GUI.BackgroundColor3 = Color3.new(0.909804, 0.843137, 1)
  81. GUI.Position = UDim2.new(-5.58793545e-08, 0, 0.134874716, 0)
  82. GUI.Size = UDim2.new(0, 272, 0, 378)
  83. GUI.Visible = false
  84. GUI.Style = Enum.FrameStyle.DropShadow
  85. GUI.Active=true
  86. GUI.Draggable=true
  87.  
  88. TeleportScroll.Name = "Teleport Scroll"
  89. TeleportScroll.Parent = GUI
  90. TeleportScroll.BackgroundColor3 = Color3.new(0.85098, 0.721569, 1)
  91. TeleportScroll.BorderColor3 = Color3.new(0.419608, 0.2, 0.427451)
  92. TeleportScroll.BorderSizePixel = 3
  93. TeleportScroll.Position = UDim2.new(0.351145029, 0, 0.342203557, 0)
  94. TeleportScroll.Size = UDim2.new(0, 155, 0, 216)
  95.  
  96. SpawnTele.Name = "SpawnTele"
  97. SpawnTele.Parent = TeleportScroll
  98. SpawnTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  99. SpawnTele.Position = UDim2.new(0.0387096778, 0, 0.0185185224, 0)
  100. SpawnTele.Size = UDim2.new(0, 130, 0, 23)
  101. SpawnTele.Font = Enum.Font.ArialBold
  102. SpawnTele.Text = "Spawn"
  103. SpawnTele.TextColor3 = Color3.new(0, 0, 0)
  104. SpawnTele.TextSize = 14
  105. SpawnTele.MouseButton1Down:connect(function()
  106. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(155,3,74))end
  107. )
  108.  
  109. WoodRUSTele.Name = "WoodRUS Tele"
  110. WoodRUSTele.Parent = TeleportScroll
  111. WoodRUSTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  112. WoodRUSTele.Position = UDim2.new(0.0390000008, 0, 0.0590000004, 0)
  113. WoodRUSTele.Size = UDim2.new(0, 130, 0, 23)
  114. WoodRUSTele.Font = Enum.Font.ArialBold
  115. WoodRUSTele.Text = "Wood R Us"
  116. WoodRUSTele.TextColor3 = Color3.new(0, 0, 0)
  117. WoodRUSTele.TextSize = 14
  118. WoodRUSTele.MouseButton1Click:connect(function()
  119. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(265,3,57))end
  120. )
  121.  
  122. FurnishingTele.Name = "Furnishing Tele"
  123. FurnishingTele.Parent = TeleportScroll
  124. FurnishingTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  125. FurnishingTele.Position = UDim2.new(0.0390000008, 0, 0.0989999995, 0)
  126. FurnishingTele.Size = UDim2.new(0, 130, 0, 23)
  127. FurnishingTele.Font = Enum.Font.ArialBold
  128. FurnishingTele.Text = "Furnishing"
  129. FurnishingTele.TextColor3 = Color3.new(0, 0, 0)
  130. FurnishingTele.TextSize = 14
  131. FurnishingTele.MouseButton1Click:connect(function()
  132. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(491, 3, -1720))end
  133. )
  134.  
  135. CarsTele.Name = "Cars Tele"
  136. CarsTele.Parent = TeleportScroll
  137. CarsTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  138. CarsTele.Position = UDim2.new(0.0390000008, 0, 0.137999997, 0)
  139. CarsTele.Size = UDim2.new(0, 130, 0, 23)
  140. CarsTele.Font = Enum.Font.ArialBold
  141. CarsTele.Text = "Cars"
  142. CarsTele.TextColor3 = Color3.new(0, 0, 0)
  143. CarsTele.TextSize = 14
  144. CarsTele.MouseButton1Click:connect(function()
  145. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(509, 3, -1463))end
  146. )
  147.  
  148. LinksStoreTele.Name = "Links Store Tele"
  149. LinksStoreTele.Parent = TeleportScroll
  150. LinksStoreTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  151. LinksStoreTele.Position = UDim2.new(0.0390000008, 0, 0.178000003, 0)
  152. LinksStoreTele.Size = UDim2.new(0, 130, 0, 23)
  153. LinksStoreTele.Font = Enum.Font.ArialBold
  154. LinksStoreTele.Text = "Links Store"
  155. LinksStoreTele.TextColor3 = Color3.new(0, 0, 0)
  156. LinksStoreTele.TextSize = 14
  157. LinksStoreTele.MouseButton1Click:connect(function()
  158. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(4607,7.5,-798))end
  159. )
  160.  
  161. BobsShack.Name = "Bobs Shack"
  162. BobsShack.Parent = TeleportScroll
  163. BobsShack.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  164. BobsShack.Position = UDim2.new(0.0390000008, 0, 0.216999993, 0)
  165. BobsShack.Size = UDim2.new(0, 130, 0, 23)
  166. BobsShack.Font = Enum.Font.ArialBold
  167. BobsShack.Text = "Bobs Shack"
  168. BobsShack.TextColor3 = Color3.new(0, 0, 0)
  169. BobsShack.TextSize = 14
  170. BobsShack.MouseButton1Click:connect(function()
  171. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(260, 8, -2542))end
  172. )
  173.  
  174. FineArtTele.Name = "Fine Art Tele"
  175. FineArtTele.Parent = TeleportScroll
  176. FineArtTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  177. FineArtTele.Position = UDim2.new(0.0390000008, 0, 0.256999999, 0)
  178. FineArtTele.Size = UDim2.new(0, 130, 0, 23)
  179. FineArtTele.Font = Enum.Font.ArialBold
  180. FineArtTele.Text = "Fine Art"
  181. FineArtTele.TextColor3 = Color3.new(0, 0, 0)
  182. FineArtTele.TextSize = 14
  183. FineArtTele.MouseButton1Down:connect(function()
  184. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(5207, -166, 719))end
  185. )
  186.  
  187. SwampTele.Name = "Swamp Tele"
  188. SwampTele.Parent = TeleportScroll
  189. SwampTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  190. SwampTele.Position = UDim2.new(0.0390000008, 0, 0.296999991, 0)
  191. SwampTele.Size = UDim2.new(0, 130, 0, 23)
  192. SwampTele.Font = Enum.Font.ArialBold
  193. SwampTele.Text = "Swamp"
  194. SwampTele.TextColor3 = Color3.new(0, 0, 0)
  195. SwampTele.TextSize = 14
  196. SwampTele.MouseButton1Click:connect(function()
  197. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1209,132,-801))end
  198. )
  199.  
  200. PalmsTele.Name = "Palms Tele"
  201. PalmsTele.Parent = TeleportScroll
  202. PalmsTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  203. PalmsTele.Position = UDim2.new(0.0390000008, 0, 0.345999986, 0)
  204. PalmsTele.Size = UDim2.new(0, 130, 0, 23)
  205. PalmsTele.Font = Enum.Font.ArialBold
  206. PalmsTele.Text = "Palms"
  207. PalmsTele.TextColor3 = Color3.new(0, 0, 0)
  208. PalmsTele.TextSize = 14
  209. PalmsTele.MouseButton1Click:connect(function()
  210. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(2549, -5, -42))end
  211. )
  212.  
  213. CaveTele.Name = "Cave Tele"
  214. CaveTele.Parent = TeleportScroll
  215. CaveTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  216. CaveTele.Position = UDim2.new(0.0390000008, 0, 0.386000007, 0)
  217. CaveTele.Size = UDim2.new(0, 130, 0, 23)
  218. CaveTele.Font = Enum.Font.ArialBold
  219. CaveTele.Text = "Cave"
  220. CaveTele.TextColor3 = Color3.new(0, 0, 0)
  221. CaveTele.TextSize = 14
  222. CaveTele.MouseButton1Down:connect(function()
  223. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(3581,-179,430))end
  224. )
  225.  
  226. YellowWoodTele.Name = "Yellow Wood Tele"
  227. YellowWoodTele.Parent = TeleportScroll
  228. YellowWoodTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  229. YellowWoodTele.Position = UDim2.new(0.0390000008, 0, 0.425000012, 0)
  230. YellowWoodTele.Size = UDim2.new(0, 130, 0, 23)
  231. YellowWoodTele.Font = Enum.Font.ArialBold
  232. YellowWoodTele.Text = "Yellow Wood"
  233. YellowWoodTele.TextColor3 = Color3.new(0, 0, 0)
  234. YellowWoodTele.TextSize = 14
  235. YellowWoodTele.MouseButton1Down:connect(function()
  236. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1049,-5.9 ,-934.7 ))end
  237. )
  238.  
  239. Volcano.Name = "Volcano"
  240. Volcano.Parent = TeleportScroll
  241. Volcano.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  242. Volcano.Position = UDim2.new(0.0390000008, 0, 0.465000004, 0)
  243. Volcano.Size = UDim2.new(0, 130, 0, 23)
  244. Volcano.Font = Enum.Font.ArialBold
  245. Volcano.Text = "Volcano"
  246. Volcano.TextColor3 = Color3.new(0, 0, 0)
  247. Volcano.TextSize = 14
  248. Volcano.MouseButton1Down:connect(function()
  249. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-1585,622,1140))end
  250. )
  251.  
  252. IceTreeTele.Name = "Ice Tree Tele"
  253. IceTreeTele.Parent = TeleportScroll
  254. IceTreeTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  255. IceTreeTele.Position = UDim2.new(0.0390000008, 0, 0.504000008, 0)
  256. IceTreeTele.Size = UDim2.new(0, 130, 0, 23)
  257. IceTreeTele.Font = Enum.Font.ArialBold
  258. IceTreeTele.Text = "Ice Tree"
  259. IceTreeTele.TextColor3 = Color3.new(0, 0, 0)
  260. IceTreeTele.TextSize = 14
  261. IceTreeTele.MouseButton1Down:connect(function()
  262. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(1505.7,412.4 ,3253 ))
  263. end)
  264.  
  265. EndTimesTele.Name = "End Times Tele"
  266. EndTimesTele.Parent = TeleportScroll
  267. EndTimesTele.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  268. EndTimesTele.Position = UDim2.new(0.0390000008, 0, 0.54400003, 0)
  269. EndTimesTele.Size = UDim2.new(0, 130, 0, 23)
  270. EndTimesTele.Font = Enum.Font.ArialBold
  271. EndTimesTele.Text = "End Times"
  272. EndTimesTele.TextColor3 = Color3.new(0, 0, 0)
  273. EndTimesTele.TextSize = 14
  274. EndTimesTele.MouseButton1Click:connect(function()
  275. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(113, -214, -951))end
  276. )
  277.  
  278. Den.Name = "Den"
  279. Den.Parent = TeleportScroll
  280. Den.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  281. Den.Position = UDim2.new(0.0390000008, 0, 0.583999991, 0)
  282. Den.Size = UDim2.new(0, 130, 0, 23)
  283. Den.Font = Enum.Font.ArialBold
  284. Den.Text = "Den"
  285. Den.TextColor3 = Color3.new(0, 0, 0)
  286. Den.TextSize = 14
  287. Den.MouseButton1Down:connect(function()
  288. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(331, 45, 1941))
  289. end)
  290.  
  291. StrangeMan.Name = "Strange Man"
  292. StrangeMan.Parent = TeleportScroll
  293. StrangeMan.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  294. StrangeMan.Position = UDim2.new(0.0390000008, 0, 0.662000002, 0)
  295. StrangeMan.Size = UDim2.new(0, 130, 0, 23)
  296. StrangeMan.Font = Enum.Font.ArialBold
  297. StrangeMan.Text = "Strange Man"
  298. StrangeMan.TextColor3 = Color3.new(0, 0, 0)
  299. StrangeMan.TextSize = 14
  300. StrangeMan.MouseButton1Click:connect(function()
  301. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(1061, 16, 1131))end
  302. )
  303.  
  304. SkiiLodge.Name = "SkiiLodge"
  305. SkiiLodge.Parent = TeleportScroll
  306. SkiiLodge.BackgroundColor3 = Color3.new(0.85098, 1, 0.905882)
  307. SkiiLodge.Position = UDim2.new(0.0390000008, 0, 0.622000023, 0)
  308. SkiiLodge.Size = UDim2.new(0, 130, 0, 23)
  309. SkiiLodge.Font = Enum.Font.ArialBold
  310. SkiiLodge.Text = "SkiiLodge"
  311. SkiiLodge.TextColor3 = Color3.new(0, 0, 0)
  312. SkiiLodge.TextSize = 14
  313. SkiiLodge.MouseButton1Click:connect(function()
  314. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(1244, 62, 2306))end
  315. )
  316.  
  317. GodAxeB.Name = "God Axe B"
  318. GodAxeB.Parent = GUI
  319. GodAxeB.BackgroundColor3 = Color3.new(0.815686, 0.882353, 1)
  320. GodAxeB.BorderSizePixel = 2
  321. GodAxeB.Position = UDim2.new(0.0276143812, 0, 0.643200755, 0)
  322. GodAxeB.Size = UDim2.new(0, 72, 0, 50)
  323. GodAxeB.Font = Enum.Font.Bodoni
  324. GodAxeB.Text = "God Axe"
  325. GodAxeB.TextColor3 = Color3.new(0, 0, 0)
  326. GodAxeB.TextSize = 14
  327. GodAxeB.MouseButton1Down:connect(function()
  328. local a=game:GetService("Players").LocalPlayer:GetMouse()a.Button1Down:connect(function(b)Pressing=false end)function GetAxe()if game.Players.LocalPlayer.Character:FindFirstChild("Tool")then return game.Players.LocalPlayer.Character:FindFirstChild("Tool")end end;local c={['GoldAxe']=50,['BasicHatchet']=0.2,['Axe1']=0.55,['Axe2']=0.93,['AxeAlphaTesters']=1.5,['Rukiryaxe']=1.68,['Axe3']=1.45,['AxeBetaTesters']=1.45,['FireAxe']=0.6,['SilverAxe']=1.6,['EndTimesAxe']=10000000,['AxeChicken']=0.1,['CandyCaneAxe']=0}local Pressing=false;local a=game:GetService("Players").LocalPlayer:GetMouse()a.Button1Down:connect(function(b)Pressing=false end)a.Button1Down:connect(function(b)Pressing=true;poop(GetAxe())end)function cut(d)local e=game.Players.LocalPlayer:GetMouse().Target;local f=game.Players.LocalPlayer:GetMouse().Hit;local g=e.CFrame:pointToObjectSpace(f.p).Y+e.Size.Y/2;if e.Parent:WaitForChild("CutEvent",0.1)then game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(e.Parent.CutEvent,{["cuttingClass"]="Axe",["cooldown"]=0,["hitPoints"]=c[d.ToolName.Value],["sectionId"]=e.ID.Value,["tool"]=d,["faceVector"]=Vector3.new(-1,0,0),["height"]=g})end end;function poop(d)for h=1,100 do if Pressing==true then cut(d)end end end
  329. end)
  330.  
  331. MaxSpeedB.Name = "Max Speed B"
  332. MaxSpeedB.Parent = GUI
  333. MaxSpeedB.BackgroundColor3 = Color3.new(0.815686, 0.882353, 1)
  334. MaxSpeedB.BorderSizePixel = 2
  335. MaxSpeedB.Position = UDim2.new(0.0276143812, 0, 0.308931082, 0)
  336. MaxSpeedB.Size = UDim2.new(0, 72, 0, 50)
  337. MaxSpeedB.Font = Enum.Font.Bodoni
  338. MaxSpeedB.Text = "Max Speed"
  339. MaxSpeedB.TextColor3 = Color3.new(0, 0, 0)
  340. MaxSpeedB.TextSize = 14
  341. MaxSpeedB.MouseButton1Down:connect(function()
  342. while true do
  343. wait()
  344. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 120
  345. end
  346. end)
  347.  
  348. TeleportWoodB.Name = "Teleport Wood B"
  349. TeleportWoodB.Parent = GUI
  350. TeleportWoodB.BackgroundColor3 = Color3.new(0.333333, 1, 0.498039)
  351. TeleportWoodB.BorderColor3 = Color3.new(0.666667, 0.666667, 1)
  352. TeleportWoodB.BorderSizePixel = 3
  353. TeleportWoodB.Position = UDim2.new(0.676470578, 0, 0.095238097, 0)
  354. TeleportWoodB.Size = UDim2.new(0, 72, 0, 56)
  355. TeleportWoodB.Font = Enum.Font.Bodoni
  356. TeleportWoodB.Text = "Teleport All Dropped Wood"
  357. TeleportWoodB.TextColor3 = Color3.new(0, 0, 0)
  358. TeleportWoodB.TextScaled = true
  359. TeleportWoodB.TextSize = 14
  360. TeleportWoodB.TextWrapped = true
  361. TeleportWoodB.MouseButton1Down:connect(function()
  362.  
  363. Option = false
  364. Found = false
  365. Tool = "None"
  366. Down = false
  367. Mouse = game.Players.LocalPlayer:GetMouse()
  368.  
  369. Client = game.ReplicatedStorage.Interaction.ClientSetListPlayer
  370. players = game.Players
  371. for i, v in pairs(players:GetPlayers()) do
  372. if v.Name ~= players.LocalPlayer.Name then
  373. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, v, true)
  374. end
  375. end
  376. players.PlayerAdded:connect(function(plr)
  377. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, plr, true)
  378. end)
  379.  
  380. function move(object)
  381. object:MoveTo(game.Players.LocalPlayer.Character.Head.Position + Vector3.new(5, -4, 5))
  382. object.WoodSection.Anchored = true
  383. wait(2)
  384. object.WoodSection.Anchored = false
  385. end
  386.  
  387. function tree(object, class)
  388. for i, v in pairs(object:GetChildren()) do
  389. if v.Name == "TreeClass" then
  390. if v.Value == class then
  391. if Found == false then
  392. move(object)
  393. Found = true
  394. end
  395. end
  396. end
  397. end
  398. end
  399.  
  400. function cut(object, class)
  401. for i, v in pairs(object:GetChildren()) do
  402. if v.Name == "TreeClass" then
  403. if v.Value == class then
  404. for a, b in pairs(object:GetChildren()) do
  405. if b.Name == "Owner" then
  406. for c, d in pairs(b:GetChildren()) do
  407. if d.Name == "OwnerString" then
  408. if d.Value == game.Players.LocalPlayer.Name then
  409. move(object)
  410. else
  411. if d.Value == "" then
  412. move(object)
  413. end
  414. end
  415. end
  416. end
  417. end
  418. end
  419. end
  420. end
  421. end
  422. end
  423.  
  424. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  425. cut(v, "Generic")
  426. end
  427. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  428. cut(v, "Birth")
  429. end
  430. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  431. cut(v, "CaveCrawler")
  432. end
  433. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  434. cut(v, "Cherry")
  435. end
  436. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  437. cut(v, "Fir")
  438. end
  439. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  440. cut(v, "GoldSwampy")
  441. end
  442. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  443. cut(v, "GreenSwampy")
  444. end
  445. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  446. cut(v, "Koa")
  447. end
  448. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  449. cut(v, "Oak")
  450. end
  451. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  452. cut(v, "Palm")
  453. end
  454. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  455. cut(v, "Pine")
  456. end
  457. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  458. cut(v, "Volcano")
  459. end
  460. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  461. cut(v, "Walnut")
  462. end
  463. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  464. cut(v, "Frost")
  465. end
  466. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  467. cut(v, "SnowGlow")
  468. end
  469. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  470. cut(v, "LoneCave")
  471. end
  472. end)
  473.  
  474. ImageButton.Parent = TeleportWoodB
  475. ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
  476. ImageButton.BackgroundTransparency = 1
  477. ImageButton.Position = UDim2.new(0.122549057, 0, -0.718837559, 0)
  478. ImageButton.Size = UDim2.new(0, 53, 0, 56)
  479. ImageButton.Image = "rbxassetid://2396612568"
  480.  
  481. TeleportsText.Name = "Teleports Text"
  482. TeleportsText.Parent = GUI
  483. TeleportsText.BackgroundColor3 = Color3.new(0.490196, 0.94902, 1)
  484. TeleportsText.BorderColor3 = Color3.new(0.419608, 0.2, 0.427451)
  485. TeleportsText.BorderSizePixel = 3
  486. TeleportsText.Position = UDim2.new(0.352941155, 0, 0.280112058, 0)
  487. TeleportsText.Size = UDim2.new(0, 155, 0, 26)
  488. TeleportsText.Font = Enum.Font.Bodoni
  489. TeleportsText.Text = "Place Teleports"
  490. TeleportsText.TextColor3 = Color3.new(0, 0, 0)
  491. TeleportsText.TextSize = 16
  492.  
  493. FlyB.Name = "Fly B"
  494. FlyB.Parent = GUI
  495. FlyB.BackgroundColor3 = Color3.new(0.815686, 0.882353, 1)
  496. FlyB.BorderSizePixel = 2
  497. FlyB.Position = UDim2.new(0.0276143812, 0, 0.478868425, 0)
  498. FlyB.Size = UDim2.new(0, 72, 0, 50)
  499. FlyB.Font = Enum.Font.Bodoni
  500. FlyB.Text = "Fly"
  501. FlyB.TextColor3 = Color3.new(0, 0, 0)
  502. FlyB.TextSize = 14
  503.  
  504. local flying = false
  505. FlyB.MouseButton1Click:connect(function()
  506. flying = not flying
  507. repeat wait()
  508. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  509. local mouse = game.Players.LocalPlayer:GetMouse()
  510. repeat wait() until mouse
  511. local plr = game.Players.LocalPlayer
  512. local torso = plr.Character.Torso
  513. local deb = true
  514. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  515. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  516. local maxspeed = 200
  517. local speed = 0
  518. if flying then
  519. end
  520.  
  521. function FlyFunction()
  522. local bg = Instance.new("BodyGyro", torso)
  523. bg.P = 9e4
  524. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  525. bg.cframe = torso.CFrame
  526. local bv = Instance.new("BodyVelocity", torso)
  527. bv.velocity = Vector3.new(0,0.1,0)
  528. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  529. repeat wait()
  530. plr.Character.Humanoid.PlatformStand = true
  531. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  532. speed = speed+.5+(speed/maxspeed)
  533. if speed > maxspeed then
  534. speed = maxspeed
  535. end
  536. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  537. speed = speed-1
  538. if speed < 0 then
  539. speed = 0
  540. end
  541. end
  542. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  543. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  544. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  545. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  546. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  547. else
  548. bv.velocity = Vector3.new(0,0.1,0)
  549. end
  550. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  551. until not flying
  552. ctrl = {f = 0, b = 0, l = 0, r = 0}
  553. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  554. speed = 0
  555. bg:Destroy()
  556. bv:Destroy()
  557. plr.Character.Humanoid.PlatformStand = false
  558. end
  559. mouse.KeyDown:connect(function(key)
  560. if key:lower() == "w" then
  561. ctrl.f = 1
  562. elseif key:lower() == "s" then
  563. ctrl.b = -1
  564. elseif key:lower() == "a" then
  565. ctrl.l = -1
  566. elseif key:lower() == "d" then
  567. ctrl.r = 1
  568. end
  569. end)
  570. mouse.KeyUp:connect(function(key)
  571. if key:lower() == "w" then
  572. ctrl.f = 0
  573. elseif key:lower() == "s" then
  574. ctrl.b = 0
  575. elseif key:lower() == "a" then
  576. ctrl.l = 0
  577. elseif key:lower() == "d" then
  578. ctrl.r = 0
  579. end
  580. end)
  581. FlyFunction()
  582. end)
  583.  
  584. clip = true
  585. NoClipB.MouseButton1Click:connect(function()
  586. clip = not clip
  587. game:GetService('RunService').Stepped:connect(function()
  588. if not clip then
  589. game.Players.LocalPlayer.Character.Head.CanCollide = false
  590. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  591. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  592. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  593. end
  594. end)
  595. end)
  596.  
  597. Logo.Name = "Logo"
  598. Logo.Parent = GUI
  599. Logo.BackgroundColor3 = Color3.new(1, 1, 1)
  600. Logo.BorderSizePixel = 4
  601. Logo.Position = UDim2.new(-0.00694444822, 0, -0.00493839337, 0)
  602. Logo.Size = UDim2.new(0, 44, 0, 44)
  603. Logo.Image = "rbxassetid://2391933162"
  604. Logo.ImageColor3 = Color3.new(0.87451, 0.811765, 1)
  605.  
  606. Frame.Parent = Logo
  607. Frame.BackgroundColor3 = Color3.new(0.87451, 0.811765, 1)
  608. Frame.BorderSizePixel = 3
  609. Frame.Position = UDim2.new(1.1427139, 0, -0.00560224056, 0)
  610. Frame.Size = UDim2.new(0, 48, 0, 9)
  611.  
  612. Frame_2.Parent = Logo
  613. Frame_2.BackgroundColor3 = Color3.new(0.87451, 0.811765, 1)
  614. Frame_2.BorderSizePixel = 3
  615. Frame_2.Position = UDim2.new(0.00768723339, 0, 1.12829936, 0)
  616. Frame_2.Size = UDim2.new(0, 9, 0, 43)
  617.  
  618. TextLabel.Parent = GUI
  619. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  620. TextLabel.BackgroundTransparency = 1
  621. TextLabel.Position = UDim2.new(0.136029422, 0, -0.00560224056, 0)
  622. TextLabel.Size = UDim2.new(0, 35, 0, 50)
  623. TextLabel.Font = Enum.Font.Garamond
  624. TextLabel.Text = "L"
  625. TextLabel.TextColor3 = Color3.new(0, 1, 1)
  626. TextLabel.TextSize = 24
  627.  
  628. TextLabel_2.Parent = GUI
  629. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  630. TextLabel_2.BackgroundTransparency = 1
  631. TextLabel_2.Position = UDim2.new(-0.029411763, 0, -0.00840336084, 0)
  632. TextLabel_2.Size = UDim2.new(0, 243, 0, 50)
  633. TextLabel_2.Font = Enum.Font.Garamond
  634. TextLabel_2.Text = "umber Tycoon GUI"
  635. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  636. TextLabel_2.TextSize = 17
  637.  
  638. TextLabel_3.Parent = GUI
  639. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  640. TextLabel_3.BackgroundTransparency = 1
  641. TextLabel_3.Position = UDim2.new(0.485294133, 0, -0.00560224056, 0)
  642. TextLabel_3.Size = UDim2.new(0, 35, 0, 50)
  643. TextLabel_3.Font = Enum.Font.Garamond
  644. TextLabel_3.Text = "2"
  645. TextLabel_3.TextColor3 = Color3.new(0, 1, 1)
  646. TextLabel_3.TextSize = 24
  647.  
  648. NoClipB.Name = "NoClip B"
  649. NoClipB.Parent = GUI
  650. NoClipB.BackgroundColor3 = Color3.new(0.815686, 0.882353, 1)
  651. NoClipB.BorderSizePixel = 2
  652. NoClipB.Position = UDim2.new(0.0257352944, 0, 0.812169254, 0)
  653. NoClipB.Size = UDim2.new(0, 72, 0, 47)
  654. NoClipB.Font = Enum.Font.Bodoni
  655. NoClipB.Text = "No Clip"
  656. NoClipB.TextColor3 = Color3.new(0, 0, 0)
  657. NoClipB.TextSize = 14
  658.  
  659. CloseGUI.Name = "Close GUI"
  660. CloseGUI.Parent = GUI
  661. CloseGUI.BackgroundColor3 = Color3.new(1, 0, 0)
  662. CloseGUI.BorderColor3 = Color3.new(0, 0, 0)
  663. CloseGUI.Position = UDim2.new(0.930147052, 0, -0.0291005298, 0)
  664. CloseGUI.Size = UDim2.new(0, 26, 0, 26)
  665. CloseGUI.Font = Enum.Font.SourceSans
  666. CloseGUI.Text = "X"
  667. CloseGUI.TextColor3 = Color3.new(0, 0, 0)
  668. CloseGUI.TextSize = 14
  669. CloseGUI.MouseButton1Down:connect(function()
  670. OpenMain.Visible=true
  671. GUI.Visible=false
  672. end)
  673.  
  674. PlayerTeleportB.Name = "Player Teleport B"
  675. PlayerTeleportB.Parent = GUI
  676. PlayerTeleportB.BackgroundColor3 = Color3.new(0.701961, 0.701961, 1)
  677. PlayerTeleportB.BorderSizePixel = 4
  678. PlayerTeleportB.Position = UDim2.new(0.0551470444, 0, 0.158730164, 0)
  679. PlayerTeleportB.Size = UDim2.new(0, 151, 0, 25)
  680. PlayerTeleportB.Font = Enum.Font.ArialBold
  681. PlayerTeleportB.Text = "Player Teleport"
  682. PlayerTeleportB.TextColor3 = Color3.new(0, 0, 0)
  683. PlayerTeleportB.TextSize = 14
  684. PlayerTeleportB.MouseButton1Down:connect(function()
  685. TeleportPlayerGUI.Visible=true
  686. end)
  687.  
  688. TeleportPlayerGUI.Name = "Teleport Player GUI"
  689. TeleportPlayerGUI.Parent = ScreenGui
  690. TeleportPlayerGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  691. TeleportPlayerGUI.Position = UDim2.new(0.831833303, 0, 0.499360323, 0)
  692. TeleportPlayerGUI.Size = UDim2.new(0, 114, 0, 258)
  693. TeleportPlayerGUI.Visible = false
  694. TeleportPlayerGUI.Style = Enum.FrameStyle.RobloxSquare
  695. TeleportPlayerGUI.Active=true
  696. TeleportPlayerGUI.Draggable=true
  697.  
  698. Player6B.Name = "Player6B"
  699. Player6B.Parent = TeleportPlayerGUI
  700. Player6B.BackgroundColor3 = Color3.new(1, 1, 1)
  701. Player6B.Position = UDim2.new(-0.0132870637, 0, 0.866432965, 0)
  702. Player6B.Size = UDim2.new(0, 101, 0, 23)
  703. Player6B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  704. Player6B.Font = Enum.Font.SourceSans
  705. Player6B.Text = ""
  706. Player6B.TextColor3 = Color3.new(0, 0, 0)
  707. Player6B.TextSize = 12
  708.  
  709. Player5B.Name = "Player5B"
  710. Player5B.Parent = TeleportPlayerGUI
  711. Player5B.BackgroundColor3 = Color3.new(1, 1, 1)
  712. Player5B.Position = UDim2.new(-0.0132870637, 0, 0.737910688, 0)
  713. Player5B.Size = UDim2.new(0, 101, 0, 23)
  714. Player5B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  715. Player5B.Font = Enum.Font.SourceSans
  716. Player5B.Text = ""
  717. Player5B.TextColor3 = Color3.new(0, 0, 0)
  718. Player5B.TextSize = 12
  719.  
  720. Player3B.Name = "Player3B"
  721. Player3B.Parent = TeleportPlayerGUI
  722. Player3B.BackgroundColor3 = Color3.new(1, 1, 1)
  723. Player3B.Position = UDim2.new(-0.0132870637, 0, 0.482281208, 0)
  724. Player3B.Size = UDim2.new(0, 101, 0, 23)
  725. Player3B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  726. Player3B.Font = Enum.Font.SourceSans
  727. Player3B.Text = ""
  728. Player3B.TextColor3 = Color3.new(0, 0, 0)
  729. Player3B.TextSize = 12
  730.  
  731. Player2B.Name = "Player2B"
  732. Player2B.Parent = TeleportPlayerGUI
  733. Player2B.BackgroundColor3 = Color3.new(1, 1, 1)
  734. Player2B.Position = UDim2.new(-0.0220589936, 0, 0.35886541, 0)
  735. Player2B.Size = UDim2.new(0, 101, 0, 23)
  736. Player2B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  737. Player2B.Font = Enum.Font.SourceSans
  738. Player2B.Text = ""
  739. Player2B.TextColor3 = Color3.new(0, 0, 0)
  740. Player2B.TextSize = 12
  741.  
  742. Player1B.Name = "Player1B"
  743. Player1B.Parent = TeleportPlayerGUI
  744. Player1B.BackgroundColor3 = Color3.new(1, 1, 1)
  745. Player1B.Position = UDim2.new(-0.0220589936, 0, 0.234219164, 0)
  746. Player1B.Size = UDim2.new(0, 101, 0, 23)
  747. Player1B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  748. Player1B.Font = Enum.Font.SourceSans
  749. Player1B.Text = ""
  750. Player1B.TextColor3 = Color3.new(0, 0, 0)
  751. Player1B.TextSize = 12
  752.  
  753. PlayerSelectScreen.Name = "PlayerSelectScreen"
  754. PlayerSelectScreen.Parent = TeleportPlayerGUI
  755. PlayerSelectScreen.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  756. PlayerSelectScreen.BorderColor3 = Color3.new(0.85098, 0.721569, 1)
  757. PlayerSelectScreen.BorderSizePixel = 3
  758. PlayerSelectScreen.Position = UDim2.new(-0.0263157897, 0, 0.11240311, 0)
  759. PlayerSelectScreen.Size = UDim2.new(0, 104, 0, 23)
  760. PlayerSelectScreen.Font = Enum.Font.SourceSans
  761. PlayerSelectScreen.Text = ""
  762. PlayerSelectScreen.TextColor3 = Color3.new(0.333333, 1, 0)
  763. PlayerSelectScreen.TextSize = 13
  764.  
  765. Player4B.Name = "Player4B"
  766. Player4B.Parent = TeleportPlayerGUI
  767. Player4B.BackgroundColor3 = Color3.new(1, 1, 1)
  768. Player4B.Position = UDim2.new(-0.0132869445, 0, 0.612034082, 0)
  769. Player4B.Size = UDim2.new(0, 101, 0, 23)
  770. Player4B.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  771. Player4B.Font = Enum.Font.SourceSans
  772. Player4B.Text = ""
  773. Player4B.TextColor3 = Color3.new(0, 0, 0)
  774. Player4B.TextSize = 12
  775.  
  776. boarder.Name = "boarder"
  777. boarder.Parent = TeleportPlayerGUI
  778. boarder.BackgroundColor3 = Color3.new(0.85098, 0.721569, 1)
  779. boarder.Position = UDim2.new(-0.0964912251, 0, 0.10077519, 0)
  780. boarder.Size = UDim2.new(0, 6, 0, 226)
  781.  
  782. boarder_2.Name = "boarder"
  783. boarder_2.Parent = TeleportPlayerGUI
  784. boarder_2.BackgroundColor3 = Color3.new(0.85098, 0.721569, 1)
  785. boarder_2.Position = UDim2.new(1.02631581, 0, 0.10077519, 0)
  786. boarder_2.Size = UDim2.new(0, 6, 0, 226)
  787.  
  788. boarder_3.Name = "boarder"
  789. boarder_3.Parent = TeleportPlayerGUI
  790. boarder_3.BackgroundColor3 = Color3.new(0.85098, 0.721569, 1)
  791. boarder_3.Position = UDim2.new(-0.0964912251, 0, 0.992248058, 0)
  792. boarder_3.Size = UDim2.new(0, 116, 0, 10)
  793.  
  794. TPPlayerB.Name = "TP Player B"
  795. TPPlayerB.Parent = TeleportPlayerGUI
  796. TPPlayerB.BackgroundColor3 = Color3.new(0.490196, 0.94902, 1)
  797. TPPlayerB.BorderSizePixel = 3
  798. TPPlayerB.Position = UDim2.new(-0.0789473653, 0, -0.0620155036, 0)
  799. TPPlayerB.Size = UDim2.new(0, 113, 0, 32)
  800. TPPlayerB.Font = Enum.Font.ArialBold
  801. TPPlayerB.Text = "Click To Teleport"
  802. TPPlayerB.TextColor3 = Color3.new(0, 0, 0)
  803. TPPlayerB.TextSize = 14
  804.  
  805. CloseTeleports.Name = "Close Teleports"
  806. CloseTeleports.Parent = TeleportPlayerGUI
  807. CloseTeleports.BackgroundColor3 = Color3.new(1, 0, 0)
  808. CloseTeleports.BorderColor3 = Color3.new(0, 0, 0)
  809. CloseTeleports.Position = UDim2.new(0.289473712, 0, 0.984496117, 0)
  810. CloseTeleports.Size = UDim2.new(0, 42, 0, 11)
  811. CloseTeleports.Font = Enum.Font.SourceSans
  812. CloseTeleports.Text = "X"
  813. CloseTeleports.TextColor3 = Color3.new(0, 0, 0)
  814. CloseTeleports.TextSize = 14
  815. CloseTeleports.MouseButton1Down:connect(function()
  816. TeleportPlayerGUI.Visible=false
  817. end)
  818.  
  819. --script area:
  820.  
  821. Player1B.MouseButton1Down:connect(function()
  822. PlayerSelectScreen.Text = Player1B.Text
  823. end)
  824. Player2B.MouseButton1Down:connect(function()
  825. PlayerSelectScreen.Text = Player2B.Text
  826. end)
  827. Player3B.MouseButton1Down:connect(function()
  828. PlayerSelectScreen.Text = Player3B.Text
  829. end)
  830. Player4B.MouseButton1Down:connect(function()
  831. PlayerSelectScreen.Text = Player4B.Text
  832. end)
  833. Player5B.MouseButton1Down:connect(function()
  834. PlayerSelectScreen.Text = Player5B.Text
  835. end)
  836. Player6B.MouseButton1Down:connect(function()
  837. PlayerSelectScreen.Text = Player6B.Text
  838. end)
  839. local buttons = {
  840. TeleportPlayerGUI.Player1B,
  841. TeleportPlayerGUI.Player2B,
  842. TeleportPlayerGUI.Player3B,
  843. TeleportPlayerGUI.Player4B,
  844. TeleportPlayerGUI.Player5B,
  845. TeleportPlayerGUI.Player6B
  846. }
  847.  
  848. for i, v in pairs(game.Players:GetChildren()) do
  849. buttons[i].Text = v.Name
  850. buttons[i].Visible = true
  851. end
  852. game.Players.PlayerRemoving:connect(function()
  853. for i, v in pairs(game.Players:GetChildren()) do
  854. buttons[i].Text = v.Name
  855. buttons[i].Visible = true
  856. end
  857. end)
  858. game.Players.PlayerAdded:connect(function()
  859. for i, v in pairs(game.Players:GetChildren()) do
  860. buttons[i].Text = v.Name
  861. buttons[i].Visible = true
  862. end
  863. end)
  864.  
  865. if TeleportPlayerGUI.Player1B.text == " " then
  866. Player1B.Visible = false
  867. end
  868.  
  869. if TeleportPlayerGUI.Player2B.text == " " then
  870. Player2B.Visible = false
  871. end
  872.  
  873. if TeleportPlayerGUI.Player3B.text == " " then
  874. Player3B.Visible = false
  875. end
  876.  
  877. if TeleportPlayerGUI.Player4B.text == " " then
  878. Player4B.Visible = false
  879. end
  880.  
  881. if TeleportPlayerGUI.Player5B.text == " " then
  882. Player5B.Visible = false
  883. end
  884.  
  885. if TeleportPlayerGUI.Player6B.text == "" then
  886. Player6B.Visible = false
  887. end
  888.  
  889. TPPlayerB.MouseButton1Down:connect(function()
  890. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[PlayerSelectScreen.Text].HumanoidRootPart.CFrame
  891. end)
  892.  
  893. TPPlayerB.MouseButton1Down:connect(function()
  894. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  895. if v.Owner.Value == game.Players[PlayerSelectScreen.Text] then
  896. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame
  897. end
  898. end
  899. end)
RAW Paste Data