MatLumber2

Untitled

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