KingPhantom

LT2 Gui

May 18th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.00 KB | None | 0 0
  1. local LT2 = Instance.new("ScreenGui")
  2. local MainFrame = Instance.new("Frame")
  3. local Close = Instance.new("TextButton")
  4. local DupeStatus = Instance.new("TextLabel")
  5. local Dupe = Instance.new("TextButton")
  6. local SettingsFrame = Instance.new("Frame")
  7. local WalkspeedLabel = Instance.new("TextLabel")
  8. local JumpPowerLabel = Instance.new("TextLabel")
  9. local WalkSpeed = Instance.new("TextBox")
  10. local JumpPower = Instance.new("TextBox")
  11. local Settings = Instance.new("TextButton")
  12. local Greywood = Instance.new("TextButton")
  13. local Players = Instance.new("TextButton")
  14. local SellPlanks = Instance.new("TextButton")
  15. local SellWood = Instance.new("TextButton")
  16. local Teleport = Instance.new("TextButton")
  17. local TpBox = Instance.new("TextButton")
  18. local TpPlank = Instance.new("TextButton")
  19. local TpWood = Instance.new("TextButton")
  20. local PlankFrame = Instance.new("Frame")
  21. local ProcessedWoodList = Instance.new("ScrollingFrame")
  22. local TpAllPlanks = Instance.new("TextButton")
  23. local PlayersFrame = Instance.new("Frame")
  24. local Player1 = Instance.new("TextButton")
  25. local Player2 = Instance.new("TextButton")
  26. local Player3 = Instance.new("TextButton")
  27. local Player4 = Instance.new("TextButton")
  28. local Player5 = Instance.new("TextButton")
  29. local Player6 = Instance.new("TextButton")
  30. local PlayerTp = Instance.new("TextButton")
  31. local TpBase = Instance.new("TextButton")
  32. local PlayerSelect = Instance.new("TextLabel")
  33. local PurchasedFrame = Instance.new("Frame")
  34. local LastPurchasedList = Instance.new("ScrollingFrame")
  35. local WaypointFrame = Instance.new("Frame")
  36. local Waypoints = Instance.new("ScrollingFrame")
  37. local Stranger = Instance.new("TextButton")
  38. local BobsShack = Instance.new("TextButton")
  39. local PlotTp = Instance.new("TextButton")
  40. local BoxedCars = Instance.new("TextButton")
  41. local Cave = Instance.new("TextButton")
  42. local FancyFurnishings = Instance.new("TextButton")
  43. local FineArtsShop = Instance.new("TextButton")
  44. local LandStore = Instance.new("TextButton")
  45. local LinksLogic = Instance.new("TextButton")
  46. local PalmIsland = Instance.new("TextButton")
  47. local SpawnPoint = Instance.new("TextButton")
  48. local Swamp = Instance.new("TextButton")
  49. local Volcano = Instance.new("TextButton")
  50. local WoodRUs = Instance.new("TextButton")
  51.  
  52. LT2.Name = "LT2"
  53. LT2.Parent = game.CoreGui
  54.  
  55. MainFrame.Name = "MainFrame"
  56. MainFrame.Parent = LT2
  57. MainFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  58. MainFrame.BackgroundTransparency = 1
  59. MainFrame.BorderSizePixel = 0
  60. MainFrame.Position = UDim2.new(0.5, -535, 0, -33)
  61. MainFrame.Size = UDim2.new(0, 955, 0, 30)
  62.  
  63. Close.Name = "Close"
  64. Close.Parent = MainFrame
  65. Close.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  66. Close.BorderColor3 = Color3.new(0, 0, 0)
  67. Close.BorderSizePixel = 2
  68. Close.Position = UDim2.new(0, 5, 0, 5)
  69. Close.Size = UDim2.new(0, 20, 0, 20)
  70. Close.Font = Enum.Font.Fantasy
  71. Close.FontSize = Enum.FontSize.Size18
  72. Close.Text = "X"
  73. Close.TextColor3 = Color3.new(1, 0, 0)
  74. Close.TextSize = 16
  75. Close.TextWrapped = true
  76.  
  77. DupeStatus.Name = "DupeStatus"
  78. DupeStatus.Parent = MainFrame
  79. DupeStatus.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  80. DupeStatus.BackgroundTransparency = 1
  81. DupeStatus.BorderColor3 = Color3.new(0, 0, 0)
  82. DupeStatus.BorderSizePixel = 2
  83. DupeStatus.Position = UDim2.new(0, 920, 0, 5)
  84. DupeStatus.Size = UDim2.new(0, 30, 0, 20)
  85. DupeStatus.ZIndex = 2
  86. DupeStatus.Font = Enum.Font.Code
  87. DupeStatus.FontSize = Enum.FontSize.Size18
  88. DupeStatus.Text = "OFF"
  89. DupeStatus.TextColor3 = Color3.new(1, 0, 0)
  90. DupeStatus.TextSize = 16
  91.  
  92. Dupe.Name = "Dupe"
  93. Dupe.Parent = MainFrame
  94. Dupe.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  95. Dupe.BorderColor3 = Color3.new(0, 0, 0)
  96. Dupe.BorderSizePixel = 2
  97. Dupe.Position = UDim2.new(0, 865, 0, 5)
  98. Dupe.Size = UDim2.new(0, 85, 0, 20)
  99. Dupe.Font = Enum.Font.Fantasy
  100. Dupe.FontSize = Enum.FontSize.Size18
  101. Dupe.Text = "DUPE : "
  102. Dupe.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  103. Dupe.TextSize = 15
  104. Dupe.TextStrokeColor3 = Color3.new(1, 1, 1)
  105. Dupe.TextWrapped = true
  106.  
  107. SettingsFrame.Name = "SettingsFrame"
  108. SettingsFrame.Parent = MainFrame
  109. SettingsFrame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  110. SettingsFrame.Position = UDim2.new(0, 750, 0, 35)
  111. SettingsFrame.Size = UDim2.new(0, 135, 0, 60)
  112. SettingsFrame.Visible = false
  113.  
  114. WalkspeedLabel.Name = "WalkspeedLabel"
  115. WalkspeedLabel.Parent = SettingsFrame
  116. WalkspeedLabel.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  117. WalkspeedLabel.BorderColor3 = Color3.new(0, 0, 0)
  118. WalkspeedLabel.Position = UDim2.new(0, 5, 0, 5)
  119. WalkspeedLabel.Size = UDim2.new(0, 90, 0, 20)
  120. WalkspeedLabel.Font = Enum.Font.Fantasy
  121. WalkspeedLabel.FontSize = Enum.FontSize.Size14
  122. WalkspeedLabel.Text = "Walkspeed"
  123. WalkspeedLabel.TextColor3 = Color3.new(0, 0, 0)
  124. WalkspeedLabel.TextSize = 14
  125.  
  126. JumpPowerLabel.Name = "JumpPowerLabel"
  127. JumpPowerLabel.Parent = SettingsFrame
  128. JumpPowerLabel.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  129. JumpPowerLabel.BorderColor3 = Color3.new(0, 0, 0)
  130. JumpPowerLabel.Position = UDim2.new(0, 5, 0, 35)
  131. JumpPowerLabel.Size = UDim2.new(0, 90, 0, 20)
  132. JumpPowerLabel.Font = Enum.Font.Fantasy
  133. JumpPowerLabel.FontSize = Enum.FontSize.Size14
  134. JumpPowerLabel.Text = "Jump Power"
  135. JumpPowerLabel.TextColor3 = Color3.new(0, 0, 0)
  136. JumpPowerLabel.TextSize = 14
  137.  
  138. WalkSpeed.Name = "WalkSpeed"
  139. WalkSpeed.Parent = SettingsFrame
  140. WalkSpeed.BackgroundColor3 = Color3.new(0, 0, 0)
  141. WalkSpeed.BorderColor3 = Color3.new(0, 0, 0)
  142. WalkSpeed.Position = UDim2.new(0, 95, 0, 5)
  143. WalkSpeed.Size = UDim2.new(0, 35, 0, 20)
  144. WalkSpeed.Font = Enum.Font.Fantasy
  145. WalkSpeed.FontSize = Enum.FontSize.Size18
  146. WalkSpeed.Text = "16"
  147. WalkSpeed.TextColor3 = Color3.new(1, 1, 1)
  148. WalkSpeed.TextSize = 16
  149.  
  150. JumpPower.Name = "JumpPower"
  151. JumpPower.Parent = SettingsFrame
  152. JumpPower.BackgroundColor3 = Color3.new(0, 0, 0)
  153. JumpPower.BorderColor3 = Color3.new(0, 0, 0)
  154. JumpPower.Position = UDim2.new(0, 95, 0, 35)
  155. JumpPower.Size = UDim2.new(0, 35, 0, 20)
  156. JumpPower.Font = Enum.Font.Fantasy
  157. JumpPower.FontSize = Enum.FontSize.Size18
  158. JumpPower.Text = "50"
  159. JumpPower.TextColor3 = Color3.new(1, 1, 1)
  160. JumpPower.TextSize = 16
  161.  
  162. Settings.Name = "Settings"
  163. Settings.Parent = MainFrame
  164. Settings.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  165. Settings.BorderColor3 = Color3.new(0, 0, 0)
  166. Settings.BorderSizePixel = 2
  167. Settings.Position = UDim2.new(0, 770, 0, 5)
  168. Settings.Size = UDim2.new(0, 90, 0, 20)
  169. Settings.Font = Enum.Font.Fantasy
  170. Settings.FontSize = Enum.FontSize.Size18
  171. Settings.Text = "SETTINGS"
  172. Settings.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  173. Settings.TextSize = 15
  174.  
  175. Greywood.Name = "Greywood"
  176. Greywood.Parent = MainFrame
  177. Greywood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  178. Greywood.BorderColor3 = Color3.new(0, 0, 0)
  179. Greywood.BorderSizePixel = 2
  180. Greywood.Position = UDim2.new(0, 420, 0, 5)
  181. Greywood.Size = UDim2.new(0, 90, 0, 20)
  182. Greywood.Font = Enum.Font.Fantasy
  183. Greywood.FontSize = Enum.FontSize.Size18
  184. Greywood.Text = "GREYWOOD"
  185. Greywood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  186. Greywood.TextSize = 15
  187.  
  188. Players.Name = "Players"
  189. Players.Parent = MainFrame
  190. Players.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  191. Players.BorderColor3 = Color3.new(0, 0, 0)
  192. Players.BorderSizePixel = 2
  193. Players.Position = UDim2.new(0, 30, 0, 5)
  194. Players.Size = UDim2.new(0, 105, 0, 20)
  195. Players.Font = Enum.Font.Fantasy
  196. Players.FontSize = Enum.FontSize.Size18
  197. Players.Text = "TP TO PLAYERS"
  198. Players.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  199. Players.TextSize = 15
  200.  
  201. SellPlanks.Name = "SellPlanks"
  202. SellPlanks.Parent = MainFrame
  203. SellPlanks.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  204. SellPlanks.BorderColor3 = Color3.new(0, 0, 0)
  205. SellPlanks.BorderSizePixel = 2
  206. SellPlanks.Position = UDim2.new(0, 225, 0, 5)
  207. SellPlanks.Size = UDim2.new(0, 95, 0, 20)
  208. SellPlanks.Font = Enum.Font.Fantasy
  209. SellPlanks.FontSize = Enum.FontSize.Size18
  210. SellPlanks.Text = "SELL PLANKS"
  211. SellPlanks.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  212. SellPlanks.TextSize = 15
  213.  
  214. SellWood.Name = "SellWood"
  215. SellWood.Parent = MainFrame
  216. SellWood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  217. SellWood.BorderColor3 = Color3.new(0, 0, 0)
  218. SellWood.BorderSizePixel = 2
  219. SellWood.Position = UDim2.new(0, 675, 0, 5)
  220. SellWood.Size = UDim2.new(0, 90, 0, 20)
  221. SellWood.Font = Enum.Font.Fantasy
  222. SellWood.FontSize = Enum.FontSize.Size18
  223. SellWood.Text = "SELL WOOD"
  224. SellWood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  225. SellWood.TextSize = 15
  226.  
  227. Teleport.Name = "Teleport"
  228. Teleport.Parent = MainFrame
  229. Teleport.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  230. Teleport.BorderColor3 = Color3.new(0, 0, 0)
  231. Teleport.BorderSizePixel = 2
  232. Teleport.Position = UDim2.new(0, 325, 0, 5)
  233. Teleport.Size = UDim2.new(0, 90, 0, 20)
  234. Teleport.Font = Enum.Font.Fantasy
  235. Teleport.FontSize = Enum.FontSize.Size18
  236. Teleport.Text = "WAYPOINTS"
  237. Teleport.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  238. Teleport.TextSize = 15
  239.  
  240. TpBox.Name = "TpBox"
  241. TpBox.Parent = MainFrame
  242. TpBox.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  243. TpBox.BorderColor3 = Color3.new(0, 0, 0)
  244. TpBox.BorderSizePixel = 2
  245. TpBox.Position = UDim2.new(0, 515, 0, 5)
  246. TpBox.Size = UDim2.new(0, 75, 0, 20)
  247. TpBox.Font = Enum.Font.Fantasy
  248. TpBox.FontSize = Enum.FontSize.Size18
  249. TpBox.Text = "TP BOXES"
  250. TpBox.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  251. TpBox.TextSize = 15
  252.  
  253. TpPlank.Name = "TpPlank"
  254. TpPlank.Parent = MainFrame
  255. TpPlank.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  256. TpPlank.BorderColor3 = Color3.new(0, 0, 0)
  257. TpPlank.BorderSizePixel = 2
  258. TpPlank.Position = UDim2.new(0, 140, 0, 5)
  259. TpPlank.Size = UDim2.new(0, 80, 0, 20)
  260. TpPlank.Font = Enum.Font.Fantasy
  261. TpPlank.FontSize = Enum.FontSize.Size18
  262. TpPlank.Text = "TP PLANKS"
  263. TpPlank.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  264. TpPlank.TextSize = 15
  265. TpPlank.TextStrokeColor3 = Color3.new(1, 1, 1)
  266.  
  267. TpWood.Name = "TpWood"
  268. TpWood.Parent = MainFrame
  269. TpWood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  270. TpWood.BorderColor3 = Color3.new(0, 0, 0)
  271. TpWood.BorderSizePixel = 2
  272. TpWood.Position = UDim2.new(0, 595, 0, 5)
  273. TpWood.Size = UDim2.new(0, 75, 0, 20)
  274. TpWood.Font = Enum.Font.Fantasy
  275. TpWood.FontSize = Enum.FontSize.Size18
  276. TpWood.Text = "TP WOOD"
  277. TpWood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  278. TpWood.TextSize = 15
  279.  
  280. PlankFrame.Name = "PlankFrame"
  281. PlankFrame.Parent = MainFrame
  282. PlankFrame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  283. PlankFrame.BorderColor3 = Color3.new(0, 0, 0)
  284. PlankFrame.Position = UDim2.new(0, 100, 0, 55)
  285. PlankFrame.Size = UDim2.new(0, 165, 0, 205)
  286. PlankFrame.Visible = false
  287.  
  288. ProcessedWoodList.Name = "ProcessedWoodList"
  289. ProcessedWoodList.Parent = PlankFrame
  290. ProcessedWoodList.BackgroundColor3 = Color3.new(1, 1, 1)
  291. ProcessedWoodList.BackgroundTransparency = 1
  292. ProcessedWoodList.BorderColor3 = Color3.new(0, 0, 0)
  293. ProcessedWoodList.Size = UDim2.new(0, 165, 0, 205)
  294.  
  295. TpAllPlanks.Name = "TpAllPlanks"
  296. TpAllPlanks.Parent = PlankFrame
  297. TpAllPlanks.BackgroundColor3 = Color3.new(0, 0, 0)
  298. TpAllPlanks.BorderColor3 = Color3.new(0, 0, 0)
  299. TpAllPlanks.Position = UDim2.new(0, 0, 0, -20)
  300. TpAllPlanks.Size = UDim2.new(0, 165, 0, 20)
  301. TpAllPlanks.Font = Enum.Font.Fantasy
  302. TpAllPlanks.FontSize = Enum.FontSize.Size18
  303. TpAllPlanks.Text = "TP ALL PLANKS"
  304. TpAllPlanks.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  305. TpAllPlanks.TextSize = 15
  306.  
  307. PlayersFrame.Name = "PlayersFrame"
  308. PlayersFrame.Parent = MainFrame
  309. PlayersFrame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  310. PlayersFrame.BorderColor3 = Color3.new(0, 0, 0)
  311. PlayersFrame.Position = UDim2.new(0, 0, 0, 35)
  312. PlayersFrame.Size = UDim2.new(0, 165, 0, 225)
  313. PlayersFrame.Visible = false
  314.  
  315. Player1.Name = "Player1"
  316. Player1.Parent = PlayersFrame
  317. Player1.BackgroundColor3 = Color3.new(0, 0, 0)
  318. Player1.Position = UDim2.new(0, 5, 0, 5)
  319. Player1.Size = UDim2.new(0, 155, 0, 20)
  320. Player1.Font = Enum.Font.Fantasy
  321. Player1.FontSize = Enum.FontSize.Size18
  322. Player1.Text = ""
  323. Player1.TextColor3 = Color3.new(1, 1, 1)
  324. Player1.TextSize = 16
  325. Player1.TextWrapped = true
  326.  
  327. Player2.Name = "Player2"
  328. Player2.Parent = PlayersFrame
  329. Player2.BackgroundColor3 = Color3.new(0, 0, 0)
  330. Player2.Position = UDim2.new(0, 5, 0, 30)
  331. Player2.Size = UDim2.new(0, 155, 0, 20)
  332. Player2.Font = Enum.Font.Fantasy
  333. Player2.FontSize = Enum.FontSize.Size18
  334. Player2.Text = ""
  335. Player2.TextColor3 = Color3.new(1, 1, 1)
  336. Player2.TextSize = 16
  337. Player2.TextWrapped = true
  338.  
  339. Player3.Name = "Player3"
  340. Player3.Parent = PlayersFrame
  341. Player3.BackgroundColor3 = Color3.new(0, 0, 0)
  342. Player3.Position = UDim2.new(0, 5, 0, 55)
  343. Player3.Size = UDim2.new(0, 155, 0, 20)
  344. Player3.Font = Enum.Font.Fantasy
  345. Player3.FontSize = Enum.FontSize.Size18
  346. Player3.Text = ""
  347. Player3.TextColor3 = Color3.new(1, 1, 1)
  348. Player3.TextSize = 16
  349. Player3.TextWrapped = true
  350.  
  351. Player4.Name = "Player4"
  352. Player4.Parent = PlayersFrame
  353. Player4.BackgroundColor3 = Color3.new(0, 0, 0)
  354. Player4.Position = UDim2.new(0, 5, 0, 80)
  355. Player4.Size = UDim2.new(0, 155, 0, 20)
  356. Player4.Font = Enum.Font.Fantasy
  357. Player4.FontSize = Enum.FontSize.Size18
  358. Player4.Text = ""
  359. Player4.TextColor3 = Color3.new(1, 1, 1)
  360. Player4.TextSize = 16
  361. Player4.TextWrapped = true
  362.  
  363. Player5.Name = "Player5"
  364. Player5.Parent = PlayersFrame
  365. Player5.BackgroundColor3 = Color3.new(0, 0, 0)
  366. Player5.Position = UDim2.new(0, 5, 0, 105)
  367. Player5.Size = UDim2.new(0, 155, 0, 20)
  368. Player5.Font = Enum.Font.Fantasy
  369. Player5.FontSize = Enum.FontSize.Size18
  370. Player5.Text = ""
  371. Player5.TextColor3 = Color3.new(1, 1, 1)
  372. Player5.TextSize = 16
  373. Player5.TextWrapped = true
  374.  
  375. Player6.Name = "Player6"
  376. Player6.Parent = PlayersFrame
  377. Player6.BackgroundColor3 = Color3.new(0, 0, 0)
  378. Player6.Position = UDim2.new(0, 5, 0, 130)
  379. Player6.Size = UDim2.new(0, 155, 0, 20)
  380. Player6.Font = Enum.Font.Fantasy
  381. Player6.FontSize = Enum.FontSize.Size18
  382. Player6.Text = ""
  383. Player6.TextColor3 = Color3.new(1, 1, 1)
  384. Player6.TextSize = 16
  385. Player6.TextWrapped = true
  386.  
  387. PlayerTp.Name = "PlayerTp"
  388. PlayerTp.Parent = PlayersFrame
  389. PlayerTp.BackgroundColor3 = Color3.new(0, 0, 0)
  390. PlayerTp.Position = UDim2.new(0, 5, 0, 195)
  391. PlayerTp.Size = UDim2.new(0, 80, 0, 20)
  392. PlayerTp.Font = Enum.Font.Fantasy
  393. PlayerTp.FontSize = Enum.FontSize.Size18
  394. PlayerTp.Text = "Tp to Player"
  395. PlayerTp.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  396. PlayerTp.TextSize = 16
  397.  
  398. TpBase.Name = "TpBase"
  399. TpBase.Parent = PlayersFrame
  400. TpBase.BackgroundColor3 = Color3.new(0, 0, 0)
  401. TpBase.Position = UDim2.new(0, 90, 0, 195)
  402. TpBase.Size = UDim2.new(0, 70, 0, 20)
  403. TpBase.Font = Enum.Font.Fantasy
  404. TpBase.FontSize = Enum.FontSize.Size18
  405. TpBase.Text = "Tp to Base"
  406. TpBase.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  407. TpBase.TextSize = 16
  408.  
  409. PlayerSelect.Name = "PlayerSelect"
  410. PlayerSelect.Parent = PlayersFrame
  411. PlayerSelect.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  412. PlayerSelect.BorderColor3 = Color3.new(0, 0, 0)
  413. PlayerSelect.Position = UDim2.new(0, 10, 0, 160)
  414. PlayerSelect.Size = UDim2.new(0, 145, 0, 20)
  415. PlayerSelect.Font = Enum.Font.Code
  416. PlayerSelect.FontSize = Enum.FontSize.Size18
  417. PlayerSelect.Text = "Select Player..."
  418. PlayerSelect.TextColor3 = Color3.new(0, 0, 0)
  419. PlayerSelect.TextSize = 16
  420. PlayerSelect.TextWrapped = true
  421.  
  422. PurchasedFrame.Name = "PurchasedFrame"
  423. PurchasedFrame.Parent = MainFrame
  424. PurchasedFrame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  425. PurchasedFrame.BorderColor3 = Color3.new(0, 0, 0)
  426. PurchasedFrame.Position = UDim2.new(0, 450, 0, 35)
  427. PurchasedFrame.Size = UDim2.new(0, 215, 0, 225)
  428. PurchasedFrame.Visible = false
  429.  
  430. LastPurchasedList.Name = "LastPurchasedList"
  431. LastPurchasedList.Parent = PurchasedFrame
  432. LastPurchasedList.BackgroundColor3 = Color3.new(1, 1, 1)
  433. LastPurchasedList.BackgroundTransparency = 1
  434. LastPurchasedList.BorderColor3 = Color3.new(0, 0, 0)
  435. LastPurchasedList.Size = UDim2.new(1, 1, 0, 225)
  436.  
  437. WaypointFrame.Name = "WaypointFrame"
  438. WaypointFrame.Parent = MainFrame
  439. WaypointFrame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  440. WaypointFrame.BorderColor3 = Color3.new(0, 0, 0)
  441. WaypointFrame.Position = UDim2.new(0, 295, 0, 35)
  442. WaypointFrame.Size = UDim2.new(0, 150, 0, 225)
  443. WaypointFrame.Visible = false
  444.  
  445. Waypoints.Name = "Waypoints"
  446. Waypoints.Parent = WaypointFrame
  447. Waypoints.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  448. Waypoints.BorderColor3 = Color3.new(0, 0, 0)
  449. Waypoints.Size = UDim2.new(0, 150, 0, 225)
  450. Waypoints.CanvasSize = UDim2.new(0, 0, 1.89999998, 0)
  451.  
  452. Stranger.Name = "Stranger"
  453. Stranger.Parent = Waypoints
  454. Stranger.BackgroundColor3 = Color3.new(0, 0, 0)
  455. Stranger.Position = UDim2.new(0, 5, 0, 330)
  456. Stranger.Size = UDim2.new(0, 125, 0, 20)
  457. Stranger.Font = Enum.Font.Fantasy
  458. Stranger.FontSize = Enum.FontSize.Size18
  459. Stranger.Text = "Stranger"
  460. Stranger.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  461. Stranger.TextSize = 16
  462.  
  463. BobsShack.Name = "BobsShack"
  464. BobsShack.Parent = Waypoints
  465. BobsShack.BackgroundColor3 = Color3.new(0, 0, 0)
  466. BobsShack.Position = UDim2.new(0, 5, 0, 155)
  467. BobsShack.Size = UDim2.new(0, 125, 0, 20)
  468. BobsShack.Font = Enum.Font.Fantasy
  469. BobsShack.FontSize = Enum.FontSize.Size18
  470. BobsShack.Text = "Bob's Shack"
  471. BobsShack.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  472. BobsShack.TextSize = 16
  473.  
  474. PlotTp.Name = "PlotTp"
  475. PlotTp.Parent = Waypoints
  476. PlotTp.BackgroundColor3 = Color3.new(0, 0, 0)
  477. PlotTp.Position = UDim2.new(0, 5, 0, 30)
  478. PlotTp.Size = UDim2.new(0, 125, 0, 20)
  479. PlotTp.Font = Enum.Font.Fantasy
  480. PlotTp.FontSize = Enum.FontSize.Size18
  481. PlotTp.Text = "Tp to Plot"
  482. PlotTp.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  483. PlotTp.TextSize = 16
  484.  
  485. BoxedCars.Name = "BoxedCars"
  486. BoxedCars.Parent = Waypoints
  487. BoxedCars.BackgroundColor3 = Color3.new(0, 0, 0)
  488. BoxedCars.Position = UDim2.new(0, 5, 0, 130)
  489. BoxedCars.Size = UDim2.new(0, 125, 0, 20)
  490. BoxedCars.Font = Enum.Font.Fantasy
  491. BoxedCars.FontSize = Enum.FontSize.Size18
  492. BoxedCars.Text = "Boxed Cars"
  493. BoxedCars.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  494. BoxedCars.TextSize = 16
  495.  
  496. Cave.Name = "Cave"
  497. Cave.Parent = Waypoints
  498. Cave.BackgroundColor3 = Color3.new(0, 0, 0)
  499. Cave.Position = UDim2.new(0, 5, 0, 230)
  500. Cave.Size = UDim2.new(0, 125, 0, 20)
  501. Cave.Font = Enum.Font.Fantasy
  502. Cave.FontSize = Enum.FontSize.Size18
  503. Cave.Text = "Cave"
  504. Cave.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  505. Cave.TextSize = 16
  506.  
  507. FancyFurnishings.Name = "FancyFurnishings"
  508. FancyFurnishings.Parent = Waypoints
  509. FancyFurnishings.BackgroundColor3 = Color3.new(0, 0, 0)
  510. FancyFurnishings.Position = UDim2.new(0, 5, 0, 80)
  511. FancyFurnishings.Size = UDim2.new(0, 125, 0, 20)
  512. FancyFurnishings.Font = Enum.Font.Fantasy
  513. FancyFurnishings.FontSize = Enum.FontSize.Size18
  514. FancyFurnishings.Text = "Fancy Furnishings"
  515. FancyFurnishings.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  516. FancyFurnishings.TextSize = 16
  517.  
  518. FineArtsShop.Name = "FineArtsShop"
  519. FineArtsShop.Parent = Waypoints
  520. FineArtsShop.BackgroundColor3 = Color3.new(0, 0, 0)
  521. FineArtsShop.Position = UDim2.new(0, 5, 0, 180)
  522. FineArtsShop.Size = UDim2.new(0, 125, 0, 20)
  523. FineArtsShop.Font = Enum.Font.Fantasy
  524. FineArtsShop.FontSize = Enum.FontSize.Size18
  525. FineArtsShop.Text = "Fine Arts Shop"
  526. FineArtsShop.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  527. FineArtsShop.TextSize = 16
  528.  
  529. LandStore.Name = "LandStore"
  530. LandStore.Parent = Waypoints
  531. LandStore.BackgroundColor3 = Color3.new(0, 0, 0)
  532. LandStore.Position = UDim2.new(0, 5, 0, 205)
  533. LandStore.Size = UDim2.new(0, 125, 0, 20)
  534. LandStore.Font = Enum.Font.Fantasy
  535. LandStore.FontSize = Enum.FontSize.Size18
  536. LandStore.Text = "Land Store"
  537. LandStore.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  538. LandStore.TextSize = 16
  539.  
  540. LinksLogic.Name = "LinksLogic"
  541. LinksLogic.Parent = Waypoints
  542. LinksLogic.BackgroundColor3 = Color3.new(0, 0, 0)
  543. LinksLogic.Position = UDim2.new(0, 5, 0, 105)
  544. LinksLogic.Size = UDim2.new(0, 125, 0, 20)
  545. LinksLogic.Font = Enum.Font.Fantasy
  546. LinksLogic.FontSize = Enum.FontSize.Size18
  547. LinksLogic.Text = "Link's Logic"
  548. LinksLogic.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  549. LinksLogic.TextSize = 16
  550.  
  551. PalmIsland.Name = "PalmIsland"
  552. PalmIsland.Parent = Waypoints
  553. PalmIsland.BackgroundColor3 = Color3.new(0, 0, 0)
  554. PalmIsland.Position = UDim2.new(0, 5, 0, 305)
  555. PalmIsland.Size = UDim2.new(0, 125, 0, 20)
  556. PalmIsland.Font = Enum.Font.Fantasy
  557. PalmIsland.FontSize = Enum.FontSize.Size18
  558. PalmIsland.Text = "Palm Island"
  559. PalmIsland.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  560. PalmIsland.TextSize = 16
  561.  
  562. SpawnPoint.Name = "SpawnPoint"
  563. SpawnPoint.Parent = Waypoints
  564. SpawnPoint.BackgroundColor3 = Color3.new(0, 0, 0)
  565. SpawnPoint.Position = UDim2.new(0, 5, 0, 5)
  566. SpawnPoint.Size = UDim2.new(0, 125, 0, 20)
  567. SpawnPoint.Font = Enum.Font.Fantasy
  568. SpawnPoint.FontSize = Enum.FontSize.Size18
  569. SpawnPoint.Text = "Spawn"
  570. SpawnPoint.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  571. SpawnPoint.TextSize = 16
  572.  
  573. Swamp.Name = "Swamp"
  574. Swamp.Parent = Waypoints
  575. Swamp.BackgroundColor3 = Color3.new(0, 0, 0)
  576. Swamp.Position = UDim2.new(0, 5, 0, 280)
  577. Swamp.Size = UDim2.new(0, 125, 0, 20)
  578. Swamp.Font = Enum.Font.Fantasy
  579. Swamp.FontSize = Enum.FontSize.Size18
  580. Swamp.Text = "Swamp"
  581. Swamp.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  582. Swamp.TextSize = 16
  583.  
  584. Volcano.Name = "Volcano"
  585. Volcano.Parent = Waypoints
  586. Volcano.BackgroundColor3 = Color3.new(0, 0, 0)
  587. Volcano.Position = UDim2.new(0, 5, 0, 255)
  588. Volcano.Size = UDim2.new(0, 125, 0, 20)
  589. Volcano.Font = Enum.Font.Fantasy
  590. Volcano.FontSize = Enum.FontSize.Size18
  591. Volcano.Text = "Volcano"
  592. Volcano.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  593. Volcano.TextSize = 16
  594.  
  595. WoodRUs.Name = "WoodRUs"
  596. WoodRUs.Parent = Waypoints
  597. WoodRUs.BackgroundColor3 = Color3.new(0, 0, 0)
  598. WoodRUs.Position = UDim2.new(0, 5, 0, 55)
  599. WoodRUs.Size = UDim2.new(0, 125, 0, 20)
  600. WoodRUs.Font = Enum.Font.Fantasy
  601. WoodRUs.FontSize = Enum.FontSize.Size18
  602. WoodRUs.Text = "Wood R Us"
  603. WoodRUs.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  604. WoodRUs.TextSize = 16
  605.  
  606. local service = setmetatable({}, {
  607. __index = function(t, k)
  608. return game:GetService(k)
  609. end
  610. })
  611.  
  612. function Create(cls,props)
  613. local inst = Instance.new(cls)
  614. for i,v in pairs(props) do
  615. inst[i] = v
  616. end
  617. return inst
  618. end
  619.  
  620. local WoodPlanks={}
  621.  
  622. function MakeShadow(UI,Index)
  623. Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,1,0,1),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
  624. Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,2,0,2),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
  625. Create("Frame",{Parent=UI,Size=UDim2.new(1,0,1,0),ZIndex=Index,Position=UDim2.new(0,3,0,3),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9,Name="Shadow"})
  626. end
  627.  
  628. local ProcessedWoodList = LT2.MainFrame.PlankFrame.ProcessedWoodList
  629. local LastPurchasedList = LT2.MainFrame.PurchasedFrame.LastPurchasedList
  630.  
  631. local Menus = {
  632. [Players] = PlayersFrame;
  633. [Teleport] = WaypointFrame;
  634. [TpBox] = PurchasedFrame;
  635. [TpPlank] = PlankFrame;
  636. [Settings] = SettingsFrame;
  637. }
  638. for button,frame in pairs(Menus) do
  639. button.MouseButton1Click:connect(function()
  640. if frame.Visible then
  641. frame.Visible = false
  642. return
  643. end
  644. for k,v in pairs(Menus) do
  645. v.Visible = v == frame
  646. end
  647. end)
  648. end
  649.  
  650. Close.MouseButton1Down:connect(function()
  651. LT2:Destroy()
  652. end)
  653.  
  654. local Walk=16
  655. local Jump=50
  656.  
  657. service.Players.LocalPlayer.Character.Humanoid.Changed:Connect(function()
  658. if service.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  659. service.Players.LocalPlayer.Character.Humanoid.WalkSpeed=Walk
  660. service.Players.LocalPlayer.Character.Humanoid.JumpPower=Jump
  661. end
  662. end)
  663.  
  664. WalkSpeed.Changed:Connect(function()
  665. Walk=tonumber(WalkSpeed.Text)
  666. end)
  667.  
  668. JumpPower.Changed:Connect(function()
  669. Jump=tonumber(JumpPower.Text)
  670. end)
  671.  
  672. PlotTp.MouseButton1Down:connect(function()
  673. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  674. if v.Owner.Value == game.Players.LocalPlayer then
  675. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame + Vector3.new(0,10,0)
  676. end
  677. end
  678. end)
  679.  
  680. Player1.MouseButton1Down:connect(function()
  681. PlayerSelect.Text = Player1.Text
  682. end)
  683. Player2.MouseButton1Down:connect(function()
  684. PlayerSelect.Text = Player2.Text
  685. end)
  686. Player3.MouseButton1Down:connect(function()
  687. PlayerSelect.Text = Player3.Text
  688. end)
  689. Player4.MouseButton1Down:connect(function()
  690. PlayerSelect.Text = Player4.Text
  691. end)
  692. Player5.MouseButton1Down:connect(function()
  693. PlayerSelect.Text = Player5.Text
  694. end)
  695. Player6.MouseButton1Down:connect(function()
  696. PlayerSelect.Text = Player6.Text
  697. end)
  698.  
  699. PlayerTp.MouseButton1Down:connect(function()
  700. if PlayerSelect.Text == "Select a Player" then
  701. warn("No Player Selected")
  702. else
  703. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[PlayerSelect.Text].HumanoidRootPart.CFrame
  704. end
  705. end)
  706. TpBase.MouseButton1Down:connect(function()
  707. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  708. if v.Owner.Value == game.Players[PlayerSelect.Text] then
  709. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame
  710. end
  711. end
  712. end)
  713.  
  714. local buttons = {
  715. Player1,
  716. Player2,
  717. Player3,
  718. Player4,
  719. Player5,
  720. Player6
  721. }
  722. for i, v in pairs(game.Players:GetChildren()) do
  723. buttons[i].Text = v.Name
  724. buttons[i].Visible = true
  725. end
  726. game.Players.PlayerRemoving:connect(function()
  727. for i, v in pairs(game.Players:GetChildren()) do
  728. buttons[i].Text = v.Name
  729. buttons[i].Visible = true
  730. end
  731. end)
  732. game.Players.PlayerAdded:connect(function()
  733. for i, v in pairs(game.Players:GetChildren()) do
  734. buttons[i].Text = v.Name
  735. buttons[i].Visible = true
  736. end
  737. end)
  738.  
  739. local WayPoints = {
  740. ["Wood R Us"] = Vector3.new(265, 3, 57),
  741. ["SpawnPoint"] = Vector3.new(155, 3, 74),
  742. ["Land Store"] = Vector3.new(258, 3, -99),
  743. ["Link's Logic"] = Vector3.new(4607, 7.5, -798),
  744. ["Cave"] = Vector3.new(3581, -179, 430),
  745. ["Volcano"] = Vector3.new(-1585, 622, 1140),
  746. ["Swamp"] = Vector3.new(-1209, 132, -801),
  747. ["Palm Island"] = Vector3.new(2549, -5, -42),
  748. ["Fancy Furnishings"] = Vector3.new(491, 3, -1720),
  749. ["Boxed Cars"] = Vector3.new(509, 3, -1463),
  750. ["Fine Arts Shop"] = Vector3.new(5207, -166, 719),
  751. ["Bob's Shack"] = Vector3.new(260, 8, -2542),
  752. ["Strange Man"] = Vector3.new(1061, 16, 1131)
  753. }
  754.  
  755. WoodRUs.MouseButton1Down:connect(function()
  756. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Wood R Us"])
  757. end)
  758.  
  759. SpawnPoint.MouseButton1Down:connect(function()
  760. game.Players.LocalPlayer.Character:MoveTo(WayPoints["SpawnPoint"])
  761. end)
  762.  
  763. LandStore.MouseButton1Down:connect(function()
  764. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Land Store"])
  765. end)
  766.  
  767. LinksLogic.MouseButton1Down:connect(function()
  768. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Link's Logic"])
  769. end)
  770.  
  771. Cave.MouseButton1Down:connect(function()
  772. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Cave"])
  773. end)
  774.  
  775. Volcano.MouseButton1Down:connect(function()
  776. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Volcano"])
  777. end)
  778.  
  779. Swamp.MouseButton1Down:connect(function()
  780. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Swamp"])
  781. end)
  782.  
  783. PalmIsland.MouseButton1Down:connect(function()
  784. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Palm Island"])
  785. end)
  786.  
  787. FancyFurnishings.MouseButton1Down:connect(function()
  788. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Fancy Furnishings"])
  789. end)
  790.  
  791. BoxedCars.MouseButton1Down:connect(function()
  792. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Boxed Cars"])
  793. end)
  794.  
  795. FineArtsShop.MouseButton1Down:connect(function()
  796. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Fine Arts Shop"])
  797. end)
  798.  
  799. BobsShack.MouseButton1Down:connect(function()
  800. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Bob's Shack"])
  801. end)
  802.  
  803. Stranger.MouseButton1Down:connect(function()
  804. game.Players.LocalPlayer.Character:MoveTo(WayPoints["Strange Man"])
  805. end)
  806.  
  807. Option = false
  808.  
  809. Dupe.MouseButton1Down:connect(function()
  810. plr = game:GetService("Players").LocalPlayer
  811. slot = plr.CurrentSaveSlot
  812. if Option == false then
  813. if slot.Value == -1 then
  814. Option = true
  815. slot.RobloxLocked = true
  816. DupeStatus.Text = "ON"
  817. DupeStatus.TextColor3 = Color3.new(0, 0.666667, 0)
  818. end
  819. else
  820. Option = false
  821. slot.RobloxLocked = false
  822. DupeStatus.Text = "OFF"
  823. DupeStatus.TextColor3 = Color3.new(1, 0, 0)
  824. end
  825. end)
  826.  
  827. Greywood.MouseButton1Click:Connect(function()
  828. for i,v in next,workspace.PlayerModels:GetChildren() do
  829. if v:FindFirstChild("Type") then
  830. if v.Type.Value == "Blueprint" then
  831. v.Type.Value = "Structure"
  832. end
  833. end
  834. end
  835. end)
  836.  
  837. TpWood.MouseButton1Click:Connect(function()
  838. for _, Log in pairs(service.Workspace.LogModels:GetChildren()) do
  839. if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
  840. if Log.Owner.Value == service.Players.LocalPlayer then
  841. Log:MoveTo(service.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 20, 0))
  842. for i=1,100 do
  843. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
  844. end
  845. end
  846. end
  847. end
  848. end)
  849.  
  850. local inc = 0
  851. workspace.PlayerModels.ChildAdded:Connect(function(Item)
  852. inc = #LastPurchasedList:GetChildren()
  853. if Item:FindFirstChild("Owner") and Item.Owner.Value==service.Players.LocalPlayer then
  854. LastPurchasedList.CanvasSize=UDim2.new(0,0,0,25*inc)
  855. local SellButton=Create("TextButton",{Parent=LastPurchasedList,Size=UDim2.new(1,-9,0,20),Position=UDim2.new(0,5,0,25*inc),Text=" "..Item.Name,Name=Item.Name,TextXAlignment="Left",ZIndex=3,BorderSizePixel=0})
  856. MakeShadow(SellButton,2)
  857. SellButton.MouseButton1Click:Connect(function()
  858. if Item:IsA("Model") then
  859. Item:MoveTo(service.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  860. for i=1,100 do
  861. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Item)
  862. end
  863. end
  864. end)
  865. inc=inc+1
  866. end
  867. end)
  868.  
  869. workspace.PlayerModels.ChildRemoved:Connect(function(Item)
  870. inc=0
  871. if Item:FindFirstChild("Owner") and Item.Owner.Value==service.Players.LocalPlayer then
  872. if LastPurchasedList:FindFirstChild(Item.Name) then
  873. LastPurchasedList:FindFirstChild(Item.Name):Destroy()
  874. for i,v in pairs(LastPurchasedList:GetChildren()) do
  875. v.Position=UDim2.new(0,5,0,25*(i-1))
  876. end
  877. end
  878. end
  879. end)
  880.  
  881. function UpdatePlanks()
  882. local inc = 0
  883. WoodPlanks={}
  884. for i,v in pairs(service.Workspace.PlayerModels:GetChildren()) do
  885. if v.Name=="Plank" and v.Owner.Value==service.Players.LocalPlayer then
  886. if v:FindFirstChild("TreeClass") and WoodPlanks[v.TreeClass.Value] then
  887. WoodPlanks[v.TreeClass.Value]=WoodPlanks[v.TreeClass.Value]
  888. WoodPlanks[v.TreeClass.Value]["Wood"][v]=v
  889. elseif v:FindFirstChild("TreeClass") then
  890. WoodPlanks[v.TreeClass.Value]={Wood={v.WoodSection}}
  891. end
  892. end
  893. end
  894. end
  895.  
  896. function UpdateSellPlanks()
  897. local inc=0
  898. UpdatePlanks()
  899. ProcessedWoodList:ClearAllChildren()
  900. for i,v in pairs(WoodPlanks) do
  901. ProcessedWoodList.CanvasSize=UDim2.new(0,0,0,25*inc)
  902. local SellButton=Create("TextButton",{Parent=ProcessedWoodList,Size=UDim2.new(1,-14,0,20),Position=UDim2.new(0,5,0,35*inc),Text=" "..i,TextXAlignment="Left",ZIndex=3,BorderSizePixel=0})
  903. local Color = Create("Frame",{Parent=ProcessedWoodList,Size=UDim2.new(0,5,0,20),Position=UDim2.new(0,0,0,35*inc),BorderSizePixel=0,ZIndex=3,BackgroundColor3=v["Wood"].Color})
  904. MakeShadow(SellButton,2)
  905. SellButton.MouseButton1Click:Connect(function()
  906. for x=1,100 do
  907. v["Wood"].CFrame=CFrame.new(service.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 20, 0))
  908. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v["Wood"].Parent)
  909. end
  910. end)
  911. inc=inc+1
  912. end
  913. inc=0
  914. end
  915.  
  916. service.Workspace.PlayerModels.ChildRemoved:Connect(function(thing)
  917. if thing.Owner.Value==service.Players.LocalPlayer then
  918. UpdateSellPlanks()
  919. end
  920. end)
  921.  
  922. UpdateSellPlanks()
  923.  
  924. SellWood.MouseButton1Click:Connect(function()
  925. for _, Log in pairs(service.Workspace.LogModels:GetChildren()) do
  926. if Log.Name:sub(1, 6) == "Loose_" and Log:findFirstChild("Owner") then
  927. if Log.Owner.Value == service.Players.LocalPlayer then
  928. for i,v in pairs(Log:GetChildren()) do
  929. if v.Name=="WoodSection" then
  930. spawn(function()
  931. for i=1,10 do
  932. wait()
  933. v.CFrame=CFrame.new(Vector3.new(315, -0.296, 85.791))*CFrame.Angles(math.rad(90),0,0)
  934. end
  935. end)
  936. end
  937. end
  938. spawn(function()
  939. for i=1,20 do
  940. wait()
  941. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Log)
  942. end
  943. end)
  944. end
  945. end
  946. end
  947. end)
  948.  
  949. SellPlanks.MouseButton1Click:Connect(function()
  950. for _, Plank in pairs(service.Workspace.PlayerModels:GetChildren()) do
  951. if Plank.Name=="Plank" and Plank:findFirstChild("Owner") then
  952. if Plank.Owner.Value == service.Players.LocalPlayer then
  953. for i,v in pairs(Plank:GetChildren()) do
  954. if v.Name=="WoodSection" then
  955. spawn(function()
  956. for i=1,10 do
  957. wait()
  958. v.CFrame=CFrame.new(Vector3.new(315, -0.296, 85.791))*CFrame.Angles(math.rad(90),0,0)
  959. end
  960. end)
  961. end
  962. end
  963. spawn(function()
  964. for i=1,20 do
  965. wait()
  966. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Plank)
  967. end
  968. end)
  969. end
  970. end
  971. end
  972. end)
  973.  
  974. TpAllPlanks.MouseButton1Click:Connect(function()
  975. for _, Plank in pairs(service.Workspace.PlayerModels:GetChildren()) do
  976. if Plank.Name=="Plank" and Plank:findFirstChild("Owner") then
  977. if Plank.Owner.Value == service.Players.LocalPlayer then
  978. Plank:MoveTo(service.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 20, 0))
  979. for i=1,100 do
  980. service.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(Plank)
  981. end
  982. end
  983. end
  984. end
  985. end)
  986.  
  987. Close.MouseLeave:connect(function()
  988. Close.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  989. end)
  990. Close.MouseEnter:connect(function()
  991. Close.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  992. end)
  993.  
  994. Dupe.MouseLeave:connect(function()
  995. Dupe.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  996. Dupe.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  997. end)
  998. Dupe.MouseEnter:connect(function()
  999. Dupe.TextColor3 = Color3.new(0, 0, 0)
  1000. Dupe.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1001. end)
  1002.  
  1003. Greywood.MouseLeave:connect(function()
  1004. Greywood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1005. Greywood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1006. end)
  1007. Greywood.MouseEnter:connect(function()
  1008. Greywood.TextColor3 = Color3.new(0, 0, 0)
  1009. Greywood.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1010. end)
  1011.  
  1012. Players.MouseLeave:connect(function()
  1013. Players.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1014. Players.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1015. end)
  1016. Players.MouseEnter:connect(function()
  1017. Players.TextColor3 = Color3.new(0, 0, 0)
  1018. Players.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1019. end)
  1020.  
  1021. SellPlanks.MouseLeave:connect(function()
  1022. SellPlanks.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1023. SellPlanks.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1024. end)
  1025. SellPlanks.MouseEnter:connect(function()
  1026. SellPlanks.TextColor3 = Color3.new(0, 0, 0)
  1027. SellPlanks.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1028. end)
  1029.  
  1030. SellWood.MouseLeave:connect(function()
  1031. SellWood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1032. SellWood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1033. end)
  1034. SellWood.MouseEnter:connect(function()
  1035. SellWood.TextColor3 = Color3.new(0, 0, 0)
  1036. SellWood.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1037. end)
  1038.  
  1039. Settings.MouseLeave:connect(function()
  1040. Settings.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1041. Settings.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1042. end)
  1043. Settings.MouseEnter:connect(function()
  1044. Settings.TextColor3 = Color3.new(0, 0, 0)
  1045. Settings.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1046. end)
  1047.  
  1048. Teleport.MouseLeave:connect(function()
  1049. Teleport.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1050. Teleport.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1051. end)
  1052. Teleport.MouseEnter:connect(function()
  1053. Teleport.TextColor3 = Color3.new(0, 0, 0)
  1054. Teleport.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1055. end)
  1056.  
  1057. TpBox.MouseLeave:connect(function()
  1058. TpBox.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1059. TpBox.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1060. end)
  1061. TpBox.MouseEnter:connect(function()
  1062. TpBox.TextColor3 = Color3.new(0, 0, 0)
  1063. TpBox.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1064. end)
  1065.  
  1066. TpWood.MouseLeave:connect(function()
  1067. TpWood.TextColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1068. TpWood.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  1069. end)
  1070. TpWood.MouseEnter:connect(function()
  1071. TpWood.TextColor3 = Color3.new(0, 0, 0)
  1072. TpWood.BackgroundColor3 = Color3.new(0.0705882, 0.521569, 0.529412)
  1073. end)
  1074.  
  1075. Detect = coroutine.wrap(function()
  1076. Player = game.Players.LocalPlayer
  1077. mouse = Player:GetMouse()
  1078. mouse.Button1Down:connect(function()
  1079. MouseDown = true
  1080. end)
  1081. mouse.Button1Up:connect(function()
  1082. MouseDown = false
  1083. end)
  1084. end)
  1085. Detect()
  1086. Player = game.Players.LocalPlayer
  1087. mouse = Player:GetMouse()
  1088. game:GetService('RunService').RenderStepped:connect(function()
  1089. if Player.Character:FindFirstChild("Tool") then
  1090. if MouseDown == true then
  1091. if mouse.Target.Name == "WoodSection" then
  1092. targetWood = mouse.Target
  1093. Tool=Player.Character.Tool
  1094. Height = targetWood.CFrame:pointToObjectSpace(mouse.Hit.p).Y + targetWood.Size.Y/2
  1095. local ray = Ray.new(Player.Character.Head.Position, ((targetWood.CFrame * CFrame.new(0, Height - targetWood.Size.Y/2, 0)).p - Player.Character.Head.Position).unit * 200)
  1096. part,_,p = workspace:FindPartOnRay(ray, Player.Character)
  1097. function fixVector(V)
  1098. return Vector3.new(math.floor(V.X + 0.5), math.floor(V.Y + 0.5), math.floor(V.Z + 0.5))
  1099. end
  1100. local faceVector = fixVector(targetWood.CFrame:vectorToObjectSpace(p))
  1101. if faceVector.Y ~= 0 then
  1102. return
  1103. end
  1104. local lookAtCFrame = CFrame.new(Player.Character.Head.Position, mouse.Hit.p)
  1105. local relativeCFrame = lookAtCFrame:toObjectSpace(targetWood.CFrame * CFrame.Angles(math.pi/2, 0, 0))
  1106. local relativeLookVector = relativeCFrame.lookVector
  1107. local m = relativeLookVector.Y >= 0 and 1 or -1
  1108. if faceVector.X == 1 then
  1109. faceVector = Vector3.new(0, 0, -1) * m
  1110. elseif faceVector.X == -1 then
  1111. faceVector = Vector3.new(0, 0, 1) * m
  1112. elseif faceVector.Z == 1 then
  1113. faceVector = Vector3.new(1, 0, 0) * m
  1114. elseif faceVector.Z == -1 then
  1115. faceVector = Vector3.new(-1, 0, 0) * m
  1116. end
  1117. local cutEvent = targetWood.Parent.CutEvent
  1118. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(cutEvent, {sectionId = targetWood.ID.Value, faceVector = faceVector, height = Height, hitPoints = 0.2, cooldown = 0, cuttingClass = "Axe", tool = Player.Character.Tool})
  1119. end
  1120. end
  1121. end
  1122. end)
Add Comment
Please, Sign In to add comment