Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MaxLand()
- local Places={Vector3.new(40, 0, 0),Vector3.new(80, 0, 0),Vector3.new(-40, 0, 0),Vector3.new(-80, 0, 0),Vector3.new(0, 0, 40),Vector3.new(40, 0, 40),Vector3.new(80, 0, 40),Vector3.new(-40, 0, 40),Vector3.new(-80, 0, 40),Vector3.new(0, 0, 80),Vector3.new(40, 0, 80),Vector3.new(80, 0, 80),Vector3.new(-40, 0, 80),Vector3.new(-80, 0, 80),Vector3.new(0, 0, -40),Vector3.new(40, 0, -40),Vector3.new(80, 0, -40),Vector3.new(-40, 0, -40),Vector3.new(-80, 0, -40),Vector3.new(0, 0, -80),Vector3.new(40, 0, -80),Vector3.new(80, 0, -80),Vector3.new(-40, 0, -80),Vector3.new(-80, 0, -80),}
- local Property;
- local Player = game.Players.LocalPlayer
- for i,v in pairs(workspace.Properties:GetChildren()) do
- if v.Owner.Value == Player then
- Property=v
- end
- end
- if not Property then return false end
- for i,v in pairs(Places) do
- SquarePos = Property.OriginSquare.Position+v
- game.ReplicatedStorage.PropertyPurchasing.ClientExpandedProperty:FireServer(Property,CFrame.new(SquarePos.X,SquarePos.Y,SquarePos.Z))
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement