Fauzan1GDR

Script Hack WhiteList LumberTycoon 2 !!

Mar 13th, 2020
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  2.     Text = "Creat By = Fauzan640!!";
  3.     Font = Enum.Font.ArialBold; --Arial, Cartoon, ArialBold, etc
  4.     Color = Color3.new(255, 255, 0);    
  5.    FontSize = Enum.FontSize.Size8;
  6. })
  7. wait(2)
  8. Option = false
  9. Found = false
  10. Tool = "None"
  11. Down = false
  12. Mouse = game.Players.LocalPlayer:GetMouse()
  13.  
  14. Client = game.ReplicatedStorage.Interaction.ClientSetListPlayer
  15. players = game.Players
  16. for i, v in pairs(players:GetPlayers()) do
  17. if v.Name ~= players.LocalPlayer.Name then
  18. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, v, true)
  19. end
  20. end
  21. players.PlayerAdded:connect(function(plr)
  22. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, plr, true)
  23. end)
  24.  
  25. function move(object)
  26. object:MoveTo(game.Players.LocalPlayer.Character.Head.Position + Vector3.new(5, -4, 5))
  27. object.WoodSection.Anchored = true
  28. wait(2)
  29. object.WoodSection.Anchored = false
  30. end
  31.  
  32. function tree(object, class)
  33. for i, v in pairs(object:GetChildren()) do
  34. if v.Name == "TreeClass" then
  35. if v.Value == class then
  36. if Found == false then
  37. move(object)
  38. Found = true
  39. end
  40. end
  41. end
  42. end
  43. end
  44.  
  45. function cut(object, class)
  46. for i, v in pairs(object:GetChildren()) do
  47. if v.Name == "TreeClass" then
  48. if v.Value == class then
  49. for a, b in pairs(object:GetChildren()) do
  50. if b.Name == "Owner" then
  51. for c, d in pairs(b:GetChildren()) do
  52. if d.Name == "OwnerString" then
  53. if d.Value == game.Players.LocalPlayer.Name then
  54. move(object)
  55. else
  56. if d.Value == "" then
  57. move(object)
  58. end
  59. end
  60. end
  61. end
  62. end
  63. end
  64. end
  65. end
  66. end
  67. end
  68.  
  69. local Text = Instance.new("TextLabel")
  70. local Main = Instance.new("Frame")
  71. local CF = Instance.new("ScreenGui")
  72. local CG69 = game.CoreGui
  73. local Tab1 = Instance.new("TextButton")
  74. local Tab2 = Instance.new("TextButton")
  75. local Tab3 = Instance.new("TextButton")
  76. local TTab1 = Instance.new("Frame")
  77. local TTab2 = Instance.new("Frame")
  78. local TTab3 = Instance.new("Frame")
  79. local Close = Instance.new("TextButton")
  80. local Depart = Instance.new("TextLabel")
  81.  
  82.  
  83. local place = UDim2.new(0, 0, 0, 70)
  84. local size = UDim2.new(0, 300, 0, 100)
  85.  
  86. CF.Name = "GO!!"
  87. CF.Parent = CG69
  88. local CGG = CG69["GO!!"]
  89.  
  90.  
  91. Main.Name = "Main"
  92. Main.Parent = CF
  93. Main.BackgroundColor3 = Color3.new(0.1, 0.6, 0.3)
  94. Main.BorderColor3 = Color3.new(0, 0, 0)
  95. Main.Position = UDim2.new(0, 500, 0, 500)
  96. Main.Size = UDim2.new(0, 300, 0, 75)
  97. Main.Visible = true
  98. Main.Draggable = true
  99. Main.Active = true
  100.  
  101. Text.Name = "Text"
  102. Text.Parent = Main
  103. Text.BackgroundColor3 = Color3.new(1, 1, 1)
  104. Text.BackgroundTransparency = 1
  105. Text.Position = UDim2.new(0.45, 0, 0, 0)
  106. Text.Size = UDim2.new(0, 20, 0, 35)
  107. Text.Font = Enum.Font.SourceSansBold
  108. Text.FontSize = Enum.FontSize.Size18
  109. Text.Text = "GUI Not in Use"
  110. Text.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  111. Text.TextSize = 18
  112.  
  113. Depart .Name = "Depart"
  114. Depart .Parent = Main
  115. Depart .BackgroundColor3 = Color3.new(1, 1, 1)
  116. Depart .BackgroundTransparency = 1
  117. Depart .Position = UDim2.new(0, 150, 0, 0)
  118. Depart .Size = UDim2.new(0, 1, 0, 10)
  119. Depart .Font = Enum.Font.SourceSansBold
  120. Depart .FontSize = Enum.FontSize.Size18
  121. Depart .Text = "Time To Departure: 0"
  122. Depart .TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  123. Depart .TextSize = 18
  124.  
  125. Tab1.Name = "Basic"
  126. Tab1.Parent = Main
  127. Tab1.BackgroundColor3 = Color3.new(0.3, 0.6, 0.9)
  128. Tab1.Position = UDim2.new(0, 0, 0, 35)
  129. Tab1.Size = UDim2.new(0, 80, 0, 20)
  130. Tab1.Font = Enum.Font.Cartoon
  131. Tab1.FontSize = Enum.FontSize.Size14
  132. Tab1.Text = "Basic Tab"
  133. Tab1.TextSize = 18
  134.  
  135. Tab2.Name = "UTrees"
  136. Tab2.Parent = Main
  137. Tab2.BackgroundColor3 = Color3.new(1, 0, 0)
  138. Tab2.Position = UDim2.new(0, 110, 0, 35)
  139. Tab2.Size = UDim2.new(0, 80, 0, 20)
  140. Tab2.Font = Enum.Font.Cartoon
  141. Tab2.FontSize = Enum.FontSize.Size14
  142. Tab2.Text = "UTrees"
  143. Tab2.TextSize = 18
  144.  
  145. Tab3.Name = "CTrees"
  146. Tab3.Parent = Main
  147. Tab3.BackgroundColor3 = Color3.new(0.5, 0.8, 0.2)
  148. Tab3.Position = UDim2.new(0, 220, 0, 35)
  149. Tab3.Size = UDim2.new(0, 80, 0, 20)
  150. Tab3.Font = Enum.Font.Cartoon
  151. Tab3.FontSize = Enum.FontSize.Size14
  152. Tab3.Text = "CTrees"
  153. Tab3.TextSize = 18
  154.  
  155. TTab1.Name = "GunsTab"
  156. TTab1.Parent = Main
  157. TTab1.BackgroundColor3 = Color3.new(0, 0, 0)
  158. TTab1.BorderColor3 = Color3.new(1, 1, 1)
  159. TTab1.Position = place
  160. TTab1.Size = size
  161. TTab1.Visible = true
  162.  
  163. TTab2.Name = "ItemsTab"
  164. TTab2.Parent = Main
  165. TTab2.BackgroundColor3 = Color3.new(1, 1, 1)
  166. TTab2.BorderColor3 = Color3.new(0, 0, 0)
  167. TTab2.Position = place
  168. TTab2.Size = size
  169. TTab2.Visible = false
  170.  
  171. TTab3.Name = "StatsTab"
  172. TTab3.Parent = Main
  173. TTab3.BackgroundColor3 = Color3.new(0, 1, 0)
  174. TTab3.BorderColor3 = Color3.new(1, 0, 1)
  175. TTab3.Position = place
  176. TTab3.Size = size
  177. TTab3.Visible = false
  178.  
  179. Close.Name = "X"
  180. Close.Parent = Main
  181. Close.BackgroundColor3 = Color3.new(1, 0, 0)
  182. Close.Position = UDim2.new(0, 275, 0, 0)
  183. Close.Size = UDim2.new(0, 25, 0, 25)
  184. Close.Font = Enum.Font.Cartoon
  185. Close.FontSize = Enum.FontSize.Size14
  186. Close.Text = "X"
  187. Close.TextSize = 14
  188.  
  189.  
  190. -- Tab 1 Buttons --
  191. Dupe = Instance.new("TextButton")
  192. DupeLabel = Instance.new("TextLabel")
  193. Steal = Instance.new("TextButton")
  194. CopyTool = Instance.new("TextButton")
  195. DeleteTool = Instance.new("TextButton")
  196. MoveTool = Instance.new("TextButton")
  197.  
  198. Dupe.Name = "Dupe"
  199. Dupe.Parent = TTab1
  200. Dupe.BackgroundColor3 = Color3.new(0.7, 0, 0)
  201. Dupe.Position = UDim2.new(0, 105, 0, 54)
  202. Dupe.Size = UDim2.new(0,85, 0, 25)
  203. Dupe.Font = Enum.Font.Cartoon
  204. Dupe.FontSize = Enum.FontSize.Size14
  205. Dupe.Text = "Dupe"
  206. Dupe.TextSize = 14
  207.  
  208. DupeLabel.Name = "Dupe"
  209. DupeLabel.Parent = TTab1
  210. DupeLabel.BackgroundColor3 = Color3.new(0.7, 0, 0)
  211. DupeLabel.BackgroundTransparency = 1
  212. DupeLabel.Position = UDim2.new(0, 105, 0, 74)
  213. DupeLabel.Size = UDim2.new(0,85, 0, 25)
  214. DupeLabel.Font = Enum.Font.Cartoon
  215. DupeLabel.FontSize = Enum.FontSize.Size14
  216. DupeLabel.Text = "Current save Will Save"
  217. DupeLabel.TextColor3 = Color3.new(255, 255, 255)
  218. DupeLabel.TextSize = 14
  219.  
  220. Steal.Name = "Dupe"
  221. Steal.Parent = TTab1
  222. Steal.BackgroundColor3 = Color3.new(1, 1, 1)
  223. Steal.Position = UDim2.new(0, 105, 0, 31)
  224. Steal.Size = UDim2.new(0,85, 0, 25)
  225. Steal.Font = Enum.Font.Cartoon
  226. Steal.FontSize = Enum.FontSize.Size14
  227. Steal.Text = "Steal"
  228. Steal.TextSize = 14
  229.  
  230. CopyTool.Name = "CopyTool"
  231. CopyTool.Parent = TTab1
  232. CopyTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  233. CopyTool.Position = UDim2.new(0, 1, 0, 1)
  234. CopyTool.Size = UDim2.new(0,85, 0, 25)
  235. CopyTool.Font = Enum.Font.Cartoon
  236. CopyTool.FontSize = Enum.FontSize.Size14
  237. CopyTool.Text = "Copy"
  238. CopyTool.TextSize = 14
  239.  
  240. DeleteTool.Name = "DeleteTool"
  241. DeleteTool.Parent = TTab1
  242. DeleteTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  243. DeleteTool.Position = UDim2.new(0, 90, 0, 1)
  244. DeleteTool.Size = UDim2.new(0,85, 0, 25)
  245. DeleteTool.Font = Enum.Font.Cartoon
  246. DeleteTool.FontSize = Enum.FontSize.Size14
  247. DeleteTool.Text = "Delete"
  248. DeleteTool.TextSize = 14
  249.  
  250. MoveTool.Name = "MoveTool"
  251. MoveTool.Parent = TTab1
  252. MoveTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  253. MoveTool.Position = UDim2.new(0, 179, 0, 1)
  254. MoveTool.Size = UDim2.new(0,85, 0, 25)
  255. MoveTool.Font = Enum.Font.Cartoon
  256. MoveTool.FontSize = Enum.FontSize.Size14
  257. MoveTool.Text = "Move"
  258. MoveTool.TextSize = 14
  259.  
  260. -- end --
  261.  
  262.  
  263.  
  264. -- Tab 1 Button Functions --
  265. Dupe.MouseButton1Down:connect(function()
  266. plr = game:GetService("Players").LocalPlayer
  267. slot = plr.CurrentSaveSlot
  268. if Option == false then
  269. if slot.Value == -1 then
  270. Option = true
  271. slot.RobloxLocked = true
  272. Dupe.BackgroundColor3 = Color3.new(0, 1, 0)
  273. DupeLabel.Text = "Current save Will  Not Save"
  274. end
  275. else
  276. Option = false
  277. slot.RobloxLocked = false
  278. Dupe.BackgroundColor3 = Color3.new(0.7, 0, 0)
  279. DupeLabel.Text = "Current save Will Save"
  280. end
  281. end)
  282.  
  283. Steal.MouseButton1Down:connect(function()
  284. Owner = false
  285. for i, v in pairs(game.Workspace:GetChildren()) do
  286. if v.Name == "Owner" then
  287. Owner = true
  288. end
  289. end
  290.  
  291. if Owner == false then
  292. for i, v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  293. for a, b in pairs(v:GetChildren()) do
  294. if b.Name == "Owner" then
  295. for c, d in pairs(b:GetChildren()) do
  296. if d:IsA("StringValue") then
  297. if d.Value == game.Players.LocalPlayer.Name then
  298. object = b
  299. end
  300. end
  301. end
  302. end
  303. end
  304. end
  305.  
  306. print("Copied")
  307.  
  308. if object then
  309. Owner = true
  310. object:clone().Parent = game.Workspace
  311. end
  312. end
  313. wait()
  314.  
  315. if Owner == true then
  316. print("Copying")
  317. for i, v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  318. for a, b in pairs(v:GetChildren()) do
  319. if b.Name == "Owner" then
  320. b:remove()
  321. game.Workspace.Owner:clone().Parent = v
  322. end
  323. end
  324. end
  325. end
  326.  
  327. end)
  328.  
  329. CopyTool.MouseButton1Down:connect(function()
  330. if Tool == "Copy" then
  331. Tool = "None"
  332. CopyTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  333. else
  334. Tool = "Copy"
  335. CopyTool.BackgroundColor3 = Color3.new(0, 0.7, 0)
  336. DeleteTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  337. MoveTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  338. end
  339. end)
  340.  
  341. DeleteTool.MouseButton1Down:connect(function()
  342. if Tool == "Delete" then
  343. Tool = "Nothing"
  344. DeleteTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  345. else
  346. Tool = "Delete"
  347. CopyTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  348. DeleteTool.BackgroundColor3 = Color3.new(0, 0.7, 0)
  349. MoveTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  350. end
  351. end)
  352.  
  353. MoveTool.MouseButton1Down:connect(function()
  354. if Tool == "Move" then
  355. Tool = "Nothing"
  356. MoveTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  357. else
  358. Tool = "Move"
  359. CopyTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  360. DeleteTool.BackgroundColor3 = Color3.new(0.7, 0, 0)
  361. MoveTool.BackgroundColor3 = Color3.new(0, 0.7, 0)
  362.  
  363. end
  364. end)
  365.  
  366. -- end --
  367.  
  368. -- Tab2 Buttons --
  369. Birch = Instance.new("TextButton")
  370. CaveCrawler = Instance.new("TextButton")
  371. Cherry = Instance.new("TextButton")
  372. Fir = Instance.new("TextButton")
  373. Generic = Instance.new("TextButton")
  374. GoldSwampy = Instance.new("TextButton")
  375. GreenSwampy = Instance.new("TextButton")
  376. Koa = Instance.new("TextButton")
  377. LoneCave = Instance.new("TextButton")
  378. Oak = Instance.new("TextButton")
  379. Palm = Instance.new("TextButton")
  380. Pine = Instance.new("TextButton")
  381. Volcano = Instance.new("TextButton")
  382. Walnut = Instance.new("TextButton")
  383.  
  384. Birch.Name = "Birch"
  385. Birch.Parent = TTab2
  386. Birch.BackgroundColor3 = Color3.new(0, 1, 1)
  387. Birch.Position = UDim2.new(0, 1, 0, 1)
  388. Birch.Size = UDim2.new(0,70, 0, 25)
  389. Birch.Font = Enum.Font.Cartoon
  390. Birch.FontSize = Enum.FontSize.Size14
  391. Birch.Text = "Birch"
  392. Birch.TextSize = 14
  393.  
  394. CaveCrawler.Name = "CaveCrawler"
  395. CaveCrawler.Parent = TTab2
  396. CaveCrawler.BackgroundColor3 = Color3.new(0, 1, 1)
  397. CaveCrawler.Position = UDim2.new(0, 71, 0, 1)
  398. CaveCrawler.Size = UDim2.new(0,70, 0, 25)
  399. CaveCrawler.Font = Enum.Font.Cartoon
  400. CaveCrawler.FontSize = Enum.FontSize.Size14
  401. CaveCrawler.Text = "CaveCrawler"
  402. CaveCrawler.TextSize = 14
  403.  
  404. Cherry.Name = "Cherry"
  405. Cherry.Parent = TTab2
  406. Cherry.BackgroundColor3 = Color3.new(0, 1, 1)
  407. Cherry.Position = UDim2.new(0, 141, 0, 1)
  408. Cherry.Size = UDim2.new(0,70, 0, 25)
  409. Cherry.Font = Enum.Font.Cartoon
  410. Cherry.FontSize = Enum.FontSize.Size14
  411. Cherry.Text = "Cherry"
  412. Cherry.TextSize = 14
  413.  
  414. Fir.Name = "Fir"
  415. Fir.Parent = TTab2
  416. Fir.BackgroundColor3 = Color3.new(0, 1, 1)
  417. Fir.Position = UDim2.new(0, 211, 0, 1)
  418. Fir.Size = UDim2.new(0,70, 0, 25)
  419. Fir.Font = Enum.Font.Cartoon
  420. Fir.FontSize = Enum.FontSize.Size14
  421. Fir.Text = "Fir"
  422. Fir.TextSize = 14
  423.  
  424. Generic.Name = "Generic"
  425. Generic.Parent = TTab2
  426. Generic.BackgroundColor3 = Color3.new(0, 1, 1)
  427. Generic.Position = UDim2.new(0, 1, 0, 26)
  428. Generic.Size = UDim2.new(0,70, 0, 25)
  429. Generic.Font = Enum.Font.Cartoon
  430. Generic.FontSize = Enum.FontSize.Size14
  431. Generic.Text = "Generic"
  432. Generic.TextSize = 14
  433.  
  434. GoldSwampy.Name = "GoldSwampy"
  435. GoldSwampy.Parent = TTab2
  436. GoldSwampy.BackgroundColor3 = Color3.new(0, 1, 1)
  437. GoldSwampy.Position = UDim2.new(0, 71, 0, 26)
  438. GoldSwampy.Size = UDim2.new(0,70, 0, 25)
  439. GoldSwampy.Font = Enum.Font.Cartoon
  440. GoldSwampy.FontSize = Enum.FontSize.Size14
  441. GoldSwampy.Text = "Gold"
  442. GoldSwampy.TextSize = 14
  443.  
  444. GreenSwampy.Name = "GreenSwampy"
  445. GreenSwampy.Parent = TTab2
  446. GreenSwampy.BackgroundColor3 = Color3.new(0, 1, 1)
  447. GreenSwampy.Position = UDim2.new(0, 141, 0, 26)
  448. GreenSwampy.Size = UDim2.new(0,70, 0, 25)
  449. GreenSwampy.Font = Enum.Font.Cartoon
  450. GreenSwampy.FontSize = Enum.FontSize.Size14
  451. GreenSwampy.Text = "Green"
  452. GreenSwampy.TextSize = 14
  453.  
  454. Koa.Name = "Koa"
  455. Koa.Parent = TTab2
  456. Koa.BackgroundColor3 = Color3.new(0, 1, 1)
  457. Koa.Position = UDim2.new(0, 211, 0, 26)
  458. Koa.Size = UDim2.new(0,70, 0, 25)
  459. Koa.Font = Enum.Font.Cartoon
  460. Koa.FontSize = Enum.FontSize.Size14
  461. Koa.Text = "Koa"
  462. Koa.TextSize = 14
  463.  
  464. LoneCave.Name = "LoneCave"
  465. LoneCave.Parent = TTab2
  466. LoneCave.BackgroundColor3 = Color3.new(0, 1, 1)
  467. LoneCave.Position = UDim2.new(0, 1, 0, 51)
  468. LoneCave.Size = UDim2.new(0,70, 0, 25)
  469. LoneCave.Font = Enum.Font.Cartoon
  470. LoneCave.FontSize = Enum.FontSize.Size14
  471. LoneCave.Text = "LoneCave"
  472. LoneCave.TextSize = 14
  473.  
  474. Oak.Name = "Oak"
  475. Oak.Parent = TTab2
  476. Oak.BackgroundColor3 = Color3.new(0, 1, 1)
  477. Oak.Position = UDim2.new(0, 71, 0, 51)
  478. Oak.Size = UDim2.new(0,70, 0, 25)
  479. Oak.Font = Enum.Font.Cartoon
  480. Oak.FontSize = Enum.FontSize.Size14
  481. Oak.Text = "Oak"
  482. Oak.TextSize = 14
  483.  
  484. Palm.Name = "Palm"
  485. Palm.Parent = TTab2
  486. Palm.BackgroundColor3 = Color3.new(0, 1, 1)
  487. Palm.Position = UDim2.new(0, 141, 0, 51)
  488. Palm.Size = UDim2.new(0,70, 0, 25)
  489. Palm.Font = Enum.Font.Cartoon
  490. Palm.FontSize = Enum.FontSize.Size14
  491. Palm.Text = "Palm"
  492. Palm.TextSize = 14
  493.  
  494. Pine.Name = "Pine"
  495. Pine.Parent = TTab2
  496. Pine.BackgroundColor3 = Color3.new(0, 1, 1)
  497. Pine.Position = UDim2.new(0, 211, 0, 51)
  498. Pine.Size = UDim2.new(0,70, 0, 25)
  499. Pine.Font = Enum.Font.Cartoon
  500. Pine.FontSize = Enum.FontSize.Size14
  501. Pine.Text = "Pine"
  502. Pine.TextSize = 14
  503.  
  504. Volcano.Name = "Volcano"
  505. Volcano.Parent = TTab2
  506. Volcano.BackgroundColor3 = Color3.new(0, 1, 1)
  507. Volcano.Position = UDim2.new(0, 1, 0, 76)
  508. Volcano.Size = UDim2.new(0,70, 0, 25)
  509. Volcano.Font = Enum.Font.Cartoon
  510. Volcano.FontSize = Enum.FontSize.Size14
  511. Volcano.Text = "Volcano"
  512. Volcano.TextSize = 14
  513.  
  514. Walnut.Name = "Walnut"
  515. Walnut.Parent = TTab2
  516. Walnut.BackgroundColor3 = Color3.new(0, 1, 1)
  517. Walnut.Position = UDim2.new(0, 71, 0, 76)
  518. Walnut.Size = UDim2.new(0,70, 0, 25)
  519. Walnut.Font = Enum.Font.Cartoon
  520. Walnut.FontSize = Enum.FontSize.Size14
  521. Walnut.Text = "Walnut"
  522. Walnut.TextSize = 14
  523.  
  524. -- end --
  525.  
  526. -- Tab2 Button Functions --
  527. Birch.MouseButton1Down:connect(function()
  528. Found = false
  529. for i, v in pairs(game.Workspace:GetChildren()) do
  530. if v.Name == "TreeRegion" then
  531. for a, b in pairs(v:GetChildren()) do
  532. tree(b, "Birch")
  533. end
  534. end
  535. end
  536. end)
  537.  
  538. CaveCrawler.MouseButton1Down:connect(function()
  539. Found = false
  540. for i, v in pairs(game.Workspace:GetChildren()) do
  541. if v.Name == "TreeRegion" then
  542. for a, b in pairs(v:GetChildren()) do
  543. tree(b, "CaveCrawler")
  544. end
  545. end
  546. end
  547. end)
  548.  
  549. Cherry.MouseButton1Down:connect(function()
  550. Found = false
  551. for i, v in pairs(game.Workspace:GetChildren()) do
  552. if v.Name == "TreeRegion" then
  553. for a, b in pairs(v:GetChildren()) do
  554. tree(b, "Cherry")
  555. end
  556. end
  557. end
  558. end)
  559.  
  560. Fir.MouseButton1Down:connect(function()
  561. Found = false
  562. for i, v in pairs(game.Workspace:GetChildren()) do
  563. if v.Name == "TreeRegion" then
  564. for a, b in pairs(v:GetChildren()) do
  565. tree(b, "Fir")
  566. end
  567. end
  568. end
  569. end)
  570.  
  571. Generic.MouseButton1Down:connect(function()
  572. Found = false
  573. for i, v in pairs(game.Workspace:GetChildren()) do
  574. if v.Name == "TreeRegion" then
  575. for a, b in pairs(v:GetChildren()) do
  576. tree(b, "Generic")
  577. end
  578. end
  579. end
  580. end)
  581.  
  582. GoldSwampy.MouseButton1Down:connect(function()
  583. Found = false
  584. for i, v in pairs(game.Workspace:GetChildren()) do
  585. if v.Name == "TreeRegion" then
  586. for a, b in pairs(v:GetChildren()) do
  587. tree(b, "GoldSwampy")
  588. end
  589. end
  590. end
  591. end)
  592.  
  593. GreenSwampy.MouseButton1Down:connect(function()
  594. Found = false
  595. for i, v in pairs(game.Workspace:GetChildren()) do
  596. if v.Name == "TreeRegion" then
  597. for a, b in pairs(v:GetChildren()) do
  598. tree(b, "GreenSwampy")
  599. end
  600. end
  601. end
  602. end)
  603.  
  604. Koa.MouseButton1Down:connect(function()
  605. Found = false
  606. for i, v in pairs(game.Workspace:GetChildren()) do
  607. if v.Name == "TreeRegion" then
  608. for a, b in pairs(v:GetChildren()) do
  609. tree(b, "Koa")
  610. end
  611. end
  612. end
  613. end)
  614.  
  615. LoneCave.MouseButton1Down:connect(function()
  616. Found = false
  617. for i, v in pairs(game.Workspace:GetChildren()) do
  618. if v.Name == "TreeRegion" then
  619. for a, b in pairs(v:GetChildren()) do
  620. tree(b, "LoneCave")
  621. end
  622. end
  623. end
  624. end)
  625.  
  626. Oak.MouseButton1Down:connect(function()
  627. Found = false
  628. for i, v in pairs(game.Workspace:GetChildren()) do
  629. if v.Name == "TreeRegion" then
  630. for a, b in pairs(v:GetChildren()) do
  631. tree(b, "Oak")
  632. end
  633. end
  634. end
  635. end)
  636.  
  637. Palm.MouseButton1Down:connect(function()
  638. Found = false
  639. for i, v in pairs(game.Workspace:GetChildren()) do
  640. if v.Name == "TreeRegion" then
  641. for a, b in pairs(v:GetChildren()) do
  642. tree(b, "Palm")
  643. end
  644. end
  645. end
  646. end)
  647.  
  648. Pine.MouseButton1Down:connect(function()
  649. Found = false
  650. for i, v in pairs(game.Workspace:GetChildren()) do
  651. if v.Name == "TreeRegion" then
  652. for a, b in pairs(v:GetChildren()) do
  653. tree(b, "Pine")
  654. end
  655. end
  656. end
  657. end)
  658.  
  659. Volcano.MouseButton1Down:connect(function()
  660. Found = false
  661. for i, v in pairs(game.Workspace:GetChildren()) do
  662. if v.Name == "TreeRegion" then
  663. for a, b in pairs(v:GetChildren()) do
  664. tree(b, "Volcano")
  665. end
  666. end
  667. end
  668. end)
  669.  
  670. Walnut.MouseButton1Down:connect(function()
  671. Found = false
  672. for i, v in pairs(game.Workspace:GetChildren()) do
  673. if v.Name == "TreeRegion" then
  674. for a, b in pairs(v:GetChildren()) do
  675. tree(b, "Walnut")
  676. end
  677. end
  678. end
  679. end)
  680.  
  681. -- end --
  682.  
  683. -- Tab3 Buttons --
  684. Birch2 = Instance.new("TextButton")
  685. CaveCrawler2 = Instance.new("TextButton")
  686. Cherry2 = Instance.new("TextButton")
  687. Fir2 = Instance.new("TextButton")
  688. Generic2 = Instance.new("TextButton")
  689. GoldSwampy2 = Instance.new("TextButton")
  690. GreenSwampy2 = Instance.new("TextButton")
  691. Koa2 = Instance.new("TextButton")
  692. LoneCave2 = Instance.new("TextButton")
  693. Oak2 = Instance.new("TextButton")
  694. Palm2 = Instance.new("TextButton")
  695. Pine2 = Instance.new("TextButton")
  696. Volcano2 = Instance.new("TextButton")
  697. Walnut2 = Instance.new("TextButton")
  698.  
  699. Birch2.Name = "Birch"
  700. Birch2.Parent = TTab3
  701. Birch2.BackgroundColor3 = Color3.new(1, 1, 0)
  702. Birch2.Position = UDim2.new(0, 1, 0, 1)
  703. Birch2.Size = UDim2.new(0,70, 0, 25)
  704. Birch2.Font = Enum.Font.Cartoon
  705. Birch2.FontSize = Enum.FontSize.Size14
  706. Birch2.Text = "Birch"
  707. Birch2.TextSize = 14
  708.  
  709. CaveCrawler2.Name = "CaveCrawler"
  710. CaveCrawler2.Parent = TTab3
  711. CaveCrawler2.BackgroundColor3 = Color3.new(1, 1, 0)
  712. CaveCrawler2.Position = UDim2.new(0, 71, 0, 1)
  713. CaveCrawler2.Size = UDim2.new(0,70, 0, 25)
  714. CaveCrawler2.Font = Enum.Font.Cartoon
  715. CaveCrawler2.FontSize = Enum.FontSize.Size14
  716. CaveCrawler2.Text = "CaveCrawler"
  717. CaveCrawler2.TextSize = 14
  718.  
  719. Cherry2.Name = "Cherry"
  720. Cherry2.Parent = TTab3
  721. Cherry2.BackgroundColor3 = Color3.new(1, 1, 0)
  722. Cherry2.Position = UDim2.new(0, 141, 0, 1)
  723. Cherry2.Size = UDim2.new(0,70, 0, 25)
  724. Cherry2.Font = Enum.Font.Cartoon
  725. Cherry2.FontSize = Enum.FontSize.Size14
  726. Cherry2.Text = "Cherry"
  727. Cherry2.TextSize = 14
  728.  
  729. Fir2.Name = "Fir"
  730. Fir2.Parent = TTab3
  731. Fir2.BackgroundColor3 = Color3.new(1, 1, 0)
  732. Fir2.Position = UDim2.new(0, 211, 0, 1)
  733. Fir2.Size = UDim2.new(0,70, 0, 25)
  734. Fir2.Font = Enum.Font.Cartoon
  735. Fir2.FontSize = Enum.FontSize.Size14
  736. Fir2.Text = "Fir"
  737. Fir2.TextSize = 14
  738.  
  739. Generic2.Name = "Generic"
  740. Generic2.Parent = TTab3
  741. Generic2.BackgroundColor3 = Color3.new(1, 1, 0)
  742. Generic2.Position = UDim2.new(0, 1, 0, 26)
  743. Generic2.Size = UDim2.new(0,70, 0, 25)
  744. Generic2.Font = Enum.Font.Cartoon
  745. Generic2.FontSize = Enum.FontSize.Size14
  746. Generic2.Text = "Generic"
  747. Generic2.TextSize = 14
  748.  
  749. GoldSwampy2.Name = "GoldSwampy"
  750. GoldSwampy2.Parent = TTab3
  751. GoldSwampy2.BackgroundColor3 = Color3.new(1, 1, 0)
  752. GoldSwampy2.Position = UDim2.new(0, 71, 0, 26)
  753. GoldSwampy2.Size = UDim2.new(0,70, 0, 25)
  754. GoldSwampy2.Font = Enum.Font.Cartoon
  755. GoldSwampy2.FontSize = Enum.FontSize.Size14
  756. GoldSwampy2.Text = "Gold"
  757. GoldSwampy2.TextSize = 14
  758.  
  759. GreenSwampy2.Name = "GreenSwampy"
  760. GreenSwampy2.Parent = TTab3
  761. GreenSwampy2.BackgroundColor3 = Color3.new(1, 1, 0)
  762. GreenSwampy2.Position = UDim2.new(0, 141, 0, 26)
  763. GreenSwampy2.Size = UDim2.new(0,70, 0, 25)
  764. GreenSwampy2.Font = Enum.Font.Cartoon
  765. GreenSwampy2.FontSize = Enum.FontSize.Size14
  766. GreenSwampy2.Text = "Green"
  767. GreenSwampy2.TextSize = 14
  768.  
  769. Koa2.Name = "Koa"
  770. Koa2.Parent = TTab3
  771. Koa2.BackgroundColor3 = Color3.new(1, 1, 0)
  772. Koa2.Position = UDim2.new(0, 211, 0, 26)
  773. Koa2.Size = UDim2.new(0,70, 0, 25)
  774. Koa2.Font = Enum.Font.Cartoon
  775. Koa2.FontSize = Enum.FontSize.Size14
  776. Koa2.Text = "Koa"
  777. Koa2.TextSize = 14
  778.  
  779. LoneCave2.Name = "LoneCave"
  780. LoneCave2.Parent = TTab3
  781. LoneCave2.BackgroundColor3 = Color3.new(1, 1, 0)
  782. LoneCave2.Position = UDim2.new(0, 1, 0, 51)
  783. LoneCave2.Size = UDim2.new(0,70, 0, 25)
  784. LoneCave2.Font = Enum.Font.Cartoon
  785. LoneCave2.FontSize = Enum.FontSize.Size14
  786. LoneCave2.Text = "LoneCave"
  787. LoneCave2.TextSize = 14
  788.  
  789. Oak2.Name = "Oak"
  790. Oak2.Parent = TTab3
  791. Oak2.BackgroundColor3 = Color3.new(1, 1, 0)
  792. Oak2.Position = UDim2.new(0, 71, 0, 51)
  793. Oak2.Size = UDim2.new(0,70, 0, 25)
  794. Oak2.Font = Enum.Font.Cartoon
  795. Oak2.FontSize = Enum.FontSize.Size14
  796. Oak2.Text = "Oak"
  797. Oak2.TextSize = 14
  798.  
  799. Palm2.Name = "Palm"
  800. Palm2.Parent = TTab3
  801. Palm2.BackgroundColor3 = Color3.new(1, 1, 0)
  802. Palm2.Position = UDim2.new(0, 141, 0, 51)
  803. Palm2.Size = UDim2.new(0,70, 0, 25)
  804. Palm2.Font = Enum.Font.Cartoon
  805. Palm2.FontSize = Enum.FontSize.Size14
  806. Palm2.Text = "Palm"
  807. Palm2.TextSize = 14
  808.  
  809. Pine2.Name = "Pine"
  810. Pine2.Parent = TTab3
  811. Pine2.BackgroundColor3 = Color3.new(1, 1, 0)
  812. Pine2.Position = UDim2.new(0, 211, 0, 51)
  813. Pine2.Size = UDim2.new(0,70, 0, 25)
  814. Pine2.Font = Enum.Font.Cartoon
  815. Pine2.FontSize = Enum.FontSize.Size14
  816. Pine2.Text = "Pine"
  817. Pine2.TextSize = 14
  818.  
  819. Volcano2.Name = "Volcano"
  820. Volcano2.Parent = TTab3
  821. Volcano2.BackgroundColor3 = Color3.new(1, 1, 0)
  822. Volcano2.Position = UDim2.new(0, 1, 0, 76)
  823. Volcano2.Size = UDim2.new(0,70, 0, 25)
  824. Volcano2.Font = Enum.Font.Cartoon
  825. Volcano2.FontSize = Enum.FontSize.Size14
  826. Volcano2.Text = "Volcano"
  827. Volcano2.TextSize = 14
  828.  
  829. Walnut2.Name = "Walnut"
  830. Walnut2.Parent = TTab3
  831. Walnut2.BackgroundColor3 = Color3.new(1, 1, 0)
  832. Walnut2.Position = UDim2.new(0, 71, 0, 76)
  833. Walnut2.Size = UDim2.new(0,70, 0, 25)
  834. Walnut2.Font = Enum.Font.Cartoon
  835. Walnut2.FontSize = Enum.FontSize.Size14
  836. Walnut2.Text = "Walnut"
  837. Walnut2.TextSize = 14
  838.  
  839. -- end --
  840.  
  841. -- Tab3 Button Functions --
  842. Birch2.MouseButton1Down:connect(function()
  843. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  844. cut(v, "Birch")
  845. end
  846. end)
  847.  
  848. CaveCrawler2.MouseButton1Down:connect(function()
  849. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  850. cut(v, "CaveCrawler")
  851. end
  852. end)
  853.  
  854. Cherry2.MouseButton1Down:connect(function()
  855. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  856. cut(v, "Cherry")
  857. end
  858. end)
  859.  
  860. Fir2.MouseButton1Down:connect(function()
  861. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  862. cut(v, "Fir")
  863. end
  864. end)
  865.  
  866. Generic2.MouseButton1Down:connect(function()
  867. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  868. cut(v, "Generic")
  869. end
  870. end)
  871.  
  872. GoldSwampy2.MouseButton1Down:connect(function()
  873. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  874. cut(v, "GoldSwampy")
  875. end
  876. end)
  877.  
  878. GreenSwampy2.MouseButton1Down:connect(function()
  879. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  880. cut(v, "GreenSwampy")
  881. end
  882. end)
  883.  
  884. Koa2.MouseButton1Down:connect(function()
  885. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  886. cut(v, "Koa")
  887. end
  888. end)
  889.  
  890. LoneCave2.MouseButton1Down:connect(function()
  891. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  892. cut(v, "LoneCave")
  893. end
  894. end)
  895.  
  896. Oak2.MouseButton1Down:connect(function()
  897. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  898. cut(v, "Oak")
  899. end
  900. end)
  901.  
  902. Palm2.MouseButton1Down:connect(function()
  903. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  904. cut(v, "Palm")
  905. end
  906. end)
  907.  
  908. Pine2.MouseButton1Down:connect(function()
  909. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  910. cut(v, "Pine")
  911. end
  912. end)
  913.  
  914. Volcano2.MouseButton1Down:connect(function()
  915. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  916. cut(v, "Volcano")
  917. end
  918. end)
  919.  
  920. Pine2.MouseButton1Down:connect(function()
  921. for i, v in pairs(game.Workspace.LogModels:GetChildren()) do
  922. cut(v, "Walnut")
  923. end
  924. end)
  925.  
  926.  
  927. -- end --
  928.  
  929.  
  930. -- button function --
  931. Tab1.MouseButton1Down:connect(function()
  932. TTab1.Visible = true
  933. TTab2.Visible = false
  934. TTab3.Visible = false
  935.  
  936. end)
  937.  
  938. Tab2.MouseButton1Down:connect(function()
  939. TTab1.Visible = false
  940. TTab2.Visible = true
  941. TTab3.Visible = false
  942. end)
  943.  
  944. Tab3.MouseButton1Down:connect(function()
  945. TTab1.Visible = false
  946. TTab2.Visible = false
  947. TTab3.Visible = true
  948. end)
  949.  
  950. Close.MouseButton1Down:connect(function()
  951. CGG:remove()
  952. end)
  953.  
  954. departure = game.Workspace.Ferry.TimeToDeparture
  955. game.Workspace.Ferry.TimeToDeparture.Changed:connect(function()
  956. Depart.Text = "Time To Departure: ".. game.Workspace.Ferry.TimeToDeparture.Value
  957. end)
  958.  
  959. Mouse.Button1Up:connect(function()
  960. Down = false
  961. end)
  962.  
  963. Mouse.Button1Down:connect(function()
  964. Down = true
  965. if Tool == "Copy" then
  966. if Mouse.Target ~= nil then
  967. Clone = Mouse.Target:clone()
  968. Clone.Parent = game.Workspace
  969. end
  970. end
  971.  
  972. if Tool == "Delete" then
  973. if Mouse.Target ~= nil then
  974. Mouse.Target:remove()
  975. end
  976. end
  977.  
  978. if Tool == "Move" then
  979. if Mouse.Target ~= nil then
  980. MoveObject = Mouse.Target
  981. end
  982. end
  983.  
  984. wait()
  985. if Clone ~= nil then
  986. Clone.CanCollide = false
  987. repeat
  988. wait()
  989. SubX = Clone.Size.X/2
  990. SubY = Clone.Size.Y/2
  991. SubZ = Clone.Size.Z/2
  992. Clone.Position = Vector3.new(Mouse.Hit.X - SubX, Mouse.Hit.Y - SubY, Mouse.Hit.Z - SubZ)
  993. until Down == false
  994. Clone.CanCollide = true
  995. Clone.Position = Clone.Position + Vector3.new(SubX, SubY, SubZ)
  996. Clone = nil
  997. end
  998.  
  999. if MoveObject ~= nil then
  1000. MoveObject.CanCollide = false
  1001. repeat
  1002. wait()
  1003. SubX = MoveObject.Size.X/2
  1004. SubY = MoveObject.Size.Y/2
  1005. SubZ = MoveObject.Size.Z/2
  1006. MoveObject.Position = Vector3.new(Mouse.Hit.X - SubX, Mouse.Hit.Y - SubY, Mouse.Hit.Z - SubZ)
  1007. until Down == false
  1008. MoveObject.CanCollide = true
  1009. MoveObject.Position =  MoveObject.Position + Vector3.new(SubX, SubY, SubZ)
  1010. MoveObject= nil
  1011. end
  1012. end)
Add Comment
Please, Sign In to add comment