Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Item = "ItemName"
- local Quantity = 10
- 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
- machados:
- Axe1
- Axe2
- Axe3
- AxeAlphaTesters
- AxeAmber
- AxeBetaTesters
- AxeChicken
- AxeTwitter
- BasicHatchet
- Beesaxe
- CandyCaneAxe
- EndTimesAxe
- FireAxe
- GingerbreadAxe
- ManyAxe
- Rukiryaxe
- SilverAxe
- -------------------------
- veículos:
- Pickup1
- Sleigh
- SmallTrailer
- Trailer2
- UtilityTruck
- UtilityTruck2
- ------------------------
- itens:
- BlueBall
- Bobblehead
- Bobblehead2
- Bobblehead3
- Bobblehead4
- Bobblehead5
- CanOfCranberry
- CanOfWorms
- CandyCane
- CoalLump
- Cocoa
- Cone
- Duck
- Dynamite
- Eye1
- Gifts
- GreenBall
- LightBulb
- Plate
- PlumBall
- RedBall
- PropertySoldSign
- PumpkinClassic
- PumpkinCursed
- PumpkinDark
- PumpkinGreen
- Scoobis
- Skull
- Snowball
- Spork
- Toboggan
- Turkey
- Turkey2
- Turkey3
- WorkLight
- YellowBall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement