Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local EvanGui = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local BeautyA = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local BeautyB = Instance.new("Frame")
- local TextLabel_2 = Instance.new("TextLabel")
- local endtimes = Instance.new("TextButton")
- local fire = Instance.new("TextButton")
- local Many = Instance.new("TextButton")
- local Rukiry = Instance.new("TextButton")
- local amber = Instance.new("TextButton")
- local beta = Instance.new("TextButton")
- local alpha = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local bee = Instance.new("TextButton")
- local caminhao = Instance.new("TextButton")
- local treno = Instance.new("TextButton")
- local carro1 = Instance.new("TextButton")
- local carro2 = Instance.new("TextButton")
- local trailer1 = Instance.new("TextButton")
- local trailer2 = Instance.new("TextButton")
- local blueball = Instance.new("TextButton")
- local greenball = Instance.new("TextButton")
- local plumball = Instance.new("TextButton")
- local RedBall = Instance.new("TextButton")
- local PumpkinClassic = Instance.new("TextButton")
- local PumpkinCursed = Instance.new("TextButton")
- local PumpkinDark = Instance.new("TextButton")
- local PumpkinGreen = Instance.new("TextButton")
- local Bobblehead = Instance.new("TextButton")
- local Bobblehead2 = Instance.new("TextButton")
- local Bobblehead3 = Instance.new("TextButton")
- local Bobblehead4 = Instance.new("TextButton")
- local Turkey3 = Instance.new("TextButton")
- local Turkey = Instance.new("TextButton")
- local Turkey2 = Instance.new("TextButton")
- local CandyCane = Instance.new("TextButton")
- local Duck = Instance.new("TextButton")
- local WorkLight = Instance.new("TextButton")
- local Toboggan = Instance.new("TextButton")
- local Spork = Instance.new("TextButton")
- local Scoobis = Instance.new("TextButton")
- local Plate = Instance.new("TextButton")
- local Eye1 = Instance.new("TextButton")
- --Properties:
- EvanGui.Name = "EvanGui"
- EvanGui.Parent = game.CoreGui
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = EvanGui
- OpenFrame.Active = true
- OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenFrame.BorderSizePixel = 0
- OpenFrame.Position = UDim2.new(0.448521912, 0, 0, 0)
- OpenFrame.Size = UDim2.new(0, 100, 0, 33)
- OpenFrame.Draggable = true
- open.Name = "open"
- open.Parent = OpenFrame
- open.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.333333)
- open.Position = UDim2.new(0.0434046388, 0, 0.0645586252, 0)
- open.Size = UDim2.new(0, 91, 0, 27)
- open.Font = Enum.Font.SourceSans
- open.Text = "Abrir"
- open.TextColor3 = Color3.new(1, 1, 1)
- open.TextSize = 16
- open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = EvanGui
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
- Main.BackgroundTransparency = 0.40000000596046
- Main.Position = UDim2.new(0.187563717, 0, 0.252964437, 0)
- Main.Size = UDim2.new(0, 609, 0, 374)
- Main.Visible = false
- Main.Draggable = true
- BeautyA.Name = "BeautyA"
- BeautyA.Parent = Main
- BeautyA.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
- BeautyA.BorderColor3 = Color3.new(1, 0.00784314, 0.917647)
- BeautyA.BorderSizePixel = 0
- BeautyA.Size = UDim2.new(0, 610, 0, 45)
- TextLabel.Parent = BeautyA
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 610, 0, 45)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Gui Feita Por Evan Player"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 30
- BeautyB.Name = "BeautyB"
- BeautyB.Parent = Main
- BeautyB.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
- BeautyB.BorderColor3 = Color3.new(1, 0.00784314, 0.917647)
- BeautyB.BorderSizePixel = 0
- BeautyB.Position = UDim2.new(0, 0, 0.893048108, 0)
- BeautyB.Size = UDim2.new(0, 610, 0, 40)
- TextLabel_2.Parent = BeautyB
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Size = UDim2.new(0, 610, 0, 40)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Inscreva-se em meu canal no youtube.com/evanplayer"
- TextLabel_2.TextColor3 = Color3.new(0.85098, 0.85098, 0.85098)
- TextLabel_2.TextSize = 20
- endtimes.Name = "endtimes"
- endtimes.Parent = Main
- endtimes.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- endtimes.BorderSizePixel = 0
- endtimes.Position = UDim2.new(0.0344262309, 0, 0.155080214, 0)
- endtimes.Size = UDim2.new(0, 103, 0, 24)
- endtimes.Font = Enum.Font.SourceSans
- endtimes.Text = "EndTimes"
- endtimes.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- endtimes.TextSize = 14
- endtimes.MouseButton1Down:connect(function()
- local Item = "EndTimesAxe"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- fire.Name = "fire"
- fire.Parent = Main
- fire.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- fire.BorderSizePixel = 0
- fire.Position = UDim2.new(0.0344262309, 0, 0.243315503, 0)
- fire.Size = UDim2.new(0, 103, 0, 24)
- fire.Font = Enum.Font.SourceSans
- fire.Text = "Fire"
- fire.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- fire.TextSize = 14
- fire.MouseButton1Down:connect(function()
- local Item = "FireAxe"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Many.Name = "Many"
- Many.Parent = Main
- Many.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Many.BorderSizePixel = 0
- Many.Position = UDim2.new(0.0344262309, 0, 0.334224582, 0)
- Many.Size = UDim2.new(0, 103, 0, 24)
- Many.Font = Enum.Font.SourceSans
- Many.Text = "Many"
- Many.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Many.TextSize = 14
- Many.MouseButton1Down:connect(function()
- local Item = "ManyAxe"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Rukiry.Name = "Rukiry"
- Rukiry.Parent = Main
- Rukiry.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Rukiry.BorderSizePixel = 0
- Rukiry.Position = UDim2.new(0.0344262309, 0, 0.4224599, 0)
- Rukiry.Size = UDim2.new(0, 103, 0, 24)
- Rukiry.Font = Enum.Font.SourceSans
- Rukiry.Text = "Rukiry"
- Rukiry.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Rukiry.TextSize = 14
- Rukiry.MouseButton1Down:connect(function()
- local Item = "Rukiryaxe"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- amber.Name = "amber"
- amber.Parent = Main
- amber.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- amber.BorderSizePixel = 0
- amber.Position = UDim2.new(0.0344262309, 0, 0.601604283, 0)
- amber.Size = UDim2.new(0, 103, 0, 24)
- amber.Font = Enum.Font.SourceSans
- amber.Text = "Amber"
- amber.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- amber.TextSize = 14
- amber.MouseButton1Down:connect(function()
- local Item = "AxeAmber"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- beta.Name = "beta"
- beta.Parent = Main
- beta.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- beta.BorderSizePixel = 0
- beta.Position = UDim2.new(0.0344262309, 0, 0.780748665, 0)
- beta.Size = UDim2.new(0, 103, 0, 24)
- beta.Font = Enum.Font.SourceSans
- beta.Text = "Beta"
- beta.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- beta.TextSize = 14
- beta.MouseButton1Down:connect(function()
- local Item = "AxeBetaTesters"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- alpha.Name = "alpha"
- alpha.Parent = Main
- alpha.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- alpha.BorderSizePixel = 0
- alpha.Position = UDim2.new(0.0344262309, 0, 0.689839542, 0)
- alpha.Size = UDim2.new(0, 103, 0, 24)
- alpha.Font = Enum.Font.SourceSans
- alpha.Text = "Alpha"
- alpha.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- alpha.TextSize = 14
- alpha.MouseButton1Down:connect(function()
- local Item = "AxeAlphaTesters"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- bee.Name = "bee"
- bee.Parent = Main
- bee.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- bee.BorderSizePixel = 0
- bee.Position = UDim2.new(0.0344262309, 0, 0.513368964, 0)
- bee.Size = UDim2.new(0, 103, 0, 24)
- bee.Font = Enum.Font.SourceSans
- bee.Text = "Bee"
- bee.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- bee.TextSize = 14
- bee.MouseButton1Down:connect(function()
- local Item = "Beesaxe"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- caminhao.Name = "caminhao"
- caminhao.Parent = Main
- caminhao.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- caminhao.BorderSizePixel = 0
- caminhao.Position = UDim2.new(0.224880755, 0, 0.155080214, 0)
- caminhao.Size = UDim2.new(0, 103, 0, 24)
- caminhao.Font = Enum.Font.SourceSans
- caminhao.Text = "Caminhão"
- caminhao.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- caminhao.TextSize = 14
- caminhao.MouseButton1Down:connect(function()
- local Item = "Pickup1"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- treno.Name = "treno"
- treno.Parent = Main
- treno.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- treno.BorderSizePixel = 0
- treno.Position = UDim2.new(0.224880755, 0, 0.243315503, 0)
- treno.Size = UDim2.new(0, 103, 0, 24)
- treno.Font = Enum.Font.SourceSans
- treno.Text = "Trenó"
- treno.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- treno.TextSize = 14
- treno.MouseButton1Down:connect(function()
- local Item = "Sleigh"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- carro1.Name = "carro1"
- carro1.Parent = Main
- carro1.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- carro1.BorderSizePixel = 0
- carro1.Position = UDim2.new(0.224880755, 0, 0.334224582, 0)
- carro1.Size = UDim2.new(0, 103, 0, 24)
- carro1.Font = Enum.Font.SourceSans
- carro1.Text = "Carro Pequeno"
- carro1.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- carro1.TextSize = 14
- carro1.MouseButton1Down:connect(function()
- local Item = "UtilityTruck"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- carro2.Name = "carro2"
- carro2.Parent = Main
- carro2.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- carro2.BorderSizePixel = 0
- carro2.Position = UDim2.new(0.224880755, 0, 0.4224599, 0)
- carro2.Size = UDim2.new(0, 103, 0, 24)
- carro2.Font = Enum.Font.SourceSans
- carro2.Text = "Carro Grande"
- carro2.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- carro2.TextSize = 14
- carro2.MouseButton1Down:connect(function()
- local Item = "UtilityTruck2"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- trailer1.Name = "trailer1"
- trailer1.Parent = Main
- trailer1.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- trailer1.BorderSizePixel = 0
- trailer1.Position = UDim2.new(0.224880755, 0, 0.513368964, 0)
- trailer1.Size = UDim2.new(0, 103, 0, 24)
- trailer1.Font = Enum.Font.SourceSans
- trailer1.Text = "Trailer Pequeno"
- trailer1.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- trailer1.TextSize = 14
- trailer1.MouseButton1Down:connect(function()
- local Item = "SmallTrailer"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- trailer2.Name = "trailer2"
- trailer2.Parent = Main
- trailer2.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- trailer2.BorderSizePixel = 0
- trailer2.Position = UDim2.new(0.224880755, 0, 0.601604283, 0)
- trailer2.Size = UDim2.new(0, 103, 0, 24)
- trailer2.Font = Enum.Font.SourceSans
- trailer2.Text = "Trailer Grande"
- trailer2.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- trailer2.TextSize = 14
- trailer2.MouseButton1Down:connect(function()
- local Item = "Trailer2"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- blueball.Name = "blueball"
- blueball.Parent = Main
- blueball.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- blueball.BorderSizePixel = 0
- blueball.Position = UDim2.new(0.414037317, 0, 0.155080214, 0)
- blueball.Size = UDim2.new(0, 103, 0, 24)
- blueball.Font = Enum.Font.SourceSans
- blueball.Text = "Bola Azul"
- blueball.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- blueball.TextSize = 14
- blueball.MouseButton1Down:connect(function()
- local Item = "BlueBall"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- greenball.Name = "greenball"
- greenball.Parent = Main
- greenball.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- greenball.BorderSizePixel = 0
- greenball.Position = UDim2.new(0.414037317, 0, 0.243315503, 0)
- greenball.Size = UDim2.new(0, 103, 0, 24)
- greenball.Font = Enum.Font.SourceSans
- greenball.Text = "Bola Verde"
- greenball.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- greenball.TextSize = 14
- greenball.MouseButton1Down:connect(function()
- local Item = "GreenBall"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- plumball.Name = "plumball"
- plumball.Parent = Main
- plumball.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- plumball.BorderSizePixel = 0
- plumball.Position = UDim2.new(0.414037317, 0, 0.334224582, 0)
- plumball.Size = UDim2.new(0, 103, 0, 24)
- plumball.Font = Enum.Font.SourceSans
- plumball.Text = "Bola Roxa"
- plumball.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- plumball.TextSize = 14
- plumball.MouseButton1Down:connect(function()
- local Item = "PlumBall"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- RedBall.Name = "RedBall"
- RedBall.Parent = Main
- RedBall.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- RedBall.BorderSizePixel = 0
- RedBall.Position = UDim2.new(0.414037317, 0, 0.4224599, 0)
- RedBall.Size = UDim2.new(0, 103, 0, 24)
- RedBall.Font = Enum.Font.SourceSans
- RedBall.Text = "Bola Vermelha"
- RedBall.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- RedBall.TextSize = 14
- RedBall.MouseButton1Down:connect(function()
- local Item = "RedBall"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- PumpkinClassic.Name = "PumpkinClassic"
- PumpkinClassic.Parent = Main
- PumpkinClassic.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- PumpkinClassic.BorderSizePixel = 0
- PumpkinClassic.Position = UDim2.new(0.414037317, 0, 0.556149721, 0)
- PumpkinClassic.Size = UDim2.new(0, 103, 0, 24)
- PumpkinClassic.Font = Enum.Font.SourceSans
- PumpkinClassic.Text = "Abóbora Vermelha"
- PumpkinClassic.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- PumpkinClassic.TextSize = 14
- PumpkinClassic.MouseButton1Down:connect(function()
- local Item = "PumpkinClassic"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- PumpkinCursed.Name = "PumpkinCursed"
- PumpkinCursed.Parent = Main
- PumpkinCursed.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- PumpkinCursed.BorderSizePixel = 0
- PumpkinCursed.Position = UDim2.new(0.414037317, 0, 0.64438504, 0)
- PumpkinCursed.Size = UDim2.new(0, 103, 0, 24)
- PumpkinCursed.Font = Enum.Font.SourceSans
- PumpkinCursed.Text = "Abóbora Vinho"
- PumpkinCursed.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- PumpkinCursed.TextSize = 14
- PumpkinCursed.MouseButton1Down:connect(function()
- local Item = "PumpkinCursed"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- PumpkinDark.Name = "PumpkinDark"
- PumpkinDark.Parent = Main
- PumpkinDark.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- PumpkinDark.BorderSizePixel = 0
- PumpkinDark.Position = UDim2.new(0.414037317, 0, 0.732620299, 0)
- PumpkinDark.Size = UDim2.new(0, 103, 0, 24)
- PumpkinDark.Font = Enum.Font.SourceSans
- PumpkinDark.Text = "Abóbora Preta"
- PumpkinDark.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- PumpkinDark.TextSize = 14
- PumpkinDark.MouseButton1Down:connect(function()
- local Item = "PumpkinDark"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- PumpkinGreen.Name = "PumpkinGreen"
- PumpkinGreen.Parent = Main
- PumpkinGreen.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- PumpkinGreen.BorderSizePixel = 0
- PumpkinGreen.Position = UDim2.new(0.414037317, 0, 0.823529422, 0)
- PumpkinGreen.Size = UDim2.new(0, 103, 0, 24)
- PumpkinGreen.Font = Enum.Font.SourceSans
- PumpkinGreen.Text = "Abóbora Verde"
- PumpkinGreen.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- PumpkinGreen.TextSize = 14
- PumpkinGreen.MouseButton1Down:connect(function()
- local Item = "PumpkinGreen"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Bobblehead.Name = "Bobblehead"
- Bobblehead.Parent = Main
- Bobblehead.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Bobblehead.BorderSizePixel = 0
- Bobblehead.Position = UDim2.new(0.604346573, 0, 0.155080214, 0)
- Bobblehead.Size = UDim2.new(0, 103, 0, 24)
- Bobblehead.Font = Enum.Font.SourceSans
- Bobblehead.Text = "Cabeça Amarela"
- Bobblehead.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Bobblehead.TextSize = 14
- Bobblehead.MouseButton1Down:connect(function()
- local Item = "Bobblehead"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Bobblehead2.Name = "Bobblehead2"
- Bobblehead2.Parent = Main
- Bobblehead2.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Bobblehead2.BorderSizePixel = 0
- Bobblehead2.Position = UDim2.new(0.604346573, 0, 0.243315503, 0)
- Bobblehead2.Size = UDim2.new(0, 103, 0, 24)
- Bobblehead2.Font = Enum.Font.SourceSans
- Bobblehead2.Text = "Cabeça Vermelha"
- Bobblehead2.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Bobblehead2.TextSize = 14
- Bobblehead2.MouseButton1Down:connect(function()
- local Item = "Bobblehead2"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Bobblehead3.Name = "Bobblehead3"
- Bobblehead3.Parent = Main
- Bobblehead3.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Bobblehead3.BorderSizePixel = 0
- Bobblehead3.Position = UDim2.new(0.604346573, 0, 0.334224582, 0)
- Bobblehead3.Size = UDim2.new(0, 103, 0, 24)
- Bobblehead3.Font = Enum.Font.SourceSans
- Bobblehead3.Text = "Cabeça Roxa"
- Bobblehead3.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Bobblehead3.TextSize = 14
- Bobblehead3.MouseButton1Down:connect(function()
- local Item = "Bobblehead3"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Bobblehead4.Name = "Bobblehead4"
- Bobblehead4.Parent = Main
- Bobblehead4.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Bobblehead4.BorderSizePixel = 0
- Bobblehead4.Position = UDim2.new(0.604346573, 0, 0.4224599, 0)
- Bobblehead4.Size = UDim2.new(0, 103, 0, 24)
- Bobblehead4.Font = Enum.Font.SourceSans
- Bobblehead4.Text = "Cabeça Verde"
- Bobblehead4.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Bobblehead4.TextSize = 14
- Bobblehead4.MouseButton1Down:connect(function()
- local Item = "Bobblehead4"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Turkey3.Name = "Turkey3"
- Turkey3.Parent = Main
- Turkey3.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Turkey3.BorderSizePixel = 0
- Turkey3.Position = UDim2.new(0.604346573, 0, 0.820855618, 0)
- Turkey3.Size = UDim2.new(0, 103, 0, 24)
- Turkey3.Font = Enum.Font.SourceSans
- Turkey3.Text = "Frango 3"
- Turkey3.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Turkey3.TextSize = 14
- Turkey3.MouseButton1Down:connect(function()
- local Item = "Turkey3"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Turkey.Name = "Turkey"
- Turkey.Parent = Main
- Turkey.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Turkey.BorderSizePixel = 0
- Turkey.Position = UDim2.new(0.604346573, 0, 0.641711235, 0)
- Turkey.Size = UDim2.new(0, 103, 0, 24)
- Turkey.Font = Enum.Font.SourceSans
- Turkey.Text = "Frango 1"
- Turkey.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Turkey.TextSize = 14
- Turkey.MouseButton1Down:connect(function()
- local Item = "Turkey"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Turkey2.Name = "Turkey2"
- Turkey2.Parent = Main
- Turkey2.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Turkey2.BorderSizePixel = 0
- Turkey2.Position = UDim2.new(0.604346573, 0, 0.729946494, 0)
- Turkey2.Size = UDim2.new(0, 103, 0, 24)
- Turkey2.Font = Enum.Font.SourceSans
- Turkey2.Text = "Frango 2"
- Turkey2.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Turkey2.TextSize = 14
- Turkey2.MouseButton1Down:connect(function()
- local Item = "Turkey2"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- CandyCane.Name = "CandyCane"
- CandyCane.Parent = Main
- CandyCane.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- CandyCane.BorderSizePixel = 0
- CandyCane.Position = UDim2.new(0.802899122, 0, 0.817124784, 0)
- CandyCane.Size = UDim2.new(0, 103, 0, 25)
- CandyCane.Font = Enum.Font.SourceSans
- CandyCane.Text = "Pirulito"
- CandyCane.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- CandyCane.TextSize = 14
- CandyCane.MouseButton1Down:connect(function()
- local Item = "CandyCane"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Duck.Name = "Duck"
- Duck.Parent = Main
- Duck.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Duck.BorderSizePixel = 0
- Duck.Position = UDim2.new(0.802899122, 0, 0.720930278, 0)
- Duck.Size = UDim2.new(0, 103, 0, 25)
- Duck.Font = Enum.Font.SourceSans
- Duck.Text = "Patinho"
- Duck.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Duck.TextSize = 14
- Duck.MouseButton1Down:connect(function()
- local Item = "Duck"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- WorkLight.Name = "WorkLight"
- WorkLight.Parent = Main
- WorkLight.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- WorkLight.BorderSizePixel = 0
- WorkLight.Position = UDim2.new(0.802899122, 0, 0.627564967, 0)
- WorkLight.Size = UDim2.new(0, 103, 0, 25)
- WorkLight.Font = Enum.Font.SourceSans
- WorkLight.Text = "Lanterna"
- WorkLight.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- WorkLight.TextSize = 14
- WorkLight.MouseButton1Down:connect(function()
- local Item = "WorkLight"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Toboggan.Name = "Toboggan"
- Toboggan.Parent = Main
- Toboggan.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Toboggan.BorderSizePixel = 0
- Toboggan.Position = UDim2.new(0.802899122, 0, 0.534199774, 0)
- Toboggan.Size = UDim2.new(0, 103, 0, 25)
- Toboggan.Font = Enum.Font.SourceSans
- Toboggan.Text = "Escorregador"
- Toboggan.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Toboggan.TextSize = 14
- Toboggan.MouseButton1Down:connect(function()
- local Item = "Toboggan"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Spork.Name = "Spork"
- Spork.Parent = Main
- Spork.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Spork.BorderSizePixel = 0
- Spork.Position = UDim2.new(0.802899122, 0, 0.438005239, 0)
- Spork.Size = UDim2.new(0, 103, 0, 25)
- Spork.Font = Enum.Font.SourceSans
- Spork.Text = "Garfolher"
- Spork.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Spork.TextSize = 14
- Spork.MouseButton1Down:connect(function()
- local Item = "Spork"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Scoobis.Name = "Scoobis"
- Scoobis.Parent = Main
- Scoobis.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Scoobis.BorderSizePixel = 0
- Scoobis.Position = UDim2.new(0.802899122, 0, 0.344639987, 0)
- Scoobis.Size = UDim2.new(0, 103, 0, 25)
- Scoobis.Font = Enum.Font.SourceSans
- Scoobis.Text = "Scoobis"
- Scoobis.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Scoobis.TextSize = 14
- Scoobis.MouseButton1Down:connect(function()
- local Item = "Scoobis"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Plate.Name = "Plate"
- Plate.Parent = Main
- Plate.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Plate.BorderSizePixel = 0
- Plate.Position = UDim2.new(0.802899122, 0, 0.248445481, 0)
- Plate.Size = UDim2.new(0, 103, 0, 25)
- Plate.Font = Enum.Font.SourceSans
- Plate.Text = "Prato"
- Plate.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Plate.TextSize = 14
- Plate.MouseButton1Down:connect(function()
- local Item = "Plate"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Eye1.Name = "Eye1"
- Eye1.Parent = Main
- Eye1.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- Eye1.BorderSizePixel = 0
- Eye1.Position = UDim2.new(0.802899122, 0, 0.155080214, 0)
- Eye1.Size = UDim2.new(0, 103, 0, 25)
- Eye1.Font = Enum.Font.SourceSans
- Eye1.Text = "Olho"
- Eye1.TextColor3 = Color3.new(0.8, 0.8, 0.8)
- Eye1.TextSize = 14
- Eye1.MouseButton1Down:connect(function()
- local Item = "Eye1"
- local Quantity = 1
- local Land = nil
- 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 then
- for i,v in pairs(game.Workspace.Properties:GetChildren()) do
- if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
- Land = v
- game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
- break
- end
- end
- end
- function Spawn(Item)
- local Info = {}
- Info.Name = Item.Name
- Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
- Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
- local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
- game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
- end
- for i=1, Quantity do
- Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
- end
- end)
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(0.403922, 0.403922, 0.403922)
- Close.Position = UDim2.new(0.949180305, 0, 0, 0)
- Close.Size = UDim2.new(0, 31, 0, 23)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 0, 0)
- Close.TextSize = 30
- Close.MouseButton1Down:connect(function()
- OpenFrame.Visible = true
- Main.Visible = false
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement