Advertisement
TheRealHeh

Fake Lumber Fucker

Jun 25th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.08 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local AndIOop = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local Header = Instance.new("TextLabel")
  7. local Warning = Instance.new("TextLabel")
  8. local KillButton = Instance.new("TextButton")
  9. local BlindButton = Instance.new("TextButton")
  10. local GotoButton = Instance.new("TextButton")
  11. local Bar = Instance.new("TextLabel")
  12. local Player = Instance.new("TextBox")
  13. local SpawnButton = Instance.new("TextButton")
  14. local CloneButton = Instance.new("TextButton")
  15. local CopyButton = Instance.new("TextButton")
  16. --Properties:
  17. AndIOop.Name = "AndIOop"
  18. AndIOop.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  19.  
  20. Frame.Parent = AndIOop
  21. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  22. Frame.BorderSizePixel = 0
  23. Frame.Position = UDim2.new(0.380673528, 0, 0.312849164, 0)
  24. Frame.Size = UDim2.new(0, 325, 0, 200)
  25.  
  26. Header.Name = "Header"
  27. Header.Parent = Frame
  28. Header.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  29. Header.BorderSizePixel = 0
  30. Header.Size = UDim2.new(0, 325, 0, 35)
  31. Header.Font = Enum.Font.ArialBold
  32. Header.Text = "And I Oop"
  33. Header.TextColor3 = Color3.new(1, 1, 1)
  34. Header.TextSize = 14
  35.  
  36. Warning.Name = "Warning"
  37. Warning.Parent = Frame
  38. Warning.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  39. Warning.BackgroundTransparency = 1
  40. Warning.BorderSizePixel = 0
  41. Warning.Position = UDim2.new(0, 0, 0.925000012, 0)
  42. Warning.Size = UDim2.new(0, 325, 0, 15)
  43. Warning.Font = Enum.Font.ArialBold
  44. Warning.Text = ""
  45. Warning.TextColor3 = Color3.new(0, 0.666667, 1)
  46. Warning.TextSize = 14
  47.  
  48. KillButton.Name = "KillButton"
  49. KillButton.Parent = Frame
  50. KillButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  51. KillButton.BorderSizePixel = 0
  52. KillButton.Position = UDim2.new(0.3446154, 0, 0.300000012, 0)
  53. KillButton.Size = UDim2.new(0, 100, 0, 25)
  54. KillButton.Font = Enum.Font.ArialBold
  55. KillButton.Text = "Kill"
  56. KillButton.TextColor3 = Color3.new(1, 1, 1)
  57. KillButton.TextSize = 14
  58.  
  59. BlindButton.Name = "BlindButton"
  60. BlindButton.Parent = Frame
  61. BlindButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  62. BlindButton.BorderSizePixel = 0
  63. BlindButton.Position = UDim2.new(0.0219999999, 0, 0.300000012, 0)
  64. BlindButton.Size = UDim2.new(0, 100, 0, 25)
  65. BlindButton.Font = Enum.Font.ArialBold
  66. BlindButton.Text = "Blind"
  67. BlindButton.TextColor3 = Color3.new(1, 1, 1)
  68. BlindButton.TextSize = 14
  69.  
  70. GotoButton.Name = "GotoButton"
  71. GotoButton.Parent = Frame
  72. GotoButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  73. GotoButton.BorderSizePixel = 0
  74. GotoButton.Position = UDim2.new(0.65200001, 5, 0.300000012, 0)
  75. GotoButton.Size = UDim2.new(0, 100, 0, 25)
  76. GotoButton.Font = Enum.Font.ArialBold
  77. GotoButton.Text = "Jail"
  78. GotoButton.TextColor3 = Color3.new(1, 1, 1)
  79. GotoButton.TextSize = 14
  80.  
  81. Bar.Name = "Bar"
  82. Bar.Parent = Frame
  83. Bar.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  84. Bar.BorderSizePixel = 0
  85. Bar.Position = UDim2.new(0.0153846163, 0, 0.534999967, 12)
  86. Bar.Size = UDim2.new(0, 315, 0, 1)
  87. Bar.Font = Enum.Font.SourceSans
  88. Bar.Text = ""
  89. Bar.TextColor3 = Color3.new(0, 0, 0)
  90. Bar.TextSize = 14
  91.  
  92. Player.Name = "Player"
  93. Player.Parent = Frame
  94. Player.BackgroundColor3 = Color3.new(1, 1, 1)
  95. Player.BorderSizePixel = 0
  96. Player.Position = UDim2.new(0, 0, 0.174999982, 0)
  97. Player.Size = UDim2.new(0, 325, 0, 25)
  98. Player.Font = Enum.Font.ArialBold
  99. Player.PlaceholderColor3 = Color3.new(0, 0.666667, 1)
  100. Player.PlaceholderText = "Full Player Name"
  101. Player.Text = ""
  102. Player.TextColor3 = Color3.new(0, 0.666667, 1)
  103. Player.TextSize = 14
  104.  
  105. SpawnButton.Name = "SpawnButton"
  106. SpawnButton.Parent = Frame
  107. SpawnButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  108. SpawnButton.BorderSizePixel = 0
  109. SpawnButton.Position = UDim2.new(0.0738461688, 0, 0.524999976, 20)
  110. SpawnButton.Size = UDim2.new(0, 275, 0, 25)
  111. SpawnButton.Font = Enum.Font.ArialBold
  112. SpawnButton.Text = "Blueprint's"
  113. SpawnButton.TextColor3 = Color3.new(1, 1, 1)
  114. SpawnButton.TextSize = 14
  115.  
  116. CloneButton.Name = "CloneButton"
  117. CloneButton.Parent = Frame
  118. CloneButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  119. CloneButton.BorderSizePixel = 0
  120. CloneButton.Position = UDim2.new(0.0769230872, 0, 0.649999976, 25)
  121. CloneButton.Size = UDim2.new(0, 275, 0, 25)
  122. CloneButton.Font = Enum.Font.ArialBold
  123. CloneButton.Text = "Paint Tool (Both)"
  124. CloneButton.TextColor3 = Color3.new(1, 1, 1)
  125. CloneButton.TextSize = 14
  126.  
  127. CopyButton.Name = "CopyButton"
  128. CopyButton.Parent = Frame
  129. CopyButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  130. CopyButton.BorderSizePixel = 0
  131. CopyButton.Position = UDim2.new(0.113846168, 0, 0.375, 15)
  132. CopyButton.Size = UDim2.new(0, 250, 0, 25)
  133. CopyButton.Font = Enum.Font.ArialBold
  134. CopyButton.Text = "Copy Base"
  135. CopyButton.TextColor3 = Color3.new(1, 1, 1)
  136. CopyButton.TextSize = 14
  137. -- Scripts:
  138.  
  139. local dragging
  140. local dragInput
  141. local dragStart
  142. local startPos
  143.  
  144. local function update(input)
  145. local delta = input.Position - dragStart
  146. Frame:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y),'Out','Linear',0.08,true)
  147. end
  148. Header.InputBegan:Connect(function(input)
  149. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  150. dragging = true
  151. dragStart = input.Position
  152. startPos = Frame.Position
  153.  
  154. repeat wait() until input.UserInputState == Enum.UserInputState.End
  155. dragging = false
  156. end
  157. end)
  158. Header.InputChanged:Connect(function(input)
  159. if input.UserInputType == Enum.UserInputType.MouseMovement then
  160. dragInput = input
  161. end
  162. end)
  163. game:GetService("UserInputService").InputChanged:Connect(function(input)
  164. if input == dragInput and dragging then
  165. update(input)
  166. end
  167. end)
  168.  
  169. -----------------------------------------------------------------------------
  170.  
  171. KillButton.MouseButton1Click:connect(function()
  172. local Target = Player.Text
  173. local Func = "Kill"
  174.  
  175.  
  176. for i,v in pairs(game.Players:GetChildren()) do
  177. if v.Name:find(Target) then
  178. Target = v.Character
  179. break
  180. end
  181. end
  182.  
  183. Land = nil
  184.  
  185. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  186. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  187. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  188. break
  189. end
  190. end
  191.  
  192. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  193. if v.Owner.Value == game.Players.LocalPlayer then
  194. Land = v
  195. break
  196. end
  197. end
  198.  
  199. if not Land or not Target then
  200. game.CoreGui.AndIOop.Frame.Warning.Text = "Error : Retry"
  201. wait(1)
  202. game.CoreGui.AndIOop.Frame.Warning.Text = " "
  203. return
  204. end
  205.  
  206. local Position = Land.OriginSquare.CFrame - Vector3.new(0,1000,0)
  207.  
  208. if Func == "Blind" then
  209. Position = Land.OriginSquare.CFrame + Vector3.new(0,10e10,0)
  210. end
  211.  
  212. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Target)
  213. end)
  214.  
  215. -----------------------------------------------------------------------------------------
  216.  
  217. BlindButton.MouseButton1Click:connect(function()
  218. local Target = Player.Text
  219. local Func = "Blind"
  220.  
  221.  
  222. for i,v in pairs(game.Players:GetChildren()) do
  223. if v.Name:find(Target) then
  224. Target = v.Character
  225. break
  226. end
  227. end
  228.  
  229. Land = nil
  230.  
  231. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  232. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  233. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  234. break
  235. end
  236. end
  237.  
  238. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  239. if v.Owner.Value == game.Players.LocalPlayer then
  240. Land = v
  241. break
  242. end
  243. end
  244.  
  245. if not Land or not Target then
  246. game.CoreGui.AndIOop.Frame.Warning.Text = "Error : Retry"
  247. wait(1)
  248. game.CoreGui.AndIOop.Frame.Warning.Text = " "
  249. return
  250. end
  251.  
  252. local Position = Land.OriginSquare.CFrame - Vector3.new(0,1000,0)
  253.  
  254. if Func == "Blind" then
  255. Position = Land.OriginSquare.CFrame + Vector3.new(0,10e10,0)
  256. end
  257.  
  258. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Target)
  259. end)
  260.  
  261. -------------------------------------------------------------------------------------------------------
  262.  
  263. ------------------------------------------------------------------------------------------------------------
  264.  
  265. GotoButton.MouseButton1Click:connect(function()
  266. _G.Target = Player.Text
  267. loadstring(game:HttpGet("https://pastebin.com/raw/EADsUqtV", true))()
  268. end)
  269.  
  270.  
  271.  
  272.  
  273. CopyButton.MouseButton1Click:connect(function()
  274. --//Setting\\
  275. local RunService = game:GetService("RunService")
  276. local TargetPlayer = Player.Text
  277. local SlowMode = false
  278. local WipeLocal = false
  279.  
  280. local CopyStructure = true
  281. local CopyWire = true
  282. local CopyItems = true
  283. local CopyFurniture = true
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. --------------------------------------
  294. if WipeLocal then
  295. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  296. if v:FindFirstChild("Owner") then
  297. if v.Owner.Value == game.Players.LocalPlayer then
  298. game.ReplicatedStorage.Interaction.DestroyStructure:FireServer(v)
  299. end
  300. end
  301. end
  302. wait(0.5)
  303. end
  304.  
  305. for i,v in pairs(game.Players:GetChildren()) do
  306. if v ~= game.Players.LocalPlayer then
  307. if v.Name:find(TargetPlayer) then
  308. TargetPlayer = v
  309. break
  310. end
  311. end
  312. end
  313.  
  314. local LocalLand, TargetLand
  315.  
  316. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  317. if v:FindFirstChild("Owner") then
  318. if v.Owner.Value == TargetPlayer then
  319. TargetLand = v
  320. elseif v.Owner.Value == game.Players.LocalPlayer then
  321. LocalLand = v
  322. end
  323. end
  324. end
  325.  
  326. local CollectedTargetStructures, CollectedLocalStructures, CollectedLocalFurnitures, CollectedTargetFurnitures, CollectedLocalItems, CollectedTargetItems = {}, {}, {}, {}, {}, {}
  327. local CollectedTargetItemsCopy, CollectedTargetFurnituresCopy = {}, {}
  328. local TotalCollectedBlueprints = 0
  329.  
  330. if CopyStructure then
  331. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  332. if v:FindFirstChild("Owner") and v.Owner.Value == TargetPlayer then
  333. if v:FindFirstChild("BuildDependentWood") and (v.Type.Value == "Structure" or v.Type.Value == "Furniture") then
  334. local Data = {}
  335. Data.WoodClass = v:FindFirstChild("BlueprintWoodClass") and v.BlueprintWoodClass.Value
  336. Data.OffSet = (v:FindFirstChild("MainCFrame") and v.MainCFrame.Value or v.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
  337. Data.BlueprintType = v.ItemName.Value
  338. table.insert(CollectedTargetStructures,Data)
  339. end
  340. end
  341. end
  342.  
  343. for i, Data in pairs(CollectedTargetStructures) do
  344. game.ReplicatedStorage.PlaceStructure.ClientPlacedBlueprint:FireServer(Data.BlueprintType, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0), game.Players.LocalPlayer)
  345.  
  346. if SlowMode and (math.random(1,2) ~= 1) then
  347. RunService.RenderStepped:Wait()
  348. end
  349. end
  350. end
  351.  
  352. function blueprintHasBeenCollected(Model)
  353. if CollectedLocalStructures[Model.Name] then
  354. for i, BlueprintModel in pairs(CollectedLocalStructures[Model.Name]) do
  355. if BlueprintModel == Model then
  356. return true
  357. end
  358. end
  359. end
  360. return false
  361. end
  362.  
  363. repeat
  364. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  365. if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer and v:FindFirstChild("Type") and v.Type.Value == "Blueprint" and not blueprintHasBeenCollected(v) then
  366. if not CollectedLocalStructures[v.Name] then
  367. CollectedLocalStructures[v.Name] = {}
  368. end
  369. table.insert(CollectedLocalStructures[v.Name], v)
  370. TotalCollectedBlueprints = TotalCollectedBlueprints + 1
  371. end
  372. end
  373. wait()
  374. until TotalCollectedBlueprints == #CollectedTargetStructures
  375.  
  376. function SpawnStructure(Data, Blueprint)
  377. local Position = Data.OffSet + LocalLand.OriginSquare.Position
  378. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Blueprint.ItemName.Value, Position, game.Players.LocalPlayer, Data.WoodClass, Blueprint, not Data.WoodClass)
  379. end
  380.  
  381. for i, Data in pairs(CollectedTargetStructures) do
  382. local Blueprint = CollectedLocalStructures[Data.BlueprintType][1]
  383. table.remove(CollectedLocalStructures[Data.BlueprintType], 1)
  384.  
  385. SpawnStructure(Data, Blueprint)
  386.  
  387. if SlowMode and (math.random(1,2) ~= 1) then
  388. RunService.RenderStepped:Wait()
  389. end
  390. end
  391.  
  392. function CreateWire(WireType, Points)
  393. local Wire = game.ReplicatedStorage.Purchasables.WireObjects[WireType]
  394.  
  395. for i,v in pairs(Points) do
  396. Points[i] = v + LocalLand.OriginSquare.Position
  397. end
  398.  
  399. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Wire, Points)
  400. end
  401.  
  402. if CopyWire then
  403. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  404. if v:FindFirstChild("Owner") and v.Owner.Value == TargetPlayer and v:FindFirstChild("Type") and v.Type.Value == "Wire" and v:FindFirstChild("End1") then
  405. local Points = {}
  406. local PointCount = 1
  407.  
  408. table.insert(Points, (v.End1.Position - TargetLand.OriginSquare.Position))
  409.  
  410. for i,w in pairs(v:GetChildren()) do
  411. if w.Name:find("Point") then
  412. PointCount = PointCount + 1
  413. end
  414. end
  415.  
  416. for i=2, PointCount do
  417. local Point = v:FindFirstChild("Point"..tostring(i))
  418. table.insert(Points, (Point.Position - TargetLand.OriginSquare.Position))
  419. end
  420.  
  421. table.insert(Points, (v.End2.Position - TargetLand.OriginSquare.Position))
  422. CreateWire(v.ItemName.Value, Points)
  423.  
  424. if SlowMode and (math.random(1,2) ~= 1)then
  425. RunService.RenderStepped:Wait()
  426. end
  427. end
  428. end
  429. end
  430.  
  431. function isValidFurniture(Model)
  432. if Model:FindFirstChild("Type") and (Model.Type.Value == "Structure" or Model.Type.Value == "Furniture" or Model.Type.Value == "Vehicle Spot") then
  433. if Model:FindFirstChild("BuildDependentWood") or Model:FindFirstChild("PurchasedBoxItemName") then
  434. return false
  435. end
  436. return true
  437. end
  438. return false
  439. end
  440.  
  441. function Spawn(ItemName, Position)
  442. local Info = {}
  443. Info.Name = ItemName.Value
  444. Info.Type = ItemName.Name == "PurchasedBoxItemName" and ItemName or game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
  445. Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
  446. local Points = {Position.p, Position.p}
  447. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
  448. end
  449.  
  450. if CopyFurniture then
  451. for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
  452. if Model:FindFirstChild("Owner") and Model.Owner.Value == TargetPlayer and isValidFurniture(Model) then
  453. local ItemName = Model:FindFirstChild("ItemName") or Model:FindFirstChild("PurchasedBoxItemName")
  454. local Position = (Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
  455.  
  456. if ItemName.Name == "PurchasedBoxItemName" then
  457. Spawn(ItemName, Position + LocalLand.OriginSquare.Position)
  458. else
  459. Spawn(ItemName, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0))
  460. end
  461.  
  462. local Data = {}
  463. Data.ItemName = ItemName.Value
  464. Data.OffSet = Position
  465.  
  466. table.insert(CollectedTargetFurnitures, Data)
  467.  
  468. if SlowMode and (math.random(1,2) ~= 1)then
  469. RunService.RenderStepped:Wait()
  470. end
  471. end
  472. end
  473. end
  474.  
  475. for i, v in pairs(CollectedTargetFurnitures) do
  476. table.insert(CollectedTargetFurnituresCopy,v)
  477. end
  478.  
  479. function isValidFurnitureModel(Model)
  480. for i, Data in pairs(CollectedTargetFurnitures) do
  481. if Data.ItemName == Model.ItemName.Value then
  482. table.remove(CollectedTargetFurnitures, i)
  483. return true
  484. end
  485. end
  486. return false
  487. end
  488.  
  489. repeat
  490. for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
  491. if Model.Name == "Wire" and Model:FindFirstChild("Owner") and Model.Owner.Value == game.Players.LocalPlayer and Model.ItemName.Value ~= "Wire" and isValidFurnitureModel(Model) then
  492. table.insert(CollectedLocalFurnitures, Model)
  493. end
  494. end
  495. wait()
  496. until #CollectedTargetFurnitures == 0
  497.  
  498. function GrabModelFromCollectedFurnitures(ItemName)
  499. for i, Model in pairs(CollectedLocalFurnitures) do
  500. if Model.ItemName.Value == ItemName then
  501. table.remove(CollectedLocalFurnitures,i)
  502. return Model
  503. end
  504. end
  505. end
  506.  
  507. for i, Data in pairs(CollectedTargetFurnituresCopy) do
  508. local Model = GrabModelFromCollectedFurnitures(Data.ItemName)
  509. local ItemName = Data.ItemName
  510. local Position = Data.OffSet + LocalLand.OriginSquare.Position
  511. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(ItemName,Position,game.Players.LocalPlayer,false,Model,true)
  512.  
  513. if SlowMode and (math.random(1,2) ~= 1)then
  514. RunService.RenderStepped:Wait()
  515. end
  516. end
  517.  
  518. function isValidItem(Model)
  519. if Model:FindFirstChild("Type") and (Model.Type.Value == "Structure" or Model.Type.Value == "Loose Item" or Model.Type.Value == "Tool" or Model.Type.Value == "Wire" or Model.Type.Value == "Furniture" or Model.Type.Value == "Gift") then
  520. if (Model.Type.Value == "Structure" or Model.Type.Value == "Wire" or Model.Type.Value == "Furniture") and not Model:FindFirstChild("PurchasedBoxItemName") then
  521. return false
  522. end
  523.  
  524. return true
  525. elseif not Model:FindFirstChild("Type") then
  526. if Model:FindFirstChild("ItemName") then
  527. local ItemName = Model.ItemName.Value:lower()
  528.  
  529. if ItemName:find("bob") and (ItemName:find("wob") or ItemName:find("head"))then
  530. return true
  531. end
  532. end
  533. end
  534. return false
  535. end
  536. function itemIsOnLand(Position)
  537. if (math.abs(Position.X - TargetLand.OriginSquare.Position.X) > 101 or math.abs(Position.Z - TargetLand.OriginSquare.Position.Z) > 101) then
  538. return false
  539. end
  540. for i, Square in pairs(TargetLand:GetChildren()) do
  541. if Square.Name == "Square" then
  542. if (math.abs(Position.X - Square.Position.X) < 21 and math.abs(Position.Z - Square.Position.Z) < 21) then
  543. return true
  544. end
  545. end
  546. end
  547. return false
  548. end
  549.  
  550. if CopyItems then
  551. for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
  552. if Model:FindFirstChild("Owner") and Model.Owner.Value == TargetPlayer and isValidItem(Model) then
  553. local ItemName = Model:FindFirstChild("ItemName") or Model:FindFirstChild("PurchasedBoxItemName")
  554. local Position = (Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
  555.  
  556. if itemIsOnLand((Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame).p) then
  557. Spawn(ItemName, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0))
  558.  
  559. local Data = {}
  560. Data.ItemName = ItemName.Value
  561. Data.OffSet = Position
  562.  
  563. table.insert(CollectedTargetItems, Data)
  564.  
  565. if SlowMode and (math.random(1,2) ~= 1)then
  566. RunService.RenderStepped:Wait()
  567. end
  568. end
  569. end
  570. end
  571. end
  572.  
  573. for i, v in pairs(CollectedTargetItems) do
  574. table.insert(CollectedTargetItemsCopy,v)
  575. end
  576.  
  577. function isValidItemModel(Model)
  578. for i, Data in pairs(CollectedTargetItems) do
  579. if Data.ItemName == Model.ItemName.Value then
  580. table.remove(CollectedTargetItems, i)
  581. return true
  582. end
  583. end
  584. return false
  585. end
  586. function itemHasBeenCollected(Model)
  587. for i, Data in pairs(CollectedLocalItems) do
  588. if Data.ItemName == Model.ItemName.Value then
  589. return true
  590. end
  591. end
  592. return false
  593. end
  594.  
  595. repeat
  596. for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
  597. if Model.Name == "Wire" and Model:FindFirstChild("Owner") and Model.Owner.Value == game.Players.LocalPlayer and (Model.ItemName.Value ~= "Wire" or (Model:FindFirstChild("ItemName") and Model.ItemName.Value == "Wire" and Model:FindFirstChild("PurchasedBoxItemName"))) and isValidItemModel(Model) and not itemHasBeenCollected(Model) then
  598. table.insert(CollectedLocalItems, Model)
  599. end
  600. end
  601. wait()
  602. until #CollectedTargetItems == 0
  603.  
  604. function GrabModelFromCollectedItems(ItemName)
  605. for i, Model in pairs(CollectedLocalItems) do
  606. if Model.ItemName.Value == ItemName then
  607. table.remove(CollectedLocalItems,i)
  608. return Model
  609. end
  610. end
  611. end
  612.  
  613. for i, Data in pairs(CollectedTargetItemsCopy) do
  614. local Model = GrabModelFromCollectedItems(Data.ItemName)
  615. local ItemName = Data.ItemName
  616. local Position = Data.OffSet + LocalLand.OriginSquare.Position
  617.  
  618. if Model:FindFirstChild("PurchasedBoxItemName") then
  619. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Model)
  620. Model.Parent = nil
  621. else
  622. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(ItemName,Position,game.Players.LocalPlayer,false,Model,true)
  623. end
  624.  
  625. if SlowMode and (math.random(1,2) ~= 1)then
  626. RunService.RenderStepped:Wait()
  627. end
  628. end
  629.  
  630. game.CoreGui.AndIOop.Frame.Warning.Text = "Finished Copying"
  631. wait(1)
  632. game.CoreGui.AndIOop.Frame.Warning.Text = " "
  633.  
  634. end)
  635.  
  636. ------------------------------------------
  637.  
  638. CloneButton.MouseButton1Click:connect(function()
  639. -- Instances:
  640. local ColorPicker = Instance.new("ScreenGui")
  641. local ChangeColor = Instance.new("Frame")
  642. local CurrentColor = Instance.new("ImageButton")
  643. local Picker = Instance.new("ScrollingFrame")
  644. local Birch = Instance.new("ImageButton")
  645. local DropShadow = Instance.new("Frame")
  646. local Grey = Instance.new("ImageButton")
  647. local DropShadow_2 = Instance.new("Frame")
  648. local Walnut = Instance.new("ImageButton")
  649. local DropShadow_3 = Instance.new("Frame")
  650. local Generic = Instance.new("ImageButton")
  651. local DropShadow_4 = Instance.new("Frame")
  652. local Oak = Instance.new("ImageButton")
  653. local DropShadow_5 = Instance.new("Frame")
  654. local Pine = Instance.new("ImageButton")
  655. local DropShadow_6 = Instance.new("Frame")
  656. local Palm = Instance.new("ImageButton")
  657. local DropShadow_7 = Instance.new("Frame")
  658. local Cherry = Instance.new("ImageButton")
  659. local DropShadow_8 = Instance.new("Frame")
  660. local Koa = Instance.new("ImageButton")
  661. local DropShadow_9 = Instance.new("Frame")
  662. local Volcano = Instance.new("ImageButton")
  663. local DropShadow_10 = Instance.new("Frame")
  664. local GreenSwampy = Instance.new("ImageButton")
  665. local DropShadow_11 = Instance.new("Frame")
  666. local GoldSwampy = Instance.new("ImageButton")
  667. local DropShadow_12 = Instance.new("Frame")
  668. local GenericSpecial = Instance.new("ImageButton")
  669. local DropShadow_13 = Instance.new("Frame")
  670. local SnowGlow = Instance.new("ImageButton")
  671. local DropShadow_14 = Instance.new("Frame")
  672. local Frost = Instance.new("ImageButton")
  673. local DropShadow_15 = Instance.new("Frame")
  674. local CaveCrawler = Instance.new("ImageButton")
  675. local DropShadow_16 = Instance.new("Frame")
  676. local LoneCave = Instance.new("ImageButton")
  677. local DropShadow_17 = Instance.new("Frame")
  678. local Spooky = Instance.new("ImageButton")
  679. local DropShadow_18 = Instance.new("Frame")
  680. local SpookyNeon = Instance.new("ImageButton")
  681. local DropShadow_19 = Instance.new("Frame")
  682. --Properties:
  683. ColorPicker.Name = "ColorPicker"
  684. ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  685.  
  686. ChangeColor.Name = "ChangeColor"
  687. ChangeColor.Parent = ColorPicker
  688. ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  689. ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
  690. ChangeColor.BorderSizePixel = 2
  691. ChangeColor.Position = UDim2.new(0, 10, 1, -110)
  692. ChangeColor.Size = UDim2.new(0, 100, 0, 100)
  693. ChangeColor.ZIndex = 2
  694. ColorPicker.Enabled = false
  695.  
  696. CurrentColor.Name = "CurrentColor"
  697. CurrentColor.Parent = ChangeColor
  698. CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  699. CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
  700. CurrentColor.BorderSizePixel = 2
  701. CurrentColor.Position = UDim2.new(0, 10, 0, 10)
  702. CurrentColor.Size = UDim2.new(0, 80, 0, 80)
  703. CurrentColor.ZIndex = 2
  704. CurrentColor.Image = "rbxassetid://2712547918"
  705. CurrentColor.ScaleType = Enum.ScaleType.Crop
  706.  
  707. Picker.Name = "Picker"
  708. Picker.Parent = ColorPicker
  709. Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  710. Picker.BorderColor3 = Color3.new(0, 0, 0)
  711. Picker.BorderSizePixel = 2
  712. Picker.Position = UDim2.new(0, 10, 1, -320)
  713. Picker.Size = UDim2.new(0, 100, 0, 200)
  714. Picker.CanvasPosition = Vector2.new(0, 700)
  715. Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
  716. Picker.ScrollBarThickness = 7
  717. Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  718. Picker.Visible = false
  719.  
  720. Birch.Name = "Birch"
  721. Birch.Parent = Picker
  722. Birch.BackgroundColor3 = Color3.new(1, 1, 1)
  723. Birch.BorderColor3 = Color3.new(0, 0, 0)
  724. Birch.Position = UDim2.new(0, 10, 0, 5)
  725. Birch.Size = UDim2.new(0, 80, 0, 40)
  726. Birch.ZIndex = 3
  727. Birch.Image = "rbxassetid://3344158686"
  728. Birch.ScaleType = Enum.ScaleType.Crop
  729.  
  730. DropShadow.Name = "DropShadow"
  731. DropShadow.Parent = Birch
  732. DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
  733. DropShadow.BorderSizePixel = 0
  734. DropShadow.Position = UDim2.new(0, 4, 0, 4)
  735. DropShadow.Size = UDim2.new(1, 0, 1, 0)
  736. DropShadow.ZIndex = 2
  737.  
  738. Grey.Name = "Grey"
  739. Grey.Parent = Picker
  740. Grey.BackgroundColor3 = Color3.new(1, 1, 1)
  741. Grey.BorderColor3 = Color3.new(0, 0, 0)
  742. Grey.Position = UDim2.new(0, 10, 0, 55)
  743. Grey.Size = UDim2.new(0, 80, 0, 40)
  744. Grey.ZIndex = 3
  745. Grey.Image = "rbxassetid://3344246154"
  746. Grey.ScaleType = Enum.ScaleType.Crop
  747.  
  748. DropShadow_2.Name = "DropShadow"
  749. DropShadow_2.Parent = Grey
  750. DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
  751. DropShadow_2.BorderSizePixel = 0
  752. DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
  753. DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
  754. DropShadow_2.ZIndex = 2
  755.  
  756. Walnut.Name = "Walnut"
  757. Walnut.Parent = Picker
  758. Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
  759. Walnut.BorderColor3 = Color3.new(0, 0, 0)
  760. Walnut.Position = UDim2.new(0, 10, 0, 105)
  761. Walnut.Size = UDim2.new(0, 80, 0, 40)
  762. Walnut.ZIndex = 3
  763. Walnut.Image = "rbxassetid://3344173411"
  764. Walnut.ScaleType = Enum.ScaleType.Crop
  765.  
  766. DropShadow_3.Name = "DropShadow"
  767. DropShadow_3.Parent = Walnut
  768. DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
  769. DropShadow_3.BorderSizePixel = 0
  770. DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
  771. DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
  772. DropShadow_3.ZIndex = 2
  773.  
  774. Generic.Name = "Generic"
  775. Generic.Parent = Picker
  776. Generic.BackgroundColor3 = Color3.new(1, 1, 1)
  777. Generic.BorderColor3 = Color3.new(0, 0, 0)
  778. Generic.Position = UDim2.new(0, 10, 0, 155)
  779. Generic.Size = UDim2.new(0, 80, 0, 40)
  780. Generic.ZIndex = 3
  781. Generic.Image = "rbxassetid://3344212222"
  782. Generic.ScaleType = Enum.ScaleType.Crop
  783.  
  784. DropShadow_4.Name = "DropShadow"
  785. DropShadow_4.Parent = Generic
  786. DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
  787. DropShadow_4.BorderSizePixel = 0
  788. DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
  789. DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
  790. DropShadow_4.ZIndex = 2
  791.  
  792. Oak.Name = "Oak"
  793. Oak.Parent = Picker
  794. Oak.BackgroundColor3 = Color3.new(1, 1, 1)
  795. Oak.BorderColor3 = Color3.new(0, 0, 0)
  796. Oak.Position = UDim2.new(0, 10, 0, 205)
  797. Oak.Size = UDim2.new(0, 80, 0, 40)
  798. Oak.ZIndex = 3
  799. Oak.Image = "rbxassetid://3344211534"
  800. Oak.ScaleType = Enum.ScaleType.Crop
  801.  
  802. DropShadow_5.Name = "DropShadow"
  803. DropShadow_5.Parent = Oak
  804. DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
  805. DropShadow_5.BorderSizePixel = 0
  806. DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
  807. DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
  808. DropShadow_5.ZIndex = 2
  809.  
  810. Pine.Name = "Pine"
  811. Pine.Parent = Picker
  812. Pine.BackgroundColor3 = Color3.new(1, 1, 1)
  813. Pine.BorderColor3 = Color3.new(0, 0, 0)
  814. Pine.Position = UDim2.new(0, 10, 0, 255)
  815. Pine.Size = UDim2.new(0, 80, 0, 40)
  816. Pine.ZIndex = 3
  817. Pine.Image = "rbxassetid://2712591183"
  818. Pine.ScaleType = Enum.ScaleType.Crop
  819.  
  820. DropShadow_6.Name = "DropShadow"
  821. DropShadow_6.Parent = Pine
  822. DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
  823. DropShadow_6.BorderSizePixel = 0
  824. DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
  825. DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
  826. DropShadow_6.ZIndex = 2
  827.  
  828. Palm.Name = "Palm"
  829. Palm.Parent = Picker
  830. Palm.BackgroundColor3 = Color3.new(1, 1, 1)
  831. Palm.BorderColor3 = Color3.new(0, 0, 0)
  832. Palm.Position = UDim2.new(0, 10, 0, 305)
  833. Palm.Size = UDim2.new(0, 80, 0, 40)
  834. Palm.ZIndex = 3
  835. Palm.Image = "rbxassetid://3344212706"
  836. Palm.ScaleType = Enum.ScaleType.Crop
  837.  
  838. DropShadow_7.Name = "DropShadow"
  839. DropShadow_7.Parent = Palm
  840. DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
  841. DropShadow_7.BorderSizePixel = 0
  842. DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
  843. DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
  844. DropShadow_7.ZIndex = 2
  845.  
  846. Cherry.Name = "Cherry"
  847. Cherry.Parent = Picker
  848. Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
  849. Cherry.BorderColor3 = Color3.new(0, 0, 0)
  850. Cherry.Position = UDim2.new(0, 10, 0, 355)
  851. Cherry.Size = UDim2.new(0, 80, 0, 40)
  852. Cherry.ZIndex = 3
  853. Cherry.Image = "rbxassetid://2712608599"
  854. Cherry.ScaleType = Enum.ScaleType.Crop
  855.  
  856. DropShadow_8.Name = "DropShadow"
  857. DropShadow_8.Parent = Cherry
  858. DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
  859. DropShadow_8.BorderSizePixel = 0
  860. DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
  861. DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
  862. DropShadow_8.ZIndex = 2
  863.  
  864. Koa.Name = "Koa"
  865. Koa.Parent = Picker
  866. Koa.BackgroundColor3 = Color3.new(1, 1, 1)
  867. Koa.BorderColor3 = Color3.new(0, 0, 0)
  868. Koa.Position = UDim2.new(0, 10, 0, 355)
  869. Koa.Size = UDim2.new(0, 80, 0, 40)
  870. Koa.ZIndex = 3
  871. Koa.Image = "rbxassetid://3344211171"
  872. Koa.ScaleType = Enum.ScaleType.Crop
  873.  
  874. DropShadow_9.Name = "DropShadow"
  875. DropShadow_9.Parent = Koa
  876. DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
  877. DropShadow_9.BorderSizePixel = 0
  878. DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
  879. DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
  880. DropShadow_9.ZIndex = 2
  881.  
  882. Volcano.Name = "Volcano"
  883. Volcano.Parent = Picker
  884. Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
  885. Volcano.BorderColor3 = Color3.new(0, 0, 0)
  886. Volcano.Position = UDim2.new(0, 10, 0, 405)
  887. Volcano.Size = UDim2.new(0, 80, 0, 40)
  888. Volcano.ZIndex = 3
  889. Volcano.Image = "rbxassetid://3344211884"
  890. Volcano.ScaleType = Enum.ScaleType.Crop
  891.  
  892. DropShadow_10.Name = "DropShadow"
  893. DropShadow_10.Parent = Volcano
  894. DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
  895. DropShadow_10.BorderSizePixel = 0
  896. DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
  897. DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
  898. DropShadow_10.ZIndex = 2
  899.  
  900. GreenSwampy.Name = "GreenSwampy"
  901. GreenSwampy.Parent = Picker
  902. GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  903. GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
  904. GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
  905. GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
  906. GreenSwampy.ZIndex = 3
  907. GreenSwampy.Image = "rbxassetid://3344225694"
  908. GreenSwampy.ScaleType = Enum.ScaleType.Crop
  909.  
  910. DropShadow_11.Name = "DropShadow"
  911. DropShadow_11.Parent = GreenSwampy
  912. DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
  913. DropShadow_11.BorderSizePixel = 0
  914. DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
  915. DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
  916. DropShadow_11.ZIndex = 2
  917.  
  918. GoldSwampy.Name = "GoldSwampy"
  919. GoldSwampy.Parent = Picker
  920. GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  921. GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
  922. GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
  923. GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
  924. GoldSwampy.ZIndex = 3
  925. GoldSwampy.Image = "rbxassetid://3344236811"
  926. GoldSwampy.ScaleType = Enum.ScaleType.Crop
  927.  
  928. DropShadow_12.Name = "DropShadow"
  929. DropShadow_12.Parent = GoldSwampy
  930. DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
  931. DropShadow_12.BorderSizePixel = 0
  932. DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
  933. DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
  934. DropShadow_12.ZIndex = 2
  935.  
  936. GenericSpecial.Name = "GenericSpecial"
  937. GenericSpecial.Parent = Picker
  938. GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
  939. GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
  940. GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
  941. GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
  942. GenericSpecial.ZIndex = 3
  943. GenericSpecial.Image = "rbxassetid://2712639396"
  944. GenericSpecial.ScaleType = Enum.ScaleType.Crop
  945.  
  946. DropShadow_13.Name = "DropShadow"
  947. DropShadow_13.Parent = GenericSpecial
  948. DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
  949. DropShadow_13.BorderSizePixel = 0
  950. DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
  951. DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
  952. DropShadow_13.ZIndex = 2
  953.  
  954. SnowGlow.Name = "SnowGlow"
  955. SnowGlow.Parent = Picker
  956. SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
  957. SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
  958. SnowGlow.Position = UDim2.new(0, 10, 0, 605)
  959. SnowGlow.Size = UDim2.new(0, 80, 0, 40)
  960. SnowGlow.ZIndex = 3
  961. SnowGlow.Image = "rbxassetid://2712651454"
  962. SnowGlow.ScaleType = Enum.ScaleType.Crop
  963.  
  964. DropShadow_14.Name = "DropShadow"
  965. DropShadow_14.Parent = SnowGlow
  966. DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
  967. DropShadow_14.BorderSizePixel = 0
  968. DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
  969. DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
  970. DropShadow_14.ZIndex = 2
  971.  
  972. Frost.Name = "Frost"
  973. Frost.Parent = Picker
  974. Frost.BackgroundColor3 = Color3.new(1, 1, 1)
  975. Frost.BorderColor3 = Color3.new(0, 0, 0)
  976. Frost.Position = UDim2.new(0, 10, 0, 655)
  977. Frost.Size = UDim2.new(0, 80, 0, 40)
  978. Frost.ZIndex = 3
  979. Frost.Image = "rbxassetid://2712667804"
  980. Frost.ScaleType = Enum.ScaleType.Crop
  981.  
  982. DropShadow_15.Name = "DropShadow"
  983. DropShadow_15.Parent = Frost
  984. DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
  985. DropShadow_15.BorderSizePixel = 0
  986. DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
  987. DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
  988. DropShadow_15.ZIndex = 2
  989.  
  990. CaveCrawler.Name = "CaveCrawler"
  991. CaveCrawler.Parent = Picker
  992. CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
  993. CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
  994. CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
  995. CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
  996. CaveCrawler.ZIndex = 3
  997. CaveCrawler.Image = "rbxassetid://2712673980"
  998. CaveCrawler.ScaleType = Enum.ScaleType.Crop
  999.  
  1000. DropShadow_16.Name = "DropShadow"
  1001. DropShadow_16.Parent = CaveCrawler
  1002. DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
  1003. DropShadow_16.BorderSizePixel = 0
  1004. DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
  1005. DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
  1006. DropShadow_16.ZIndex = 2
  1007.  
  1008. LoneCave.Name = "LoneCave"
  1009. LoneCave.Parent = Picker
  1010. LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
  1011. LoneCave.BorderColor3 = Color3.new(0, 0, 0)
  1012. LoneCave.Position = UDim2.new(0, 10, 0, 755)
  1013. LoneCave.Size = UDim2.new(0, 80, 0, 40)
  1014. LoneCave.ZIndex = 3
  1015. LoneCave.Image = "rbxassetid://2712693147"
  1016. LoneCave.ScaleType = Enum.ScaleType.Crop
  1017.  
  1018. DropShadow_17.Name = "DropShadow"
  1019. DropShadow_17.Parent = LoneCave
  1020. DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
  1021. DropShadow_17.BorderSizePixel = 0
  1022. DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
  1023. DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
  1024. DropShadow_17.ZIndex = 2
  1025.  
  1026. Spooky.Name = "Spooky"
  1027. Spooky.Parent = Picker
  1028. Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
  1029. Spooky.BorderColor3 = Color3.new(0, 0, 0)
  1030. Spooky.Position = UDim2.new(0, 10, 0, 805)
  1031. Spooky.Size = UDim2.new(0, 80, 0, 40)
  1032. Spooky.ZIndex = 3
  1033. Spooky.Image = "rbxassetid://2712696822"
  1034. Spooky.ScaleType = Enum.ScaleType.Crop
  1035.  
  1036. DropShadow_18.Name = "DropShadow"
  1037. DropShadow_18.Parent = Spooky
  1038. DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
  1039. DropShadow_18.BorderSizePixel = 0
  1040. DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
  1041. DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
  1042. DropShadow_18.ZIndex = 2
  1043.  
  1044. SpookyNeon.Name = "SpookyNeon"
  1045. SpookyNeon.Parent = Picker
  1046. SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
  1047. SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
  1048. SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
  1049. SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
  1050. SpookyNeon.ZIndex = 3
  1051. SpookyNeon.Image = "rbxassetid://2712700047"
  1052. SpookyNeon.ScaleType = Enum.ScaleType.Crop
  1053.  
  1054. DropShadow_19.Name = "DropShadow"
  1055. DropShadow_19.Parent = SpookyNeon
  1056. DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
  1057. DropShadow_19.BorderSizePixel = 0
  1058. DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
  1059. DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
  1060. DropShadow_19.ZIndex = 2
  1061. -- Scripts:
  1062. woodtype = "Birch"
  1063.  
  1064. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  1065. tool.RequiresHandle = false
  1066. --tool.RobloxLocked = true
  1067. tool.Name = "Modded"
  1068. tool.ToolTip = "Changes A Stucture's Wood Type"
  1069. tool.Equipped:connect(function(Mouse)
  1070. ColorPicker.Enabled = true
  1071. Mouse.Button1Down:connect(function()
  1072. if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
  1073. local Cframe
  1074. if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
  1075. Cframe = Mouse.Target.Parent.MainCFrame.Value
  1076. else
  1077. Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
  1078. end
  1079. if Mouse.Target.Parent ~= nil then
  1080. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
  1081. end
  1082. else
  1083. --do nothing
  1084. end
  1085. end)
  1086. end)
  1087.  
  1088. tool.Unequipped:connect(function(mouse)
  1089. ColorPicker.Enabled = false
  1090. end)
  1091.  
  1092.  
  1093. Birch.MouseButton1Click:Connect(function()
  1094. CurrentColor.Image = Birch.Image
  1095. woodtype = "Alien"
  1096. end)
  1097.  
  1098. Grey.MouseButton1Click:Connect(function()
  1099. CurrentColor.Image = Grey.Image
  1100. woodtype = "Unobtainium"
  1101. end)
  1102.  
  1103. Walnut.MouseButton1Click:Connect(function()
  1104. CurrentColor.Image = Walnut.Image
  1105. woodtype = "Ebony"
  1106. end)
  1107.  
  1108. Generic.MouseButton1Click:Connect(function()
  1109. CurrentColor.Image = Generic.Image
  1110. woodtype = "Eucalyptus"
  1111. end)
  1112.  
  1113. Oak.MouseButton1Click:Connect(function()
  1114. CurrentColor.Image = Oak.Image
  1115. woodtype = "PinkIvory"
  1116. end)
  1117.  
  1118. Pine.MouseButton1Click:Connect(function()
  1119. CurrentColor.Image = Pine.Image
  1120. woodtype = "LoremIpsum"
  1121. end)
  1122.  
  1123. Palm.MouseButton1Click:Connect(function()
  1124. CurrentColor.Image = Palm.Image
  1125. woodtype = "Amaranth"
  1126. end)
  1127.  
  1128. Koa.MouseButton1Click:Connect(function()
  1129. CurrentColor.Image = Koa.Image
  1130. woodtype = "Cocoa"
  1131. end)
  1132.  
  1133. Volcano.MouseButton1Click:Connect(function()
  1134. CurrentColor.Image = Volcano.Image
  1135. woodtype = "FireCrystal"
  1136. end)
  1137.  
  1138. GreenSwampy.MouseButton1Click:Connect(function()
  1139. CurrentColor.Image = GreenSwampy.Image
  1140. woodtype = "Emerald"
  1141. end)
  1142.  
  1143. GoldSwampy.MouseButton1Click:Connect(function()
  1144. CurrentColor.Image = GoldSwampy.Image
  1145. woodtype = "Diamond"
  1146. end)
  1147.  
  1148. GenericSpecial.MouseButton1Click:Connect(function()
  1149. CurrentColor.Image = GenericSpecial.Image
  1150. woodtype = "GenericSpecial"
  1151. end)
  1152.  
  1153. SnowGlow.MouseButton1Click:Connect(function()
  1154. CurrentColor.Image = SnowGlow.Image
  1155. woodtype = "SnowGlow"
  1156. end)
  1157.  
  1158. Frost.MouseButton1Click:Connect(function()
  1159. CurrentColor.Image = Frost.Image
  1160. woodtype = "Frost"
  1161. end)
  1162.  
  1163. CaveCrawler.MouseButton1Click:Connect(function()
  1164. CurrentColor.Image = CaveCrawler.Image
  1165. woodtype = "CaveCrawler"
  1166. end)
  1167.  
  1168. LoneCave.MouseButton1Click:Connect(function()
  1169. CurrentColor.Image = LoneCave.Image
  1170. woodtype = "LoneCave"
  1171. end)
  1172.  
  1173. Spooky.MouseButton1Click:Connect(function()
  1174. CurrentColor.Image = Spooky.Image
  1175. woodtype = "Spooky"
  1176. end)
  1177.  
  1178. SpookyNeon.MouseButton1Click:Connect(function()
  1179. CurrentColor.Image = SpookyNeon.Image
  1180. woodtype = "SpookyNeon"
  1181. end)
  1182.  
  1183. --bring up menu
  1184. CurrentColor.MouseButton1Click:Connect(function()
  1185. if Picker.Visible == false then
  1186. Picker.Visible = true
  1187. else
  1188. Picker.Visible = false
  1189. end
  1190. end)
  1191. end)
  1192.  
  1193. --------------------------------------------------
  1194.  
  1195. CloneButton.MouseButton1Click:connect(function()
  1196. --Fixed Paint By Heh#1814
  1197. -- Instances:
  1198. local ColorPicker = Instance.new("ScreenGui")
  1199. local ChangeColor = Instance.new("Frame")
  1200. local CurrentColor = Instance.new("ImageButton")
  1201. local Picker = Instance.new("ScrollingFrame")
  1202. local Birch = Instance.new("ImageButton")
  1203. local DropShadow = Instance.new("Frame")
  1204. local Cherry = Instance.new("ImageButton")
  1205. local DropShadow_2 = Instance.new("Frame")
  1206. local Walnut = Instance.new("ImageButton")
  1207. local DropShadow_3 = Instance.new("Frame")
  1208. local Generic = Instance.new("ImageButton")
  1209. local DropShadow_4 = Instance.new("Frame")
  1210. local Oak = Instance.new("ImageButton")
  1211. local DropShadow_5 = Instance.new("Frame")
  1212. local Pine = Instance.new("ImageButton")
  1213. local DropShadow_6 = Instance.new("Frame")
  1214. local Palm = Instance.new("ImageButton")
  1215. local DropShadow_7 = Instance.new("Frame")
  1216. local Cherry = Instance.new("ImageButton")
  1217. local DropShadow_8 = Instance.new("Frame")
  1218. local Koa = Instance.new("ImageButton")
  1219. local DropShadow_9 = Instance.new("Frame")
  1220. local Volcano = Instance.new("ImageButton")
  1221. local DropShadow_10 = Instance.new("Frame")
  1222. local GreenSwampy = Instance.new("ImageButton")
  1223. local DropShadow_11 = Instance.new("Frame")
  1224. local GoldSwampy = Instance.new("ImageButton")
  1225. local DropShadow_12 = Instance.new("Frame")
  1226. local GenericSpecial = Instance.new("ImageButton")
  1227. local DropShadow_13 = Instance.new("Frame")
  1228. local SnowGlow = Instance.new("ImageButton")
  1229. local DropShadow_14 = Instance.new("Frame")
  1230. local Frost = Instance.new("ImageButton")
  1231. local DropShadow_15 = Instance.new("Frame")
  1232. local CaveCrawler = Instance.new("ImageButton")
  1233. local DropShadow_16 = Instance.new("Frame")
  1234. local LoneCave = Instance.new("ImageButton")
  1235. local DropShadow_17 = Instance.new("Frame")
  1236. local Spooky = Instance.new("ImageButton")
  1237. local DropShadow_18 = Instance.new("Frame")
  1238. local SpookyNeon = Instance.new("ImageButton")
  1239. local DropShadow_19 = Instance.new("Frame")
  1240. --Properties:
  1241. ColorPicker.Name = "ColorPicker"
  1242. ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  1243.  
  1244. ChangeColor.Name = "ChangeColor"
  1245. ChangeColor.Parent = ColorPicker
  1246. ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  1247. ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
  1248. ChangeColor.BorderSizePixel = 2
  1249. ChangeColor.Position = UDim2.new(0, 10, 1, -110)
  1250. ChangeColor.Size = UDim2.new(0, 100, 0, 100)
  1251. ChangeColor.ZIndex = 2
  1252. ColorPicker.Enabled = false
  1253.  
  1254. CurrentColor.Name = "CurrentColor"
  1255. CurrentColor.Parent = ChangeColor
  1256. CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  1257. CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
  1258. CurrentColor.BorderSizePixel = 2
  1259. CurrentColor.Position = UDim2.new(0, 10, 0, 10)
  1260. CurrentColor.Size = UDim2.new(0, 80, 0, 80)
  1261. CurrentColor.ZIndex = 2
  1262. CurrentColor.Image = "rbxassetid://2712547918"
  1263. CurrentColor.ScaleType = Enum.ScaleType.Crop
  1264.  
  1265. Picker.Name = "Picker"
  1266. Picker.Parent = ColorPicker
  1267. Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
  1268. Picker.BorderColor3 = Color3.new(0, 0, 0)
  1269. Picker.BorderSizePixel = 2
  1270. Picker.Position = UDim2.new(0, 10, 1, -320)
  1271. Picker.Size = UDim2.new(0, 100, 0, 200)
  1272. Picker.CanvasPosition = Vector2.new(0, 700)
  1273. Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
  1274. Picker.ScrollBarThickness = 7
  1275. Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  1276. Picker.Visible = false
  1277.  
  1278. Birch.Name = "Birch"
  1279. Birch.Parent = Picker
  1280. Birch.BackgroundColor3 = Color3.new(1, 1, 1)
  1281. Birch.BorderColor3 = Color3.new(0, 0, 0)
  1282. Birch.Position = UDim2.new(0, 10, 0, 5)
  1283. Birch.Size = UDim2.new(0, 80, 0, 40)
  1284. Birch.ZIndex = 3
  1285. Birch.Image = "rbxassetid://2712547918"
  1286. Birch.ScaleType = Enum.ScaleType.Crop
  1287.  
  1288. DropShadow.Name = "DropShadow"
  1289. DropShadow.Parent = Birch
  1290. DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
  1291. DropShadow.BorderSizePixel = 0
  1292. DropShadow.Position = UDim2.new(0, 4, 0, 4)
  1293. DropShadow.Size = UDim2.new(1, 0, 1, 0)
  1294. DropShadow.ZIndex = 2
  1295.  
  1296. Cherry.Name = "Cherry"
  1297. Cherry.Parent = Picker
  1298. Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
  1299. Cherry.BorderColor3 = Color3.new(0, 0, 0)
  1300. Cherry.Position = UDim2.new(0, 10, 0, 55)
  1301. Cherry.Size = UDim2.new(0, 80, 0, 40)
  1302. Cherry.ZIndex = 3
  1303. Cherry.Image = "rbxassetid://2712608599"
  1304. Cherry.ScaleType = Enum.ScaleType.Crop
  1305.  
  1306. DropShadow_2.Name = "DropShadow"
  1307. DropShadow_2.Parent = Cherry
  1308. DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
  1309. DropShadow_2.BorderSizePixel = 0
  1310. DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
  1311. DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
  1312. DropShadow_2.ZIndex = 2
  1313.  
  1314. Walnut.Name = "Walnut"
  1315. Walnut.Parent = Picker
  1316. Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
  1317. Walnut.BorderColor3 = Color3.new(0, 0, 0)
  1318. Walnut.Position = UDim2.new(0, 10, 0, 105)
  1319. Walnut.Size = UDim2.new(0, 80, 0, 40)
  1320. Walnut.ZIndex = 3
  1321. Walnut.Image = "rbxassetid://2712559790"
  1322. Walnut.ScaleType = Enum.ScaleType.Crop
  1323.  
  1324. DropShadow_3.Name = "DropShadow"
  1325. DropShadow_3.Parent = Walnut
  1326. DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
  1327. DropShadow_3.BorderSizePixel = 0
  1328. DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
  1329. DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
  1330. DropShadow_3.ZIndex = 2
  1331.  
  1332. Generic.Name = "Generic"
  1333. Generic.Parent = Picker
  1334. Generic.BackgroundColor3 = Color3.new(1, 1, 1)
  1335. Generic.BorderColor3 = Color3.new(0, 0, 0)
  1336. Generic.Position = UDim2.new(0, 10, 0, 155)
  1337. Generic.Size = UDim2.new(0, 80, 0, 40)
  1338. Generic.ZIndex = 3
  1339. Generic.Image = "rbxassetid://2712568624"
  1340. Generic.ScaleType = Enum.ScaleType.Crop
  1341.  
  1342. DropShadow_4.Name = "DropShadow"
  1343. DropShadow_4.Parent = Generic
  1344. DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
  1345. DropShadow_4.BorderSizePixel = 0
  1346. DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
  1347. DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
  1348. DropShadow_4.ZIndex = 2
  1349.  
  1350. Oak.Name = "Oak"
  1351. Oak.Parent = Picker
  1352. Oak.BackgroundColor3 = Color3.new(1, 1, 1)
  1353. Oak.BorderColor3 = Color3.new(0, 0, 0)
  1354. Oak.Position = UDim2.new(0, 10, 0, 205)
  1355. Oak.Size = UDim2.new(0, 80, 0, 40)
  1356. Oak.ZIndex = 3
  1357. Oak.Image = "rbxassetid://2712579185"
  1358. Oak.ScaleType = Enum.ScaleType.Crop
  1359.  
  1360. DropShadow_5.Name = "DropShadow"
  1361. DropShadow_5.Parent = Oak
  1362. DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
  1363. DropShadow_5.BorderSizePixel = 0
  1364. DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
  1365. DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
  1366. DropShadow_5.ZIndex = 2
  1367.  
  1368. Pine.Name = "Pine"
  1369. Pine.Parent = Picker
  1370. Pine.BackgroundColor3 = Color3.new(1, 1, 1)
  1371. Pine.BorderColor3 = Color3.new(0, 0, 0)
  1372. Pine.Position = UDim2.new(0, 10, 0, 255)
  1373. Pine.Size = UDim2.new(0, 80, 0, 40)
  1374. Pine.ZIndex = 3
  1375. Pine.Image = "rbxassetid://2712591183"
  1376. Pine.ScaleType = Enum.ScaleType.Crop
  1377.  
  1378. DropShadow_6.Name = "DropShadow"
  1379. DropShadow_6.Parent = Pine
  1380. DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
  1381. DropShadow_6.BorderSizePixel = 0
  1382. DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
  1383. DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
  1384. DropShadow_6.ZIndex = 2
  1385.  
  1386. Palm.Name = "Palm"
  1387. Palm.Parent = Picker
  1388. Palm.BackgroundColor3 = Color3.new(1, 1, 1)
  1389. Palm.BorderColor3 = Color3.new(0, 0, 0)
  1390. Palm.Position = UDim2.new(0, 10, 0, 305)
  1391. Palm.Size = UDim2.new(0, 80, 0, 40)
  1392. Palm.ZIndex = 3
  1393. Palm.Image = "rbxassetid://2712597395"
  1394. Palm.ScaleType = Enum.ScaleType.Crop
  1395.  
  1396. DropShadow_7.Name = "DropShadow"
  1397. DropShadow_7.Parent = Palm
  1398. DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
  1399. DropShadow_7.BorderSizePixel = 0
  1400. DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
  1401. DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
  1402. DropShadow_7.ZIndex = 2
  1403.  
  1404. DropShadow_8.Name = "DropShadow"
  1405. DropShadow_8.Parent = Cherry
  1406. DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
  1407. DropShadow_8.BorderSizePixel = 0
  1408. DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
  1409. DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
  1410. DropShadow_8.ZIndex = 2
  1411.  
  1412. Koa.Name = "Koa"
  1413. Koa.Parent = Picker
  1414. Koa.BackgroundColor3 = Color3.new(1, 1, 1)
  1415. Koa.BorderColor3 = Color3.new(0, 0, 0)
  1416. Koa.Position = UDim2.new(0, 10, 0, 355)
  1417. Koa.Size = UDim2.new(0, 80, 0, 40)
  1418. Koa.ZIndex = 3
  1419. Koa.Image = "rbxassetid://2712612798"
  1420. Koa.ScaleType = Enum.ScaleType.Crop
  1421.  
  1422. DropShadow_9.Name = "DropShadow"
  1423. DropShadow_9.Parent = Koa
  1424. DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
  1425. DropShadow_9.BorderSizePixel = 0
  1426. DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
  1427. DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
  1428. DropShadow_9.ZIndex = 2
  1429.  
  1430. Volcano.Name = "Volcano"
  1431. Volcano.Parent = Picker
  1432. Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
  1433. Volcano.BorderColor3 = Color3.new(0, 0, 0)
  1434. Volcano.Position = UDim2.new(0, 10, 0, 405)
  1435. Volcano.Size = UDim2.new(0, 80, 0, 40)
  1436. Volcano.ZIndex = 3
  1437. Volcano.Image = "rbxassetid://2712618609"
  1438. Volcano.ScaleType = Enum.ScaleType.Crop
  1439.  
  1440. DropShadow_10.Name = "DropShadow"
  1441. DropShadow_10.Parent = Volcano
  1442. DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
  1443. DropShadow_10.BorderSizePixel = 0
  1444. DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
  1445. DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
  1446. DropShadow_10.ZIndex = 2
  1447.  
  1448. GreenSwampy.Name = "GreenSwampy"
  1449. GreenSwampy.Parent = Picker
  1450. GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  1451. GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
  1452. GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
  1453. GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
  1454. GreenSwampy.ZIndex = 3
  1455. GreenSwampy.Image = "rbxassetid://2712623896"
  1456. GreenSwampy.ScaleType = Enum.ScaleType.Crop
  1457.  
  1458. DropShadow_11.Name = "DropShadow"
  1459. DropShadow_11.Parent = GreenSwampy
  1460. DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
  1461. DropShadow_11.BorderSizePixel = 0
  1462. DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
  1463. DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
  1464. DropShadow_11.ZIndex = 2
  1465.  
  1466. GoldSwampy.Name = "GoldSwampy"
  1467. GoldSwampy.Parent = Picker
  1468. GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
  1469. GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
  1470. GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
  1471. GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
  1472. GoldSwampy.ZIndex = 3
  1473. GoldSwampy.Image = "rbxassetid://2712631457"
  1474. GoldSwampy.ScaleType = Enum.ScaleType.Crop
  1475.  
  1476. DropShadow_12.Name = "DropShadow"
  1477. DropShadow_12.Parent = GoldSwampy
  1478. DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
  1479. DropShadow_12.BorderSizePixel = 0
  1480. DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
  1481. DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
  1482. DropShadow_12.ZIndex = 2
  1483.  
  1484. GenericSpecial.Name = "GenericSpecial"
  1485. GenericSpecial.Parent = Picker
  1486. GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
  1487. GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
  1488. GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
  1489. GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
  1490. GenericSpecial.ZIndex = 3
  1491. GenericSpecial.Image = "rbxassetid://2712639396"
  1492. GenericSpecial.ScaleType = Enum.ScaleType.Crop
  1493.  
  1494. DropShadow_13.Name = "DropShadow"
  1495. DropShadow_13.Parent = GenericSpecial
  1496. DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
  1497. DropShadow_13.BorderSizePixel = 0
  1498. DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
  1499. DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
  1500. DropShadow_13.ZIndex = 2
  1501.  
  1502. SnowGlow.Name = "SnowGlow"
  1503. SnowGlow.Parent = Picker
  1504. SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
  1505. SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
  1506. SnowGlow.Position = UDim2.new(0, 10, 0, 605)
  1507. SnowGlow.Size = UDim2.new(0, 80, 0, 40)
  1508. SnowGlow.ZIndex = 3
  1509. SnowGlow.Image = "rbxassetid://2712651454"
  1510. SnowGlow.ScaleType = Enum.ScaleType.Crop
  1511.  
  1512. DropShadow_14.Name = "DropShadow"
  1513. DropShadow_14.Parent = SnowGlow
  1514. DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
  1515. DropShadow_14.BorderSizePixel = 0
  1516. DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
  1517. DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
  1518. DropShadow_14.ZIndex = 2
  1519.  
  1520. Frost.Name = "Frost"
  1521. Frost.Parent = Picker
  1522. Frost.BackgroundColor3 = Color3.new(1, 1, 1)
  1523. Frost.BorderColor3 = Color3.new(0, 0, 0)
  1524. Frost.Position = UDim2.new(0, 10, 0, 655)
  1525. Frost.Size = UDim2.new(0, 80, 0, 40)
  1526. Frost.ZIndex = 3
  1527. Frost.Image = "rbxassetid://2712667804"
  1528. Frost.ScaleType = Enum.ScaleType.Crop
  1529.  
  1530. DropShadow_15.Name = "DropShadow"
  1531. DropShadow_15.Parent = Frost
  1532. DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
  1533. DropShadow_15.BorderSizePixel = 0
  1534. DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
  1535. DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
  1536. DropShadow_15.ZIndex = 2
  1537.  
  1538. CaveCrawler.Name = "CaveCrawler"
  1539. CaveCrawler.Parent = Picker
  1540. CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
  1541. CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
  1542. CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
  1543. CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
  1544. CaveCrawler.ZIndex = 3
  1545. CaveCrawler.Image = "rbxassetid://2712673980"
  1546. CaveCrawler.ScaleType = Enum.ScaleType.Crop
  1547.  
  1548. DropShadow_16.Name = "DropShadow"
  1549. DropShadow_16.Parent = CaveCrawler
  1550. DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
  1551. DropShadow_16.BorderSizePixel = 0
  1552. DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
  1553. DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
  1554. DropShadow_16.ZIndex = 2
  1555.  
  1556. LoneCave.Name = "LoneCave"
  1557. LoneCave.Parent = Picker
  1558. LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
  1559. LoneCave.BorderColor3 = Color3.new(0, 0, 0)
  1560. LoneCave.Position = UDim2.new(0, 10, 0, 755)
  1561. LoneCave.Size = UDim2.new(0, 80, 0, 40)
  1562. LoneCave.ZIndex = 3
  1563. LoneCave.Image = "rbxassetid://2712693147"
  1564. LoneCave.ScaleType = Enum.ScaleType.Crop
  1565.  
  1566. DropShadow_17.Name = "DropShadow"
  1567. DropShadow_17.Parent = LoneCave
  1568. DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
  1569. DropShadow_17.BorderSizePixel = 0
  1570. DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
  1571. DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
  1572. DropShadow_17.ZIndex = 2
  1573.  
  1574. Spooky.Name = "Spooky"
  1575. Spooky.Parent = Picker
  1576. Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
  1577. Spooky.BorderColor3 = Color3.new(0, 0, 0)
  1578. Spooky.Position = UDim2.new(0, 10, 0, 805)
  1579. Spooky.Size = UDim2.new(0, 80, 0, 40)
  1580. Spooky.ZIndex = 3
  1581. Spooky.Image = "rbxassetid://2712696822"
  1582. Spooky.ScaleType = Enum.ScaleType.Crop
  1583.  
  1584. DropShadow_18.Name = "DropShadow"
  1585. DropShadow_18.Parent = Spooky
  1586. DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
  1587. DropShadow_18.BorderSizePixel = 0
  1588. DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
  1589. DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
  1590. DropShadow_18.ZIndex = 2
  1591.  
  1592. SpookyNeon.Name = "SpookyNeon"
  1593. SpookyNeon.Parent = Picker
  1594. SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
  1595. SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
  1596. SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
  1597. SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
  1598. SpookyNeon.ZIndex = 3
  1599. SpookyNeon.Image = "rbxassetid://2712700047"
  1600. SpookyNeon.ScaleType = Enum.ScaleType.Crop
  1601.  
  1602. DropShadow_19.Name = "DropShadow"
  1603. DropShadow_19.Parent = SpookyNeon
  1604. DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
  1605. DropShadow_19.BorderSizePixel = 0
  1606. DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
  1607. DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
  1608. DropShadow_19.ZIndex = 2
  1609. -- Scripts:
  1610. woodtype = "Birch"
  1611.  
  1612. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  1613. tool.RequiresHandle = false
  1614. --tool.RobloxLocked = true
  1615. tool.Name = "Normal"
  1616. tool.ToolTip = "Changes A Stucture's Wood Type"
  1617. tool.Equipped:connect(function(Mouse)
  1618. ColorPicker.Enabled = true
  1619. Mouse.Button1Down:connect(function()
  1620. if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
  1621. local Cframe
  1622. if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
  1623. Cframe = Mouse.Target.Parent.MainCFrame.Value
  1624. else
  1625. Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
  1626. end
  1627. if Mouse.Target.Parent ~= nil then
  1628. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
  1629. end
  1630. else
  1631. --do nothing
  1632. end
  1633. end)
  1634. end)
  1635.  
  1636. tool.Unequipped:connect(function(mouse)
  1637. ColorPicker.Enabled = false
  1638. end)
  1639.  
  1640.  
  1641. Birch.MouseButton1Click:Connect(function()
  1642. CurrentColor.Image = Birch.Image
  1643. woodtype = "Birch"
  1644. end)
  1645.  
  1646. Cherry.MouseButton1Click:Connect(function()
  1647. CurrentColor.Image = Cherry.Image
  1648. woodtype = "Cherry"
  1649. end)
  1650.  
  1651. Walnut.MouseButton1Click:Connect(function()
  1652. CurrentColor.Image = Walnut.Image
  1653. woodtype = "Walnut"
  1654. end)
  1655.  
  1656. Generic.MouseButton1Click:Connect(function()
  1657. CurrentColor.Image = Generic.Image
  1658. woodtype = "Generic"
  1659. end)
  1660.  
  1661. Oak.MouseButton1Click:Connect(function()
  1662. CurrentColor.Image = Oak.Image
  1663. woodtype = "Oak"
  1664. end)
  1665.  
  1666. Pine.MouseButton1Click:Connect(function()
  1667. CurrentColor.Image = Pine.Image
  1668. woodtype = "Pine"
  1669. end)
  1670.  
  1671. Palm.MouseButton1Click:Connect(function()
  1672. CurrentColor.Image = Palm.Image
  1673. woodtype = "Palm"
  1674. end)
  1675.  
  1676. Koa.MouseButton1Click:Connect(function()
  1677. CurrentColor.Image = Koa.Image
  1678. woodtype = "Koa"
  1679. end)
  1680.  
  1681. Volcano.MouseButton1Click:Connect(function()
  1682. CurrentColor.Image = Volcano.Image
  1683. woodtype = "Volcano"
  1684. end)
  1685.  
  1686. GreenSwampy.MouseButton1Click:Connect(function()
  1687. CurrentColor.Image = GreenSwampy.Image
  1688. woodtype = "GreenSwampy"
  1689. end)
  1690.  
  1691. GoldSwampy.MouseButton1Click:Connect(function()
  1692. CurrentColor.Image = GoldSwampy.Image
  1693. woodtype = "GoldSwampy"
  1694. end)
  1695.  
  1696. GenericSpecial.MouseButton1Click:Connect(function()
  1697. CurrentColor.Image = GenericSpecial.Image
  1698. woodtype = "GenericSpecial"
  1699. end)
  1700.  
  1701. SnowGlow.MouseButton1Click:Connect(function()
  1702. CurrentColor.Image = SnowGlow.Image
  1703. woodtype = "SnowGlow"
  1704. end)
  1705.  
  1706. Frost.MouseButton1Click:Connect(function()
  1707. CurrentColor.Image = Frost.Image
  1708. woodtype = "Frost"
  1709. end)
  1710.  
  1711. CaveCrawler.MouseButton1Click:Connect(function()
  1712. CurrentColor.Image = CaveCrawler.Image
  1713. woodtype = "CaveCrawler"
  1714. end)
  1715.  
  1716. LoneCave.MouseButton1Click:Connect(function()
  1717. CurrentColor.Image = LoneCave.Image
  1718. woodtype = "LoneCave"
  1719. end)
  1720.  
  1721. Spooky.MouseButton1Click:Connect(function()
  1722. CurrentColor.Image = Spooky.Image
  1723. woodtype = "Spooky"
  1724. end)
  1725.  
  1726. SpookyNeon.MouseButton1Click:Connect(function()
  1727. CurrentColor.Image = SpookyNeon.Image
  1728. woodtype = "SpookyNeon"
  1729. end)
  1730.  
  1731. --bring up menu
  1732. CurrentColor.MouseButton1Click:Connect(function()
  1733. if Picker.Visible == false then
  1734. Picker.Visible = true
  1735. else
  1736. Picker.Visible = false
  1737. end
  1738. end)
  1739. end)
  1740.  
  1741.  
  1742. -----------------------------------------------
  1743.  
  1744. SpawnButton.MouseButton1Click:connect(function()
  1745. for i,v in pairs(game.ReplicatedStorage.Purchasables.Structures.BlueprintStructures:GetChildren()) do
  1746. local clone = v:Clone()
  1747. clone.Parent = game.Players.LocalPlayer.PlayerBlueprints.Blueprints
  1748. end
  1749. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement