Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local AndIOop = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Header = Instance.new("TextLabel")
- local Warning = Instance.new("TextLabel")
- local KillButton = Instance.new("TextButton")
- local BlindButton = Instance.new("TextButton")
- local GotoButton = Instance.new("TextButton")
- local Bar = Instance.new("TextLabel")
- local Player = Instance.new("TextBox")
- local SpawnButton = Instance.new("TextButton")
- local CloneButton = Instance.new("TextButton")
- local CopyButton = Instance.new("TextButton")
- --Properties:
- AndIOop.Name = "AndIOop"
- AndIOop.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = AndIOop
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.380673528, 0, 0.312849164, 0)
- Frame.Size = UDim2.new(0, 325, 0, 200)
- Header.Name = "Header"
- Header.Parent = Frame
- Header.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- Header.BorderSizePixel = 0
- Header.Size = UDim2.new(0, 325, 0, 35)
- Header.Font = Enum.Font.ArialBold
- Header.Text = "And I Oop"
- Header.TextColor3 = Color3.new(1, 1, 1)
- Header.TextSize = 14
- Warning.Name = "Warning"
- Warning.Parent = Frame
- Warning.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- Warning.BackgroundTransparency = 1
- Warning.BorderSizePixel = 0
- Warning.Position = UDim2.new(0, 0, 0.925000012, 0)
- Warning.Size = UDim2.new(0, 325, 0, 15)
- Warning.Font = Enum.Font.ArialBold
- Warning.Text = ""
- Warning.TextColor3 = Color3.new(0, 0.666667, 1)
- Warning.TextSize = 14
- KillButton.Name = "KillButton"
- KillButton.Parent = Frame
- KillButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- KillButton.BorderSizePixel = 0
- KillButton.Position = UDim2.new(0.3446154, 0, 0.300000012, 0)
- KillButton.Size = UDim2.new(0, 100, 0, 25)
- KillButton.Font = Enum.Font.ArialBold
- KillButton.Text = "Kill"
- KillButton.TextColor3 = Color3.new(1, 1, 1)
- KillButton.TextSize = 14
- BlindButton.Name = "BlindButton"
- BlindButton.Parent = Frame
- BlindButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- BlindButton.BorderSizePixel = 0
- BlindButton.Position = UDim2.new(0.0219999999, 0, 0.300000012, 0)
- BlindButton.Size = UDim2.new(0, 100, 0, 25)
- BlindButton.Font = Enum.Font.ArialBold
- BlindButton.Text = "Blind"
- BlindButton.TextColor3 = Color3.new(1, 1, 1)
- BlindButton.TextSize = 14
- GotoButton.Name = "GotoButton"
- GotoButton.Parent = Frame
- GotoButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- GotoButton.BorderSizePixel = 0
- GotoButton.Position = UDim2.new(0.65200001, 5, 0.300000012, 0)
- GotoButton.Size = UDim2.new(0, 100, 0, 25)
- GotoButton.Font = Enum.Font.ArialBold
- GotoButton.Text = "Jail"
- GotoButton.TextColor3 = Color3.new(1, 1, 1)
- GotoButton.TextSize = 14
- Bar.Name = "Bar"
- Bar.Parent = Frame
- Bar.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- Bar.BorderSizePixel = 0
- Bar.Position = UDim2.new(0.0153846163, 0, 0.534999967, 12)
- Bar.Size = UDim2.new(0, 315, 0, 1)
- Bar.Font = Enum.Font.SourceSans
- Bar.Text = ""
- Bar.TextColor3 = Color3.new(0, 0, 0)
- Bar.TextSize = 14
- Player.Name = "Player"
- Player.Parent = Frame
- Player.BackgroundColor3 = Color3.new(1, 1, 1)
- Player.BorderSizePixel = 0
- Player.Position = UDim2.new(0, 0, 0.174999982, 0)
- Player.Size = UDim2.new(0, 325, 0, 25)
- Player.Font = Enum.Font.ArialBold
- Player.PlaceholderColor3 = Color3.new(0, 0.666667, 1)
- Player.PlaceholderText = "Full Player Name"
- Player.Text = ""
- Player.TextColor3 = Color3.new(0, 0.666667, 1)
- Player.TextSize = 14
- SpawnButton.Name = "SpawnButton"
- SpawnButton.Parent = Frame
- SpawnButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- SpawnButton.BorderSizePixel = 0
- SpawnButton.Position = UDim2.new(0.0738461688, 0, 0.524999976, 20)
- SpawnButton.Size = UDim2.new(0, 275, 0, 25)
- SpawnButton.Font = Enum.Font.ArialBold
- SpawnButton.Text = "Blueprint's"
- SpawnButton.TextColor3 = Color3.new(1, 1, 1)
- SpawnButton.TextSize = 14
- CloneButton.Name = "CloneButton"
- CloneButton.Parent = Frame
- CloneButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- CloneButton.BorderSizePixel = 0
- CloneButton.Position = UDim2.new(0.0769230872, 0, 0.649999976, 25)
- CloneButton.Size = UDim2.new(0, 275, 0, 25)
- CloneButton.Font = Enum.Font.ArialBold
- CloneButton.Text = "Paint Tool (Both)"
- CloneButton.TextColor3 = Color3.new(1, 1, 1)
- CloneButton.TextSize = 14
- CopyButton.Name = "CopyButton"
- CopyButton.Parent = Frame
- CopyButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
- CopyButton.BorderSizePixel = 0
- CopyButton.Position = UDim2.new(0.113846168, 0, 0.375, 15)
- CopyButton.Size = UDim2.new(0, 250, 0, 25)
- CopyButton.Font = Enum.Font.ArialBold
- CopyButton.Text = "Copy Base"
- CopyButton.TextColor3 = Color3.new(1, 1, 1)
- CopyButton.TextSize = 14
- -- Scripts:
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- 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)
- end
- Header.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = Frame.Position
- repeat wait() until input.UserInputState == Enum.UserInputState.End
- dragging = false
- end
- end)
- Header.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- -----------------------------------------------------------------------------
- KillButton.MouseButton1Click:connect(function()
- local Target = Player.Text
- local Func = "Kill"
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name:find(Target) then
- Target = v.Character
- break
- end
- end
- Land = nil
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer then
- Land = v
- break
- end
- end
- if not Land or not Target then
- game.CoreGui.AndIOop.Frame.Warning.Text = "Error : Retry"
- wait(1)
- game.CoreGui.AndIOop.Frame.Warning.Text = " "
- return
- end
- local Position = Land.OriginSquare.CFrame - Vector3.new(0,1000,0)
- if Func == "Blind" then
- Position = Land.OriginSquare.CFrame + Vector3.new(0,10e10,0)
- end
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Target)
- end)
- -----------------------------------------------------------------------------------------
- BlindButton.MouseButton1Click:connect(function()
- local Target = Player.Text
- local Func = "Blind"
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name:find(Target) then
- Target = v.Character
- break
- end
- end
- Land = nil
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer then
- Land = v
- break
- end
- end
- if not Land or not Target then
- game.CoreGui.AndIOop.Frame.Warning.Text = "Error : Retry"
- wait(1)
- game.CoreGui.AndIOop.Frame.Warning.Text = " "
- return
- end
- local Position = Land.OriginSquare.CFrame - Vector3.new(0,1000,0)
- if Func == "Blind" then
- Position = Land.OriginSquare.CFrame + Vector3.new(0,10e10,0)
- end
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Target)
- end)
- -------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------
- GotoButton.MouseButton1Click:connect(function()
- _G.Target = Player.Text
- loadstring(game:HttpGet("https://pastebin.com/raw/EADsUqtV", true))()
- end)
- CopyButton.MouseButton1Click:connect(function()
- --//Setting\\
- local RunService = game:GetService("RunService")
- local TargetPlayer = Player.Text
- local SlowMode = false
- local WipeLocal = false
- local CopyStructure = true
- local CopyWire = true
- local CopyItems = true
- local CopyFurniture = true
- --------------------------------------
- if WipeLocal then
- for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if v:FindFirstChild("Owner") then
- if v.Owner.Value == game.Players.LocalPlayer then
- game.ReplicatedStorage.Interaction.DestroyStructure:FireServer(v)
- end
- end
- end
- wait(0.5)
- end
- for i,v in pairs(game.Players:GetChildren()) do
- if v ~= game.Players.LocalPlayer then
- if v.Name:find(TargetPlayer) then
- TargetPlayer = v
- break
- end
- end
- end
- local LocalLand, TargetLand
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v:FindFirstChild("Owner") then
- if v.Owner.Value == TargetPlayer then
- TargetLand = v
- elseif v.Owner.Value == game.Players.LocalPlayer then
- LocalLand = v
- end
- end
- end
- local CollectedTargetStructures, CollectedLocalStructures, CollectedLocalFurnitures, CollectedTargetFurnitures, CollectedLocalItems, CollectedTargetItems = {}, {}, {}, {}, {}, {}
- local CollectedTargetItemsCopy, CollectedTargetFurnituresCopy = {}, {}
- local TotalCollectedBlueprints = 0
- if CopyStructure then
- for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if v:FindFirstChild("Owner") and v.Owner.Value == TargetPlayer then
- if v:FindFirstChild("BuildDependentWood") and (v.Type.Value == "Structure" or v.Type.Value == "Furniture") then
- local Data = {}
- Data.WoodClass = v:FindFirstChild("BlueprintWoodClass") and v.BlueprintWoodClass.Value
- Data.OffSet = (v:FindFirstChild("MainCFrame") and v.MainCFrame.Value or v.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
- Data.BlueprintType = v.ItemName.Value
- table.insert(CollectedTargetStructures,Data)
- end
- end
- end
- for i, Data in pairs(CollectedTargetStructures) do
- game.ReplicatedStorage.PlaceStructure.ClientPlacedBlueprint:FireServer(Data.BlueprintType, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0), game.Players.LocalPlayer)
- if SlowMode and (math.random(1,2) ~= 1) then
- RunService.RenderStepped:Wait()
- end
- end
- end
- function blueprintHasBeenCollected(Model)
- if CollectedLocalStructures[Model.Name] then
- for i, BlueprintModel in pairs(CollectedLocalStructures[Model.Name]) do
- if BlueprintModel == Model then
- return true
- end
- end
- end
- return false
- end
- repeat
- for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
- 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
- if not CollectedLocalStructures[v.Name] then
- CollectedLocalStructures[v.Name] = {}
- end
- table.insert(CollectedLocalStructures[v.Name], v)
- TotalCollectedBlueprints = TotalCollectedBlueprints + 1
- end
- end
- wait()
- until TotalCollectedBlueprints == #CollectedTargetStructures
- function SpawnStructure(Data, Blueprint)
- local Position = Data.OffSet + LocalLand.OriginSquare.Position
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Blueprint.ItemName.Value, Position, game.Players.LocalPlayer, Data.WoodClass, Blueprint, not Data.WoodClass)
- end
- for i, Data in pairs(CollectedTargetStructures) do
- local Blueprint = CollectedLocalStructures[Data.BlueprintType][1]
- table.remove(CollectedLocalStructures[Data.BlueprintType], 1)
- SpawnStructure(Data, Blueprint)
- if SlowMode and (math.random(1,2) ~= 1) then
- RunService.RenderStepped:Wait()
- end
- end
- function CreateWire(WireType, Points)
- local Wire = game.ReplicatedStorage.Purchasables.WireObjects[WireType]
- for i,v in pairs(Points) do
- Points[i] = v + LocalLand.OriginSquare.Position
- end
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Wire, Points)
- end
- if CopyWire then
- for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if v:FindFirstChild("Owner") and v.Owner.Value == TargetPlayer and v:FindFirstChild("Type") and v.Type.Value == "Wire" and v:FindFirstChild("End1") then
- local Points = {}
- local PointCount = 1
- table.insert(Points, (v.End1.Position - TargetLand.OriginSquare.Position))
- for i,w in pairs(v:GetChildren()) do
- if w.Name:find("Point") then
- PointCount = PointCount + 1
- end
- end
- for i=2, PointCount do
- local Point = v:FindFirstChild("Point"..tostring(i))
- table.insert(Points, (Point.Position - TargetLand.OriginSquare.Position))
- end
- table.insert(Points, (v.End2.Position - TargetLand.OriginSquare.Position))
- CreateWire(v.ItemName.Value, Points)
- if SlowMode and (math.random(1,2) ~= 1)then
- RunService.RenderStepped:Wait()
- end
- end
- end
- end
- function isValidFurniture(Model)
- if Model:FindFirstChild("Type") and (Model.Type.Value == "Structure" or Model.Type.Value == "Furniture" or Model.Type.Value == "Vehicle Spot") then
- if Model:FindFirstChild("BuildDependentWood") or Model:FindFirstChild("PurchasedBoxItemName") then
- return false
- end
- return true
- end
- return false
- end
- function Spawn(ItemName, Position)
- local Info = {}
- Info.Name = ItemName.Value
- Info.Type = ItemName.Name == "PurchasedBoxItemName" and ItemName or game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Position.p, Position.p}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- if CopyFurniture then
- for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if Model:FindFirstChild("Owner") and Model.Owner.Value == TargetPlayer and isValidFurniture(Model) then
- local ItemName = Model:FindFirstChild("ItemName") or Model:FindFirstChild("PurchasedBoxItemName")
- local Position = (Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
- if ItemName.Name == "PurchasedBoxItemName" then
- Spawn(ItemName, Position + LocalLand.OriginSquare.Position)
- else
- Spawn(ItemName, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0))
- end
- local Data = {}
- Data.ItemName = ItemName.Value
- Data.OffSet = Position
- table.insert(CollectedTargetFurnitures, Data)
- if SlowMode and (math.random(1,2) ~= 1)then
- RunService.RenderStepped:Wait()
- end
- end
- end
- end
- for i, v in pairs(CollectedTargetFurnitures) do
- table.insert(CollectedTargetFurnituresCopy,v)
- end
- function isValidFurnitureModel(Model)
- for i, Data in pairs(CollectedTargetFurnitures) do
- if Data.ItemName == Model.ItemName.Value then
- table.remove(CollectedTargetFurnitures, i)
- return true
- end
- end
- return false
- end
- repeat
- for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if Model.Name == "Wire" and Model:FindFirstChild("Owner") and Model.Owner.Value == game.Players.LocalPlayer and Model.ItemName.Value ~= "Wire" and isValidFurnitureModel(Model) then
- table.insert(CollectedLocalFurnitures, Model)
- end
- end
- wait()
- until #CollectedTargetFurnitures == 0
- function GrabModelFromCollectedFurnitures(ItemName)
- for i, Model in pairs(CollectedLocalFurnitures) do
- if Model.ItemName.Value == ItemName then
- table.remove(CollectedLocalFurnitures,i)
- return Model
- end
- end
- end
- for i, Data in pairs(CollectedTargetFurnituresCopy) do
- local Model = GrabModelFromCollectedFurnitures(Data.ItemName)
- local ItemName = Data.ItemName
- local Position = Data.OffSet + LocalLand.OriginSquare.Position
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(ItemName,Position,game.Players.LocalPlayer,false,Model,true)
- if SlowMode and (math.random(1,2) ~= 1)then
- RunService.RenderStepped:Wait()
- end
- end
- function isValidItem(Model)
- 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
- if (Model.Type.Value == "Structure" or Model.Type.Value == "Wire" or Model.Type.Value == "Furniture") and not Model:FindFirstChild("PurchasedBoxItemName") then
- return false
- end
- return true
- elseif not Model:FindFirstChild("Type") then
- if Model:FindFirstChild("ItemName") then
- local ItemName = Model.ItemName.Value:lower()
- if ItemName:find("bob") and (ItemName:find("wob") or ItemName:find("head"))then
- return true
- end
- end
- end
- return false
- end
- function itemIsOnLand(Position)
- if (math.abs(Position.X - TargetLand.OriginSquare.Position.X) > 101 or math.abs(Position.Z - TargetLand.OriginSquare.Position.Z) > 101) then
- return false
- end
- for i, Square in pairs(TargetLand:GetChildren()) do
- if Square.Name == "Square" then
- if (math.abs(Position.X - Square.Position.X) < 21 and math.abs(Position.Z - Square.Position.Z) < 21) then
- return true
- end
- end
- end
- return false
- end
- if CopyItems then
- for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
- if Model:FindFirstChild("Owner") and Model.Owner.Value == TargetPlayer and isValidItem(Model) then
- local ItemName = Model:FindFirstChild("ItemName") or Model:FindFirstChild("PurchasedBoxItemName")
- local Position = (Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame) - TargetLand.OriginSquare.Position
- if itemIsOnLand((Model:FindFirstChild("MainCFrame") and Model.MainCFrame.Value or Model.PrimaryPart.CFrame).p) then
- Spawn(ItemName, LocalLand.OriginSquare.CFrame - Vector3.new(0,20,0))
- local Data = {}
- Data.ItemName = ItemName.Value
- Data.OffSet = Position
- table.insert(CollectedTargetItems, Data)
- if SlowMode and (math.random(1,2) ~= 1)then
- RunService.RenderStepped:Wait()
- end
- end
- end
- end
- end
- for i, v in pairs(CollectedTargetItems) do
- table.insert(CollectedTargetItemsCopy,v)
- end
- function isValidItemModel(Model)
- for i, Data in pairs(CollectedTargetItems) do
- if Data.ItemName == Model.ItemName.Value then
- table.remove(CollectedTargetItems, i)
- return true
- end
- end
- return false
- end
- function itemHasBeenCollected(Model)
- for i, Data in pairs(CollectedLocalItems) do
- if Data.ItemName == Model.ItemName.Value then
- return true
- end
- end
- return false
- end
- repeat
- for i, Model in pairs(game.Workspace.PlayerModels:GetChildren()) do
- 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
- table.insert(CollectedLocalItems, Model)
- end
- end
- wait()
- until #CollectedTargetItems == 0
- function GrabModelFromCollectedItems(ItemName)
- for i, Model in pairs(CollectedLocalItems) do
- if Model.ItemName.Value == ItemName then
- table.remove(CollectedLocalItems,i)
- return Model
- end
- end
- end
- for i, Data in pairs(CollectedTargetItemsCopy) do
- local Model = GrabModelFromCollectedItems(Data.ItemName)
- local ItemName = Data.ItemName
- local Position = Data.OffSet + LocalLand.OriginSquare.Position
- if Model:FindFirstChild("PurchasedBoxItemName") then
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(false, Position, false, false, Model)
- Model.Parent = nil
- else
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(ItemName,Position,game.Players.LocalPlayer,false,Model,true)
- end
- if SlowMode and (math.random(1,2) ~= 1)then
- RunService.RenderStepped:Wait()
- end
- end
- game.CoreGui.AndIOop.Frame.Warning.Text = "Finished Copying"
- wait(1)
- game.CoreGui.AndIOop.Frame.Warning.Text = " "
- end)
- ------------------------------------------
- CloneButton.MouseButton1Click:connect(function()
- -- Instances:
- local ColorPicker = Instance.new("ScreenGui")
- local ChangeColor = Instance.new("Frame")
- local CurrentColor = Instance.new("ImageButton")
- local Picker = Instance.new("ScrollingFrame")
- local Birch = Instance.new("ImageButton")
- local DropShadow = Instance.new("Frame")
- local Grey = Instance.new("ImageButton")
- local DropShadow_2 = Instance.new("Frame")
- local Walnut = Instance.new("ImageButton")
- local DropShadow_3 = Instance.new("Frame")
- local Generic = Instance.new("ImageButton")
- local DropShadow_4 = Instance.new("Frame")
- local Oak = Instance.new("ImageButton")
- local DropShadow_5 = Instance.new("Frame")
- local Pine = Instance.new("ImageButton")
- local DropShadow_6 = Instance.new("Frame")
- local Palm = Instance.new("ImageButton")
- local DropShadow_7 = Instance.new("Frame")
- local Cherry = Instance.new("ImageButton")
- local DropShadow_8 = Instance.new("Frame")
- local Koa = Instance.new("ImageButton")
- local DropShadow_9 = Instance.new("Frame")
- local Volcano = Instance.new("ImageButton")
- local DropShadow_10 = Instance.new("Frame")
- local GreenSwampy = Instance.new("ImageButton")
- local DropShadow_11 = Instance.new("Frame")
- local GoldSwampy = Instance.new("ImageButton")
- local DropShadow_12 = Instance.new("Frame")
- local GenericSpecial = Instance.new("ImageButton")
- local DropShadow_13 = Instance.new("Frame")
- local SnowGlow = Instance.new("ImageButton")
- local DropShadow_14 = Instance.new("Frame")
- local Frost = Instance.new("ImageButton")
- local DropShadow_15 = Instance.new("Frame")
- local CaveCrawler = Instance.new("ImageButton")
- local DropShadow_16 = Instance.new("Frame")
- local LoneCave = Instance.new("ImageButton")
- local DropShadow_17 = Instance.new("Frame")
- local Spooky = Instance.new("ImageButton")
- local DropShadow_18 = Instance.new("Frame")
- local SpookyNeon = Instance.new("ImageButton")
- local DropShadow_19 = Instance.new("Frame")
- --Properties:
- ColorPicker.Name = "ColorPicker"
- ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ChangeColor.Name = "ChangeColor"
- ChangeColor.Parent = ColorPicker
- ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
- ChangeColor.BorderSizePixel = 2
- ChangeColor.Position = UDim2.new(0, 10, 1, -110)
- ChangeColor.Size = UDim2.new(0, 100, 0, 100)
- ChangeColor.ZIndex = 2
- ColorPicker.Enabled = false
- CurrentColor.Name = "CurrentColor"
- CurrentColor.Parent = ChangeColor
- CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
- CurrentColor.BorderSizePixel = 2
- CurrentColor.Position = UDim2.new(0, 10, 0, 10)
- CurrentColor.Size = UDim2.new(0, 80, 0, 80)
- CurrentColor.ZIndex = 2
- CurrentColor.Image = "rbxassetid://2712547918"
- CurrentColor.ScaleType = Enum.ScaleType.Crop
- Picker.Name = "Picker"
- Picker.Parent = ColorPicker
- Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- Picker.BorderColor3 = Color3.new(0, 0, 0)
- Picker.BorderSizePixel = 2
- Picker.Position = UDim2.new(0, 10, 1, -320)
- Picker.Size = UDim2.new(0, 100, 0, 200)
- Picker.CanvasPosition = Vector2.new(0, 700)
- Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
- Picker.ScrollBarThickness = 7
- Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
- Picker.Visible = false
- Birch.Name = "Birch"
- Birch.Parent = Picker
- Birch.BackgroundColor3 = Color3.new(1, 1, 1)
- Birch.BorderColor3 = Color3.new(0, 0, 0)
- Birch.Position = UDim2.new(0, 10, 0, 5)
- Birch.Size = UDim2.new(0, 80, 0, 40)
- Birch.ZIndex = 3
- Birch.Image = "rbxassetid://3344158686"
- Birch.ScaleType = Enum.ScaleType.Crop
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Birch
- DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0, 4, 0, 4)
- DropShadow.Size = UDim2.new(1, 0, 1, 0)
- DropShadow.ZIndex = 2
- Grey.Name = "Grey"
- Grey.Parent = Picker
- Grey.BackgroundColor3 = Color3.new(1, 1, 1)
- Grey.BorderColor3 = Color3.new(0, 0, 0)
- Grey.Position = UDim2.new(0, 10, 0, 55)
- Grey.Size = UDim2.new(0, 80, 0, 40)
- Grey.ZIndex = 3
- Grey.Image = "rbxassetid://3344246154"
- Grey.ScaleType = Enum.ScaleType.Crop
- DropShadow_2.Name = "DropShadow"
- DropShadow_2.Parent = Grey
- DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_2.BorderSizePixel = 0
- DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_2.ZIndex = 2
- Walnut.Name = "Walnut"
- Walnut.Parent = Picker
- Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
- Walnut.BorderColor3 = Color3.new(0, 0, 0)
- Walnut.Position = UDim2.new(0, 10, 0, 105)
- Walnut.Size = UDim2.new(0, 80, 0, 40)
- Walnut.ZIndex = 3
- Walnut.Image = "rbxassetid://3344173411"
- Walnut.ScaleType = Enum.ScaleType.Crop
- DropShadow_3.Name = "DropShadow"
- DropShadow_3.Parent = Walnut
- DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_3.BorderSizePixel = 0
- DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_3.ZIndex = 2
- Generic.Name = "Generic"
- Generic.Parent = Picker
- Generic.BackgroundColor3 = Color3.new(1, 1, 1)
- Generic.BorderColor3 = Color3.new(0, 0, 0)
- Generic.Position = UDim2.new(0, 10, 0, 155)
- Generic.Size = UDim2.new(0, 80, 0, 40)
- Generic.ZIndex = 3
- Generic.Image = "rbxassetid://3344212222"
- Generic.ScaleType = Enum.ScaleType.Crop
- DropShadow_4.Name = "DropShadow"
- DropShadow_4.Parent = Generic
- DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_4.BorderSizePixel = 0
- DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_4.ZIndex = 2
- Oak.Name = "Oak"
- Oak.Parent = Picker
- Oak.BackgroundColor3 = Color3.new(1, 1, 1)
- Oak.BorderColor3 = Color3.new(0, 0, 0)
- Oak.Position = UDim2.new(0, 10, 0, 205)
- Oak.Size = UDim2.new(0, 80, 0, 40)
- Oak.ZIndex = 3
- Oak.Image = "rbxassetid://3344211534"
- Oak.ScaleType = Enum.ScaleType.Crop
- DropShadow_5.Name = "DropShadow"
- DropShadow_5.Parent = Oak
- DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_5.BorderSizePixel = 0
- DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_5.ZIndex = 2
- Pine.Name = "Pine"
- Pine.Parent = Picker
- Pine.BackgroundColor3 = Color3.new(1, 1, 1)
- Pine.BorderColor3 = Color3.new(0, 0, 0)
- Pine.Position = UDim2.new(0, 10, 0, 255)
- Pine.Size = UDim2.new(0, 80, 0, 40)
- Pine.ZIndex = 3
- Pine.Image = "rbxassetid://2712591183"
- Pine.ScaleType = Enum.ScaleType.Crop
- DropShadow_6.Name = "DropShadow"
- DropShadow_6.Parent = Pine
- DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_6.BorderSizePixel = 0
- DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_6.ZIndex = 2
- Palm.Name = "Palm"
- Palm.Parent = Picker
- Palm.BackgroundColor3 = Color3.new(1, 1, 1)
- Palm.BorderColor3 = Color3.new(0, 0, 0)
- Palm.Position = UDim2.new(0, 10, 0, 305)
- Palm.Size = UDim2.new(0, 80, 0, 40)
- Palm.ZIndex = 3
- Palm.Image = "rbxassetid://3344212706"
- Palm.ScaleType = Enum.ScaleType.Crop
- DropShadow_7.Name = "DropShadow"
- DropShadow_7.Parent = Palm
- DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_7.BorderSizePixel = 0
- DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_7.ZIndex = 2
- Cherry.Name = "Cherry"
- Cherry.Parent = Picker
- Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
- Cherry.BorderColor3 = Color3.new(0, 0, 0)
- Cherry.Position = UDim2.new(0, 10, 0, 355)
- Cherry.Size = UDim2.new(0, 80, 0, 40)
- Cherry.ZIndex = 3
- Cherry.Image = "rbxassetid://2712608599"
- Cherry.ScaleType = Enum.ScaleType.Crop
- DropShadow_8.Name = "DropShadow"
- DropShadow_8.Parent = Cherry
- DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_8.BorderSizePixel = 0
- DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_8.ZIndex = 2
- Koa.Name = "Koa"
- Koa.Parent = Picker
- Koa.BackgroundColor3 = Color3.new(1, 1, 1)
- Koa.BorderColor3 = Color3.new(0, 0, 0)
- Koa.Position = UDim2.new(0, 10, 0, 355)
- Koa.Size = UDim2.new(0, 80, 0, 40)
- Koa.ZIndex = 3
- Koa.Image = "rbxassetid://3344211171"
- Koa.ScaleType = Enum.ScaleType.Crop
- DropShadow_9.Name = "DropShadow"
- DropShadow_9.Parent = Koa
- DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_9.BorderSizePixel = 0
- DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_9.ZIndex = 2
- Volcano.Name = "Volcano"
- Volcano.Parent = Picker
- Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
- Volcano.BorderColor3 = Color3.new(0, 0, 0)
- Volcano.Position = UDim2.new(0, 10, 0, 405)
- Volcano.Size = UDim2.new(0, 80, 0, 40)
- Volcano.ZIndex = 3
- Volcano.Image = "rbxassetid://3344211884"
- Volcano.ScaleType = Enum.ScaleType.Crop
- DropShadow_10.Name = "DropShadow"
- DropShadow_10.Parent = Volcano
- DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_10.BorderSizePixel = 0
- DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_10.ZIndex = 2
- GreenSwampy.Name = "GreenSwampy"
- GreenSwampy.Parent = Picker
- GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
- GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
- GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
- GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
- GreenSwampy.ZIndex = 3
- GreenSwampy.Image = "rbxassetid://3344225694"
- GreenSwampy.ScaleType = Enum.ScaleType.Crop
- DropShadow_11.Name = "DropShadow"
- DropShadow_11.Parent = GreenSwampy
- DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_11.BorderSizePixel = 0
- DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_11.ZIndex = 2
- GoldSwampy.Name = "GoldSwampy"
- GoldSwampy.Parent = Picker
- GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
- GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
- GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
- GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
- GoldSwampy.ZIndex = 3
- GoldSwampy.Image = "rbxassetid://3344236811"
- GoldSwampy.ScaleType = Enum.ScaleType.Crop
- DropShadow_12.Name = "DropShadow"
- DropShadow_12.Parent = GoldSwampy
- DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_12.BorderSizePixel = 0
- DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_12.ZIndex = 2
- GenericSpecial.Name = "GenericSpecial"
- GenericSpecial.Parent = Picker
- GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
- GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
- GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
- GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
- GenericSpecial.ZIndex = 3
- GenericSpecial.Image = "rbxassetid://2712639396"
- GenericSpecial.ScaleType = Enum.ScaleType.Crop
- DropShadow_13.Name = "DropShadow"
- DropShadow_13.Parent = GenericSpecial
- DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_13.BorderSizePixel = 0
- DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_13.ZIndex = 2
- SnowGlow.Name = "SnowGlow"
- SnowGlow.Parent = Picker
- SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
- SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
- SnowGlow.Position = UDim2.new(0, 10, 0, 605)
- SnowGlow.Size = UDim2.new(0, 80, 0, 40)
- SnowGlow.ZIndex = 3
- SnowGlow.Image = "rbxassetid://2712651454"
- SnowGlow.ScaleType = Enum.ScaleType.Crop
- DropShadow_14.Name = "DropShadow"
- DropShadow_14.Parent = SnowGlow
- DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_14.BorderSizePixel = 0
- DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_14.ZIndex = 2
- Frost.Name = "Frost"
- Frost.Parent = Picker
- Frost.BackgroundColor3 = Color3.new(1, 1, 1)
- Frost.BorderColor3 = Color3.new(0, 0, 0)
- Frost.Position = UDim2.new(0, 10, 0, 655)
- Frost.Size = UDim2.new(0, 80, 0, 40)
- Frost.ZIndex = 3
- Frost.Image = "rbxassetid://2712667804"
- Frost.ScaleType = Enum.ScaleType.Crop
- DropShadow_15.Name = "DropShadow"
- DropShadow_15.Parent = Frost
- DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_15.BorderSizePixel = 0
- DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_15.ZIndex = 2
- CaveCrawler.Name = "CaveCrawler"
- CaveCrawler.Parent = Picker
- CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
- CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
- CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
- CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
- CaveCrawler.ZIndex = 3
- CaveCrawler.Image = "rbxassetid://2712673980"
- CaveCrawler.ScaleType = Enum.ScaleType.Crop
- DropShadow_16.Name = "DropShadow"
- DropShadow_16.Parent = CaveCrawler
- DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_16.BorderSizePixel = 0
- DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_16.ZIndex = 2
- LoneCave.Name = "LoneCave"
- LoneCave.Parent = Picker
- LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
- LoneCave.BorderColor3 = Color3.new(0, 0, 0)
- LoneCave.Position = UDim2.new(0, 10, 0, 755)
- LoneCave.Size = UDim2.new(0, 80, 0, 40)
- LoneCave.ZIndex = 3
- LoneCave.Image = "rbxassetid://2712693147"
- LoneCave.ScaleType = Enum.ScaleType.Crop
- DropShadow_17.Name = "DropShadow"
- DropShadow_17.Parent = LoneCave
- DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_17.BorderSizePixel = 0
- DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_17.ZIndex = 2
- Spooky.Name = "Spooky"
- Spooky.Parent = Picker
- Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
- Spooky.BorderColor3 = Color3.new(0, 0, 0)
- Spooky.Position = UDim2.new(0, 10, 0, 805)
- Spooky.Size = UDim2.new(0, 80, 0, 40)
- Spooky.ZIndex = 3
- Spooky.Image = "rbxassetid://2712696822"
- Spooky.ScaleType = Enum.ScaleType.Crop
- DropShadow_18.Name = "DropShadow"
- DropShadow_18.Parent = Spooky
- DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_18.BorderSizePixel = 0
- DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_18.ZIndex = 2
- SpookyNeon.Name = "SpookyNeon"
- SpookyNeon.Parent = Picker
- SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
- SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
- SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
- SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
- SpookyNeon.ZIndex = 3
- SpookyNeon.Image = "rbxassetid://2712700047"
- SpookyNeon.ScaleType = Enum.ScaleType.Crop
- DropShadow_19.Name = "DropShadow"
- DropShadow_19.Parent = SpookyNeon
- DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_19.BorderSizePixel = 0
- DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_19.ZIndex = 2
- -- Scripts:
- woodtype = "Birch"
- local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- tool.RequiresHandle = false
- --tool.RobloxLocked = true
- tool.Name = "Modded"
- tool.ToolTip = "Changes A Stucture's Wood Type"
- tool.Equipped:connect(function(Mouse)
- ColorPicker.Enabled = true
- Mouse.Button1Down:connect(function()
- if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
- local Cframe
- if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
- Cframe = Mouse.Target.Parent.MainCFrame.Value
- else
- Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
- end
- if Mouse.Target.Parent ~= nil then
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
- end
- else
- --do nothing
- end
- end)
- end)
- tool.Unequipped:connect(function(mouse)
- ColorPicker.Enabled = false
- end)
- Birch.MouseButton1Click:Connect(function()
- CurrentColor.Image = Birch.Image
- woodtype = "Alien"
- end)
- Grey.MouseButton1Click:Connect(function()
- CurrentColor.Image = Grey.Image
- woodtype = "Unobtainium"
- end)
- Walnut.MouseButton1Click:Connect(function()
- CurrentColor.Image = Walnut.Image
- woodtype = "Ebony"
- end)
- Generic.MouseButton1Click:Connect(function()
- CurrentColor.Image = Generic.Image
- woodtype = "Eucalyptus"
- end)
- Oak.MouseButton1Click:Connect(function()
- CurrentColor.Image = Oak.Image
- woodtype = "PinkIvory"
- end)
- Pine.MouseButton1Click:Connect(function()
- CurrentColor.Image = Pine.Image
- woodtype = "LoremIpsum"
- end)
- Palm.MouseButton1Click:Connect(function()
- CurrentColor.Image = Palm.Image
- woodtype = "Amaranth"
- end)
- Koa.MouseButton1Click:Connect(function()
- CurrentColor.Image = Koa.Image
- woodtype = "Cocoa"
- end)
- Volcano.MouseButton1Click:Connect(function()
- CurrentColor.Image = Volcano.Image
- woodtype = "FireCrystal"
- end)
- GreenSwampy.MouseButton1Click:Connect(function()
- CurrentColor.Image = GreenSwampy.Image
- woodtype = "Emerald"
- end)
- GoldSwampy.MouseButton1Click:Connect(function()
- CurrentColor.Image = GoldSwampy.Image
- woodtype = "Diamond"
- end)
- GenericSpecial.MouseButton1Click:Connect(function()
- CurrentColor.Image = GenericSpecial.Image
- woodtype = "GenericSpecial"
- end)
- SnowGlow.MouseButton1Click:Connect(function()
- CurrentColor.Image = SnowGlow.Image
- woodtype = "SnowGlow"
- end)
- Frost.MouseButton1Click:Connect(function()
- CurrentColor.Image = Frost.Image
- woodtype = "Frost"
- end)
- CaveCrawler.MouseButton1Click:Connect(function()
- CurrentColor.Image = CaveCrawler.Image
- woodtype = "CaveCrawler"
- end)
- LoneCave.MouseButton1Click:Connect(function()
- CurrentColor.Image = LoneCave.Image
- woodtype = "LoneCave"
- end)
- Spooky.MouseButton1Click:Connect(function()
- CurrentColor.Image = Spooky.Image
- woodtype = "Spooky"
- end)
- SpookyNeon.MouseButton1Click:Connect(function()
- CurrentColor.Image = SpookyNeon.Image
- woodtype = "SpookyNeon"
- end)
- --bring up menu
- CurrentColor.MouseButton1Click:Connect(function()
- if Picker.Visible == false then
- Picker.Visible = true
- else
- Picker.Visible = false
- end
- end)
- end)
- --------------------------------------------------
- CloneButton.MouseButton1Click:connect(function()
- --Fixed Paint By Heh#1814
- -- Instances:
- local ColorPicker = Instance.new("ScreenGui")
- local ChangeColor = Instance.new("Frame")
- local CurrentColor = Instance.new("ImageButton")
- local Picker = Instance.new("ScrollingFrame")
- local Birch = Instance.new("ImageButton")
- local DropShadow = Instance.new("Frame")
- local Cherry = Instance.new("ImageButton")
- local DropShadow_2 = Instance.new("Frame")
- local Walnut = Instance.new("ImageButton")
- local DropShadow_3 = Instance.new("Frame")
- local Generic = Instance.new("ImageButton")
- local DropShadow_4 = Instance.new("Frame")
- local Oak = Instance.new("ImageButton")
- local DropShadow_5 = Instance.new("Frame")
- local Pine = Instance.new("ImageButton")
- local DropShadow_6 = Instance.new("Frame")
- local Palm = Instance.new("ImageButton")
- local DropShadow_7 = Instance.new("Frame")
- local Cherry = Instance.new("ImageButton")
- local DropShadow_8 = Instance.new("Frame")
- local Koa = Instance.new("ImageButton")
- local DropShadow_9 = Instance.new("Frame")
- local Volcano = Instance.new("ImageButton")
- local DropShadow_10 = Instance.new("Frame")
- local GreenSwampy = Instance.new("ImageButton")
- local DropShadow_11 = Instance.new("Frame")
- local GoldSwampy = Instance.new("ImageButton")
- local DropShadow_12 = Instance.new("Frame")
- local GenericSpecial = Instance.new("ImageButton")
- local DropShadow_13 = Instance.new("Frame")
- local SnowGlow = Instance.new("ImageButton")
- local DropShadow_14 = Instance.new("Frame")
- local Frost = Instance.new("ImageButton")
- local DropShadow_15 = Instance.new("Frame")
- local CaveCrawler = Instance.new("ImageButton")
- local DropShadow_16 = Instance.new("Frame")
- local LoneCave = Instance.new("ImageButton")
- local DropShadow_17 = Instance.new("Frame")
- local Spooky = Instance.new("ImageButton")
- local DropShadow_18 = Instance.new("Frame")
- local SpookyNeon = Instance.new("ImageButton")
- local DropShadow_19 = Instance.new("Frame")
- --Properties:
- ColorPicker.Name = "ColorPicker"
- ColorPicker.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ChangeColor.Name = "ChangeColor"
- ChangeColor.Parent = ColorPicker
- ChangeColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- ChangeColor.BorderColor3 = Color3.new(0, 0, 0)
- ChangeColor.BorderSizePixel = 2
- ChangeColor.Position = UDim2.new(0, 10, 1, -110)
- ChangeColor.Size = UDim2.new(0, 100, 0, 100)
- ChangeColor.ZIndex = 2
- ColorPicker.Enabled = false
- CurrentColor.Name = "CurrentColor"
- CurrentColor.Parent = ChangeColor
- CurrentColor.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- CurrentColor.BorderColor3 = Color3.new(0, 0, 0)
- CurrentColor.BorderSizePixel = 2
- CurrentColor.Position = UDim2.new(0, 10, 0, 10)
- CurrentColor.Size = UDim2.new(0, 80, 0, 80)
- CurrentColor.ZIndex = 2
- CurrentColor.Image = "rbxassetid://2712547918"
- CurrentColor.ScaleType = Enum.ScaleType.Crop
- Picker.Name = "Picker"
- Picker.Parent = ColorPicker
- Picker.BackgroundColor3 = Color3.new(0.176471, 0.254902, 0.427451)
- Picker.BorderColor3 = Color3.new(0, 0, 0)
- Picker.BorderSizePixel = 2
- Picker.Position = UDim2.new(0, 10, 1, -320)
- Picker.Size = UDim2.new(0, 100, 0, 200)
- Picker.CanvasPosition = Vector2.new(0, 700)
- Picker.CanvasSize = UDim2.new(0, 0, 0, 900)
- Picker.ScrollBarThickness = 7
- Picker.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
- Picker.Visible = false
- Birch.Name = "Birch"
- Birch.Parent = Picker
- Birch.BackgroundColor3 = Color3.new(1, 1, 1)
- Birch.BorderColor3 = Color3.new(0, 0, 0)
- Birch.Position = UDim2.new(0, 10, 0, 5)
- Birch.Size = UDim2.new(0, 80, 0, 40)
- Birch.ZIndex = 3
- Birch.Image = "rbxassetid://2712547918"
- Birch.ScaleType = Enum.ScaleType.Crop
- DropShadow.Name = "DropShadow"
- DropShadow.Parent = Birch
- DropShadow.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow.BorderSizePixel = 0
- DropShadow.Position = UDim2.new(0, 4, 0, 4)
- DropShadow.Size = UDim2.new(1, 0, 1, 0)
- DropShadow.ZIndex = 2
- Cherry.Name = "Cherry"
- Cherry.Parent = Picker
- Cherry.BackgroundColor3 = Color3.new(1, 1, 1)
- Cherry.BorderColor3 = Color3.new(0, 0, 0)
- Cherry.Position = UDim2.new(0, 10, 0, 55)
- Cherry.Size = UDim2.new(0, 80, 0, 40)
- Cherry.ZIndex = 3
- Cherry.Image = "rbxassetid://2712608599"
- Cherry.ScaleType = Enum.ScaleType.Crop
- DropShadow_2.Name = "DropShadow"
- DropShadow_2.Parent = Cherry
- DropShadow_2.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_2.BorderSizePixel = 0
- DropShadow_2.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_2.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_2.ZIndex = 2
- Walnut.Name = "Walnut"
- Walnut.Parent = Picker
- Walnut.BackgroundColor3 = Color3.new(1, 1, 1)
- Walnut.BorderColor3 = Color3.new(0, 0, 0)
- Walnut.Position = UDim2.new(0, 10, 0, 105)
- Walnut.Size = UDim2.new(0, 80, 0, 40)
- Walnut.ZIndex = 3
- Walnut.Image = "rbxassetid://2712559790"
- Walnut.ScaleType = Enum.ScaleType.Crop
- DropShadow_3.Name = "DropShadow"
- DropShadow_3.Parent = Walnut
- DropShadow_3.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_3.BorderSizePixel = 0
- DropShadow_3.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_3.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_3.ZIndex = 2
- Generic.Name = "Generic"
- Generic.Parent = Picker
- Generic.BackgroundColor3 = Color3.new(1, 1, 1)
- Generic.BorderColor3 = Color3.new(0, 0, 0)
- Generic.Position = UDim2.new(0, 10, 0, 155)
- Generic.Size = UDim2.new(0, 80, 0, 40)
- Generic.ZIndex = 3
- Generic.Image = "rbxassetid://2712568624"
- Generic.ScaleType = Enum.ScaleType.Crop
- DropShadow_4.Name = "DropShadow"
- DropShadow_4.Parent = Generic
- DropShadow_4.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_4.BorderSizePixel = 0
- DropShadow_4.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_4.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_4.ZIndex = 2
- Oak.Name = "Oak"
- Oak.Parent = Picker
- Oak.BackgroundColor3 = Color3.new(1, 1, 1)
- Oak.BorderColor3 = Color3.new(0, 0, 0)
- Oak.Position = UDim2.new(0, 10, 0, 205)
- Oak.Size = UDim2.new(0, 80, 0, 40)
- Oak.ZIndex = 3
- Oak.Image = "rbxassetid://2712579185"
- Oak.ScaleType = Enum.ScaleType.Crop
- DropShadow_5.Name = "DropShadow"
- DropShadow_5.Parent = Oak
- DropShadow_5.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_5.BorderSizePixel = 0
- DropShadow_5.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_5.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_5.ZIndex = 2
- Pine.Name = "Pine"
- Pine.Parent = Picker
- Pine.BackgroundColor3 = Color3.new(1, 1, 1)
- Pine.BorderColor3 = Color3.new(0, 0, 0)
- Pine.Position = UDim2.new(0, 10, 0, 255)
- Pine.Size = UDim2.new(0, 80, 0, 40)
- Pine.ZIndex = 3
- Pine.Image = "rbxassetid://2712591183"
- Pine.ScaleType = Enum.ScaleType.Crop
- DropShadow_6.Name = "DropShadow"
- DropShadow_6.Parent = Pine
- DropShadow_6.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_6.BorderSizePixel = 0
- DropShadow_6.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_6.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_6.ZIndex = 2
- Palm.Name = "Palm"
- Palm.Parent = Picker
- Palm.BackgroundColor3 = Color3.new(1, 1, 1)
- Palm.BorderColor3 = Color3.new(0, 0, 0)
- Palm.Position = UDim2.new(0, 10, 0, 305)
- Palm.Size = UDim2.new(0, 80, 0, 40)
- Palm.ZIndex = 3
- Palm.Image = "rbxassetid://2712597395"
- Palm.ScaleType = Enum.ScaleType.Crop
- DropShadow_7.Name = "DropShadow"
- DropShadow_7.Parent = Palm
- DropShadow_7.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_7.BorderSizePixel = 0
- DropShadow_7.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_7.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_7.ZIndex = 2
- DropShadow_8.Name = "DropShadow"
- DropShadow_8.Parent = Cherry
- DropShadow_8.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_8.BorderSizePixel = 0
- DropShadow_8.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_8.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_8.ZIndex = 2
- Koa.Name = "Koa"
- Koa.Parent = Picker
- Koa.BackgroundColor3 = Color3.new(1, 1, 1)
- Koa.BorderColor3 = Color3.new(0, 0, 0)
- Koa.Position = UDim2.new(0, 10, 0, 355)
- Koa.Size = UDim2.new(0, 80, 0, 40)
- Koa.ZIndex = 3
- Koa.Image = "rbxassetid://2712612798"
- Koa.ScaleType = Enum.ScaleType.Crop
- DropShadow_9.Name = "DropShadow"
- DropShadow_9.Parent = Koa
- DropShadow_9.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_9.BorderSizePixel = 0
- DropShadow_9.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_9.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_9.ZIndex = 2
- Volcano.Name = "Volcano"
- Volcano.Parent = Picker
- Volcano.BackgroundColor3 = Color3.new(1, 1, 1)
- Volcano.BorderColor3 = Color3.new(0, 0, 0)
- Volcano.Position = UDim2.new(0, 10, 0, 405)
- Volcano.Size = UDim2.new(0, 80, 0, 40)
- Volcano.ZIndex = 3
- Volcano.Image = "rbxassetid://2712618609"
- Volcano.ScaleType = Enum.ScaleType.Crop
- DropShadow_10.Name = "DropShadow"
- DropShadow_10.Parent = Volcano
- DropShadow_10.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_10.BorderSizePixel = 0
- DropShadow_10.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_10.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_10.ZIndex = 2
- GreenSwampy.Name = "GreenSwampy"
- GreenSwampy.Parent = Picker
- GreenSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
- GreenSwampy.BorderColor3 = Color3.new(0, 0, 0)
- GreenSwampy.Position = UDim2.new(0, 10, 0, 455)
- GreenSwampy.Size = UDim2.new(0, 80, 0, 40)
- GreenSwampy.ZIndex = 3
- GreenSwampy.Image = "rbxassetid://2712623896"
- GreenSwampy.ScaleType = Enum.ScaleType.Crop
- DropShadow_11.Name = "DropShadow"
- DropShadow_11.Parent = GreenSwampy
- DropShadow_11.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_11.BorderSizePixel = 0
- DropShadow_11.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_11.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_11.ZIndex = 2
- GoldSwampy.Name = "GoldSwampy"
- GoldSwampy.Parent = Picker
- GoldSwampy.BackgroundColor3 = Color3.new(1, 1, 1)
- GoldSwampy.BorderColor3 = Color3.new(0, 0, 0)
- GoldSwampy.Position = UDim2.new(0, 10, 0, 505)
- GoldSwampy.Size = UDim2.new(0, 80, 0, 40)
- GoldSwampy.ZIndex = 3
- GoldSwampy.Image = "rbxassetid://2712631457"
- GoldSwampy.ScaleType = Enum.ScaleType.Crop
- DropShadow_12.Name = "DropShadow"
- DropShadow_12.Parent = GoldSwampy
- DropShadow_12.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_12.BorderSizePixel = 0
- DropShadow_12.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_12.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_12.ZIndex = 2
- GenericSpecial.Name = "GenericSpecial"
- GenericSpecial.Parent = Picker
- GenericSpecial.BackgroundColor3 = Color3.new(1, 1, 1)
- GenericSpecial.BorderColor3 = Color3.new(0, 0, 0)
- GenericSpecial.Position = UDim2.new(0, 10, 0, 555)
- GenericSpecial.Size = UDim2.new(0, 80, 0, 40)
- GenericSpecial.ZIndex = 3
- GenericSpecial.Image = "rbxassetid://2712639396"
- GenericSpecial.ScaleType = Enum.ScaleType.Crop
- DropShadow_13.Name = "DropShadow"
- DropShadow_13.Parent = GenericSpecial
- DropShadow_13.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_13.BorderSizePixel = 0
- DropShadow_13.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_13.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_13.ZIndex = 2
- SnowGlow.Name = "SnowGlow"
- SnowGlow.Parent = Picker
- SnowGlow.BackgroundColor3 = Color3.new(1, 1, 1)
- SnowGlow.BorderColor3 = Color3.new(0, 0, 0)
- SnowGlow.Position = UDim2.new(0, 10, 0, 605)
- SnowGlow.Size = UDim2.new(0, 80, 0, 40)
- SnowGlow.ZIndex = 3
- SnowGlow.Image = "rbxassetid://2712651454"
- SnowGlow.ScaleType = Enum.ScaleType.Crop
- DropShadow_14.Name = "DropShadow"
- DropShadow_14.Parent = SnowGlow
- DropShadow_14.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_14.BorderSizePixel = 0
- DropShadow_14.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_14.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_14.ZIndex = 2
- Frost.Name = "Frost"
- Frost.Parent = Picker
- Frost.BackgroundColor3 = Color3.new(1, 1, 1)
- Frost.BorderColor3 = Color3.new(0, 0, 0)
- Frost.Position = UDim2.new(0, 10, 0, 655)
- Frost.Size = UDim2.new(0, 80, 0, 40)
- Frost.ZIndex = 3
- Frost.Image = "rbxassetid://2712667804"
- Frost.ScaleType = Enum.ScaleType.Crop
- DropShadow_15.Name = "DropShadow"
- DropShadow_15.Parent = Frost
- DropShadow_15.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_15.BorderSizePixel = 0
- DropShadow_15.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_15.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_15.ZIndex = 2
- CaveCrawler.Name = "CaveCrawler"
- CaveCrawler.Parent = Picker
- CaveCrawler.BackgroundColor3 = Color3.new(1, 1, 1)
- CaveCrawler.BorderColor3 = Color3.new(0, 0, 0)
- CaveCrawler.Position = UDim2.new(0, 10, 0, 705)
- CaveCrawler.Size = UDim2.new(0, 80, 0, 40)
- CaveCrawler.ZIndex = 3
- CaveCrawler.Image = "rbxassetid://2712673980"
- CaveCrawler.ScaleType = Enum.ScaleType.Crop
- DropShadow_16.Name = "DropShadow"
- DropShadow_16.Parent = CaveCrawler
- DropShadow_16.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_16.BorderSizePixel = 0
- DropShadow_16.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_16.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_16.ZIndex = 2
- LoneCave.Name = "LoneCave"
- LoneCave.Parent = Picker
- LoneCave.BackgroundColor3 = Color3.new(1, 1, 1)
- LoneCave.BorderColor3 = Color3.new(0, 0, 0)
- LoneCave.Position = UDim2.new(0, 10, 0, 755)
- LoneCave.Size = UDim2.new(0, 80, 0, 40)
- LoneCave.ZIndex = 3
- LoneCave.Image = "rbxassetid://2712693147"
- LoneCave.ScaleType = Enum.ScaleType.Crop
- DropShadow_17.Name = "DropShadow"
- DropShadow_17.Parent = LoneCave
- DropShadow_17.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_17.BorderSizePixel = 0
- DropShadow_17.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_17.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_17.ZIndex = 2
- Spooky.Name = "Spooky"
- Spooky.Parent = Picker
- Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
- Spooky.BorderColor3 = Color3.new(0, 0, 0)
- Spooky.Position = UDim2.new(0, 10, 0, 805)
- Spooky.Size = UDim2.new(0, 80, 0, 40)
- Spooky.ZIndex = 3
- Spooky.Image = "rbxassetid://2712696822"
- Spooky.ScaleType = Enum.ScaleType.Crop
- DropShadow_18.Name = "DropShadow"
- DropShadow_18.Parent = Spooky
- DropShadow_18.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_18.BorderSizePixel = 0
- DropShadow_18.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_18.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_18.ZIndex = 2
- SpookyNeon.Name = "SpookyNeon"
- SpookyNeon.Parent = Picker
- SpookyNeon.BackgroundColor3 = Color3.new(1, 1, 1)
- SpookyNeon.BorderColor3 = Color3.new(0, 0, 0)
- SpookyNeon.Position = UDim2.new(0, 10, 0, 855)
- SpookyNeon.Size = UDim2.new(0, 80, 0, 40)
- SpookyNeon.ZIndex = 3
- SpookyNeon.Image = "rbxassetid://2712700047"
- SpookyNeon.ScaleType = Enum.ScaleType.Crop
- DropShadow_19.Name = "DropShadow"
- DropShadow_19.Parent = SpookyNeon
- DropShadow_19.BackgroundColor3 = Color3.new(0, 0, 0)
- DropShadow_19.BorderSizePixel = 0
- DropShadow_19.Position = UDim2.new(0, 4, 0, 4)
- DropShadow_19.Size = UDim2.new(1, 0, 1, 0)
- DropShadow_19.ZIndex = 2
- -- Scripts:
- woodtype = "Birch"
- local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
- tool.RequiresHandle = false
- --tool.RobloxLocked = true
- tool.Name = "Normal"
- tool.ToolTip = "Changes A Stucture's Wood Type"
- tool.Equipped:connect(function(Mouse)
- ColorPicker.Enabled = true
- Mouse.Button1Down:connect(function()
- if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
- local Cframe
- if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
- Cframe = Mouse.Target.Parent.MainCFrame.Value
- else
- Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
- end
- if Mouse.Target.Parent ~= nil then
- game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
- end
- else
- --do nothing
- end
- end)
- end)
- tool.Unequipped:connect(function(mouse)
- ColorPicker.Enabled = false
- end)
- Birch.MouseButton1Click:Connect(function()
- CurrentColor.Image = Birch.Image
- woodtype = "Birch"
- end)
- Cherry.MouseButton1Click:Connect(function()
- CurrentColor.Image = Cherry.Image
- woodtype = "Cherry"
- end)
- Walnut.MouseButton1Click:Connect(function()
- CurrentColor.Image = Walnut.Image
- woodtype = "Walnut"
- end)
- Generic.MouseButton1Click:Connect(function()
- CurrentColor.Image = Generic.Image
- woodtype = "Generic"
- end)
- Oak.MouseButton1Click:Connect(function()
- CurrentColor.Image = Oak.Image
- woodtype = "Oak"
- end)
- Pine.MouseButton1Click:Connect(function()
- CurrentColor.Image = Pine.Image
- woodtype = "Pine"
- end)
- Palm.MouseButton1Click:Connect(function()
- CurrentColor.Image = Palm.Image
- woodtype = "Palm"
- end)
- Koa.MouseButton1Click:Connect(function()
- CurrentColor.Image = Koa.Image
- woodtype = "Koa"
- end)
- Volcano.MouseButton1Click:Connect(function()
- CurrentColor.Image = Volcano.Image
- woodtype = "Volcano"
- end)
- GreenSwampy.MouseButton1Click:Connect(function()
- CurrentColor.Image = GreenSwampy.Image
- woodtype = "GreenSwampy"
- end)
- GoldSwampy.MouseButton1Click:Connect(function()
- CurrentColor.Image = GoldSwampy.Image
- woodtype = "GoldSwampy"
- end)
- GenericSpecial.MouseButton1Click:Connect(function()
- CurrentColor.Image = GenericSpecial.Image
- woodtype = "GenericSpecial"
- end)
- SnowGlow.MouseButton1Click:Connect(function()
- CurrentColor.Image = SnowGlow.Image
- woodtype = "SnowGlow"
- end)
- Frost.MouseButton1Click:Connect(function()
- CurrentColor.Image = Frost.Image
- woodtype = "Frost"
- end)
- CaveCrawler.MouseButton1Click:Connect(function()
- CurrentColor.Image = CaveCrawler.Image
- woodtype = "CaveCrawler"
- end)
- LoneCave.MouseButton1Click:Connect(function()
- CurrentColor.Image = LoneCave.Image
- woodtype = "LoneCave"
- end)
- Spooky.MouseButton1Click:Connect(function()
- CurrentColor.Image = Spooky.Image
- woodtype = "Spooky"
- end)
- SpookyNeon.MouseButton1Click:Connect(function()
- CurrentColor.Image = SpookyNeon.Image
- woodtype = "SpookyNeon"
- end)
- --bring up menu
- CurrentColor.MouseButton1Click:Connect(function()
- if Picker.Visible == false then
- Picker.Visible = true
- else
- Picker.Visible = false
- end
- end)
- end)
- -----------------------------------------------
- SpawnButton.MouseButton1Click:connect(function()
- for i,v in pairs(game.ReplicatedStorage.Purchasables.Structures.BlueprintStructures:GetChildren()) do
- local clone = v:Clone()
- clone.Parent = game.Players.LocalPlayer.PlayerBlueprints.Blueprints
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement